From ba258bc648beebdcdbb57d2881e137f52607a740 Mon Sep 17 00:00:00 2001 From: Fukunaga42 Date: Wed, 8 Aug 2018 15:17:04 +0200 Subject: [PATCH] [ADD] event addfund --- build/Readme.md | 2 + build/contracts/BytesLib.json | 2 +- build/contracts/Certifier.json | 106 +- build/contracts/DateTime.json | 2 +- build/contracts/DetherAccessControl.json | 186 +- build/contracts/DetherBank.json | 7 +- build/contracts/DetherCore.json | 23754 +++++++++-------- build/contracts/DetherSetup.json | 1466 +- build/contracts/DetherToken.json | 2 +- build/contracts/ERC20Basic.json | 2 +- build/contracts/ERC223Basic.json | 2 +- build/contracts/ERC223ReceivingContract.json | 2 +- build/contracts/ExchangeRateOracle.json | 23726 ++++++++-------- build/contracts/FakeExchangeRateOracle.json | 2 +- build/contracts/KycCertifier.json | 6 +- build/contracts/Migrations.json | 6 +- build/contracts/Ownable.json | 2 +- build/contracts/SafeMath.json | 2 +- build/contracts/SmsCertifier.json | 6 +- build/package.json | 2 +- contracts/DetherCore.sol | 5 +- migrations/2_deploy_contracts.js | 86 +- package-lock.json | 4389 ++- package.json | 5 +- scripts/setupKovan.js | 1 - scripts/setupMainnet.js | 133 +- test/detherCore.spec.js | 30 +- test/mock.json | 18 +- truffle.js | 10 +- yarn.lock | 5154 ++++ 30 files changed, 32049 insertions(+), 27067 deletions(-) create mode 100644 build/Readme.md create mode 100644 yarn.lock diff --git a/build/Readme.md b/build/Readme.md new file mode 100644 index 0000000..a00b0a0 --- /dev/null +++ b/build/Readme.md @@ -0,0 +1,2 @@ +# TO DO + diff --git a/build/contracts/BytesLib.json b/build/contracts/BytesLib.json index 1084e4a..0136cac 100644 --- a/build/contracts/BytesLib.json +++ b/build/contracts/BytesLib.json @@ -8067,5 +8067,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:06:59.303Z" + "updatedAt": "2018-08-07T13:06:25.484Z" } \ No newline at end of file diff --git a/build/contracts/Certifier.json b/build/contracts/Certifier.json index fd44439..c93c286 100644 --- a/build/contracts/Certifier.json +++ b/build/contracts/Certifier.json @@ -55,14 +55,14 @@ "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/certifier/Certifier.sol", "exportedSymbols": { "Certifier": [ - 2921 + 2934 ] }, - "id": 2922, + "id": 2935, "nodeType": "SourceUnit", "nodes": [ { - "id": 2905, + "id": 2918, "literals": [ "solidity", "^", @@ -78,9 +78,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": false, - "id": 2921, + "id": 2934, "linearizedBaseContracts": [ - 2921 + 2934 ], "name": "Certifier", "nodeType": "ContractDefinition", @@ -88,20 +88,20 @@ { "anonymous": false, "documentation": null, - "id": 2909, + "id": 2922, "name": "Confirmed", "nodeType": "EventDefinition", "parameters": { - "id": 2908, + "id": 2921, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2907, + "id": 2920, "indexed": true, "name": "who", "nodeType": "VariableDeclaration", - "scope": 2909, + "scope": 2922, "src": "755:19:3", "stateVariable": false, "storageLocation": "default", @@ -110,7 +110,7 @@ "typeString": "address" }, "typeName": { - "id": 2906, + "id": 2919, "name": "address", "nodeType": "ElementaryTypeName", "src": "755:7:3", @@ -130,20 +130,20 @@ { "anonymous": false, "documentation": null, - "id": 2913, + "id": 2926, "name": "Revoked", "nodeType": "EventDefinition", "parameters": { - "id": 2912, + "id": 2925, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2911, + "id": 2924, "indexed": true, "name": "who", "nodeType": "VariableDeclaration", - "scope": 2913, + "scope": 2926, "src": "792:19:3", "stateVariable": false, "storageLocation": "default", @@ -152,7 +152,7 @@ "typeString": "address" }, "typeName": { - "id": 2910, + "id": 2923, "name": "address", "nodeType": "ElementaryTypeName", "src": "792:7:3", @@ -172,7 +172,7 @@ { "body": null, "documentation": null, - "id": 2920, + "id": 2933, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -180,15 +180,15 @@ "name": "certified", "nodeType": "FunctionDefinition", "parameters": { - "id": 2916, + "id": 2929, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2915, + "id": 2928, "name": "_who", "nodeType": "VariableDeclaration", - "scope": 2920, + "scope": 2933, "src": "834:12:3", "stateVariable": false, "storageLocation": "default", @@ -197,7 +197,7 @@ "typeString": "address" }, "typeName": { - "id": 2914, + "id": 2927, "name": "address", "nodeType": "ElementaryTypeName", "src": "834:7:3", @@ -214,15 +214,15 @@ }, "payable": false, "returnParameters": { - "id": 2919, + "id": 2932, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2918, + "id": 2931, "name": "", "nodeType": "VariableDeclaration", - "scope": 2920, + "scope": 2933, "src": "869:4:3", "stateVariable": false, "storageLocation": "default", @@ -231,7 +231,7 @@ "typeString": "bool" }, "typeName": { - "id": 2917, + "id": 2930, "name": "bool", "nodeType": "ElementaryTypeName", "src": "869:4:3", @@ -246,14 +246,14 @@ ], "src": "868:6:3" }, - "scope": 2921, + "scope": 2934, "src": "815:60:3", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 2922, + "scope": 2935, "src": "717:160:3" } ], @@ -263,14 +263,14 @@ "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/certifier/Certifier.sol", "exportedSymbols": { "Certifier": [ - 2921 + 2934 ] }, - "id": 2922, + "id": 2935, "nodeType": "SourceUnit", "nodes": [ { - "id": 2905, + "id": 2918, "literals": [ "solidity", "^", @@ -286,9 +286,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": false, - "id": 2921, + "id": 2934, "linearizedBaseContracts": [ - 2921 + 2934 ], "name": "Certifier", "nodeType": "ContractDefinition", @@ -296,20 +296,20 @@ { "anonymous": false, "documentation": null, - "id": 2909, + "id": 2922, "name": "Confirmed", "nodeType": "EventDefinition", "parameters": { - "id": 2908, + "id": 2921, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2907, + "id": 2920, "indexed": true, "name": "who", "nodeType": "VariableDeclaration", - "scope": 2909, + "scope": 2922, "src": "755:19:3", "stateVariable": false, "storageLocation": "default", @@ -318,7 +318,7 @@ "typeString": "address" }, "typeName": { - "id": 2906, + "id": 2919, "name": "address", "nodeType": "ElementaryTypeName", "src": "755:7:3", @@ -338,20 +338,20 @@ { "anonymous": false, "documentation": null, - "id": 2913, + "id": 2926, "name": "Revoked", "nodeType": "EventDefinition", "parameters": { - "id": 2912, + "id": 2925, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2911, + "id": 2924, "indexed": true, "name": "who", "nodeType": "VariableDeclaration", - "scope": 2913, + "scope": 2926, "src": "792:19:3", "stateVariable": false, "storageLocation": "default", @@ -360,7 +360,7 @@ "typeString": "address" }, "typeName": { - "id": 2910, + "id": 2923, "name": "address", "nodeType": "ElementaryTypeName", "src": "792:7:3", @@ -380,7 +380,7 @@ { "body": null, "documentation": null, - "id": 2920, + "id": 2933, "implemented": false, "isConstructor": false, "isDeclaredConst": true, @@ -388,15 +388,15 @@ "name": "certified", "nodeType": "FunctionDefinition", "parameters": { - "id": 2916, + "id": 2929, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2915, + "id": 2928, "name": "_who", "nodeType": "VariableDeclaration", - "scope": 2920, + "scope": 2933, "src": "834:12:3", "stateVariable": false, "storageLocation": "default", @@ -405,7 +405,7 @@ "typeString": "address" }, "typeName": { - "id": 2914, + "id": 2927, "name": "address", "nodeType": "ElementaryTypeName", "src": "834:7:3", @@ -422,15 +422,15 @@ }, "payable": false, "returnParameters": { - "id": 2919, + "id": 2932, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2918, + "id": 2931, "name": "", "nodeType": "VariableDeclaration", - "scope": 2920, + "scope": 2933, "src": "869:4:3", "stateVariable": false, "storageLocation": "default", @@ -439,7 +439,7 @@ "typeString": "bool" }, "typeName": { - "id": 2917, + "id": 2930, "name": "bool", "nodeType": "ElementaryTypeName", "src": "869:4:3", @@ -454,14 +454,14 @@ ], "src": "868:6:3" }, - "scope": 2921, + "scope": 2934, "src": "815:60:3", "stateMutability": "view", "superFunction": null, "visibility": "public" } ], - "scope": 2922, + "scope": 2935, "src": "717:160:3" } ], @@ -473,5 +473,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:01:54.506Z" + "updatedAt": "2018-08-07T12:59:14.211Z" } \ No newline at end of file diff --git a/build/contracts/DateTime.json b/build/contracts/DateTime.json index dbe0a21..332e040 100644 --- a/build/contracts/DateTime.json +++ b/build/contracts/DateTime.json @@ -20762,5 +20762,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:06:59.309Z" + "updatedAt": "2018-08-07T13:06:25.490Z" } \ No newline at end of file diff --git a/build/contracts/DetherAccessControl.json b/build/contracts/DetherAccessControl.json index b65a96c..68c1d97 100644 --- a/build/contracts/DetherAccessControl.json +++ b/build/contracts/DetherAccessControl.json @@ -600,7 +600,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, + "referencedDeclaration": 3390, "src": "1940:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -654,10 +654,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1932:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -731,7 +731,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, + "referencedDeclaration": 3390, "src": "2082:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -785,10 +785,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2074:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -862,7 +862,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, + "referencedDeclaration": 3390, "src": "2168:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -916,10 +916,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2160:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -993,7 +993,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, + "referencedDeclaration": 3390, "src": "2254:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -1047,10 +1047,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2246:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -1157,10 +1157,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2351:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -1294,10 +1294,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2452:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -1479,10 +1479,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2705:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -1739,10 +1739,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2977:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -1999,10 +1999,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "3110:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -2259,10 +2259,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "3243:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -2519,10 +2519,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "3387:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -2971,10 +2971,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "3668:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -3364,10 +3364,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "4056:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -3447,10 +3447,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "4198:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -4094,7 +4094,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, + "referencedDeclaration": 3390, "src": "1940:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -4148,10 +4148,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1932:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -4225,7 +4225,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, + "referencedDeclaration": 3390, "src": "2082:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -4279,10 +4279,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2074:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -4356,7 +4356,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, + "referencedDeclaration": 3390, "src": "2168:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -4410,10 +4410,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2160:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -4487,7 +4487,7 @@ "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, + "referencedDeclaration": 3390, "src": "2254:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", @@ -4541,10 +4541,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2246:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -4651,10 +4651,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2351:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -4788,10 +4788,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2452:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -4973,10 +4973,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2705:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -5233,10 +5233,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2977:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -5493,10 +5493,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "3110:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -5753,10 +5753,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "3243:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -6013,10 +6013,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "3387:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -6465,10 +6465,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "3668:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -6858,10 +6858,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "4056:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -6941,10 +6941,10 @@ "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "4198:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", @@ -7252,5 +7252,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:01:54.494Z" + "updatedAt": "2018-08-07T12:59:14.207Z" } \ No newline at end of file diff --git a/build/contracts/DetherBank.json b/build/contracts/DetherBank.json index 8bfe393..9cce06f 100644 --- a/build/contracts/DetherBank.json +++ b/build/contracts/DetherBank.json @@ -12932,8 +12932,7 @@ "1": { "events": {}, "links": {}, - "address": "0xa82422731d00d935ed29c719f2f41f1794665043", - "transactionHash": "0x67c53ada514ed6ee76623324ba4dc0392a75b38b52833c5d899aafee60cc1d48" + "address": "0x78a450cc4252d2108233d750b7d07e849f02d1ea" }, "4": { "events": {}, @@ -12948,5 +12947,5 @@ } }, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T16:32:21.578Z" -} \ No newline at end of file + "updatedAt": "2018-08-07T13:18:48.697Z" +} diff --git a/build/contracts/DetherCore.json b/build/contracts/DetherCore.json index 70ee0e7..ce3a5f7 100644 --- a/build/contracts/DetherCore.json +++ b/build/contracts/DetherCore.json @@ -627,6 +627,23 @@ "name": "RegisterTeller", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "name": "tellerAddress", + "type": "address" + }, + { + "indexed": false, + "name": "amount", + "type": "uint256" + } + ], + "name": "AddFunds", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -1326,11 +1343,11 @@ "type": "function" } ], - "bytecode": "0x60806040526006805462ffffff191690556017805460ff1916905534801561002657600080fd5b5060008054600160a060020a033316600160a060020a03199091161790556148f8806100536000396000f3006080604052600436106103085763ffffffff60e060020a60003504166301e57a37811461030d5780630519ce791461033e5780630a0f8168146103535780630d46f91a146103685780630d926f7a1461037d5780630e479dc7146103b157806319f1cded146104325780631d0e8a4d146104535780631d32f106146104885780632072863b146104ac5780632105c049146104cd5780632272b0af146104ee5780632314a5c81461050357806325ba0f511461054a5780632630c12f1461057157806327d7874c146105865780632e3a4def146105a757806330a55316146105c85780633b23a5ca146105dd5780633f4ba83a146105f75780633fa198041461060c57806343579fe81461063b5780634a9f0110146106505780634b0ad8fa146106785780634e0a3379146106995780634f4cd650146106ba578063529e65e11461071f578063530e784f1461074057806359b17b43146107615780635c975abb1461078257806366d5eb9b1461079757806367bb15ad146107b9578063681e3356146107da578063744955a9146107fb57806376cdb03b1461081d57806378843a9514610832578063809ffb20146108535780638456cb59146108745780638620084214610889578063878127c8146108ae5780638bd1b610146108c65780638c267b97146108db57806395d43eea146108f05780639a8061e8146109085780639ae120dd1461092d578063a26759cb1461094f578063aa5a11c514610957578063b0547d8c14610978578063b5c4147f14610999578063ba2a98f2146109c8578063c0ee0b8a146109ea578063c640ee3d14610a53578063ca34333b14610a74578063d04c911514610a96578063d0a4a81b14610ab7578063d4f639ea14610ad8578063d5c9b23914610aed578063dd955c4414610b02578063e019ac2914610b26578063f002467714610b47578063f2d15c4814610b68578063f3943ca914610b8d578063f554567f14610baf578063f983c0fa14610c65578063fa1d9cf814610c7a578063fac8a80014610ca9578063fcf3438c14610cca578063fdff31ed14610ceb575b600080fd5b34801561031957600080fd5b50610322610d12565b60408051600160a060020a039092168252519081900360200190f35b34801561034a57600080fd5b50610322610d21565b34801561035f57600080fd5b50610322610d30565b34801561037457600080fd5b50610322610d3f565b34801561038957600080fd5b5061039f600160f060020a031960043516610d4e565b60408051918252519081900360200190f35b3480156103bd57600080fd5b506103d2600160a060020a0360043516610d60565b604080516003998a0b8a0b815297890b90980b6020880152600160f060020a0319909516868801526001608060020a031993841660608701529183166080860152821660a085015260c08401521660e08201529051908190036101000190f35b34801561043e57600080fd5b5061039f600160a060020a0360043516610dc9565b34801561045f57600080fd5b50610474600160a060020a0360043516610e66565b604080519115158252519081900360200190f35b34801561049457600080fd5b506104aa600160f060020a031960043516610e9d565b005b3480156104b857600080fd5b506104aa600160a060020a0360043516610edd565b3480156104d957600080fd5b506104aa600160a060020a0360043516610f2f565b3480156104fa57600080fd5b50610322610f81565b34801561050f57600080fd5b50610524600160a060020a0360043516610f90565b604080519485526020850193909352838301919091526060830152519081900360800190f35b34801561055657600080fd5b506104aa600160a060020a0360043581169060243516610fcc565b34801561057d57600080fd5b50610322611032565b34801561059257600080fd5b506104aa600160a060020a0360043516611041565b3480156105b357600080fd5b50610474600160a060020a0360043516611093565b3480156105d457600080fd5b506103226110e8565b3480156105e957600080fd5b506104aa60043515156110fe565b34801561060357600080fd5b506104aa611152565b6104aa600435600090810b906001608060020a03196024351690604435900b60643560010b608435151561118a565b34801561064757600080fd5b506104aa6114c4565b34801561065c57600080fd5b506104aa600435600160f060020a03196024351660443561183a565b34801561068457600080fd5b5061039f600160a060020a036004351661187c565b3480156106a557600080fd5b506104aa600160a060020a03600435166118e7565b3480156106c657600080fd5b506106cf611939565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561070b5781810151838201526020016106f3565b505050509050019250505060405180910390f35b34801561072b57600080fd5b506104aa600160a060020a036004351661199c565b34801561074c57600080fd5b506104aa600160a060020a03600435166119d8565b34801561076d57600080fd5b5061039f600160a060020a0360043516611a15565b34801561078e57600080fd5b50610474611a80565b3480156107a357600080fd5b506104aa600160f060020a031960043516611a89565b3480156107c557600080fd5b50610474600160a060020a0360043516611ac9565b3480156107e657600080fd5b506104aa600160a060020a0360043516611ade565b34801561080757600080fd5b50610474600160f060020a031960043516611b8c565b34801561082957600080fd5b50610322611ba1565b34801561083e57600080fd5b50610474600160a060020a0360043516611bb0565b34801561085f57600080fd5b506104aa600160a060020a0360043516611c0b565b34801561088057600080fd5b506104aa611c5f565b34801561089557600080fd5b5061039f600435600160f060020a031960243516611c99565b3480156108ba57600080fd5b50610322600435611cc1565b3480156108d257600080fd5b506104aa611ce9565b3480156108e757600080fd5b506103226120d6565b3480156108fc57600080fd5b506103226004356120e5565b34801561091457600080fd5b506104aa600160f060020a0319600435166024356120f3565b34801561093957600080fd5b506104aa600160f060020a03196004351661212b565b6104aa612168565b34801561096357600080fd5b506104aa600160a060020a0360043516612225565b34801561098457600080fd5b506104aa600160a060020a0360043516612261565b3480156109a557600080fd5b506106cf600160f060020a0319600435166001608060020a0319602435166126ad565b3480156109d457600080fd5b506104aa600160f060020a031960043516612737565b3480156109f657600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526104aa948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506127749650505050505050565b348015610a5f57600080fd5b50610474600160a060020a03600435166139fd565b348015610a8057600080fd5b50610474600160f060020a031960043516613a12565b348015610aa257600080fd5b5061039f600160a060020a0360043516613a27565b348015610ac357600080fd5b506104aa600160a060020a0360043516613a42565b348015610ae457600080fd5b50610474613a96565b348015610af957600080fd5b506106cf613aa5565b348015610b0e57600080fd5b506104aa600160a060020a0360043516602435613b05565b348015610b3257600080fd5b506104aa600160a060020a0360043516613fee565b348015610b5357600080fd5b506104aa600160a060020a0360043516614053565b348015610b7457600080fd5b506104aa600160f060020a03196004351660243561447a565b348015610b9957600080fd5b5061039f600160f060020a0319600435166144b2565b348015610bbb57600080fd5b50610bd0600160a060020a03600435166144c4565b6040805160039d8e0b8e0b81529b8d0b909c0b60208c0152600160f060020a03199099168a8c01526001608060020a031997881660608b0152600096870b870b60808b01529490961660a089015291840b90930b60c0870152600192830b830b60e087015261010086015291151561012085015290151561014084015290810b900b6101608201529051908190036101800190f35b348015610c7157600080fd5b5061047461462a565b348015610c8657600080fd5b506106cf600160f060020a0319600435166001608060020a031960243516614638565b348015610cb557600080fd5b50610474600160a060020a03600435166146c0565b348015610cd657600080fd5b506104aa600160a060020a03600435166146f7565b348015610cf757600080fd5b5061039f600160a060020a0360043581169060243516614769565b600c54600160a060020a031681565b600354600160a060020a031681565b600054600160a060020a031681565b600754600160a060020a031681565b600a6020526000908152604090205481565b600160a060020a0316600090815260186020526040902080546001820154600283015460039384015483850b95640100000000850490950b9460f060020a604060020a86040294608060020a605060020a90910481029480820294908290048202939092910290565b600d54604080517f78d0a415000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009392909216916378d0a4159160248082019260209290919082900301818787803b158015610e3457600080fd5b505af1158015610e48573d6000803e3d6000fd5b505050506040513d6020811015610e5e57600080fd5b505192915050565b600160a060020a038116600090815260186020526040902054604060020a900460f060020a02600160f060020a0319161515919050565b60015433600160a060020a03908116911614610eb857600080fd5b600160f060020a0319166000908152600960205260409020805460ff19166001179055565b60005433600160a060020a03908116911614610ef857600080fd5b600160a060020a0381161515610f0d57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a03908116911614610f4a57600080fd5b600160a060020a0381161515610f5f57600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b600254600160a060020a031681565b600160a060020a031660009081526010602090815260408083205460118352818420546012845282852054601390945291909320549293909290565b60005433600160a060020a03908116911614610fe757600080fd5b60175460ff1615610ff757600080fd5b600c8054600160a060020a03938416600160a060020a031991821617909155600d80549290931691161790556017805460ff19166001179055565b600e54600160a060020a031681565b60005433600160a060020a0390811691161461105c57600080fd5b600160a060020a038116151561107157600080fd5b60008054600160a060020a031916600160a060020a0392909216919091179055565b6007546040805160e160020a63660ea601028152600160a060020a0384811660048301529151600093929092169163cc1d4c029160248082019260209290919082900301818787803b158015610e3457600080fd5b60065463010000009004600160a060020a031681565b600160a060020a03331660009081526014602052604090206004015460ff1615158115151461114f5733600160a060020a03166000908152601460205260409020600401805460ff19168215151790555b50565b60005433600160a060020a0390811691161461116d57600080fd5b60065460ff16151561117e57600080fd5b6006805460ff19169055565b611193336146c0565b151561119e57600080fd5b33600160a060020a031660009081526014602052604081205460d060020a9004810b810b9086900b1461121957600160a060020a033316600090815260146020526040812080549187900b60ff1660d060020a027aff0000000000000000000000000000000000000000000000000000199092169190911790555b600160a060020a033316600090815260146020526040902060010154608060020a026001608060020a0319908116908516146112815733600160a060020a0316600090815260146020526040902060010180546001608060020a031916608060020a86041790555b600160a060020a033316600090815260146020526040812060010154608060020a9004810b810b9084900b146112f857600160a060020a033316600090815260146020526040812060010180549185900b60ff16608060020a0270ff00000000000000000000000000000000199092169190911790555b600160a060020a0333166000908152601460205260409020600190810154710100000000000000000000000000000000009004810b810b9083900b1461139257600160a060020a0333166000908152601460205260409020600190810180549184900b61ffff16710100000000000000000000000000000000000272ffff0000000000000000000000000000000000199092169190911790555b600160a060020a03331660009081526014602052604090206004015460ff161515811515146113e35733600160a060020a03166000908152601460205260409020600401805460ff19168215151790555b600034111561148957600d54604080517fe4651465000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523460248301819052925193169263e4651465929160448082019260209290919082900301818588803b15801561145b57600080fd5b505af115801561146f573d6000803e3d6000fd5b50505050506040513d602081101561148657600080fd5b50505b604051600160a060020a033316907fe3df84c3ca6a90f0e6485beae08e7bd034695356bec32910a3d62559ff33fbc890600090a25050505050565b6000806000806114d333610e66565b15156114de57600080fd5b33600160a060020a0316600090815260186020908152604080832060048101549054604060020a810460f060020a02600160f060020a031916855260198452828520605060020a909104608060020a026001608060020a0319168552909252909120805491955090600019810190811061155457fe5b600091825260208083209190910154600160a060020a03338116845260188352604080852054604060020a810460f060020a02600160f060020a031916865260198552818620605060020a909104608060020a026001608060020a0319168652909352919092208054919092169450849190869081106115d057fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055858316825260188152604080832060040188905533909316825282822054604060020a810460f060020a02600160f060020a031916835260198252838320605060020a909104608060020a026001608060020a0319168352905220805490611664906000198301614885565b50600160a060020a033316600090815260186020526040902060050154601a805491935090600019810190811061169757fe5b600091825260209091200154601a8054600160a060020a0390921692508291849081106116c057fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790559183168152601890915260409020600501829055601a80549061170f906000198301614885565b50600160a060020a03338116600081815260186020526040808220805479ffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101839055600281018390556003810180546001608060020a03191690556004808201849055600582018490556006909101805460ff19169055600d5482517f3716f65d0000000000000000000000000000000000000000000000000000000081529182019490945290519290931692633716f65d926024808301939282900301818387803b1580156117df57600080fd5b505af11580156117f3573d6000803e3d6000fd5b505060408051600160a060020a033316815290517fe607eb1578eec3de556aa2d57f7ff9365c1706069a8959e794883eba60b043e39350908190036020019150a150505050565b60035433600160a060020a0390811691161461185557600080fd5b6000928352601b60209081526040808520600160f060020a03199094168552929052912055565b600d54604080517fa96b3ab8000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151600093929092169163a96b3ab89160248082019260209290919082900301818787803b158015610e3457600080fd5b60005433600160a060020a0390811691161461190257600080fd5b600160a060020a038116151561191757600080fd5b60038054600160a060020a031916600160a060020a0392909216919091179055565b6060601680548060200260200160405190810160405280929190818152602001828054801561199157602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311611973575b505050505090505b90565b60005433600160a060020a039081169116146119b757600080fd5b600160a060020a03166000908152600460205260409020805460ff19169055565b60035433600160a060020a039081169116146119f357600080fd5b600e8054600160a060020a031916600160a060020a0392909216919091179055565b600d54604080517f8d837f38000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291516000939290921691638d837f389160248082019260209290919082900301818787803b158015610e3457600080fd5b60065460ff1681565b60015433600160a060020a03908116911614611aa457600080fd5b600160f060020a0319166000908152600860205260409020805460ff19166001179055565b60046020526000908152604090205460ff1681565b60005433600160a060020a03908116911614611af957600080fd5b60065460ff161515611b0a57600080fd5b600d54604080517ff2fde38b000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b158015611b7157600080fd5b505af1158015611b85573d6000803e3d6000fd5b5050505050565b60086020526000908152604090205460ff1681565b600d54600160a060020a031681565b6006546040805160e160020a63660ea601028152600160a060020a0384811660048301529151600093630100000090049092169163cc1d4c029160248082019260209290919082900301818787803b158015610e3457600080fd5b60005433600160a060020a03908116911614611c2657600080fd5b600160a060020a0381161515611c3b57600080fd5b600160a060020a03166000908152600460205260409020805460ff19166001179055565b60005433600160a060020a03908116911614611c7a57600080fd5b60065460ff1615611c8a57600080fd5b6006805460ff19166001179055565b6000918252601b60209081526040808420600160f060020a0319909316845291905290205490565b601a805482908110611ccf57fe5b600091825260209091200154600160a060020a0316905081565b600080600080611cf8336146c0565b1515611d0357600080fd5b33600160a060020a0316600090815260146020908152604080832060028101549054604060020a810460f060020a02600160f060020a031916855260158452828520605060020a909104608060020a026001608060020a03191685529092529091208054919550906000198101908110611d7957fe5b600091825260208083209190910154600160a060020a03338116845260148352604080852054604060020a810460f060020a02600160f060020a031916865260158552818620605060020a909104608060020a026001608060020a031916865290935291909220805491909216945084919086908110611df557fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055858316825260148152604080832060020188905533909316825282822054604060020a810460f060020a02600160f060020a031916835260158252838320605060020a909104608060020a026001608060020a0319168352905220805490611e89906000198301614885565b50600160a060020a03331660009081526014602052604090206003015460168054919350906000198101908110611ebc57fe5b60009182526020909120015460168054600160a060020a039092169250829184908110611ee557fe5b60009182526020808320919091018054600160a060020a031916600160a060020a0394851617905591831681526014909152604090206003018290556016805490611f34906000198301614885565b50600160a060020a0333811660008181526014602052604080822080547affffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101805475ffffffffffffffffffffffffffffffffffffffffffff1916905560028101839055600381018390556004908101805460ff19169055600d5482517fb71738f1000000000000000000000000000000000000000000000000000000008152918201949094529051929093169263b71738f1926024808301939282900301818387803b15801561200557600080fd5b505af1158015612019573d6000803e3d6000fd5b5050600d54604080517fd83edd70000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152915191909216935063d83edd709250602480830192600092919082900301818387803b15801561208457600080fd5b505af1158015612098573d6000803e3d6000fd5b5050604051600160a060020a03331692507fb1e40dcb43d26b3a6cb20da12c333af5a0de0bcd6264eddca5fbacf3e31d4f949150600090a250505050565b600154600160a060020a031681565b6016805482908110611ccf57fe5b60015433600160a060020a0390811691161461210e57600080fd5b600160f060020a03199091166000908152600a6020526040902055565b60015433600160a060020a0390811691161461214657600080fd5b600160f060020a0319166000908152600960205260409020805460ff19169055565b612171336146c0565b151561217c57600080fd5b600d54604080517fe4651465000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523460248301819052925193169263e4651465929160448082019260209290919082900301818588803b1580156121eb57600080fd5b505af11580156121ff573d6000803e3d6000fd5b50505050506040513d602081101561221657600080fd5b5051151561222357600080fd5b565b60005433600160a060020a0390811691161461224057600080fd5b600160a060020a03166000908152600560205260409020805460ff19169055565b33600160a060020a038116600090815260046020526040812054909182918291829160ff16151561229157600080fd5b600160a060020a038616600090815260186020908152604080832060048101549054604060020a810460f060020a02600160f060020a031916855260198452828520605060020a909104608060020a026001608060020a0319168552909252909120805491965090600019810190811061230757fe5b600091825260208083209190910154600160a060020a03898116845260188352604080852054604060020a810460f060020a02600160f060020a031916865260198552818620605060020a909104608060020a026001608060020a03191686529093529190922080549190921695508591908790811061238357fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790558683168252601881526040808320600401899055928916825282822054604060020a810460f060020a02600160f060020a031916835260198252838320605060020a909104608060020a026001608060020a0319168352905220805490612416906000198301614885565b50600160a060020a038616600090815260186020526040902060050154601a805491945090600019810190811061244957fe5b600091825260209091200154601a8054600160a060020a03909216935083918590811061247257fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790559184168152601890915260409020600501839055601a8054906124c1906000198301614885565b50600160a060020a03861660009081526018602052604090206006015460ff16151561256b57600d54604080517f3716f65d000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015291519190921691633716f65d91602480830192600092919082900301818387803b15801561254e57600080fd5b505af1158015612562573d6000803e3d6000fd5b505050506125f6565b600d54600254604080517f7139b595000000000000000000000000000000000000000000000000000000008152600160a060020a038a81166004830152928316602482015290519190921691637139b59591604480830192600092919082900301818387803b1580156125dd57600080fd5b505af11580156125f1573d6000803e3d6000fd5b505050505b600160a060020a038087166000818152601860209081526040808320805479ffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101849055600281018490556003810180546001608060020a03191690556004810184905560058101939093556006909201805460ff191690558151928352905133909316927f34fe9e989d541054eb508f79a2e9b0bc3aa3d7ff2f2ded4f1f6b2819aaec86a39281900390910190a2505050505050565b600160f060020a0319821660009081526019602090815260408083206001608060020a03198516845282529182902080548351818402810184019094528084526060939283018282801561272a57602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831161270c575b5050505050905092915050565b60015433600160a060020a0390811691161461275257600080fd5b600160f060020a0319166000908152600860205260409020805460ff19169055565b60065460009081908190819060ff161561278d57600080fd5b6006546040805160e160020a63660ea601028152600160a060020a038a8116600483015291518a93630100000090049092169163cc1d4c02916024808201926020929091908290030181600087803b1580156127e857600080fd5b505af11580156127fc573d6000803e3d6000fd5b505050506040513d602081101561281257600080fd5b5051151561281f57600080fd5b600c5433600160a060020a0390811691161461283a57600080fd5b61284b86600063ffffffff61479416565b945060f860020a61286387600163ffffffff61479416565b600160f860020a0319161461288f5761288386600263ffffffff6147bc16565b60e060020a90046128ac565b6128a086600263ffffffff6147bc16565b60e060020a9004600019025b935060f860020a6128c487600663ffffffff61479416565b600160f860020a031916146128f0576128e486600763ffffffff6147bc16565b60e060020a900461290d565b61290186600763ffffffff6147bc16565b60e060020a9004600019025b9250600160f860020a031985167f31000000000000000000000000000000000000000000000000000000000000001415612e6d57600a600061295688600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205487101561297d57600080fd5b61298688610e66565b1561299057600080fd5b600860006129a588600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205460ff1615156129ce57600080fd5b600160a060020a0388166000908152601860205260409020805463ffffffff1916600386810b63ffffffff9081169290921767ffffffff0000000019166401000000009187900b83169190910217909155612a2e908790600b906147d216565b600160a060020a0389166000908152601860205260409020805460f060020a909204604060020a0269ffff000000000000000019909216919091179055612a7c86600d63ffffffff6147e816565b600160a060020a03891660009081526018602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff0000000000000000000019909216919091179055612ada86601d63ffffffff6147e816565b600160a060020a038916600090815260186020526040902060010180546001608060020a031916608060020a909204919091179055612b1a86602d6147e8565b600160a060020a038916600090815260186020526040902060010180546fffffffffffffffffffffffffffffffff16608060020a92839004909202919091179055612b6686603d6147fe565b600160a060020a038916600090815260186020526040902060020155612b9386605d63ffffffff6147e816565b600160a060020a03891660008181526018602052604081206003810180546001608060020a031916608060020a90950494909417909355601a805460018181019092557f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e81018054600160a060020a031916909417909355600590930191909155601990612c2289600b6147d2565b600160f060020a03191681526020810191909152604001600090812090612c5089600d63ffffffff6147e816565b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000208990806001815401808255809150509060018203906000526020600020016000909192909190916101000a815481600160a060020a030219169083600160a060020a0316021790555003601860008a600160a060020a0316600160a060020a03168152602001908152602001600020600401819055507ff45ad76a8c4c14053708bfd052607c5e35446beb04fbdff6f2f3c9dde8e83b37886040518082600160a060020a0316600160a060020a0316815260200191505060405180910390a1600d54604080517fd4d84da5000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152602482018b90529151919092169163d4d84da591604480830192600092919082900301818387803b158015612db157600080fd5b505af1158015612dc5573d6000803e3d6000fd5b5050600c54600d54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152602481018d9052905191909216935063a9059cbb925060448083019260209291908290030181600087803b158015612e3b57600080fd5b505af1158015612e4f573d6000803e3d6000fd5b505050506040513d6020811015612e6557600080fd5b506139f39050565b600160f860020a031985167f320000000000000000000000000000000000000000000000000000000000000014156134ad57600b6000612eb3888363ffffffff6147d216565b600160f060020a0319168152602081019190915260400160002054871015612eda57600080fd5b612ee3886146c0565b15612eed57600080fd5b60096000612f0288600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205460ff161515612f2b57600080fd5b600160a060020a0388166000908152601460205260409020805463ffffffff1916600386810b63ffffffff9081169290921767ffffffff0000000019166401000000009187900b83169190910217909155612f8b908790600b906147d216565b600160a060020a0389166000908152601460205260409020805460f060020a909204604060020a0269ffff000000000000000019909216919091179055612fd986600d63ffffffff6147e816565b600160a060020a03891660009081526014602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff000000000000000000001990921691909117905561303786601d63ffffffff61479416565b600160a060020a0389166000908152601460205260408120600101805460f860020a90930490910b60ff16608060020a0270ff000000000000000000000000000000001990921691909117905561309586601e63ffffffff61479416565b600160a060020a0389166000908152601460205260408120805460f860020a90930490910b60ff1660d060020a027aff0000000000000000000000000000000000000000000000000000199092169190911790556130fa86601f63ffffffff6147e816565b600160a060020a038916600090815260146020526040902060010180546001608060020a031916608060020a90920491909117905561313a86602f6147d2565b600160a060020a03891660009081526014602052604090206001908101805460f060020a90930490910b61ffff16710100000000000000000000000000000000000272ffff00000000000000000000000000000000001990921691909117905560f860020a6131b087603163ffffffff61479416565b600160f860020a031916146131c65760006131c9565b60015b600160a060020a038916600090815260146020526040902060010180549115157301000000000000000000000000000000000000000273ff000000000000000000000000000000000000001990921691909117905561322f86603263ffffffff6147d216565b600160a060020a03891660008181526014602052604081206001808201805460f060020a909604820b61ffff16740100000000000000000000000000000000000000000275ffff00000000000000000000000000000000000000001990961695909517909455601680548086019091557fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428981018054600160a060020a03191685179055928252600301919091556015906132f089600b63ffffffff6147d216565b600160f060020a0319168152602081019190915260400160009081209061331e89600d63ffffffff6147e816565b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000208990806001815401808255809150509060018203906000526020600020016000909192909190916101000a815481600160a060020a030219169083600160a060020a0316021790555003601460008a600160a060020a0316600160a060020a03168152602001908152602001600020600201819055506001601460008a600160a060020a0316600160a060020a0316815260200190815260200160002060040160006101000a81548160ff02191690831515021790555087600160a060020a03167fdc94eebf39359cb097be68bd4890a58fce65c66d2d284d4349f666013dc8a43d60405160405180910390a2600d54604080517f18a6d58b000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152602482018b9052915191909216916318a6d58b91604480830192600092919082900301818387803b158015612db157600080fd5b600160f860020a031985167f330000000000000000000000000000000000000000000000000000000000000014156139f357600254600160a060020a038981169116146134f957600080fd5b600a600061350e88600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205487101561353557600080fd5b61354e61354987606d63ffffffff61481416565b610e66565b1561355857600080fd5b6008600061356d88600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205460ff16151561359657600080fd5b6135a786606d63ffffffff61481416565b600160a060020a0381166000908152601860205260409020805463ffffffff1916600387810b63ffffffff9081169290921767ffffffff0000000019166401000000009188900b8316919091021790915590925061360a908790600b906147d216565b600160a060020a0383166000908152601860205260409020805460f060020a909204604060020a0269ffff00000000000000001990921691909117905561365886600d63ffffffff6147e816565b600160a060020a03831660009081526018602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff00000000000000000000199092169190911790556136b686601d63ffffffff6147e816565b600160a060020a038316600090815260186020526040902060010180546001608060020a031916608060020a9092049190911790556136f686602d6147e8565b600160a060020a038316600090815260186020526040902060010180546fffffffffffffffffffffffffffffffff16608060020a9283900490920291909117905561374286603d6147fe565b600160a060020a03831660009081526018602052604090206002015561376f86605d63ffffffff6147e816565b600160a060020a03831660008181526018602052604081206003810180546001608060020a031916608060020a90950494909417909355601a805460018181019092557f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e81018054600160a060020a0319169094179093556005909301919091556019906137fe89600b6147d2565b600160f060020a0319168152602081019190915260400160009081209061382c89600d63ffffffff6147e816565b6001608060020a03191681526020808201929092526040908101600090812080546001808201835591835284832081018054600160a060020a031916600160a060020a038a169081179091558084526018865292849020959003810160048601556006909401805460ff19169094179093558051928352517ff45ad76a8c4c14053708bfd052607c5e35446beb04fbdff6f2f3c9dde8e83b379281900390910190a1600d54604080517fd4d84da5000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018b90529151919092169163d4d84da591604480830192600092919082900301818387803b15801561393c57600080fd5b505af1158015613950573d6000803e3d6000fd5b5050600c54600d54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152602481018d9052905191909216935063a9059cbb925060448083019260209291908290030181600087803b1580156139c657600080fd5b505af11580156139da573d6000803e3d6000fd5b505050506040513d60208110156139f057600080fd5b50505b5050505050505050565b60056020526000908152604090205460ff1681565b60096020526000908152604090205460ff1681565b600160a060020a031660009081526013602052604090205490565b60005433600160a060020a03908116911614613a5d57600080fd5b600160a060020a0381161515613a7257600080fd5b600160a060020a03166000908152600560205260409020805460ff19166001179055565b60065462010000900460ff1681565b6060601a80548060200260200160405190810160405280929190818152602001828054801561199157602002820191906000526020600020908154600160a060020a03168152600190910190602001808311611973575050505050905090565b60065460009060ff1615613b1857600080fd5b33600160a060020a0381166000908152601460205260408120548491604060020a90910460f060020a0290808080613b69613b5288611093565b613b5d576001613b60565b60025b60ff1686611c99565b9350613bf3600e60009054906101000a9004600160a060020a0316600160a060020a03166350ccf36b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015613bc157600080fd5b505af1158015613bd5573d6000803e3d6000fd5b505050506040513d6020811015613beb57600080fd5b505185614844565b600d54604080517fad71766e000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152915193965091169163ad71766e916024808201926020929091908290030181600087803b158015613c5d57600080fd5b505af1158015613c71573d6000803e3d6000fd5b505050506040513d6020811015613c8757600080fd5b50519150613c958287614876565b905082811115613ca457600080fd5b613cad336146c0565b1515613cb857600080fd5b33600160a060020a03168a600160a060020a031614151515613cd957600080fd5b600d54604080517ff5923a6e000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301528d81166024830152604482018d90529151919092169163f5923a6e91606480830192600092919082900301818387803b158015613d4f57600080fd5b505af1158015613d63573d6000803e3d6000fd5b50506006546040805160e160020a63660ea601028152600160a060020a038f8116600483015291516301000000909304909116935063cc1d4c0292506024808201926020929091908290030181600087803b158015613dc157600080fd5b505af1158015613dd5573d6000803e3d6000fd5b505050506040513d6020811015613deb57600080fd5b505115613f9757600160a060020a033381166000908152600f60209081526040808320938e16835292905220549750871515613e5057600160a060020a033381166000908152600f60209081526040808320938e168352929052206127109081905597505b600160a060020a033316600090815260136020526040902054613e8990612710613e7a8c8c614844565b811515613e8357fe5b04614876565b600160a060020a0333166000908152601360205260409020556064613eaf89604f614844565b811515613eb857fe5b04600f600033600160a060020a0316600160a060020a0316815260200190815260200160002060008c600160a060020a0316600160a060020a0316815260200190815260200160002081905550613f34601060008c600160a060020a0316600160a060020a03168152602001908152602001600020548a614876565b600160a060020a03808c1660009081526010602090815260408083209490945533909216815260119091522054613f6b908a614876565b600160a060020a0333166000908152601160209081526040808320939093556012905220805460010190555b89600160a060020a031633600160a060020a03167f3990db2d31862302a685e8086b5755072a6e2b5b780af1ee81ece35ee3cd33458b6040518082815260200191505060405180910390a350505050505050505050565b60005433600160a060020a0390811691161461400957600080fd5b60065462010000900460ff161561401f57600080fd5b60078054600160a060020a03909216600160a060020a03199092169190911790556006805462ff0000191662010000179055565b33600160a060020a038116600090815260056020526040812054909182918291829160ff16151561408357600080fd5b61408c866146c0565b151561409757600080fd5b600160a060020a038616600090815260146020908152604080832060028101549054604060020a810460f060020a02600160f060020a031916855260158452828520605060020a909104608060020a026001608060020a0319168552909252909120805491965090600019810190811061410d57fe5b600091825260208083209190910154600160a060020a03898116845260148352604080852054604060020a810460f060020a02600160f060020a031916865260158552818620605060020a909104608060020a026001608060020a03191686529093529190922080549190921695508591908790811061418957fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790558683168252601481526040808320600201899055928916825282822054604060020a810460f060020a02600160f060020a031916835260158252838320605060020a909104608060020a026001608060020a031916835290522080549061421c906000198301614885565b50600160a060020a0386166000908152601460205260409020600301546016805491945090600019810190811061424f57fe5b60009182526020909120015460168054600160a060020a03909216935083918590811061427857fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055918416815260149091526040902060030183905560168054906142c7906000198301614885565b50600160a060020a0380871660008181526014602052604080822080547affffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101805475ffffffffffffffffffffffffffffffffffffffffffff1916905560028101839055600381018390556004908101805460ff19169055600d5482517fb71738f1000000000000000000000000000000000000000000000000000000008152918201949094529051929093169263b71738f1926024808301939282900301818387803b15801561439857600080fd5b505af11580156143ac573d6000803e3d6000fd5b5050600d54604080517fd83edd70000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152915191909216935063d83edd709250602480830192600092919082900301818387803b15801561441757600080fd5b505af115801561442b573d6000803e3d6000fd5b505060408051600160a060020a038a811682529151339290921693507fcf9fc954c975d15bad8f5fa3c1cd94f55105a98b1ecf33021ebb059122277f8f925081900360200190a2505050505050565b60015433600160a060020a0390811691161461449557600080fd5b600160f060020a03199091166000908152600b6020526040902055565b600b6020526000908152604090205481565b600160a060020a0380821660008181526014602090815260408083208054600180830154600480850154600d5487517f8d837f380000000000000000000000000000000000000000000000000000000081529283019a909a529551600385810b9b640100000000870490910b9a60f060020a604060020a8804029a608060020a605060020a890481029b60d060020a909904820b9a8782029a918804830b997101000000000000000000000000000000000089048a0b99939860ff928316987301000000000000000000000000000000000000008204909316977401000000000000000000000000000000000000000090910490940b95929490921692638d837f389260248084019391929182900301818b87803b1580156145e557600080fd5b505af11580156145f9573d6000803e3d6000fd5b505050506040513d602081101561460f57600080fd5b50519c9e9b9d50999b989a9799509597949693959193909250565b600654610100900460ff1681565b600160f060020a0319821660009081526015602090815260408083206001608060020a03198516845282529182902080548351818402810184019094528084526060939283018282801561272a57602002820191906000526020600020908154600160a060020a0316815260019091019060200180831161270c575050505050905092915050565b600160a060020a038116600090815260146020526040902054604060020a900460f060020a02600160f060020a0319161515919050565b60005433600160a060020a0390811691161461471257600080fd5b600654610100900460ff161561472757600080fd5b6006805461ff0019600160a060020a0390931663010000000276ffffffffffffffffffffffffffffffffffffffff000000199091161791909116610100179055565b600160a060020a039182166000908152600f6020908152604080832093909416825291909152205490565b600080826001018451101515156147aa57600080fd5b505081810160200151805b5092915050565b600080826004018451101515156147aa57600080fd5b600080826002018451101515156147aa57600080fd5b600080826010018451101515156147aa57600080fd5b600080826020018451101515156147aa57600080fd5b6000808260140184511015151561482a57600080fd5b505001602001516c01000000000000000000000000900490565b60008083151561485757600091506147b5565b5082820282848281151561486757fe5b041461486f57fe5b9392505050565b60008282018381101561486f57fe5b8154818355818111156148a9576000838152602090206148a99181019083016148ae565b505050565b61199991905b808211156148c857600081556001016148b4565b50905600a165627a7a72305820d718371ff60b7699ad8ac1aaed843e65217d91784121b944726de7845efe8e9c0029", - "deployedBytecode": "0x6080604052600436106103085763ffffffff60e060020a60003504166301e57a37811461030d5780630519ce791461033e5780630a0f8168146103535780630d46f91a146103685780630d926f7a1461037d5780630e479dc7146103b157806319f1cded146104325780631d0e8a4d146104535780631d32f106146104885780632072863b146104ac5780632105c049146104cd5780632272b0af146104ee5780632314a5c81461050357806325ba0f511461054a5780632630c12f1461057157806327d7874c146105865780632e3a4def146105a757806330a55316146105c85780633b23a5ca146105dd5780633f4ba83a146105f75780633fa198041461060c57806343579fe81461063b5780634a9f0110146106505780634b0ad8fa146106785780634e0a3379146106995780634f4cd650146106ba578063529e65e11461071f578063530e784f1461074057806359b17b43146107615780635c975abb1461078257806366d5eb9b1461079757806367bb15ad146107b9578063681e3356146107da578063744955a9146107fb57806376cdb03b1461081d57806378843a9514610832578063809ffb20146108535780638456cb59146108745780638620084214610889578063878127c8146108ae5780638bd1b610146108c65780638c267b97146108db57806395d43eea146108f05780639a8061e8146109085780639ae120dd1461092d578063a26759cb1461094f578063aa5a11c514610957578063b0547d8c14610978578063b5c4147f14610999578063ba2a98f2146109c8578063c0ee0b8a146109ea578063c640ee3d14610a53578063ca34333b14610a74578063d04c911514610a96578063d0a4a81b14610ab7578063d4f639ea14610ad8578063d5c9b23914610aed578063dd955c4414610b02578063e019ac2914610b26578063f002467714610b47578063f2d15c4814610b68578063f3943ca914610b8d578063f554567f14610baf578063f983c0fa14610c65578063fa1d9cf814610c7a578063fac8a80014610ca9578063fcf3438c14610cca578063fdff31ed14610ceb575b600080fd5b34801561031957600080fd5b50610322610d12565b60408051600160a060020a039092168252519081900360200190f35b34801561034a57600080fd5b50610322610d21565b34801561035f57600080fd5b50610322610d30565b34801561037457600080fd5b50610322610d3f565b34801561038957600080fd5b5061039f600160f060020a031960043516610d4e565b60408051918252519081900360200190f35b3480156103bd57600080fd5b506103d2600160a060020a0360043516610d60565b604080516003998a0b8a0b815297890b90980b6020880152600160f060020a0319909516868801526001608060020a031993841660608701529183166080860152821660a085015260c08401521660e08201529051908190036101000190f35b34801561043e57600080fd5b5061039f600160a060020a0360043516610dc9565b34801561045f57600080fd5b50610474600160a060020a0360043516610e66565b604080519115158252519081900360200190f35b34801561049457600080fd5b506104aa600160f060020a031960043516610e9d565b005b3480156104b857600080fd5b506104aa600160a060020a0360043516610edd565b3480156104d957600080fd5b506104aa600160a060020a0360043516610f2f565b3480156104fa57600080fd5b50610322610f81565b34801561050f57600080fd5b50610524600160a060020a0360043516610f90565b604080519485526020850193909352838301919091526060830152519081900360800190f35b34801561055657600080fd5b506104aa600160a060020a0360043581169060243516610fcc565b34801561057d57600080fd5b50610322611032565b34801561059257600080fd5b506104aa600160a060020a0360043516611041565b3480156105b357600080fd5b50610474600160a060020a0360043516611093565b3480156105d457600080fd5b506103226110e8565b3480156105e957600080fd5b506104aa60043515156110fe565b34801561060357600080fd5b506104aa611152565b6104aa600435600090810b906001608060020a03196024351690604435900b60643560010b608435151561118a565b34801561064757600080fd5b506104aa6114c4565b34801561065c57600080fd5b506104aa600435600160f060020a03196024351660443561183a565b34801561068457600080fd5b5061039f600160a060020a036004351661187c565b3480156106a557600080fd5b506104aa600160a060020a03600435166118e7565b3480156106c657600080fd5b506106cf611939565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561070b5781810151838201526020016106f3565b505050509050019250505060405180910390f35b34801561072b57600080fd5b506104aa600160a060020a036004351661199c565b34801561074c57600080fd5b506104aa600160a060020a03600435166119d8565b34801561076d57600080fd5b5061039f600160a060020a0360043516611a15565b34801561078e57600080fd5b50610474611a80565b3480156107a357600080fd5b506104aa600160f060020a031960043516611a89565b3480156107c557600080fd5b50610474600160a060020a0360043516611ac9565b3480156107e657600080fd5b506104aa600160a060020a0360043516611ade565b34801561080757600080fd5b50610474600160f060020a031960043516611b8c565b34801561082957600080fd5b50610322611ba1565b34801561083e57600080fd5b50610474600160a060020a0360043516611bb0565b34801561085f57600080fd5b506104aa600160a060020a0360043516611c0b565b34801561088057600080fd5b506104aa611c5f565b34801561089557600080fd5b5061039f600435600160f060020a031960243516611c99565b3480156108ba57600080fd5b50610322600435611cc1565b3480156108d257600080fd5b506104aa611ce9565b3480156108e757600080fd5b506103226120d6565b3480156108fc57600080fd5b506103226004356120e5565b34801561091457600080fd5b506104aa600160f060020a0319600435166024356120f3565b34801561093957600080fd5b506104aa600160f060020a03196004351661212b565b6104aa612168565b34801561096357600080fd5b506104aa600160a060020a0360043516612225565b34801561098457600080fd5b506104aa600160a060020a0360043516612261565b3480156109a557600080fd5b506106cf600160f060020a0319600435166001608060020a0319602435166126ad565b3480156109d457600080fd5b506104aa600160f060020a031960043516612737565b3480156109f657600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526104aa948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506127749650505050505050565b348015610a5f57600080fd5b50610474600160a060020a03600435166139fd565b348015610a8057600080fd5b50610474600160f060020a031960043516613a12565b348015610aa257600080fd5b5061039f600160a060020a0360043516613a27565b348015610ac357600080fd5b506104aa600160a060020a0360043516613a42565b348015610ae457600080fd5b50610474613a96565b348015610af957600080fd5b506106cf613aa5565b348015610b0e57600080fd5b506104aa600160a060020a0360043516602435613b05565b348015610b3257600080fd5b506104aa600160a060020a0360043516613fee565b348015610b5357600080fd5b506104aa600160a060020a0360043516614053565b348015610b7457600080fd5b506104aa600160f060020a03196004351660243561447a565b348015610b9957600080fd5b5061039f600160f060020a0319600435166144b2565b348015610bbb57600080fd5b50610bd0600160a060020a03600435166144c4565b6040805160039d8e0b8e0b81529b8d0b909c0b60208c0152600160f060020a03199099168a8c01526001608060020a031997881660608b0152600096870b870b60808b01529490961660a089015291840b90930b60c0870152600192830b830b60e087015261010086015291151561012085015290151561014084015290810b900b6101608201529051908190036101800190f35b348015610c7157600080fd5b5061047461462a565b348015610c8657600080fd5b506106cf600160f060020a0319600435166001608060020a031960243516614638565b348015610cb557600080fd5b50610474600160a060020a03600435166146c0565b348015610cd657600080fd5b506104aa600160a060020a03600435166146f7565b348015610cf757600080fd5b5061039f600160a060020a0360043581169060243516614769565b600c54600160a060020a031681565b600354600160a060020a031681565b600054600160a060020a031681565b600754600160a060020a031681565b600a6020526000908152604090205481565b600160a060020a0316600090815260186020526040902080546001820154600283015460039384015483850b95640100000000850490950b9460f060020a604060020a86040294608060020a605060020a90910481029480820294908290048202939092910290565b600d54604080517f78d0a415000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009392909216916378d0a4159160248082019260209290919082900301818787803b158015610e3457600080fd5b505af1158015610e48573d6000803e3d6000fd5b505050506040513d6020811015610e5e57600080fd5b505192915050565b600160a060020a038116600090815260186020526040902054604060020a900460f060020a02600160f060020a0319161515919050565b60015433600160a060020a03908116911614610eb857600080fd5b600160f060020a0319166000908152600960205260409020805460ff19166001179055565b60005433600160a060020a03908116911614610ef857600080fd5b600160a060020a0381161515610f0d57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a03908116911614610f4a57600080fd5b600160a060020a0381161515610f5f57600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b600254600160a060020a031681565b600160a060020a031660009081526010602090815260408083205460118352818420546012845282852054601390945291909320549293909290565b60005433600160a060020a03908116911614610fe757600080fd5b60175460ff1615610ff757600080fd5b600c8054600160a060020a03938416600160a060020a031991821617909155600d80549290931691161790556017805460ff19166001179055565b600e54600160a060020a031681565b60005433600160a060020a0390811691161461105c57600080fd5b600160a060020a038116151561107157600080fd5b60008054600160a060020a031916600160a060020a0392909216919091179055565b6007546040805160e160020a63660ea601028152600160a060020a0384811660048301529151600093929092169163cc1d4c029160248082019260209290919082900301818787803b158015610e3457600080fd5b60065463010000009004600160a060020a031681565b600160a060020a03331660009081526014602052604090206004015460ff1615158115151461114f5733600160a060020a03166000908152601460205260409020600401805460ff19168215151790555b50565b60005433600160a060020a0390811691161461116d57600080fd5b60065460ff16151561117e57600080fd5b6006805460ff19169055565b611193336146c0565b151561119e57600080fd5b33600160a060020a031660009081526014602052604081205460d060020a9004810b810b9086900b1461121957600160a060020a033316600090815260146020526040812080549187900b60ff1660d060020a027aff0000000000000000000000000000000000000000000000000000199092169190911790555b600160a060020a033316600090815260146020526040902060010154608060020a026001608060020a0319908116908516146112815733600160a060020a0316600090815260146020526040902060010180546001608060020a031916608060020a86041790555b600160a060020a033316600090815260146020526040812060010154608060020a9004810b810b9084900b146112f857600160a060020a033316600090815260146020526040812060010180549185900b60ff16608060020a0270ff00000000000000000000000000000000199092169190911790555b600160a060020a0333166000908152601460205260409020600190810154710100000000000000000000000000000000009004810b810b9083900b1461139257600160a060020a0333166000908152601460205260409020600190810180549184900b61ffff16710100000000000000000000000000000000000272ffff0000000000000000000000000000000000199092169190911790555b600160a060020a03331660009081526014602052604090206004015460ff161515811515146113e35733600160a060020a03166000908152601460205260409020600401805460ff19168215151790555b600034111561148957600d54604080517fe4651465000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523460248301819052925193169263e4651465929160448082019260209290919082900301818588803b15801561145b57600080fd5b505af115801561146f573d6000803e3d6000fd5b50505050506040513d602081101561148657600080fd5b50505b604051600160a060020a033316907fe3df84c3ca6a90f0e6485beae08e7bd034695356bec32910a3d62559ff33fbc890600090a25050505050565b6000806000806114d333610e66565b15156114de57600080fd5b33600160a060020a0316600090815260186020908152604080832060048101549054604060020a810460f060020a02600160f060020a031916855260198452828520605060020a909104608060020a026001608060020a0319168552909252909120805491955090600019810190811061155457fe5b600091825260208083209190910154600160a060020a03338116845260188352604080852054604060020a810460f060020a02600160f060020a031916865260198552818620605060020a909104608060020a026001608060020a0319168652909352919092208054919092169450849190869081106115d057fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055858316825260188152604080832060040188905533909316825282822054604060020a810460f060020a02600160f060020a031916835260198252838320605060020a909104608060020a026001608060020a0319168352905220805490611664906000198301614885565b50600160a060020a033316600090815260186020526040902060050154601a805491935090600019810190811061169757fe5b600091825260209091200154601a8054600160a060020a0390921692508291849081106116c057fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790559183168152601890915260409020600501829055601a80549061170f906000198301614885565b50600160a060020a03338116600081815260186020526040808220805479ffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101839055600281018390556003810180546001608060020a03191690556004808201849055600582018490556006909101805460ff19169055600d5482517f3716f65d0000000000000000000000000000000000000000000000000000000081529182019490945290519290931692633716f65d926024808301939282900301818387803b1580156117df57600080fd5b505af11580156117f3573d6000803e3d6000fd5b505060408051600160a060020a033316815290517fe607eb1578eec3de556aa2d57f7ff9365c1706069a8959e794883eba60b043e39350908190036020019150a150505050565b60035433600160a060020a0390811691161461185557600080fd5b6000928352601b60209081526040808520600160f060020a03199094168552929052912055565b600d54604080517fa96b3ab8000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151600093929092169163a96b3ab89160248082019260209290919082900301818787803b158015610e3457600080fd5b60005433600160a060020a0390811691161461190257600080fd5b600160a060020a038116151561191757600080fd5b60038054600160a060020a031916600160a060020a0392909216919091179055565b6060601680548060200260200160405190810160405280929190818152602001828054801561199157602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311611973575b505050505090505b90565b60005433600160a060020a039081169116146119b757600080fd5b600160a060020a03166000908152600460205260409020805460ff19169055565b60035433600160a060020a039081169116146119f357600080fd5b600e8054600160a060020a031916600160a060020a0392909216919091179055565b600d54604080517f8d837f38000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291516000939290921691638d837f389160248082019260209290919082900301818787803b158015610e3457600080fd5b60065460ff1681565b60015433600160a060020a03908116911614611aa457600080fd5b600160f060020a0319166000908152600860205260409020805460ff19166001179055565b60046020526000908152604090205460ff1681565b60005433600160a060020a03908116911614611af957600080fd5b60065460ff161515611b0a57600080fd5b600d54604080517ff2fde38b000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b158015611b7157600080fd5b505af1158015611b85573d6000803e3d6000fd5b5050505050565b60086020526000908152604090205460ff1681565b600d54600160a060020a031681565b6006546040805160e160020a63660ea601028152600160a060020a0384811660048301529151600093630100000090049092169163cc1d4c029160248082019260209290919082900301818787803b158015610e3457600080fd5b60005433600160a060020a03908116911614611c2657600080fd5b600160a060020a0381161515611c3b57600080fd5b600160a060020a03166000908152600460205260409020805460ff19166001179055565b60005433600160a060020a03908116911614611c7a57600080fd5b60065460ff1615611c8a57600080fd5b6006805460ff19166001179055565b6000918252601b60209081526040808420600160f060020a0319909316845291905290205490565b601a805482908110611ccf57fe5b600091825260209091200154600160a060020a0316905081565b600080600080611cf8336146c0565b1515611d0357600080fd5b33600160a060020a0316600090815260146020908152604080832060028101549054604060020a810460f060020a02600160f060020a031916855260158452828520605060020a909104608060020a026001608060020a03191685529092529091208054919550906000198101908110611d7957fe5b600091825260208083209190910154600160a060020a03338116845260148352604080852054604060020a810460f060020a02600160f060020a031916865260158552818620605060020a909104608060020a026001608060020a031916865290935291909220805491909216945084919086908110611df557fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055858316825260148152604080832060020188905533909316825282822054604060020a810460f060020a02600160f060020a031916835260158252838320605060020a909104608060020a026001608060020a0319168352905220805490611e89906000198301614885565b50600160a060020a03331660009081526014602052604090206003015460168054919350906000198101908110611ebc57fe5b60009182526020909120015460168054600160a060020a039092169250829184908110611ee557fe5b60009182526020808320919091018054600160a060020a031916600160a060020a0394851617905591831681526014909152604090206003018290556016805490611f34906000198301614885565b50600160a060020a0333811660008181526014602052604080822080547affffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101805475ffffffffffffffffffffffffffffffffffffffffffff1916905560028101839055600381018390556004908101805460ff19169055600d5482517fb71738f1000000000000000000000000000000000000000000000000000000008152918201949094529051929093169263b71738f1926024808301939282900301818387803b15801561200557600080fd5b505af1158015612019573d6000803e3d6000fd5b5050600d54604080517fd83edd70000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152915191909216935063d83edd709250602480830192600092919082900301818387803b15801561208457600080fd5b505af1158015612098573d6000803e3d6000fd5b5050604051600160a060020a03331692507fb1e40dcb43d26b3a6cb20da12c333af5a0de0bcd6264eddca5fbacf3e31d4f949150600090a250505050565b600154600160a060020a031681565b6016805482908110611ccf57fe5b60015433600160a060020a0390811691161461210e57600080fd5b600160f060020a03199091166000908152600a6020526040902055565b60015433600160a060020a0390811691161461214657600080fd5b600160f060020a0319166000908152600960205260409020805460ff19169055565b612171336146c0565b151561217c57600080fd5b600d54604080517fe4651465000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523460248301819052925193169263e4651465929160448082019260209290919082900301818588803b1580156121eb57600080fd5b505af11580156121ff573d6000803e3d6000fd5b50505050506040513d602081101561221657600080fd5b5051151561222357600080fd5b565b60005433600160a060020a0390811691161461224057600080fd5b600160a060020a03166000908152600560205260409020805460ff19169055565b33600160a060020a038116600090815260046020526040812054909182918291829160ff16151561229157600080fd5b600160a060020a038616600090815260186020908152604080832060048101549054604060020a810460f060020a02600160f060020a031916855260198452828520605060020a909104608060020a026001608060020a0319168552909252909120805491965090600019810190811061230757fe5b600091825260208083209190910154600160a060020a03898116845260188352604080852054604060020a810460f060020a02600160f060020a031916865260198552818620605060020a909104608060020a026001608060020a03191686529093529190922080549190921695508591908790811061238357fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790558683168252601881526040808320600401899055928916825282822054604060020a810460f060020a02600160f060020a031916835260198252838320605060020a909104608060020a026001608060020a0319168352905220805490612416906000198301614885565b50600160a060020a038616600090815260186020526040902060050154601a805491945090600019810190811061244957fe5b600091825260209091200154601a8054600160a060020a03909216935083918590811061247257fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790559184168152601890915260409020600501839055601a8054906124c1906000198301614885565b50600160a060020a03861660009081526018602052604090206006015460ff16151561256b57600d54604080517f3716f65d000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015291519190921691633716f65d91602480830192600092919082900301818387803b15801561254e57600080fd5b505af1158015612562573d6000803e3d6000fd5b505050506125f6565b600d54600254604080517f7139b595000000000000000000000000000000000000000000000000000000008152600160a060020a038a81166004830152928316602482015290519190921691637139b59591604480830192600092919082900301818387803b1580156125dd57600080fd5b505af11580156125f1573d6000803e3d6000fd5b505050505b600160a060020a038087166000818152601860209081526040808320805479ffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101849055600281018490556003810180546001608060020a03191690556004810184905560058101939093556006909201805460ff191690558151928352905133909316927f34fe9e989d541054eb508f79a2e9b0bc3aa3d7ff2f2ded4f1f6b2819aaec86a39281900390910190a2505050505050565b600160f060020a0319821660009081526019602090815260408083206001608060020a03198516845282529182902080548351818402810184019094528084526060939283018282801561272a57602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831161270c575b5050505050905092915050565b60015433600160a060020a0390811691161461275257600080fd5b600160f060020a0319166000908152600860205260409020805460ff19169055565b60065460009081908190819060ff161561278d57600080fd5b6006546040805160e160020a63660ea601028152600160a060020a038a8116600483015291518a93630100000090049092169163cc1d4c02916024808201926020929091908290030181600087803b1580156127e857600080fd5b505af11580156127fc573d6000803e3d6000fd5b505050506040513d602081101561281257600080fd5b5051151561281f57600080fd5b600c5433600160a060020a0390811691161461283a57600080fd5b61284b86600063ffffffff61479416565b945060f860020a61286387600163ffffffff61479416565b600160f860020a0319161461288f5761288386600263ffffffff6147bc16565b60e060020a90046128ac565b6128a086600263ffffffff6147bc16565b60e060020a9004600019025b935060f860020a6128c487600663ffffffff61479416565b600160f860020a031916146128f0576128e486600763ffffffff6147bc16565b60e060020a900461290d565b61290186600763ffffffff6147bc16565b60e060020a9004600019025b9250600160f860020a031985167f31000000000000000000000000000000000000000000000000000000000000001415612e6d57600a600061295688600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205487101561297d57600080fd5b61298688610e66565b1561299057600080fd5b600860006129a588600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205460ff1615156129ce57600080fd5b600160a060020a0388166000908152601860205260409020805463ffffffff1916600386810b63ffffffff9081169290921767ffffffff0000000019166401000000009187900b83169190910217909155612a2e908790600b906147d216565b600160a060020a0389166000908152601860205260409020805460f060020a909204604060020a0269ffff000000000000000019909216919091179055612a7c86600d63ffffffff6147e816565b600160a060020a03891660009081526018602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff0000000000000000000019909216919091179055612ada86601d63ffffffff6147e816565b600160a060020a038916600090815260186020526040902060010180546001608060020a031916608060020a909204919091179055612b1a86602d6147e8565b600160a060020a038916600090815260186020526040902060010180546fffffffffffffffffffffffffffffffff16608060020a92839004909202919091179055612b6686603d6147fe565b600160a060020a038916600090815260186020526040902060020155612b9386605d63ffffffff6147e816565b600160a060020a03891660008181526018602052604081206003810180546001608060020a031916608060020a90950494909417909355601a805460018181019092557f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e81018054600160a060020a031916909417909355600590930191909155601990612c2289600b6147d2565b600160f060020a03191681526020810191909152604001600090812090612c5089600d63ffffffff6147e816565b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000208990806001815401808255809150509060018203906000526020600020016000909192909190916101000a815481600160a060020a030219169083600160a060020a0316021790555003601860008a600160a060020a0316600160a060020a03168152602001908152602001600020600401819055507ff45ad76a8c4c14053708bfd052607c5e35446beb04fbdff6f2f3c9dde8e83b37886040518082600160a060020a0316600160a060020a0316815260200191505060405180910390a1600d54604080517fd4d84da5000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152602482018b90529151919092169163d4d84da591604480830192600092919082900301818387803b158015612db157600080fd5b505af1158015612dc5573d6000803e3d6000fd5b5050600c54600d54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152602481018d9052905191909216935063a9059cbb925060448083019260209291908290030181600087803b158015612e3b57600080fd5b505af1158015612e4f573d6000803e3d6000fd5b505050506040513d6020811015612e6557600080fd5b506139f39050565b600160f860020a031985167f320000000000000000000000000000000000000000000000000000000000000014156134ad57600b6000612eb3888363ffffffff6147d216565b600160f060020a0319168152602081019190915260400160002054871015612eda57600080fd5b612ee3886146c0565b15612eed57600080fd5b60096000612f0288600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205460ff161515612f2b57600080fd5b600160a060020a0388166000908152601460205260409020805463ffffffff1916600386810b63ffffffff9081169290921767ffffffff0000000019166401000000009187900b83169190910217909155612f8b908790600b906147d216565b600160a060020a0389166000908152601460205260409020805460f060020a909204604060020a0269ffff000000000000000019909216919091179055612fd986600d63ffffffff6147e816565b600160a060020a03891660009081526014602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff000000000000000000001990921691909117905561303786601d63ffffffff61479416565b600160a060020a0389166000908152601460205260408120600101805460f860020a90930490910b60ff16608060020a0270ff000000000000000000000000000000001990921691909117905561309586601e63ffffffff61479416565b600160a060020a0389166000908152601460205260408120805460f860020a90930490910b60ff1660d060020a027aff0000000000000000000000000000000000000000000000000000199092169190911790556130fa86601f63ffffffff6147e816565b600160a060020a038916600090815260146020526040902060010180546001608060020a031916608060020a90920491909117905561313a86602f6147d2565b600160a060020a03891660009081526014602052604090206001908101805460f060020a90930490910b61ffff16710100000000000000000000000000000000000272ffff00000000000000000000000000000000001990921691909117905560f860020a6131b087603163ffffffff61479416565b600160f860020a031916146131c65760006131c9565b60015b600160a060020a038916600090815260146020526040902060010180549115157301000000000000000000000000000000000000000273ff000000000000000000000000000000000000001990921691909117905561322f86603263ffffffff6147d216565b600160a060020a03891660008181526014602052604081206001808201805460f060020a909604820b61ffff16740100000000000000000000000000000000000000000275ffff00000000000000000000000000000000000000001990961695909517909455601680548086019091557fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428981018054600160a060020a03191685179055928252600301919091556015906132f089600b63ffffffff6147d216565b600160f060020a0319168152602081019190915260400160009081209061331e89600d63ffffffff6147e816565b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000208990806001815401808255809150509060018203906000526020600020016000909192909190916101000a815481600160a060020a030219169083600160a060020a0316021790555003601460008a600160a060020a0316600160a060020a03168152602001908152602001600020600201819055506001601460008a600160a060020a0316600160a060020a0316815260200190815260200160002060040160006101000a81548160ff02191690831515021790555087600160a060020a03167fdc94eebf39359cb097be68bd4890a58fce65c66d2d284d4349f666013dc8a43d60405160405180910390a2600d54604080517f18a6d58b000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152602482018b9052915191909216916318a6d58b91604480830192600092919082900301818387803b158015612db157600080fd5b600160f860020a031985167f330000000000000000000000000000000000000000000000000000000000000014156139f357600254600160a060020a038981169116146134f957600080fd5b600a600061350e88600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205487101561353557600080fd5b61354e61354987606d63ffffffff61481416565b610e66565b1561355857600080fd5b6008600061356d88600b63ffffffff6147d216565b600160f060020a031916815260208101919091526040016000205460ff16151561359657600080fd5b6135a786606d63ffffffff61481416565b600160a060020a0381166000908152601860205260409020805463ffffffff1916600387810b63ffffffff9081169290921767ffffffff0000000019166401000000009188900b8316919091021790915590925061360a908790600b906147d216565b600160a060020a0383166000908152601860205260409020805460f060020a909204604060020a0269ffff00000000000000001990921691909117905561365886600d63ffffffff6147e816565b600160a060020a03831660009081526018602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff00000000000000000000199092169190911790556136b686601d63ffffffff6147e816565b600160a060020a038316600090815260186020526040902060010180546001608060020a031916608060020a9092049190911790556136f686602d6147e8565b600160a060020a038316600090815260186020526040902060010180546fffffffffffffffffffffffffffffffff16608060020a9283900490920291909117905561374286603d6147fe565b600160a060020a03831660009081526018602052604090206002015561376f86605d63ffffffff6147e816565b600160a060020a03831660008181526018602052604081206003810180546001608060020a031916608060020a90950494909417909355601a805460018181019092557f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e81018054600160a060020a0319169094179093556005909301919091556019906137fe89600b6147d2565b600160f060020a0319168152602081019190915260400160009081209061382c89600d63ffffffff6147e816565b6001608060020a03191681526020808201929092526040908101600090812080546001808201835591835284832081018054600160a060020a031916600160a060020a038a169081179091558084526018865292849020959003810160048601556006909401805460ff19169094179093558051928352517ff45ad76a8c4c14053708bfd052607c5e35446beb04fbdff6f2f3c9dde8e83b379281900390910190a1600d54604080517fd4d84da5000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018b90529151919092169163d4d84da591604480830192600092919082900301818387803b15801561393c57600080fd5b505af1158015613950573d6000803e3d6000fd5b5050600c54600d54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152602481018d9052905191909216935063a9059cbb925060448083019260209291908290030181600087803b1580156139c657600080fd5b505af11580156139da573d6000803e3d6000fd5b505050506040513d60208110156139f057600080fd5b50505b5050505050505050565b60056020526000908152604090205460ff1681565b60096020526000908152604090205460ff1681565b600160a060020a031660009081526013602052604090205490565b60005433600160a060020a03908116911614613a5d57600080fd5b600160a060020a0381161515613a7257600080fd5b600160a060020a03166000908152600560205260409020805460ff19166001179055565b60065462010000900460ff1681565b6060601a80548060200260200160405190810160405280929190818152602001828054801561199157602002820191906000526020600020908154600160a060020a03168152600190910190602001808311611973575050505050905090565b60065460009060ff1615613b1857600080fd5b33600160a060020a0381166000908152601460205260408120548491604060020a90910460f060020a0290808080613b69613b5288611093565b613b5d576001613b60565b60025b60ff1686611c99565b9350613bf3600e60009054906101000a9004600160a060020a0316600160a060020a03166350ccf36b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015613bc157600080fd5b505af1158015613bd5573d6000803e3d6000fd5b505050506040513d6020811015613beb57600080fd5b505185614844565b600d54604080517fad71766e000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152915193965091169163ad71766e916024808201926020929091908290030181600087803b158015613c5d57600080fd5b505af1158015613c71573d6000803e3d6000fd5b505050506040513d6020811015613c8757600080fd5b50519150613c958287614876565b905082811115613ca457600080fd5b613cad336146c0565b1515613cb857600080fd5b33600160a060020a03168a600160a060020a031614151515613cd957600080fd5b600d54604080517ff5923a6e000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301528d81166024830152604482018d90529151919092169163f5923a6e91606480830192600092919082900301818387803b158015613d4f57600080fd5b505af1158015613d63573d6000803e3d6000fd5b50506006546040805160e160020a63660ea601028152600160a060020a038f8116600483015291516301000000909304909116935063cc1d4c0292506024808201926020929091908290030181600087803b158015613dc157600080fd5b505af1158015613dd5573d6000803e3d6000fd5b505050506040513d6020811015613deb57600080fd5b505115613f9757600160a060020a033381166000908152600f60209081526040808320938e16835292905220549750871515613e5057600160a060020a033381166000908152600f60209081526040808320938e168352929052206127109081905597505b600160a060020a033316600090815260136020526040902054613e8990612710613e7a8c8c614844565b811515613e8357fe5b04614876565b600160a060020a0333166000908152601360205260409020556064613eaf89604f614844565b811515613eb857fe5b04600f600033600160a060020a0316600160a060020a0316815260200190815260200160002060008c600160a060020a0316600160a060020a0316815260200190815260200160002081905550613f34601060008c600160a060020a0316600160a060020a03168152602001908152602001600020548a614876565b600160a060020a03808c1660009081526010602090815260408083209490945533909216815260119091522054613f6b908a614876565b600160a060020a0333166000908152601160209081526040808320939093556012905220805460010190555b89600160a060020a031633600160a060020a03167f3990db2d31862302a685e8086b5755072a6e2b5b780af1ee81ece35ee3cd33458b6040518082815260200191505060405180910390a350505050505050505050565b60005433600160a060020a0390811691161461400957600080fd5b60065462010000900460ff161561401f57600080fd5b60078054600160a060020a03909216600160a060020a03199092169190911790556006805462ff0000191662010000179055565b33600160a060020a038116600090815260056020526040812054909182918291829160ff16151561408357600080fd5b61408c866146c0565b151561409757600080fd5b600160a060020a038616600090815260146020908152604080832060028101549054604060020a810460f060020a02600160f060020a031916855260158452828520605060020a909104608060020a026001608060020a0319168552909252909120805491965090600019810190811061410d57fe5b600091825260208083209190910154600160a060020a03898116845260148352604080852054604060020a810460f060020a02600160f060020a031916865260158552818620605060020a909104608060020a026001608060020a03191686529093529190922080549190921695508591908790811061418957fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790558683168252601481526040808320600201899055928916825282822054604060020a810460f060020a02600160f060020a031916835260158252838320605060020a909104608060020a026001608060020a031916835290522080549061421c906000198301614885565b50600160a060020a0386166000908152601460205260409020600301546016805491945090600019810190811061424f57fe5b60009182526020909120015460168054600160a060020a03909216935083918590811061427857fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055918416815260149091526040902060030183905560168054906142c7906000198301614885565b50600160a060020a0380871660008181526014602052604080822080547affffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101805475ffffffffffffffffffffffffffffffffffffffffffff1916905560028101839055600381018390556004908101805460ff19169055600d5482517fb71738f1000000000000000000000000000000000000000000000000000000008152918201949094529051929093169263b71738f1926024808301939282900301818387803b15801561439857600080fd5b505af11580156143ac573d6000803e3d6000fd5b5050600d54604080517fd83edd70000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152915191909216935063d83edd709250602480830192600092919082900301818387803b15801561441757600080fd5b505af115801561442b573d6000803e3d6000fd5b505060408051600160a060020a038a811682529151339290921693507fcf9fc954c975d15bad8f5fa3c1cd94f55105a98b1ecf33021ebb059122277f8f925081900360200190a2505050505050565b60015433600160a060020a0390811691161461449557600080fd5b600160f060020a03199091166000908152600b6020526040902055565b600b6020526000908152604090205481565b600160a060020a0380821660008181526014602090815260408083208054600180830154600480850154600d5487517f8d837f380000000000000000000000000000000000000000000000000000000081529283019a909a529551600385810b9b640100000000870490910b9a60f060020a604060020a8804029a608060020a605060020a890481029b60d060020a909904820b9a8782029a918804830b997101000000000000000000000000000000000089048a0b99939860ff928316987301000000000000000000000000000000000000008204909316977401000000000000000000000000000000000000000090910490940b95929490921692638d837f389260248084019391929182900301818b87803b1580156145e557600080fd5b505af11580156145f9573d6000803e3d6000fd5b505050506040513d602081101561460f57600080fd5b50519c9e9b9d50999b989a9799509597949693959193909250565b600654610100900460ff1681565b600160f060020a0319821660009081526015602090815260408083206001608060020a03198516845282529182902080548351818402810184019094528084526060939283018282801561272a57602002820191906000526020600020908154600160a060020a0316815260019091019060200180831161270c575050505050905092915050565b600160a060020a038116600090815260146020526040902054604060020a900460f060020a02600160f060020a0319161515919050565b60005433600160a060020a0390811691161461471257600080fd5b600654610100900460ff161561472757600080fd5b6006805461ff0019600160a060020a0390931663010000000276ffffffffffffffffffffffffffffffffffffffff000000199091161791909116610100179055565b600160a060020a039182166000908152600f6020908152604080832093909416825291909152205490565b600080826001018451101515156147aa57600080fd5b505081810160200151805b5092915050565b600080826004018451101515156147aa57600080fd5b600080826002018451101515156147aa57600080fd5b600080826010018451101515156147aa57600080fd5b600080826020018451101515156147aa57600080fd5b6000808260140184511015151561482a57600080fd5b505001602001516c01000000000000000000000000900490565b60008083151561485757600091506147b5565b5082820282848281151561486757fe5b041461486f57fe5b9392505050565b60008282018381101561486f57fe5b8154818355818111156148a9576000838152602090206148a99181019083016148ae565b505050565b61199991905b808211156148c857600081556001016148b4565b50905600a165627a7a72305820d718371ff60b7699ad8ac1aaed843e65217d91784121b944726de7845efe8e9c0029", - "sourceMap": "1272:21803:1:-;;;1814:26:0;;;-1:-1:-1;;286:24:2;;;4325:22:1;;;-1:-1:-1;;4325:22:1;;;5549:55;5:2:-1;;;;30:1;27;20:12;5:2;-1:-1;5576:10:1;:23;;-1:-1:-1;;;;;5589:10:1;5576:23;-1:-1:-1;;;;;;5576:23:1;;;;;;1272:21803;;;;;;", - "deployedSourceMap": "1272:21803:1:-;;;;;;;;;-1:-1:-1;;;1272:21803:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2484:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2484:22:1;;;;;;;;-1:-1:-1;;;;;2484:22:1;;;;;;;;;;;;;;1438:25:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1438:25:0;;;;1323;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1323:25:0;;;;593:29:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;593:29:2;;;;1123:42;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1123:42:2;-1:-1:-1;;;;;;1123:42:2;;;;;;;;;;;;;;;;;;;;;20474:489:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;20474:489:1;-1:-1:-1;;;;;20474:489:1;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20474:489:1;;;;;;;-1:-1:-1;;;;;;20474:489:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22786:113;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22786:113:1;-1:-1:-1;;;;;22786:113:1;;;;;21878;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;21878:113:1;-1:-1:-1;;;;;21878:113:1;;;;;;;;;;;;;;;;;;;;;;;2628:105:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2628:105:2;-1:-1:-1;;;;;;2628:105:2;;;;;;;2917:127:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2917:127:0;-1:-1:-1;;;;;2917:127:0;;;;;3050;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3050:127:0;-1:-1:-1;;;;;3050:127:0;;;;;1385:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1385:25:0;;;;21024:306:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;21024:306:1;-1:-1:-1;;;;;21024:306:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5607:180;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5607:180:1;-1:-1:-1;;;;;5607:180:1;;;;;;;;;;2585:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2585:37:1;;;;2645:127:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2645:127:0;-1:-1:-1;;;;;2645:127:0;;;;;1708:105:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1708:105:2;-1:-1:-1;;;;;1708:105:2;;;;;560:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;560:29:2;;;;15190:138:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;15190:138:1;;;;;;;4742:126:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4742:126:0;;;;11142:772:1;;;;;;;;;-1:-1:-1;;;;;;11142:772:1;;;;;;;;;;;;;;;;;;17673:854;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17673:854:1;;;;12067:143;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12067:143:1;;;-1:-1:-1;;;;;;12067:143:1;;;;;;;22620:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22620:105:1;-1:-1:-1;;;;;22620:105:1;;;;;3183:127:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3183:127:0;-1:-1:-1;;;;;3183:127:0;;;;;22298:85:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22298:85:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;22298:85:1;;;;;;;;;;;;;;;;;3474:115:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3474:115:0;-1:-1:-1;;;;;3474:115:0;;;;;5791:121:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5791:121:1;-1:-1:-1;;;;;5791:121:1;;;;;21377:117;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;21377:117:1;-1:-1:-1;;;;;21377:117:1;;;;;1814:26:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1814:26:0;;;;2418:101:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2418:101:2;-1:-1:-1;;;;;;2418:101:2;;;;;1495:47:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1495:47:0;-1:-1:-1;;;;;1495:47:0;;;;;22943:130:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22943:130:1;-1:-1:-1;;;;;22943:130:1;;;;;787:48:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;787:48:2;-1:-1:-1;;;;;;787:48:2;;;;;2558:22:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2558:22:1;;;;1597:105:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1597:105:2;-1:-1:-1;;;;;1597:105:2;;;;;3316:152:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3316:152:0;-1:-1:-1;;;;;3316:152:0;;;;;4384:78;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4384:78:0;;;;12213:146:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12213:146:1;;;-1:-1:-1;;;;;;12213:146:1;;;;;5447:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5447:26:1;;;;;15616:936;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15616:936:1;;;;1354:25:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1354:25:0;;;;4250:28:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4250:28:1;;;;;2182:113:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2182:113:2;-1:-1:-1;;;;;;2182:113:2;;;;;;;2736:107;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2736:107:2;-1:-1:-1;;;;;;2736:107:2;;;;;15406:149:1;;;;3757:119:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3757:119:0;-1:-1:-1;;;;;3757:119:0;;;;;18590:982:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;18590:982:1;-1:-1:-1;;;;;18590:982:1;;;;;21605:143;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;21605:143:1;-1:-1:-1;;;;;;21605:143:1;;;-1:-1:-1;;;;;;21605:143:1;;;;;2522:103:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2522:103:2;-1:-1:-1;;;;;;2522:103:2;;;;;6559:4430:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6559:4430:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6559:4430:1;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6559:4430:1;;-1:-1:-1;6559:4430:1;;-1:-1:-1;;;;;;;6559:4430:1;1603:49:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1603:49:0;-1:-1:-1;;;;;1603:49:0;;;;;839:50:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;839:50:2;-1:-1:-1;;;;;;839:50:2;;;;;13314:105:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;13314:105:1;-1:-1:-1;;;;;13314:105:1;;;;;3595:156:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3595:156:0;-1:-1:-1;;;;;3595:156:0;;;;;286:24:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;286:24:2;;;;21793:81:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21793:81:1;;;;13568:1557;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;13568:1557:1;-1:-1:-1;;;;;13568:1557:1;;;;;;;2026:153:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2026:153:2;-1:-1:-1;;;;;2026:153:2;;;;;16616:993:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;16616:993:1;-1:-1:-1;;;;;16616:993:1;;;;;2298:117:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2298:117:2;-1:-1:-1;;;;;;2298:117:2;;;;;;;1169:44;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1169:44:2;-1:-1:-1;;;;;;1169:44:2;;;;;19642:749:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;19642:749:1;-1:-1:-1;;;;;19642:749:1;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19642:749:1;;;;;;;-1:-1:-1;;;;;;19642:749:1;;;;;;;-1:-1:-1;19642:749:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;258:24:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;258:24:2;;;;22104:147:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22104:147:1;-1:-1:-1;;;;;;22104:147:1;;;-1:-1:-1;;;;;;22104:147:1;;;;;22416:122;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22416:122:1;-1:-1:-1;;;;;22416:122:1;;;;;1839:153:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1839:153:2;-1:-1:-1;;;;;1839:153:2;;;;;13171:139:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;13171:139:1;-1:-1:-1;;;;;13171:139:1;;;;;;;;;;2484:22;;;-1:-1:-1;;;;;2484:22:1;;:::o;1438:25:0:-;;;-1:-1:-1;;;;;1438:25:0;;:::o;1323:::-;;;-1:-1:-1;;;;;1323:25:0;;:::o;593:29:2:-;;;-1:-1:-1;;;;;593:29:2;;:::o;1123:42::-;;;;;;;;;;;;;:::o;20474:489:1:-;-1:-1:-1;;;;;20710:11:1;20531:9;20710:11;;;:4;:11;;;;;20733;;;20851;;;20907:19;;;;20733:11;20942:15;;;;20733:11;;;;20756;;;;;;;-1:-1:-1;;;;;;20785:17:1;;;;-1:-1:-1;;;;;;20821:18:1;;;;;;20851:11;;;;20875:12;;;;;;;20907:19;;20942:15;;;20474:489::o;22786:113::-;22868:4;;:26;;;;;;-1:-1:-1;;;;;22868:26:1;;;;;;;;;22849:4;;22868;;;;;:17;;:26;;;;;;;;;;;;;;;22849:4;22868;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;22868:26:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22868:26:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22868:26:1;;22786:113;-1:-1:-1;;22786:113:1:o;21878:::-;-1:-1:-1;;;;;21949:11:1;;21930:4;21949:11;;;:4;:11;;;;;:21;-1:-1:-1;;;21949:21:1;;-1:-1:-1;;;21949:21:1;-1:-1:-1;;;;;;21949:36:1;;;21878:113;;;:::o;2628:105:2:-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2692:29:2;;;;;:19;:29;;;;;:36;;-1:-1:-1;;2692:36:2;2724:4;2692:36;;;2628:105::o;2917:127:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;2985:21:0;;;;2977:30;;;;;;3017:10;:20;;-1:-1:-1;;;;;;3017:20:0;-1:-1:-1;;;;;3017:20:0;;;;;;;;;;2917:127::o;3050:::-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3118:21:0;;;;3110:30;;;;;;3150:10;:20;;-1:-1:-1;;;;;;3150:20:0;-1:-1:-1;;;;;3150:20:0;;;;;;;;;;3050:127::o;1385:25::-;;;-1:-1:-1;;;;;1385:25:0;;:::o;21024:306:1:-;-1:-1:-1;;;;;21188:18:1;21084:14;21188:18;;;:9;:18;;;;;;;;;21226:10;:19;;;;;;21263:7;:16;;;;;;21303:13;:22;;;;;;;;21188:18;;21226:19;;21303:22;21024:306::o;5607:180::-;1954:10:0;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;5691:9:1;;;;5690:10;5682:19;;;;;;5707:3;:23;;-1:-1:-1;;;;;5707:23:1;;;-1:-1:-1;;;;;;5707:23:1;;;;;;;5736:4;:24;;;;;;;;;;;5766:9;:16;;-1:-1:-1;;5766:16:1;5707:23;5766:16;;;5607:180::o;2585:37::-;;;-1:-1:-1;;;;;2585:37:1;;:::o;2645:127:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;2713:21:0;;;;2705:30;;;;;;2745:10;:20;;-1:-1:-1;;;;;;2745:20:0;-1:-1:-1;;;;;2745:20:0;;;;;;;;;;2645:127::o;1708:105:2:-;1779:12;;:29;;;-1:-1:-1;;;;;1779:29:2;;-1:-1:-1;;;;;1779:29:2;;;;;;;;;1760:4;;1779:12;;;;;:22;;:29;;;;;;;;;;;;;;;1760:4;1779:12;:29;;;5:2:-1;;;;30:1;27;20:12;560:29:2;;;;;;-1:-1:-1;;;;;560:29:2;;:::o;15190:138:1:-;-1:-1:-1;;;;;15252:10:1;15245:18;;;;;:6;:18;;;;;:25;;;;;:36;;;;;;15241:82;;15295:10;-1:-1:-1;;;;;15288:18:1;;;;;:6;:18;;;;;:25;;:35;;-1:-1:-1;;15288:35:1;;;;;;;15241:82;15190:138;:::o;4742:126:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;4206:6;;;;4198:15;;;;;;;;4847:6;:14;;-1:-1:-1;;4847:14:0;;;4742:126::o;11142:772:1:-;11295:20;11304:10;11295:8;:20::i;:::-;11287:29;;;;;;;;11347:10;-1:-1:-1;;;;;11340:18:1;;;;;:6;:18;;;;;:29;-1:-1:-1;;;11340:29:1;;;;11326:43;;;;;;;11322:95;;-1:-1:-1;;;;;11382:10:1;11375:18;;;;;:6;:18;;;;;:42;;;;;;;;-1:-1:-1;;;11375:42:1;-1:-1:-1;;11375:42:1;;;;;;;;;11322:95;-1:-1:-1;;;;;11434:10:1;11427:18;;;;;:6;:18;;;;;:28;;;-1:-1:-1;;;11427:28:1;-1:-1:-1;;;;;;11427:41:1;;;;;;;11423:92;;11482:10;-1:-1:-1;;;;;11475:18:1;;;;;:6;:18;;;;;:28;;:40;;-1:-1:-1;;;;;;11475:40:1;-1:-1:-1;;;11475:40:1;;;;;11423:92;-1:-1:-1;;;;;11532:10:1;11525:18;:39;:18;;;:6;:18;;;;;:27;;;-1:-1:-1;;;11525:27:1;;;;:39;;;;;;;11521:88;;-1:-1:-1;;;;;11578:10:1;11571:18;;;;;:6;:18;;;;;:27;;:38;;;;;;;;-1:-1:-1;;;11571:38:1;-1:-1:-1;;11571:38:1;;;;;;;;;11521:88;-1:-1:-1;;;;;11626:10:1;11619:18;;;;;:6;:18;;;;;:33;:24;;;;;;;;;:33;;;;;;;11615:76;;-1:-1:-1;;;;;11666:10:1;11659:18;;;;;:6;:18;;;;;:24;;;;:32;;;;;;;;;;-1:-1:-1;;11659:32:1;;;;;;;;;11615:76;-1:-1:-1;;;;;11708:10:1;11701:18;;;;;:6;:18;;;;;:25;;;;;:35;;;;;;11697:81;;11751:10;-1:-1:-1;;;;;11744:18:1;;;;;:6;:18;;;;;:25;;:34;;-1:-1:-1;;11744:34:1;;;;;;;11697:81;11800:1;11788:9;:13;11784:91;;;11811:4;;:57;;;;;;-1:-1:-1;;;;;11846:10:1;11811:57;;;;;;11835:9;11811:57;;;;;;;;:4;;;:17;;11835:9;11811:57;;;;;;;;;;;;;;;11835:9;11811:4;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;11811:57:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11811:57:1;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;11784:91:1;11885:24;;-1:-1:-1;;;;;11898:10:1;11885:24;;;;;;;11142:772;;;;;:::o;17673:854::-;17743:17;17795:18;18199:17;18254:18;17718;17725:10;17718:6;:18::i;:::-;17710:27;;;;;;;;17768:10;-1:-1:-1;;;;;17763:16:1;;;;;:4;:16;;;;;;;;:26;;;;17827;;-1:-1:-1;;;17827:26:1;;-1:-1:-1;;;17827:26:1;-1:-1:-1;;;;;;17816:38:1;;;:10;:38;;;;;-1:-1:-1;;;17855:27:1;;;-1:-1:-1;;;17855:27:1;-1:-1:-1;;;;;;17816:67:1;;;;;;;;;17884:74;;17763:26;;-1:-1:-1;17816:67:1;-1:-1:-1;;17884:78:1;;;17816:147;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17985:10:1;17980:16;;;;:4;:16;;;;;;:26;-1:-1:-1;;;17980:26:1;;-1:-1:-1;;;17980:26:1;-1:-1:-1;;;;;;17969:38:1;;;:10;:38;;;;;-1:-1:-1;;;18008:27:1;;;-1:-1:-1;;;18008:27:1;-1:-1:-1;;;;;;17969:67:1;;;;;;;;;;:81;;17816:147;;;;;-1:-1:-1;17816:147:1;;17969:67;18037:12;;17969:81;;;;;;;;;;;;;;;;;;:94;;-1:-1:-1;;;;;;17969:94:1;-1:-1:-1;;;;;17969:94:1;;;;;;18069:16;;;;;:4;:16;;;;;;:26;;:41;;;18132:10;18127:16;;;;;;;;:26;-1:-1:-1;;;18127:26:1;;-1:-1:-1;;;18127:26:1;-1:-1:-1;;;;;;18116:38:1;;;:10;:38;;;;;-1:-1:-1;;;18155:27:1;;;-1:-1:-1;;;18155:27:1;-1:-1:-1;;;;;;18116:67:1;;;;;;:76;;;;;-1:-1:-1;;18116:76:1;;;:::i;:::-;-1:-1:-1;;;;;;18224:10:1;18219:16;;;;;:4;:16;;;;;:29;;;18275:9;18285:16;;18219:29;;-1:-1:-1;18275:9:1;-1:-1:-1;;18285:20:1;;;18275:31;;;;;;;;;;;;;;;;18312:9;:23;;-1:-1:-1;;;;;18275:31:1;;;;-1:-1:-1;18275:31:1;;18322:12;;18312:23;;;;;;;;;;;;;;;;;;:36;;-1:-1:-1;;;;;;18312:36:1;-1:-1:-1;;;;;18312:36:1;;;;;;18354:16;;;;;:4;:16;;;;;;:29;;:44;;;18404:9;:18;;;;;-1:-1:-1;;18404:18:1;;;:::i;:::-;-1:-1:-1;;;;;;18440:10:1;18435:16;;;;;;:4;:16;;;;;;18428:23;;-1:-1:-1;;18428:23:1;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18428:23:1;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18428:23:1;;;18457:4;;:32;;;;;;;;;;;;;;:4;;;;;:20;;:32;;;;;18435:16;18457:32;;;;;18435:16;18457:4;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;18457:32:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;18500:22:1;;;-1:-1:-1;;;;;18511:10:1;18500:22;;;;;;;-1:-1:-1;18500:22:1;;;;;;;-1:-1:-1;18500:22:1;17673:854;;;;:::o;12067:143::-;2268:10:0;;2254;-1:-1:-1;;;;;2254:24:0;;;2268:10;;2254:24;2246:33;;;;;;12165:16:1;;;;:9;:16;;;;;;;;-1:-1:-1;;;;;;12165:28:1;;;;;;;;;;:40;12067:143::o;22620:105::-;22698:4;;:22;;;;;;-1:-1:-1;;;;;22698:22:1;;;;;;;;;22679:4;;22698;;;;;:15;;:22;;;;;;;;;;;;;;;22679:4;22698;:22;;;5:2:-1;;;;30:1;27;20:12;3183:127:0;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3251:21:0;;;;3243:30;;;;;;3283:10;:20;;-1:-1:-1;;;;;;3283:20:0;-1:-1:-1;;;;;3283:20:0;;;;;;;;;;3183:127::o;22298:85:1:-;22344:9;22367:11;22360:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22360:18:1;;;;;;;;;;;;;;;;;;;;;;;22298:85;;:::o;3474:115:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3548:26:0;3577:5;3548:26;;;:14;:26;;;;;:34;;-1:-1:-1;;3548:34:0;;;3474:115::o;5791:121:1:-;2268:10:0;;2254;-1:-1:-1;;;;;2254:24:0;;;2268:10;;2254:24;2246:33;;;;;;5861:11:1;:46;;-1:-1:-1;;;;;;5861:46:1;-1:-1:-1;;;;;5861:46:1;;;;;;;;;;5791:121::o;21377:117::-;21460:4;;:29;;;;;;-1:-1:-1;;;;;21460:29:1;;;;;;;;;21441:4;;21460;;;;;:20;;:29;;;;;;;;;;;;;;;21441:4;21460;:29;;;5:2:-1;;;;30:1;27;20:12;1814:26:0;;;;;;:::o;2418:101:2:-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2480:27:2;;;;;:17;:27;;;;;:34;;-1:-1:-1;;2480:34:2;2510:4;2480:34;;;2418:101::o;1495:47:0:-;;;;;;;;;;;;;;;:::o;22943:130:1:-;1954:10:0;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;4206:6;;;;4198:15;;;;;;;;23031:4:1;;:37;;;;;;-1:-1:-1;;;;;23031:37:1;;;;;;;;;:4;;;;;:22;;:37;;;;;:4;;:37;;;;;;;:4;;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;23031:37:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23031:37:1;;;;22943:130;:::o;787:48:2:-;;;;;;;;;;;;;;;:::o;2558:22:1:-;;;-1:-1:-1;;;;;2558:22:1;;:::o;1597:105:2:-;1668:12;;:29;;;-1:-1:-1;;;;;1668:29:2;;-1:-1:-1;;;;;1668:29:2;;;;;;;;;-1:-1:-1;;1668:12:2;;;;;;;:22;;:29;;;;;;;;;;;;;;;-1:-1:-1;1668:12:2;:29;;;5:2:-1;;;;30:1;27;20:12;3316:152:0;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3395:24:0;;;;3387:33;;;;;;-1:-1:-1;;;;;3428:26:0;;;;;:14;:26;;;;;:33;;-1:-1:-1;;3428:33:0;3457:4;3428:33;;;3316:152::o;4384:78::-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;4065:6;;;;4064:7;4056:16;;;;;;4442:6;:13;;-1:-1:-1;;4442:13:0;4451:4;4442:13;;;4384:78::o;12213:146:1:-;12291:16;12326;;;:9;:16;;;;;;;;-1:-1:-1;;;;;;12326:28:1;;;;;;;;;;;;12213:146::o;5447:26::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5447:26:1;;-1:-1:-1;5447:26:1;:::o;15616:936::-;15690:17;15744:18;16174:17;16231:18;15663:20;15672:10;15663:8;:20::i;:::-;15655:29;;;;;;;;15717:10;-1:-1:-1;;;;;15710:18:1;;;;;:6;:18;;;;;;;;:28;;;;15778;;-1:-1:-1;;;15778:28:1;;-1:-1:-1;;;15778:28:1;-1:-1:-1;;;;;;15765:42:1;;;:12;:42;;;;;-1:-1:-1;;;15808:29:1;;;-1:-1:-1;;;15808:29:1;-1:-1:-1;;;;;;15765:73:1;;;;;;;;;15839:80;;15710:28;;-1:-1:-1;15765:73:1;-1:-1:-1;;15839:84:1;;;15765:159;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15950:10:1;15943:18;;;;:6;:18;;;;;;:28;-1:-1:-1;;;15943:28:1;;-1:-1:-1;;;15943:28:1;-1:-1:-1;;;;;;15930:42:1;;;:12;:42;;;;;-1:-1:-1;;;15973:29:1;;;-1:-1:-1;;;15973:29:1;-1:-1:-1;;;;;;15930:73:1;;;;;;;;;;:87;;15765:159;;;;;-1:-1:-1;15765:159:1;;15930:73;16004:12;;15930:87;;;;;;;;;;;;;;;;;;:100;;-1:-1:-1;;;;;;15930:100:1;-1:-1:-1;;;;;15930:100:1;;;;;;16036:18;;;;;:6;:18;;;;;;:28;;:43;;;16105:10;16098:18;;;;;;;;:28;-1:-1:-1;;;16098:28:1;;-1:-1:-1;;;16098:28:1;-1:-1:-1;;;;;;16085:42:1;;;:12;:42;;;;;-1:-1:-1;;;16128:29:1;;;-1:-1:-1;;;16128:29:1;-1:-1:-1;;;;;;16085:73:1;;;;;;:82;;;;;-1:-1:-1;;16085:82:1;;;:::i;:::-;-1:-1:-1;;;;;;16201:10:1;16194:18;;;;;:6;:18;;;;;:31;;;16252:11;16264:18;;16194:31;;-1:-1:-1;16252:11:1;-1:-1:-1;;16264:22:1;;;16252:35;;;;;;;;;;;;;;;;16293:11;:25;;-1:-1:-1;;;;;16252:35:1;;;;-1:-1:-1;16252:35:1;;16305:12;;16293:25;;;;;;;;;;;;;;;;;;:38;;-1:-1:-1;;;;;;16293:38:1;-1:-1:-1;;;;;16293:38:1;;;;;;16337:18;;;;;:6;:18;;;;;;:31;;:46;;;16389:11;:20;;;;;-1:-1:-1;;16389:20:1;;;:::i;:::-;-1:-1:-1;;;;;;16429:10:1;16422:18;;;;;;:6;:18;;;;;;16415:25;;-1:-1:-1;;16415:25:1;;;;;;;;-1:-1:-1;;16415:25:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16415:25:1;;;16446:4;;:34;;;;;;;;;;;;;;:4;;;;;:22;;:34;;;;;16422:18;16446:34;;;;;16422:18;16446:4;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;16446:34:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16486:4:1;;:26;;;;;;-1:-1:-1;;;;;16501:10:1;16486:26;;;;;;;;:4;;;;;-1:-1:-1;16486:14:1;;-1:-1:-1;16486:26:1;;;;;-1:-1:-1;;16486:26:1;;;;;;;-1:-1:-1;16486:4:1;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;16486:26:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16523:24:1;;-1:-1:-1;;;;;16536:10:1;16523:24;;-1:-1:-1;16523:24:1;;-1:-1:-1;16523:24:1;;;15616:936;;;;:::o;1354:25:0:-;;;-1:-1:-1;;;;;1354:25:0;;:::o;4250:28:1:-;;;;;;;;;;;2182:113:2;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2262:20:2;;;;;;;:11;:20;;;;;:28;2182:113::o;2736:107::-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2801:29:2;2833:5;2801:29;;;:19;:29;;;;;:37;;-1:-1:-1;;2801:37:2;;;2736:107::o;15406:149:1:-;15457:20;15466:10;15457:8;:20::i;:::-;15449:29;;;;;;;;15492:4;;:57;;;;;;-1:-1:-1;;;;;15527:10:1;15492:57;;;;;;15516:9;15492:57;;;;;;;;:4;;;:17;;15516:9;15492:57;;;;;;;;;;;;;;;15516:9;15492:4;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;15492:57:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15492:57:1;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15492:57:1;15484:66;;;;;;;;15406:149::o;3757:119:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3833:28:0;3864:5;3833:28;;;:16;:28;;;;;:36;;-1:-1:-1;;3833:36:0;;;3757:119::o;18590:982:1:-;18649:10;-1:-1:-1;;;;;2359:21:0;;18676:17:1;2359:21:0;;;:14;:21;;;;;;18676:17:1;;;;;;;;2359:21:0;;2351:30;;;;;;;;-1:-1:-1;;;;;18696:15:1;;;;;;:4;:15;;;;;;;;:25;;;;18759;;-1:-1:-1;;;18759:25:1;;-1:-1:-1;;;18759:25:1;-1:-1:-1;;;;;;18748:37:1;;;:10;:37;;;;;-1:-1:-1;;;18786:26:1;;;-1:-1:-1;;;18786:26:1;-1:-1:-1;;;;;;18748:65:1;;;;;;;;;18814:72;;18696:25;;-1:-1:-1;18748:65:1;-1:-1:-1;;18814:76:1;;;18748:143;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18908:15:1;;;;;:4;:15;;;;;;:25;-1:-1:-1;;;18908:25:1;;-1:-1:-1;;;18908:25:1;-1:-1:-1;;;;;;18897:37:1;;;:10;:37;;;;;-1:-1:-1;;;18935:26:1;;;-1:-1:-1;;;18935:26:1;-1:-1:-1;;;;;;18897:65:1;;;;;;;;;;:79;;18748:143;;;;;-1:-1:-1;18748:143:1;;18897:65;18963:12;;18897:79;;;;;;;;;;;;;;;;;;:92;;-1:-1:-1;;;;;;18897:92:1;-1:-1:-1;;;;;18897:92:1;;;;;;18995:16;;;;;:4;:16;;;;;;:26;;:41;;;19053:15;;;;;;;;:25;-1:-1:-1;;;19053:25:1;;-1:-1:-1;;;19053:25:1;-1:-1:-1;;;;;;19042:37:1;;;:10;:37;;;;;-1:-1:-1;;;19080:26:1;;;-1:-1:-1;;;19080:26:1;-1:-1:-1;;;;;;19042:65:1;;;;;;:74;;;;;-1:-1:-1;;19042:74:1;;;:::i;:::-;-1:-1:-1;;;;;;19143:15:1;;;;;;:4;:15;;;;;:28;;;19198:9;19208:16;;19143:28;;-1:-1:-1;19198:9:1;-1:-1:-1;;19208:20:1;;;19198:31;;;;;;;;;;;;;;;;19235:9;:23;;-1:-1:-1;;;;;19198:31:1;;;;-1:-1:-1;19198:31:1;;19245:12;;19235:23;;;;;;;;;;;;;;;;;;:36;;-1:-1:-1;;;;;;19235:36:1;-1:-1:-1;;;;;19235:36:1;;;;;;19277:16;;;;;:4;:16;;;;;;:29;;:44;;;19327:9;:18;;;;;-1:-1:-1;;19327:18:1;;;:::i;:::-;-1:-1:-1;;;;;;19356:15:1;;;;;;:4;:15;;;;;:26;;;;;19355:27;19351:135;;;19390:4;;:31;;;;;;-1:-1:-1;;;;;19390:31:1;;;;;;;;;:4;;;;;:20;;:31;;;;;:4;;:31;;;;;;;:4;;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;19390:31:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19390:31:1;;;;19351:135;;;19438:4;;19475:10;;19438:48;;;;;;-1:-1:-1;;;;;19438:48:1;;;;;;;19475:10;;;19438:48;;;;;;:4;;;;;:25;;:48;;;;;:4;;:48;;;;;;;:4;;:48;;;5:2:-1;;;;30:1;27;20:12;5:2;19438:48:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19438:48:1;;;;19351:135;-1:-1:-1;;;;;19499:15:1;;;;;;;:4;:15;;;;;;;;19492:22;;-1:-1:-1;;19492:22:1;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19492:22:1;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19492:22:1;;;19525:42;;;;;;;19545:10;19525:42;;;;;;;;;;;;;;18590:982;;;;;;:::o;21605:143::-;-1:-1:-1;;;;;;21710:20:1;;;;;;:10;:20;;;;;;;;-1:-1:-1;;;;;;21710:33:1;;;;;;;;;;21703:40;;;;;;;;;;;;;;;;;21685:9;;21703:40;;;21710:33;21703:40;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21703:40:1;;;;;;;;;;;;;;;;;;;;;;;21605:143;;;;:::o;2522:103:2:-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2585:27:2;2615:5;2585:27;;;:17;:27;;;;;:35;;-1:-1:-1;;2585:35:2;;;2522:103::o;6559:4430:1:-;4065:6:0;;6889:12:1;;;;;;;;4065:6:0;;4064:7;4056:16;;;;;;1262:12:2;;:29;;;-1:-1:-1;;;;;1262:29:2;;-1:-1:-1;;;;;1262:29:2;;;;;;;;;;;:12;;;;;;;:22;;:29;;;;;;;;;;;;;;;-1:-1:-1;1262:12:2;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;1262:29:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1262:29:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1262:29:2;1254:38;;;;;;;;6767:3:1;;6745:10;-1:-1:-1;;;;;6745:26:1;;;6767:3;;6745:26;6737:35;;;;;;6904:17;:5;6919:1;6904:17;:14;:17;:::i;:::-;6889:32;-1:-1:-1;;;;6942:17:1;:5;6970:4;6942:17;:14;:17;:::i;:::-;-1:-1:-1;;;;;;6942:33:1;;:92;;7016:17;:5;7031:1;7016:17;:14;:17;:::i;:::-;-1:-1:-1;;;7010:24:1;;6942:92;;;6984:17;:5;6999:1;6984:17;:14;:17;:::i;:::-;-1:-1:-1;;;6978:24:1;;-1:-1:-1;;6978:29:1;6942:92;6927:107;-1:-1:-1;;;;7055:17:1;:5;7070:1;7055:17;:14;:17;:::i;:::-;-1:-1:-1;;;;;;7055:33:1;;:92;;7129:17;:5;7144:1;7129:17;:14;:17;:::i;:::-;-1:-1:-1;;;7123:24:1;;7055:92;;;7097:17;:5;7112:1;7097:17;:14;:17;:::i;:::-;-1:-1:-1;;;7091:24:1;;-1:-1:-1;;7091:29:1;7055:92;7040:107;-1:-1:-1;;;;;;;7157:21:1;;7166:12;7157:21;7153:3832;;;7297:11;:31;7309:18;:5;7324:2;7309:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;7297:31:1;;;;;;;;;;;;-1:-1:-1;7297:31:1;;7287:41;;;7279:50;;;;;;7384:13;7391:5;7384:6;:13::i;:::-;7383:14;7375:23;;;;;;7444:17;:37;7462:18;:5;7477:2;7462:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;7444:37:1;;;;;;;;;;;;-1:-1:-1;7444:37:1;;;;7436:46;;;;;;;;-1:-1:-1;;;;;7491:11:1;;;;;;:4;:11;;;;;:24;;-1:-1:-1;;7491:24:1;;;;;;;;;;;;;-1:-1:-1;;7523:24:1;;;;;;;;;;;;;;;;7579:18;;:5;;7594:2;;7579:14;:18;:::i;:::-;-1:-1:-1;;;;;7555:11:1;;;;;;:4;:11;;;;;:42;;-1:-1:-1;;;7555:42:1;;;-1:-1:-1;;;7555:42:1;-1:-1:-1;;7555:42:1;;;;;;;;;7630:19;:5;7646:2;7630:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;7605:11:1;;;;;;:4;:11;;;;;:44;;-1:-1:-1;;;7605:44:1;;;-1:-1:-1;;;7605:44:1;-1:-1:-1;;7605:44:1;;;;;;;;;7675:19;:5;7691:2;7675:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;7657:11:1;;;;;;:4;:11;;;;;:15;;:37;;-1:-1:-1;;;;;;7657:37:1;-1:-1:-1;;;7657:37:1;;;;;;;;;7721:19;:5;7737:2;7721:15;:19::i;:::-;-1:-1:-1;;;;;7702:11:1;;;;;;:4;:11;;;;;:16;;:38;;;;-1:-1:-1;;;7702:38:1;;;;;;;;;;;;;7774:19;:5;7790:2;7774:15;:19::i;:::-;-1:-1:-1;;;;;7748:11:1;;;;;;:4;:11;;;;;:23;;:45;7823:19;:5;7839:2;7823:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;7801:11:1;;;;;;:4;:11;;;;;:19;;;:41;;-1:-1:-1;;;;;;7801:41:1;-1:-1:-1;;;7801:41:1;;;;;;;;;;7877:9;27:10:-1;;-1:-1;23:18;;;45:23;;;7877:21:1;;;;;-1:-1:-1;;;;;;7877:21:1;;;;;;;7850:24;;;;:52;;;;7934:10;;7945:18;:5;7960:2;7945:14;:18::i;:::-;-1:-1:-1;;;;;;7934:30:1;;;;;;;;;;;;-1:-1:-1;7934:30:1;;;;7965:19;:5;7981:2;7965:19;:15;:19;:::i;:::-;7934:51;;;;;;;;;;;;;;;;;7991:5;7934:63;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;7934:63:1;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7934:63:1;;;;;-1:-1:-1;;;;;7934:63:1;;;;;;:67;7910:4;:11;7915:5;-1:-1:-1;;;;;7910:11:1;-1:-1:-1;;;;;7910:11:1;;;;;;;;;;;;:21;;:91;;;;8014:19;8027:5;8014:19;;;;-1:-1:-1;;;;;8014:19:1;-1:-1:-1;;;;;8014:19:1;;;;;;;;;;;;;;;8041:4;;:31;;;;;;-1:-1:-1;;;;;8041:31:1;;;;;;;;;;;;;;;:4;;;;;:17;;:31;;;;;:4;;:31;;;;;;;:4;;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;8041:31:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;8080:3:1;;8101:4;;8080:35;;;;;;-1:-1:-1;;;;;8101:4:1;;;8080:35;;;;;;;;;;;;:3;;;;;-1:-1:-1;8080:12:1;;-1:-1:-1;8080:35:1;;;;;;;;;;;;;;:3;;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;8080:35:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8080:35:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7153:3832:1;;-1:-1:-1;7153:3832:1;;-1:-1:-1;;;;;;8132:21:1;;8141:12;8132:21;8128:2857;;;8274:13;:33;8288:18;:5;8274:13;8288:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;8274:33:1;;;;;;;;;;;;-1:-1:-1;8274:33:1;;8264:43;;;8256:52;;;;;;8366:15;8375:5;8366:8;:15::i;:::-;8365:16;8357:25;;;;;;8428:19;:39;8448:18;:5;8463:2;8448:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;8428:39:1;;;;;;;;;;;;-1:-1:-1;8428:39:1;;;;8420:48;;;;;;;;-1:-1:-1;;;;;8477:13:1;;;;;;:6;:13;;;;;:26;;-1:-1:-1;;8477:26:1;;;;;;;;;;;;;-1:-1:-1;;8511:26:1;;;;;;;;;;;;;;;;8571:18;;:5;;8586:2;;8571:14;:18;:::i;:::-;-1:-1:-1;;;;;8545:13:1;;;;;;:6;:13;;;;;:44;;-1:-1:-1;;;8545:44:1;;;-1:-1:-1;;;8545:44:1;-1:-1:-1;;8545:44:1;;;;;;;;;8624:19;:5;8640:2;8624:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;8597:13:1;;;;;;:6;:13;;;;;:46;;-1:-1:-1;;;8597:46:1;;;-1:-1:-1;;;8597:46:1;-1:-1:-1;;8597:46:1;;;;;;;;;8681:18;:5;8696:2;8681:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;8651:13:1;;;;;;:6;:13;;;;;:22;;:49;;-1:-1:-1;;;8676:24:1;;;8651:49;;;;;-1:-1:-1;;;8651:49:1;-1:-1:-1;;8651:49:1;;;;;;;;;8740:18;:5;8755:2;8740:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;8708:13:1;;;;;;:6;:13;;;;;:51;;-1:-1:-1;;;8735:24:1;;;8708:51;;;;;-1:-1:-1;;;8708:51:1;-1:-1:-1;;8708:51:1;;;;;;;;;8793:19;:5;8809:2;8793:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;8767:13:1;;;;;;:6;:13;;;;;:23;;:45;;-1:-1:-1;;;;;;8767:45:1;-1:-1:-1;;;8767:45:1;;;;;;;;;8848:18;:5;8863:2;8848:14;:18::i;:::-;-1:-1:-1;;;;;8820:13:1;;;;;;:6;:13;;;;;:19;;;;:47;;-1:-1:-1;;;8842:25:1;;;8820:47;;;;;;;-1:-1:-1;;8820:47:1;;;;;;;;;-1:-1:-1;;;8897:18:1;:5;8912:2;8897:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;8897:34:1;;:49;;8941:5;8897:49;;;8934:4;8897:49;-1:-1:-1;;;;;8875:13:1;;;;;;:6;:13;;;;;:19;;:71;;;;;;;-1:-1:-1;;8875:71:1;;;;;;;;;8985:18;:5;9000:2;8985:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;8954:13:1;;;;;;:6;:13;;;;;:22;;;;:50;;-1:-1:-1;;;8979:25:1;;;8954:50;;;;;;-1:-1:-1;;8954:50:1;;;;;;;;;;9041:11;27:10:-1;;23:18;;;45:23;;;9041::1;;;;;-1:-1:-1;;;;;;9041:23:1;;;;;9012:13;;;:26;;:56;;;;9102:12;;9115:18;:5;9130:2;9115:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;9102:32:1;;;;;;;;;;;;-1:-1:-1;9102:32:1;;;;9135:19;:5;9151:2;9135:19;:15;:19;:::i;:::-;9102:53;;;;;;;;;;;;;;;;;9161:5;9102:65;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;9102:65:1;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9102:65:1;;;;;-1:-1:-1;;;;;9102:65:1;;;;;;:69;9076:6;:13;9083:5;-1:-1:-1;;;;;9076:13:1;-1:-1:-1;;;;;9076:13:1;;;;;;;;;;;;:23;;:95;;;;9202:4;9179:6;:13;9186:5;-1:-1:-1;;;;;9179:13:1;-1:-1:-1;;;;;9179:13:1;;;;;;;;;;;;:20;;;:27;;;;;;;;;;;;;;;;;;9234:5;-1:-1:-1;;;;;9219:21:1;;;;;;;;;;;9248:4;;:34;;;;;;-1:-1:-1;;;;;9248:34:1;;;;;;;;;;;;;;;:4;;;;;:19;;:34;;;;;:4;;:34;;;;;;;:4;;:34;;;5:2:-1;;;;30:1;27;20:12;8128:2857:1;-1:-1:-1;;;;;;9342:21:1;;9351:12;9342:21;9338:1647;;;9812:10;;-1:-1:-1;;;;;9803:19:1;;;9812:10;;9803:19;9795:28;;;;;;9895:11;:31;9907:18;:5;9922:2;9907:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;9895:31:1;;;;;;;;;;;;-1:-1:-1;9895:31:1;;9885:41;;;9877:50;;;;;;9998:37;10013:20;:5;10029:3;10013:20;:15;:20;:::i;:::-;9998:6;:37::i;:::-;9997:38;9989:47;;;;;;10082:17;:37;10100:18;:5;10115:2;10100:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;10082:37:1;;;;;;;;;;;;-1:-1:-1;10082:37:1;;;;10074:46;;;;;;;;10153:20;:5;10169:3;10153:20;:15;:20;:::i;:::-;-1:-1:-1;;;;;10181:20:1;;;;;;:4;:20;;;;;:33;;-1:-1:-1;;10181:33:1;;;;;;;;;;;;;-1:-1:-1;;10222:33:1;;;;;;;;;;;;;;;;10181:20;;-1:-1:-1;10296:18:1;;:5;;10311:2;;10296:14;:18;:::i;:::-;-1:-1:-1;;;;;10263:20:1;;;;;;:4;:20;;;;;:51;;-1:-1:-1;;;10263:51:1;;;-1:-1:-1;;;10263:51:1;-1:-1:-1;;10263:51:1;;;;;;;;;10356:19;:5;10372:2;10356:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;10322:20:1;;;;;;:4;:20;;;;;:53;;-1:-1:-1;;;10322:53:1;;;-1:-1:-1;;;10322:53:1;-1:-1:-1;;10322:53:1;;;;;;;;;10410:19;:5;10426:2;10410:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;10383:20:1;;;;;;:4;:20;;;;;:24;;:46;;-1:-1:-1;;;;;;10383:46:1;-1:-1:-1;;;10383:46:1;;;;;;;;;10465:19;:5;10481:2;10465:15;:19::i;:::-;-1:-1:-1;;;;;10437:20:1;;;;;;:4;:20;;;;;:25;;:47;;;;-1:-1:-1;;;10437:47:1;;;;;;;;;;;;;10527:19;:5;10543:2;10527:15;:19::i;:::-;-1:-1:-1;;;;;10492:20:1;;;;;;:4;:20;;;;;:32;;:54;10585:19;:5;10601:2;10585:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;10554:20:1;;;;;;:4;:20;;;;;:28;;;:50;;-1:-1:-1;;;;;;10554:50:1;-1:-1:-1;;;10554:50:1;;;;;;;;;;10648:9;27:10:-1;;-1:-1;23:18;;;45:23;;;10648:30:1;;;;;-1:-1:-1;;;;;;10648:30:1;;;;;;;10612:33;;;;:70;;;;10723:10;;10734:18;:5;10749:2;10734:14;:18::i;:::-;-1:-1:-1;;;;;;10723:30:1;;;;;;;;;;;;-1:-1:-1;10723:30:1;;;;10754:19;:5;10770:2;10754:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;;10723:51:1;;;;;;;;;;;;;;;-1:-1:-1;10723:51:1;;;27:10:-1;;39:1;23:18;;;45:23;;10723:72:1;;;;;;;;;;-1:-1:-1;;;;;;10723:72:1;-1:-1:-1;;;;;10723:72:1;;;;;;;;10690:20;;;:4;:20;;;;;;10723:76;;;;;10690:30;;;:109;10807:31;;;;:38;;-1:-1:-1;;10807:38:1;;;;;;;10858:28;;;;;;;;;;;;;;;;10894:4;;:41;;;;;;-1:-1:-1;;;;;10894:41:1;;;;;;;;;;;;;;;:4;;;;;:17;;:41;;;;;:4;;:41;;;;;;;:4;;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;10894:41:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;10943:3:1;;10964:4;;10943:35;;;;;;-1:-1:-1;;;;;10964:4:1;;;10943:35;;;;;;;;;;;;:3;;;;;-1:-1:-1;10943:12:1;;-1:-1:-1;10943:35:1;;;;;;;;;;;;;;:3;;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;10943:35:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10943:35:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;9338:1647:1;4082:1:0;6559:4430:1;;;;;;;:::o;1603:49:0:-;;;;;;;;;;;;;;;:::o;839:50:2:-;;;;;;;;;;;;;;;:::o;13314:105:1:-;-1:-1:-1;;;;;13396:18:1;13374:7;13396:18;;;:13;:18;;;;;;;13314:105::o;3595:156:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3676:24:0;;;;3668:33;;;;;;-1:-1:-1;;;;;3709:28:0;;;;;:16;:28;;;;;:35;;-1:-1:-1;;3709:35:0;3740:4;3709:35;;;3595:156::o;286:24:2:-;;;;;;;;;:::o;21793:81:1:-;21837:9;21860;21853:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21853:16:1;;;;;;;;;;;;;;;;;;;;;;21793:81;:::o;13568:1557::-;4065:6:0;;14132:35:1;;4065:6:0;;4064:7;4056:16;;;;;;13662:10:1;-1:-1:-1;;;;;12500:15:1;;12481:16;12500:15;;;:6;:15;;;;;:25;13674:7;;-1:-1:-1;;;12500:25:1;;;-1:-1:-1;;;12500:25:1;;12481:16;;;12604:54;12622:16;13662:10;12622:7;:16::i;:::-;:24;;12645:1;12622:24;;;12641:1;12622:24;12604:54;;12648:9;12604:17;:54::i;:::-;12580:78;;12767:60;12780:11;;;;;;;;;-1:-1:-1;;;;;12780:11:1;-1:-1:-1;;;;;12780:29:1;;:31;;;;;-1:-1:-1;;;12780:31:1;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12780:31:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12780:31:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12780:31:1;12813:13;12767:12;:60::i;:::-;12943:4;;:29;;;;;;-1:-1:-1;;;;;12943:29:1;;;;;;;;;12743:84;;-1:-1:-1;12943:4:1;;;:20;;:29;;;;;;;;;;;;;;;:4;;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;12943:29:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12943:29:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12943:29:1;;-1:-1:-1;13005:42:1;12943:29;13032:14;13005:12;:42::i;:::-;12979:68;-1:-1:-1;13122:32:1;;;;13114:41;;;;;;13712:20;13721:10;13712:8;:20::i;:::-;13704:29;;;;;;;;13754:10;-1:-1:-1;;;;;13747:17:1;:3;-1:-1:-1;;;;;13747:17:1;;;13739:26;;;;;;;;13893:4;;:42;;;;;;-1:-1:-1;;;;;13910:10:1;13893:42;;;;;;;;;;;;;;;;;;;;;:4;;;;;:16;;:42;;;;;-1:-1:-1;;13893:42:1;;;;;;;-1:-1:-1;13893:4:1;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;13893:42:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;14095:12:1;;:27;;;-1:-1:-1;;;;;14095:27:1;;-1:-1:-1;;;;;14095:27:1;;;;;;;;;:12;;;;;;;;-1:-1:-1;14095:22:1;;-1:-1:-1;14095:27:1;;;;;;;;;;;;;;;-1:-1:-1;14095:12:1;:27;;;5:2:-1;;;;30:1;27;20:12;5:2;14095:27:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14095:27:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14095:27:1;14091:989;;;-1:-1:-1;;;;;14191:10:1;14170:32;;;;;;:20;:32;;;;;;;;:37;;;;;;;;;;;-1:-1:-1;14219:35:1;;14215:225;;;-1:-1:-1;;;;;14359:10:1;14338:32;;;;;;:20;:32;;;;;;;;:37;;;;;;;;;14378:5;14338:45;;;;14378:5;-1:-1:-1;14215:225:1;-1:-1:-1;;;;;14583:10:1;14569:25;;;;;:13;:25;;;;;;14556:102;;14652:5;14596:53;14609:7;14618:30;14596:12;:53::i;:::-;:61;;;;;;;;14556:12;:102::i;:::-;-1:-1:-1;;;;;14542:10:1;14528:25;;;;;:13;:25;;;;;:130;14897:3;14846:48;14859:30;14891:2;14846:12;:48::i;:::-;:54;;;;;;;;14806:20;:32;14827:10;-1:-1:-1;;;;;14806:32:1;-1:-1:-1;;;;;14806:32:1;;;;;;;;;;;;:37;14839:3;-1:-1:-1;;;;;14806:37:1;-1:-1:-1;;;;;14806:37:1;;;;;;;;;;;;:94;;;;14926:37;14939:9;:14;14949:3;-1:-1:-1;;;;;14939:14:1;-1:-1:-1;;;;;14939:14:1;;;;;;;;;;;;;14955:7;14926:12;:37::i;:::-;-1:-1:-1;;;;;14909:14:1;;;;;;;:9;:14;;;;;;;;:54;;;;15020:10;15009:22;;;;;:10;:22;;;;;14996:45;;15033:7;14996:12;:45::i;:::-;-1:-1:-1;;;;;14982:10:1;14971:22;;;;;:10;:22;;;;;;;;:70;;;;15049:7;:19;;;:24;;15072:1;15049:24;;;14091:989;15107:3;-1:-1:-1;;;;;15090:30:1;15095:10;-1:-1:-1;;;;;15090:30:1;;15112:7;15090:30;;;;;;;;;;;;;;;;;;4082:1:0;;;;;;;13568:1557:1;;;:::o;2026:153:2:-;1954:10:0;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;2107:4:2;;;;;;;2106:5;2098:14;;;;;;2118:12;:39;;-1:-1:-1;;;;;2118:39:2;;;-1:-1:-1;;;;;;2118:39:2;;;;;;;;;2163:4;:11;;-1:-1:-1;;2163:11:2;;;;;2026:153::o;16616:993:1:-;16679:10;-1:-1:-1;;;;;2460:23:0;;16740:17:1;2460:23:0;;;:16;:23;;;;;;16740:17:1;;;;;;;;2460:23:0;;2452:32;;;;;;;;16714:19:1;16723:9;16714:8;:19::i;:::-;16706:28;;;;;;;;-1:-1:-1;;;;;16760:17:1;;;;;;:6;:17;;;;;;;;:27;;;;16827;;-1:-1:-1;;;16827:27:1;;-1:-1:-1;;;16827:27:1;-1:-1:-1;;;;;;16814:41:1;;;:12;:41;;;;;-1:-1:-1;;;16856:28:1;;;-1:-1:-1;;;16856:28:1;-1:-1:-1;;;;;;16814:71:1;;;;;;;;;16886:78;;16760:27;;-1:-1:-1;16814:71:1;-1:-1:-1;;16886:82:1;;;16814:155;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16988:17:1;;;;;:6;:17;;;;;;:27;-1:-1:-1;;;16988:27:1;;-1:-1:-1;;;16988:27:1;-1:-1:-1;;;;;;16975:41:1;;;:12;:41;;;;;-1:-1:-1;;;17017:28:1;;;-1:-1:-1;;;17017:28:1;-1:-1:-1;;;;;;16975:71:1;;;;;;;;;;:85;;16814:155;;;;;-1:-1:-1;16814:155:1;;16975:71;17047:12;;16975:85;;;;;;;;;;;;;;;;;;:98;;-1:-1:-1;;;;;;16975:98:1;-1:-1:-1;;;;;16975:98:1;;;;;;17079:18;;;;;:6;:18;;;;;;:28;;:43;;;17141:17;;;;;;;;:27;-1:-1:-1;;;17141:27:1;;-1:-1:-1;;;17141:27:1;-1:-1:-1;;;;;;17128:41:1;;;:12;:41;;;;;-1:-1:-1;;;17170:28:1;;;-1:-1:-1;;;17170:28:1;-1:-1:-1;;;;;;17128:71:1;;;;;;:80;;;;;-1:-1:-1;;17128:80:1;;;:::i;:::-;-1:-1:-1;;;;;;17235:17:1;;;;;;:6;:17;;;;;:30;;;17292:11;17304:18;;17235:30;;-1:-1:-1;17292:11:1;-1:-1:-1;;17304:22:1;;;17292:35;;;;;;;;;;;;;;;;17333:11;:25;;-1:-1:-1;;;;;17292:35:1;;;;-1:-1:-1;17292:35:1;;17345:12;;17333:25;;;;;;;;;;;;;;;;;;:38;;-1:-1:-1;;;;;;17333:38:1;-1:-1:-1;;;;;17333:38:1;;;;;;17377:18;;;;;:6;:18;;;;;;:31;;:46;;;17429:11;:20;;;;;-1:-1:-1;;17429:20:1;;;:::i;:::-;-1:-1:-1;;;;;;17462:17:1;;;;;;;:6;:17;;;;;;17455:24;;-1:-1:-1;;17455:24:1;;;;;;;;-1:-1:-1;;17455:24:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17455:24:1;;;17485:4;;:33;;;;;;;;;;;;;;:4;;;;;:22;;:33;;;;;17462:17;17485:33;;;;;17462:17;17485:4;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;17485:33:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;17524:4:1;;:25;;;;;;-1:-1:-1;;;;;17524:25:1;;;;;;;;;:4;;;;;-1:-1:-1;17524:14:1;;-1:-1:-1;17524:25:1;;;;;:4;;:25;;;;;;;:4;;:25;;;5:2:-1;;;;30:1;27;20:12;5:2;17524:25:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;17560:44:1;;;-1:-1:-1;;;;;17560:44:1;;;;;;;17582:10;17560:44;;;;;-1:-1:-1;17560:44:1;;-1:-1:-1;17560:44:1;;;;;;;16616:993;;;;;;:::o;2298:117:2:-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2380:22:2;;;;;;;:13;:22;;;;;:30;2298:117::o;1169:44::-;;;;;;;;;;;;;:::o;19642:749:1:-;-1:-1:-1;;;;;19965:15:1;;;19704:9;19965:15;;;:6;:15;;;;;;;;19992:13;;;20163:19;;;;20017:13;20261:16;;;;20357:4;;:29;;;;;;;;;;;;;;19992:13;;;;;20017;;;;;;;-1:-1:-1;;;;;;20048:19:1;;;;-1:-1:-1;;;;;;20086:20:1;;;;;-1:-1:-1;;;20125:20:1;;;;;;20163:19;;;;20199:18;;;;;;20231:15;;;;;;19704:9;;20261:16;;;;;20291:15;;;;;;;20323:18;;;;;;;;19965:15;;20357:4;;;;:20;;:29;;;;;19965:15;;20357:29;;;;;;19704:9;20357:4;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;20357:29:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20357:29:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20357:29:1;19642:749;;;;-1:-1:-1;19642:749:1;;;;;;-1:-1:-1;19642:749:1;;;;;;;;;;-1:-1:-1;19642:749:1:o;258:24:2:-;;;;;;;;;:::o;22104:147:1:-;-1:-1:-1;;;;;;22211:22:1;;;;;;:12;:22;;;;;;;;-1:-1:-1;;;;;;22211:35:1;;;;;;;;;;22204:42;;;;;;;;;;;;;;;;;22186:9;;22204:42;;;22211:35;22204:42;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22204:42:1;;;;;;;;;;;;;;;;;;;;;;22104:147;;;;:::o;22416:122::-;-1:-1:-1;;;;;22492:15:1;;22472:4;22492:15;;;:6;:15;;;;;:25;-1:-1:-1;;;22492:25:1;;-1:-1:-1;;;22492:25:1;-1:-1:-1;;;;;;22492:40:1;;;22416:122;;;:::o;1839:153:2:-;1954:10:0;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;1920:4:2;;;;;;;1919:5;1911:14;;;;;;1931:12;:39;;-1:-1:-1;;;;;;;1931:39:2;;;;;-1:-1:-1;;1931:39:2;;;;1976:11;;;;1931:39;1976:11;;;1839:153::o;13171:139:1:-;-1:-1:-1;;;;;13273:27:1;;;13251:7;13273:27;;;:20;:27;;;;;;;;:32;;;;;;;;;;;;;13171:139::o;13593:281:7:-;13662:6;13728:17;13706:6;13715:1;13706:10;13688:6;:13;:29;;13680:38;;;;;;;;-1:-1:-1;;13799:30:7;;;13815:4;13799:30;13793:37;;13593:281;;;;;;:::o;13307:280::-;13376:6;13442:17;13420:6;13429:1;13420:10;13402:6;:13;:29;;13394:38;;;;;;;13020:281;13089:6;13155:17;13133:6;13142:1;13133:10;13115:6;:13;:29;;13107:38;;;;;;;12726:288;12796:7;12864:19;12841:6;12850:2;12841:11;12823:6;:13;:30;;12815:39;;;;;;;12432:288;12502:7;12570:19;12547:6;12556:2;12547:11;12529:6;:13;:30;;12521:39;;;;;;;11822:322;11892:7;11960:19;11937:6;11946:2;11937:11;11919:6;:13;:30;;11911:39;;;;;;;;-1:-1:-1;;12038:30:7;12054:4;12038:30;12032:37;12071:27;12028:71;;;11822:322::o;204:173:6:-;262:7;;281:6;;277:35;;;304:1;297:8;;;;277:35;-1:-1:-1;329:5:6;;;333:1;329;:5;347;;;;;;;;:10;340:18;;;;371:1;204:173;-1:-1:-1;;;204:173:6:o;1009:129::-;1067:7;1094:5;;;1112:6;;;;1105:14;;;1272:21803:1;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;", - "source": "pragma solidity ^0.4.21;\n\nimport './DetherSetup.sol';\nimport './dth/tokenfoundry/ERC223ReceivingContract.sol';\nimport './zepellin/SafeMath.sol';\nimport './dth/tokenfoundry/ERC223Basic.sol';\nimport './DetherAccessControl.sol';\nimport 'bytes/BytesLib.sol';\n\ncontract ExchangeRateOracle {\n function getWeiPriceOneUsd() external view returns(uint256);\n}\n\n// only interface to save gas\ncontract DetherBank {\n function withdrawDthTeller(address _receiver) external;\n function withdrawDthShop(address _receiver) external;\n function withdrawDthShopAdmin(address _from, address _receiver) external;\n function addTokenShop(address _from, uint _value) external;\n function addTokenTeller(address _from, uint _value) external;\n function addEthTeller(address _from, uint _value) external payable returns (bool);\n function withdrawEth(address _from, address _to, uint _amount) external;\n function refundEth(address _from) external;\n function getDthTeller(address _user) public view returns (uint);\n function getDthShop(address _user) public view returns (uint);\n function getEthBalTeller(address _user) public view returns (uint);\n function getWeiSoldToday(address _user) public view returns (uint256 weiSoldToday);\n function transferOwnership(address newOwner) public;\n}\n\ncontract DetherCore is DetherSetup, ERC223ReceivingContract, SafeMath {\n using BytesLib for bytes;\n\n /**\n * Event\n */\n // when a Teller is registered\n event RegisterTeller(address indexed tellerAddress);\n // when a teller is deleted\n event DeleteTeller(address indexed tellerAddress);\n // when teller update\n event UpdateTeller(address indexed tellerAddress);\n // when a teller send to a buyer\n event Sent(address indexed _from, address indexed _to, uint amount);\n // when a shop register\n event RegisterShop(address shopAddress);\n // when a shop delete\n event DeleteShop(address shopAddress);\n // when a moderator delete a shop\n event DeleteShopModerator(address indexed moderator, address shopAddress);\n // when a moderator delete a teller\n event DeleteTellerModerator(address indexed moderator, address tellerAddress);\n\n /**\n * Modifier\n */\n // if teller has staked enough dth to\n modifier tellerHasStaked(uint amount) {\n require(bank.getDthTeller(msg.sender) >= amount);\n _;\n }\n // if shop has staked enough dth to\n modifier shopHasStaked(uint amount) {\n require(bank.getDthShop(msg.sender) >= amount);\n _;\n }\n\n /*\n * External contract\n */\n // DTH contract\n ERC223Basic public dth;\n // bank contract where are stored ETH and DTH\n DetherBank public bank;\n\n ExchangeRateOracle public priceOracle;\n\n // teller struct\n struct Teller {\n int32 lat; // Latitude\n int32 lng; // Longitude\n bytes2 countryId; // countryID (in hexa), ISO ALPHA 2 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\n bytes16 postalCode; // postalCode if present, in Hexa https://en.wikipedia.org/wiki/List_of_postal_codes\n\n int8 currencyId; // 1 - 100 , cf README\n bytes16 messenger; // telegrame nickname\n int8 avatarId; // 1 - 100 , regarding the front-end app you use\n int16 rates; // margin of tellers , -999 - +9999 , corresponding to -99,9% x 10 , 999,9% x 10\n bool buyer; // appear as a buyer as well on the map\n int16 buyRates; // margin of tellers of\n\n uint zoneIndex; // index of the zone mapping\n uint generalIndex; // index of general mapping\n bool online; // switch online/offline, if the tellers want to be inactive without deleting his point\n }\n\n mapping(address => mapping(address => uint)) internal pairSellsLoyaltyPerc;\n // from to percentage of loyalty points from gets\n\n /*\n * Reputation field V0.1\n * Reputation is based on volume sell, volume buy, and number of transaction\n */\n mapping(address => uint) volumeBuy;\n mapping(address => uint) volumeSell;\n mapping(address => uint) nbTrade;\n mapping(address => uint256) loyaltyPoints;\n\n // general mapping of teller\n mapping(address => Teller) teller;\n // mappoing of teller by COUNTRYCODE => POSTALCODE\n mapping(bytes2 => mapping(bytes16 => address[])) tellerInZone;\n // teller array currently registered\n address[] public tellerIndex; // unordered list of teller register on it\n bool isStarted = false;\n // shop struct\n struct Shop {\n int32 lat; // latitude\n int32 lng; // longitude\n bytes2 countryId; // countryID (in hexa char), ISO ALPHA 2 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\n bytes16 postalCode; // postalCode if present (in hexa char), in Hexa https://en.wikipedia.org/wiki/List_of_postal_codes\n bytes16 cat; // Category of the shop (in hex char), will be used later for search engine and auction by zone\n bytes16 name; // name of the shop (in hex char)\n bytes32 description; // description of the shop\n bytes16 opening; // opening hours, cf README for the format\n\n uint zoneIndex; // index of the zone mapping\n uint generalIndex; // index of general mapping\n bool detherShop; // bool if shop is registered by dether as business partnership (still required DTH)\n }\n\n // general mapping of shop\n mapping(address => Shop) shop;\n // mapping of teller by COUNTRYCODE => POSTALCODE\n mapping(bytes2 => mapping(bytes16 => address[])) shopInZone;\n // shop array currently registered\n address[] public shopIndex; // unordered list of shop register on it\n\n /*\n * Instanciation\n */\n function DetherCore() {\n ceoAddress = msg.sender;\n }\n function initContract (address _dth, address _bank) external onlyCEO {\n require(!isStarted);\n dth = ERC223Basic(_dth);\n bank = DetherBank(_bank);\n isStarted = true;\n }\n\n function setPriceOracle (address _priceOracle) external onlyCFO {\n priceOracle = ExchangeRateOracle(_priceOracle);\n }\n\n /**\n * Core fonction\n */\n\n /**\n * @dev Standard ERC223 function that will handle incoming token transfers.\n * This is the main function to register SHOP or TELLER, its calling when you\n * send token to the DTH contract and by passing data as bytes on the third\n * parameter.\n * Its not supposed to be use on its own but will only handle incoming DTH\n * transaction.\n * The _data will wait for\n * [1st byte] 1 (0x31) for shop OR 2 (0x32) for teller\n * FOR SHOP AND TELLER:\n * 2sd to 5th bytes lat\n * 6th to 9th bytes lng\n * ...\n * Modifier tier1: Check if address is whitelisted with the sms verification\n */\n function tokenFallback(address _from, uint _value, bytes _data) whenNotPaused tier1(_from ) {\n // require than the token fallback is triggered from the dth token contract\n require(msg.sender == address(dth));\n // check first byte to know if its shop or teller registration\n // 1 / 0x31 = shop // 2 / 0x32 = teller\n bytes1 _func = _data.toBytes1(0);\n int32 posLat = _data.toBytes1(1) == bytes1(0x01) ? int32(_data.toBytes4(2)) * -1 : int32(_data.toBytes4(2));\n int32 posLng = _data.toBytes1(6) == bytes1(0x01) ? int32(_data.toBytes4(7)) * -1 : int32(_data.toBytes4(7));\n if (_func == bytes1(0x31)) { // shop registration // GAS USED 311000\n // require staked greater than licence price\n require(_value >= licenceShop[_data.toBytes2(11)]);\n // require its not already shop\n require(!isShop(_from));\n // require zone is open\n require(openedCountryShop[_data.toBytes2(11)]);\n\n shop[_from].lat = posLat;\n shop[_from].lng = posLng;\n shop[_from].countryId = _data.toBytes2(11);\n shop[_from].postalCode = _data.toBytes16(13);\n shop[_from].cat = _data.toBytes16(29);\n shop[_from].name = _data.toBytes16(45);\n shop[_from].description = _data.toBytes32(61);\n shop[_from].opening = _data.toBytes16(93);\n shop[_from].generalIndex = shopIndex.push(_from) - 1;\n shop[_from].zoneIndex = shopInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(_from) - 1;\n emit RegisterShop(_from);\n bank.addTokenShop(_from,_value);\n dth.transfer(address(bank), _value);\n } else if (_func == bytes1(0x32)) { // teller registration -- GAS USED 310099\n // require staked greater than licence price\n require(_value >= licenceTeller[_data.toBytes2(11)]);\n // require is not already a teller\n require(!isTeller(_from));\n // require zone is open\n require(openedCountryTeller[_data.toBytes2(11)]);\n\n teller[_from].lat = posLat;\n teller[_from].lng = posLng;\n teller[_from].countryId = _data.toBytes2(11);\n teller[_from].postalCode = _data.toBytes16(13);\n teller[_from].avatarId = int8(_data.toBytes1(29));\n teller[_from].currencyId = int8(_data.toBytes1(30));\n teller[_from].messenger = _data.toBytes16(31);\n teller[_from].rates = int16(_data.toBytes2(47));\n teller[_from].buyer = _data.toBytes1(49) == bytes1(0x01) ? true : false;\n teller[_from].buyRates = int16(_data.toBytes2(50));\n teller[_from].generalIndex = tellerIndex.push(_from) - 1;\n teller[_from].zoneIndex = tellerInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(_from) - 1;\n teller[_from].online = true;\n emit RegisterTeller(_from);\n bank.addTokenTeller(_from, _value);\n dth.transfer(address(bank), _value);\n } else if (_func == bytes1(0x33)) { // shop bulk registration\n // We need to have the possibility to register in bulk some shop\n // For big retailer company willing to be listed on dether, we need to have a way to add\n // all their shop from one address\n // This functionnality will become available for anyone willing to list multiple shop\n // in the futures contract\n\n // Only the CSO should be able to register shop in bulk\n require(_from == csoAddress);\n // Each shop still need his own staking\n require(_value >= licenceShop[_data.toBytes2(11)]);\n // require the addresses not already registered\n require(!isShop(address(_data.toAddress(109))));\n // require zone is open\n require(openedCountryShop[_data.toBytes2(11)]);\n address newShopAddress = _data.toAddress(109);\n shop[newShopAddress].lat = posLat;\n shop[newShopAddress].lng = posLng;\n shop[newShopAddress].countryId = _data.toBytes2(11);\n shop[newShopAddress].postalCode = _data.toBytes16(13);\n shop[newShopAddress].cat = _data.toBytes16(29);\n shop[newShopAddress].name = _data.toBytes16(45);\n shop[newShopAddress].description = _data.toBytes32(61);\n shop[newShopAddress].opening = _data.toBytes16(93);\n shop[newShopAddress].generalIndex = shopIndex.push(newShopAddress) - 1;\n shop[newShopAddress].zoneIndex = shopInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(newShopAddress) - 1;\n shop[newShopAddress].detherShop = true;\n emit RegisterShop(newShopAddress);\n bank.addTokenShop(newShopAddress, _value);\n dth.transfer(address(bank), _value);\n }\n }\n\n /**\n * a teller can update his profile\n * If a teller want to change his location, he would need to delete and recreate\n * a new point\n */\n function updateTeller(\n int8 currencyId,\n bytes16 messenger,\n int8 avatarId,\n int16 rates,\n bool online\n ) public payable {\n require(isTeller(msg.sender));\n if (currencyId != teller[msg.sender].currencyId)\n teller[msg.sender].currencyId = currencyId;\n if (teller[msg.sender].messenger != messenger)\n teller[msg.sender].messenger = messenger;\n if (teller[msg.sender].avatarId != avatarId)\n teller[msg.sender].avatarId = avatarId;\n if (teller[msg.sender].rates != rates)\n teller[msg.sender].rates = rates;\n if (teller[msg.sender].online != online)\n teller[msg.sender].online = online;\n if (msg.value > 0) {\n bank.addEthTeller.value(msg.value)(msg.sender, msg.value);\n }\n emit UpdateTeller(msg.sender);\n }\n\n // mapping for limiting the sell amount\n // tier countryId usdDailyLimit\n mapping(uint => mapping (bytes2 => uint)) limitTier;\n\n function setSellDailyLimit(uint _tier, bytes2 _countryId, uint256 _limitUsd) public onlyCFO {\n limitTier[_tier][_countryId] = _limitUsd;\n }\n function getSellDailyLimit(uint _tier, bytes2 _countryId) public view returns(uint256 limitUsd) {\n limitUsd = limitTier[_tier][_countryId];\n }\n\n modifier doesNotExceedDailySellLimit(address _teller, uint256 _weiSellAmount) {\n // limits are set per country\n bytes2 countryId = teller[_teller].countryId;\n\n // user is always tier1, and could be tier2\n uint256 usdDailyLimit = getSellDailyLimit(isTier2(_teller) ? 2 : 1, countryId);\n\n // weiPriceOneUsd is set by the oracle (which runs every day at midnight)\n uint256 weiDailyLimit = SafeMath.mul(priceOracle.getWeiPriceOneUsd(), usdDailyLimit);\n\n // with each sell we update wei sold today for that user inside the Bank contract\n uint256 weiSoldToday = bank.getWeiSoldToday(_teller);\n\n uint256 newWeiSoldToday = SafeMath.add(weiSoldToday, _weiSellAmount);\n\n // we may not exceed the daily wei limit with this sell\n require(newWeiSoldToday <= weiDailyLimit);\n _;\n }\n\n function getPairSellLoyaltyPerc(address _from, address _to) public view returns(uint256) {\n return pairSellsLoyaltyPerc[_from][_to];\n }\n\n function getLoyaltyPoints(address who) public view returns (uint256) {\n return loyaltyPoints[who];\n }\n\n /**\n * SellEth\n * average gas cost: 123173\n * @param _to -> the address for the receiver\n * @param _amount -> the amount to send\n */\n function sellEth(address _to, uint _amount)\n whenNotPaused\n doesNotExceedDailySellLimit(msg.sender, _amount)\n external\n {\n require(isTeller(msg.sender));\n require(_to != msg.sender);\n // send eth to the receiver from the bank contract\n // this will also update eth amount sold 'today' by msg.sender\n bank.withdrawEth(msg.sender, _to, _amount);\n\n // increase reput for the buyer and the seller Only if the buyer is also whitelisted,\n // It's a way to incentive user to trade on the system\n if (smsCertifier.certified(_to)) {\n uint currentSellerLoyaltyPointsPerc = pairSellsLoyaltyPerc[msg.sender][_to];\n if (currentSellerLoyaltyPointsPerc == 0) {\n // this is the first sell between seller and buyer, set to 100%\n pairSellsLoyaltyPerc[msg.sender][_to] = 10000;\n currentSellerLoyaltyPointsPerc = 10000;\n }\n\n // add percentage of loyaltyPoints of this sell to seller's loyaltyPoints\n loyaltyPoints[msg.sender] = SafeMath.add(loyaltyPoints[msg.sender], SafeMath.mul(_amount, currentSellerLoyaltyPointsPerc) / 10000);\n\n // update the loyaltyPoints percentage of the seller, there will be a 21% decrease with every sell to the same buyer (100 - 21 = 79)\n pairSellsLoyaltyPerc[msg.sender][_to] = SafeMath.mul(currentSellerLoyaltyPointsPerc, 79) / 100;\n\n volumeBuy[_to] = SafeMath.add(volumeBuy[_to], _amount);\n volumeSell[msg.sender] = SafeMath.add(volumeSell[msg.sender], _amount);\n nbTrade[msg.sender] += 1;\n }\n emit Sent(msg.sender, _to, _amount);\n }\n\n /**\n * switchStatus\n * Turn status teller on/off\n */\n function switchStatus(bool _status) external {\n if (teller[msg.sender].online != _status)\n teller[msg.sender].online = _status;\n }\n\n /**\n * addFunds\n * teller can add more funds on his sellpoint\n */\n function addFunds() external payable {\n require(isTeller(msg.sender));\n require(bank.addEthTeller.value(msg.value)(msg.sender, msg.value));\n }\n\n // gas used 67841\n // a teller can delete a sellpoint\n function deleteTeller() external {\n require(isTeller(msg.sender));\n uint rowToDelete1 = teller[msg.sender].zoneIndex;\n address keyToMove1 = tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode][tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode].length - 1];\n tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode][rowToDelete1] = keyToMove1;\n teller[keyToMove1].zoneIndex = rowToDelete1;\n tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode].length--;\n\n uint rowToDelete2 = teller[msg.sender].generalIndex;\n address keyToMove2 = tellerIndex[tellerIndex.length - 1];\n tellerIndex[rowToDelete2] = keyToMove2;\n teller[keyToMove2].generalIndex = rowToDelete2;\n tellerIndex.length--;\n delete teller[msg.sender];\n bank.withdrawDthTeller(msg.sender);\n bank.refundEth(msg.sender);\n emit DeleteTeller(msg.sender);\n }\n\n // gas used 67841\n // A moderator can delete a sellpoint\n function deleteTellerMods(address _toDelete) isTellerModerator(msg.sender) external {\n require(isTeller(_toDelete));\n uint rowToDelete1 = teller[_toDelete].zoneIndex;\n address keyToMove1 = tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode][tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode].length - 1];\n tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode][rowToDelete1] = keyToMove1;\n teller[keyToMove1].zoneIndex = rowToDelete1;\n tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode].length--;\n\n uint rowToDelete2 = teller[_toDelete].generalIndex;\n address keyToMove2 = tellerIndex[tellerIndex.length - 1];\n tellerIndex[rowToDelete2] = keyToMove2;\n teller[keyToMove2].generalIndex = rowToDelete2;\n tellerIndex.length--;\n delete teller[_toDelete];\n bank.withdrawDthTeller(_toDelete);\n bank.refundEth(_toDelete);\n emit DeleteTellerModerator(msg.sender, _toDelete);\n }\n\n // gas used 67841\n // A shop owner can delete his point.\n function deleteShop() external {\n require(isShop(msg.sender));\n uint rowToDelete1 = shop[msg.sender].zoneIndex;\n address keyToMove1 = shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode][shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode].length - 1];\n shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode][rowToDelete1] = keyToMove1;\n shop[keyToMove1].zoneIndex = rowToDelete1;\n shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode].length--;\n\n uint rowToDelete2 = shop[msg.sender].generalIndex;\n address keyToMove2 = shopIndex[shopIndex.length - 1];\n shopIndex[rowToDelete2] = keyToMove2;\n shop[keyToMove2].generalIndex = rowToDelete2;\n shopIndex.length--;\n delete shop[msg.sender];\n bank.withdrawDthShop(msg.sender);\n emit DeleteShop(msg.sender);\n }\n\n // gas used 67841\n // Moderator can delete a shop point\n function deleteShopMods(address _toDelete) isShopModerator(msg.sender) external {\n uint rowToDelete1 = shop[_toDelete].zoneIndex;\n address keyToMove1 = shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode][shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode].length - 1];\n shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode][rowToDelete1] = keyToMove1;\n shop[keyToMove1].zoneIndex = rowToDelete1;\n shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode].length--;\n\n uint rowToDelete2 = shop[_toDelete].generalIndex;\n address keyToMove2 = shopIndex[shopIndex.length - 1];\n shopIndex[rowToDelete2] = keyToMove2;\n shop[keyToMove2].generalIndex = rowToDelete2;\n shopIndex.length--;\n if (!shop[_toDelete].detherShop)\n bank.withdrawDthShop(_toDelete);\n else\n bank.withdrawDthShopAdmin(_toDelete, csoAddress);\n delete shop[_toDelete];\n emit DeleteShopModerator(msg.sender, _toDelete);\n }\n\n /**\n * GETTER\n */\n\n // get teller\n // return teller info\n function getTeller(address _teller) public view returns (\n int32 lat,\n int32 lng,\n bytes2 countryId,\n bytes16 postalCode,\n int8 currencyId,\n bytes16 messenger,\n int8 avatarId,\n int16 rates,\n uint balance,\n bool online,\n bool buyer,\n int16 buyRates\n ) {\n Teller storage theTeller = teller[_teller];\n lat = theTeller.lat;\n lng = theTeller.lng;\n countryId = theTeller.countryId;\n postalCode = theTeller.postalCode;\n currencyId = theTeller.currencyId;\n messenger = theTeller.messenger;\n avatarId = theTeller.avatarId;\n rates = theTeller.rates;\n online = theTeller.online;\n buyer = theTeller.buyer;\n buyRates = theTeller.buyRates;\n balance = bank.getEthBalTeller(_teller);\n }\n\n /*\n * Shop ----------------------------------\n * return Shop value\n */\n function getShop(address _shop) public view returns (\n int32 lat,\n int32 lng,\n bytes2 countryId,\n bytes16 postalCode,\n bytes16 cat,\n bytes16 name,\n bytes32 description,\n bytes16 opening\n ) {\n Shop storage theShop = shop[_shop];\n lat = theShop.lat;\n lng = theShop.lng;\n countryId = theShop.countryId;\n postalCode = theShop.postalCode;\n cat = theShop.cat;\n name = theShop.name;\n description = theShop.description;\n opening = theShop.opening;\n }\n\n // get reput\n // return reputation data from teller\n function getReput(address _teller) public view returns (\n uint buyVolume,\n uint sellVolume,\n uint numTrade,\n uint256 loyaltyPoints_\n ) {\n buyVolume = volumeBuy[_teller];\n sellVolume = volumeSell[_teller];\n numTrade = nbTrade[_teller];\n loyaltyPoints_ = loyaltyPoints[_teller];\n }\n // return balance of teller put in escrow\n function getTellerBalance(address _teller) public view returns (uint) {\n return bank.getEthBalTeller(_teller);\n }\n\n // return an array of address of all zone present on a zone\n // zone is a mapping COUNTRY => POSTALCODE\n function getZoneShop(bytes2 _country, bytes16 _postalcode) public view returns (address[]) {\n return shopInZone[_country][_postalcode];\n }\n\n // return array of address of all shop\n function getAllShops() public view returns (address[]) {\n return shopIndex;\n }\n\n function isShop(address _shop) public view returns (bool ){\n return (shop[_shop].countryId != bytes2(0x0));\n }\n\n // return an array of address of all teller present on a zone\n // zone is a mapping COUNTRY => POSTALCODE\n function getZoneTeller(bytes2 _country, bytes16 _postalcode) public view returns (address[]) {\n return tellerInZone[_country][_postalcode];\n }\n\n // return array of address of all teller\n function getAllTellers() public view returns (address[]) {\n return tellerIndex;\n }\n\n // return if teller or not\n function isTeller(address _teller) public view returns (bool ){\n return (teller[_teller].countryId != bytes2(0x0));\n }\n\n /*\n * misc\n */\n // return info about how much DTH the shop has staked\n function getStakedShop(address _shop) public view returns (uint) {\n return bank.getDthShop(_shop);\n }\n // return info about how much DTH the teller has staked\n function getStakedTeller(address _teller) public view returns (uint) {\n return bank.getDthTeller(_teller);\n }\n // give ownership to the bank contract\n function transferBankOwnership(address _newbankowner) external onlyCEO whenPaused {\n bank.transferOwnership(_newbankowner);\n }\n}\n", + "bytecode": "0x60806040526006805462ffffff191690556017805460ff1916905534801561002657600080fd5b5060008054600160a060020a033316600160a060020a0319909116179055614937806100536000396000f3006080604052600436106103085763ffffffff60e060020a60003504166301e57a37811461030d5780630519ce791461033e5780630a0f8168146103535780630d46f91a146103685780630d926f7a1461037d5780630e479dc7146103b157806319f1cded146104325780631d0e8a4d146104535780631d32f106146104885780632072863b146104ac5780632105c049146104cd5780632272b0af146104ee5780632314a5c81461050357806325ba0f511461054a5780632630c12f1461057157806327d7874c146105865780632e3a4def146105a757806330a55316146105c85780633b23a5ca146105dd5780633f4ba83a146105f75780633fa198041461060c57806343579fe81461063b5780634a9f0110146106505780634b0ad8fa146106785780634e0a3379146106995780634f4cd650146106ba578063529e65e11461071f578063530e784f1461074057806359b17b43146107615780635c975abb1461078257806366d5eb9b1461079757806367bb15ad146107b9578063681e3356146107da578063744955a9146107fb57806376cdb03b1461081d57806378843a9514610832578063809ffb20146108535780638456cb59146108745780638620084214610889578063878127c8146108ae5780638bd1b610146108c65780638c267b97146108db57806395d43eea146108f05780639a8061e8146109085780639ae120dd1461092d578063a26759cb1461094f578063aa5a11c514610957578063b0547d8c14610978578063b5c4147f14610999578063ba2a98f2146109c8578063c0ee0b8a146109ea578063c640ee3d14610a53578063ca34333b14610a74578063d04c911514610a96578063d0a4a81b14610ab7578063d4f639ea14610ad8578063d5c9b23914610aed578063dd955c4414610b02578063e019ac2914610b26578063f002467714610b47578063f2d15c4814610b68578063f3943ca914610b8d578063f554567f14610baf578063f983c0fa14610c65578063fa1d9cf814610c7a578063fac8a80014610ca9578063fcf3438c14610cca578063fdff31ed14610ceb575b600080fd5b34801561031957600080fd5b50610322610d12565b60408051600160a060020a039092168252519081900360200190f35b34801561034a57600080fd5b50610322610d21565b34801561035f57600080fd5b50610322610d30565b34801561037457600080fd5b50610322610d3f565b34801561038957600080fd5b5061039f600160f060020a031960043516610d4e565b60408051918252519081900360200190f35b3480156103bd57600080fd5b506103d2600160a060020a0360043516610d60565b604080516003998a0b8a0b815297890b90980b6020880152600160f060020a0319909516868801526001608060020a031993841660608701529183166080860152821660a085015260c08401521660e08201529051908190036101000190f35b34801561043e57600080fd5b5061039f600160a060020a0360043516610dc9565b34801561045f57600080fd5b50610474600160a060020a0360043516610e66565b604080519115158252519081900360200190f35b34801561049457600080fd5b506104aa600160f060020a031960043516610e9d565b005b3480156104b857600080fd5b506104aa600160a060020a0360043516610edd565b3480156104d957600080fd5b506104aa600160a060020a0360043516610f2f565b3480156104fa57600080fd5b50610322610f81565b34801561050f57600080fd5b50610524600160a060020a0360043516610f90565b604080519485526020850193909352838301919091526060830152519081900360800190f35b34801561055657600080fd5b506104aa600160a060020a0360043581169060243516610fcc565b34801561057d57600080fd5b50610322611032565b34801561059257600080fd5b506104aa600160a060020a0360043516611041565b3480156105b357600080fd5b50610474600160a060020a0360043516611093565b3480156105d457600080fd5b506103226110e8565b3480156105e957600080fd5b506104aa60043515156110fe565b34801561060357600080fd5b506104aa611152565b6104aa600435600090810b906001608060020a03196024351690604435900b60643560010b608435151561118a565b34801561064757600080fd5b506104aa6114c4565b34801561065c57600080fd5b506104aa600435600160f060020a03196024351660443561183a565b34801561068457600080fd5b5061039f600160a060020a036004351661187c565b3480156106a557600080fd5b506104aa600160a060020a03600435166118e7565b3480156106c657600080fd5b506106cf611939565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561070b5781810151838201526020016106f3565b505050509050019250505060405180910390f35b34801561072b57600080fd5b506104aa600160a060020a036004351661199c565b34801561074c57600080fd5b506104aa600160a060020a03600435166119d8565b34801561076d57600080fd5b5061039f600160a060020a0360043516611a15565b34801561078e57600080fd5b50610474611a80565b3480156107a357600080fd5b506104aa600160f060020a031960043516611a89565b3480156107c557600080fd5b50610474600160a060020a0360043516611ac9565b3480156107e657600080fd5b506104aa600160a060020a0360043516611ade565b34801561080757600080fd5b50610474600160f060020a031960043516611b8c565b34801561082957600080fd5b50610322611ba1565b34801561083e57600080fd5b50610474600160a060020a0360043516611bb0565b34801561085f57600080fd5b506104aa600160a060020a0360043516611c0b565b34801561088057600080fd5b506104aa611c5f565b34801561089557600080fd5b5061039f600435600160f060020a031960243516611c99565b3480156108ba57600080fd5b50610322600435611cc1565b3480156108d257600080fd5b506104aa611ce9565b3480156108e757600080fd5b506103226120d6565b3480156108fc57600080fd5b506103226004356120e5565b34801561091457600080fd5b506104aa600160f060020a0319600435166024356120f3565b34801561093957600080fd5b506104aa600160f060020a03196004351661212b565b6104aa612168565b34801561096357600080fd5b506104aa600160a060020a0360043516612264565b34801561098457600080fd5b506104aa600160a060020a03600435166122a0565b3480156109a557600080fd5b506106cf600160f060020a0319600435166001608060020a0319602435166126ec565b3480156109d457600080fd5b506104aa600160f060020a031960043516612776565b3480156109f657600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526104aa948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506127b39650505050505050565b348015610a5f57600080fd5b50610474600160a060020a0360043516613a3c565b348015610a8057600080fd5b50610474600160f060020a031960043516613a51565b348015610aa257600080fd5b5061039f600160a060020a0360043516613a66565b348015610ac357600080fd5b506104aa600160a060020a0360043516613a81565b348015610ae457600080fd5b50610474613ad5565b348015610af957600080fd5b506106cf613ae4565b348015610b0e57600080fd5b506104aa600160a060020a0360043516602435613b44565b348015610b3257600080fd5b506104aa600160a060020a036004351661402d565b348015610b5357600080fd5b506104aa600160a060020a0360043516614092565b348015610b7457600080fd5b506104aa600160f060020a0319600435166024356144b9565b348015610b9957600080fd5b5061039f600160f060020a0319600435166144f1565b348015610bbb57600080fd5b50610bd0600160a060020a0360043516614503565b6040805160039d8e0b8e0b81529b8d0b909c0b60208c0152600160f060020a03199099168a8c01526001608060020a031997881660608b0152600096870b870b60808b01529490961660a089015291840b90930b60c0870152600192830b830b60e087015261010086015291151561012085015290151561014084015290810b900b6101608201529051908190036101800190f35b348015610c7157600080fd5b50610474614669565b348015610c8657600080fd5b506106cf600160f060020a0319600435166001608060020a031960243516614677565b348015610cb557600080fd5b50610474600160a060020a03600435166146ff565b348015610cd657600080fd5b506104aa600160a060020a0360043516614736565b348015610cf757600080fd5b5061039f600160a060020a03600435811690602435166147a8565b600c54600160a060020a031681565b600354600160a060020a031681565b600054600160a060020a031681565b600754600160a060020a031681565b600a6020526000908152604090205481565b600160a060020a0316600090815260186020526040902080546001820154600283015460039384015483850b95640100000000850490950b9460f060020a604060020a86040294608060020a605060020a90910481029480820294908290048202939092910290565b600d54604080517f78d0a415000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009392909216916378d0a4159160248082019260209290919082900301818787803b158015610e3457600080fd5b505af1158015610e48573d6000803e3d6000fd5b505050506040513d6020811015610e5e57600080fd5b505192915050565b600160a060020a038116600090815260186020526040902054604060020a900460f060020a02600160f060020a0319161515919050565b60015433600160a060020a03908116911614610eb857600080fd5b600160f060020a0319166000908152600960205260409020805460ff19166001179055565b60005433600160a060020a03908116911614610ef857600080fd5b600160a060020a0381161515610f0d57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a03908116911614610f4a57600080fd5b600160a060020a0381161515610f5f57600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b600254600160a060020a031681565b600160a060020a031660009081526010602090815260408083205460118352818420546012845282852054601390945291909320549293909290565b60005433600160a060020a03908116911614610fe757600080fd5b60175460ff1615610ff757600080fd5b600c8054600160a060020a03938416600160a060020a031991821617909155600d80549290931691161790556017805460ff19166001179055565b600e54600160a060020a031681565b60005433600160a060020a0390811691161461105c57600080fd5b600160a060020a038116151561107157600080fd5b60008054600160a060020a031916600160a060020a0392909216919091179055565b6007546040805160e160020a63660ea601028152600160a060020a0384811660048301529151600093929092169163cc1d4c029160248082019260209290919082900301818787803b158015610e3457600080fd5b60065463010000009004600160a060020a031681565b600160a060020a03331660009081526014602052604090206004015460ff1615158115151461114f5733600160a060020a03166000908152601460205260409020600401805460ff19168215151790555b50565b60005433600160a060020a0390811691161461116d57600080fd5b60065460ff16151561117e57600080fd5b6006805460ff19169055565b611193336146ff565b151561119e57600080fd5b33600160a060020a031660009081526014602052604081205460d060020a9004810b810b9086900b1461121957600160a060020a033316600090815260146020526040812080549187900b60ff1660d060020a027aff0000000000000000000000000000000000000000000000000000199092169190911790555b600160a060020a033316600090815260146020526040902060010154608060020a026001608060020a0319908116908516146112815733600160a060020a0316600090815260146020526040902060010180546001608060020a031916608060020a86041790555b600160a060020a033316600090815260146020526040812060010154608060020a9004810b810b9084900b146112f857600160a060020a033316600090815260146020526040812060010180549185900b60ff16608060020a0270ff00000000000000000000000000000000199092169190911790555b600160a060020a0333166000908152601460205260409020600190810154710100000000000000000000000000000000009004810b810b9083900b1461139257600160a060020a0333166000908152601460205260409020600190810180549184900b61ffff16710100000000000000000000000000000000000272ffff0000000000000000000000000000000000199092169190911790555b600160a060020a03331660009081526014602052604090206004015460ff161515811515146113e35733600160a060020a03166000908152601460205260409020600401805460ff19168215151790555b600034111561148957600d54604080517fe4651465000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523460248301819052925193169263e4651465929160448082019260209290919082900301818588803b15801561145b57600080fd5b505af115801561146f573d6000803e3d6000fd5b50505050506040513d602081101561148657600080fd5b50505b604051600160a060020a033316907fe3df84c3ca6a90f0e6485beae08e7bd034695356bec32910a3d62559ff33fbc890600090a25050505050565b6000806000806114d333610e66565b15156114de57600080fd5b33600160a060020a0316600090815260186020908152604080832060048101549054604060020a810460f060020a02600160f060020a031916855260198452828520605060020a909104608060020a026001608060020a0319168552909252909120805491955090600019810190811061155457fe5b600091825260208083209190910154600160a060020a03338116845260188352604080852054604060020a810460f060020a02600160f060020a031916865260198552818620605060020a909104608060020a026001608060020a0319168652909352919092208054919092169450849190869081106115d057fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055858316825260188152604080832060040188905533909316825282822054604060020a810460f060020a02600160f060020a031916835260198252838320605060020a909104608060020a026001608060020a03191683529052208054906116649060001983016148c4565b50600160a060020a033316600090815260186020526040902060050154601a805491935090600019810190811061169757fe5b600091825260209091200154601a8054600160a060020a0390921692508291849081106116c057fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790559183168152601890915260409020600501829055601a80549061170f9060001983016148c4565b50600160a060020a03338116600081815260186020526040808220805479ffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101839055600281018390556003810180546001608060020a03191690556004808201849055600582018490556006909101805460ff19169055600d5482517f3716f65d0000000000000000000000000000000000000000000000000000000081529182019490945290519290931692633716f65d926024808301939282900301818387803b1580156117df57600080fd5b505af11580156117f3573d6000803e3d6000fd5b505060408051600160a060020a033316815290517fe607eb1578eec3de556aa2d57f7ff9365c1706069a8959e794883eba60b043e39350908190036020019150a150505050565b60035433600160a060020a0390811691161461185557600080fd5b6000928352601b60209081526040808520600160f060020a03199094168552929052912055565b600d54604080517fa96b3ab8000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151600093929092169163a96b3ab89160248082019260209290919082900301818787803b158015610e3457600080fd5b60005433600160a060020a0390811691161461190257600080fd5b600160a060020a038116151561191757600080fd5b60038054600160a060020a031916600160a060020a0392909216919091179055565b6060601680548060200260200160405190810160405280929190818152602001828054801561199157602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311611973575b505050505090505b90565b60005433600160a060020a039081169116146119b757600080fd5b600160a060020a03166000908152600460205260409020805460ff19169055565b60035433600160a060020a039081169116146119f357600080fd5b600e8054600160a060020a031916600160a060020a0392909216919091179055565b600d54604080517f8d837f38000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291516000939290921691638d837f389160248082019260209290919082900301818787803b158015610e3457600080fd5b60065460ff1681565b60015433600160a060020a03908116911614611aa457600080fd5b600160f060020a0319166000908152600860205260409020805460ff19166001179055565b60046020526000908152604090205460ff1681565b60005433600160a060020a03908116911614611af957600080fd5b60065460ff161515611b0a57600080fd5b600d54604080517ff2fde38b000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b158015611b7157600080fd5b505af1158015611b85573d6000803e3d6000fd5b5050505050565b60086020526000908152604090205460ff1681565b600d54600160a060020a031681565b6006546040805160e160020a63660ea601028152600160a060020a0384811660048301529151600093630100000090049092169163cc1d4c029160248082019260209290919082900301818787803b158015610e3457600080fd5b60005433600160a060020a03908116911614611c2657600080fd5b600160a060020a0381161515611c3b57600080fd5b600160a060020a03166000908152600460205260409020805460ff19166001179055565b60005433600160a060020a03908116911614611c7a57600080fd5b60065460ff1615611c8a57600080fd5b6006805460ff19166001179055565b6000918252601b60209081526040808420600160f060020a0319909316845291905290205490565b601a805482908110611ccf57fe5b600091825260209091200154600160a060020a0316905081565b600080600080611cf8336146ff565b1515611d0357600080fd5b33600160a060020a0316600090815260146020908152604080832060028101549054604060020a810460f060020a02600160f060020a031916855260158452828520605060020a909104608060020a026001608060020a03191685529092529091208054919550906000198101908110611d7957fe5b600091825260208083209190910154600160a060020a03338116845260148352604080852054604060020a810460f060020a02600160f060020a031916865260158552818620605060020a909104608060020a026001608060020a031916865290935291909220805491909216945084919086908110611df557fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055858316825260148152604080832060020188905533909316825282822054604060020a810460f060020a02600160f060020a031916835260158252838320605060020a909104608060020a026001608060020a0319168352905220805490611e899060001983016148c4565b50600160a060020a03331660009081526014602052604090206003015460168054919350906000198101908110611ebc57fe5b60009182526020909120015460168054600160a060020a039092169250829184908110611ee557fe5b60009182526020808320919091018054600160a060020a031916600160a060020a0394851617905591831681526014909152604090206003018290556016805490611f349060001983016148c4565b50600160a060020a0333811660008181526014602052604080822080547affffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101805475ffffffffffffffffffffffffffffffffffffffffffff1916905560028101839055600381018390556004908101805460ff19169055600d5482517fb71738f1000000000000000000000000000000000000000000000000000000008152918201949094529051929093169263b71738f1926024808301939282900301818387803b15801561200557600080fd5b505af1158015612019573d6000803e3d6000fd5b5050600d54604080517fd83edd70000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152915191909216935063d83edd709250602480830192600092919082900301818387803b15801561208457600080fd5b505af1158015612098573d6000803e3d6000fd5b5050604051600160a060020a03331692507fb1e40dcb43d26b3a6cb20da12c333af5a0de0bcd6264eddca5fbacf3e31d4f949150600090a250505050565b600154600160a060020a031681565b6016805482908110611ccf57fe5b60015433600160a060020a0390811691161461210e57600080fd5b600160f060020a03199091166000908152600a6020526040902055565b60015433600160a060020a0390811691161461214657600080fd5b600160f060020a0319166000908152600960205260409020805460ff19169055565b612171336146ff565b151561217c57600080fd5b600d54604080517fe4651465000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523460248301819052925193169263e4651465929160448082019260209290919082900301818588803b1580156121eb57600080fd5b505af11580156121ff573d6000803e3d6000fd5b50505050506040513d602081101561221657600080fd5b5051151561222357600080fd5b604080513481529051600160a060020a033316917ff424eeb50f7d240513b6dc4a39048768557d8465bdc7d2dd363ecc538006c2be919081900360200190a2565b60005433600160a060020a0390811691161461227f57600080fd5b600160a060020a03166000908152600560205260409020805460ff19169055565b33600160a060020a038116600090815260046020526040812054909182918291829160ff1615156122d057600080fd5b600160a060020a038616600090815260186020908152604080832060048101549054604060020a810460f060020a02600160f060020a031916855260198452828520605060020a909104608060020a026001608060020a0319168552909252909120805491965090600019810190811061234657fe5b600091825260208083209190910154600160a060020a03898116845260188352604080852054604060020a810460f060020a02600160f060020a031916865260198552818620605060020a909104608060020a026001608060020a0319168652909352919092208054919092169550859190879081106123c257fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790558683168252601881526040808320600401899055928916825282822054604060020a810460f060020a02600160f060020a031916835260198252838320605060020a909104608060020a026001608060020a03191683529052208054906124559060001983016148c4565b50600160a060020a038616600090815260186020526040902060050154601a805491945090600019810190811061248857fe5b600091825260209091200154601a8054600160a060020a0390921693508391859081106124b157fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790559184168152601890915260409020600501839055601a8054906125009060001983016148c4565b50600160a060020a03861660009081526018602052604090206006015460ff1615156125aa57600d54604080517f3716f65d000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015291519190921691633716f65d91602480830192600092919082900301818387803b15801561258d57600080fd5b505af11580156125a1573d6000803e3d6000fd5b50505050612635565b600d54600254604080517f7139b595000000000000000000000000000000000000000000000000000000008152600160a060020a038a81166004830152928316602482015290519190921691637139b59591604480830192600092919082900301818387803b15801561261c57600080fd5b505af1158015612630573d6000803e3d6000fd5b505050505b600160a060020a038087166000818152601860209081526040808320805479ffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101849055600281018490556003810180546001608060020a03191690556004810184905560058101939093556006909201805460ff191690558151928352905133909316927f34fe9e989d541054eb508f79a2e9b0bc3aa3d7ff2f2ded4f1f6b2819aaec86a39281900390910190a2505050505050565b600160f060020a0319821660009081526019602090815260408083206001608060020a03198516845282529182902080548351818402810184019094528084526060939283018282801561276957602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831161274b575b5050505050905092915050565b60015433600160a060020a0390811691161461279157600080fd5b600160f060020a0319166000908152600860205260409020805460ff19169055565b60065460009081908190819060ff16156127cc57600080fd5b6006546040805160e160020a63660ea601028152600160a060020a038a8116600483015291518a93630100000090049092169163cc1d4c02916024808201926020929091908290030181600087803b15801561282757600080fd5b505af115801561283b573d6000803e3d6000fd5b505050506040513d602081101561285157600080fd5b5051151561285e57600080fd5b600c5433600160a060020a0390811691161461287957600080fd5b61288a86600063ffffffff6147d316565b945060f860020a6128a287600163ffffffff6147d316565b600160f860020a031916146128ce576128c286600263ffffffff6147fb16565b60e060020a90046128eb565b6128df86600263ffffffff6147fb16565b60e060020a9004600019025b935060f860020a61290387600663ffffffff6147d316565b600160f860020a0319161461292f5761292386600763ffffffff6147fb16565b60e060020a900461294c565b61294086600763ffffffff6147fb16565b60e060020a9004600019025b9250600160f860020a031985167f31000000000000000000000000000000000000000000000000000000000000001415612eac57600a600061299588600b63ffffffff61481116565b600160f060020a03191681526020810191909152604001600020548710156129bc57600080fd5b6129c588610e66565b156129cf57600080fd5b600860006129e488600b63ffffffff61481116565b600160f060020a031916815260208101919091526040016000205460ff161515612a0d57600080fd5b600160a060020a0388166000908152601860205260409020805463ffffffff1916600386810b63ffffffff9081169290921767ffffffff0000000019166401000000009187900b83169190910217909155612a6d908790600b9061481116565b600160a060020a0389166000908152601860205260409020805460f060020a909204604060020a0269ffff000000000000000019909216919091179055612abb86600d63ffffffff61482716565b600160a060020a03891660009081526018602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff0000000000000000000019909216919091179055612b1986601d63ffffffff61482716565b600160a060020a038916600090815260186020526040902060010180546001608060020a031916608060020a909204919091179055612b5986602d614827565b600160a060020a038916600090815260186020526040902060010180546fffffffffffffffffffffffffffffffff16608060020a92839004909202919091179055612ba586603d61483d565b600160a060020a038916600090815260186020526040902060020155612bd286605d63ffffffff61482716565b600160a060020a03891660008181526018602052604081206003810180546001608060020a031916608060020a90950494909417909355601a805460018181019092557f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e81018054600160a060020a031916909417909355600590930191909155601990612c6189600b614811565b600160f060020a03191681526020810191909152604001600090812090612c8f89600d63ffffffff61482716565b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000208990806001815401808255809150509060018203906000526020600020016000909192909190916101000a815481600160a060020a030219169083600160a060020a0316021790555003601860008a600160a060020a0316600160a060020a03168152602001908152602001600020600401819055507ff45ad76a8c4c14053708bfd052607c5e35446beb04fbdff6f2f3c9dde8e83b37886040518082600160a060020a0316600160a060020a0316815260200191505060405180910390a1600d54604080517fd4d84da5000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152602482018b90529151919092169163d4d84da591604480830192600092919082900301818387803b158015612df057600080fd5b505af1158015612e04573d6000803e3d6000fd5b5050600c54600d54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152602481018d9052905191909216935063a9059cbb925060448083019260209291908290030181600087803b158015612e7a57600080fd5b505af1158015612e8e573d6000803e3d6000fd5b505050506040513d6020811015612ea457600080fd5b50613a329050565b600160f860020a031985167f320000000000000000000000000000000000000000000000000000000000000014156134ec57600b6000612ef2888363ffffffff61481116565b600160f060020a0319168152602081019190915260400160002054871015612f1957600080fd5b612f22886146ff565b15612f2c57600080fd5b60096000612f4188600b63ffffffff61481116565b600160f060020a031916815260208101919091526040016000205460ff161515612f6a57600080fd5b600160a060020a0388166000908152601460205260409020805463ffffffff1916600386810b63ffffffff9081169290921767ffffffff0000000019166401000000009187900b83169190910217909155612fca908790600b9061481116565b600160a060020a0389166000908152601460205260409020805460f060020a909204604060020a0269ffff00000000000000001990921691909117905561301886600d63ffffffff61482716565b600160a060020a03891660009081526014602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff000000000000000000001990921691909117905561307686601d63ffffffff6147d316565b600160a060020a0389166000908152601460205260408120600101805460f860020a90930490910b60ff16608060020a0270ff00000000000000000000000000000000199092169190911790556130d486601e63ffffffff6147d316565b600160a060020a0389166000908152601460205260408120805460f860020a90930490910b60ff1660d060020a027aff00000000000000000000000000000000000000000000000000001990921691909117905561313986601f63ffffffff61482716565b600160a060020a038916600090815260146020526040902060010180546001608060020a031916608060020a90920491909117905561317986602f614811565b600160a060020a03891660009081526014602052604090206001908101805460f060020a90930490910b61ffff16710100000000000000000000000000000000000272ffff00000000000000000000000000000000001990921691909117905560f860020a6131ef87603163ffffffff6147d316565b600160f860020a03191614613205576000613208565b60015b600160a060020a038916600090815260146020526040902060010180549115157301000000000000000000000000000000000000000273ff000000000000000000000000000000000000001990921691909117905561326e86603263ffffffff61481116565b600160a060020a03891660008181526014602052604081206001808201805460f060020a909604820b61ffff16740100000000000000000000000000000000000000000275ffff00000000000000000000000000000000000000001990961695909517909455601680548086019091557fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428981018054600160a060020a031916851790559282526003019190915560159061332f89600b63ffffffff61481116565b600160f060020a0319168152602081019190915260400160009081209061335d89600d63ffffffff61482716565b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000208990806001815401808255809150509060018203906000526020600020016000909192909190916101000a815481600160a060020a030219169083600160a060020a0316021790555003601460008a600160a060020a0316600160a060020a03168152602001908152602001600020600201819055506001601460008a600160a060020a0316600160a060020a0316815260200190815260200160002060040160006101000a81548160ff02191690831515021790555087600160a060020a03167fdc94eebf39359cb097be68bd4890a58fce65c66d2d284d4349f666013dc8a43d60405160405180910390a2600d54604080517f18a6d58b000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152602482018b9052915191909216916318a6d58b91604480830192600092919082900301818387803b158015612df057600080fd5b600160f860020a031985167f33000000000000000000000000000000000000000000000000000000000000001415613a3257600254600160a060020a0389811691161461353857600080fd5b600a600061354d88600b63ffffffff61481116565b600160f060020a031916815260208101919091526040016000205487101561357457600080fd5b61358d61358887606d63ffffffff61485316565b610e66565b1561359757600080fd5b600860006135ac88600b63ffffffff61481116565b600160f060020a031916815260208101919091526040016000205460ff1615156135d557600080fd5b6135e686606d63ffffffff61485316565b600160a060020a0381166000908152601860205260409020805463ffffffff1916600387810b63ffffffff9081169290921767ffffffff0000000019166401000000009188900b83169190910217909155909250613649908790600b9061481116565b600160a060020a0383166000908152601860205260409020805460f060020a909204604060020a0269ffff00000000000000001990921691909117905561369786600d63ffffffff61482716565b600160a060020a03831660009081526018602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff00000000000000000000199092169190911790556136f586601d63ffffffff61482716565b600160a060020a038316600090815260186020526040902060010180546001608060020a031916608060020a90920491909117905561373586602d614827565b600160a060020a038316600090815260186020526040902060010180546fffffffffffffffffffffffffffffffff16608060020a9283900490920291909117905561378186603d61483d565b600160a060020a0383166000908152601860205260409020600201556137ae86605d63ffffffff61482716565b600160a060020a03831660008181526018602052604081206003810180546001608060020a031916608060020a90950494909417909355601a805460018181019092557f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e81018054600160a060020a03191690941790935560059093019190915560199061383d89600b614811565b600160f060020a0319168152602081019190915260400160009081209061386b89600d63ffffffff61482716565b6001608060020a03191681526020808201929092526040908101600090812080546001808201835591835284832081018054600160a060020a031916600160a060020a038a169081179091558084526018865292849020959003810160048601556006909401805460ff19169094179093558051928352517ff45ad76a8c4c14053708bfd052607c5e35446beb04fbdff6f2f3c9dde8e83b379281900390910190a1600d54604080517fd4d84da5000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018b90529151919092169163d4d84da591604480830192600092919082900301818387803b15801561397b57600080fd5b505af115801561398f573d6000803e3d6000fd5b5050600c54600d54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152602481018d9052905191909216935063a9059cbb925060448083019260209291908290030181600087803b158015613a0557600080fd5b505af1158015613a19573d6000803e3d6000fd5b505050506040513d6020811015613a2f57600080fd5b50505b5050505050505050565b60056020526000908152604090205460ff1681565b60096020526000908152604090205460ff1681565b600160a060020a031660009081526013602052604090205490565b60005433600160a060020a03908116911614613a9c57600080fd5b600160a060020a0381161515613ab157600080fd5b600160a060020a03166000908152600560205260409020805460ff19166001179055565b60065462010000900460ff1681565b6060601a80548060200260200160405190810160405280929190818152602001828054801561199157602002820191906000526020600020908154600160a060020a03168152600190910190602001808311611973575050505050905090565b60065460009060ff1615613b5757600080fd5b33600160a060020a0381166000908152601460205260408120548491604060020a90910460f060020a0290808080613ba8613b9188611093565b613b9c576001613b9f565b60025b60ff1686611c99565b9350613c32600e60009054906101000a9004600160a060020a0316600160a060020a03166350ccf36b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015613c0057600080fd5b505af1158015613c14573d6000803e3d6000fd5b505050506040513d6020811015613c2a57600080fd5b505185614883565b600d54604080517fad71766e000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152915193965091169163ad71766e916024808201926020929091908290030181600087803b158015613c9c57600080fd5b505af1158015613cb0573d6000803e3d6000fd5b505050506040513d6020811015613cc657600080fd5b50519150613cd482876148b5565b905082811115613ce357600080fd5b613cec336146ff565b1515613cf757600080fd5b33600160a060020a03168a600160a060020a031614151515613d1857600080fd5b600d54604080517ff5923a6e000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301528d81166024830152604482018d90529151919092169163f5923a6e91606480830192600092919082900301818387803b158015613d8e57600080fd5b505af1158015613da2573d6000803e3d6000fd5b50506006546040805160e160020a63660ea601028152600160a060020a038f8116600483015291516301000000909304909116935063cc1d4c0292506024808201926020929091908290030181600087803b158015613e0057600080fd5b505af1158015613e14573d6000803e3d6000fd5b505050506040513d6020811015613e2a57600080fd5b505115613fd657600160a060020a033381166000908152600f60209081526040808320938e16835292905220549750871515613e8f57600160a060020a033381166000908152600f60209081526040808320938e168352929052206127109081905597505b600160a060020a033316600090815260136020526040902054613ec890612710613eb98c8c614883565b811515613ec257fe5b046148b5565b600160a060020a0333166000908152601360205260409020556064613eee89604f614883565b811515613ef757fe5b04600f600033600160a060020a0316600160a060020a0316815260200190815260200160002060008c600160a060020a0316600160a060020a0316815260200190815260200160002081905550613f73601060008c600160a060020a0316600160a060020a03168152602001908152602001600020548a6148b5565b600160a060020a03808c1660009081526010602090815260408083209490945533909216815260119091522054613faa908a6148b5565b600160a060020a0333166000908152601160209081526040808320939093556012905220805460010190555b89600160a060020a031633600160a060020a03167f3990db2d31862302a685e8086b5755072a6e2b5b780af1ee81ece35ee3cd33458b6040518082815260200191505060405180910390a350505050505050505050565b60005433600160a060020a0390811691161461404857600080fd5b60065462010000900460ff161561405e57600080fd5b60078054600160a060020a03909216600160a060020a03199092169190911790556006805462ff0000191662010000179055565b33600160a060020a038116600090815260056020526040812054909182918291829160ff1615156140c257600080fd5b6140cb866146ff565b15156140d657600080fd5b600160a060020a038616600090815260146020908152604080832060028101549054604060020a810460f060020a02600160f060020a031916855260158452828520605060020a909104608060020a026001608060020a0319168552909252909120805491965090600019810190811061414c57fe5b600091825260208083209190910154600160a060020a03898116845260148352604080852054604060020a810460f060020a02600160f060020a031916865260158552818620605060020a909104608060020a026001608060020a0319168652909352919092208054919092169550859190879081106141c857fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790558683168252601481526040808320600201899055928916825282822054604060020a810460f060020a02600160f060020a031916835260158252838320605060020a909104608060020a026001608060020a031916835290522080549061425b9060001983016148c4565b50600160a060020a0386166000908152601460205260409020600301546016805491945090600019810190811061428e57fe5b60009182526020909120015460168054600160a060020a0390921693508391859081106142b757fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055918416815260149091526040902060030183905560168054906143069060001983016148c4565b50600160a060020a0380871660008181526014602052604080822080547affffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101805475ffffffffffffffffffffffffffffffffffffffffffff1916905560028101839055600381018390556004908101805460ff19169055600d5482517fb71738f1000000000000000000000000000000000000000000000000000000008152918201949094529051929093169263b71738f1926024808301939282900301818387803b1580156143d757600080fd5b505af11580156143eb573d6000803e3d6000fd5b5050600d54604080517fd83edd70000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152915191909216935063d83edd709250602480830192600092919082900301818387803b15801561445657600080fd5b505af115801561446a573d6000803e3d6000fd5b505060408051600160a060020a038a811682529151339290921693507fcf9fc954c975d15bad8f5fa3c1cd94f55105a98b1ecf33021ebb059122277f8f925081900360200190a2505050505050565b60015433600160a060020a039081169116146144d457600080fd5b600160f060020a03199091166000908152600b6020526040902055565b600b6020526000908152604090205481565b600160a060020a0380821660008181526014602090815260408083208054600180830154600480850154600d5487517f8d837f380000000000000000000000000000000000000000000000000000000081529283019a909a529551600385810b9b640100000000870490910b9a60f060020a604060020a8804029a608060020a605060020a890481029b60d060020a909904820b9a8782029a918804830b997101000000000000000000000000000000000089048a0b99939860ff928316987301000000000000000000000000000000000000008204909316977401000000000000000000000000000000000000000090910490940b95929490921692638d837f389260248084019391929182900301818b87803b15801561462457600080fd5b505af1158015614638573d6000803e3d6000fd5b505050506040513d602081101561464e57600080fd5b50519c9e9b9d50999b989a9799509597949693959193909250565b600654610100900460ff1681565b600160f060020a0319821660009081526015602090815260408083206001608060020a03198516845282529182902080548351818402810184019094528084526060939283018282801561276957602002820191906000526020600020908154600160a060020a0316815260019091019060200180831161274b575050505050905092915050565b600160a060020a038116600090815260146020526040902054604060020a900460f060020a02600160f060020a0319161515919050565b60005433600160a060020a0390811691161461475157600080fd5b600654610100900460ff161561476657600080fd5b6006805461ff0019600160a060020a0390931663010000000276ffffffffffffffffffffffffffffffffffffffff000000199091161791909116610100179055565b600160a060020a039182166000908152600f6020908152604080832093909416825291909152205490565b600080826001018451101515156147e957600080fd5b505081810160200151805b5092915050565b600080826004018451101515156147e957600080fd5b600080826002018451101515156147e957600080fd5b600080826010018451101515156147e957600080fd5b600080826020018451101515156147e957600080fd5b6000808260140184511015151561486957600080fd5b505001602001516c01000000000000000000000000900490565b60008083151561489657600091506147f4565b508282028284828115156148a657fe5b04146148ae57fe5b9392505050565b6000828201838110156148ae57fe5b8154818355818111156148e8576000838152602090206148e89181019083016148ed565b505050565b61199991905b8082111561490757600081556001016148f3565b50905600a165627a7a7230582049fe5fd23612987a02ea7d08604a3e6537f671262c58a558b189af2519abff930029", + "deployedBytecode": "0x6080604052600436106103085763ffffffff60e060020a60003504166301e57a37811461030d5780630519ce791461033e5780630a0f8168146103535780630d46f91a146103685780630d926f7a1461037d5780630e479dc7146103b157806319f1cded146104325780631d0e8a4d146104535780631d32f106146104885780632072863b146104ac5780632105c049146104cd5780632272b0af146104ee5780632314a5c81461050357806325ba0f511461054a5780632630c12f1461057157806327d7874c146105865780632e3a4def146105a757806330a55316146105c85780633b23a5ca146105dd5780633f4ba83a146105f75780633fa198041461060c57806343579fe81461063b5780634a9f0110146106505780634b0ad8fa146106785780634e0a3379146106995780634f4cd650146106ba578063529e65e11461071f578063530e784f1461074057806359b17b43146107615780635c975abb1461078257806366d5eb9b1461079757806367bb15ad146107b9578063681e3356146107da578063744955a9146107fb57806376cdb03b1461081d57806378843a9514610832578063809ffb20146108535780638456cb59146108745780638620084214610889578063878127c8146108ae5780638bd1b610146108c65780638c267b97146108db57806395d43eea146108f05780639a8061e8146109085780639ae120dd1461092d578063a26759cb1461094f578063aa5a11c514610957578063b0547d8c14610978578063b5c4147f14610999578063ba2a98f2146109c8578063c0ee0b8a146109ea578063c640ee3d14610a53578063ca34333b14610a74578063d04c911514610a96578063d0a4a81b14610ab7578063d4f639ea14610ad8578063d5c9b23914610aed578063dd955c4414610b02578063e019ac2914610b26578063f002467714610b47578063f2d15c4814610b68578063f3943ca914610b8d578063f554567f14610baf578063f983c0fa14610c65578063fa1d9cf814610c7a578063fac8a80014610ca9578063fcf3438c14610cca578063fdff31ed14610ceb575b600080fd5b34801561031957600080fd5b50610322610d12565b60408051600160a060020a039092168252519081900360200190f35b34801561034a57600080fd5b50610322610d21565b34801561035f57600080fd5b50610322610d30565b34801561037457600080fd5b50610322610d3f565b34801561038957600080fd5b5061039f600160f060020a031960043516610d4e565b60408051918252519081900360200190f35b3480156103bd57600080fd5b506103d2600160a060020a0360043516610d60565b604080516003998a0b8a0b815297890b90980b6020880152600160f060020a0319909516868801526001608060020a031993841660608701529183166080860152821660a085015260c08401521660e08201529051908190036101000190f35b34801561043e57600080fd5b5061039f600160a060020a0360043516610dc9565b34801561045f57600080fd5b50610474600160a060020a0360043516610e66565b604080519115158252519081900360200190f35b34801561049457600080fd5b506104aa600160f060020a031960043516610e9d565b005b3480156104b857600080fd5b506104aa600160a060020a0360043516610edd565b3480156104d957600080fd5b506104aa600160a060020a0360043516610f2f565b3480156104fa57600080fd5b50610322610f81565b34801561050f57600080fd5b50610524600160a060020a0360043516610f90565b604080519485526020850193909352838301919091526060830152519081900360800190f35b34801561055657600080fd5b506104aa600160a060020a0360043581169060243516610fcc565b34801561057d57600080fd5b50610322611032565b34801561059257600080fd5b506104aa600160a060020a0360043516611041565b3480156105b357600080fd5b50610474600160a060020a0360043516611093565b3480156105d457600080fd5b506103226110e8565b3480156105e957600080fd5b506104aa60043515156110fe565b34801561060357600080fd5b506104aa611152565b6104aa600435600090810b906001608060020a03196024351690604435900b60643560010b608435151561118a565b34801561064757600080fd5b506104aa6114c4565b34801561065c57600080fd5b506104aa600435600160f060020a03196024351660443561183a565b34801561068457600080fd5b5061039f600160a060020a036004351661187c565b3480156106a557600080fd5b506104aa600160a060020a03600435166118e7565b3480156106c657600080fd5b506106cf611939565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561070b5781810151838201526020016106f3565b505050509050019250505060405180910390f35b34801561072b57600080fd5b506104aa600160a060020a036004351661199c565b34801561074c57600080fd5b506104aa600160a060020a03600435166119d8565b34801561076d57600080fd5b5061039f600160a060020a0360043516611a15565b34801561078e57600080fd5b50610474611a80565b3480156107a357600080fd5b506104aa600160f060020a031960043516611a89565b3480156107c557600080fd5b50610474600160a060020a0360043516611ac9565b3480156107e657600080fd5b506104aa600160a060020a0360043516611ade565b34801561080757600080fd5b50610474600160f060020a031960043516611b8c565b34801561082957600080fd5b50610322611ba1565b34801561083e57600080fd5b50610474600160a060020a0360043516611bb0565b34801561085f57600080fd5b506104aa600160a060020a0360043516611c0b565b34801561088057600080fd5b506104aa611c5f565b34801561089557600080fd5b5061039f600435600160f060020a031960243516611c99565b3480156108ba57600080fd5b50610322600435611cc1565b3480156108d257600080fd5b506104aa611ce9565b3480156108e757600080fd5b506103226120d6565b3480156108fc57600080fd5b506103226004356120e5565b34801561091457600080fd5b506104aa600160f060020a0319600435166024356120f3565b34801561093957600080fd5b506104aa600160f060020a03196004351661212b565b6104aa612168565b34801561096357600080fd5b506104aa600160a060020a0360043516612264565b34801561098457600080fd5b506104aa600160a060020a03600435166122a0565b3480156109a557600080fd5b506106cf600160f060020a0319600435166001608060020a0319602435166126ec565b3480156109d457600080fd5b506104aa600160f060020a031960043516612776565b3480156109f657600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526104aa948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506127b39650505050505050565b348015610a5f57600080fd5b50610474600160a060020a0360043516613a3c565b348015610a8057600080fd5b50610474600160f060020a031960043516613a51565b348015610aa257600080fd5b5061039f600160a060020a0360043516613a66565b348015610ac357600080fd5b506104aa600160a060020a0360043516613a81565b348015610ae457600080fd5b50610474613ad5565b348015610af957600080fd5b506106cf613ae4565b348015610b0e57600080fd5b506104aa600160a060020a0360043516602435613b44565b348015610b3257600080fd5b506104aa600160a060020a036004351661402d565b348015610b5357600080fd5b506104aa600160a060020a0360043516614092565b348015610b7457600080fd5b506104aa600160f060020a0319600435166024356144b9565b348015610b9957600080fd5b5061039f600160f060020a0319600435166144f1565b348015610bbb57600080fd5b50610bd0600160a060020a0360043516614503565b6040805160039d8e0b8e0b81529b8d0b909c0b60208c0152600160f060020a03199099168a8c01526001608060020a031997881660608b0152600096870b870b60808b01529490961660a089015291840b90930b60c0870152600192830b830b60e087015261010086015291151561012085015290151561014084015290810b900b6101608201529051908190036101800190f35b348015610c7157600080fd5b50610474614669565b348015610c8657600080fd5b506106cf600160f060020a0319600435166001608060020a031960243516614677565b348015610cb557600080fd5b50610474600160a060020a03600435166146ff565b348015610cd657600080fd5b506104aa600160a060020a0360043516614736565b348015610cf757600080fd5b5061039f600160a060020a03600435811690602435166147a8565b600c54600160a060020a031681565b600354600160a060020a031681565b600054600160a060020a031681565b600754600160a060020a031681565b600a6020526000908152604090205481565b600160a060020a0316600090815260186020526040902080546001820154600283015460039384015483850b95640100000000850490950b9460f060020a604060020a86040294608060020a605060020a90910481029480820294908290048202939092910290565b600d54604080517f78d0a415000000000000000000000000000000000000000000000000000000008152600160a060020a038481166004830152915160009392909216916378d0a4159160248082019260209290919082900301818787803b158015610e3457600080fd5b505af1158015610e48573d6000803e3d6000fd5b505050506040513d6020811015610e5e57600080fd5b505192915050565b600160a060020a038116600090815260186020526040902054604060020a900460f060020a02600160f060020a0319161515919050565b60015433600160a060020a03908116911614610eb857600080fd5b600160f060020a0319166000908152600960205260409020805460ff19166001179055565b60005433600160a060020a03908116911614610ef857600080fd5b600160a060020a0381161515610f0d57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a03908116911614610f4a57600080fd5b600160a060020a0381161515610f5f57600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b600254600160a060020a031681565b600160a060020a031660009081526010602090815260408083205460118352818420546012845282852054601390945291909320549293909290565b60005433600160a060020a03908116911614610fe757600080fd5b60175460ff1615610ff757600080fd5b600c8054600160a060020a03938416600160a060020a031991821617909155600d80549290931691161790556017805460ff19166001179055565b600e54600160a060020a031681565b60005433600160a060020a0390811691161461105c57600080fd5b600160a060020a038116151561107157600080fd5b60008054600160a060020a031916600160a060020a0392909216919091179055565b6007546040805160e160020a63660ea601028152600160a060020a0384811660048301529151600093929092169163cc1d4c029160248082019260209290919082900301818787803b158015610e3457600080fd5b60065463010000009004600160a060020a031681565b600160a060020a03331660009081526014602052604090206004015460ff1615158115151461114f5733600160a060020a03166000908152601460205260409020600401805460ff19168215151790555b50565b60005433600160a060020a0390811691161461116d57600080fd5b60065460ff16151561117e57600080fd5b6006805460ff19169055565b611193336146ff565b151561119e57600080fd5b33600160a060020a031660009081526014602052604081205460d060020a9004810b810b9086900b1461121957600160a060020a033316600090815260146020526040812080549187900b60ff1660d060020a027aff0000000000000000000000000000000000000000000000000000199092169190911790555b600160a060020a033316600090815260146020526040902060010154608060020a026001608060020a0319908116908516146112815733600160a060020a0316600090815260146020526040902060010180546001608060020a031916608060020a86041790555b600160a060020a033316600090815260146020526040812060010154608060020a9004810b810b9084900b146112f857600160a060020a033316600090815260146020526040812060010180549185900b60ff16608060020a0270ff00000000000000000000000000000000199092169190911790555b600160a060020a0333166000908152601460205260409020600190810154710100000000000000000000000000000000009004810b810b9083900b1461139257600160a060020a0333166000908152601460205260409020600190810180549184900b61ffff16710100000000000000000000000000000000000272ffff0000000000000000000000000000000000199092169190911790555b600160a060020a03331660009081526014602052604090206004015460ff161515811515146113e35733600160a060020a03166000908152601460205260409020600401805460ff19168215151790555b600034111561148957600d54604080517fe4651465000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523460248301819052925193169263e4651465929160448082019260209290919082900301818588803b15801561145b57600080fd5b505af115801561146f573d6000803e3d6000fd5b50505050506040513d602081101561148657600080fd5b50505b604051600160a060020a033316907fe3df84c3ca6a90f0e6485beae08e7bd034695356bec32910a3d62559ff33fbc890600090a25050505050565b6000806000806114d333610e66565b15156114de57600080fd5b33600160a060020a0316600090815260186020908152604080832060048101549054604060020a810460f060020a02600160f060020a031916855260198452828520605060020a909104608060020a026001608060020a0319168552909252909120805491955090600019810190811061155457fe5b600091825260208083209190910154600160a060020a03338116845260188352604080852054604060020a810460f060020a02600160f060020a031916865260198552818620605060020a909104608060020a026001608060020a0319168652909352919092208054919092169450849190869081106115d057fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055858316825260188152604080832060040188905533909316825282822054604060020a810460f060020a02600160f060020a031916835260198252838320605060020a909104608060020a026001608060020a03191683529052208054906116649060001983016148c4565b50600160a060020a033316600090815260186020526040902060050154601a805491935090600019810190811061169757fe5b600091825260209091200154601a8054600160a060020a0390921692508291849081106116c057fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790559183168152601890915260409020600501829055601a80549061170f9060001983016148c4565b50600160a060020a03338116600081815260186020526040808220805479ffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101839055600281018390556003810180546001608060020a03191690556004808201849055600582018490556006909101805460ff19169055600d5482517f3716f65d0000000000000000000000000000000000000000000000000000000081529182019490945290519290931692633716f65d926024808301939282900301818387803b1580156117df57600080fd5b505af11580156117f3573d6000803e3d6000fd5b505060408051600160a060020a033316815290517fe607eb1578eec3de556aa2d57f7ff9365c1706069a8959e794883eba60b043e39350908190036020019150a150505050565b60035433600160a060020a0390811691161461185557600080fd5b6000928352601b60209081526040808520600160f060020a03199094168552929052912055565b600d54604080517fa96b3ab8000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151600093929092169163a96b3ab89160248082019260209290919082900301818787803b158015610e3457600080fd5b60005433600160a060020a0390811691161461190257600080fd5b600160a060020a038116151561191757600080fd5b60038054600160a060020a031916600160a060020a0392909216919091179055565b6060601680548060200260200160405190810160405280929190818152602001828054801561199157602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311611973575b505050505090505b90565b60005433600160a060020a039081169116146119b757600080fd5b600160a060020a03166000908152600460205260409020805460ff19169055565b60035433600160a060020a039081169116146119f357600080fd5b600e8054600160a060020a031916600160a060020a0392909216919091179055565b600d54604080517f8d837f38000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291516000939290921691638d837f389160248082019260209290919082900301818787803b158015610e3457600080fd5b60065460ff1681565b60015433600160a060020a03908116911614611aa457600080fd5b600160f060020a0319166000908152600860205260409020805460ff19166001179055565b60046020526000908152604090205460ff1681565b60005433600160a060020a03908116911614611af957600080fd5b60065460ff161515611b0a57600080fd5b600d54604080517ff2fde38b000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163f2fde38b91602480830192600092919082900301818387803b158015611b7157600080fd5b505af1158015611b85573d6000803e3d6000fd5b5050505050565b60086020526000908152604090205460ff1681565b600d54600160a060020a031681565b6006546040805160e160020a63660ea601028152600160a060020a0384811660048301529151600093630100000090049092169163cc1d4c029160248082019260209290919082900301818787803b158015610e3457600080fd5b60005433600160a060020a03908116911614611c2657600080fd5b600160a060020a0381161515611c3b57600080fd5b600160a060020a03166000908152600460205260409020805460ff19166001179055565b60005433600160a060020a03908116911614611c7a57600080fd5b60065460ff1615611c8a57600080fd5b6006805460ff19166001179055565b6000918252601b60209081526040808420600160f060020a0319909316845291905290205490565b601a805482908110611ccf57fe5b600091825260209091200154600160a060020a0316905081565b600080600080611cf8336146ff565b1515611d0357600080fd5b33600160a060020a0316600090815260146020908152604080832060028101549054604060020a810460f060020a02600160f060020a031916855260158452828520605060020a909104608060020a026001608060020a03191685529092529091208054919550906000198101908110611d7957fe5b600091825260208083209190910154600160a060020a03338116845260148352604080852054604060020a810460f060020a02600160f060020a031916865260158552818620605060020a909104608060020a026001608060020a031916865290935291909220805491909216945084919086908110611df557fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055858316825260148152604080832060020188905533909316825282822054604060020a810460f060020a02600160f060020a031916835260158252838320605060020a909104608060020a026001608060020a0319168352905220805490611e899060001983016148c4565b50600160a060020a03331660009081526014602052604090206003015460168054919350906000198101908110611ebc57fe5b60009182526020909120015460168054600160a060020a039092169250829184908110611ee557fe5b60009182526020808320919091018054600160a060020a031916600160a060020a0394851617905591831681526014909152604090206003018290556016805490611f349060001983016148c4565b50600160a060020a0333811660008181526014602052604080822080547affffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101805475ffffffffffffffffffffffffffffffffffffffffffff1916905560028101839055600381018390556004908101805460ff19169055600d5482517fb71738f1000000000000000000000000000000000000000000000000000000008152918201949094529051929093169263b71738f1926024808301939282900301818387803b15801561200557600080fd5b505af1158015612019573d6000803e3d6000fd5b5050600d54604080517fd83edd70000000000000000000000000000000000000000000000000000000008152600160a060020a033381166004830152915191909216935063d83edd709250602480830192600092919082900301818387803b15801561208457600080fd5b505af1158015612098573d6000803e3d6000fd5b5050604051600160a060020a03331692507fb1e40dcb43d26b3a6cb20da12c333af5a0de0bcd6264eddca5fbacf3e31d4f949150600090a250505050565b600154600160a060020a031681565b6016805482908110611ccf57fe5b60015433600160a060020a0390811691161461210e57600080fd5b600160f060020a03199091166000908152600a6020526040902055565b60015433600160a060020a0390811691161461214657600080fd5b600160f060020a0319166000908152600960205260409020805460ff19169055565b612171336146ff565b151561217c57600080fd5b600d54604080517fe4651465000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301523460248301819052925193169263e4651465929160448082019260209290919082900301818588803b1580156121eb57600080fd5b505af11580156121ff573d6000803e3d6000fd5b50505050506040513d602081101561221657600080fd5b5051151561222357600080fd5b604080513481529051600160a060020a033316917ff424eeb50f7d240513b6dc4a39048768557d8465bdc7d2dd363ecc538006c2be919081900360200190a2565b60005433600160a060020a0390811691161461227f57600080fd5b600160a060020a03166000908152600560205260409020805460ff19169055565b33600160a060020a038116600090815260046020526040812054909182918291829160ff1615156122d057600080fd5b600160a060020a038616600090815260186020908152604080832060048101549054604060020a810460f060020a02600160f060020a031916855260198452828520605060020a909104608060020a026001608060020a0319168552909252909120805491965090600019810190811061234657fe5b600091825260208083209190910154600160a060020a03898116845260188352604080852054604060020a810460f060020a02600160f060020a031916865260198552818620605060020a909104608060020a026001608060020a0319168652909352919092208054919092169550859190879081106123c257fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790558683168252601881526040808320600401899055928916825282822054604060020a810460f060020a02600160f060020a031916835260198252838320605060020a909104608060020a026001608060020a03191683529052208054906124559060001983016148c4565b50600160a060020a038616600090815260186020526040902060050154601a805491945090600019810190811061248857fe5b600091825260209091200154601a8054600160a060020a0390921693508391859081106124b157fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790559184168152601890915260409020600501839055601a8054906125009060001983016148c4565b50600160a060020a03861660009081526018602052604090206006015460ff1615156125aa57600d54604080517f3716f65d000000000000000000000000000000000000000000000000000000008152600160a060020a03898116600483015291519190921691633716f65d91602480830192600092919082900301818387803b15801561258d57600080fd5b505af11580156125a1573d6000803e3d6000fd5b50505050612635565b600d54600254604080517f7139b595000000000000000000000000000000000000000000000000000000008152600160a060020a038a81166004830152928316602482015290519190921691637139b59591604480830192600092919082900301818387803b15801561261c57600080fd5b505af1158015612630573d6000803e3d6000fd5b505050505b600160a060020a038087166000818152601860209081526040808320805479ffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101849055600281018490556003810180546001608060020a03191690556004810184905560058101939093556006909201805460ff191690558151928352905133909316927f34fe9e989d541054eb508f79a2e9b0bc3aa3d7ff2f2ded4f1f6b2819aaec86a39281900390910190a2505050505050565b600160f060020a0319821660009081526019602090815260408083206001608060020a03198516845282529182902080548351818402810184019094528084526060939283018282801561276957602002820191906000526020600020905b8154600160a060020a0316815260019091019060200180831161274b575b5050505050905092915050565b60015433600160a060020a0390811691161461279157600080fd5b600160f060020a0319166000908152600860205260409020805460ff19169055565b60065460009081908190819060ff16156127cc57600080fd5b6006546040805160e160020a63660ea601028152600160a060020a038a8116600483015291518a93630100000090049092169163cc1d4c02916024808201926020929091908290030181600087803b15801561282757600080fd5b505af115801561283b573d6000803e3d6000fd5b505050506040513d602081101561285157600080fd5b5051151561285e57600080fd5b600c5433600160a060020a0390811691161461287957600080fd5b61288a86600063ffffffff6147d316565b945060f860020a6128a287600163ffffffff6147d316565b600160f860020a031916146128ce576128c286600263ffffffff6147fb16565b60e060020a90046128eb565b6128df86600263ffffffff6147fb16565b60e060020a9004600019025b935060f860020a61290387600663ffffffff6147d316565b600160f860020a0319161461292f5761292386600763ffffffff6147fb16565b60e060020a900461294c565b61294086600763ffffffff6147fb16565b60e060020a9004600019025b9250600160f860020a031985167f31000000000000000000000000000000000000000000000000000000000000001415612eac57600a600061299588600b63ffffffff61481116565b600160f060020a03191681526020810191909152604001600020548710156129bc57600080fd5b6129c588610e66565b156129cf57600080fd5b600860006129e488600b63ffffffff61481116565b600160f060020a031916815260208101919091526040016000205460ff161515612a0d57600080fd5b600160a060020a0388166000908152601860205260409020805463ffffffff1916600386810b63ffffffff9081169290921767ffffffff0000000019166401000000009187900b83169190910217909155612a6d908790600b9061481116565b600160a060020a0389166000908152601860205260409020805460f060020a909204604060020a0269ffff000000000000000019909216919091179055612abb86600d63ffffffff61482716565b600160a060020a03891660009081526018602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff0000000000000000000019909216919091179055612b1986601d63ffffffff61482716565b600160a060020a038916600090815260186020526040902060010180546001608060020a031916608060020a909204919091179055612b5986602d614827565b600160a060020a038916600090815260186020526040902060010180546fffffffffffffffffffffffffffffffff16608060020a92839004909202919091179055612ba586603d61483d565b600160a060020a038916600090815260186020526040902060020155612bd286605d63ffffffff61482716565b600160a060020a03891660008181526018602052604081206003810180546001608060020a031916608060020a90950494909417909355601a805460018181019092557f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e81018054600160a060020a031916909417909355600590930191909155601990612c6189600b614811565b600160f060020a03191681526020810191909152604001600090812090612c8f89600d63ffffffff61482716565b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000208990806001815401808255809150509060018203906000526020600020016000909192909190916101000a815481600160a060020a030219169083600160a060020a0316021790555003601860008a600160a060020a0316600160a060020a03168152602001908152602001600020600401819055507ff45ad76a8c4c14053708bfd052607c5e35446beb04fbdff6f2f3c9dde8e83b37886040518082600160a060020a0316600160a060020a0316815260200191505060405180910390a1600d54604080517fd4d84da5000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152602482018b90529151919092169163d4d84da591604480830192600092919082900301818387803b158015612df057600080fd5b505af1158015612e04573d6000803e3d6000fd5b5050600c54600d54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152602481018d9052905191909216935063a9059cbb925060448083019260209291908290030181600087803b158015612e7a57600080fd5b505af1158015612e8e573d6000803e3d6000fd5b505050506040513d6020811015612ea457600080fd5b50613a329050565b600160f860020a031985167f320000000000000000000000000000000000000000000000000000000000000014156134ec57600b6000612ef2888363ffffffff61481116565b600160f060020a0319168152602081019190915260400160002054871015612f1957600080fd5b612f22886146ff565b15612f2c57600080fd5b60096000612f4188600b63ffffffff61481116565b600160f060020a031916815260208101919091526040016000205460ff161515612f6a57600080fd5b600160a060020a0388166000908152601460205260409020805463ffffffff1916600386810b63ffffffff9081169290921767ffffffff0000000019166401000000009187900b83169190910217909155612fca908790600b9061481116565b600160a060020a0389166000908152601460205260409020805460f060020a909204604060020a0269ffff00000000000000001990921691909117905561301886600d63ffffffff61482716565b600160a060020a03891660009081526014602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff000000000000000000001990921691909117905561307686601d63ffffffff6147d316565b600160a060020a0389166000908152601460205260408120600101805460f860020a90930490910b60ff16608060020a0270ff00000000000000000000000000000000199092169190911790556130d486601e63ffffffff6147d316565b600160a060020a0389166000908152601460205260408120805460f860020a90930490910b60ff1660d060020a027aff00000000000000000000000000000000000000000000000000001990921691909117905561313986601f63ffffffff61482716565b600160a060020a038916600090815260146020526040902060010180546001608060020a031916608060020a90920491909117905561317986602f614811565b600160a060020a03891660009081526014602052604090206001908101805460f060020a90930490910b61ffff16710100000000000000000000000000000000000272ffff00000000000000000000000000000000001990921691909117905560f860020a6131ef87603163ffffffff6147d316565b600160f860020a03191614613205576000613208565b60015b600160a060020a038916600090815260146020526040902060010180549115157301000000000000000000000000000000000000000273ff000000000000000000000000000000000000001990921691909117905561326e86603263ffffffff61481116565b600160a060020a03891660008181526014602052604081206001808201805460f060020a909604820b61ffff16740100000000000000000000000000000000000000000275ffff00000000000000000000000000000000000000001990961695909517909455601680548086019091557fd833147d7dc355ba459fc788f669e58cfaf9dc25ddcd0702e87d69c7b512428981018054600160a060020a031916851790559282526003019190915560159061332f89600b63ffffffff61481116565b600160f060020a0319168152602081019190915260400160009081209061335d89600d63ffffffff61482716565b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000208990806001815401808255809150509060018203906000526020600020016000909192909190916101000a815481600160a060020a030219169083600160a060020a0316021790555003601460008a600160a060020a0316600160a060020a03168152602001908152602001600020600201819055506001601460008a600160a060020a0316600160a060020a0316815260200190815260200160002060040160006101000a81548160ff02191690831515021790555087600160a060020a03167fdc94eebf39359cb097be68bd4890a58fce65c66d2d284d4349f666013dc8a43d60405160405180910390a2600d54604080517f18a6d58b000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152602482018b9052915191909216916318a6d58b91604480830192600092919082900301818387803b158015612df057600080fd5b600160f860020a031985167f33000000000000000000000000000000000000000000000000000000000000001415613a3257600254600160a060020a0389811691161461353857600080fd5b600a600061354d88600b63ffffffff61481116565b600160f060020a031916815260208101919091526040016000205487101561357457600080fd5b61358d61358887606d63ffffffff61485316565b610e66565b1561359757600080fd5b600860006135ac88600b63ffffffff61481116565b600160f060020a031916815260208101919091526040016000205460ff1615156135d557600080fd5b6135e686606d63ffffffff61485316565b600160a060020a0381166000908152601860205260409020805463ffffffff1916600387810b63ffffffff9081169290921767ffffffff0000000019166401000000009188900b83169190910217909155909250613649908790600b9061481116565b600160a060020a0383166000908152601860205260409020805460f060020a909204604060020a0269ffff00000000000000001990921691909117905561369786600d63ffffffff61482716565b600160a060020a03831660009081526018602052604090208054608060020a909204605060020a0279ffffffffffffffffffffffffffffffff00000000000000000000199092169190911790556136f586601d63ffffffff61482716565b600160a060020a038316600090815260186020526040902060010180546001608060020a031916608060020a90920491909117905561373586602d614827565b600160a060020a038316600090815260186020526040902060010180546fffffffffffffffffffffffffffffffff16608060020a9283900490920291909117905561378186603d61483d565b600160a060020a0383166000908152601860205260409020600201556137ae86605d63ffffffff61482716565b600160a060020a03831660008181526018602052604081206003810180546001608060020a031916608060020a90950494909417909355601a805460018181019092557f057c384a7d1c54f3a1b2e5e67b2617b8224fdfd1ea7234eea573a6ff665ff63e81018054600160a060020a03191690941790935560059093019190915560199061383d89600b614811565b600160f060020a0319168152602081019190915260400160009081209061386b89600d63ffffffff61482716565b6001608060020a03191681526020808201929092526040908101600090812080546001808201835591835284832081018054600160a060020a031916600160a060020a038a169081179091558084526018865292849020959003810160048601556006909401805460ff19169094179093558051928352517ff45ad76a8c4c14053708bfd052607c5e35446beb04fbdff6f2f3c9dde8e83b379281900390910190a1600d54604080517fd4d84da5000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152602482018b90529151919092169163d4d84da591604480830192600092919082900301818387803b15801561397b57600080fd5b505af115801561398f573d6000803e3d6000fd5b5050600c54600d54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a039283166004820152602481018d9052905191909216935063a9059cbb925060448083019260209291908290030181600087803b158015613a0557600080fd5b505af1158015613a19573d6000803e3d6000fd5b505050506040513d6020811015613a2f57600080fd5b50505b5050505050505050565b60056020526000908152604090205460ff1681565b60096020526000908152604090205460ff1681565b600160a060020a031660009081526013602052604090205490565b60005433600160a060020a03908116911614613a9c57600080fd5b600160a060020a0381161515613ab157600080fd5b600160a060020a03166000908152600560205260409020805460ff19166001179055565b60065462010000900460ff1681565b6060601a80548060200260200160405190810160405280929190818152602001828054801561199157602002820191906000526020600020908154600160a060020a03168152600190910190602001808311611973575050505050905090565b60065460009060ff1615613b5757600080fd5b33600160a060020a0381166000908152601460205260408120548491604060020a90910460f060020a0290808080613ba8613b9188611093565b613b9c576001613b9f565b60025b60ff1686611c99565b9350613c32600e60009054906101000a9004600160a060020a0316600160a060020a03166350ccf36b6040518163ffffffff1660e060020a028152600401602060405180830381600087803b158015613c0057600080fd5b505af1158015613c14573d6000803e3d6000fd5b505050506040513d6020811015613c2a57600080fd5b505185614883565b600d54604080517fad71766e000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152915193965091169163ad71766e916024808201926020929091908290030181600087803b158015613c9c57600080fd5b505af1158015613cb0573d6000803e3d6000fd5b505050506040513d6020811015613cc657600080fd5b50519150613cd482876148b5565b905082811115613ce357600080fd5b613cec336146ff565b1515613cf757600080fd5b33600160a060020a03168a600160a060020a031614151515613d1857600080fd5b600d54604080517ff5923a6e000000000000000000000000000000000000000000000000000000008152600160a060020a0333811660048301528d81166024830152604482018d90529151919092169163f5923a6e91606480830192600092919082900301818387803b158015613d8e57600080fd5b505af1158015613da2573d6000803e3d6000fd5b50506006546040805160e160020a63660ea601028152600160a060020a038f8116600483015291516301000000909304909116935063cc1d4c0292506024808201926020929091908290030181600087803b158015613e0057600080fd5b505af1158015613e14573d6000803e3d6000fd5b505050506040513d6020811015613e2a57600080fd5b505115613fd657600160a060020a033381166000908152600f60209081526040808320938e16835292905220549750871515613e8f57600160a060020a033381166000908152600f60209081526040808320938e168352929052206127109081905597505b600160a060020a033316600090815260136020526040902054613ec890612710613eb98c8c614883565b811515613ec257fe5b046148b5565b600160a060020a0333166000908152601360205260409020556064613eee89604f614883565b811515613ef757fe5b04600f600033600160a060020a0316600160a060020a0316815260200190815260200160002060008c600160a060020a0316600160a060020a0316815260200190815260200160002081905550613f73601060008c600160a060020a0316600160a060020a03168152602001908152602001600020548a6148b5565b600160a060020a03808c1660009081526010602090815260408083209490945533909216815260119091522054613faa908a6148b5565b600160a060020a0333166000908152601160209081526040808320939093556012905220805460010190555b89600160a060020a031633600160a060020a03167f3990db2d31862302a685e8086b5755072a6e2b5b780af1ee81ece35ee3cd33458b6040518082815260200191505060405180910390a350505050505050505050565b60005433600160a060020a0390811691161461404857600080fd5b60065462010000900460ff161561405e57600080fd5b60078054600160a060020a03909216600160a060020a03199092169190911790556006805462ff0000191662010000179055565b33600160a060020a038116600090815260056020526040812054909182918291829160ff1615156140c257600080fd5b6140cb866146ff565b15156140d657600080fd5b600160a060020a038616600090815260146020908152604080832060028101549054604060020a810460f060020a02600160f060020a031916855260158452828520605060020a909104608060020a026001608060020a0319168552909252909120805491965090600019810190811061414c57fe5b600091825260208083209190910154600160a060020a03898116845260148352604080852054604060020a810460f060020a02600160f060020a031916865260158552818620605060020a909104608060020a026001608060020a0319168652909352919092208054919092169550859190879081106141c857fe5b60009182526020808320919091018054600160a060020a031916600160a060020a039485161790558683168252601481526040808320600201899055928916825282822054604060020a810460f060020a02600160f060020a031916835260158252838320605060020a909104608060020a026001608060020a031916835290522080549061425b9060001983016148c4565b50600160a060020a0386166000908152601460205260409020600301546016805491945090600019810190811061428e57fe5b60009182526020909120015460168054600160a060020a0390921693508391859081106142b757fe5b60009182526020808320919091018054600160a060020a031916600160a060020a03948516179055918416815260149091526040902060030183905560168054906143069060001983016148c4565b50600160a060020a0380871660008181526014602052604080822080547affffffffffffffffffffffffffffffffffffffffffffffffffffff1916815560018101805475ffffffffffffffffffffffffffffffffffffffffffff1916905560028101839055600381018390556004908101805460ff19169055600d5482517fb71738f1000000000000000000000000000000000000000000000000000000008152918201949094529051929093169263b71738f1926024808301939282900301818387803b1580156143d757600080fd5b505af11580156143eb573d6000803e3d6000fd5b5050600d54604080517fd83edd70000000000000000000000000000000000000000000000000000000008152600160a060020a038b81166004830152915191909216935063d83edd709250602480830192600092919082900301818387803b15801561445657600080fd5b505af115801561446a573d6000803e3d6000fd5b505060408051600160a060020a038a811682529151339290921693507fcf9fc954c975d15bad8f5fa3c1cd94f55105a98b1ecf33021ebb059122277f8f925081900360200190a2505050505050565b60015433600160a060020a039081169116146144d457600080fd5b600160f060020a03199091166000908152600b6020526040902055565b600b6020526000908152604090205481565b600160a060020a0380821660008181526014602090815260408083208054600180830154600480850154600d5487517f8d837f380000000000000000000000000000000000000000000000000000000081529283019a909a529551600385810b9b640100000000870490910b9a60f060020a604060020a8804029a608060020a605060020a890481029b60d060020a909904820b9a8782029a918804830b997101000000000000000000000000000000000089048a0b99939860ff928316987301000000000000000000000000000000000000008204909316977401000000000000000000000000000000000000000090910490940b95929490921692638d837f389260248084019391929182900301818b87803b15801561462457600080fd5b505af1158015614638573d6000803e3d6000fd5b505050506040513d602081101561464e57600080fd5b50519c9e9b9d50999b989a9799509597949693959193909250565b600654610100900460ff1681565b600160f060020a0319821660009081526015602090815260408083206001608060020a03198516845282529182902080548351818402810184019094528084526060939283018282801561276957602002820191906000526020600020908154600160a060020a0316815260019091019060200180831161274b575050505050905092915050565b600160a060020a038116600090815260146020526040902054604060020a900460f060020a02600160f060020a0319161515919050565b60005433600160a060020a0390811691161461475157600080fd5b600654610100900460ff161561476657600080fd5b6006805461ff0019600160a060020a0390931663010000000276ffffffffffffffffffffffffffffffffffffffff000000199091161791909116610100179055565b600160a060020a039182166000908152600f6020908152604080832093909416825291909152205490565b600080826001018451101515156147e957600080fd5b505081810160200151805b5092915050565b600080826004018451101515156147e957600080fd5b600080826002018451101515156147e957600080fd5b600080826010018451101515156147e957600080fd5b600080826020018451101515156147e957600080fd5b6000808260140184511015151561486957600080fd5b505001602001516c01000000000000000000000000900490565b60008083151561489657600091506147f4565b508282028284828115156148a657fe5b04146148ae57fe5b9392505050565b6000828201838110156148ae57fe5b8154818355818111156148e8576000838152602090206148e89181019083016148ed565b505050565b61199991905b8082111561490757600081556001016148f3565b50905600a165627a7a7230582049fe5fd23612987a02ea7d08604a3e6537f671262c58a558b189af2519abff930029", + "sourceMap": "1272:21946:1:-;;;1814:26:0;;;-1:-1:-1;;286:24:2;;;4426:22:1;;;-1:-1:-1;;4426:22:1;;;5650:55;5:2:-1;;;;30:1;27;20:12;5:2;-1:-1;5677:10:1;:23;;-1:-1:-1;;;;;5690:10:1;5677:23;-1:-1:-1;;;;;;5677:23:1;;;;;;1272:21946;;;;;;", + "deployedSourceMap": "1272:21946:1:-;;;;;;;;;-1:-1:-1;;;1272:21946:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2585:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2585:22:1;;;;;;;;-1:-1:-1;;;;;2585:22:1;;;;;;;;;;;;;;1438:25:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1438:25:0;;;;1323;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1323:25:0;;;;593:29:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;593:29:2;;;;1123:42;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1123:42:2;-1:-1:-1;;;;;;1123:42:2;;;;;;;;;;;;;;;;;;;;;20617:489:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;20617:489:1;-1:-1:-1;;;;;20617:489:1;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20617:489:1;;;;;;;-1:-1:-1;;;;;;20617:489:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22929:113;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22929:113:1;-1:-1:-1;;;;;22929:113:1;;;;;22021;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22021:113:1;-1:-1:-1;;;;;22021:113:1;;;;;;;;;;;;;;;;;;;;;;;2628:105:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2628:105:2;-1:-1:-1;;;;;;2628:105:2;;;;;;;2917:127:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2917:127:0;-1:-1:-1;;;;;2917:127:0;;;;;3050;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3050:127:0;-1:-1:-1;;;;;3050:127:0;;;;;1385:25;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1385:25:0;;;;21167:306:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;21167:306:1;-1:-1:-1;;;;;21167:306:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5708:180;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5708:180:1;-1:-1:-1;;;;;5708:180:1;;;;;;;;;;2686:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2686:37:1;;;;2645:127:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2645:127:0;-1:-1:-1;;;;;2645:127:0;;;;;1708:105:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1708:105:2;-1:-1:-1;;;;;1708:105:2;;;;;560:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;560:29:2;;;;15291:138:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;15291:138:1;;;;;;;4742:126:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4742:126:0;;;;11243:772:1;;;;;;;;;-1:-1:-1;;;;;;11243:772:1;;;;;;;;;;;;;;;;;;17816:854;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17816:854:1;;;;12168:143;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12168:143:1;;;-1:-1:-1;;;;;;12168:143:1;;;;;;;22763:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22763:105:1;-1:-1:-1;;;;;22763:105:1;;;;;3183:127:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3183:127:0;-1:-1:-1;;;;;3183:127:0;;;;;22441:85:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22441:85:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;22441:85:1;;;;;;;;;;;;;;;;;3474:115:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3474:115:0;-1:-1:-1;;;;;3474:115:0;;;;;5892:121:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5892:121:1;-1:-1:-1;;;;;5892:121:1;;;;;21520:117;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;21520:117:1;-1:-1:-1;;;;;21520:117:1;;;;;1814:26:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1814:26:0;;;;2418:101:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2418:101:2;-1:-1:-1;;;;;;2418:101:2;;;;;1495:47:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1495:47:0;-1:-1:-1;;;;;1495:47:0;;;;;23086:130:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;23086:130:1;-1:-1:-1;;;;;23086:130:1;;;;;787:48:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;787:48:2;-1:-1:-1;;;;;;787:48:2;;;;;2659:22:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2659:22:1;;;;1597:105:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1597:105:2;-1:-1:-1;;;;;1597:105:2;;;;;3316:152:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3316:152:0;-1:-1:-1;;;;;3316:152:0;;;;;4384:78;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4384:78:0;;;;12314:146:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12314:146:1;;;-1:-1:-1;;;;;;12314:146:1;;;;;5548:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5548:26:1;;;;;15759:936;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15759:936:1;;;;1354:25:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1354:25:0;;;;4351:28:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4351:28:1;;;;;2182:113:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2182:113:2;-1:-1:-1;;;;;;2182:113:2;;;;;;;2736:107;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2736:107:2;-1:-1:-1;;;;;;2736:107:2;;;;;15507:191:1;;;;3757:119:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3757:119:0;-1:-1:-1;;;;;3757:119:0;;;;;18733:982:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;18733:982:1;-1:-1:-1;;;;;18733:982:1;;;;;21748:143;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;21748:143:1;-1:-1:-1;;;;;;21748:143:1;;;-1:-1:-1;;;;;;21748:143:1;;;;;2522:103:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2522:103:2;-1:-1:-1;;;;;;2522:103:2;;;;;6660:4430:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6660:4430:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6660:4430:1;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6660:4430:1;;-1:-1:-1;6660:4430:1;;-1:-1:-1;;;;;;;6660:4430:1;1603:49:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1603:49:0;-1:-1:-1;;;;;1603:49:0;;;;;839:50:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;839:50:2;-1:-1:-1;;;;;;839:50:2;;;;;13415:105:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;13415:105:1;-1:-1:-1;;;;;13415:105:1;;;;;3595:156:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3595:156:0;-1:-1:-1;;;;;3595:156:0;;;;;286:24:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;286:24:2;;;;21936:81:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21936:81:1;;;;13669:1557;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;13669:1557:1;-1:-1:-1;;;;;13669:1557:1;;;;;;;2026:153:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2026:153:2;-1:-1:-1;;;;;2026:153:2;;;;;16759:993:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;16759:993:1;-1:-1:-1;;;;;16759:993:1;;;;;2298:117:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2298:117:2;-1:-1:-1;;;;;;2298:117:2;;;;;;;1169:44;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1169:44:2;-1:-1:-1;;;;;;1169:44:2;;;;;19785:749:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;19785:749:1;-1:-1:-1;;;;;19785:749:1;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19785:749:1;;;;;;;-1:-1:-1;;;;;;19785:749:1;;;;;;;-1:-1:-1;19785:749:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;258:24:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;258:24:2;;;;22247:147:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22247:147:1;-1:-1:-1;;;;;;22247:147:1;;;-1:-1:-1;;;;;;22247:147:1;;;;;22559:122;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;22559:122:1;-1:-1:-1;;;;;22559:122:1;;;;;1839:153:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1839:153:2;-1:-1:-1;;;;;1839:153:2;;;;;13272:139:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;13272:139:1;-1:-1:-1;;;;;13272:139:1;;;;;;;;;;2585:22;;;-1:-1:-1;;;;;2585:22:1;;:::o;1438:25:0:-;;;-1:-1:-1;;;;;1438:25:0;;:::o;1323:::-;;;-1:-1:-1;;;;;1323:25:0;;:::o;593:29:2:-;;;-1:-1:-1;;;;;593:29:2;;:::o;1123:42::-;;;;;;;;;;;;;:::o;20617:489:1:-;-1:-1:-1;;;;;20853:11:1;20674:9;20853:11;;;:4;:11;;;;;20876;;;20994;;;21050:19;;;;20876:11;21085:15;;;;20876:11;;;;20899;;;;;;;-1:-1:-1;;;;;;20928:17:1;;;;-1:-1:-1;;;;;;20964:18:1;;;;;;20994:11;;;;21018:12;;;;;;;21050:19;;21085:15;;;20617:489::o;22929:113::-;23011:4;;:26;;;;;;-1:-1:-1;;;;;23011:26:1;;;;;;;;;22992:4;;23011;;;;;:17;;:26;;;;;;;;;;;;;;;22992:4;23011;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;23011:26:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23011:26:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23011:26:1;;22929:113;-1:-1:-1;;22929:113:1:o;22021:::-;-1:-1:-1;;;;;22092:11:1;;22073:4;22092:11;;;:4;:11;;;;;:21;-1:-1:-1;;;22092:21:1;;-1:-1:-1;;;22092:21:1;-1:-1:-1;;;;;;22092:36:1;;;22021:113;;;:::o;2628:105:2:-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2692:29:2;;;;;:19;:29;;;;;:36;;-1:-1:-1;;2692:36:2;2724:4;2692:36;;;2628:105::o;2917:127:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;2985:21:0;;;;2977:30;;;;;;3017:10;:20;;-1:-1:-1;;;;;;3017:20:0;-1:-1:-1;;;;;3017:20:0;;;;;;;;;;2917:127::o;3050:::-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3118:21:0;;;;3110:30;;;;;;3150:10;:20;;-1:-1:-1;;;;;;3150:20:0;-1:-1:-1;;;;;3150:20:0;;;;;;;;;;3050:127::o;1385:25::-;;;-1:-1:-1;;;;;1385:25:0;;:::o;21167:306:1:-;-1:-1:-1;;;;;21331:18:1;21227:14;21331:18;;;:9;:18;;;;;;;;;21369:10;:19;;;;;;21406:7;:16;;;;;;21446:13;:22;;;;;;;;21331:18;;21369:19;;21446:22;21167:306::o;5708:180::-;1954:10:0;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;5792:9:1;;;;5791:10;5783:19;;;;;;5808:3;:23;;-1:-1:-1;;;;;5808:23:1;;;-1:-1:-1;;;;;;5808:23:1;;;;;;;5837:4;:24;;;;;;;;;;;5867:9;:16;;-1:-1:-1;;5867:16:1;5808:23;5867:16;;;5708:180::o;2686:37::-;;;-1:-1:-1;;;;;2686:37:1;;:::o;2645:127:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;2713:21:0;;;;2705:30;;;;;;2745:10;:20;;-1:-1:-1;;;;;;2745:20:0;-1:-1:-1;;;;;2745:20:0;;;;;;;;;;2645:127::o;1708:105:2:-;1779:12;;:29;;;-1:-1:-1;;;;;1779:29:2;;-1:-1:-1;;;;;1779:29:2;;;;;;;;;1760:4;;1779:12;;;;;:22;;:29;;;;;;;;;;;;;;;1760:4;1779:12;:29;;;5:2:-1;;;;30:1;27;20:12;560:29:2;;;;;;-1:-1:-1;;;;;560:29:2;;:::o;15291:138:1:-;-1:-1:-1;;;;;15353:10:1;15346:18;;;;;:6;:18;;;;;:25;;;;;:36;;;;;;15342:82;;15396:10;-1:-1:-1;;;;;15389:18:1;;;;;:6;:18;;;;;:25;;:35;;-1:-1:-1;;15389:35:1;;;;;;;15342:82;15291:138;:::o;4742:126:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;4206:6;;;;4198:15;;;;;;;;4847:6;:14;;-1:-1:-1;;4847:14:0;;;4742:126::o;11243:772:1:-;11396:20;11405:10;11396:8;:20::i;:::-;11388:29;;;;;;;;11448:10;-1:-1:-1;;;;;11441:18:1;;;;;:6;:18;;;;;:29;-1:-1:-1;;;11441:29:1;;;;11427:43;;;;;;;11423:95;;-1:-1:-1;;;;;11483:10:1;11476:18;;;;;:6;:18;;;;;:42;;;;;;;;-1:-1:-1;;;11476:42:1;-1:-1:-1;;11476:42:1;;;;;;;;;11423:95;-1:-1:-1;;;;;11535:10:1;11528:18;;;;;:6;:18;;;;;:28;;;-1:-1:-1;;;11528:28:1;-1:-1:-1;;;;;;11528:41:1;;;;;;;11524:92;;11583:10;-1:-1:-1;;;;;11576:18:1;;;;;:6;:18;;;;;:28;;:40;;-1:-1:-1;;;;;;11576:40:1;-1:-1:-1;;;11576:40:1;;;;;11524:92;-1:-1:-1;;;;;11633:10:1;11626:18;:39;:18;;;:6;:18;;;;;:27;;;-1:-1:-1;;;11626:27:1;;;;:39;;;;;;;11622:88;;-1:-1:-1;;;;;11679:10:1;11672:18;;;;;:6;:18;;;;;:27;;:38;;;;;;;;-1:-1:-1;;;11672:38:1;-1:-1:-1;;11672:38:1;;;;;;;;;11622:88;-1:-1:-1;;;;;11727:10:1;11720:18;;;;;:6;:18;;;;;:33;:24;;;;;;;;;:33;;;;;;;11716:76;;-1:-1:-1;;;;;11767:10:1;11760:18;;;;;:6;:18;;;;;:24;;;;:32;;;;;;;;;;-1:-1:-1;;11760:32:1;;;;;;;;;11716:76;-1:-1:-1;;;;;11809:10:1;11802:18;;;;;:6;:18;;;;;:25;;;;;:35;;;;;;11798:81;;11852:10;-1:-1:-1;;;;;11845:18:1;;;;;:6;:18;;;;;:25;;:34;;-1:-1:-1;;11845:34:1;;;;;;;11798:81;11901:1;11889:9;:13;11885:91;;;11912:4;;:57;;;;;;-1:-1:-1;;;;;11947:10:1;11912:57;;;;;;11936:9;11912:57;;;;;;;;:4;;;:17;;11936:9;11912:57;;;;;;;;;;;;;;;11936:9;11912:4;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;11912:57:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11912:57:1;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;11885:91:1;11986:24;;-1:-1:-1;;;;;11999:10:1;11986:24;;;;;;;11243:772;;;;;:::o;17816:854::-;17886:17;17938:18;18342:17;18397:18;17861;17868:10;17861:6;:18::i;:::-;17853:27;;;;;;;;17911:10;-1:-1:-1;;;;;17906:16:1;;;;;:4;:16;;;;;;;;:26;;;;17970;;-1:-1:-1;;;17970:26:1;;-1:-1:-1;;;17970:26:1;-1:-1:-1;;;;;;17959:38:1;;;:10;:38;;;;;-1:-1:-1;;;17998:27:1;;;-1:-1:-1;;;17998:27:1;-1:-1:-1;;;;;;17959:67:1;;;;;;;;;18027:74;;17906:26;;-1:-1:-1;17959:67:1;-1:-1:-1;;18027:78:1;;;17959:147;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18128:10:1;18123:16;;;;:4;:16;;;;;;:26;-1:-1:-1;;;18123:26:1;;-1:-1:-1;;;18123:26:1;-1:-1:-1;;;;;;18112:38:1;;;:10;:38;;;;;-1:-1:-1;;;18151:27:1;;;-1:-1:-1;;;18151:27:1;-1:-1:-1;;;;;;18112:67:1;;;;;;;;;;:81;;17959:147;;;;;-1:-1:-1;17959:147:1;;18112:67;18180:12;;18112:81;;;;;;;;;;;;;;;;;;:94;;-1:-1:-1;;;;;;18112:94:1;-1:-1:-1;;;;;18112:94:1;;;;;;18212:16;;;;;:4;:16;;;;;;:26;;:41;;;18275:10;18270:16;;;;;;;;:26;-1:-1:-1;;;18270:26:1;;-1:-1:-1;;;18270:26:1;-1:-1:-1;;;;;;18259:38:1;;;:10;:38;;;;;-1:-1:-1;;;18298:27:1;;;-1:-1:-1;;;18298:27:1;-1:-1:-1;;;;;;18259:67:1;;;;;;:76;;;;;-1:-1:-1;;18259:76:1;;;:::i;:::-;-1:-1:-1;;;;;;18367:10:1;18362:16;;;;;:4;:16;;;;;:29;;;18418:9;18428:16;;18362:29;;-1:-1:-1;18418:9:1;-1:-1:-1;;18428:20:1;;;18418:31;;;;;;;;;;;;;;;;18455:9;:23;;-1:-1:-1;;;;;18418:31:1;;;;-1:-1:-1;18418:31:1;;18465:12;;18455:23;;;;;;;;;;;;;;;;;;:36;;-1:-1:-1;;;;;;18455:36:1;-1:-1:-1;;;;;18455:36:1;;;;;;18497:16;;;;;:4;:16;;;;;;:29;;:44;;;18547:9;:18;;;;;-1:-1:-1;;18547:18:1;;;:::i;:::-;-1:-1:-1;;;;;;18583:10:1;18578:16;;;;;;:4;:16;;;;;;18571:23;;-1:-1:-1;;18571:23:1;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18571:23:1;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18571:23:1;;;18600:4;;:32;;;;;;;;;;;;;;:4;;;;;:20;;:32;;;;;18578:16;18600:32;;;;;18578:16;18600:4;:32;;;5:2:-1;;;;30:1;27;20:12;5:2;18600:32:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;18643:22:1;;;-1:-1:-1;;;;;18654:10:1;18643:22;;;;;;;-1:-1:-1;18643:22:1;;;;;;;-1:-1:-1;18643:22:1;17816:854;;;;:::o;12168:143::-;2268:10:0;;2254;-1:-1:-1;;;;;2254:24:0;;;2268:10;;2254:24;2246:33;;;;;;12266:16:1;;;;:9;:16;;;;;;;;-1:-1:-1;;;;;;12266:28:1;;;;;;;;;;:40;12168:143::o;22763:105::-;22841:4;;:22;;;;;;-1:-1:-1;;;;;22841:22:1;;;;;;;;;22822:4;;22841;;;;;:15;;:22;;;;;;;;;;;;;;;22822:4;22841;:22;;;5:2:-1;;;;30:1;27;20:12;3183:127:0;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3251:21:0;;;;3243:30;;;;;;3283:10;:20;;-1:-1:-1;;;;;;3283:20:0;-1:-1:-1;;;;;3283:20:0;;;;;;;;;;3183:127::o;22441:85:1:-;22487:9;22510:11;22503:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22503:18:1;;;;;;;;;;;;;;;;;;;;;;;22441:85;;:::o;3474:115:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3548:26:0;3577:5;3548:26;;;:14;:26;;;;;:34;;-1:-1:-1;;3548:34:0;;;3474:115::o;5892:121:1:-;2268:10:0;;2254;-1:-1:-1;;;;;2254:24:0;;;2268:10;;2254:24;2246:33;;;;;;5962:11:1;:46;;-1:-1:-1;;;;;;5962:46:1;-1:-1:-1;;;;;5962:46:1;;;;;;;;;;5892:121::o;21520:117::-;21603:4;;:29;;;;;;-1:-1:-1;;;;;21603:29:1;;;;;;;;;21584:4;;21603;;;;;:20;;:29;;;;;;;;;;;;;;;21584:4;21603;:29;;;5:2:-1;;;;30:1;27;20:12;1814:26:0;;;;;;:::o;2418:101:2:-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2480:27:2;;;;;:17;:27;;;;;:34;;-1:-1:-1;;2480:34:2;2510:4;2480:34;;;2418:101::o;1495:47:0:-;;;;;;;;;;;;;;;:::o;23086:130:1:-;1954:10:0;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;4206:6;;;;4198:15;;;;;;;;23174:4:1;;:37;;;;;;-1:-1:-1;;;;;23174:37:1;;;;;;;;;:4;;;;;:22;;:37;;;;;:4;;:37;;;;;;;:4;;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;23174:37:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23174:37:1;;;;23086:130;:::o;787:48:2:-;;;;;;;;;;;;;;;:::o;2659:22:1:-;;;-1:-1:-1;;;;;2659:22:1;;:::o;1597:105:2:-;1668:12;;:29;;;-1:-1:-1;;;;;1668:29:2;;-1:-1:-1;;;;;1668:29:2;;;;;;;;;-1:-1:-1;;1668:12:2;;;;;;;:22;;:29;;;;;;;;;;;;;;;-1:-1:-1;1668:12:2;:29;;;5:2:-1;;;;30:1;27;20:12;3316:152:0;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3395:24:0;;;;3387:33;;;;;;-1:-1:-1;;;;;3428:26:0;;;;;:14;:26;;;;;:33;;-1:-1:-1;;3428:33:0;3457:4;3428:33;;;3316:152::o;4384:78::-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;4065:6;;;;4064:7;4056:16;;;;;;4442:6;:13;;-1:-1:-1;;4442:13:0;4451:4;4442:13;;;4384:78::o;12314:146:1:-;12392:16;12427;;;:9;:16;;;;;;;;-1:-1:-1;;;;;;12427:28:1;;;;;;;;;;;;12314:146::o;5548:26::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5548:26:1;;-1:-1:-1;5548:26:1;:::o;15759:936::-;15833:17;15887:18;16317:17;16374:18;15806:20;15815:10;15806:8;:20::i;:::-;15798:29;;;;;;;;15860:10;-1:-1:-1;;;;;15853:18:1;;;;;:6;:18;;;;;;;;:28;;;;15921;;-1:-1:-1;;;15921:28:1;;-1:-1:-1;;;15921:28:1;-1:-1:-1;;;;;;15908:42:1;;;:12;:42;;;;;-1:-1:-1;;;15951:29:1;;;-1:-1:-1;;;15951:29:1;-1:-1:-1;;;;;;15908:73:1;;;;;;;;;15982:80;;15853:28;;-1:-1:-1;15908:73:1;-1:-1:-1;;15982:84:1;;;15908:159;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16093:10:1;16086:18;;;;:6;:18;;;;;;:28;-1:-1:-1;;;16086:28:1;;-1:-1:-1;;;16086:28:1;-1:-1:-1;;;;;;16073:42:1;;;:12;:42;;;;;-1:-1:-1;;;16116:29:1;;;-1:-1:-1;;;16116:29:1;-1:-1:-1;;;;;;16073:73:1;;;;;;;;;;:87;;15908:159;;;;;-1:-1:-1;15908:159:1;;16073:73;16147:12;;16073:87;;;;;;;;;;;;;;;;;;:100;;-1:-1:-1;;;;;;16073:100:1;-1:-1:-1;;;;;16073:100:1;;;;;;16179:18;;;;;:6;:18;;;;;;:28;;:43;;;16248:10;16241:18;;;;;;;;:28;-1:-1:-1;;;16241:28:1;;-1:-1:-1;;;16241:28:1;-1:-1:-1;;;;;;16228:42:1;;;:12;:42;;;;;-1:-1:-1;;;16271:29:1;;;-1:-1:-1;;;16271:29:1;-1:-1:-1;;;;;;16228:73:1;;;;;;:82;;;;;-1:-1:-1;;16228:82:1;;;:::i;:::-;-1:-1:-1;;;;;;16344:10:1;16337:18;;;;;:6;:18;;;;;:31;;;16395:11;16407:18;;16337:31;;-1:-1:-1;16395:11:1;-1:-1:-1;;16407:22:1;;;16395:35;;;;;;;;;;;;;;;;16436:11;:25;;-1:-1:-1;;;;;16395:35:1;;;;-1:-1:-1;16395:35:1;;16448:12;;16436:25;;;;;;;;;;;;;;;;;;:38;;-1:-1:-1;;;;;;16436:38:1;-1:-1:-1;;;;;16436:38:1;;;;;;16480:18;;;;;:6;:18;;;;;;:31;;:46;;;16532:11;:20;;;;;-1:-1:-1;;16532:20:1;;;:::i;:::-;-1:-1:-1;;;;;;16572:10:1;16565:18;;;;;;:6;:18;;;;;;16558:25;;-1:-1:-1;;16558:25:1;;;;;;;;-1:-1:-1;;16558:25:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;16558:25:1;;;16589:4;;:34;;;;;;;;;;;;;;:4;;;;;:22;;:34;;;;;16565:18;16589:34;;;;;16565:18;16589:4;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;16589:34:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16629:4:1;;:26;;;;;;-1:-1:-1;;;;;16644:10:1;16629:26;;;;;;;;:4;;;;;-1:-1:-1;16629:14:1;;-1:-1:-1;16629:26:1;;;;;-1:-1:-1;;16629:26:1;;;;;;;-1:-1:-1;16629:4:1;:26;;;5:2:-1;;;;30:1;27;20:12;5:2;16629:26:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;16666:24:1;;-1:-1:-1;;;;;16679:10:1;16666:24;;-1:-1:-1;16666:24:1;;-1:-1:-1;16666:24:1;;;15759:936;;;;:::o;1354:25:0:-;;;-1:-1:-1;;;;;1354:25:0;;:::o;4351:28:1:-;;;;;;;;;;;2182:113:2;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2262:20:2;;;;;;;:11;:20;;;;;:28;2182:113::o;2736:107::-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2801:29:2;2833:5;2801:29;;;:19;:29;;;;;:37;;-1:-1:-1;;2801:37:2;;;2736:107::o;15507:191:1:-;15558:20;15567:10;15558:8;:20::i;:::-;15550:29;;;;;;;;15593:4;;:57;;;;;;-1:-1:-1;;;;;15628:10:1;15593:57;;;;;;15617:9;15593:57;;;;;;;;:4;;;:17;;15617:9;15593:57;;;;;;;;;;;;;;;15617:9;15593:4;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;15593:57:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15593:57:1;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15593:57:1;15585:66;;;;;;;;15662:31;;;15683:9;15662:31;;;;-1:-1:-1;;;;;15671:10:1;15662:31;;;;;;;;;;;;15507:191::o;3757:119:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3833:28:0;3864:5;3833:28;;;:16;:28;;;;;:36;;-1:-1:-1;;3833:36:0;;;3757:119::o;18733:982:1:-;18792:10;-1:-1:-1;;;;;2359:21:0;;18819:17:1;2359:21:0;;;:14;:21;;;;;;18819:17:1;;;;;;;;2359:21:0;;2351:30;;;;;;;;-1:-1:-1;;;;;18839:15:1;;;;;;:4;:15;;;;;;;;:25;;;;18902;;-1:-1:-1;;;18902:25:1;;-1:-1:-1;;;18902:25:1;-1:-1:-1;;;;;;18891:37:1;;;:10;:37;;;;;-1:-1:-1;;;18929:26:1;;;-1:-1:-1;;;18929:26:1;-1:-1:-1;;;;;;18891:65:1;;;;;;;;;18957:72;;18839:25;;-1:-1:-1;18891:65:1;-1:-1:-1;;18957:76:1;;;18891:143;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19051:15:1;;;;;:4;:15;;;;;;:25;-1:-1:-1;;;19051:25:1;;-1:-1:-1;;;19051:25:1;-1:-1:-1;;;;;;19040:37:1;;;:10;:37;;;;;-1:-1:-1;;;19078:26:1;;;-1:-1:-1;;;19078:26:1;-1:-1:-1;;;;;;19040:65:1;;;;;;;;;;:79;;18891:143;;;;;-1:-1:-1;18891:143:1;;19040:65;19106:12;;19040:79;;;;;;;;;;;;;;;;;;:92;;-1:-1:-1;;;;;;19040:92:1;-1:-1:-1;;;;;19040:92:1;;;;;;19138:16;;;;;:4;:16;;;;;;:26;;:41;;;19196:15;;;;;;;;:25;-1:-1:-1;;;19196:25:1;;-1:-1:-1;;;19196:25:1;-1:-1:-1;;;;;;19185:37:1;;;:10;:37;;;;;-1:-1:-1;;;19223:26:1;;;-1:-1:-1;;;19223:26:1;-1:-1:-1;;;;;;19185:65:1;;;;;;:74;;;;;-1:-1:-1;;19185:74:1;;;:::i;:::-;-1:-1:-1;;;;;;19286:15:1;;;;;;:4;:15;;;;;:28;;;19341:9;19351:16;;19286:28;;-1:-1:-1;19341:9:1;-1:-1:-1;;19351:20:1;;;19341:31;;;;;;;;;;;;;;;;19378:9;:23;;-1:-1:-1;;;;;19341:31:1;;;;-1:-1:-1;19341:31:1;;19388:12;;19378:23;;;;;;;;;;;;;;;;;;:36;;-1:-1:-1;;;;;;19378:36:1;-1:-1:-1;;;;;19378:36:1;;;;;;19420:16;;;;;:4;:16;;;;;;:29;;:44;;;19470:9;:18;;;;;-1:-1:-1;;19470:18:1;;;:::i;:::-;-1:-1:-1;;;;;;19499:15:1;;;;;;:4;:15;;;;;:26;;;;;19498:27;19494:135;;;19533:4;;:31;;;;;;-1:-1:-1;;;;;19533:31:1;;;;;;;;;:4;;;;;:20;;:31;;;;;:4;;:31;;;;;;;:4;;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;19533:31:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19533:31:1;;;;19494:135;;;19581:4;;19618:10;;19581:48;;;;;;-1:-1:-1;;;;;19581:48:1;;;;;;;19618:10;;;19581:48;;;;;;:4;;;;;:25;;:48;;;;;:4;;:48;;;;;;;:4;;:48;;;5:2:-1;;;;30:1;27;20:12;5:2;19581:48:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;19581:48:1;;;;19494:135;-1:-1:-1;;;;;19642:15:1;;;;;;;:4;:15;;;;;;;;19635:22;;-1:-1:-1;;19635:22:1;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19635:22:1;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19635:22:1;;;19668:42;;;;;;;19688:10;19668:42;;;;;;;;;;;;;;18733:982;;;;;;:::o;21748:143::-;-1:-1:-1;;;;;;21853:20:1;;;;;;:10;:20;;;;;;;;-1:-1:-1;;;;;;21853:33:1;;;;;;;;;;21846:40;;;;;;;;;;;;;;;;;21828:9;;21846:40;;;21853:33;21846:40;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21846:40:1;;;;;;;;;;;;;;;;;;;;;;;21748:143;;;;:::o;2522:103:2:-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2585:27:2;2615:5;2585:27;;;:17;:27;;;;;:35;;-1:-1:-1;;2585:35:2;;;2522:103::o;6660:4430:1:-;4065:6:0;;6990:12:1;;;;;;;;4065:6:0;;4064:7;4056:16;;;;;;1262:12:2;;:29;;;-1:-1:-1;;;;;1262:29:2;;-1:-1:-1;;;;;1262:29:2;;;;;;;;;;;:12;;;;;;;:22;;:29;;;;;;;;;;;;;;;-1:-1:-1;1262:12:2;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;1262:29:2;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1262:29:2;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1262:29:2;1254:38;;;;;;;;6868:3:1;;6846:10;-1:-1:-1;;;;;6846:26:1;;;6868:3;;6846:26;6838:35;;;;;;7005:17;:5;7020:1;7005:17;:14;:17;:::i;:::-;6990:32;-1:-1:-1;;;;7043:17:1;:5;7071:4;7043:17;:14;:17;:::i;:::-;-1:-1:-1;;;;;;7043:33:1;;:92;;7117:17;:5;7132:1;7117:17;:14;:17;:::i;:::-;-1:-1:-1;;;7111:24:1;;7043:92;;;7085:17;:5;7100:1;7085:17;:14;:17;:::i;:::-;-1:-1:-1;;;7079:24:1;;-1:-1:-1;;7079:29:1;7043:92;7028:107;-1:-1:-1;;;;7156:17:1;:5;7171:1;7156:17;:14;:17;:::i;:::-;-1:-1:-1;;;;;;7156:33:1;;:92;;7230:17;:5;7245:1;7230:17;:14;:17;:::i;:::-;-1:-1:-1;;;7224:24:1;;7156:92;;;7198:17;:5;7213:1;7198:17;:14;:17;:::i;:::-;-1:-1:-1;;;7192:24:1;;-1:-1:-1;;7192:29:1;7156:92;7141:107;-1:-1:-1;;;;;;;7258:21:1;;7267:12;7258:21;7254:3832;;;7398:11;:31;7410:18;:5;7425:2;7410:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;7398:31:1;;;;;;;;;;;;-1:-1:-1;7398:31:1;;7388:41;;;7380:50;;;;;;7485:13;7492:5;7485:6;:13::i;:::-;7484:14;7476:23;;;;;;7545:17;:37;7563:18;:5;7578:2;7563:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;7545:37:1;;;;;;;;;;;;-1:-1:-1;7545:37:1;;;;7537:46;;;;;;;;-1:-1:-1;;;;;7592:11:1;;;;;;:4;:11;;;;;:24;;-1:-1:-1;;7592:24:1;;;;;;;;;;;;;-1:-1:-1;;7624:24:1;;;;;;;;;;;;;;;;7680:18;;:5;;7695:2;;7680:14;:18;:::i;:::-;-1:-1:-1;;;;;7656:11:1;;;;;;:4;:11;;;;;:42;;-1:-1:-1;;;7656:42:1;;;-1:-1:-1;;;7656:42:1;-1:-1:-1;;7656:42:1;;;;;;;;;7731:19;:5;7747:2;7731:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;7706:11:1;;;;;;:4;:11;;;;;:44;;-1:-1:-1;;;7706:44:1;;;-1:-1:-1;;;7706:44:1;-1:-1:-1;;7706:44:1;;;;;;;;;7776:19;:5;7792:2;7776:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;7758:11:1;;;;;;:4;:11;;;;;:15;;:37;;-1:-1:-1;;;;;;7758:37:1;-1:-1:-1;;;7758:37:1;;;;;;;;;7822:19;:5;7838:2;7822:15;:19::i;:::-;-1:-1:-1;;;;;7803:11:1;;;;;;:4;:11;;;;;:16;;:38;;;;-1:-1:-1;;;7803:38:1;;;;;;;;;;;;;7875:19;:5;7891:2;7875:15;:19::i;:::-;-1:-1:-1;;;;;7849:11:1;;;;;;:4;:11;;;;;:23;;:45;7924:19;:5;7940:2;7924:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;7902:11:1;;;;;;:4;:11;;;;;:19;;;:41;;-1:-1:-1;;;;;;7902:41:1;-1:-1:-1;;;7902:41:1;;;;;;;;;;7978:9;27:10:-1;;-1:-1;23:18;;;45:23;;;7978:21:1;;;;;-1:-1:-1;;;;;;7978:21:1;;;;;;;7951:24;;;;:52;;;;8035:10;;8046:18;:5;8061:2;8046:14;:18::i;:::-;-1:-1:-1;;;;;;8035:30:1;;;;;;;;;;;;-1:-1:-1;8035:30:1;;;;8066:19;:5;8082:2;8066:19;:15;:19;:::i;:::-;8035:51;;;;;;;;;;;;;;;;;8092:5;8035:63;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;8035:63:1;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8035:63:1;;;;;-1:-1:-1;;;;;8035:63:1;;;;;;:67;8011:4;:11;8016:5;-1:-1:-1;;;;;8011:11:1;-1:-1:-1;;;;;8011:11:1;;;;;;;;;;;;:21;;:91;;;;8115:19;8128:5;8115:19;;;;-1:-1:-1;;;;;8115:19:1;-1:-1:-1;;;;;8115:19:1;;;;;;;;;;;;;;;8142:4;;:31;;;;;;-1:-1:-1;;;;;8142:31:1;;;;;;;;;;;;;;;:4;;;;;:17;;:31;;;;;:4;;:31;;;;;;;:4;;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;8142:31:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;8181:3:1;;8202:4;;8181:35;;;;;;-1:-1:-1;;;;;8202:4:1;;;8181:35;;;;;;;;;;;;:3;;;;;-1:-1:-1;8181:12:1;;-1:-1:-1;8181:35:1;;;;;;;;;;;;;;:3;;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;8181:35:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;8181:35:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7254:3832:1;;-1:-1:-1;7254:3832:1;;-1:-1:-1;;;;;;8233:21:1;;8242:12;8233:21;8229:2857;;;8375:13;:33;8389:18;:5;8375:13;8389:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;8375:33:1;;;;;;;;;;;;-1:-1:-1;8375:33:1;;8365:43;;;8357:52;;;;;;8467:15;8476:5;8467:8;:15::i;:::-;8466:16;8458:25;;;;;;8529:19;:39;8549:18;:5;8564:2;8549:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;8529:39:1;;;;;;;;;;;;-1:-1:-1;8529:39:1;;;;8521:48;;;;;;;;-1:-1:-1;;;;;8578:13:1;;;;;;:6;:13;;;;;:26;;-1:-1:-1;;8578:26:1;;;;;;;;;;;;;-1:-1:-1;;8612:26:1;;;;;;;;;;;;;;;;8672:18;;:5;;8687:2;;8672:14;:18;:::i;:::-;-1:-1:-1;;;;;8646:13:1;;;;;;:6;:13;;;;;:44;;-1:-1:-1;;;8646:44:1;;;-1:-1:-1;;;8646:44:1;-1:-1:-1;;8646:44:1;;;;;;;;;8725:19;:5;8741:2;8725:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;8698:13:1;;;;;;:6;:13;;;;;:46;;-1:-1:-1;;;8698:46:1;;;-1:-1:-1;;;8698:46:1;-1:-1:-1;;8698:46:1;;;;;;;;;8782:18;:5;8797:2;8782:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;8752:13:1;;;;;;:6;:13;;;;;:22;;:49;;-1:-1:-1;;;8777:24:1;;;8752:49;;;;;-1:-1:-1;;;8752:49:1;-1:-1:-1;;8752:49:1;;;;;;;;;8841:18;:5;8856:2;8841:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;8809:13:1;;;;;;:6;:13;;;;;:51;;-1:-1:-1;;;8836:24:1;;;8809:51;;;;;-1:-1:-1;;;8809:51:1;-1:-1:-1;;8809:51:1;;;;;;;;;8894:19;:5;8910:2;8894:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;8868:13:1;;;;;;:6;:13;;;;;:23;;:45;;-1:-1:-1;;;;;;8868:45:1;-1:-1:-1;;;8868:45:1;;;;;;;;;8949:18;:5;8964:2;8949:14;:18::i;:::-;-1:-1:-1;;;;;8921:13:1;;;;;;:6;:13;;;;;:19;;;;:47;;-1:-1:-1;;;8943:25:1;;;8921:47;;;;;;;-1:-1:-1;;8921:47:1;;;;;;;;;-1:-1:-1;;;8998:18:1;:5;9013:2;8998:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;8998:34:1;;:49;;9042:5;8998:49;;;9035:4;8998:49;-1:-1:-1;;;;;8976:13:1;;;;;;:6;:13;;;;;:19;;:71;;;;;;;-1:-1:-1;;8976:71:1;;;;;;;;;9086:18;:5;9101:2;9086:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;9055:13:1;;;;;;:6;:13;;;;;:22;;;;:50;;-1:-1:-1;;;9080:25:1;;;9055:50;;;;;;-1:-1:-1;;9055:50:1;;;;;;;;;;9142:11;27:10:-1;;23:18;;;45:23;;;9142::1;;;;;-1:-1:-1;;;;;;9142:23:1;;;;;9113:13;;;:26;;:56;;;;9203:12;;9216:18;:5;9231:2;9216:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;9203:32:1;;;;;;;;;;;;-1:-1:-1;9203:32:1;;;;9236:19;:5;9252:2;9236:19;:15;:19;:::i;:::-;9203:53;;;;;;;;;;;;;;;;;9262:5;9203:65;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;9203:65:1;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9203:65:1;;;;;-1:-1:-1;;;;;9203:65:1;;;;;;:69;9177:6;:13;9184:5;-1:-1:-1;;;;;9177:13:1;-1:-1:-1;;;;;9177:13:1;;;;;;;;;;;;:23;;:95;;;;9303:4;9280:6;:13;9287:5;-1:-1:-1;;;;;9280:13:1;-1:-1:-1;;;;;9280:13:1;;;;;;;;;;;;:20;;;:27;;;;;;;;;;;;;;;;;;9335:5;-1:-1:-1;;;;;9320:21:1;;;;;;;;;;;9349:4;;:34;;;;;;-1:-1:-1;;;;;9349:34:1;;;;;;;;;;;;;;;:4;;;;;:19;;:34;;;;;:4;;:34;;;;;;;:4;;:34;;;5:2:-1;;;;30:1;27;20:12;8229:2857:1;-1:-1:-1;;;;;;9443:21:1;;9452:12;9443:21;9439:1647;;;9913:10;;-1:-1:-1;;;;;9904:19:1;;;9913:10;;9904:19;9896:28;;;;;;9996:11;:31;10008:18;:5;10023:2;10008:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;9996:31:1;;;;;;;;;;;;-1:-1:-1;9996:31:1;;9986:41;;;9978:50;;;;;;10099:37;10114:20;:5;10130:3;10114:20;:15;:20;:::i;:::-;10099:6;:37::i;:::-;10098:38;10090:47;;;;;;10183:17;:37;10201:18;:5;10216:2;10201:18;:14;:18;:::i;:::-;-1:-1:-1;;;;;;10183:37:1;;;;;;;;;;;;-1:-1:-1;10183:37:1;;;;10175:46;;;;;;;;10254:20;:5;10270:3;10254:20;:15;:20;:::i;:::-;-1:-1:-1;;;;;10282:20:1;;;;;;:4;:20;;;;;:33;;-1:-1:-1;;10282:33:1;;;;;;;;;;;;;-1:-1:-1;;10323:33:1;;;;;;;;;;;;;;;;10282:20;;-1:-1:-1;10397:18:1;;:5;;10412:2;;10397:14;:18;:::i;:::-;-1:-1:-1;;;;;10364:20:1;;;;;;:4;:20;;;;;:51;;-1:-1:-1;;;10364:51:1;;;-1:-1:-1;;;10364:51:1;-1:-1:-1;;10364:51:1;;;;;;;;;10457:19;:5;10473:2;10457:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;10423:20:1;;;;;;:4;:20;;;;;:53;;-1:-1:-1;;;10423:53:1;;;-1:-1:-1;;;10423:53:1;-1:-1:-1;;10423:53:1;;;;;;;;;10511:19;:5;10527:2;10511:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;10484:20:1;;;;;;:4;:20;;;;;:24;;:46;;-1:-1:-1;;;;;;10484:46:1;-1:-1:-1;;;10484:46:1;;;;;;;;;10566:19;:5;10582:2;10566:15;:19::i;:::-;-1:-1:-1;;;;;10538:20:1;;;;;;:4;:20;;;;;:25;;:47;;;;-1:-1:-1;;;10538:47:1;;;;;;;;;;;;;10628:19;:5;10644:2;10628:15;:19::i;:::-;-1:-1:-1;;;;;10593:20:1;;;;;;:4;:20;;;;;:32;;:54;10686:19;:5;10702:2;10686:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;10655:20:1;;;;;;:4;:20;;;;;:28;;;:50;;-1:-1:-1;;;;;;10655:50:1;-1:-1:-1;;;10655:50:1;;;;;;;;;;10749:9;27:10:-1;;-1:-1;23:18;;;45:23;;;10749:30:1;;;;;-1:-1:-1;;;;;;10749:30:1;;;;;;;10713:33;;;;:70;;;;10824:10;;10835:18;:5;10850:2;10835:14;:18::i;:::-;-1:-1:-1;;;;;;10824:30:1;;;;;;;;;;;;-1:-1:-1;10824:30:1;;;;10855:19;:5;10871:2;10855:19;:15;:19;:::i;:::-;-1:-1:-1;;;;;;10824:51:1;;;;;;;;;;;;;;;-1:-1:-1;10824:51:1;;;27:10:-1;;39:1;23:18;;;45:23;;10824:72:1;;;;;;;;;;-1:-1:-1;;;;;;10824:72:1;-1:-1:-1;;;;;10824:72:1;;;;;;;;10791:20;;;:4;:20;;;;;;10824:76;;;;;10791:30;;;:109;10908:31;;;;:38;;-1:-1:-1;;10908:38:1;;;;;;;10959:28;;;;;;;;;;;;;;;;10995:4;;:41;;;;;;-1:-1:-1;;;;;10995:41:1;;;;;;;;;;;;;;;:4;;;;;:17;;:41;;;;;:4;;:41;;;;;;;:4;;:41;;;5:2:-1;;;;30:1;27;20:12;5:2;10995:41:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;11044:3:1;;11065:4;;11044:35;;;;;;-1:-1:-1;;;;;11065:4:1;;;11044:35;;;;;;;;;;;;:3;;;;;-1:-1:-1;11044:12:1;;-1:-1:-1;11044:35:1;;;;;;;;;;;;;;:3;;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;11044:35:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;11044:35:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;9439:1647:1;4082:1:0;6660:4430:1;;;;;;;:::o;1603:49:0:-;;;;;;;;;;;;;;;:::o;839:50:2:-;;;;;;;;;;;;;;;:::o;13415:105:1:-;-1:-1:-1;;;;;13497:18:1;13475:7;13497:18;;;:13;:18;;;;;;;13415:105::o;3595:156:0:-;1954:10;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;-1:-1:-1;;;;;3676:24:0;;;;3668:33;;;;;;-1:-1:-1;;;;;3709:28:0;;;;;:16;:28;;;;;:35;;-1:-1:-1;;3709:35:0;3740:4;3709:35;;;3595:156::o;286:24:2:-;;;;;;;;;:::o;21936:81:1:-;21980:9;22003;21996:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21996:16:1;;;;;;;;;;;;;;;;;;;;;;21936:81;:::o;13669:1557::-;4065:6:0;;14233:35:1;;4065:6:0;;4064:7;4056:16;;;;;;13763:10:1;-1:-1:-1;;;;;12601:15:1;;12582:16;12601:15;;;:6;:15;;;;;:25;13775:7;;-1:-1:-1;;;12601:25:1;;;-1:-1:-1;;;12601:25:1;;12582:16;;;12705:54;12723:16;13763:10;12723:7;:16::i;:::-;:24;;12746:1;12723:24;;;12742:1;12723:24;12705:54;;12749:9;12705:17;:54::i;:::-;12681:78;;12868:60;12881:11;;;;;;;;;-1:-1:-1;;;;;12881:11:1;-1:-1:-1;;;;;12881:29:1;;:31;;;;;-1:-1:-1;;;12881:31:1;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12881:31:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;12881:31:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12881:31:1;12914:13;12868:12;:60::i;:::-;13044:4;;:29;;;;;;-1:-1:-1;;;;;13044:29:1;;;;;;;;;12844:84;;-1:-1:-1;13044:4:1;;;:20;;:29;;;;;;;;;;;;;;;:4;;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;13044:29:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13044:29:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13044:29:1;;-1:-1:-1;13106:42:1;13044:29;13133:14;13106:12;:42::i;:::-;13080:68;-1:-1:-1;13223:32:1;;;;13215:41;;;;;;13813:20;13822:10;13813:8;:20::i;:::-;13805:29;;;;;;;;13855:10;-1:-1:-1;;;;;13848:17:1;:3;-1:-1:-1;;;;;13848:17:1;;;13840:26;;;;;;;;13994:4;;:42;;;;;;-1:-1:-1;;;;;14011:10:1;13994:42;;;;;;;;;;;;;;;;;;;;;:4;;;;;:16;;:42;;;;;-1:-1:-1;;13994:42:1;;;;;;;-1:-1:-1;13994:4:1;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;13994:42:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;14196:12:1;;:27;;;-1:-1:-1;;;;;14196:27:1;;-1:-1:-1;;;;;14196:27:1;;;;;;;;;:12;;;;;;;;-1:-1:-1;14196:22:1;;-1:-1:-1;14196:27:1;;;;;;;;;;;;;;;-1:-1:-1;14196:12:1;:27;;;5:2:-1;;;;30:1;27;20:12;5:2;14196:27:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14196:27:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14196:27:1;14192:989;;;-1:-1:-1;;;;;14292:10:1;14271:32;;;;;;:20;:32;;;;;;;;:37;;;;;;;;;;;-1:-1:-1;14320:35:1;;14316:225;;;-1:-1:-1;;;;;14460:10:1;14439:32;;;;;;:20;:32;;;;;;;;:37;;;;;;;;;14479:5;14439:45;;;;14479:5;-1:-1:-1;14316:225:1;-1:-1:-1;;;;;14684:10:1;14670:25;;;;;:13;:25;;;;;;14657:102;;14753:5;14697:53;14710:7;14719:30;14697:12;:53::i;:::-;:61;;;;;;;;14657:12;:102::i;:::-;-1:-1:-1;;;;;14643:10:1;14629:25;;;;;:13;:25;;;;;:130;14998:3;14947:48;14960:30;14992:2;14947:12;:48::i;:::-;:54;;;;;;;;14907:20;:32;14928:10;-1:-1:-1;;;;;14907:32:1;-1:-1:-1;;;;;14907:32:1;;;;;;;;;;;;:37;14940:3;-1:-1:-1;;;;;14907:37:1;-1:-1:-1;;;;;14907:37:1;;;;;;;;;;;;:94;;;;15027:37;15040:9;:14;15050:3;-1:-1:-1;;;;;15040:14:1;-1:-1:-1;;;;;15040:14:1;;;;;;;;;;;;;15056:7;15027:12;:37::i;:::-;-1:-1:-1;;;;;15010:14:1;;;;;;;:9;:14;;;;;;;;:54;;;;15121:10;15110:22;;;;;:10;:22;;;;;15097:45;;15134:7;15097:12;:45::i;:::-;-1:-1:-1;;;;;15083:10:1;15072:22;;;;;:10;:22;;;;;;;;:70;;;;15150:7;:19;;;:24;;15173:1;15150:24;;;14192:989;15208:3;-1:-1:-1;;;;;15191:30:1;15196:10;-1:-1:-1;;;;;15191:30:1;;15213:7;15191:30;;;;;;;;;;;;;;;;;;4082:1:0;;;;;;;13669:1557:1;;;:::o;2026:153:2:-;1954:10:0;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;2107:4:2;;;;;;;2106:5;2098:14;;;;;;2118:12;:39;;-1:-1:-1;;;;;2118:39:2;;;-1:-1:-1;;;;;;2118:39:2;;;;;;;;;2163:4;:11;;-1:-1:-1;;2163:11:2;;;;;2026:153::o;16759:993:1:-;16822:10;-1:-1:-1;;;;;2460:23:0;;16883:17:1;2460:23:0;;;:16;:23;;;;;;16883:17:1;;;;;;;;2460:23:0;;2452:32;;;;;;;;16857:19:1;16866:9;16857:8;:19::i;:::-;16849:28;;;;;;;;-1:-1:-1;;;;;16903:17:1;;;;;;:6;:17;;;;;;;;:27;;;;16970;;-1:-1:-1;;;16970:27:1;;-1:-1:-1;;;16970:27:1;-1:-1:-1;;;;;;16957:41:1;;;:12;:41;;;;;-1:-1:-1;;;16999:28:1;;;-1:-1:-1;;;16999:28:1;-1:-1:-1;;;;;;16957:71:1;;;;;;;;;17029:78;;16903:27;;-1:-1:-1;16957:71:1;-1:-1:-1;;17029:82:1;;;16957:155;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17131:17:1;;;;;:6;:17;;;;;;:27;-1:-1:-1;;;17131:27:1;;-1:-1:-1;;;17131:27:1;-1:-1:-1;;;;;;17118:41:1;;;:12;:41;;;;;-1:-1:-1;;;17160:28:1;;;-1:-1:-1;;;17160:28:1;-1:-1:-1;;;;;;17118:71:1;;;;;;;;;;:85;;16957:155;;;;;-1:-1:-1;16957:155:1;;17118:71;17190:12;;17118:85;;;;;;;;;;;;;;;;;;:98;;-1:-1:-1;;;;;;17118:98:1;-1:-1:-1;;;;;17118:98:1;;;;;;17222:18;;;;;:6;:18;;;;;;:28;;:43;;;17284:17;;;;;;;;:27;-1:-1:-1;;;17284:27:1;;-1:-1:-1;;;17284:27:1;-1:-1:-1;;;;;;17271:41:1;;;:12;:41;;;;;-1:-1:-1;;;17313:28:1;;;-1:-1:-1;;;17313:28:1;-1:-1:-1;;;;;;17271:71:1;;;;;;:80;;;;;-1:-1:-1;;17271:80:1;;;:::i;:::-;-1:-1:-1;;;;;;17378:17:1;;;;;;:6;:17;;;;;:30;;;17435:11;17447:18;;17378:30;;-1:-1:-1;17435:11:1;-1:-1:-1;;17447:22:1;;;17435:35;;;;;;;;;;;;;;;;17476:11;:25;;-1:-1:-1;;;;;17435:35:1;;;;-1:-1:-1;17435:35:1;;17488:12;;17476:25;;;;;;;;;;;;;;;;;;:38;;-1:-1:-1;;;;;;17476:38:1;-1:-1:-1;;;;;17476:38:1;;;;;;17520:18;;;;;:6;:18;;;;;;:31;;:46;;;17572:11;:20;;;;;-1:-1:-1;;17572:20:1;;;:::i;:::-;-1:-1:-1;;;;;;17605:17:1;;;;;;;:6;:17;;;;;;17598:24;;-1:-1:-1;;17598:24:1;;;;;;;;-1:-1:-1;;17598:24:1;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17598:24:1;;;17628:4;;:33;;;;;;;;;;;;;;:4;;;;;:22;;:33;;;;;17605:17;17628:33;;;;;17605:17;17628:4;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;17628:33:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;17667:4:1;;:25;;;;;;-1:-1:-1;;;;;17667:25:1;;;;;;;;;:4;;;;;-1:-1:-1;17667:14:1;;-1:-1:-1;17667:25:1;;;;;:4;;:25;;;;;;;:4;;:25;;;5:2:-1;;;;30:1;27;20:12;5:2;17667:25:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;17703:44:1;;;-1:-1:-1;;;;;17703:44:1;;;;;;;17725:10;17703:44;;;;;-1:-1:-1;17703:44:1;;-1:-1:-1;17703:44:1;;;;;;;16759:993;;;;;;:::o;2298:117:2:-;2096:10:0;;2082;-1:-1:-1;;;;;2082:24:0;;;2096:10;;2082:24;2074:33;;;;;;-1:-1:-1;;;;;;2380:22:2;;;;;;;:13;:22;;;;;:30;2298:117::o;1169:44::-;;;;;;;;;;;;;:::o;19785:749:1:-;-1:-1:-1;;;;;20108:15:1;;;19847:9;20108:15;;;:6;:15;;;;;;;;20135:13;;;20306:19;;;;20160:13;20404:16;;;;20500:4;;:29;;;;;;;;;;;;;;20135:13;;;;;20160;;;;;;;-1:-1:-1;;;;;;20191:19:1;;;;-1:-1:-1;;;;;;20229:20:1;;;;;-1:-1:-1;;;20268:20:1;;;;;;20306:19;;;;20342:18;;;;;;20374:15;;;;;;19847:9;;20404:16;;;;;20434:15;;;;;;;20466:18;;;;;;;;20108:15;;20500:4;;;;:20;;:29;;;;;20108:15;;20500:29;;;;;;19847:9;20500:4;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;20500:29:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20500:29:1;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20500:29:1;19785:749;;;;-1:-1:-1;19785:749:1;;;;;;-1:-1:-1;19785:749:1;;;;;;;;;;-1:-1:-1;19785:749:1:o;258:24:2:-;;;;;;;;;:::o;22247:147:1:-;-1:-1:-1;;;;;;22354:22:1;;;;;;:12;:22;;;;;;;;-1:-1:-1;;;;;;22354:35:1;;;;;;;;;;22347:42;;;;;;;;;;;;;;;;;22329:9;;22347:42;;;22354:35;22347:42;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22347:42:1;;;;;;;;;;;;;;;;;;;;;;22247:147;;;;:::o;22559:122::-;-1:-1:-1;;;;;22635:15:1;;22615:4;22635:15;;;:6;:15;;;;;:25;-1:-1:-1;;;22635:25:1;;-1:-1:-1;;;22635:25:1;-1:-1:-1;;;;;;22635:40:1;;;22559:122;;;:::o;1839:153:2:-;1954:10:0;;1940;-1:-1:-1;;;;;1940:24:0;;;1954:10;;1940:24;1932:33;;;;;;1920:4:2;;;;;;;1919:5;1911:14;;;;;;1931:12;:39;;-1:-1:-1;;;;;;;1931:39:2;;;;;-1:-1:-1;;1931:39:2;;;;1976:11;;;;1931:39;1976:11;;;1839:153::o;13272:139:1:-;-1:-1:-1;;;;;13374:27:1;;;13352:7;13374:27;;;:20;:27;;;;;;;;:32;;;;;;;;;;;;;13272:139::o;13593:281:7:-;13662:6;13728:17;13706:6;13715:1;13706:10;13688:6;:13;:29;;13680:38;;;;;;;;-1:-1:-1;;13799:30:7;;;13815:4;13799:30;13793:37;;13593:281;;;;;;:::o;13307:280::-;13376:6;13442:17;13420:6;13429:1;13420:10;13402:6;:13;:29;;13394:38;;;;;;;13020:281;13089:6;13155:17;13133:6;13142:1;13133:10;13115:6;:13;:29;;13107:38;;;;;;;12726:288;12796:7;12864:19;12841:6;12850:2;12841:11;12823:6;:13;:30;;12815:39;;;;;;;12432:288;12502:7;12570:19;12547:6;12556:2;12547:11;12529:6;:13;:30;;12521:39;;;;;;;11822:322;11892:7;11960:19;11937:6;11946:2;11937:11;11919:6;:13;:30;;11911:39;;;;;;;;-1:-1:-1;;12038:30:7;12054:4;12038:30;12032:37;12071:27;12028:71;;;11822:322::o;204:173:6:-;262:7;;281:6;;277:35;;;304:1;297:8;;;;277:35;-1:-1:-1;329:5:6;;;333:1;329;:5;347;;;;;;;;:10;340:18;;;;371:1;204:173;-1:-1:-1;;;204:173:6:o;1009:129::-;1067:7;1094:5;;;1112:6;;;;1105:14;;;1272:21946:1;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;", + "source": "pragma solidity ^0.4.23;\n\nimport './DetherSetup.sol';\nimport './dth/tokenfoundry/ERC223ReceivingContract.sol';\nimport './zepellin/SafeMath.sol';\nimport './dth/tokenfoundry/ERC223Basic.sol';\nimport './DetherAccessControl.sol';\nimport 'bytes/BytesLib.sol';\n\ncontract ExchangeRateOracle {\n function getWeiPriceOneUsd() external view returns(uint256);\n}\n\n// only interface to save gas\ncontract DetherBank {\n function withdrawDthTeller(address _receiver) external;\n function withdrawDthShop(address _receiver) external;\n function withdrawDthShopAdmin(address _from, address _receiver) external;\n function addTokenShop(address _from, uint _value) external;\n function addTokenTeller(address _from, uint _value) external;\n function addEthTeller(address _from, uint _value) external payable returns (bool);\n function withdrawEth(address _from, address _to, uint _amount) external;\n function refundEth(address _from) external;\n function getDthTeller(address _user) public view returns (uint);\n function getDthShop(address _user) public view returns (uint);\n function getEthBalTeller(address _user) public view returns (uint);\n function getWeiSoldToday(address _user) public view returns (uint256 weiSoldToday);\n function transferOwnership(address newOwner) public;\n}\n\ncontract DetherCore is DetherSetup, ERC223ReceivingContract, SafeMath {\n using BytesLib for bytes;\n\n /**\n * Event\n */\n // when a Teller is registered\n event RegisterTeller(address indexed tellerAddress);\n // when a teller add funds for trade\n event AddFunds(address indexed tellerAddress, uint amount);\n // when a teller is deleted\n event DeleteTeller(address indexed tellerAddress);\n // when teller update\n event UpdateTeller(address indexed tellerAddress);\n // when a teller send to a buyer\n event Sent(address indexed _from, address indexed _to, uint amount);\n // when a shop register\n event RegisterShop(address shopAddress);\n // when a shop delete\n event DeleteShop(address shopAddress);\n // when a moderator delete a shop\n event DeleteShopModerator(address indexed moderator, address shopAddress);\n // when a moderator delete a teller\n event DeleteTellerModerator(address indexed moderator, address tellerAddress);\n\n /**\n * Modifier\n */\n // if teller has staked enough dth to\n modifier tellerHasStaked(uint amount) {\n require(bank.getDthTeller(msg.sender) >= amount);\n _;\n }\n // if shop has staked enough dth to\n modifier shopHasStaked(uint amount) {\n require(bank.getDthShop(msg.sender) >= amount);\n _;\n }\n\n /*\n * External contract\n */\n // DTH contract\n ERC223Basic public dth;\n // bank contract where are stored ETH and DTH\n DetherBank public bank;\n\n ExchangeRateOracle public priceOracle;\n\n // teller struct\n struct Teller {\n int32 lat; // Latitude\n int32 lng; // Longitude\n bytes2 countryId; // countryID (in hexa), ISO ALPHA 2 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\n bytes16 postalCode; // postalCode if present, in Hexa https://en.wikipedia.org/wiki/List_of_postal_codes\n\n int8 currencyId; // 1 - 100 , cf README\n bytes16 messenger; // telegrame nickname\n int8 avatarId; // 1 - 100 , regarding the front-end app you use\n int16 rates; // margin of tellers , -999 - +9999 , corresponding to -99,9% x 10 , 999,9% x 10\n bool buyer; // appear as a buyer as well on the map\n int16 buyRates; // margin of tellers of\n\n uint zoneIndex; // index of the zone mapping\n uint generalIndex; // index of general mapping\n bool online; // switch online/offline, if the tellers want to be inactive without deleting his point\n }\n\n mapping(address => mapping(address => uint)) internal pairSellsLoyaltyPerc;\n // from to percentage of loyalty points from gets\n\n /*\n * Reputation field V0.1\n * Reputation is based on volume sell, volume buy, and number of transaction\n */\n mapping(address => uint) volumeBuy;\n mapping(address => uint) volumeSell;\n mapping(address => uint) nbTrade;\n mapping(address => uint256) loyaltyPoints;\n\n // general mapping of teller\n mapping(address => Teller) teller;\n // mappoing of teller by COUNTRYCODE => POSTALCODE\n mapping(bytes2 => mapping(bytes16 => address[])) tellerInZone;\n // teller array currently registered\n address[] public tellerIndex; // unordered list of teller register on it\n bool isStarted = false;\n // shop struct\n struct Shop {\n int32 lat; // latitude\n int32 lng; // longitude\n bytes2 countryId; // countryID (in hexa char), ISO ALPHA 2 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\n bytes16 postalCode; // postalCode if present (in hexa char), in Hexa https://en.wikipedia.org/wiki/List_of_postal_codes\n bytes16 cat; // Category of the shop (in hex char), will be used later for search engine and auction by zone\n bytes16 name; // name of the shop (in hex char)\n bytes32 description; // description of the shop\n bytes16 opening; // opening hours, cf README for the format\n\n uint zoneIndex; // index of the zone mapping\n uint generalIndex; // index of general mapping\n bool detherShop; // bool if shop is registered by dether as business partnership (still required DTH)\n }\n\n // general mapping of shop\n mapping(address => Shop) shop;\n // mapping of teller by COUNTRYCODE => POSTALCODE\n mapping(bytes2 => mapping(bytes16 => address[])) shopInZone;\n // shop array currently registered\n address[] public shopIndex; // unordered list of shop register on it\n\n /*\n * Instanciation\n */\n function DetherCore() {\n ceoAddress = msg.sender;\n }\n function initContract (address _dth, address _bank) external onlyCEO {\n require(!isStarted);\n dth = ERC223Basic(_dth);\n bank = DetherBank(_bank);\n isStarted = true;\n }\n\n function setPriceOracle (address _priceOracle) external onlyCFO {\n priceOracle = ExchangeRateOracle(_priceOracle);\n }\n\n /**\n * Core fonction\n */\n\n /**\n * @dev Standard ERC223 function that will handle incoming token transfers.\n * This is the main function to register SHOP or TELLER, its calling when you\n * send token to the DTH contract and by passing data as bytes on the third\n * parameter.\n * Its not supposed to be use on its own but will only handle incoming DTH\n * transaction.\n * The _data will wait for\n * [1st byte] 1 (0x31) for shop OR 2 (0x32) for teller\n * FOR SHOP AND TELLER:\n * 2sd to 5th bytes lat\n * 6th to 9th bytes lng\n * ...\n * Modifier tier1: Check if address is whitelisted with the sms verification\n */\n function tokenFallback(address _from, uint _value, bytes _data) whenNotPaused tier1(_from ) {\n // require than the token fallback is triggered from the dth token contract\n require(msg.sender == address(dth));\n // check first byte to know if its shop or teller registration\n // 1 / 0x31 = shop // 2 / 0x32 = teller\n bytes1 _func = _data.toBytes1(0);\n int32 posLat = _data.toBytes1(1) == bytes1(0x01) ? int32(_data.toBytes4(2)) * -1 : int32(_data.toBytes4(2));\n int32 posLng = _data.toBytes1(6) == bytes1(0x01) ? int32(_data.toBytes4(7)) * -1 : int32(_data.toBytes4(7));\n if (_func == bytes1(0x31)) { // shop registration // GAS USED 311000\n // require staked greater than licence price\n require(_value >= licenceShop[_data.toBytes2(11)]);\n // require its not already shop\n require(!isShop(_from));\n // require zone is open\n require(openedCountryShop[_data.toBytes2(11)]);\n\n shop[_from].lat = posLat;\n shop[_from].lng = posLng;\n shop[_from].countryId = _data.toBytes2(11);\n shop[_from].postalCode = _data.toBytes16(13);\n shop[_from].cat = _data.toBytes16(29);\n shop[_from].name = _data.toBytes16(45);\n shop[_from].description = _data.toBytes32(61);\n shop[_from].opening = _data.toBytes16(93);\n shop[_from].generalIndex = shopIndex.push(_from) - 1;\n shop[_from].zoneIndex = shopInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(_from) - 1;\n emit RegisterShop(_from);\n bank.addTokenShop(_from,_value);\n dth.transfer(address(bank), _value);\n } else if (_func == bytes1(0x32)) { // teller registration -- GAS USED 310099\n // require staked greater than licence price\n require(_value >= licenceTeller[_data.toBytes2(11)]);\n // require is not already a teller\n require(!isTeller(_from));\n // require zone is open\n require(openedCountryTeller[_data.toBytes2(11)]);\n\n teller[_from].lat = posLat;\n teller[_from].lng = posLng;\n teller[_from].countryId = _data.toBytes2(11);\n teller[_from].postalCode = _data.toBytes16(13);\n teller[_from].avatarId = int8(_data.toBytes1(29));\n teller[_from].currencyId = int8(_data.toBytes1(30));\n teller[_from].messenger = _data.toBytes16(31);\n teller[_from].rates = int16(_data.toBytes2(47));\n teller[_from].buyer = _data.toBytes1(49) == bytes1(0x01) ? true : false;\n teller[_from].buyRates = int16(_data.toBytes2(50));\n teller[_from].generalIndex = tellerIndex.push(_from) - 1;\n teller[_from].zoneIndex = tellerInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(_from) - 1;\n teller[_from].online = true;\n emit RegisterTeller(_from);\n bank.addTokenTeller(_from, _value);\n dth.transfer(address(bank), _value);\n } else if (_func == bytes1(0x33)) { // shop bulk registration\n // We need to have the possibility to register in bulk some shop\n // For big retailer company willing to be listed on dether, we need to have a way to add\n // all their shop from one address\n // This functionnality will become available for anyone willing to list multiple shop\n // in the futures contract\n\n // Only the CSO should be able to register shop in bulk\n require(_from == csoAddress);\n // Each shop still need his own staking\n require(_value >= licenceShop[_data.toBytes2(11)]);\n // require the addresses not already registered\n require(!isShop(address(_data.toAddress(109))));\n // require zone is open\n require(openedCountryShop[_data.toBytes2(11)]);\n address newShopAddress = _data.toAddress(109);\n shop[newShopAddress].lat = posLat;\n shop[newShopAddress].lng = posLng;\n shop[newShopAddress].countryId = _data.toBytes2(11);\n shop[newShopAddress].postalCode = _data.toBytes16(13);\n shop[newShopAddress].cat = _data.toBytes16(29);\n shop[newShopAddress].name = _data.toBytes16(45);\n shop[newShopAddress].description = _data.toBytes32(61);\n shop[newShopAddress].opening = _data.toBytes16(93);\n shop[newShopAddress].generalIndex = shopIndex.push(newShopAddress) - 1;\n shop[newShopAddress].zoneIndex = shopInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(newShopAddress) - 1;\n shop[newShopAddress].detherShop = true;\n emit RegisterShop(newShopAddress);\n bank.addTokenShop(newShopAddress, _value);\n dth.transfer(address(bank), _value);\n }\n }\n\n /**\n * a teller can update his profile\n * If a teller want to change his location, he would need to delete and recreate\n * a new point\n */\n function updateTeller(\n int8 currencyId,\n bytes16 messenger,\n int8 avatarId,\n int16 rates,\n bool online\n ) public payable {\n require(isTeller(msg.sender));\n if (currencyId != teller[msg.sender].currencyId)\n teller[msg.sender].currencyId = currencyId;\n if (teller[msg.sender].messenger != messenger)\n teller[msg.sender].messenger = messenger;\n if (teller[msg.sender].avatarId != avatarId)\n teller[msg.sender].avatarId = avatarId;\n if (teller[msg.sender].rates != rates)\n teller[msg.sender].rates = rates;\n if (teller[msg.sender].online != online)\n teller[msg.sender].online = online;\n if (msg.value > 0) {\n bank.addEthTeller.value(msg.value)(msg.sender, msg.value);\n }\n emit UpdateTeller(msg.sender);\n }\n\n // mapping for limiting the sell amount\n // tier countryId usdDailyLimit\n mapping(uint => mapping (bytes2 => uint)) limitTier;\n\n function setSellDailyLimit(uint _tier, bytes2 _countryId, uint256 _limitUsd) public onlyCFO {\n limitTier[_tier][_countryId] = _limitUsd;\n }\n function getSellDailyLimit(uint _tier, bytes2 _countryId) public view returns(uint256 limitUsd) {\n limitUsd = limitTier[_tier][_countryId];\n }\n\n modifier doesNotExceedDailySellLimit(address _teller, uint256 _weiSellAmount) {\n // limits are set per country\n bytes2 countryId = teller[_teller].countryId;\n\n // user is always tier1, and could be tier2\n uint256 usdDailyLimit = getSellDailyLimit(isTier2(_teller) ? 2 : 1, countryId);\n\n // weiPriceOneUsd is set by the oracle (which runs every day at midnight)\n uint256 weiDailyLimit = SafeMath.mul(priceOracle.getWeiPriceOneUsd(), usdDailyLimit);\n\n // with each sell we update wei sold today for that user inside the Bank contract\n uint256 weiSoldToday = bank.getWeiSoldToday(_teller);\n\n uint256 newWeiSoldToday = SafeMath.add(weiSoldToday, _weiSellAmount);\n\n // we may not exceed the daily wei limit with this sell\n require(newWeiSoldToday <= weiDailyLimit);\n _;\n }\n\n function getPairSellLoyaltyPerc(address _from, address _to) public view returns(uint256) {\n return pairSellsLoyaltyPerc[_from][_to];\n }\n\n function getLoyaltyPoints(address who) public view returns (uint256) {\n return loyaltyPoints[who];\n }\n\n /**\n * SellEth\n * average gas cost: 123173\n * @param _to -> the address for the receiver\n * @param _amount -> the amount to send\n */\n function sellEth(address _to, uint _amount)\n whenNotPaused\n doesNotExceedDailySellLimit(msg.sender, _amount)\n external\n {\n require(isTeller(msg.sender));\n require(_to != msg.sender);\n // send eth to the receiver from the bank contract\n // this will also update eth amount sold 'today' by msg.sender\n bank.withdrawEth(msg.sender, _to, _amount);\n\n // increase reput for the buyer and the seller Only if the buyer is also whitelisted,\n // It's a way to incentive user to trade on the system\n if (smsCertifier.certified(_to)) {\n uint currentSellerLoyaltyPointsPerc = pairSellsLoyaltyPerc[msg.sender][_to];\n if (currentSellerLoyaltyPointsPerc == 0) {\n // this is the first sell between seller and buyer, set to 100%\n pairSellsLoyaltyPerc[msg.sender][_to] = 10000;\n currentSellerLoyaltyPointsPerc = 10000;\n }\n\n // add percentage of loyaltyPoints of this sell to seller's loyaltyPoints\n loyaltyPoints[msg.sender] = SafeMath.add(loyaltyPoints[msg.sender], SafeMath.mul(_amount, currentSellerLoyaltyPointsPerc) / 10000);\n\n // update the loyaltyPoints percentage of the seller, there will be a 21% decrease with every sell to the same buyer (100 - 21 = 79)\n pairSellsLoyaltyPerc[msg.sender][_to] = SafeMath.mul(currentSellerLoyaltyPointsPerc, 79) / 100;\n\n volumeBuy[_to] = SafeMath.add(volumeBuy[_to], _amount);\n volumeSell[msg.sender] = SafeMath.add(volumeSell[msg.sender], _amount);\n nbTrade[msg.sender] += 1;\n }\n emit Sent(msg.sender, _to, _amount);\n }\n\n /**\n * switchStatus\n * Turn status teller on/off\n */\n function switchStatus(bool _status) external {\n if (teller[msg.sender].online != _status)\n teller[msg.sender].online = _status;\n }\n\n /**\n * addFunds\n * teller can add more funds on his sellpoint\n */\n function addFunds() external payable {\n require(isTeller(msg.sender));\n require(bank.addEthTeller.value(msg.value)(msg.sender, msg.value));\n emit AddFunds(msg.sender, msg.value);\n }\n\n // gas used 67841\n // a teller can delete a sellpoint\n function deleteTeller() external {\n require(isTeller(msg.sender));\n uint rowToDelete1 = teller[msg.sender].zoneIndex;\n address keyToMove1 = tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode][tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode].length - 1];\n tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode][rowToDelete1] = keyToMove1;\n teller[keyToMove1].zoneIndex = rowToDelete1;\n tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode].length--;\n\n uint rowToDelete2 = teller[msg.sender].generalIndex;\n address keyToMove2 = tellerIndex[tellerIndex.length - 1];\n tellerIndex[rowToDelete2] = keyToMove2;\n teller[keyToMove2].generalIndex = rowToDelete2;\n tellerIndex.length--;\n delete teller[msg.sender];\n bank.withdrawDthTeller(msg.sender);\n bank.refundEth(msg.sender);\n emit DeleteTeller(msg.sender);\n }\n\n // gas used 67841\n // A moderator can delete a sellpoint\n function deleteTellerMods(address _toDelete) isTellerModerator(msg.sender) external {\n require(isTeller(_toDelete));\n uint rowToDelete1 = teller[_toDelete].zoneIndex;\n address keyToMove1 = tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode][tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode].length - 1];\n tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode][rowToDelete1] = keyToMove1;\n teller[keyToMove1].zoneIndex = rowToDelete1;\n tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode].length--;\n\n uint rowToDelete2 = teller[_toDelete].generalIndex;\n address keyToMove2 = tellerIndex[tellerIndex.length - 1];\n tellerIndex[rowToDelete2] = keyToMove2;\n teller[keyToMove2].generalIndex = rowToDelete2;\n tellerIndex.length--;\n delete teller[_toDelete];\n bank.withdrawDthTeller(_toDelete);\n bank.refundEth(_toDelete);\n emit DeleteTellerModerator(msg.sender, _toDelete);\n }\n\n // gas used 67841\n // A shop owner can delete his point.\n function deleteShop() external {\n require(isShop(msg.sender));\n uint rowToDelete1 = shop[msg.sender].zoneIndex;\n address keyToMove1 = shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode][shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode].length - 1];\n shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode][rowToDelete1] = keyToMove1;\n shop[keyToMove1].zoneIndex = rowToDelete1;\n shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode].length--;\n\n uint rowToDelete2 = shop[msg.sender].generalIndex;\n address keyToMove2 = shopIndex[shopIndex.length - 1];\n shopIndex[rowToDelete2] = keyToMove2;\n shop[keyToMove2].generalIndex = rowToDelete2;\n shopIndex.length--;\n delete shop[msg.sender];\n bank.withdrawDthShop(msg.sender);\n emit DeleteShop(msg.sender);\n }\n\n // gas used 67841\n // Moderator can delete a shop point\n function deleteShopMods(address _toDelete) isShopModerator(msg.sender) external {\n uint rowToDelete1 = shop[_toDelete].zoneIndex;\n address keyToMove1 = shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode][shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode].length - 1];\n shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode][rowToDelete1] = keyToMove1;\n shop[keyToMove1].zoneIndex = rowToDelete1;\n shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode].length--;\n\n uint rowToDelete2 = shop[_toDelete].generalIndex;\n address keyToMove2 = shopIndex[shopIndex.length - 1];\n shopIndex[rowToDelete2] = keyToMove2;\n shop[keyToMove2].generalIndex = rowToDelete2;\n shopIndex.length--;\n if (!shop[_toDelete].detherShop)\n bank.withdrawDthShop(_toDelete);\n else\n bank.withdrawDthShopAdmin(_toDelete, csoAddress);\n delete shop[_toDelete];\n emit DeleteShopModerator(msg.sender, _toDelete);\n }\n\n /**\n * GETTER\n */\n\n // get teller\n // return teller info\n function getTeller(address _teller) public view returns (\n int32 lat,\n int32 lng,\n bytes2 countryId,\n bytes16 postalCode,\n int8 currencyId,\n bytes16 messenger,\n int8 avatarId,\n int16 rates,\n uint balance,\n bool online,\n bool buyer,\n int16 buyRates\n ) {\n Teller storage theTeller = teller[_teller];\n lat = theTeller.lat;\n lng = theTeller.lng;\n countryId = theTeller.countryId;\n postalCode = theTeller.postalCode;\n currencyId = theTeller.currencyId;\n messenger = theTeller.messenger;\n avatarId = theTeller.avatarId;\n rates = theTeller.rates;\n online = theTeller.online;\n buyer = theTeller.buyer;\n buyRates = theTeller.buyRates;\n balance = bank.getEthBalTeller(_teller);\n }\n\n /*\n * Shop ----------------------------------\n * return Shop value\n */\n function getShop(address _shop) public view returns (\n int32 lat,\n int32 lng,\n bytes2 countryId,\n bytes16 postalCode,\n bytes16 cat,\n bytes16 name,\n bytes32 description,\n bytes16 opening\n ) {\n Shop storage theShop = shop[_shop];\n lat = theShop.lat;\n lng = theShop.lng;\n countryId = theShop.countryId;\n postalCode = theShop.postalCode;\n cat = theShop.cat;\n name = theShop.name;\n description = theShop.description;\n opening = theShop.opening;\n }\n\n // get reput\n // return reputation data from teller\n function getReput(address _teller) public view returns (\n uint buyVolume,\n uint sellVolume,\n uint numTrade,\n uint256 loyaltyPoints_\n ) {\n buyVolume = volumeBuy[_teller];\n sellVolume = volumeSell[_teller];\n numTrade = nbTrade[_teller];\n loyaltyPoints_ = loyaltyPoints[_teller];\n }\n // return balance of teller put in escrow\n function getTellerBalance(address _teller) public view returns (uint) {\n return bank.getEthBalTeller(_teller);\n }\n\n // return an array of address of all zone present on a zone\n // zone is a mapping COUNTRY => POSTALCODE\n function getZoneShop(bytes2 _country, bytes16 _postalcode) public view returns (address[]) {\n return shopInZone[_country][_postalcode];\n }\n\n // return array of address of all shop\n function getAllShops() public view returns (address[]) {\n return shopIndex;\n }\n\n function isShop(address _shop) public view returns (bool ){\n return (shop[_shop].countryId != bytes2(0x0));\n }\n\n // return an array of address of all teller present on a zone\n // zone is a mapping COUNTRY => POSTALCODE\n function getZoneTeller(bytes2 _country, bytes16 _postalcode) public view returns (address[]) {\n return tellerInZone[_country][_postalcode];\n }\n\n // return array of address of all teller\n function getAllTellers() public view returns (address[]) {\n return tellerIndex;\n }\n\n // return if teller or not\n function isTeller(address _teller) public view returns (bool ){\n return (teller[_teller].countryId != bytes2(0x0));\n }\n\n /*\n * misc\n */\n // return info about how much DTH the shop has staked\n function getStakedShop(address _shop) public view returns (uint) {\n return bank.getDthShop(_shop);\n }\n // return info about how much DTH the teller has staked\n function getStakedTeller(address _teller) public view returns (uint) {\n return bank.getDthTeller(_teller);\n }\n // give ownership to the bank contract\n function transferBankOwnership(address _newbankowner) external onlyCEO whenPaused {\n bank.transferOwnership(_newbankowner);\n }\n}\n", "sourcePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherCore.sol", "ast": { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherCore.sol", @@ -1339,13 +1356,13 @@ 388 ], "DetherCore": [ - 2659 + 2672 ], "ExchangeRateOracle": [ 300 ] }, - "id": 2660, + "id": 2673, "nodeType": "SourceUnit", "nodes": [ { @@ -1354,7 +1371,7 @@ "solidity", "^", "0.4", - ".21" + ".23" ], "nodeType": "PragmaDirective", "src": "0:24:1" @@ -1364,8 +1381,8 @@ "file": "./DetherSetup.sol", "id": 289, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2904, + "scope": 2673, + "sourceUnit": 2917, "src": "26:27:1", "symbolAliases": [], "unitAlias": "" @@ -1375,8 +1392,8 @@ "file": "./dth/tokenfoundry/ERC223ReceivingContract.sol", "id": 290, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2961, + "scope": 2673, + "sourceUnit": 2974, "src": "54:56:1", "symbolAliases": [], "unitAlias": "" @@ -1386,8 +1403,8 @@ "file": "./zepellin/SafeMath.sol", "id": 291, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 3059, + "scope": 2673, + "sourceUnit": 3072, "src": "111:33:1", "symbolAliases": [], "unitAlias": "" @@ -1397,8 +1414,8 @@ "file": "./dth/tokenfoundry/ERC223Basic.sol", "id": 292, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2949, + "scope": 2673, + "sourceUnit": 2962, "src": "145:44:1", "symbolAliases": [], "unitAlias": "" @@ -1408,7 +1425,7 @@ "file": "./DetherAccessControl.sol", "id": 293, "nodeType": "ImportDirective", - "scope": 2660, + "scope": 2673, "sourceUnit": 287, "src": "190:35:1", "symbolAliases": [], @@ -1419,8 +1436,8 @@ "file": "bytes/BytesLib.sol", "id": 294, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 3331, + "scope": 2673, + "sourceUnit": 3344, "src": "226:28:1", "symbolAliases": [], "unitAlias": "" @@ -1495,7 +1512,7 @@ "visibility": "external" } ], - "scope": 2660, + "scope": 2673, "src": "256:94:1" }, { @@ -2531,7 +2548,7 @@ "visibility": "public" } ], - "scope": 2660, + "scope": 2673, "src": "382:888:1" }, { @@ -2543,10 +2560,10 @@ "id": 389, "name": "DetherSetup", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2903, + "referencedDeclaration": 2916, "src": "1295:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetherSetup_$2903", + "typeIdentifier": "t_contract$_DetherSetup_$2916", "typeString": "contract DetherSetup" } }, @@ -2561,10 +2578,10 @@ "id": 391, "name": "ERC223ReceivingContract", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2960, + "referencedDeclaration": 2973, "src": "1308:23:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223ReceivingContract_$2960", + "typeIdentifier": "t_contract$_ERC223ReceivingContract_$2973", "typeString": "contract ERC223ReceivingContract" } }, @@ -2579,10 +2596,10 @@ "id": 393, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3058, + "referencedDeclaration": 3071, "src": "1333:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$3058", + "typeIdentifier": "t_contract$_SafeMath_$3071", "typeString": "contract SafeMath" } }, @@ -2593,19 +2610,19 @@ ], "contractDependencies": [ 286, - 2903, - 2960, - 3058 + 2916, + 2973, + 3071 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 2659, + "id": 2672, "linearizedBaseContracts": [ - 2659, - 3058, - 2960, - 2903, + 2672, + 3071, + 2973, + 2916, 286 ], "name": "DetherCore", @@ -2618,10 +2635,10 @@ "id": 395, "name": "BytesLib", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3330, + "referencedDeclaration": 3343, "src": "1352:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_BytesLib_$3330", + "typeIdentifier": "t_contract$_BytesLib_$3343", "typeString": "library BytesLib" } }, @@ -2683,11 +2700,11 @@ { "anonymous": false, "documentation": null, - "id": 405, - "name": "DeleteTeller", + "id": 407, + "name": "AddFunds", "nodeType": "EventDefinition", "parameters": { - "id": 404, + "id": 406, "nodeType": "ParameterList", "parameters": [ { @@ -2696,8 +2713,8 @@ "indexed": true, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 405, - "src": "1533:29:1", + "scope": 407, + "src": "1538:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2708,7 +2725,7 @@ "id": 402, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1533:7:1", + "src": "1538:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2716,30 +2733,99 @@ }, "value": null, "visibility": "internal" + }, + { + "constant": false, + "id": 405, + "indexed": false, + "name": "amount", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "1569:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1569:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" } ], - "src": "1532:31:1" + "src": "1537:44:1" }, - "src": "1514:50:1" + "src": "1523:59:1" }, { "anonymous": false, "documentation": null, - "id": 409, + "id": 411, + "name": "DeleteTeller", + "nodeType": "EventDefinition", + "parameters": { + "id": 410, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 409, + "indexed": true, + "name": "tellerAddress", + "nodeType": "VariableDeclaration", + "scope": 411, + "src": "1634:29:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 408, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1634:7:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1633:31:1" + }, + "src": "1615:50:1" + }, + { + "anonymous": false, + "documentation": null, + "id": 415, "name": "UpdateTeller", "nodeType": "EventDefinition", "parameters": { - "id": 408, + "id": 414, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 407, + "id": 413, "indexed": true, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 409, - "src": "1610:29:1", + "scope": 415, + "src": "1711:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2747,10 +2833,10 @@ "typeString": "address" }, "typeName": { - "id": 406, + "id": 412, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1610:7:1", + "src": "1711:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2760,28 +2846,28 @@ "visibility": "internal" } ], - "src": "1609:31:1" + "src": "1710:31:1" }, - "src": "1591:50:1" + "src": "1692:50:1" }, { "anonymous": false, "documentation": null, - "id": 417, + "id": 423, "name": "Sent", "nodeType": "EventDefinition", "parameters": { - "id": 416, + "id": 422, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 411, + "id": 417, "indexed": true, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1690:21:1", + "scope": 423, + "src": "1791:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2789,10 +2875,10 @@ "typeString": "address" }, "typeName": { - "id": 410, + "id": 416, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1690:7:1", + "src": "1791:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2803,12 +2889,12 @@ }, { "constant": false, - "id": 413, + "id": 419, "indexed": true, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1713:19:1", + "scope": 423, + "src": "1814:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2816,10 +2902,10 @@ "typeString": "address" }, "typeName": { - "id": 412, + "id": 418, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1713:7:1", + "src": "1814:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2830,12 +2916,12 @@ }, { "constant": false, - "id": 415, + "id": 421, "indexed": false, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1734:11:1", + "scope": 423, + "src": "1835:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2843,10 +2929,10 @@ "typeString": "uint256" }, "typeName": { - "id": 414, + "id": 420, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1734:4:1", + "src": "1835:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2856,28 +2942,28 @@ "visibility": "internal" } ], - "src": "1689:57:1" + "src": "1790:57:1" }, - "src": "1679:68:1" + "src": "1780:68:1" }, { "anonymous": false, "documentation": null, - "id": 421, + "id": 427, "name": "RegisterShop", "nodeType": "EventDefinition", "parameters": { - "id": 420, + "id": 426, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 419, + "id": 425, "indexed": false, "name": "shopAddress", "nodeType": "VariableDeclaration", - "scope": 421, - "src": "1795:19:1", + "scope": 427, + "src": "1896:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2885,10 +2971,10 @@ "typeString": "address" }, "typeName": { - "id": 418, + "id": 424, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1795:7:1", + "src": "1896:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2898,28 +2984,28 @@ "visibility": "internal" } ], - "src": "1794:21:1" + "src": "1895:21:1" }, - "src": "1776:40:1" + "src": "1877:40:1" }, { "anonymous": false, "documentation": null, - "id": 425, + "id": 431, "name": "DeleteShop", "nodeType": "EventDefinition", "parameters": { - "id": 424, + "id": 430, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 423, + "id": 429, "indexed": false, "name": "shopAddress", "nodeType": "VariableDeclaration", - "scope": 425, - "src": "1860:19:1", + "scope": 431, + "src": "1961:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2927,10 +3013,10 @@ "typeString": "address" }, "typeName": { - "id": 422, + "id": 428, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1860:7:1", + "src": "1961:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2940,28 +3026,28 @@ "visibility": "internal" } ], - "src": "1859:21:1" + "src": "1960:21:1" }, - "src": "1843:38:1" + "src": "1944:38:1" }, { "anonymous": false, "documentation": null, - "id": 431, + "id": 437, "name": "DeleteShopModerator", "nodeType": "EventDefinition", "parameters": { - "id": 430, + "id": 436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 427, + "id": 433, "indexed": true, "name": "moderator", "nodeType": "VariableDeclaration", - "scope": 431, - "src": "1946:25:1", + "scope": 437, + "src": "2047:25:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2969,10 +3055,10 @@ "typeString": "address" }, "typeName": { - "id": 426, + "id": 432, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1946:7:1", + "src": "2047:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2983,12 +3069,12 @@ }, { "constant": false, - "id": 429, + "id": 435, "indexed": false, "name": "shopAddress", "nodeType": "VariableDeclaration", - "scope": 431, - "src": "1973:19:1", + "scope": 437, + "src": "2074:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2996,10 +3082,10 @@ "typeString": "address" }, "typeName": { - "id": 428, + "id": 434, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1973:7:1", + "src": "2074:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3009,28 +3095,28 @@ "visibility": "internal" } ], - "src": "1945:48:1" + "src": "2046:48:1" }, - "src": "1920:74:1" + "src": "2021:74:1" }, { "anonymous": false, "documentation": null, - "id": 437, + "id": 443, "name": "DeleteTellerModerator", "nodeType": "EventDefinition", "parameters": { - "id": 436, + "id": 442, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 433, + "id": 439, "indexed": true, "name": "moderator", "nodeType": "VariableDeclaration", - "scope": 437, - "src": "2063:25:1", + "scope": 443, + "src": "2164:25:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3038,10 +3124,10 @@ "typeString": "address" }, "typeName": { - "id": 432, + "id": 438, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2063:7:1", + "src": "2164:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3052,12 +3138,12 @@ }, { "constant": false, - "id": 435, + "id": 441, "indexed": false, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 437, - "src": "2090:21:1", + "scope": 443, + "src": "2191:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3065,10 +3151,10 @@ "typeString": "address" }, "typeName": { - "id": 434, + "id": 440, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2090:7:1", + "src": "2191:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3078,15 +3164,15 @@ "visibility": "internal" } ], - "src": "2062:50:1" + "src": "2163:50:1" }, - "src": "2035:78:1" + "src": "2136:78:1" }, { "body": { - "id": 452, + "id": 458, "nodeType": "Block", - "src": "2221:66:1", + "src": "2322:66:1", "statements": [ { "expression": { @@ -3098,7 +3184,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 448, + "id": 454, "isConstant": false, "isLValue": false, "isPure": false, @@ -3110,18 +3196,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 444, + "id": 450, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "2253:3:1", + "referencedDeclaration": 3390, + "src": "2354:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 445, + "id": 451, "isConstant": false, "isLValue": false, "isPure": false, @@ -3129,7 +3215,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2253:10:1", + "src": "2354:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3145,18 +3231,18 @@ ], "expression": { "argumentTypes": null, - "id": 442, + "id": 448, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "2235:4:1", + "referencedDeclaration": 479, + "src": "2336:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 443, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -3164,13 +3250,13 @@ "memberName": "getDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 361, - "src": "2235:17:1", + "src": "2336:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 446, + "id": 452, "isConstant": false, "isLValue": false, "isPure": false, @@ -3178,7 +3264,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2235:29:1", + "src": "2336:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3188,18 +3274,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 447, + "id": 453, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 439, - "src": "2268:6:1", + "referencedDeclaration": 445, + "src": "2369:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2235:39:1", + "src": "2336:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3213,21 +3299,21 @@ "typeString": "bool" } ], - "id": 441, + "id": 447, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "2227:7:1", + "referencedDeclaration": 3393, + "src": "2328:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 449, + "id": 455, "isConstant": false, "isLValue": false, "isPure": false, @@ -3235,38 +3321,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2227:48:1", + "src": "2328:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 450, + "id": 456, "nodeType": "ExpressionStatement", - "src": "2227:48:1" + "src": "2328:48:1" }, { - "id": 451, + "id": 457, "nodeType": "PlaceholderStatement", - "src": "2281:1:1" + "src": "2382:1:1" } ] }, "documentation": "Modifier", - "id": 453, + "id": 459, "name": "tellerHasStaked", "nodeType": "ModifierDefinition", "parameters": { - "id": 440, + "id": 446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 439, + "id": 445, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 453, - "src": "2208:11:1", + "scope": 459, + "src": "2309:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3274,10 +3360,10 @@ "typeString": "uint256" }, "typeName": { - "id": 438, + "id": 444, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2208:4:1", + "src": "2309:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3287,16 +3373,16 @@ "visibility": "internal" } ], - "src": "2207:13:1" + "src": "2308:13:1" }, - "src": "2183:104:1", + "src": "2284:104:1", "visibility": "internal" }, { "body": { - "id": 468, + "id": 474, "nodeType": "Block", - "src": "2364:64:1", + "src": "2465:64:1", "statements": [ { "expression": { @@ -3308,7 +3394,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 464, + "id": 470, "isConstant": false, "isLValue": false, "isPure": false, @@ -3320,18 +3406,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 460, + "id": 466, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "2394:3:1", + "referencedDeclaration": 3390, + "src": "2495:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 461, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, @@ -3339,7 +3425,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2394:10:1", + "src": "2495:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3355,18 +3441,18 @@ ], "expression": { "argumentTypes": null, - "id": 458, + "id": 464, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "2378:4:1", + "referencedDeclaration": 479, + "src": "2479:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 459, + "id": 465, "isConstant": false, "isLValue": false, "isPure": false, @@ -3374,13 +3460,13 @@ "memberName": "getDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 368, - "src": "2378:15:1", + "src": "2479:15:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 462, + "id": 468, "isConstant": false, "isLValue": false, "isPure": false, @@ -3388,7 +3474,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2378:27:1", + "src": "2479:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3398,18 +3484,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 463, + "id": 469, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 455, - "src": "2409:6:1", + "referencedDeclaration": 461, + "src": "2510:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2378:37:1", + "src": "2479:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3423,21 +3509,21 @@ "typeString": "bool" } ], - "id": 457, + "id": 463, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "2370:7:1", + "referencedDeclaration": 3393, + "src": "2471:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 465, + "id": 471, "isConstant": false, "isLValue": false, "isPure": false, @@ -3445,38 +3531,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2370:46:1", + "src": "2471:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 466, + "id": 472, "nodeType": "ExpressionStatement", - "src": "2370:46:1" + "src": "2471:46:1" }, { - "id": 467, + "id": 473, "nodeType": "PlaceholderStatement", - "src": "2422:1:1" + "src": "2523:1:1" } ] }, "documentation": null, - "id": 469, + "id": 475, "name": "shopHasStaked", "nodeType": "ModifierDefinition", "parameters": { - "id": 456, + "id": 462, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 455, + "id": 461, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 469, - "src": "2351:11:1", + "scope": 475, + "src": "2452:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3484,10 +3570,10 @@ "typeString": "uint256" }, "typeName": { - "id": 454, + "id": 460, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2351:4:1", + "src": "2452:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3497,33 +3583,33 @@ "visibility": "internal" } ], - "src": "2350:13:1" + "src": "2451:13:1" }, - "src": "2328:100:1", + "src": "2429:100:1", "visibility": "internal" }, { "constant": false, - "id": 471, + "id": 477, "name": "dth", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2484:22:1", + "scope": 2672, + "src": "2585:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" }, "typeName": { "contractScope": null, - "id": 470, + "id": 476, "name": "ERC223Basic", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2948, - "src": "2484:11:1", + "referencedDeclaration": 2961, + "src": "2585:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, @@ -3532,11 +3618,11 @@ }, { "constant": false, - "id": 473, + "id": 479, "name": "bank", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2558:22:1", + "scope": 2672, + "src": "2659:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3545,11 +3631,11 @@ }, "typeName": { "contractScope": null, - "id": 472, + "id": 478, "name": "DetherBank", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 388, - "src": "2558:10:1", + "src": "2659:10:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -3560,11 +3646,11 @@ }, { "constant": false, - "id": 475, + "id": 481, "name": "priceOracle", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2585:37:1", + "scope": 2672, + "src": "2686:37:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3573,11 +3659,11 @@ }, "typeName": { "contractScope": null, - "id": 474, + "id": 480, "name": "ExchangeRateOracle", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 300, - "src": "2585:18:1", + "src": "2686:18:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" @@ -3588,15 +3674,15 @@ }, { "canonicalName": "DetherCore.Teller", - "id": 502, + "id": 508, "members": [ { "constant": false, - "id": 477, + "id": 483, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2666:9:1", + "scope": 508, + "src": "2767:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3604,10 +3690,10 @@ "typeString": "int32" }, "typeName": { - "id": 476, + "id": 482, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2666:5:1", + "src": "2767:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -3618,11 +3704,11 @@ }, { "constant": false, - "id": 479, + "id": 485, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2704:9:1", + "scope": 508, + "src": "2805:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3630,10 +3716,10 @@ "typeString": "int32" }, "typeName": { - "id": 478, + "id": 484, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2704:5:1", + "src": "2805:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -3644,11 +3730,11 @@ }, { "constant": false, - "id": 481, + "id": 487, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2743:16:1", + "scope": 508, + "src": "2844:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3656,10 +3742,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 480, + "id": 486, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "2743:6:1", + "src": "2844:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -3670,11 +3756,11 @@ }, { "constant": false, - "id": 483, + "id": 489, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2854:18:1", + "scope": 508, + "src": "2955:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3682,10 +3768,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 482, + "id": 488, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2854:7:1", + "src": "2955:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -3696,11 +3782,11 @@ }, { "constant": false, - "id": 485, + "id": 491, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2966:15:1", + "scope": 508, + "src": "3067:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3708,10 +3794,10 @@ "typeString": "int8" }, "typeName": { - "id": 484, + "id": 490, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "2966:4:1", + "src": "3067:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -3722,11 +3808,11 @@ }, { "constant": false, - "id": 487, + "id": 493, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3015:17:1", + "scope": 508, + "src": "3116:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3734,10 +3820,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 486, + "id": 492, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "3015:7:1", + "src": "3116:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -3748,11 +3834,11 @@ }, { "constant": false, - "id": 489, + "id": 495, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3063:13:1", + "scope": 508, + "src": "3164:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3760,10 +3846,10 @@ "typeString": "int8" }, "typeName": { - "id": 488, + "id": 494, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "3063:4:1", + "src": "3164:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -3774,11 +3860,11 @@ }, { "constant": false, - "id": 491, + "id": 497, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3138:11:1", + "scope": 508, + "src": "3239:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3786,10 +3872,10 @@ "typeString": "int16" }, "typeName": { - "id": 490, + "id": 496, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "3138:5:1", + "src": "3239:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -3800,11 +3886,11 @@ }, { "constant": false, - "id": 493, + "id": 499, "name": "buyer", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3246:10:1", + "scope": 508, + "src": "3347:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3812,10 +3898,10 @@ "typeString": "bool" }, "typeName": { - "id": 492, + "id": 498, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3246:4:1", + "src": "3347:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3826,11 +3912,11 @@ }, { "constant": false, - "id": 495, + "id": 501, "name": "buyRates", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3312:14:1", + "scope": 508, + "src": "3413:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3838,10 +3924,10 @@ "typeString": "int16" }, "typeName": { - "id": 494, + "id": 500, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "3312:5:1", + "src": "3413:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -3852,11 +3938,11 @@ }, { "constant": false, - "id": 497, + "id": 503, "name": "zoneIndex", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3365:14:1", + "scope": 508, + "src": "3466:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3864,10 +3950,10 @@ "typeString": "uint256" }, "typeName": { - "id": 496, + "id": 502, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3365:4:1", + "src": "3466:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3878,11 +3964,11 @@ }, { "constant": false, - "id": 499, + "id": 505, "name": "generalIndex", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3420:17:1", + "scope": 508, + "src": "3521:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3890,10 +3976,10 @@ "typeString": "uint256" }, "typeName": { - "id": 498, + "id": 504, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3420:4:1", + "src": "3521:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3904,11 +3990,11 @@ }, { "constant": false, - "id": 501, + "id": 507, "name": "online", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3474:11:1", + "scope": 508, + "src": "3575:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3916,10 +4002,10 @@ "typeString": "bool" }, "typeName": { - "id": 500, + "id": 506, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3474:4:1", + "src": "3575:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3931,17 +4017,17 @@ ], "name": "Teller", "nodeType": "StructDefinition", - "scope": 2659, - "src": "2646:941:1", + "scope": 2672, + "src": "2747:941:1", "visibility": "public" }, { "constant": false, - "id": 508, + "id": 514, "name": "pairSellsLoyaltyPerc", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3591:74:1", + "scope": 2672, + "src": "3692:74:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3949,46 +4035,46 @@ "typeString": "mapping(address => mapping(address => uint256))" }, "typeName": { - "id": 507, + "id": 513, "keyType": { - "id": 503, + "id": 509, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3599:7:1", + "src": "3700:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3591:44:1", + "src": "3692:44:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" }, "valueType": { - "id": 506, + "id": 512, "keyType": { - "id": 504, + "id": 510, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3618:7:1", + "src": "3719:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3610:24:1", + "src": "3711:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 505, + "id": 511, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3629:4:1", + "src": "3730:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4001,11 +4087,11 @@ }, { "constant": false, - "id": 512, + "id": 518, "name": "volumeBuy", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3866:34:1", + "scope": 2672, + "src": "3967:34:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4013,28 +4099,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 511, + "id": 517, "keyType": { - "id": 509, + "id": 515, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3874:7:1", + "src": "3975:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3866:24:1", + "src": "3967:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 510, + "id": 516, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3885:4:1", + "src": "3986:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4046,11 +4132,11 @@ }, { "constant": false, - "id": 516, + "id": 522, "name": "volumeSell", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3904:35:1", + "scope": 2672, + "src": "4005:35:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4058,28 +4144,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 515, + "id": 521, "keyType": { - "id": 513, + "id": 519, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3912:7:1", + "src": "4013:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3904:24:1", + "src": "4005:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 514, + "id": 520, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3923:4:1", + "src": "4024:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4091,11 +4177,11 @@ }, { "constant": false, - "id": 520, + "id": 526, "name": "nbTrade", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3943:32:1", + "scope": 2672, + "src": "4044:32:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4103,28 +4189,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 519, + "id": 525, "keyType": { - "id": 517, + "id": 523, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3951:7:1", + "src": "4052:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3943:24:1", + "src": "4044:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 518, + "id": 524, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3962:4:1", + "src": "4063:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4136,11 +4222,11 @@ }, { "constant": false, - "id": 524, + "id": 530, "name": "loyaltyPoints", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3979:41:1", + "scope": 2672, + "src": "4080:41:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4148,28 +4234,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 523, + "id": 529, "keyType": { - "id": 521, + "id": 527, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3987:7:1", + "src": "4088:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3979:27:1", + "src": "4080:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 522, + "id": 528, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3998:7:1", + "src": "4099:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4181,44 +4267,44 @@ }, { "constant": false, - "id": 528, + "id": 534, "name": "teller", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4056:33:1", + "scope": 2672, + "src": "4157:33:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller)" }, "typeName": { - "id": 527, + "id": 533, "keyType": { - "id": 525, + "id": 531, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4064:7:1", + "src": "4165:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "4056:26:1", + "src": "4157:26:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller)" }, "valueType": { "contractScope": null, - "id": 526, + "id": 532, "name": "Teller", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 502, - "src": "4075:6:1", + "referencedDeclaration": 508, + "src": "4176:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" } } @@ -4228,11 +4314,11 @@ }, { "constant": false, - "id": 535, + "id": 541, "name": "tellerInZone", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4146:61:1", + "scope": 2672, + "src": "4247:61:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4240,56 +4326,56 @@ "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "typeName": { - "id": 534, + "id": 540, "keyType": { - "id": 529, + "id": 535, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "4154:6:1", + "src": "4255:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "4146:48:1", + "src": "4247:48:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "valueType": { - "id": 533, + "id": 539, "keyType": { - "id": 530, + "id": 536, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4172:7:1", + "src": "4273:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, "nodeType": "Mapping", - "src": "4164:29:1", + "src": "4265:29:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[])" }, "valueType": { "baseType": { - "id": 531, + "id": 537, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4183:7:1", + "src": "4284:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 532, + "id": 538, "length": null, "nodeType": "ArrayTypeName", - "src": "4183:9:1", + "src": "4284:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -4302,11 +4388,11 @@ }, { "constant": false, - "id": 538, + "id": 544, "name": "tellerIndex", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4250:28:1", + "scope": 2672, + "src": "4351:28:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4315,19 +4401,19 @@ }, "typeName": { "baseType": { - "id": 536, + "id": 542, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4250:7:1", + "src": "4351:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 537, + "id": 543, "length": null, "nodeType": "ArrayTypeName", - "src": "4250:9:1", + "src": "4351:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -4338,11 +4424,11 @@ }, { "constant": false, - "id": 541, + "id": 547, "name": "isStarted", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4325:22:1", + "scope": 2672, + "src": "4426:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4350,10 +4436,10 @@ "typeString": "bool" }, "typeName": { - "id": 539, + "id": 545, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "4325:4:1", + "src": "4426:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4362,14 +4448,14 @@ "value": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 540, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "4342:5:1", + "src": "4443:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4381,15 +4467,15 @@ }, { "canonicalName": "DetherCore.Shop", - "id": 564, + "id": 570, "members": [ { "constant": false, - "id": 543, + "id": 549, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4386:9:1", + "scope": 570, + "src": "4487:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4397,10 +4483,10 @@ "typeString": "int32" }, "typeName": { - "id": 542, + "id": 548, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "4386:5:1", + "src": "4487:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -4411,11 +4497,11 @@ }, { "constant": false, - "id": 545, + "id": 551, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4424:9:1", + "scope": 570, + "src": "4525:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4423,10 +4509,10 @@ "typeString": "int32" }, "typeName": { - "id": 544, + "id": 550, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "4424:5:1", + "src": "4525:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -4437,11 +4523,11 @@ }, { "constant": false, - "id": 547, + "id": 553, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4463:16:1", + "scope": 570, + "src": "4564:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4449,10 +4535,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 546, + "id": 552, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "4463:6:1", + "src": "4564:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -4463,11 +4549,11 @@ }, { "constant": false, - "id": 549, + "id": 555, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4579:18:1", + "scope": 570, + "src": "4680:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4475,10 +4561,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 548, + "id": 554, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4579:7:1", + "src": "4680:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4489,11 +4575,11 @@ }, { "constant": false, - "id": 551, + "id": 557, "name": "cat", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4705:11:1", + "scope": 570, + "src": "4806:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4501,10 +4587,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 550, + "id": 556, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4705:7:1", + "src": "4806:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4515,11 +4601,11 @@ }, { "constant": false, - "id": 553, + "id": 559, "name": "name", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4827:12:1", + "scope": 570, + "src": "4928:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4527,10 +4613,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 552, + "id": 558, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4928:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4541,11 +4627,11 @@ }, { "constant": false, - "id": 555, + "id": 561, "name": "description", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4887:19:1", + "scope": 570, + "src": "4988:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4553,10 +4639,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 554, + "id": 560, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "4887:7:1", + "src": "4988:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -4567,11 +4653,11 @@ }, { "constant": false, - "id": 557, + "id": 563, "name": "opening", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4940:15:1", + "scope": 570, + "src": "5041:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4579,10 +4665,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 556, + "id": 562, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4940:7:1", + "src": "5041:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -4593,11 +4679,11 @@ }, { "constant": false, - "id": 559, + "id": 565, "name": "zoneIndex", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5010:14:1", + "scope": 570, + "src": "5111:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4605,10 +4691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 558, + "id": 564, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5010:4:1", + "src": "5111:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4619,11 +4705,11 @@ }, { "constant": false, - "id": 561, + "id": 567, "name": "generalIndex", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5065:17:1", + "scope": 570, + "src": "5166:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4631,10 +4717,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 566, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5065:4:1", + "src": "5166:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4645,11 +4731,11 @@ }, { "constant": false, - "id": 563, + "id": 569, "name": "detherShop", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5119:15:1", + "scope": 570, + "src": "5220:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4657,10 +4743,10 @@ "typeString": "bool" }, "typeName": { - "id": 562, + "id": 568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5119:4:1", + "src": "5220:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4672,50 +4758,50 @@ ], "name": "Shop", "nodeType": "StructDefinition", - "scope": 2659, - "src": "4368:861:1", + "scope": 2672, + "src": "4469:861:1", "visibility": "public" }, { "constant": false, - "id": 568, + "id": 574, "name": "shop", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5262:29:1", + "scope": 2672, + "src": "5363:29:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop)" }, "typeName": { - "id": 567, + "id": 573, "keyType": { - "id": 565, + "id": 571, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5270:7:1", + "src": "5371:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "5262:24:1", + "src": "5363:24:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop)" }, "valueType": { "contractScope": null, - "id": 566, + "id": 572, "name": "Shop", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 564, - "src": "5281:4:1", + "referencedDeclaration": 570, + "src": "5382:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" } } @@ -4725,11 +4811,11 @@ }, { "constant": false, - "id": 575, + "id": 581, "name": "shopInZone", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5347:59:1", + "scope": 2672, + "src": "5448:59:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4737,56 +4823,56 @@ "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "typeName": { - "id": 574, + "id": 580, "keyType": { - "id": 569, + "id": 575, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "5355:6:1", + "src": "5456:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "5347:48:1", + "src": "5448:48:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "valueType": { - "id": 573, + "id": 579, "keyType": { - "id": 570, + "id": 576, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "5373:7:1", + "src": "5474:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, "nodeType": "Mapping", - "src": "5365:29:1", + "src": "5466:29:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[])" }, "valueType": { "baseType": { - "id": 571, + "id": 577, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5384:7:1", + "src": "5485:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 572, + "id": 578, "length": null, "nodeType": "ArrayTypeName", - "src": "5384:9:1", + "src": "5485:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -4799,11 +4885,11 @@ }, { "constant": false, - "id": 578, + "id": 584, "name": "shopIndex", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5447:26:1", + "scope": 2672, + "src": "5548:26:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -4812,19 +4898,19 @@ }, "typeName": { "baseType": { - "id": 576, + "id": 582, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5447:7:1", + "src": "5548:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 577, + "id": 583, "length": null, "nodeType": "ArrayTypeName", - "src": "5447:9:1", + "src": "5548:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -4835,26 +4921,26 @@ }, { "body": { - "id": 586, + "id": 592, "nodeType": "Block", - "src": "5571:33:1", + "src": "5672:33:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 584, + "id": 590, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 581, + "id": 587, "name": "ceoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7, - "src": "5576:10:1", + "src": "5677:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4866,18 +4952,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 582, + "id": 588, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "5589:3:1", + "referencedDeclaration": 3390, + "src": "5690:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 583, + "id": 589, "isConstant": false, "isLValue": false, "isPure": false, @@ -4885,26 +4971,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5589:10:1", + "src": "5690:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "5576:23:1", + "src": "5677:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 585, + "id": 591, "nodeType": "ExpressionStatement", - "src": "5576:23:1" + "src": "5677:23:1" } ] }, "documentation": null, - "id": 587, + "id": 593, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -4912,29 +4998,29 @@ "name": "DetherCore", "nodeType": "FunctionDefinition", "parameters": { - "id": 579, + "id": 585, "nodeType": "ParameterList", "parameters": [], - "src": "5568:2:1" + "src": "5669:2:1" }, "payable": false, "returnParameters": { - "id": 580, + "id": 586, "nodeType": "ParameterList", "parameters": [], - "src": "5571:0:1" + "src": "5672:0:1" }, - "scope": 2659, - "src": "5549:55:1", + "scope": 2672, + "src": "5650:55:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 617, + "id": 623, "nodeType": "Block", - "src": "5676:111:1", + "src": "5777:111:1", "statements": [ { "expression": { @@ -4942,7 +5028,7 @@ "arguments": [ { "argumentTypes": null, - "id": 598, + "id": 604, "isConstant": false, "isLValue": false, "isPure": false, @@ -4950,15 +5036,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "5690:10:1", + "src": "5791:10:1", "subExpression": { "argumentTypes": null, - "id": 597, + "id": 603, "name": "isStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 541, - "src": "5691:9:1", + "referencedDeclaration": 547, + "src": "5792:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4977,21 +5063,21 @@ "typeString": "bool" } ], - "id": 596, + "id": 602, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "5682:7:1", + "referencedDeclaration": 3393, + "src": "5783:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 599, + "id": 605, "isConstant": false, "isLValue": false, "isPure": false, @@ -4999,34 +5085,34 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5682:19:1", + "src": "5783:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 600, + "id": 606, "nodeType": "ExpressionStatement", - "src": "5682:19:1" + "src": "5783:19:1" }, { "expression": { "argumentTypes": null, - "id": 605, + "id": 611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 601, + "id": 607, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "5707:3:1", + "referencedDeclaration": 477, + "src": "5808:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, @@ -5037,12 +5123,12 @@ "arguments": [ { "argumentTypes": null, - "id": 603, + "id": 609, "name": "_dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 589, - "src": "5725:4:1", + "referencedDeclaration": 595, + "src": "5826:4:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5056,18 +5142,18 @@ "typeString": "address" } ], - "id": 602, + "id": 608, "name": "ERC223Basic", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2948, - "src": "5713:11:1", + "referencedDeclaration": 2961, + "src": "5814:11:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC223Basic_$2948_$", + "typeIdentifier": "t_type$_t_contract$_ERC223Basic_$2961_$", "typeString": "type(contract ERC223Basic)" } }, - "id": 604, + "id": 610, "isConstant": false, "isLValue": false, "isPure": false, @@ -5075,38 +5161,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5713:17:1", + "src": "5814:17:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "src": "5707:23:1", + "src": "5808:23:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 606, + "id": 612, "nodeType": "ExpressionStatement", - "src": "5707:23:1" + "src": "5808:23:1" }, { "expression": { "argumentTypes": null, - "id": 611, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 607, + "id": 613, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "5736:4:1", + "referencedDeclaration": 479, + "src": "5837:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -5119,12 +5205,12 @@ "arguments": [ { "argumentTypes": null, - "id": 609, + "id": 615, "name": "_bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 591, - "src": "5754:5:1", + "referencedDeclaration": 597, + "src": "5855:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5138,18 +5224,18 @@ "typeString": "address" } ], - "id": 608, + "id": 614, "name": "DetherBank", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 388, - "src": "5743:10:1", + "src": "5844:10:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_DetherBank_$388_$", "typeString": "type(contract DetherBank)" } }, - "id": 610, + "id": 616, "isConstant": false, "isLValue": false, "isPure": false, @@ -5157,38 +5243,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5743:17:1", + "src": "5844:17:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "src": "5736:24:1", + "src": "5837:24:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 612, + "id": 618, "nodeType": "ExpressionStatement", - "src": "5736:24:1" + "src": "5837:24:1" }, { "expression": { "argumentTypes": null, - "id": 615, + "id": 621, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 613, + "id": 619, "name": "isStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 541, - "src": "5766:9:1", + "referencedDeclaration": 547, + "src": "5867:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5199,14 +5285,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 614, + "id": 620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5778:4:1", + "src": "5879:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5214,57 +5300,57 @@ }, "value": "true" }, - "src": "5766:16:1", + "src": "5867:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 616, + "id": 622, "nodeType": "ExpressionStatement", - "src": "5766:16:1" + "src": "5867:16:1" } ] }, "documentation": null, - "id": 618, + "id": 624, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 594, + "id": 600, "modifierName": { "argumentTypes": null, - "id": 593, + "id": 599, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 35, - "src": "5668:7:1", + "src": "5769:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5668:7:1" + "src": "5769:7:1" } ], "name": "initContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 592, + "id": 598, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 589, + "id": 595, "name": "_dth", "nodeType": "VariableDeclaration", - "scope": 618, - "src": "5630:12:1", + "scope": 624, + "src": "5731:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5272,10 +5358,10 @@ "typeString": "address" }, "typeName": { - "id": 588, + "id": 594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5630:7:1", + "src": "5731:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5286,11 +5372,11 @@ }, { "constant": false, - "id": 591, + "id": 597, "name": "_bank", "nodeType": "VariableDeclaration", - "scope": 618, - "src": "5644:13:1", + "scope": 624, + "src": "5745:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5298,10 +5384,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 596, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5644:7:1", + "src": "5745:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5311,43 +5397,43 @@ "visibility": "internal" } ], - "src": "5629:29:1" + "src": "5730:29:1" }, "payable": false, "returnParameters": { - "id": 595, + "id": 601, "nodeType": "ParameterList", "parameters": [], - "src": "5676:0:1" + "src": "5777:0:1" }, - "scope": 2659, - "src": "5607:180:1", + "scope": 2672, + "src": "5708:180:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 631, + "id": 637, "nodeType": "Block", - "src": "5855:57:1", + "src": "5956:57:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 629, + "id": 635, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 625, + "id": 631, "name": "priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 475, - "src": "5861:11:1", + "referencedDeclaration": 481, + "src": "5962:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" @@ -5360,12 +5446,12 @@ "arguments": [ { "argumentTypes": null, - "id": 627, + "id": 633, "name": "_priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 620, - "src": "5894:12:1", + "referencedDeclaration": 626, + "src": "5995:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5379,18 +5465,18 @@ "typeString": "address" } ], - "id": 626, + "id": 632, "name": "ExchangeRateOracle", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 300, - "src": "5875:18:1", + "src": "5976:18:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_ExchangeRateOracle_$300_$", "typeString": "type(contract ExchangeRateOracle)" } }, - "id": 628, + "id": 634, "isConstant": false, "isLValue": false, "isPure": false, @@ -5398,63 +5484,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5875:32:1", + "src": "5976:32:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "src": "5861:46:1", + "src": "5962:46:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "id": 630, + "id": 636, "nodeType": "ExpressionStatement", - "src": "5861:46:1" + "src": "5962:46:1" } ] }, "documentation": null, - "id": 632, + "id": 638, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 623, + "id": 629, "modifierName": { "argumentTypes": null, - "id": 622, + "id": 628, "name": "onlyCFO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "5847:7:1", + "src": "5948:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5847:7:1" + "src": "5948:7:1" } ], "name": "setPriceOracle", "nodeType": "FunctionDefinition", "parameters": { - "id": 621, + "id": 627, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 620, + "id": 626, "name": "_priceOracle", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5816:20:1", + "scope": 638, + "src": "5917:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5462,10 +5548,10 @@ "typeString": "address" }, "typeName": { - "id": 619, + "id": 625, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5816:7:1", + "src": "5917:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5475,26 +5561,26 @@ "visibility": "internal" } ], - "src": "5815:22:1" + "src": "5916:22:1" }, "payable": false, "returnParameters": { - "id": 624, + "id": 630, "nodeType": "ParameterList", "parameters": [], - "src": "5855:0:1" + "src": "5956:0:1" }, - "scope": 2659, - "src": "5791:121:1", + "scope": 2672, + "src": "5892:121:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1269, + "id": 1275, "nodeType": "Block", - "src": "6651:4338:1", + "src": "6752:4338:1", "statements": [ { "expression": { @@ -5506,7 +5592,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 652, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -5515,18 +5601,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 647, + "id": 653, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "6745:3:1", + "referencedDeclaration": 3390, + "src": "6846:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 648, + "id": 654, "isConstant": false, "isLValue": false, "isPure": false, @@ -5534,7 +5620,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6745:10:1", + "src": "6846:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5547,14 +5633,14 @@ "arguments": [ { "argumentTypes": null, - "id": 650, + "id": 656, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "6767:3:1", + "referencedDeclaration": 477, + "src": "6868:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } } @@ -5562,24 +5648,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } ], - "id": 649, + "id": 655, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6759:7:1", + "src": "6860:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 651, + "id": 657, "isConstant": false, "isLValue": false, "isPure": false, @@ -5587,13 +5673,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6759:12:1", + "src": "6860:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "6745:26:1", + "src": "6846:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5607,21 +5693,21 @@ "typeString": "bool" } ], - "id": 646, + "id": 652, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "6737:7:1", + "referencedDeclaration": 3393, + "src": "6838:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 653, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, @@ -5629,28 +5715,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6737:35:1", + "src": "6838:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 654, + "id": 660, "nodeType": "ExpressionStatement", - "src": "6737:35:1" + "src": "6838:35:1" }, { "assignments": [ - 656 + 662 ], "declarations": [ { "constant": false, - "id": 656, + "id": 662, "name": "_func", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6889:12:1", + "scope": 1276, + "src": "6990:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5658,10 +5744,10 @@ "typeString": "bytes1" }, "typeName": { - "id": 655, + "id": 661, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "6889:6:1", + "src": "6990:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -5671,21 +5757,21 @@ "visibility": "internal" } ], - "id": 661, + "id": 667, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", - "id": 659, + "id": 665, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6919:1:1", + "src": "7020:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -5703,32 +5789,32 @@ ], "expression": { "argumentTypes": null, - "id": 657, + "id": 663, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6904:5:1", + "referencedDeclaration": 644, + "src": "7005:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 658, + "id": 664, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "6904:14:1", + "referencedDeclaration": 3308, + "src": "7005:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 660, + "id": 666, "isConstant": false, "isLValue": false, "isPure": false, @@ -5736,27 +5822,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6904:17:1", + "src": "7005:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "nodeType": "VariableDeclarationStatement", - "src": "6889:32:1" + "src": "6990:32:1" }, { "assignments": [ - 663 + 669 ], "declarations": [ { "constant": false, - "id": 663, + "id": 669, "name": "posLat", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6927:12:1", + "scope": 1276, + "src": "7028:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5764,10 +5850,10 @@ "typeString": "int32" }, "typeName": { - "id": 662, + "id": 668, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "6927:5:1", + "src": "7028:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -5777,7 +5863,7 @@ "visibility": "internal" } ], - "id": 688, + "id": 694, "initialValue": { "argumentTypes": null, "condition": { @@ -5786,7 +5872,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 671, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -5797,14 +5883,14 @@ { "argumentTypes": null, "hexValue": "31", - "id": 666, + "id": 672, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6957:1:1", + "src": "7058:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -5822,32 +5908,32 @@ ], "expression": { "argumentTypes": null, - "id": 664, + "id": 670, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6942:5:1", + "referencedDeclaration": 644, + "src": "7043:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 665, + "id": 671, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "6942:14:1", + "referencedDeclaration": 3308, + "src": "7043:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 667, + "id": 673, "isConstant": false, "isLValue": false, "isPure": false, @@ -5855,7 +5941,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6942:17:1", + "src": "7043:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -5869,14 +5955,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 669, + "id": 675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6970:4:1", + "src": "7071:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -5892,20 +5978,20 @@ "typeString": "int_const 1" } ], - "id": 668, + "id": 674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6963:6:1", + "src": "7064:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 670, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, @@ -5913,13 +5999,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6963:12:1", + "src": "7064:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "6942:33:1", + "src": "7043:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5934,14 +6020,14 @@ { "argumentTypes": null, "hexValue": "32", - "id": 684, + "id": 690, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7031:1:1", + "src": "7132:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -5959,32 +6045,32 @@ ], "expression": { "argumentTypes": null, - "id": 682, + "id": 688, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7016:5:1", + "referencedDeclaration": 644, + "src": "7117:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 683, + "id": 689, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7016:14:1", + "referencedDeclaration": 3282, + "src": "7117:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 685, + "id": 691, "isConstant": false, "isLValue": false, "isPure": false, @@ -5992,7 +6078,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7016:17:1", + "src": "7117:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -6006,20 +6092,20 @@ "typeString": "bytes4" } ], - "id": 681, + "id": 687, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7010:5:1", + "src": "7111:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 686, + "id": 692, "isConstant": false, "isLValue": false, "isPure": false, @@ -6027,26 +6113,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7010:24:1", + "src": "7111:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 687, + "id": 693, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "6942:92:1", + "src": "7043:92:1", "trueExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_int32", "typeString": "int32" }, - "id": 680, + "id": 686, "isConstant": false, "isLValue": false, "isPure": false, @@ -6060,14 +6146,14 @@ { "argumentTypes": null, "hexValue": "32", - "id": 675, + "id": 681, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6999:1:1", + "src": "7100:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -6085,32 +6171,32 @@ ], "expression": { "argumentTypes": null, - "id": 673, + "id": 679, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6984:5:1", + "referencedDeclaration": 644, + "src": "7085:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 674, + "id": 680, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "6984:14:1", + "referencedDeclaration": 3282, + "src": "7085:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 676, + "id": 682, "isConstant": false, "isLValue": false, "isPure": false, @@ -6118,7 +6204,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6984:17:1", + "src": "7085:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -6132,20 +6218,20 @@ "typeString": "bytes4" } ], - "id": 672, + "id": 678, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6978:5:1", + "src": "7079:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 677, + "id": 683, "isConstant": false, "isLValue": false, "isPure": false, @@ -6153,7 +6239,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6978:24:1", + "src": "7079:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -6163,7 +6249,7 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 679, + "id": 685, "isConstant": false, "isLValue": false, "isPure": true, @@ -6171,18 +6257,18 @@ "nodeType": "UnaryOperation", "operator": "-", "prefix": true, - "src": "7005:2:1", + "src": "7106:2:1", "subExpression": { "argumentTypes": null, "hexValue": "31", - "id": 678, + "id": 684, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7006:1:1", + "src": "7107:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -6195,7 +6281,7 @@ "typeString": "int_const -1" } }, - "src": "6978:29:1", + "src": "7079:29:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -6207,20 +6293,20 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "6927:107:1" + "src": "7028:107:1" }, { "assignments": [ - 690 + 696 ], "declarations": [ { "constant": false, - "id": 690, + "id": 696, "name": "posLng", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "7040:12:1", + "scope": 1276, + "src": "7141:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6228,10 +6314,10 @@ "typeString": "int32" }, "typeName": { - "id": 689, + "id": 695, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "7040:5:1", + "src": "7141:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -6241,7 +6327,7 @@ "visibility": "internal" } ], - "id": 715, + "id": 721, "initialValue": { "argumentTypes": null, "condition": { @@ -6250,7 +6336,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 698, + "id": 704, "isConstant": false, "isLValue": false, "isPure": false, @@ -6261,14 +6347,14 @@ { "argumentTypes": null, "hexValue": "36", - "id": 693, + "id": 699, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7070:1:1", + "src": "7171:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_6_by_1", @@ -6286,32 +6372,32 @@ ], "expression": { "argumentTypes": null, - "id": 691, + "id": 697, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7055:5:1", + "referencedDeclaration": 644, + "src": "7156:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 692, + "id": 698, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "7055:14:1", + "referencedDeclaration": 3308, + "src": "7156:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 694, + "id": 700, "isConstant": false, "isLValue": false, "isPure": false, @@ -6319,7 +6405,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7055:17:1", + "src": "7156:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -6333,14 +6419,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 696, + "id": 702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7083:4:1", + "src": "7184:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -6356,20 +6442,20 @@ "typeString": "int_const 1" } ], - "id": 695, + "id": 701, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7076:6:1", + "src": "7177:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 697, + "id": 703, "isConstant": false, "isLValue": false, "isPure": true, @@ -6377,13 +6463,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7076:12:1", + "src": "7177:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "7055:33:1", + "src": "7156:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6398,14 +6484,14 @@ { "argumentTypes": null, "hexValue": "37", - "id": 711, + "id": 717, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7144:1:1", + "src": "7245:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_7_by_1", @@ -6423,32 +6509,32 @@ ], "expression": { "argumentTypes": null, - "id": 709, + "id": 715, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7129:5:1", + "referencedDeclaration": 644, + "src": "7230:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 710, + "id": 716, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7129:14:1", + "referencedDeclaration": 3282, + "src": "7230:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 712, + "id": 718, "isConstant": false, "isLValue": false, "isPure": false, @@ -6456,7 +6542,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7129:17:1", + "src": "7230:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -6470,20 +6556,20 @@ "typeString": "bytes4" } ], - "id": 708, + "id": 714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7123:5:1", + "src": "7224:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 713, + "id": 719, "isConstant": false, "isLValue": false, "isPure": false, @@ -6491,26 +6577,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7123:24:1", + "src": "7224:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 714, + "id": 720, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "7055:92:1", + "src": "7156:92:1", "trueExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_int32", "typeString": "int32" }, - "id": 707, + "id": 713, "isConstant": false, "isLValue": false, "isPure": false, @@ -6524,14 +6610,14 @@ { "argumentTypes": null, "hexValue": "37", - "id": 702, + "id": 708, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7112:1:1", + "src": "7213:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_7_by_1", @@ -6549,32 +6635,32 @@ ], "expression": { "argumentTypes": null, - "id": 700, + "id": 706, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7097:5:1", + "referencedDeclaration": 644, + "src": "7198:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 701, + "id": 707, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7097:14:1", + "referencedDeclaration": 3282, + "src": "7198:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 703, + "id": 709, "isConstant": false, "isLValue": false, "isPure": false, @@ -6582,7 +6668,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7097:17:1", + "src": "7198:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -6596,20 +6682,20 @@ "typeString": "bytes4" } ], - "id": 699, + "id": 705, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7091:5:1", + "src": "7192:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 704, + "id": 710, "isConstant": false, "isLValue": false, "isPure": false, @@ -6617,7 +6703,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7091:24:1", + "src": "7192:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -6627,7 +6713,7 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 706, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, @@ -6635,18 +6721,18 @@ "nodeType": "UnaryOperation", "operator": "-", "prefix": true, - "src": "7118:2:1", + "src": "7219:2:1", "subExpression": { "argumentTypes": null, "hexValue": "31", - "id": 705, + "id": 711, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7119:1:1", + "src": "7220:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -6659,7 +6745,7 @@ "typeString": "int_const -1" } }, - "src": "7091:29:1", + "src": "7192:29:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -6671,7 +6757,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "7040:107:1" + "src": "7141:107:1" }, { "condition": { @@ -6680,19 +6766,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 720, + "id": 726, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 716, + "id": 722, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "7157:5:1", + "referencedDeclaration": 662, + "src": "7258:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -6706,14 +6792,14 @@ { "argumentTypes": null, "hexValue": "30783331", - "id": 718, + "id": 724, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7173:4:1", + "src": "7274:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", @@ -6729,20 +6815,20 @@ "typeString": "int_const 49" } ], - "id": 717, + "id": 723, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7166:6:1", + "src": "7267:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 719, + "id": 725, "isConstant": false, "isLValue": false, "isPure": true, @@ -6750,13 +6836,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7166:12:1", + "src": "7267:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "7157:21:1", + "src": "7258:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6769,19 +6855,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 881, + "id": 887, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 877, + "id": 883, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "8132:5:1", + "referencedDeclaration": 662, + "src": "8233:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -6795,14 +6881,14 @@ { "argumentTypes": null, "hexValue": "30783332", - "id": 879, + "id": 885, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8148:4:1", + "src": "8249:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", @@ -6818,20 +6904,20 @@ "typeString": "int_const 50" } ], - "id": 878, + "id": 884, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8141:6:1", + "src": "8242:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 880, + "id": 886, "isConstant": false, "isLValue": false, "isPure": true, @@ -6839,13 +6925,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8141:12:1", + "src": "8242:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "8132:21:1", + "src": "8233:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6858,19 +6944,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 1084, + "id": 1090, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1080, + "id": 1086, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "9342:5:1", + "referencedDeclaration": 662, + "src": "9443:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -6884,14 +6970,14 @@ { "argumentTypes": null, "hexValue": "30783333", - "id": 1082, + "id": 1088, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9358:4:1", + "src": "9459:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_51_by_1", @@ -6907,20 +6993,20 @@ "typeString": "int_const 51" } ], - "id": 1081, + "id": 1087, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "9351:6:1", + "src": "9452:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 1083, + "id": 1089, "isConstant": false, "isLValue": false, "isPure": true, @@ -6928,26 +7014,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9351:12:1", + "src": "9452:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "9342:21:1", + "src": "9443:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1266, + "id": 1272, "nodeType": "IfStatement", - "src": "9338:1647:1", + "src": "9439:1647:1", "trueBody": { - "id": 1265, + "id": 1271, "nodeType": "Block", - "src": "9365:1620:1", + "src": "9466:1620:1", "statements": [ { "expression": { @@ -6959,19 +7045,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1088, + "id": 1094, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1086, + "id": 1092, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9803:5:1", + "referencedDeclaration": 640, + "src": "9904:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6981,18 +7067,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1087, + "id": 1093, "name": "csoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "9812:10:1", + "src": "9913:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "9803:19:1", + "src": "9904:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7006,21 +7092,21 @@ "typeString": "bool" } ], - "id": 1085, + "id": 1091, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9795:7:1", + "referencedDeclaration": 3393, + "src": "9896:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1089, + "id": 1095, "isConstant": false, "isLValue": false, "isPure": false, @@ -7028,15 +7114,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9795:28:1", + "src": "9896:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1090, + "id": 1096, "nodeType": "ExpressionStatement", - "src": "9795:28:1" + "src": "9896:28:1" }, { "expression": { @@ -7048,19 +7134,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1099, + "id": 1105, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1092, + "id": 1098, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9885:6:1", + "referencedDeclaration": 642, + "src": "9986:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7072,32 +7158,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1093, + "id": 1099, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, - "src": "9895:11:1", + "referencedDeclaration": 2701, + "src": "9996:11:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1098, + "id": 1104, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1096, + "id": 1102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9922:2:1", + "src": "10023:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -7115,32 +7201,32 @@ ], "expression": { "argumentTypes": null, - "id": 1094, + "id": 1100, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9907:5:1", + "referencedDeclaration": 644, + "src": "10008:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1095, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "9907:14:1", + "referencedDeclaration": 3256, + "src": "10008:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1097, + "id": 1103, "isConstant": false, "isLValue": false, "isPure": false, @@ -7148,7 +7234,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9907:18:1", + "src": "10008:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -7159,13 +7245,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9895:31:1", + "src": "9996:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9885:41:1", + "src": "9986:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7179,21 +7265,21 @@ "typeString": "bool" } ], - "id": 1091, + "id": 1097, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9877:7:1", + "referencedDeclaration": 3393, + "src": "9978:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1100, + "id": 1106, "isConstant": false, "isLValue": false, "isPure": false, @@ -7201,15 +7287,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9877:50:1", + "src": "9978:50:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1101, + "id": 1107, "nodeType": "ExpressionStatement", - "src": "9877:50:1" + "src": "9978:50:1" }, { "expression": { @@ -7217,7 +7303,7 @@ "arguments": [ { "argumentTypes": null, - "id": 1111, + "id": 1117, "isConstant": false, "isLValue": false, "isPure": false, @@ -7225,7 +7311,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "9997:38:1", + "src": "10098:38:1", "subExpression": { "argumentTypes": null, "arguments": [ @@ -7238,14 +7324,14 @@ { "argumentTypes": null, "hexValue": "313039", - "id": 1107, + "id": 1113, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10029:3:1", + "src": "10130:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109_by_1", @@ -7263,32 +7349,32 @@ ], "expression": { "argumentTypes": null, - "id": 1105, + "id": 1111, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10013:5:1", + "referencedDeclaration": 644, + "src": "10114:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1106, + "id": 1112, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3139, - "src": "10013:15:1", + "referencedDeclaration": 3152, + "src": "10114:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (address)" } }, - "id": 1108, + "id": 1114, "isConstant": false, "isLValue": false, "isPure": false, @@ -7296,7 +7382,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10013:20:1", + "src": "10114:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7310,20 +7396,20 @@ "typeString": "address" } ], - "id": 1104, + "id": 1110, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10005:7:1", + "src": "10106:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1109, + "id": 1115, "isConstant": false, "isLValue": false, "isPure": false, @@ -7331,7 +7417,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10005:29:1", + "src": "10106:29:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7345,18 +7431,18 @@ "typeString": "address" } ], - "id": 1103, + "id": 1109, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "9998:6:1", + "referencedDeclaration": 2585, + "src": "10099:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1110, + "id": 1116, "isConstant": false, "isLValue": false, "isPure": false, @@ -7364,7 +7450,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9998:37:1", + "src": "10099:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7383,21 +7469,21 @@ "typeString": "bool" } ], - "id": 1102, + "id": 1108, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9989:7:1", + "referencedDeclaration": 3393, + "src": "10090:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1112, + "id": 1118, "isConstant": false, "isLValue": false, "isPure": false, @@ -7405,15 +7491,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9989:47:1", + "src": "10090:47:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1113, + "id": 1119, "nodeType": "ExpressionStatement", - "src": "9989:47:1" + "src": "10090:47:1" }, { "expression": { @@ -7423,32 +7509,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1115, + "id": 1121, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "10082:17:1", + "referencedDeclaration": 2693, + "src": "10183:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 1120, + "id": 1126, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1118, + "id": 1124, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10115:2:1", + "src": "10216:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -7466,32 +7552,32 @@ ], "expression": { "argumentTypes": null, - "id": 1116, + "id": 1122, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10100:5:1", + "referencedDeclaration": 644, + "src": "10201:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1117, + "id": 1123, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10100:14:1", + "referencedDeclaration": 3256, + "src": "10201:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1119, + "id": 1125, "isConstant": false, "isLValue": false, "isPure": false, @@ -7499,7 +7585,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10100:18:1", + "src": "10201:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -7510,7 +7596,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10082:37:1", + "src": "10183:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7524,21 +7610,21 @@ "typeString": "bool" } ], - "id": 1114, + "id": 1120, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "10074:7:1", + "referencedDeclaration": 3393, + "src": "10175:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1121, + "id": 1127, "isConstant": false, "isLValue": false, "isPure": false, @@ -7546,28 +7632,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10074:46:1", + "src": "10175:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1122, + "id": 1128, "nodeType": "ExpressionStatement", - "src": "10074:46:1" + "src": "10175:46:1" }, { "assignments": [ - 1124 + 1130 ], "declarations": [ { "constant": false, - "id": 1124, + "id": 1130, "name": "newShopAddress", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "10128:22:1", + "scope": 1276, + "src": "10229:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7575,10 +7661,10 @@ "typeString": "address" }, "typeName": { - "id": 1123, + "id": 1129, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10128:7:1", + "src": "10229:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7588,21 +7674,21 @@ "visibility": "internal" } ], - "id": 1129, + "id": 1135, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "313039", - "id": 1127, + "id": 1133, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10169:3:1", + "src": "10270:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109_by_1", @@ -7620,32 +7706,32 @@ ], "expression": { "argumentTypes": null, - "id": 1125, + "id": 1131, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10153:5:1", + "referencedDeclaration": 644, + "src": "10254:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1126, + "id": 1132, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3139, - "src": "10153:15:1", + "referencedDeclaration": 3152, + "src": "10254:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (address)" } }, - "id": 1128, + "id": 1134, "isConstant": false, "isLValue": false, "isPure": false, @@ -7653,19 +7739,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10153:20:1", + "src": "10254:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "10128:45:1" + "src": "10229:45:1" }, { "expression": { "argumentTypes": null, - "id": 1135, + "id": 1141, "isConstant": false, "isLValue": false, "isPure": false, @@ -7676,26 +7762,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1130, + "id": 1136, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10181:4:1", + "referencedDeclaration": 574, + "src": "10282:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1132, + "id": 1138, "indexExpression": { "argumentTypes": null, - "id": 1131, + "id": 1137, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10186:14:1", + "referencedDeclaration": 1130, + "src": "10287:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7706,21 +7792,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10181:20:1", + "src": "10282:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1133, + "id": 1139, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "10181:24:1", + "referencedDeclaration": 549, + "src": "10282:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -7730,31 +7816,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1134, + "id": 1140, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "10208:6:1", + "referencedDeclaration": 669, + "src": "10309:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "10181:33:1", + "src": "10282:33:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 1136, + "id": 1142, "nodeType": "ExpressionStatement", - "src": "10181:33:1" + "src": "10282:33:1" }, { "expression": { "argumentTypes": null, - "id": 1142, + "id": 1148, "isConstant": false, "isLValue": false, "isPure": false, @@ -7765,26 +7851,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1137, + "id": 1143, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10222:4:1", + "referencedDeclaration": 574, + "src": "10323:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1139, + "id": 1145, "indexExpression": { "argumentTypes": null, - "id": 1138, + "id": 1144, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10227:14:1", + "referencedDeclaration": 1130, + "src": "10328:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7795,21 +7881,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10222:20:1", + "src": "10323:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1140, + "id": 1146, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "10222:24:1", + "referencedDeclaration": 551, + "src": "10323:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -7819,31 +7905,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1141, + "id": 1147, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "10249:6:1", + "referencedDeclaration": 696, + "src": "10350:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "10222:33:1", + "src": "10323:33:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 1143, + "id": 1149, "nodeType": "ExpressionStatement", - "src": "10222:33:1" + "src": "10323:33:1" }, { "expression": { "argumentTypes": null, - "id": 1152, + "id": 1158, "isConstant": false, "isLValue": false, "isPure": false, @@ -7854,26 +7940,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1144, + "id": 1150, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10263:4:1", + "referencedDeclaration": 574, + "src": "10364:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1146, + "id": 1152, "indexExpression": { "argumentTypes": null, - "id": 1145, + "id": 1151, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10268:14:1", + "referencedDeclaration": 1130, + "src": "10369:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7884,21 +7970,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10263:20:1", + "src": "10364:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1147, + "id": 1153, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "10263:30:1", + "referencedDeclaration": 553, + "src": "10364:30:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -7912,14 +7998,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 1150, + "id": 1156, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10311:2:1", + "src": "10412:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -7937,32 +8023,32 @@ ], "expression": { "argumentTypes": null, - "id": 1148, + "id": 1154, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10296:5:1", + "referencedDeclaration": 644, + "src": "10397:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1149, + "id": 1155, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10296:14:1", + "referencedDeclaration": 3256, + "src": "10397:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1151, + "id": 1157, "isConstant": false, "isLValue": false, "isPure": false, @@ -7970,26 +8056,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10296:18:1", + "src": "10397:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "10263:51:1", + "src": "10364:51:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 1153, + "id": 1159, "nodeType": "ExpressionStatement", - "src": "10263:51:1" + "src": "10364:51:1" }, { "expression": { "argumentTypes": null, - "id": 1162, + "id": 1168, "isConstant": false, "isLValue": false, "isPure": false, @@ -8000,26 +8086,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1154, + "id": 1160, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10322:4:1", + "referencedDeclaration": 574, + "src": "10423:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1156, + "id": 1162, "indexExpression": { "argumentTypes": null, - "id": 1155, + "id": 1161, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10327:14:1", + "referencedDeclaration": 1130, + "src": "10428:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8030,21 +8116,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10322:20:1", + "src": "10423:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1157, + "id": 1163, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "10322:31:1", + "referencedDeclaration": 555, + "src": "10423:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -8058,14 +8144,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 1160, + "id": 1166, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10372:2:1", + "src": "10473:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -8083,32 +8169,32 @@ ], "expression": { "argumentTypes": null, - "id": 1158, + "id": 1164, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10356:5:1", + "referencedDeclaration": 644, + "src": "10457:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1159, + "id": 1165, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10356:15:1", + "referencedDeclaration": 3230, + "src": "10457:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1161, + "id": 1167, "isConstant": false, "isLValue": false, "isPure": false, @@ -8116,26 +8202,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10356:19:1", + "src": "10457:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10322:53:1", + "src": "10423:53:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1163, + "id": 1169, "nodeType": "ExpressionStatement", - "src": "10322:53:1" + "src": "10423:53:1" }, { "expression": { "argumentTypes": null, - "id": 1172, + "id": 1178, "isConstant": false, "isLValue": false, "isPure": false, @@ -8146,26 +8232,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1164, + "id": 1170, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10383:4:1", + "referencedDeclaration": 574, + "src": "10484:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1166, + "id": 1172, "indexExpression": { "argumentTypes": null, - "id": 1165, + "id": 1171, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10388:14:1", + "referencedDeclaration": 1130, + "src": "10489:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8176,21 +8262,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10383:20:1", + "src": "10484:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1167, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "10383:24:1", + "referencedDeclaration": 557, + "src": "10484:24:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -8204,14 +8290,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 1170, + "id": 1176, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10426:2:1", + "src": "10527:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -8229,32 +8315,32 @@ ], "expression": { "argumentTypes": null, - "id": 1168, + "id": 1174, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10410:5:1", + "referencedDeclaration": 644, + "src": "10511:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1169, + "id": 1175, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10410:15:1", + "referencedDeclaration": 3230, + "src": "10511:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1171, + "id": 1177, "isConstant": false, "isLValue": false, "isPure": false, @@ -8262,26 +8348,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10410:19:1", + "src": "10511:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10383:46:1", + "src": "10484:46:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1173, + "id": 1179, "nodeType": "ExpressionStatement", - "src": "10383:46:1" + "src": "10484:46:1" }, { "expression": { "argumentTypes": null, - "id": 1182, + "id": 1188, "isConstant": false, "isLValue": false, "isPure": false, @@ -8292,26 +8378,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1174, + "id": 1180, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10437:4:1", + "referencedDeclaration": 574, + "src": "10538:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1176, + "id": 1182, "indexExpression": { "argumentTypes": null, - "id": 1175, + "id": 1181, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10442:14:1", + "referencedDeclaration": 1130, + "src": "10543:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8322,21 +8408,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10437:20:1", + "src": "10538:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1177, + "id": 1183, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "10437:25:1", + "referencedDeclaration": 559, + "src": "10538:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -8350,14 +8436,14 @@ { "argumentTypes": null, "hexValue": "3435", - "id": 1180, + "id": 1186, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10481:2:1", + "src": "10582:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_45_by_1", @@ -8375,32 +8461,32 @@ ], "expression": { "argumentTypes": null, - "id": 1178, + "id": 1184, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10465:5:1", + "referencedDeclaration": 644, + "src": "10566:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1179, + "id": 1185, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10465:15:1", + "referencedDeclaration": 3230, + "src": "10566:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1181, + "id": 1187, "isConstant": false, "isLValue": false, "isPure": false, @@ -8408,26 +8494,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10465:19:1", + "src": "10566:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10437:47:1", + "src": "10538:47:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1183, + "id": 1189, "nodeType": "ExpressionStatement", - "src": "10437:47:1" + "src": "10538:47:1" }, { "expression": { "argumentTypes": null, - "id": 1192, + "id": 1198, "isConstant": false, "isLValue": false, "isPure": false, @@ -8438,26 +8524,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1184, + "id": 1190, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10492:4:1", + "referencedDeclaration": 574, + "src": "10593:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1186, + "id": 1192, "indexExpression": { "argumentTypes": null, - "id": 1185, + "id": 1191, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10497:14:1", + "referencedDeclaration": 1130, + "src": "10598:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8468,21 +8554,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10492:20:1", + "src": "10593:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1187, + "id": 1193, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "10492:32:1", + "referencedDeclaration": 561, + "src": "10593:32:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -8496,14 +8582,14 @@ { "argumentTypes": null, "hexValue": "3631", - "id": 1190, + "id": 1196, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10543:2:1", + "src": "10644:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_61_by_1", @@ -8521,32 +8607,32 @@ ], "expression": { "argumentTypes": null, - "id": 1188, + "id": 1194, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10527:5:1", + "referencedDeclaration": 644, + "src": "10628:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1189, + "id": 1195, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes32", "nodeType": "MemberAccess", - "referencedDeclaration": 3191, - "src": "10527:15:1", + "referencedDeclaration": 3204, + "src": "10628:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes32)" } }, - "id": 1191, + "id": 1197, "isConstant": false, "isLValue": false, "isPure": false, @@ -8554,26 +8640,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10527:19:1", + "src": "10628:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "10492:54:1", + "src": "10593:54:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1193, + "id": 1199, "nodeType": "ExpressionStatement", - "src": "10492:54:1" + "src": "10593:54:1" }, { "expression": { "argumentTypes": null, - "id": 1202, + "id": 1208, "isConstant": false, "isLValue": false, "isPure": false, @@ -8584,26 +8670,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1194, + "id": 1200, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10554:4:1", + "referencedDeclaration": 574, + "src": "10655:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1196, + "id": 1202, "indexExpression": { "argumentTypes": null, - "id": 1195, + "id": 1201, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10559:14:1", + "referencedDeclaration": 1130, + "src": "10660:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8614,21 +8700,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10554:20:1", + "src": "10655:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1197, + "id": 1203, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "10554:28:1", + "referencedDeclaration": 563, + "src": "10655:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -8642,14 +8728,14 @@ { "argumentTypes": null, "hexValue": "3933", - "id": 1200, + "id": 1206, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10601:2:1", + "src": "10702:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_93_by_1", @@ -8667,32 +8753,32 @@ ], "expression": { "argumentTypes": null, - "id": 1198, + "id": 1204, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10585:5:1", + "referencedDeclaration": 644, + "src": "10686:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1199, + "id": 1205, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10585:15:1", + "referencedDeclaration": 3230, + "src": "10686:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1201, + "id": 1207, "isConstant": false, "isLValue": false, "isPure": false, @@ -8700,26 +8786,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10585:19:1", + "src": "10686:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10554:50:1", + "src": "10655:50:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1203, + "id": 1209, "nodeType": "ExpressionStatement", - "src": "10554:50:1" + "src": "10655:50:1" }, { "expression": { "argumentTypes": null, - "id": 1214, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -8730,26 +8816,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1204, + "id": 1210, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10612:4:1", + "referencedDeclaration": 574, + "src": "10713:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1206, + "id": 1212, "indexExpression": { "argumentTypes": null, - "id": 1205, + "id": 1211, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10617:14:1", + "referencedDeclaration": 1130, + "src": "10718:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8760,21 +8846,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10612:20:1", + "src": "10713:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1207, + "id": 1213, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "10612:33:1", + "referencedDeclaration": 567, + "src": "10713:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8788,7 +8874,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1213, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -8798,12 +8884,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1210, + "id": 1216, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10663:14:1", + "referencedDeclaration": 1130, + "src": "10764:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8819,18 +8905,18 @@ ], "expression": { "argumentTypes": null, - "id": 1208, + "id": 1214, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "10648:9:1", + "referencedDeclaration": 584, + "src": "10749:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1209, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": false, @@ -8838,13 +8924,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10648:14:1", + "src": "10749:14:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1211, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -8852,7 +8938,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10648:30:1", + "src": "10749:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8863,14 +8949,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1212, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10681:1:1", + "src": "10782:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -8878,26 +8964,26 @@ }, "value": "1" }, - "src": "10648:34:1", + "src": "10749:34:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10612:70:1", + "src": "10713:70:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1215, + "id": 1221, "nodeType": "ExpressionStatement", - "src": "10612:70:1" + "src": "10713:70:1" }, { "expression": { "argumentTypes": null, - "id": 1236, + "id": 1242, "isConstant": false, "isLValue": false, "isPure": false, @@ -8908,26 +8994,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1216, + "id": 1222, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10690:4:1", + "referencedDeclaration": 574, + "src": "10791:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1218, + "id": 1224, "indexExpression": { "argumentTypes": null, - "id": 1217, + "id": 1223, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10695:14:1", + "referencedDeclaration": 1130, + "src": "10796:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8938,21 +9024,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10690:20:1", + "src": "10791:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1219, + "id": 1225, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "10690:30:1", + "referencedDeclaration": 565, + "src": "10791:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8966,7 +9052,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1235, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": false, @@ -8976,12 +9062,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1232, + "id": 1238, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10780:14:1", + "referencedDeclaration": 1130, + "src": "10881:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9001,32 +9087,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1220, + "id": 1226, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "10723:10:1", + "referencedDeclaration": 581, + "src": "10824:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1225, + "id": 1231, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1223, + "id": 1229, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10749:2:1", + "src": "10850:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -9044,32 +9130,32 @@ ], "expression": { "argumentTypes": null, - "id": 1221, + "id": 1227, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10734:5:1", + "referencedDeclaration": 644, + "src": "10835:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1222, + "id": 1228, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10734:14:1", + "referencedDeclaration": 3256, + "src": "10835:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1224, + "id": 1230, "isConstant": false, "isLValue": false, "isPure": false, @@ -9077,7 +9163,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10734:18:1", + "src": "10835:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -9088,27 +9174,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10723:30:1", + "src": "10824:30:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1230, + "id": 1236, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 1228, + "id": 1234, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10770:2:1", + "src": "10871:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -9126,32 +9212,32 @@ ], "expression": { "argumentTypes": null, - "id": 1226, + "id": 1232, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10754:5:1", + "referencedDeclaration": 644, + "src": "10855:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1227, + "id": 1233, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10754:15:1", + "referencedDeclaration": 3230, + "src": "10855:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1229, + "id": 1235, "isConstant": false, "isLValue": false, "isPure": false, @@ -9159,7 +9245,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10754:19:1", + "src": "10855:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -9170,13 +9256,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10723:51:1", + "src": "10824:51:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1231, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": false, @@ -9184,13 +9270,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10723:56:1", + "src": "10824:56:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1233, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": false, @@ -9198,7 +9284,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10723:72:1", + "src": "10824:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9209,14 +9295,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1234, + "id": 1240, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10798:1:1", + "src": "10899:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -9224,26 +9310,26 @@ }, "value": "1" }, - "src": "10723:76:1", + "src": "10824:76:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10690:109:1", + "src": "10791:109:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1237, + "id": 1243, "nodeType": "ExpressionStatement", - "src": "10690:109:1" + "src": "10791:109:1" }, { "expression": { "argumentTypes": null, - "id": 1243, + "id": 1249, "isConstant": false, "isLValue": false, "isPure": false, @@ -9254,26 +9340,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1238, + "id": 1244, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10807:4:1", + "referencedDeclaration": 574, + "src": "10908:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1240, + "id": 1246, "indexExpression": { "argumentTypes": null, - "id": 1239, + "id": 1245, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10812:14:1", + "referencedDeclaration": 1130, + "src": "10913:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9284,21 +9370,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10807:20:1", + "src": "10908:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1241, + "id": 1247, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "detherShop", "nodeType": "MemberAccess", - "referencedDeclaration": 563, - "src": "10807:31:1", + "referencedDeclaration": 569, + "src": "10908:31:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9309,14 +9395,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 1242, + "id": 1248, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10841:4:1", + "src": "10942:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9324,15 +9410,15 @@ }, "value": "true" }, - "src": "10807:38:1", + "src": "10908:38:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1244, + "id": 1250, "nodeType": "ExpressionStatement", - "src": "10807:38:1" + "src": "10908:38:1" }, { "eventCall": { @@ -9340,12 +9426,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1246, + "id": 1252, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10871:14:1", + "referencedDeclaration": 1130, + "src": "10972:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9359,18 +9445,18 @@ "typeString": "address" } ], - "id": 1245, + "id": 1251, "name": "RegisterShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 421, - "src": "10858:12:1", + "referencedDeclaration": 427, + "src": "10959:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1247, + "id": 1253, "isConstant": false, "isLValue": false, "isPure": false, @@ -9378,15 +9464,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10858:28:1", + "src": "10959:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1248, + "id": 1254, "nodeType": "EmitStatement", - "src": "10853:33:1" + "src": "10954:33:1" }, { "expression": { @@ -9394,12 +9480,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1252, + "id": 1258, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10912:14:1", + "referencedDeclaration": 1130, + "src": "11013:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9407,12 +9493,12 @@ }, { "argumentTypes": null, - "id": 1253, + "id": 1259, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "10928:6:1", + "referencedDeclaration": 642, + "src": "11029:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9432,18 +9518,18 @@ ], "expression": { "argumentTypes": null, - "id": 1249, + "id": 1255, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "10894:4:1", + "referencedDeclaration": 479, + "src": "10995:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1251, + "id": 1257, "isConstant": false, "isLValue": false, "isPure": false, @@ -9451,13 +9537,13 @@ "memberName": "addTokenShop", "nodeType": "MemberAccess", "referencedDeclaration": 324, - "src": "10894:17:1", + "src": "10995:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 1254, + "id": 1260, "isConstant": false, "isLValue": false, "isPure": false, @@ -9465,15 +9551,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10894:41:1", + "src": "10995:41:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1255, + "id": 1261, "nodeType": "ExpressionStatement", - "src": "10894:41:1" + "src": "10995:41:1" }, { "expression": { @@ -9484,12 +9570,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1260, + "id": 1266, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "10964:4:1", + "referencedDeclaration": 479, + "src": "11065:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -9503,20 +9589,20 @@ "typeString": "contract DetherBank" } ], - "id": 1259, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10956:7:1", + "src": "11057:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1261, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": false, @@ -9524,7 +9610,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10956:13:1", + "src": "11057:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9532,12 +9618,12 @@ }, { "argumentTypes": null, - "id": 1262, + "id": 1268, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "10971:6:1", + "referencedDeclaration": 642, + "src": "11072:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9557,32 +9643,32 @@ ], "expression": { "argumentTypes": null, - "id": 1256, + "id": 1262, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "10943:3:1", + "referencedDeclaration": 477, + "src": "11044:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 1258, + "id": 1264, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "10943:12:1", + "referencedDeclaration": 3366, + "src": "11044:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 1263, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -9590,26 +9676,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10943:35:1", + "src": "11044:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1264, + "id": 1270, "nodeType": "ExpressionStatement", - "src": "10943:35:1" + "src": "11044:35:1" } ] } }, - "id": 1267, + "id": 1273, "nodeType": "IfStatement", - "src": "8128:2857:1", + "src": "8229:2857:1", "trueBody": { - "id": 1079, + "id": 1085, "nodeType": "Block", - "src": "8155:1177:1", + "src": "8256:1177:1", "statements": [ { "expression": { @@ -9621,19 +9707,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 890, + "id": 896, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 883, + "id": 889, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8264:6:1", + "referencedDeclaration": 642, + "src": "8365:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9645,32 +9731,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 884, + "id": 890, "name": "licenceTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2692, - "src": "8274:13:1", + "referencedDeclaration": 2705, + "src": "8375:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 889, + "id": 895, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 887, + "id": 893, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8303:2:1", + "src": "8404:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -9688,32 +9774,32 @@ ], "expression": { "argumentTypes": null, - "id": 885, + "id": 891, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8288:5:1", + "referencedDeclaration": 644, + "src": "8389:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 886, + "id": 892, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8288:14:1", + "referencedDeclaration": 3256, + "src": "8389:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 888, + "id": 894, "isConstant": false, "isLValue": false, "isPure": false, @@ -9721,7 +9807,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8288:18:1", + "src": "8389:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -9732,13 +9818,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8274:33:1", + "src": "8375:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8264:43:1", + "src": "8365:43:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9752,21 +9838,21 @@ "typeString": "bool" } ], - "id": 882, + "id": 888, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8256:7:1", + "referencedDeclaration": 3393, + "src": "8357:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 891, + "id": 897, "isConstant": false, "isLValue": false, "isPure": false, @@ -9774,15 +9860,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8256:52:1", + "src": "8357:52:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 892, + "id": 898, "nodeType": "ExpressionStatement", - "src": "8256:52:1" + "src": "8357:52:1" }, { "expression": { @@ -9790,7 +9876,7 @@ "arguments": [ { "argumentTypes": null, - "id": 897, + "id": 903, "isConstant": false, "isLValue": false, "isPure": false, @@ -9798,18 +9884,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "8365:16:1", + "src": "8466:16:1", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 895, + "id": 901, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8375:5:1", + "referencedDeclaration": 640, + "src": "8476:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9823,18 +9909,18 @@ "typeString": "address" } ], - "id": 894, + "id": 900, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "8366:8:1", + "referencedDeclaration": 2629, + "src": "8467:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 896, + "id": 902, "isConstant": false, "isLValue": false, "isPure": false, @@ -9842,7 +9928,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8366:15:1", + "src": "8467:15:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9861,21 +9947,21 @@ "typeString": "bool" } ], - "id": 893, + "id": 899, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8357:7:1", + "referencedDeclaration": 3393, + "src": "8458:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 898, + "id": 904, "isConstant": false, "isLValue": false, "isPure": false, @@ -9883,15 +9969,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8357:25:1", + "src": "8458:25:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 899, + "id": 905, "nodeType": "ExpressionStatement", - "src": "8357:25:1" + "src": "8458:25:1" }, { "expression": { @@ -9901,32 +9987,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 901, + "id": 907, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, - "src": "8428:19:1", + "referencedDeclaration": 2697, + "src": "8529:19:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 906, + "id": 912, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 904, + "id": 910, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8463:2:1", + "src": "8564:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -9944,32 +10030,32 @@ ], "expression": { "argumentTypes": null, - "id": 902, + "id": 908, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8448:5:1", + "referencedDeclaration": 644, + "src": "8549:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 903, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8448:14:1", + "referencedDeclaration": 3256, + "src": "8549:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 905, + "id": 911, "isConstant": false, "isLValue": false, "isPure": false, @@ -9977,7 +10063,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8448:18:1", + "src": "8549:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -9988,7 +10074,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8428:39:1", + "src": "8529:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10002,21 +10088,21 @@ "typeString": "bool" } ], - "id": 900, + "id": 906, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8420:7:1", + "referencedDeclaration": 3393, + "src": "8521:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 907, + "id": 913, "isConstant": false, "isLValue": false, "isPure": false, @@ -10024,20 +10110,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8420:48:1", + "src": "8521:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 908, + "id": 914, "nodeType": "ExpressionStatement", - "src": "8420:48:1" + "src": "8521:48:1" }, { "expression": { "argumentTypes": null, - "id": 914, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, @@ -10048,26 +10134,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 909, + "id": 915, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8477:6:1", + "referencedDeclaration": 534, + "src": "8578:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 911, + "id": 917, "indexExpression": { "argumentTypes": null, - "id": 910, + "id": 916, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8484:5:1", + "referencedDeclaration": 640, + "src": "8585:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10078,21 +10164,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8477:13:1", + "src": "8578:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 912, + "id": 918, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 477, - "src": "8477:17:1", + "referencedDeclaration": 483, + "src": "8578:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -10102,31 +10188,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 913, + "id": 919, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "8497:6:1", + "referencedDeclaration": 669, + "src": "8598:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "8477:26:1", + "src": "8578:26:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 915, + "id": 921, "nodeType": "ExpressionStatement", - "src": "8477:26:1" + "src": "8578:26:1" }, { "expression": { "argumentTypes": null, - "id": 921, + "id": 927, "isConstant": false, "isLValue": false, "isPure": false, @@ -10137,26 +10223,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 916, + "id": 922, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8511:6:1", + "referencedDeclaration": 534, + "src": "8612:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 918, + "id": 924, "indexExpression": { "argumentTypes": null, - "id": 917, + "id": 923, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8518:5:1", + "referencedDeclaration": 640, + "src": "8619:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10167,21 +10253,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8511:13:1", + "src": "8612:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 919, + "id": 925, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 479, - "src": "8511:17:1", + "referencedDeclaration": 485, + "src": "8612:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -10191,31 +10277,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 920, + "id": 926, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "8531:6:1", + "referencedDeclaration": 696, + "src": "8632:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "8511:26:1", + "src": "8612:26:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 922, + "id": 928, "nodeType": "ExpressionStatement", - "src": "8511:26:1" + "src": "8612:26:1" }, { "expression": { "argumentTypes": null, - "id": 931, + "id": 937, "isConstant": false, "isLValue": false, "isPure": false, @@ -10226,26 +10312,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 923, + "id": 929, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8545:6:1", + "referencedDeclaration": 534, + "src": "8646:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 925, + "id": 931, "indexExpression": { "argumentTypes": null, - "id": 924, + "id": 930, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8552:5:1", + "referencedDeclaration": 640, + "src": "8653:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10256,21 +10342,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8545:13:1", + "src": "8646:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 926, + "id": 932, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "8545:23:1", + "referencedDeclaration": 487, + "src": "8646:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -10284,14 +10370,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 929, + "id": 935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8586:2:1", + "src": "8687:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -10309,32 +10395,32 @@ ], "expression": { "argumentTypes": null, - "id": 927, + "id": 933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8571:5:1", + "referencedDeclaration": 644, + "src": "8672:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 928, + "id": 934, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8571:14:1", + "referencedDeclaration": 3256, + "src": "8672:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 930, + "id": 936, "isConstant": false, "isLValue": false, "isPure": false, @@ -10342,26 +10428,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8571:18:1", + "src": "8672:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "8545:44:1", + "src": "8646:44:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 932, + "id": 938, "nodeType": "ExpressionStatement", - "src": "8545:44:1" + "src": "8646:44:1" }, { "expression": { "argumentTypes": null, - "id": 941, + "id": 947, "isConstant": false, "isLValue": false, "isPure": false, @@ -10372,26 +10458,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 933, + "id": 939, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8597:6:1", + "referencedDeclaration": 534, + "src": "8698:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 935, + "id": 941, "indexExpression": { "argumentTypes": null, - "id": 934, + "id": 940, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8604:5:1", + "referencedDeclaration": 640, + "src": "8705:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10402,21 +10488,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8597:13:1", + "src": "8698:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 936, + "id": 942, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "8597:24:1", + "referencedDeclaration": 489, + "src": "8698:24:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -10430,14 +10516,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 939, + "id": 945, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8640:2:1", + "src": "8741:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -10455,32 +10541,32 @@ ], "expression": { "argumentTypes": null, - "id": 937, + "id": 943, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8624:5:1", + "referencedDeclaration": 644, + "src": "8725:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 938, + "id": 944, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "8624:15:1", + "referencedDeclaration": 3230, + "src": "8725:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 940, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -10488,26 +10574,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8624:19:1", + "src": "8725:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "8597:46:1", + "src": "8698:46:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 942, + "id": 948, "nodeType": "ExpressionStatement", - "src": "8597:46:1" + "src": "8698:46:1" }, { "expression": { "argumentTypes": null, - "id": 953, + "id": 959, "isConstant": false, "isLValue": false, "isPure": false, @@ -10518,26 +10604,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 943, + "id": 949, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8651:6:1", + "referencedDeclaration": 534, + "src": "8752:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 945, + "id": 951, "indexExpression": { "argumentTypes": null, - "id": 944, + "id": 950, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8658:5:1", + "referencedDeclaration": 640, + "src": "8759:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10548,21 +10634,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8651:13:1", + "src": "8752:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 946, + "id": 952, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "8651:22:1", + "referencedDeclaration": 495, + "src": "8752:22:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -10579,14 +10665,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 950, + "id": 956, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8696:2:1", + "src": "8797:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -10604,32 +10690,32 @@ ], "expression": { "argumentTypes": null, - "id": 948, + "id": 954, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8681:5:1", + "referencedDeclaration": 644, + "src": "8782:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 949, + "id": 955, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8681:14:1", + "referencedDeclaration": 3308, + "src": "8782:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 951, + "id": 957, "isConstant": false, "isLValue": false, "isPure": false, @@ -10637,7 +10723,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8681:18:1", + "src": "8782:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -10651,20 +10737,20 @@ "typeString": "bytes1" } ], - "id": 947, + "id": 953, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8676:4:1", + "src": "8777:4:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int8_$", "typeString": "type(int8)" }, "typeName": "int8" }, - "id": 952, + "id": 958, "isConstant": false, "isLValue": false, "isPure": false, @@ -10672,26 +10758,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8676:24:1", + "src": "8777:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "8651:49:1", + "src": "8752:49:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 954, + "id": 960, "nodeType": "ExpressionStatement", - "src": "8651:49:1" + "src": "8752:49:1" }, { "expression": { "argumentTypes": null, - "id": 965, + "id": 971, "isConstant": false, "isLValue": false, "isPure": false, @@ -10702,26 +10788,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 955, + "id": 961, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8708:6:1", + "referencedDeclaration": 534, + "src": "8809:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 957, + "id": 963, "indexExpression": { "argumentTypes": null, - "id": 956, + "id": 962, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8715:5:1", + "referencedDeclaration": 640, + "src": "8816:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10732,21 +10818,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8708:13:1", + "src": "8809:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 958, + "id": 964, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "8708:24:1", + "referencedDeclaration": 491, + "src": "8809:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -10763,14 +10849,14 @@ { "argumentTypes": null, "hexValue": "3330", - "id": 962, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8755:2:1", + "src": "8856:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_30_by_1", @@ -10788,32 +10874,32 @@ ], "expression": { "argumentTypes": null, - "id": 960, + "id": 966, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8740:5:1", + "referencedDeclaration": 644, + "src": "8841:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 961, + "id": 967, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8740:14:1", + "referencedDeclaration": 3308, + "src": "8841:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 963, + "id": 969, "isConstant": false, "isLValue": false, "isPure": false, @@ -10821,7 +10907,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8740:18:1", + "src": "8841:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -10835,20 +10921,20 @@ "typeString": "bytes1" } ], - "id": 959, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8735:4:1", + "src": "8836:4:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int8_$", "typeString": "type(int8)" }, "typeName": "int8" }, - "id": 964, + "id": 970, "isConstant": false, "isLValue": false, "isPure": false, @@ -10856,26 +10942,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8735:24:1", + "src": "8836:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "8708:51:1", + "src": "8809:51:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 966, + "id": 972, "nodeType": "ExpressionStatement", - "src": "8708:51:1" + "src": "8809:51:1" }, { "expression": { "argumentTypes": null, - "id": 975, + "id": 981, "isConstant": false, "isLValue": false, "isPure": false, @@ -10886,26 +10972,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 967, + "id": 973, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8767:6:1", + "referencedDeclaration": 534, + "src": "8868:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 969, + "id": 975, "indexExpression": { "argumentTypes": null, - "id": 968, + "id": 974, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8774:5:1", + "referencedDeclaration": 640, + "src": "8875:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10916,21 +11002,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8767:13:1", + "src": "8868:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 970, + "id": 976, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "8767:23:1", + "referencedDeclaration": 493, + "src": "8868:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -10944,14 +11030,14 @@ { "argumentTypes": null, "hexValue": "3331", - "id": 973, + "id": 979, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8809:2:1", + "src": "8910:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_31_by_1", @@ -10969,32 +11055,32 @@ ], "expression": { "argumentTypes": null, - "id": 971, + "id": 977, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8793:5:1", + "referencedDeclaration": 644, + "src": "8894:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 972, + "id": 978, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "8793:15:1", + "referencedDeclaration": 3230, + "src": "8894:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 974, + "id": 980, "isConstant": false, "isLValue": false, "isPure": false, @@ -11002,26 +11088,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8793:19:1", + "src": "8894:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "8767:45:1", + "src": "8868:45:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 976, + "id": 982, "nodeType": "ExpressionStatement", - "src": "8767:45:1" + "src": "8868:45:1" }, { "expression": { "argumentTypes": null, - "id": 987, + "id": 993, "isConstant": false, "isLValue": false, "isPure": false, @@ -11032,26 +11118,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 977, + "id": 983, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8820:6:1", + "referencedDeclaration": 534, + "src": "8921:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 979, + "id": 985, "indexExpression": { "argumentTypes": null, - "id": 978, + "id": 984, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8827:5:1", + "referencedDeclaration": 640, + "src": "8928:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11062,21 +11148,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8820:13:1", + "src": "8921:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 980, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "8820:19:1", + "referencedDeclaration": 497, + "src": "8921:19:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -11093,14 +11179,14 @@ { "argumentTypes": null, "hexValue": "3437", - "id": 984, + "id": 990, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8863:2:1", + "src": "8964:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_47_by_1", @@ -11118,32 +11204,32 @@ ], "expression": { "argumentTypes": null, - "id": 982, + "id": 988, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8848:5:1", + "referencedDeclaration": 644, + "src": "8949:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 983, + "id": 989, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8848:14:1", + "referencedDeclaration": 3256, + "src": "8949:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 985, + "id": 991, "isConstant": false, "isLValue": false, "isPure": false, @@ -11151,7 +11237,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8848:18:1", + "src": "8949:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -11165,20 +11251,20 @@ "typeString": "bytes2" } ], - "id": 981, + "id": 987, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8842:5:1", + "src": "8943:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int16_$", "typeString": "type(int16)" }, "typeName": "int16" }, - "id": 986, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, @@ -11186,26 +11272,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8842:25:1", + "src": "8943:25:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "8820:47:1", + "src": "8921:47:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 988, + "id": 994, "nodeType": "ExpressionStatement", - "src": "8820:47:1" + "src": "8921:47:1" }, { "expression": { "argumentTypes": null, - "id": 1004, + "id": 1010, "isConstant": false, "isLValue": false, "isPure": false, @@ -11216,26 +11302,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 989, + "id": 995, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8875:6:1", + "referencedDeclaration": 534, + "src": "8976:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 991, + "id": 997, "indexExpression": { "argumentTypes": null, - "id": 990, + "id": 996, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8882:5:1", + "referencedDeclaration": 640, + "src": "8983:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11246,21 +11332,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8875:13:1", + "src": "8976:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 992, + "id": 998, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "buyer", "nodeType": "MemberAccess", - "referencedDeclaration": 493, - "src": "8875:19:1", + "referencedDeclaration": 499, + "src": "8976:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11276,7 +11362,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 1000, + "id": 1006, "isConstant": false, "isLValue": false, "isPure": false, @@ -11287,14 +11373,14 @@ { "argumentTypes": null, "hexValue": "3439", - "id": 995, + "id": 1001, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8912:2:1", + "src": "9013:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", @@ -11312,32 +11398,32 @@ ], "expression": { "argumentTypes": null, - "id": 993, + "id": 999, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8897:5:1", + "referencedDeclaration": 644, + "src": "8998:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 994, + "id": 1000, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8897:14:1", + "referencedDeclaration": 3308, + "src": "8998:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 996, + "id": 1002, "isConstant": false, "isLValue": false, "isPure": false, @@ -11345,7 +11431,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8897:18:1", + "src": "8998:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -11359,14 +11445,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 998, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8926:4:1", + "src": "9027:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -11382,20 +11468,20 @@ "typeString": "int_const 1" } ], - "id": 997, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8919:6:1", + "src": "9020:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 999, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": true, @@ -11403,13 +11489,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8919:12:1", + "src": "9020:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "8897:34:1", + "src": "8998:34:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11418,14 +11504,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 1002, + "id": 1008, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8941:5:1", + "src": "9042:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11433,24 +11519,24 @@ }, "value": "false" }, - "id": 1003, + "id": 1009, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "8897:49:1", + "src": "8998:49:1", "trueExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 1001, + "id": 1007, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8934:4:1", + "src": "9035:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11463,20 +11549,20 @@ "typeString": "bool" } }, - "src": "8875:71:1", + "src": "8976:71:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1005, + "id": 1011, "nodeType": "ExpressionStatement", - "src": "8875:71:1" + "src": "8976:71:1" }, { "expression": { "argumentTypes": null, - "id": 1016, + "id": 1022, "isConstant": false, "isLValue": false, "isPure": false, @@ -11487,26 +11573,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1006, + "id": 1012, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8954:6:1", + "referencedDeclaration": 534, + "src": "9055:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1008, + "id": 1014, "indexExpression": { "argumentTypes": null, - "id": 1007, + "id": 1013, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8961:5:1", + "referencedDeclaration": 640, + "src": "9062:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11517,21 +11603,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8954:13:1", + "src": "9055:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1009, + "id": 1015, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "buyRates", "nodeType": "MemberAccess", - "referencedDeclaration": 495, - "src": "8954:22:1", + "referencedDeclaration": 501, + "src": "9055:22:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -11548,14 +11634,14 @@ { "argumentTypes": null, "hexValue": "3530", - "id": 1013, + "id": 1019, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9000:2:1", + "src": "9101:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", @@ -11573,32 +11659,32 @@ ], "expression": { "argumentTypes": null, - "id": 1011, + "id": 1017, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8985:5:1", + "referencedDeclaration": 644, + "src": "9086:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1012, + "id": 1018, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8985:14:1", + "referencedDeclaration": 3256, + "src": "9086:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1014, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -11606,7 +11692,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8985:18:1", + "src": "9086:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -11620,20 +11706,20 @@ "typeString": "bytes2" } ], - "id": 1010, + "id": 1016, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8979:5:1", + "src": "9080:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int16_$", "typeString": "type(int16)" }, "typeName": "int16" }, - "id": 1015, + "id": 1021, "isConstant": false, "isLValue": false, "isPure": false, @@ -11641,26 +11727,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8979:25:1", + "src": "9080:25:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "8954:50:1", + "src": "9055:50:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 1017, + "id": 1023, "nodeType": "ExpressionStatement", - "src": "8954:50:1" + "src": "9055:50:1" }, { "expression": { "argumentTypes": null, - "id": 1028, + "id": 1034, "isConstant": false, "isLValue": false, "isPure": false, @@ -11671,26 +11757,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1018, + "id": 1024, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9012:6:1", + "referencedDeclaration": 534, + "src": "9113:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1020, + "id": 1026, "indexExpression": { "argumentTypes": null, - "id": 1019, + "id": 1025, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9019:5:1", + "referencedDeclaration": 640, + "src": "9120:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11701,21 +11787,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9012:13:1", + "src": "9113:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1021, + "id": 1027, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "9012:26:1", + "referencedDeclaration": 505, + "src": "9113:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11729,7 +11815,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1027, + "id": 1033, "isConstant": false, "isLValue": false, "isPure": false, @@ -11739,12 +11825,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1024, + "id": 1030, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9058:5:1", + "referencedDeclaration": 640, + "src": "9159:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11760,18 +11846,18 @@ ], "expression": { "argumentTypes": null, - "id": 1022, + "id": 1028, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "9041:11:1", + "referencedDeclaration": 544, + "src": "9142:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1023, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, @@ -11779,13 +11865,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9041:16:1", + "src": "9142:16:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1025, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": false, @@ -11793,7 +11879,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9041:23:1", + "src": "9142:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11804,14 +11890,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1026, + "id": 1032, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9067:1:1", + "src": "9168:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -11819,26 +11905,26 @@ }, "value": "1" }, - "src": "9041:27:1", + "src": "9142:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9012:56:1", + "src": "9113:56:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1029, + "id": 1035, "nodeType": "ExpressionStatement", - "src": "9012:56:1" + "src": "9113:56:1" }, { "expression": { "argumentTypes": null, - "id": 1050, + "id": 1056, "isConstant": false, "isLValue": false, "isPure": false, @@ -11849,26 +11935,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1030, + "id": 1036, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9076:6:1", + "referencedDeclaration": 534, + "src": "9177:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1032, + "id": 1038, "indexExpression": { "argumentTypes": null, - "id": 1031, + "id": 1037, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9083:5:1", + "referencedDeclaration": 640, + "src": "9184:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11879,21 +11965,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9076:13:1", + "src": "9177:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1033, + "id": 1039, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "9076:23:1", + "referencedDeclaration": 503, + "src": "9177:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11907,7 +11993,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1049, + "id": 1055, "isConstant": false, "isLValue": false, "isPure": false, @@ -11917,12 +12003,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1046, + "id": 1052, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9161:5:1", + "referencedDeclaration": 640, + "src": "9262:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11942,32 +12028,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1034, + "id": 1040, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "9102:12:1", + "referencedDeclaration": 541, + "src": "9203:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1039, + "id": 1045, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1037, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9130:2:1", + "src": "9231:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -11985,32 +12071,32 @@ ], "expression": { "argumentTypes": null, - "id": 1035, + "id": 1041, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9115:5:1", + "referencedDeclaration": 644, + "src": "9216:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1036, + "id": 1042, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "9115:14:1", + "referencedDeclaration": 3256, + "src": "9216:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1038, + "id": 1044, "isConstant": false, "isLValue": false, "isPure": false, @@ -12018,7 +12104,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9115:18:1", + "src": "9216:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -12029,27 +12115,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9102:32:1", + "src": "9203:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1044, + "id": 1050, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 1042, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9151:2:1", + "src": "9252:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -12067,32 +12153,32 @@ ], "expression": { "argumentTypes": null, - "id": 1040, + "id": 1046, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9135:5:1", + "referencedDeclaration": 644, + "src": "9236:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1041, + "id": 1047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "9135:15:1", + "referencedDeclaration": 3230, + "src": "9236:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1043, + "id": 1049, "isConstant": false, "isLValue": false, "isPure": false, @@ -12100,7 +12186,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9135:19:1", + "src": "9236:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -12111,13 +12197,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9102:53:1", + "src": "9203:53:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1045, + "id": 1051, "isConstant": false, "isLValue": false, "isPure": false, @@ -12125,13 +12211,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9102:58:1", + "src": "9203:58:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1047, + "id": 1053, "isConstant": false, "isLValue": false, "isPure": false, @@ -12139,7 +12225,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9102:65:1", + "src": "9203:65:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12150,14 +12236,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1048, + "id": 1054, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9170:1:1", + "src": "9271:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -12165,26 +12251,26 @@ }, "value": "1" }, - "src": "9102:69:1", + "src": "9203:69:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9076:95:1", + "src": "9177:95:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1051, + "id": 1057, "nodeType": "ExpressionStatement", - "src": "9076:95:1" + "src": "9177:95:1" }, { "expression": { "argumentTypes": null, - "id": 1057, + "id": 1063, "isConstant": false, "isLValue": false, "isPure": false, @@ -12195,26 +12281,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1052, + "id": 1058, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9179:6:1", + "referencedDeclaration": 534, + "src": "9280:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1054, + "id": 1060, "indexExpression": { "argumentTypes": null, - "id": 1053, + "id": 1059, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9186:5:1", + "referencedDeclaration": 640, + "src": "9287:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12225,21 +12311,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9179:13:1", + "src": "9280:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1055, + "id": 1061, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "9179:20:1", + "referencedDeclaration": 507, + "src": "9280:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12250,14 +12336,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 1056, + "id": 1062, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "9202:4:1", + "src": "9303:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -12265,15 +12351,15 @@ }, "value": "true" }, - "src": "9179:27:1", + "src": "9280:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1058, + "id": 1064, "nodeType": "ExpressionStatement", - "src": "9179:27:1" + "src": "9280:27:1" }, { "eventCall": { @@ -12281,12 +12367,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1060, + "id": 1066, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9234:5:1", + "referencedDeclaration": 640, + "src": "9335:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12300,18 +12386,18 @@ "typeString": "address" } ], - "id": 1059, + "id": 1065, "name": "RegisterTeller", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 401, - "src": "9219:14:1", + "src": "9320:14:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1061, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": false, @@ -12319,15 +12405,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9219:21:1", + "src": "9320:21:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1062, + "id": 1068, "nodeType": "EmitStatement", - "src": "9214:26:1" + "src": "9315:26:1" }, { "expression": { @@ -12335,12 +12421,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1066, + "id": 1072, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9268:5:1", + "referencedDeclaration": 640, + "src": "9369:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12348,12 +12434,12 @@ }, { "argumentTypes": null, - "id": 1067, + "id": 1073, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9275:6:1", + "referencedDeclaration": 642, + "src": "9376:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12373,18 +12459,18 @@ ], "expression": { "argumentTypes": null, - "id": 1063, + "id": 1069, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "9248:4:1", + "referencedDeclaration": 479, + "src": "9349:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1065, + "id": 1071, "isConstant": false, "isLValue": false, "isPure": false, @@ -12392,13 +12478,13 @@ "memberName": "addTokenTeller", "nodeType": "MemberAccess", "referencedDeclaration": 331, - "src": "9248:19:1", + "src": "9349:19:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 1068, + "id": 1074, "isConstant": false, "isLValue": false, "isPure": false, @@ -12406,15 +12492,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9248:34:1", + "src": "9349:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1069, + "id": 1075, "nodeType": "ExpressionStatement", - "src": "9248:34:1" + "src": "9349:34:1" }, { "expression": { @@ -12425,12 +12511,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1074, + "id": 1080, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "9311:4:1", + "referencedDeclaration": 479, + "src": "9412:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -12444,20 +12530,20 @@ "typeString": "contract DetherBank" } ], - "id": 1073, + "id": 1079, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "9303:7:1", + "src": "9404:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1075, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, @@ -12465,7 +12551,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9303:13:1", + "src": "9404:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12473,12 +12559,12 @@ }, { "argumentTypes": null, - "id": 1076, + "id": 1082, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9318:6:1", + "referencedDeclaration": 642, + "src": "9419:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12498,32 +12584,32 @@ ], "expression": { "argumentTypes": null, - "id": 1070, + "id": 1076, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "9290:3:1", + "referencedDeclaration": 477, + "src": "9391:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 1072, + "id": 1078, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "9290:12:1", + "referencedDeclaration": 3366, + "src": "9391:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 1077, + "id": 1083, "isConstant": false, "isLValue": false, "isPure": false, @@ -12531,26 +12617,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9290:35:1", + "src": "9391:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1078, + "id": 1084, "nodeType": "ExpressionStatement", - "src": "9290:35:1" + "src": "9391:35:1" } ] } }, - "id": 1268, + "id": 1274, "nodeType": "IfStatement", - "src": "7153:3832:1", + "src": "7254:3832:1", "trueBody": { - "id": 876, + "id": 882, "nodeType": "Block", - "src": "7180:942:1", + "src": "7281:942:1", "statements": [ { "expression": { @@ -12562,19 +12648,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 729, + "id": 735, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 722, + "id": 728, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "7287:6:1", + "referencedDeclaration": 642, + "src": "7388:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12586,32 +12672,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 723, + "id": 729, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, - "src": "7297:11:1", + "referencedDeclaration": 2701, + "src": "7398:11:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 728, + "id": 734, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 726, + "id": 732, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7324:2:1", + "src": "7425:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -12629,32 +12715,32 @@ ], "expression": { "argumentTypes": null, - "id": 724, + "id": 730, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7309:5:1", + "referencedDeclaration": 644, + "src": "7410:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 725, + "id": 731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7309:14:1", + "referencedDeclaration": 3256, + "src": "7410:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 727, + "id": 733, "isConstant": false, "isLValue": false, "isPure": false, @@ -12662,7 +12748,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7309:18:1", + "src": "7410:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -12673,13 +12759,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7297:31:1", + "src": "7398:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7287:41:1", + "src": "7388:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12693,21 +12779,21 @@ "typeString": "bool" } ], - "id": 721, + "id": 727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7279:7:1", + "referencedDeclaration": 3393, + "src": "7380:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 730, + "id": 736, "isConstant": false, "isLValue": false, "isPure": false, @@ -12715,15 +12801,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7279:50:1", + "src": "7380:50:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 731, + "id": 737, "nodeType": "ExpressionStatement", - "src": "7279:50:1" + "src": "7380:50:1" }, { "expression": { @@ -12731,7 +12817,7 @@ "arguments": [ { "argumentTypes": null, - "id": 736, + "id": 742, "isConstant": false, "isLValue": false, "isPure": false, @@ -12739,18 +12825,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "7383:14:1", + "src": "7484:14:1", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 734, + "id": 740, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7391:5:1", + "referencedDeclaration": 640, + "src": "7492:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12764,18 +12850,18 @@ "typeString": "address" } ], - "id": 733, + "id": 739, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "7384:6:1", + "referencedDeclaration": 2585, + "src": "7485:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 735, + "id": 741, "isConstant": false, "isLValue": false, "isPure": false, @@ -12783,7 +12869,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7384:13:1", + "src": "7485:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12802,21 +12888,21 @@ "typeString": "bool" } ], - "id": 732, + "id": 738, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7375:7:1", + "referencedDeclaration": 3393, + "src": "7476:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 737, + "id": 743, "isConstant": false, "isLValue": false, "isPure": false, @@ -12824,15 +12910,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7375:23:1", + "src": "7476:23:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 738, + "id": 744, "nodeType": "ExpressionStatement", - "src": "7375:23:1" + "src": "7476:23:1" }, { "expression": { @@ -12842,32 +12928,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 740, + "id": 746, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "7444:17:1", + "referencedDeclaration": 2693, + "src": "7545:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 745, + "id": 751, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 743, + "id": 749, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7477:2:1", + "src": "7578:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -12885,32 +12971,32 @@ ], "expression": { "argumentTypes": null, - "id": 741, + "id": 747, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7462:5:1", + "referencedDeclaration": 644, + "src": "7563:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 742, + "id": 748, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7462:14:1", + "referencedDeclaration": 3256, + "src": "7563:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 744, + "id": 750, "isConstant": false, "isLValue": false, "isPure": false, @@ -12918,7 +13004,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7462:18:1", + "src": "7563:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -12929,7 +13015,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7444:37:1", + "src": "7545:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12943,21 +13029,21 @@ "typeString": "bool" } ], - "id": 739, + "id": 745, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7436:7:1", + "referencedDeclaration": 3393, + "src": "7537:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 746, + "id": 752, "isConstant": false, "isLValue": false, "isPure": false, @@ -12965,20 +13051,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7436:46:1", + "src": "7537:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 747, + "id": 753, "nodeType": "ExpressionStatement", - "src": "7436:46:1" + "src": "7537:46:1" }, { "expression": { "argumentTypes": null, - "id": 753, + "id": 759, "isConstant": false, "isLValue": false, "isPure": false, @@ -12989,26 +13075,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 748, + "id": 754, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7491:4:1", + "referencedDeclaration": 574, + "src": "7592:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 750, + "id": 756, "indexExpression": { "argumentTypes": null, - "id": 749, + "id": 755, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7496:5:1", + "referencedDeclaration": 640, + "src": "7597:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13019,21 +13105,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7491:11:1", + "src": "7592:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 751, + "id": 757, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "7491:15:1", + "referencedDeclaration": 549, + "src": "7592:15:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -13043,31 +13129,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 752, + "id": 758, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "7509:6:1", + "referencedDeclaration": 669, + "src": "7610:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "7491:24:1", + "src": "7592:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 754, + "id": 760, "nodeType": "ExpressionStatement", - "src": "7491:24:1" + "src": "7592:24:1" }, { "expression": { "argumentTypes": null, - "id": 760, + "id": 766, "isConstant": false, "isLValue": false, "isPure": false, @@ -13078,26 +13164,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 755, + "id": 761, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7523:4:1", + "referencedDeclaration": 574, + "src": "7624:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 757, + "id": 763, "indexExpression": { "argumentTypes": null, - "id": 756, + "id": 762, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7528:5:1", + "referencedDeclaration": 640, + "src": "7629:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13108,21 +13194,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7523:11:1", + "src": "7624:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 758, + "id": 764, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "7523:15:1", + "referencedDeclaration": 551, + "src": "7624:15:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -13132,31 +13218,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 759, + "id": 765, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "7541:6:1", + "referencedDeclaration": 696, + "src": "7642:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "7523:24:1", + "src": "7624:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 761, + "id": 767, "nodeType": "ExpressionStatement", - "src": "7523:24:1" + "src": "7624:24:1" }, { "expression": { "argumentTypes": null, - "id": 770, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -13167,26 +13253,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 762, + "id": 768, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7555:4:1", + "referencedDeclaration": 574, + "src": "7656:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 764, + "id": 770, "indexExpression": { "argumentTypes": null, - "id": 763, + "id": 769, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7560:5:1", + "referencedDeclaration": 640, + "src": "7661:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13197,21 +13283,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7555:11:1", + "src": "7656:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 765, + "id": 771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "7555:21:1", + "referencedDeclaration": 553, + "src": "7656:21:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -13225,14 +13311,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 768, + "id": 774, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7594:2:1", + "src": "7695:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -13250,32 +13336,32 @@ ], "expression": { "argumentTypes": null, - "id": 766, + "id": 772, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7579:5:1", + "referencedDeclaration": 644, + "src": "7680:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 767, + "id": 773, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7579:14:1", + "referencedDeclaration": 3256, + "src": "7680:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 769, + "id": 775, "isConstant": false, "isLValue": false, "isPure": false, @@ -13283,26 +13369,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7579:18:1", + "src": "7680:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "7555:42:1", + "src": "7656:42:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 771, + "id": 777, "nodeType": "ExpressionStatement", - "src": "7555:42:1" + "src": "7656:42:1" }, { "expression": { "argumentTypes": null, - "id": 780, + "id": 786, "isConstant": false, "isLValue": false, "isPure": false, @@ -13313,26 +13399,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 772, + "id": 778, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7605:4:1", + "referencedDeclaration": 574, + "src": "7706:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 774, + "id": 780, "indexExpression": { "argumentTypes": null, - "id": 773, + "id": 779, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7610:5:1", + "referencedDeclaration": 640, + "src": "7711:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13343,21 +13429,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7605:11:1", + "src": "7706:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 775, + "id": 781, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "7605:22:1", + "referencedDeclaration": 555, + "src": "7706:22:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -13371,14 +13457,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 778, + "id": 784, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7646:2:1", + "src": "7747:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -13396,32 +13482,32 @@ ], "expression": { "argumentTypes": null, - "id": 776, + "id": 782, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7630:5:1", + "referencedDeclaration": 644, + "src": "7731:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 777, + "id": 783, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7630:15:1", + "referencedDeclaration": 3230, + "src": "7731:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 779, + "id": 785, "isConstant": false, "isLValue": false, "isPure": false, @@ -13429,26 +13515,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7630:19:1", + "src": "7731:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7605:44:1", + "src": "7706:44:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 781, + "id": 787, "nodeType": "ExpressionStatement", - "src": "7605:44:1" + "src": "7706:44:1" }, { "expression": { "argumentTypes": null, - "id": 790, + "id": 796, "isConstant": false, "isLValue": false, "isPure": false, @@ -13459,26 +13545,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 782, + "id": 788, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7657:4:1", + "referencedDeclaration": 574, + "src": "7758:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 784, + "id": 790, "indexExpression": { "argumentTypes": null, - "id": 783, + "id": 789, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7662:5:1", + "referencedDeclaration": 640, + "src": "7763:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13489,21 +13575,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7657:11:1", + "src": "7758:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 785, + "id": 791, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "7657:15:1", + "referencedDeclaration": 557, + "src": "7758:15:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -13517,14 +13603,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 788, + "id": 794, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7691:2:1", + "src": "7792:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -13542,32 +13628,32 @@ ], "expression": { "argumentTypes": null, - "id": 786, + "id": 792, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7675:5:1", + "referencedDeclaration": 644, + "src": "7776:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 787, + "id": 793, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7675:15:1", + "referencedDeclaration": 3230, + "src": "7776:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 789, + "id": 795, "isConstant": false, "isLValue": false, "isPure": false, @@ -13575,26 +13661,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7675:19:1", + "src": "7776:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7657:37:1", + "src": "7758:37:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 791, + "id": 797, "nodeType": "ExpressionStatement", - "src": "7657:37:1" + "src": "7758:37:1" }, { "expression": { "argumentTypes": null, - "id": 800, + "id": 806, "isConstant": false, "isLValue": false, "isPure": false, @@ -13605,26 +13691,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 792, + "id": 798, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7702:4:1", + "referencedDeclaration": 574, + "src": "7803:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 794, + "id": 800, "indexExpression": { "argumentTypes": null, - "id": 793, + "id": 799, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7707:5:1", + "referencedDeclaration": 640, + "src": "7808:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13635,21 +13721,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7702:11:1", + "src": "7803:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 795, + "id": 801, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "7702:16:1", + "referencedDeclaration": 559, + "src": "7803:16:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -13663,14 +13749,14 @@ { "argumentTypes": null, "hexValue": "3435", - "id": 798, + "id": 804, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7737:2:1", + "src": "7838:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_45_by_1", @@ -13688,32 +13774,32 @@ ], "expression": { "argumentTypes": null, - "id": 796, + "id": 802, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7721:5:1", + "referencedDeclaration": 644, + "src": "7822:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 797, + "id": 803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7721:15:1", + "referencedDeclaration": 3230, + "src": "7822:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 799, + "id": 805, "isConstant": false, "isLValue": false, "isPure": false, @@ -13721,26 +13807,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7721:19:1", + "src": "7822:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7702:38:1", + "src": "7803:38:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 801, + "id": 807, "nodeType": "ExpressionStatement", - "src": "7702:38:1" + "src": "7803:38:1" }, { "expression": { "argumentTypes": null, - "id": 810, + "id": 816, "isConstant": false, "isLValue": false, "isPure": false, @@ -13751,26 +13837,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 802, + "id": 808, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7748:4:1", + "referencedDeclaration": 574, + "src": "7849:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 804, + "id": 810, "indexExpression": { "argumentTypes": null, - "id": 803, + "id": 809, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7753:5:1", + "referencedDeclaration": 640, + "src": "7854:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13781,21 +13867,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7748:11:1", + "src": "7849:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 805, + "id": 811, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "7748:23:1", + "referencedDeclaration": 561, + "src": "7849:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13809,14 +13895,14 @@ { "argumentTypes": null, "hexValue": "3631", - "id": 808, + "id": 814, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7790:2:1", + "src": "7891:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_61_by_1", @@ -13834,32 +13920,32 @@ ], "expression": { "argumentTypes": null, - "id": 806, + "id": 812, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7774:5:1", + "referencedDeclaration": 644, + "src": "7875:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 807, + "id": 813, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes32", "nodeType": "MemberAccess", - "referencedDeclaration": 3191, - "src": "7774:15:1", + "referencedDeclaration": 3204, + "src": "7875:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes32)" } }, - "id": 809, + "id": 815, "isConstant": false, "isLValue": false, "isPure": false, @@ -13867,26 +13953,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7774:19:1", + "src": "7875:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "7748:45:1", + "src": "7849:45:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 811, + "id": 817, "nodeType": "ExpressionStatement", - "src": "7748:45:1" + "src": "7849:45:1" }, { "expression": { "argumentTypes": null, - "id": 820, + "id": 826, "isConstant": false, "isLValue": false, "isPure": false, @@ -13897,26 +13983,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 812, + "id": 818, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7801:4:1", + "referencedDeclaration": 574, + "src": "7902:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 814, + "id": 820, "indexExpression": { "argumentTypes": null, - "id": 813, + "id": 819, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7806:5:1", + "referencedDeclaration": 640, + "src": "7907:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13927,21 +14013,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7801:11:1", + "src": "7902:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 815, + "id": 821, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "7801:19:1", + "referencedDeclaration": 563, + "src": "7902:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -13955,14 +14041,14 @@ { "argumentTypes": null, "hexValue": "3933", - "id": 818, + "id": 824, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7839:2:1", + "src": "7940:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_93_by_1", @@ -13980,32 +14066,32 @@ ], "expression": { "argumentTypes": null, - "id": 816, + "id": 822, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7823:5:1", + "referencedDeclaration": 644, + "src": "7924:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 817, + "id": 823, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7823:15:1", + "referencedDeclaration": 3230, + "src": "7924:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 819, + "id": 825, "isConstant": false, "isLValue": false, "isPure": false, @@ -14013,26 +14099,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7823:19:1", + "src": "7924:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7801:41:1", + "src": "7902:41:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 821, + "id": 827, "nodeType": "ExpressionStatement", - "src": "7801:41:1" + "src": "7902:41:1" }, { "expression": { "argumentTypes": null, - "id": 832, + "id": 838, "isConstant": false, "isLValue": false, "isPure": false, @@ -14043,26 +14129,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 822, + "id": 828, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7850:4:1", + "referencedDeclaration": 574, + "src": "7951:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 824, + "id": 830, "indexExpression": { "argumentTypes": null, - "id": 823, + "id": 829, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7855:5:1", + "referencedDeclaration": 640, + "src": "7956:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14073,21 +14159,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7850:11:1", + "src": "7951:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 825, + "id": 831, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "7850:24:1", + "referencedDeclaration": 567, + "src": "7951:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14101,7 +14187,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 831, + "id": 837, "isConstant": false, "isLValue": false, "isPure": false, @@ -14111,12 +14197,12 @@ "arguments": [ { "argumentTypes": null, - "id": 828, + "id": 834, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7892:5:1", + "referencedDeclaration": 640, + "src": "7993:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14132,18 +14218,18 @@ ], "expression": { "argumentTypes": null, - "id": 826, + "id": 832, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "7877:9:1", + "referencedDeclaration": 584, + "src": "7978:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 827, + "id": 833, "isConstant": false, "isLValue": false, "isPure": false, @@ -14151,13 +14237,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7877:14:1", + "src": "7978:14:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 829, + "id": 835, "isConstant": false, "isLValue": false, "isPure": false, @@ -14165,7 +14251,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7877:21:1", + "src": "7978:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14176,14 +14262,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 830, + "id": 836, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7901:1:1", + "src": "8002:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -14191,26 +14277,26 @@ }, "value": "1" }, - "src": "7877:25:1", + "src": "7978:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7850:52:1", + "src": "7951:52:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 833, + "id": 839, "nodeType": "ExpressionStatement", - "src": "7850:52:1" + "src": "7951:52:1" }, { "expression": { "argumentTypes": null, - "id": 854, + "id": 860, "isConstant": false, "isLValue": false, "isPure": false, @@ -14221,26 +14307,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 834, + "id": 840, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7910:4:1", + "referencedDeclaration": 574, + "src": "8011:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 836, + "id": 842, "indexExpression": { "argumentTypes": null, - "id": 835, + "id": 841, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7915:5:1", + "referencedDeclaration": 640, + "src": "8016:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14251,21 +14337,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7910:11:1", + "src": "8011:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 837, + "id": 843, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "7910:21:1", + "referencedDeclaration": 565, + "src": "8011:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14279,7 +14365,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 853, + "id": 859, "isConstant": false, "isLValue": false, "isPure": false, @@ -14289,12 +14375,12 @@ "arguments": [ { "argumentTypes": null, - "id": 850, + "id": 856, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7991:5:1", + "referencedDeclaration": 640, + "src": "8092:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14314,32 +14400,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 838, + "id": 844, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "7934:10:1", + "referencedDeclaration": 581, + "src": "8035:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 843, + "id": 849, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 841, + "id": 847, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7960:2:1", + "src": "8061:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -14357,32 +14443,32 @@ ], "expression": { "argumentTypes": null, - "id": 839, + "id": 845, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7945:5:1", + "referencedDeclaration": 644, + "src": "8046:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 840, + "id": 846, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7945:14:1", + "referencedDeclaration": 3256, + "src": "8046:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 842, + "id": 848, "isConstant": false, "isLValue": false, "isPure": false, @@ -14390,7 +14476,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7945:18:1", + "src": "8046:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -14401,27 +14487,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7934:30:1", + "src": "8035:30:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 848, + "id": 854, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 846, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7981:2:1", + "src": "8082:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -14439,32 +14525,32 @@ ], "expression": { "argumentTypes": null, - "id": 844, + "id": 850, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7965:5:1", + "referencedDeclaration": 644, + "src": "8066:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 845, + "id": 851, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7965:15:1", + "referencedDeclaration": 3230, + "src": "8066:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 847, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -14472,7 +14558,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7965:19:1", + "src": "8066:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -14483,13 +14569,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7934:51:1", + "src": "8035:51:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 849, + "id": 855, "isConstant": false, "isLValue": false, "isPure": false, @@ -14497,13 +14583,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7934:56:1", + "src": "8035:56:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 851, + "id": 857, "isConstant": false, "isLValue": false, "isPure": false, @@ -14511,7 +14597,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7934:63:1", + "src": "8035:63:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14522,14 +14608,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 852, + "id": 858, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8000:1:1", + "src": "8101:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -14537,21 +14623,21 @@ }, "value": "1" }, - "src": "7934:67:1", + "src": "8035:67:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7910:91:1", + "src": "8011:91:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 855, + "id": 861, "nodeType": "ExpressionStatement", - "src": "7910:91:1" + "src": "8011:91:1" }, { "eventCall": { @@ -14559,12 +14645,12 @@ "arguments": [ { "argumentTypes": null, - "id": 857, + "id": 863, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8027:5:1", + "referencedDeclaration": 640, + "src": "8128:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14578,18 +14664,18 @@ "typeString": "address" } ], - "id": 856, + "id": 862, "name": "RegisterShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 421, - "src": "8014:12:1", + "referencedDeclaration": 427, + "src": "8115:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 858, + "id": 864, "isConstant": false, "isLValue": false, "isPure": false, @@ -14597,15 +14683,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8014:19:1", + "src": "8115:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 859, + "id": 865, "nodeType": "EmitStatement", - "src": "8009:24:1" + "src": "8110:24:1" }, { "expression": { @@ -14613,12 +14699,12 @@ "arguments": [ { "argumentTypes": null, - "id": 863, + "id": 869, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8059:5:1", + "referencedDeclaration": 640, + "src": "8160:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14626,12 +14712,12 @@ }, { "argumentTypes": null, - "id": 864, + "id": 870, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8065:6:1", + "referencedDeclaration": 642, + "src": "8166:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14651,18 +14737,18 @@ ], "expression": { "argumentTypes": null, - "id": 860, + "id": 866, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "8041:4:1", + "referencedDeclaration": 479, + "src": "8142:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 862, + "id": 868, "isConstant": false, "isLValue": false, "isPure": false, @@ -14670,13 +14756,13 @@ "memberName": "addTokenShop", "nodeType": "MemberAccess", "referencedDeclaration": 324, - "src": "8041:17:1", + "src": "8142:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 865, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -14684,15 +14770,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8041:31:1", + "src": "8142:31:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 866, + "id": 872, "nodeType": "ExpressionStatement", - "src": "8041:31:1" + "src": "8142:31:1" }, { "expression": { @@ -14703,12 +14789,12 @@ "arguments": [ { "argumentTypes": null, - "id": 871, + "id": 877, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "8101:4:1", + "referencedDeclaration": 479, + "src": "8202:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -14722,20 +14808,20 @@ "typeString": "contract DetherBank" } ], - "id": 870, + "id": 876, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8093:7:1", + "src": "8194:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 872, + "id": 878, "isConstant": false, "isLValue": false, "isPure": false, @@ -14743,7 +14829,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8093:13:1", + "src": "8194:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14751,12 +14837,12 @@ }, { "argumentTypes": null, - "id": 873, + "id": 879, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8108:6:1", + "referencedDeclaration": 642, + "src": "8209:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14776,32 +14862,32 @@ ], "expression": { "argumentTypes": null, - "id": 867, + "id": 873, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "8080:3:1", + "referencedDeclaration": 477, + "src": "8181:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 869, + "id": 875, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "8080:12:1", + "referencedDeclaration": 3366, + "src": "8181:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 874, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, @@ -14809,15 +14895,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8080:35:1", + "src": "8181:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 875, + "id": 881, "nodeType": "ExpressionStatement", - "src": "8080:35:1" + "src": "8181:35:1" } ] } @@ -14825,77 +14911,77 @@ ] }, "documentation": "@dev Standard ERC223 function that will handle incoming token transfers.\nThis is the main function to register SHOP or TELLER, its calling when you\nsend token to the DTH contract and by passing data as bytes on the third\nparameter.\nIts not supposed to be use on its own but will only handle incoming DTH\ntransaction.\nThe _data will wait for\n[1st byte] 1 (0x31) for shop OR 2 (0x32) for teller\nFOR SHOP AND TELLER:\n2sd to 5th bytes lat\n6th to 9th bytes lng\n...\nModifier tier1: Check if address is whitelisted with the sms verification", - "id": 1270, + "id": 1276, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 641, + "id": 647, "modifierName": { "argumentTypes": null, - "id": 640, + "id": 646, "name": "whenNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 253, - "src": "6623:13:1", + "src": "6724:13:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6623:13:1" + "src": "6724:13:1" }, { "arguments": [ { "argumentTypes": null, - "id": 643, + "id": 649, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "6643:5:1", + "referencedDeclaration": 640, + "src": "6744:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 644, + "id": 650, "modifierName": { "argumentTypes": null, - "id": 642, + "id": 648, "name": "tier1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "6637:5:1", + "referencedDeclaration": 2718, + "src": "6738:5:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "6637:13:1" + "src": "6738:13:1" } ], "name": "tokenFallback", "nodeType": "FunctionDefinition", "parameters": { - "id": 639, + "id": 645, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 634, + "id": 640, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6582:13:1", + "scope": 1276, + "src": "6683:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14903,10 +14989,10 @@ "typeString": "address" }, "typeName": { - "id": 633, + "id": 639, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6582:7:1", + "src": "6683:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14917,11 +15003,11 @@ }, { "constant": false, - "id": 636, + "id": 642, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6597:11:1", + "scope": 1276, + "src": "6698:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14929,10 +15015,10 @@ "typeString": "uint256" }, "typeName": { - "id": 635, + "id": 641, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6597:4:1", + "src": "6698:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14943,11 +15029,11 @@ }, { "constant": false, - "id": 638, + "id": 644, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6610:11:1", + "scope": 1276, + "src": "6711:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14955,10 +15041,10 @@ "typeString": "bytes" }, "typeName": { - "id": 637, + "id": 643, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6610:5:1", + "src": "6711:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -14968,26 +15054,26 @@ "visibility": "internal" } ], - "src": "6581:41:1" + "src": "6682:41:1" }, "payable": false, "returnParameters": { - "id": 645, + "id": 651, "nodeType": "ParameterList", "parameters": [], - "src": "6651:0:1" + "src": "6752:0:1" }, - "scope": 2659, - "src": "6559:4430:1", + "scope": 2672, + "src": "6660:4430:1", "stateMutability": "nonpayable", - "superFunction": 2959, + "superFunction": 2972, "visibility": "public" }, { "body": { - "id": 1395, + "id": 1401, "nodeType": "Block", - "src": "11281:633:1", + "src": "11382:633:1", "statements": [ { "expression": { @@ -15000,18 +15086,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1285, + "id": 1291, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11304:3:1", + "referencedDeclaration": 3390, + "src": "11405:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1286, + "id": 1292, "isConstant": false, "isLValue": false, "isPure": false, @@ -15019,7 +15105,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11304:10:1", + "src": "11405:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15033,18 +15119,18 @@ "typeString": "address" } ], - "id": 1284, + "id": 1290, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "11295:8:1", + "referencedDeclaration": 2629, + "src": "11396:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1287, + "id": 1293, "isConstant": false, "isLValue": false, "isPure": false, @@ -15052,7 +15138,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11295:20:1", + "src": "11396:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15066,21 +15152,21 @@ "typeString": "bool" } ], - "id": 1283, + "id": 1289, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "11287:7:1", + "referencedDeclaration": 3393, + "src": "11388:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1288, + "id": 1294, "isConstant": false, "isLValue": false, "isPure": false, @@ -15088,15 +15174,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11287:29:1", + "src": "11388:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1289, + "id": 1295, "nodeType": "ExpressionStatement", - "src": "11287:29:1" + "src": "11388:29:1" }, { "condition": { @@ -15105,19 +15191,19 @@ "typeIdentifier": "t_int8", "typeString": "int8" }, - "id": 1296, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1290, + "id": 1296, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1272, - "src": "11326:10:1", + "referencedDeclaration": 1278, + "src": "11427:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -15131,34 +15217,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1291, + "id": 1297, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11340:6:1", + "referencedDeclaration": 534, + "src": "11441:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1294, + "id": 1300, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1292, + "id": 1298, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11347:3:1", + "referencedDeclaration": 3390, + "src": "11448:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1293, + "id": 1299, "isConstant": false, "isLValue": false, "isPure": false, @@ -15166,7 +15252,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11347:10:1", + "src": "11448:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15177,40 +15263,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11340:18:1", + "src": "11441:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1295, + "id": 1301, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "11340:29:1", + "referencedDeclaration": 491, + "src": "11441:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11326:43:1", + "src": "11427:43:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1305, + "id": 1311, "nodeType": "IfStatement", - "src": "11322:95:1", + "src": "11423:95:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1303, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15221,34 +15307,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1297, + "id": 1303, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11375:6:1", + "referencedDeclaration": 534, + "src": "11476:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1300, + "id": 1306, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1298, + "id": 1304, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11382:3:1", + "referencedDeclaration": 3390, + "src": "11483:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1299, + "id": 1305, "isConstant": false, "isLValue": false, "isPure": false, @@ -15256,7 +15342,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11382:10:1", + "src": "11483:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15267,21 +15353,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11375:18:1", + "src": "11476:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1301, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "11375:29:1", + "referencedDeclaration": 491, + "src": "11476:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -15291,26 +15377,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1302, + "id": 1308, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1272, - "src": "11407:10:1", + "referencedDeclaration": 1278, + "src": "11508:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11375:42:1", + "src": "11476:42:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 1304, + "id": 1310, "nodeType": "ExpressionStatement", - "src": "11375:42:1" + "src": "11476:42:1" } }, { @@ -15320,7 +15406,7 @@ "typeIdentifier": "t_bytes16", "typeString": "bytes16" }, - "id": 1312, + "id": 1318, "isConstant": false, "isLValue": false, "isPure": false, @@ -15331,34 +15417,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1306, + "id": 1312, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11427:6:1", + "referencedDeclaration": 534, + "src": "11528:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1309, + "id": 1315, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1307, + "id": 1313, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11434:3:1", + "referencedDeclaration": 3390, + "src": "11535:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1308, + "id": 1314, "isConstant": false, "isLValue": false, "isPure": false, @@ -15366,7 +15452,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11434:10:1", + "src": "11535:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15377,21 +15463,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11427:18:1", + "src": "11528:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1310, + "id": 1316, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "11427:28:1", + "referencedDeclaration": 493, + "src": "11528:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -15401,31 +15487,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1311, + "id": 1317, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "11459:9:1", + "referencedDeclaration": 1280, + "src": "11560:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "11427:41:1", + "src": "11528:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1321, + "id": 1327, "nodeType": "IfStatement", - "src": "11423:92:1", + "src": "11524:92:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1319, + "id": 1325, "isConstant": false, "isLValue": false, "isPure": false, @@ -15436,34 +15522,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1313, + "id": 1319, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11475:6:1", + "referencedDeclaration": 534, + "src": "11576:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1316, + "id": 1322, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1314, + "id": 1320, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11482:3:1", + "referencedDeclaration": 3390, + "src": "11583:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1315, + "id": 1321, "isConstant": false, "isLValue": false, "isPure": false, @@ -15471,7 +15557,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11482:10:1", + "src": "11583:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15482,21 +15568,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11475:18:1", + "src": "11576:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1317, + "id": 1323, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "11475:28:1", + "referencedDeclaration": 493, + "src": "11576:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -15506,26 +15592,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1318, + "id": 1324, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "11506:9:1", + "referencedDeclaration": 1280, + "src": "11607:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "11475:40:1", + "src": "11576:40:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1320, + "id": 1326, "nodeType": "ExpressionStatement", - "src": "11475:40:1" + "src": "11576:40:1" } }, { @@ -15535,7 +15621,7 @@ "typeIdentifier": "t_int8", "typeString": "int8" }, - "id": 1328, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -15546,34 +15632,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1322, + "id": 1328, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11525:6:1", + "referencedDeclaration": 534, + "src": "11626:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1325, + "id": 1331, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1323, + "id": 1329, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11532:3:1", + "referencedDeclaration": 3390, + "src": "11633:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1324, + "id": 1330, "isConstant": false, "isLValue": false, "isPure": false, @@ -15581,7 +15667,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11532:10:1", + "src": "11633:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15592,21 +15678,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11525:18:1", + "src": "11626:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1326, + "id": 1332, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "11525:27:1", + "referencedDeclaration": 495, + "src": "11626:27:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -15616,31 +15702,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1327, + "id": 1333, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1276, - "src": "11556:8:1", + "referencedDeclaration": 1282, + "src": "11657:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11525:39:1", + "src": "11626:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1337, + "id": 1343, "nodeType": "IfStatement", - "src": "11521:88:1", + "src": "11622:88:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1335, + "id": 1341, "isConstant": false, "isLValue": false, "isPure": false, @@ -15651,34 +15737,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1329, + "id": 1335, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11571:6:1", + "referencedDeclaration": 534, + "src": "11672:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1332, + "id": 1338, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1330, + "id": 1336, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11578:3:1", + "referencedDeclaration": 3390, + "src": "11679:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1331, + "id": 1337, "isConstant": false, "isLValue": false, "isPure": false, @@ -15686,7 +15772,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11578:10:1", + "src": "11679:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15697,21 +15783,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11571:18:1", + "src": "11672:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1333, + "id": 1339, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "11571:27:1", + "referencedDeclaration": 495, + "src": "11672:27:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -15721,26 +15807,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1334, + "id": 1340, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1276, - "src": "11601:8:1", + "referencedDeclaration": 1282, + "src": "11702:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11571:38:1", + "src": "11672:38:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 1336, + "id": 1342, "nodeType": "ExpressionStatement", - "src": "11571:38:1" + "src": "11672:38:1" } }, { @@ -15750,7 +15836,7 @@ "typeIdentifier": "t_int16", "typeString": "int16" }, - "id": 1344, + "id": 1350, "isConstant": false, "isLValue": false, "isPure": false, @@ -15761,34 +15847,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1338, + "id": 1344, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11619:6:1", + "referencedDeclaration": 534, + "src": "11720:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1341, + "id": 1347, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1339, + "id": 1345, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11626:3:1", + "referencedDeclaration": 3390, + "src": "11727:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1340, + "id": 1346, "isConstant": false, "isLValue": false, "isPure": false, @@ -15796,7 +15882,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11626:10:1", + "src": "11727:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15807,21 +15893,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11619:18:1", + "src": "11720:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1342, + "id": 1348, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "11619:24:1", + "referencedDeclaration": 497, + "src": "11720:24:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -15831,31 +15917,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1343, + "id": 1349, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "11647:5:1", + "referencedDeclaration": 1284, + "src": "11748:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "11619:33:1", + "src": "11720:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1353, + "id": 1359, "nodeType": "IfStatement", - "src": "11615:76:1", + "src": "11716:76:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1351, + "id": 1357, "isConstant": false, "isLValue": false, "isPure": false, @@ -15866,34 +15952,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1345, + "id": 1351, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11659:6:1", + "referencedDeclaration": 534, + "src": "11760:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1348, + "id": 1354, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1346, + "id": 1352, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11666:3:1", + "referencedDeclaration": 3390, + "src": "11767:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1347, + "id": 1353, "isConstant": false, "isLValue": false, "isPure": false, @@ -15901,7 +15987,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11666:10:1", + "src": "11767:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15912,21 +15998,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11659:18:1", + "src": "11760:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1349, + "id": 1355, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "11659:24:1", + "referencedDeclaration": 497, + "src": "11760:24:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -15936,26 +16022,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1350, + "id": 1356, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "11686:5:1", + "referencedDeclaration": 1284, + "src": "11787:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "11659:32:1", + "src": "11760:32:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 1352, + "id": 1358, "nodeType": "ExpressionStatement", - "src": "11659:32:1" + "src": "11760:32:1" } }, { @@ -15965,7 +16051,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1360, + "id": 1366, "isConstant": false, "isLValue": false, "isPure": false, @@ -15976,34 +16062,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1354, + "id": 1360, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11701:6:1", + "referencedDeclaration": 534, + "src": "11802:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1357, + "id": 1363, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1355, + "id": 1361, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11708:3:1", + "referencedDeclaration": 3390, + "src": "11809:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1356, + "id": 1362, "isConstant": false, "isLValue": false, "isPure": false, @@ -16011,7 +16097,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11708:10:1", + "src": "11809:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16022,21 +16108,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11701:18:1", + "src": "11802:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1358, + "id": 1364, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "11701:25:1", + "referencedDeclaration": 507, + "src": "11802:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16046,31 +16132,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1359, + "id": 1365, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "11730:6:1", + "referencedDeclaration": 1286, + "src": "11831:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "11701:35:1", + "src": "11802:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1369, + "id": 1375, "nodeType": "IfStatement", - "src": "11697:81:1", + "src": "11798:81:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1367, + "id": 1373, "isConstant": false, "isLValue": false, "isPure": false, @@ -16081,34 +16167,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1361, + "id": 1367, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11744:6:1", + "referencedDeclaration": 534, + "src": "11845:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1364, + "id": 1370, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1362, + "id": 1368, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11751:3:1", + "referencedDeclaration": 3390, + "src": "11852:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1363, + "id": 1369, "isConstant": false, "isLValue": false, "isPure": false, @@ -16116,7 +16202,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11751:10:1", + "src": "11852:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16127,21 +16213,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11744:18:1", + "src": "11845:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1365, + "id": 1371, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "11744:25:1", + "referencedDeclaration": 507, + "src": "11845:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16151,26 +16237,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1366, + "id": 1372, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "11772:6:1", + "referencedDeclaration": 1286, + "src": "11873:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "11744:34:1", + "src": "11845:34:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1368, + "id": 1374, "nodeType": "ExpressionStatement", - "src": "11744:34:1" + "src": "11845:34:1" } }, { @@ -16180,7 +16266,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1373, + "id": 1379, "isConstant": false, "isLValue": false, "isPure": false, @@ -16189,18 +16275,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1370, + "id": 1376, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11788:3:1", + "referencedDeclaration": 3390, + "src": "11889:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1371, + "id": 1377, "isConstant": false, "isLValue": false, "isPure": false, @@ -16208,7 +16294,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11788:9:1", + "src": "11889:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16219,14 +16305,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1372, + "id": 1378, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11800:1:1", + "src": "11901:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -16234,20 +16320,20 @@ }, "value": "0" }, - "src": "11788:13:1", + "src": "11889:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1389, + "id": 1395, "nodeType": "IfStatement", - "src": "11784:91:1", + "src": "11885:91:1", "trueBody": { - "id": 1388, + "id": 1394, "nodeType": "Block", - "src": "11803:72:1", + "src": "11904:72:1", "statements": [ { "expression": { @@ -16257,18 +16343,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1382, + "id": 1388, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11846:3:1", + "referencedDeclaration": 3390, + "src": "11947:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1383, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -16276,7 +16362,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11846:10:1", + "src": "11947:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16286,18 +16372,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1384, + "id": 1390, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11858:3:1", + "referencedDeclaration": 3390, + "src": "11959:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1385, + "id": 1391, "isConstant": false, "isLValue": false, "isPure": false, @@ -16305,7 +16391,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11858:9:1", + "src": "11959:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16328,18 +16414,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1379, + "id": 1385, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11835:3:1", + "referencedDeclaration": 3390, + "src": "11936:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1380, + "id": 1386, "isConstant": false, "isLValue": false, "isPure": false, @@ -16347,7 +16433,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11835:9:1", + "src": "11936:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16365,18 +16451,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1374, + "id": 1380, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "11811:4:1", + "referencedDeclaration": 479, + "src": "11912:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1377, + "id": 1383, "isConstant": false, "isLValue": false, "isPure": false, @@ -16384,13 +16470,13 @@ "memberName": "addEthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 340, - "src": "11811:17:1", + "src": "11912:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1378, + "id": 1384, "isConstant": false, "isLValue": false, "isPure": false, @@ -16398,13 +16484,13 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11811:23:1", + "src": "11912:23:1", "typeDescriptions": { "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value_$", "typeString": "function (uint256) returns (function (address,uint256) payable external returns (bool))" } }, - "id": 1381, + "id": 1387, "isConstant": false, "isLValue": false, "isPure": false, @@ -16412,13 +16498,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11811:34:1", + "src": "11912:34:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1386, + "id": 1392, "isConstant": false, "isLValue": false, "isPure": false, @@ -16426,15 +16512,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11811:57:1", + "src": "11912:57:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1387, + "id": 1393, "nodeType": "ExpressionStatement", - "src": "11811:57:1" + "src": "11912:57:1" } ] } @@ -16447,18 +16533,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1391, + "id": 1397, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11898:3:1", + "referencedDeclaration": 3390, + "src": "11999:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1392, + "id": 1398, "isConstant": false, "isLValue": false, "isPure": false, @@ -16466,7 +16552,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11898:10:1", + "src": "11999:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16480,18 +16566,18 @@ "typeString": "address" } ], - "id": 1390, + "id": 1396, "name": "UpdateTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "11885:12:1", + "referencedDeclaration": 415, + "src": "11986:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1393, + "id": 1399, "isConstant": false, "isLValue": false, "isPure": false, @@ -16499,20 +16585,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11885:24:1", + "src": "11986:24:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1394, + "id": 1400, "nodeType": "EmitStatement", - "src": "11880:29:1" + "src": "11981:29:1" } ] }, "documentation": "a teller can update his profile\nIf a teller want to change his location, he would need to delete and recreate\na new point", - "id": 1396, + "id": 1402, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -16520,16 +16606,16 @@ "name": "updateTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 1281, + "id": 1287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1272, + "id": 1278, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11169:15:1", + "scope": 1402, + "src": "11270:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16537,10 +16623,10 @@ "typeString": "int8" }, "typeName": { - "id": 1271, + "id": 1277, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "11169:4:1", + "src": "11270:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -16551,11 +16637,11 @@ }, { "constant": false, - "id": 1274, + "id": 1280, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11190:17:1", + "scope": 1402, + "src": "11291:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16563,10 +16649,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 1273, + "id": 1279, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "11190:7:1", + "src": "11291:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -16577,11 +16663,11 @@ }, { "constant": false, - "id": 1276, + "id": 1282, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11213:13:1", + "scope": 1402, + "src": "11314:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16589,10 +16675,10 @@ "typeString": "int8" }, "typeName": { - "id": 1275, + "id": 1281, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "11213:4:1", + "src": "11314:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -16603,11 +16689,11 @@ }, { "constant": false, - "id": 1278, + "id": 1284, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11232:11:1", + "scope": 1402, + "src": "11333:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16615,10 +16701,10 @@ "typeString": "int16" }, "typeName": { - "id": 1277, + "id": 1283, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "11232:5:1", + "src": "11333:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -16629,11 +16715,11 @@ }, { "constant": false, - "id": 1280, + "id": 1286, "name": "online", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11249:11:1", + "scope": 1402, + "src": "11350:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16641,10 +16727,10 @@ "typeString": "bool" }, "typeName": { - "id": 1279, + "id": 1285, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11249:4:1", + "src": "11350:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16654,28 +16740,28 @@ "visibility": "internal" } ], - "src": "11163:102:1" + "src": "11264:102:1" }, "payable": true, "returnParameters": { - "id": 1282, + "id": 1288, "nodeType": "ParameterList", "parameters": [], - "src": "11281:0:1" + "src": "11382:0:1" }, - "scope": 2659, - "src": "11142:772:1", + "scope": 2672, + "src": "11243:772:1", "stateMutability": "payable", "superFunction": null, "visibility": "public" }, { "constant": false, - "id": 1402, + "id": 1408, "name": "limitTier", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "12011:51:1", + "scope": 2672, + "src": "12112:51:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -16683,46 +16769,46 @@ "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" }, "typeName": { - "id": 1401, + "id": 1407, "keyType": { - "id": 1397, + "id": 1403, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12019:4:1", + "src": "12120:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "12011:41:1", + "src": "12112:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" }, "valueType": { - "id": 1400, + "id": 1406, "keyType": { - "id": 1398, + "id": 1404, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12036:6:1", + "src": "12137:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "12027:24:1", + "src": "12128:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" }, "valueType": { - "id": 1399, + "id": 1405, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12046:4:1", + "src": "12147:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16735,14 +16821,14 @@ }, { "body": { - "id": 1421, + "id": 1427, "nodeType": "Block", - "src": "12159:51:1", + "src": "12260:51:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1419, + "id": 1425, "isConstant": false, "isLValue": false, "isPure": false, @@ -16753,26 +16839,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1413, + "id": 1419, "name": "limitTier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "12165:9:1", + "referencedDeclaration": 1408, + "src": "12266:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" } }, - "id": 1416, + "id": 1422, "indexExpression": { "argumentTypes": null, - "id": 1414, + "id": 1420, "name": "_tier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1404, - "src": "12175:5:1", + "referencedDeclaration": 1410, + "src": "12276:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16783,21 +16869,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12165:16:1", + "src": "12266:16:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1417, + "id": 1423, "indexExpression": { "argumentTypes": null, - "id": 1415, + "id": 1421, "name": "_countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1406, - "src": "12182:10:1", + "referencedDeclaration": 1412, + "src": "12283:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -16808,7 +16894,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "12165:28:1", + "src": "12266:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16818,68 +16904,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1418, + "id": 1424, "name": "_limitUsd", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1408, - "src": "12196:9:1", + "referencedDeclaration": 1414, + "src": "12297:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12165:40:1", + "src": "12266:40:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1420, + "id": 1426, "nodeType": "ExpressionStatement", - "src": "12165:40:1" + "src": "12266:40:1" } ] }, "documentation": null, - "id": 1422, + "id": 1428, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1411, + "id": 1417, "modifierName": { "argumentTypes": null, - "id": 1410, + "id": 1416, "name": "onlyCFO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "12151:7:1", + "src": "12252:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "12151:7:1" + "src": "12252:7:1" } ], "name": "setSellDailyLimit", "nodeType": "FunctionDefinition", "parameters": { - "id": 1409, + "id": 1415, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1404, + "id": 1410, "name": "_tier", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12094:10:1", + "scope": 1428, + "src": "12195:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16887,10 +16973,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1403, + "id": 1409, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12094:4:1", + "src": "12195:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16901,11 +16987,11 @@ }, { "constant": false, - "id": 1406, + "id": 1412, "name": "_countryId", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12106:17:1", + "scope": 1428, + "src": "12207:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16913,10 +16999,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1405, + "id": 1411, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12106:6:1", + "src": "12207:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -16927,11 +17013,11 @@ }, { "constant": false, - "id": 1408, + "id": 1414, "name": "_limitUsd", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12125:17:1", + "scope": 1428, + "src": "12226:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16939,10 +17025,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1407, + "id": 1413, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12125:7:1", + "src": "12226:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16952,43 +17038,43 @@ "visibility": "internal" } ], - "src": "12093:50:1" + "src": "12194:50:1" }, "payable": false, "returnParameters": { - "id": 1412, + "id": 1418, "nodeType": "ParameterList", "parameters": [], - "src": "12159:0:1" + "src": "12260:0:1" }, - "scope": 2659, - "src": "12067:143:1", + "scope": 2672, + "src": "12168:143:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1439, + "id": 1445, "nodeType": "Block", - "src": "12309:50:1", + "src": "12410:50:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1437, + "id": 1443, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1431, + "id": 1437, "name": "limitUsd", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "12315:8:1", + "referencedDeclaration": 1435, + "src": "12416:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17002,26 +17088,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1432, + "id": 1438, "name": "limitTier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "12326:9:1", + "referencedDeclaration": 1408, + "src": "12427:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" } }, - "id": 1434, + "id": 1440, "indexExpression": { "argumentTypes": null, - "id": 1433, + "id": 1439, "name": "_tier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1424, - "src": "12336:5:1", + "referencedDeclaration": 1430, + "src": "12437:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17032,21 +17118,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12326:16:1", + "src": "12427:16:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1436, + "id": 1442, "indexExpression": { "argumentTypes": null, - "id": 1435, + "id": 1441, "name": "_countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1426, - "src": "12343:10:1", + "referencedDeclaration": 1432, + "src": "12444:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -17057,26 +17143,26 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12326:28:1", + "src": "12427:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12315:39:1", + "src": "12416:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1438, + "id": 1444, "nodeType": "ExpressionStatement", - "src": "12315:39:1" + "src": "12416:39:1" } ] }, "documentation": null, - "id": 1440, + "id": 1446, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -17084,16 +17170,16 @@ "name": "getSellDailyLimit", "nodeType": "FunctionDefinition", "parameters": { - "id": 1427, + "id": 1433, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1424, + "id": 1430, "name": "_tier", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12240:10:1", + "scope": 1446, + "src": "12341:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17101,10 +17187,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1423, + "id": 1429, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12240:4:1", + "src": "12341:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17115,11 +17201,11 @@ }, { "constant": false, - "id": 1426, + "id": 1432, "name": "_countryId", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12252:17:1", + "scope": 1446, + "src": "12353:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17127,10 +17213,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1425, + "id": 1431, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12252:6:1", + "src": "12353:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -17140,20 +17226,20 @@ "visibility": "internal" } ], - "src": "12239:31:1" + "src": "12340:31:1" }, "payable": false, "returnParameters": { - "id": 1430, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1429, + "id": 1435, "name": "limitUsd", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12291:16:1", + "scope": 1446, + "src": "12392:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17161,10 +17247,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1428, + "id": 1434, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12291:7:1", + "src": "12392:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17174,32 +17260,32 @@ "visibility": "internal" } ], - "src": "12290:18:1" + "src": "12391:18:1" }, - "scope": 2659, - "src": "12213:146:1", + "scope": 2672, + "src": "12314:146:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1497, + "id": 1503, "nodeType": "Block", - "src": "12441:726:1", + "src": "12542:726:1", "statements": [ { "assignments": [ - 1447 + 1453 ], "declarations": [ { "constant": false, - "id": 1447, + "id": 1453, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12481:16:1", + "scope": 1504, + "src": "12582:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17207,10 +17293,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1446, + "id": 1452, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12481:6:1", + "src": "12582:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -17220,33 +17306,33 @@ "visibility": "internal" } ], - "id": 1452, + "id": 1458, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1448, + "id": 1454, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "12500:6:1", + "referencedDeclaration": 534, + "src": "12601:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1450, + "id": 1456, "indexExpression": { "argumentTypes": null, - "id": 1449, + "id": 1455, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12507:7:1", + "referencedDeclaration": 1448, + "src": "12608:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17257,41 +17343,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12500:15:1", + "src": "12601:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1451, + "id": 1457, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "12500:25:1", + "referencedDeclaration": 487, + "src": "12601:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "VariableDeclarationStatement", - "src": "12481:44:1" + "src": "12582:44:1" }, { "assignments": [ - 1454 + 1460 ], "declarations": [ { "constant": false, - "id": 1454, + "id": 1460, "name": "usdDailyLimit", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12580:21:1", + "scope": 1504, + "src": "12681:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17299,10 +17385,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1453, + "id": 1459, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12580:7:1", + "src": "12681:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17312,7 +17398,7 @@ "visibility": "internal" } ], - "id": 1464, + "id": 1470, "initialValue": { "argumentTypes": null, "arguments": [ @@ -17323,12 +17409,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1457, + "id": 1463, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12630:7:1", + "referencedDeclaration": 1448, + "src": "12731:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17342,18 +17428,18 @@ "typeString": "address" } ], - "id": 1456, + "id": 1462, "name": "isTier2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2768, - "src": "12622:7:1", + "referencedDeclaration": 2781, + "src": "12723:7:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1458, + "id": 1464, "isConstant": false, "isLValue": false, "isPure": false, @@ -17361,7 +17447,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12622:16:1", + "src": "12723:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17370,14 +17456,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1460, + "id": 1466, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12645:1:1", + "src": "12746:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -17385,24 +17471,24 @@ }, "value": "1" }, - "id": 1461, + "id": 1467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "12622:24:1", + "src": "12723:24:1", "trueExpression": { "argumentTypes": null, "hexValue": "32", - "id": 1459, + "id": 1465, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12641:1:1", + "src": "12742:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -17417,12 +17503,12 @@ }, { "argumentTypes": null, - "id": 1462, + "id": 1468, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1447, - "src": "12648:9:1", + "referencedDeclaration": 1453, + "src": "12749:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -17440,18 +17526,18 @@ "typeString": "bytes2" } ], - "id": 1455, + "id": 1461, "name": "getSellDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1440, - "src": "12604:17:1", + "referencedDeclaration": 1446, + "src": "12705:17:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_bytes2_$returns$_t_uint256_$", "typeString": "function (uint256,bytes2) view returns (uint256)" } }, - "id": 1463, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -17459,27 +17545,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12604:54:1", + "src": "12705:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12580:78:1" + "src": "12681:78:1" }, { "assignments": [ - 1466 + 1472 ], "declarations": [ { "constant": false, - "id": 1466, + "id": 1472, "name": "weiDailyLimit", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12743:21:1", + "scope": 1504, + "src": "12844:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17487,10 +17573,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1465, + "id": 1471, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12743:7:1", + "src": "12844:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17500,7 +17586,7 @@ "visibility": "internal" } ], - "id": 1474, + "id": 1480, "initialValue": { "argumentTypes": null, "arguments": [ @@ -17511,18 +17597,18 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 1469, + "id": 1475, "name": "priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 475, - "src": "12780:11:1", + "referencedDeclaration": 481, + "src": "12881:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "id": 1470, + "id": 1476, "isConstant": false, "isLValue": false, "isPure": false, @@ -17530,13 +17616,13 @@ "memberName": "getWeiPriceOneUsd", "nodeType": "MemberAccess", "referencedDeclaration": 299, - "src": "12780:29:1", + "src": "12881:29:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 1471, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": false, @@ -17544,7 +17630,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12780:31:1", + "src": "12881:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17552,12 +17638,12 @@ }, { "argumentTypes": null, - "id": 1472, + "id": 1478, "name": "usdDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1454, - "src": "12813:13:1", + "referencedDeclaration": 1460, + "src": "12914:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17577,32 +17663,32 @@ ], "expression": { "argumentTypes": null, - "id": 1467, + "id": 1473, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "12767:8:1", + "referencedDeclaration": 3071, + "src": "12868:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1468, + "id": 1474, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "12767:12:1", + "referencedDeclaration": 3008, + "src": "12868:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1473, + "id": 1479, "isConstant": false, "isLValue": false, "isPure": false, @@ -17610,27 +17696,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12767:60:1", + "src": "12868:60:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12743:84:1" + "src": "12844:84:1" }, { "assignments": [ - 1476 + 1482 ], "declarations": [ { "constant": false, - "id": 1476, + "id": 1482, "name": "weiSoldToday", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12920:20:1", + "scope": 1504, + "src": "13021:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17638,10 +17724,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1475, + "id": 1481, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12920:7:1", + "src": "13021:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17651,18 +17737,18 @@ "visibility": "internal" } ], - "id": 1481, + "id": 1487, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1479, + "id": 1485, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12964:7:1", + "referencedDeclaration": 1448, + "src": "13065:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17678,18 +17764,18 @@ ], "expression": { "argumentTypes": null, - "id": 1477, + "id": 1483, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "12943:4:1", + "referencedDeclaration": 479, + "src": "13044:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1478, + "id": 1484, "isConstant": false, "isLValue": false, "isPure": false, @@ -17697,13 +17783,13 @@ "memberName": "getWeiSoldToday", "nodeType": "MemberAccess", "referencedDeclaration": 382, - "src": "12943:20:1", + "src": "13044:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 1480, + "id": 1486, "isConstant": false, "isLValue": false, "isPure": false, @@ -17711,27 +17797,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12943:29:1", + "src": "13044:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12920:52:1" + "src": "13021:52:1" }, { "assignments": [ - 1483 + 1489 ], "declarations": [ { "constant": false, - "id": 1483, + "id": 1489, "name": "newWeiSoldToday", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12979:23:1", + "scope": 1504, + "src": "13080:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17739,10 +17825,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1482, + "id": 1488, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12979:7:1", + "src": "13080:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17752,18 +17838,18 @@ "visibility": "internal" } ], - "id": 1489, + "id": 1495, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1486, + "id": 1492, "name": "weiSoldToday", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1476, - "src": "13018:12:1", + "referencedDeclaration": 1482, + "src": "13119:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17771,12 +17857,12 @@ }, { "argumentTypes": null, - "id": 1487, + "id": 1493, "name": "_weiSellAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1444, - "src": "13032:14:1", + "referencedDeclaration": 1450, + "src": "13133:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17796,32 +17882,32 @@ ], "expression": { "argumentTypes": null, - "id": 1484, + "id": 1490, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "13005:8:1", + "referencedDeclaration": 3071, + "src": "13106:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1485, + "id": 1491, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "13005:12:1", + "referencedDeclaration": 3070, + "src": "13106:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1488, + "id": 1494, "isConstant": false, "isLValue": false, "isPure": false, @@ -17829,14 +17915,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13005:42:1", + "src": "13106:42:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12979:68:1" + "src": "13080:68:1" }, { "expression": { @@ -17848,19 +17934,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1493, + "id": 1499, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1491, + "id": 1497, "name": "newWeiSoldToday", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1483, - "src": "13122:15:1", + "referencedDeclaration": 1489, + "src": "13223:15:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17870,18 +17956,18 @@ "operator": "<=", "rightExpression": { "argumentTypes": null, - "id": 1492, + "id": 1498, "name": "weiDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1466, - "src": "13141:13:1", + "referencedDeclaration": 1472, + "src": "13242:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13122:32:1", + "src": "13223:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17895,21 +17981,21 @@ "typeString": "bool" } ], - "id": 1490, + "id": 1496, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13114:7:1", + "referencedDeclaration": 3393, + "src": "13215:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1494, + "id": 1500, "isConstant": false, "isLValue": false, "isPure": false, @@ -17917,38 +18003,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13114:41:1", + "src": "13215:41:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1495, + "id": 1501, "nodeType": "ExpressionStatement", - "src": "13114:41:1" + "src": "13215:41:1" }, { - "id": 1496, + "id": 1502, "nodeType": "PlaceholderStatement", - "src": "13161:1:1" + "src": "13262:1:1" } ] }, "documentation": null, - "id": 1498, + "id": 1504, "name": "doesNotExceedDailySellLimit", "nodeType": "ModifierDefinition", "parameters": { - "id": 1445, + "id": 1451, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1442, + "id": 1448, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12400:15:1", + "scope": 1504, + "src": "12501:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17956,10 +18042,10 @@ "typeString": "address" }, "typeName": { - "id": 1441, + "id": 1447, "name": "address", "nodeType": "ElementaryTypeName", - "src": "12400:7:1", + "src": "12501:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17970,11 +18056,11 @@ }, { "constant": false, - "id": 1444, + "id": 1450, "name": "_weiSellAmount", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12417:22:1", + "scope": 1504, + "src": "12518:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17982,10 +18068,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1443, + "id": 1449, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12417:7:1", + "src": "12518:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17995,16 +18081,16 @@ "visibility": "internal" } ], - "src": "12399:41:1" + "src": "12500:41:1" }, - "src": "12363:804:1", + "src": "12464:804:1", "visibility": "internal" }, { "body": { - "id": 1513, + "id": 1519, "nodeType": "Block", - "src": "13260:50:1", + "src": "13361:50:1", "statements": [ { "expression": { @@ -18013,26 +18099,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1507, + "id": 1513, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "13273:20:1", + "referencedDeclaration": 514, + "src": "13374:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1509, + "id": 1515, "indexExpression": { "argumentTypes": null, - "id": 1508, + "id": 1514, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1500, - "src": "13294:5:1", + "referencedDeclaration": 1506, + "src": "13395:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18043,21 +18129,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13273:27:1", + "src": "13374:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1511, + "id": 1517, "indexExpression": { "argumentTypes": null, - "id": 1510, + "id": 1516, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "13301:3:1", + "referencedDeclaration": 1508, + "src": "13402:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18068,21 +18154,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13273:32:1", + "src": "13374:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1506, - "id": 1512, + "functionReturnParameters": 1512, + "id": 1518, "nodeType": "Return", - "src": "13266:39:1" + "src": "13367:39:1" } ] }, "documentation": null, - "id": 1514, + "id": 1520, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -18090,16 +18176,16 @@ "name": "getPairSellLoyaltyPerc", "nodeType": "FunctionDefinition", "parameters": { - "id": 1503, + "id": 1509, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1500, + "id": 1506, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13203:13:1", + "scope": 1520, + "src": "13304:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18107,10 +18193,10 @@ "typeString": "address" }, "typeName": { - "id": 1499, + "id": 1505, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13203:7:1", + "src": "13304:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18121,11 +18207,11 @@ }, { "constant": false, - "id": 1502, + "id": 1508, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13218:11:1", + "scope": 1520, + "src": "13319:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18133,10 +18219,10 @@ "typeString": "address" }, "typeName": { - "id": 1501, + "id": 1507, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13218:7:1", + "src": "13319:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18146,20 +18232,20 @@ "visibility": "internal" } ], - "src": "13202:28:1" + "src": "13303:28:1" }, "payable": false, "returnParameters": { - "id": 1506, + "id": 1512, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1505, + "id": 1511, "name": "", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13251:7:1", + "scope": 1520, + "src": "13352:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18167,10 +18253,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1504, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13251:7:1", + "src": "13352:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18180,45 +18266,45 @@ "visibility": "internal" } ], - "src": "13250:9:1" + "src": "13351:9:1" }, - "scope": 2659, - "src": "13171:139:1", + "scope": 2672, + "src": "13272:139:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1525, + "id": 1531, "nodeType": "Block", - "src": "13383:36:1", + "src": "13484:36:1", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1521, + "id": 1527, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "13396:13:1", + "referencedDeclaration": 530, + "src": "13497:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1523, + "id": 1529, "indexExpression": { "argumentTypes": null, - "id": 1522, + "id": 1528, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "13410:3:1", + "referencedDeclaration": 1522, + "src": "13511:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18229,21 +18315,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13396:18:1", + "src": "13497:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1520, - "id": 1524, + "functionReturnParameters": 1526, + "id": 1530, "nodeType": "Return", - "src": "13389:25:1" + "src": "13490:25:1" } ] }, "documentation": null, - "id": 1526, + "id": 1532, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -18251,16 +18337,16 @@ "name": "getLoyaltyPoints", "nodeType": "FunctionDefinition", "parameters": { - "id": 1517, + "id": 1523, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1516, + "id": 1522, "name": "who", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "13340:11:1", + "scope": 1532, + "src": "13441:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18268,10 +18354,10 @@ "typeString": "address" }, "typeName": { - "id": 1515, + "id": 1521, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13340:7:1", + "src": "13441:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18281,20 +18367,20 @@ "visibility": "internal" } ], - "src": "13339:13:1" + "src": "13440:13:1" }, "payable": false, "returnParameters": { - "id": 1520, + "id": 1526, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1519, + "id": 1525, "name": "", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "13374:7:1", + "scope": 1532, + "src": "13475:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18302,10 +18388,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1518, + "id": 1524, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13374:7:1", + "src": "13475:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18315,19 +18401,19 @@ "visibility": "internal" } ], - "src": "13373:9:1" + "src": "13474:9:1" }, - "scope": 2659, - "src": "13314:105:1", + "scope": 2672, + "src": "13415:105:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1671, + "id": 1677, "nodeType": "Block", - "src": "13698:1427:1", + "src": "13799:1427:1", "statements": [ { "expression": { @@ -18340,18 +18426,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1542, + "id": 1548, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13721:3:1", + "referencedDeclaration": 3390, + "src": "13822:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1543, + "id": 1549, "isConstant": false, "isLValue": false, "isPure": false, @@ -18359,7 +18445,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13721:10:1", + "src": "13822:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18373,18 +18459,18 @@ "typeString": "address" } ], - "id": 1541, + "id": 1547, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "13712:8:1", + "referencedDeclaration": 2629, + "src": "13813:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1544, + "id": 1550, "isConstant": false, "isLValue": false, "isPure": false, @@ -18392,7 +18478,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13712:20:1", + "src": "13813:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18406,21 +18492,21 @@ "typeString": "bool" } ], - "id": 1540, + "id": 1546, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13704:7:1", + "referencedDeclaration": 3393, + "src": "13805:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1545, + "id": 1551, "isConstant": false, "isLValue": false, "isPure": false, @@ -18428,15 +18514,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13704:29:1", + "src": "13805:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1552, "nodeType": "ExpressionStatement", - "src": "13704:29:1" + "src": "13805:29:1" }, { "expression": { @@ -18448,19 +18534,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1551, + "id": 1557, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1548, + "id": 1554, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "13747:3:1", + "referencedDeclaration": 1534, + "src": "13848:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18472,18 +18558,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1549, + "id": 1555, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13754:3:1", + "referencedDeclaration": 3390, + "src": "13855:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1550, + "id": 1556, "isConstant": false, "isLValue": false, "isPure": false, @@ -18491,13 +18577,13 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13754:10:1", + "src": "13855:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "13747:17:1", + "src": "13848:17:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18511,21 +18597,21 @@ "typeString": "bool" } ], - "id": 1547, + "id": 1553, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13739:7:1", + "referencedDeclaration": 3393, + "src": "13840:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1552, + "id": 1558, "isConstant": false, "isLValue": false, "isPure": false, @@ -18533,15 +18619,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13739:26:1", + "src": "13840:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1553, + "id": 1559, "nodeType": "ExpressionStatement", - "src": "13739:26:1" + "src": "13840:26:1" }, { "expression": { @@ -18551,18 +18637,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1557, + "id": 1563, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13910:3:1", + "referencedDeclaration": 3390, + "src": "14011:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1558, + "id": 1564, "isConstant": false, "isLValue": false, "isPure": false, @@ -18570,7 +18656,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13910:10:1", + "src": "14011:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18578,12 +18664,12 @@ }, { "argumentTypes": null, - "id": 1559, + "id": 1565, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "13922:3:1", + "referencedDeclaration": 1534, + "src": "14023:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18591,12 +18677,12 @@ }, { "argumentTypes": null, - "id": 1560, + "id": 1566, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "13927:7:1", + "referencedDeclaration": 1536, + "src": "14028:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18620,18 +18706,18 @@ ], "expression": { "argumentTypes": null, - "id": 1554, + "id": 1560, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "13893:4:1", + "referencedDeclaration": 479, + "src": "13994:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1556, + "id": 1562, "isConstant": false, "isLValue": false, "isPure": false, @@ -18639,13 +18725,13 @@ "memberName": "withdrawEth", "nodeType": "MemberAccess", "referencedDeclaration": 349, - "src": "13893:16:1", + "src": "13994:16:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256) external" } }, - "id": 1561, + "id": 1567, "isConstant": false, "isLValue": false, "isPure": false, @@ -18653,15 +18739,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13893:42:1", + "src": "13994:42:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1562, + "id": 1568, "nodeType": "ExpressionStatement", - "src": "13893:42:1" + "src": "13994:42:1" }, { "condition": { @@ -18669,12 +18755,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1565, + "id": 1571, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14118:3:1", + "referencedDeclaration": 1534, + "src": "14219:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18690,32 +18776,32 @@ ], "expression": { "argumentTypes": null, - "id": 1563, + "id": 1569, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, - "src": "14095:12:1", + "referencedDeclaration": 2687, + "src": "14196:12:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 1564, + "id": 1570, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, - "src": "14095:22:1", + "referencedDeclaration": 2933, + "src": "14196:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 1566, + "id": 1572, "isConstant": false, "isLValue": false, "isPure": false, @@ -18723,33 +18809,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14095:27:1", + "src": "14196:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1663, + "id": 1669, "nodeType": "IfStatement", - "src": "14091:989:1", + "src": "14192:989:1", "trueBody": { - "id": 1662, + "id": 1668, "nodeType": "Block", - "src": "14124:956:1", + "src": "14225:956:1", "statements": [ { "assignments": [ - 1568 + 1574 ], "declarations": [ { "constant": false, - "id": 1568, + "id": 1574, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "14132:35:1", + "scope": 1678, + "src": "14233:35:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18757,10 +18843,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1567, + "id": 1573, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14132:4:1", + "src": "14233:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18770,41 +18856,41 @@ "visibility": "internal" } ], - "id": 1575, + "id": 1581, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1569, + "id": 1575, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14170:20:1", + "referencedDeclaration": 514, + "src": "14271:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1572, + "id": 1578, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1570, + "id": 1576, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14191:3:1", + "referencedDeclaration": 3390, + "src": "14292:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1571, + "id": 1577, "isConstant": false, "isLValue": false, "isPure": false, @@ -18812,7 +18898,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14191:10:1", + "src": "14292:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18823,21 +18909,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14170:32:1", + "src": "14271:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1574, + "id": 1580, "indexExpression": { "argumentTypes": null, - "id": 1573, + "id": 1579, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14203:3:1", + "referencedDeclaration": 1534, + "src": "14304:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18848,14 +18934,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14170:37:1", + "src": "14271:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14132:75:1" + "src": "14233:75:1" }, { "condition": { @@ -18864,19 +18950,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1578, + "id": 1584, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1576, + "id": 1582, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14219:30:1", + "referencedDeclaration": 1574, + "src": "14320:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18887,14 +18973,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1577, + "id": 1583, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14253:1:1", + "src": "14354:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -18902,25 +18988,25 @@ }, "value": "0" }, - "src": "14219:35:1", + "src": "14320:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1593, + "id": 1599, "nodeType": "IfStatement", - "src": "14215:225:1", + "src": "14316:225:1", "trueBody": { - "id": 1592, + "id": 1598, "nodeType": "Block", - "src": "14256:184:1", + "src": "14357:184:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1586, + "id": 1592, "isConstant": false, "isLValue": false, "isPure": false, @@ -18931,34 +19017,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1579, + "id": 1585, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14338:20:1", + "referencedDeclaration": 514, + "src": "14439:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1583, + "id": 1589, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1580, + "id": 1586, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14359:3:1", + "referencedDeclaration": 3390, + "src": "14460:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1581, + "id": 1587, "isConstant": false, "isLValue": false, "isPure": false, @@ -18966,7 +19052,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14359:10:1", + "src": "14460:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18977,21 +19063,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14338:32:1", + "src": "14439:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1584, + "id": 1590, "indexExpression": { "argumentTypes": null, - "id": 1582, + "id": 1588, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14371:3:1", + "referencedDeclaration": 1534, + "src": "14472:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19002,7 +19088,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14338:37:1", + "src": "14439:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19013,14 +19099,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1585, + "id": 1591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14378:5:1", + "src": "14479:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -19028,32 +19114,32 @@ }, "value": "10000" }, - "src": "14338:45:1", + "src": "14439:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1587, + "id": 1593, "nodeType": "ExpressionStatement", - "src": "14338:45:1" + "src": "14439:45:1" }, { "expression": { "argumentTypes": null, - "id": 1590, + "id": 1596, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1588, + "id": 1594, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14393:30:1", + "referencedDeclaration": 1574, + "src": "14494:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19064,14 +19150,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1589, + "id": 1595, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14426:5:1", + "src": "14527:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -19079,15 +19165,15 @@ }, "value": "10000" }, - "src": "14393:38:1", + "src": "14494:38:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1591, + "id": 1597, "nodeType": "ExpressionStatement", - "src": "14393:38:1" + "src": "14494:38:1" } ] } @@ -19095,7 +19181,7 @@ { "expression": { "argumentTypes": null, - "id": 1612, + "id": 1618, "isConstant": false, "isLValue": false, "isPure": false, @@ -19104,34 +19190,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1594, + "id": 1600, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "14528:13:1", + "referencedDeclaration": 530, + "src": "14629:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1597, + "id": 1603, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1595, + "id": 1601, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14542:3:1", + "referencedDeclaration": 3390, + "src": "14643:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1596, + "id": 1602, "isConstant": false, "isLValue": false, "isPure": false, @@ -19139,7 +19225,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14542:10:1", + "src": "14643:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19150,7 +19236,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14528:25:1", + "src": "14629:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19165,34 +19251,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1600, + "id": 1606, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "14569:13:1", + "referencedDeclaration": 530, + "src": "14670:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1603, + "id": 1609, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1601, + "id": 1607, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14583:3:1", + "referencedDeclaration": 3390, + "src": "14684:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1602, + "id": 1608, "isConstant": false, "isLValue": false, "isPure": false, @@ -19200,7 +19286,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14583:10:1", + "src": "14684:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19211,7 +19297,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14569:25:1", + "src": "14670:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19223,7 +19309,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1610, + "id": 1616, "isConstant": false, "isLValue": false, "isPure": false, @@ -19233,12 +19319,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1606, + "id": 1612, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "14609:7:1", + "referencedDeclaration": 1536, + "src": "14710:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19246,12 +19332,12 @@ }, { "argumentTypes": null, - "id": 1607, + "id": 1613, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14618:30:1", + "referencedDeclaration": 1574, + "src": "14719:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19271,32 +19357,32 @@ ], "expression": { "argumentTypes": null, - "id": 1604, + "id": 1610, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14596:8:1", + "referencedDeclaration": 3071, + "src": "14697:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1605, + "id": 1611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "14596:12:1", + "referencedDeclaration": 3008, + "src": "14697:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1608, + "id": 1614, "isConstant": false, "isLValue": false, "isPure": false, @@ -19304,7 +19390,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14596:53:1", + "src": "14697:53:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19315,14 +19401,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1609, + "id": 1615, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14652:5:1", + "src": "14753:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -19330,7 +19416,7 @@ }, "value": "10000" }, - "src": "14596:61:1", + "src": "14697:61:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19350,32 +19436,32 @@ ], "expression": { "argumentTypes": null, - "id": 1598, + "id": 1604, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14556:8:1", + "referencedDeclaration": 3071, + "src": "14657:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1599, + "id": 1605, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14556:12:1", + "referencedDeclaration": 3070, + "src": "14657:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1611, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, @@ -19383,26 +19469,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14556:102:1", + "src": "14657:102:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14528:130:1", + "src": "14629:130:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1613, + "id": 1619, "nodeType": "ExpressionStatement", - "src": "14528:130:1" + "src": "14629:130:1" }, { "expression": { "argumentTypes": null, - "id": 1627, + "id": 1633, "isConstant": false, "isLValue": false, "isPure": false, @@ -19413,34 +19499,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1614, + "id": 1620, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14806:20:1", + "referencedDeclaration": 514, + "src": "14907:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1618, + "id": 1624, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1615, + "id": 1621, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14827:3:1", + "referencedDeclaration": 3390, + "src": "14928:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1616, + "id": 1622, "isConstant": false, "isLValue": false, "isPure": false, @@ -19448,7 +19534,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14827:10:1", + "src": "14928:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19459,21 +19545,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14806:32:1", + "src": "14907:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1619, + "id": 1625, "indexExpression": { "argumentTypes": null, - "id": 1617, + "id": 1623, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14839:3:1", + "referencedDeclaration": 1534, + "src": "14940:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19484,7 +19570,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14806:37:1", + "src": "14907:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19498,7 +19584,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1626, + "id": 1632, "isConstant": false, "isLValue": false, "isPure": false, @@ -19508,12 +19594,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1622, + "id": 1628, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14859:30:1", + "referencedDeclaration": 1574, + "src": "14960:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19522,14 +19608,14 @@ { "argumentTypes": null, "hexValue": "3739", - "id": 1623, + "id": 1629, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14891:2:1", + "src": "14992:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_79_by_1", @@ -19551,32 +19637,32 @@ ], "expression": { "argumentTypes": null, - "id": 1620, + "id": 1626, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14846:8:1", + "referencedDeclaration": 3071, + "src": "14947:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1621, + "id": 1627, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "14846:12:1", + "referencedDeclaration": 3008, + "src": "14947:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1624, + "id": 1630, "isConstant": false, "isLValue": false, "isPure": false, @@ -19584,7 +19670,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14846:48:1", + "src": "14947:48:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19595,14 +19681,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "313030", - "id": 1625, + "id": 1631, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14897:3:1", + "src": "14998:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_100_by_1", @@ -19610,26 +19696,26 @@ }, "value": "100" }, - "src": "14846:54:1", + "src": "14947:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14806:94:1", + "src": "14907:94:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1628, + "id": 1634, "nodeType": "ExpressionStatement", - "src": "14806:94:1" + "src": "14907:94:1" }, { "expression": { "argumentTypes": null, - "id": 1639, + "id": 1645, "isConstant": false, "isLValue": false, "isPure": false, @@ -19638,26 +19724,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1629, + "id": 1635, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "14909:9:1", + "referencedDeclaration": 518, + "src": "15010:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1631, + "id": 1637, "indexExpression": { "argumentTypes": null, - "id": 1630, + "id": 1636, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14919:3:1", + "referencedDeclaration": 1534, + "src": "15020:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19668,7 +19754,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14909:14:1", + "src": "15010:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19683,26 +19769,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1634, + "id": 1640, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "14939:9:1", + "referencedDeclaration": 518, + "src": "15040:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1636, + "id": 1642, "indexExpression": { "argumentTypes": null, - "id": 1635, + "id": 1641, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14949:3:1", + "referencedDeclaration": 1534, + "src": "15050:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19713,7 +19799,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14939:14:1", + "src": "15040:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19721,12 +19807,12 @@ }, { "argumentTypes": null, - "id": 1637, + "id": 1643, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "14955:7:1", + "referencedDeclaration": 1536, + "src": "15056:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19746,32 +19832,32 @@ ], "expression": { "argumentTypes": null, - "id": 1632, + "id": 1638, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14926:8:1", + "referencedDeclaration": 3071, + "src": "15027:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1633, + "id": 1639, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14926:12:1", + "referencedDeclaration": 3070, + "src": "15027:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1638, + "id": 1644, "isConstant": false, "isLValue": false, "isPure": false, @@ -19779,26 +19865,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14926:37:1", + "src": "15027:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14909:54:1", + "src": "15010:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1640, + "id": 1646, "nodeType": "ExpressionStatement", - "src": "14909:54:1" + "src": "15010:54:1" }, { "expression": { "argumentTypes": null, - "id": 1653, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": false, @@ -19807,34 +19893,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1641, + "id": 1647, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "14971:10:1", + "referencedDeclaration": 522, + "src": "15072:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1644, + "id": 1650, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1642, + "id": 1648, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14982:3:1", + "referencedDeclaration": 3390, + "src": "15083:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1643, + "id": 1649, "isConstant": false, "isLValue": false, "isPure": false, @@ -19842,7 +19928,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14982:10:1", + "src": "15083:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19853,7 +19939,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14971:22:1", + "src": "15072:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19868,34 +19954,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1647, + "id": 1653, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "15009:10:1", + "referencedDeclaration": 522, + "src": "15110:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1650, + "id": 1656, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1648, + "id": 1654, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15020:3:1", + "referencedDeclaration": 3390, + "src": "15121:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1649, + "id": 1655, "isConstant": false, "isLValue": false, "isPure": false, @@ -19903,7 +19989,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15020:10:1", + "src": "15121:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19914,7 +20000,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15009:22:1", + "src": "15110:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19922,12 +20008,12 @@ }, { "argumentTypes": null, - "id": 1651, + "id": 1657, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "15033:7:1", + "referencedDeclaration": 1536, + "src": "15134:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19947,32 +20033,32 @@ ], "expression": { "argumentTypes": null, - "id": 1645, + "id": 1651, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14996:8:1", + "referencedDeclaration": 3071, + "src": "15097:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1646, + "id": 1652, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14996:12:1", + "referencedDeclaration": 3070, + "src": "15097:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1652, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, @@ -19980,26 +20066,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14996:45:1", + "src": "15097:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14971:70:1", + "src": "15072:70:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1654, + "id": 1660, "nodeType": "ExpressionStatement", - "src": "14971:70:1" + "src": "15072:70:1" }, { "expression": { "argumentTypes": null, - "id": 1660, + "id": 1666, "isConstant": false, "isLValue": false, "isPure": false, @@ -20008,34 +20094,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1655, + "id": 1661, "name": "nbTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "15049:7:1", + "referencedDeclaration": 526, + "src": "15150:7:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1658, + "id": 1664, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1656, + "id": 1662, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15057:3:1", + "referencedDeclaration": 3390, + "src": "15158:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1657, + "id": 1663, "isConstant": false, "isLValue": false, "isPure": false, @@ -20043,7 +20129,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15057:10:1", + "src": "15158:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20054,7 +20140,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "15049:19:1", + "src": "15150:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20065,14 +20151,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "31", - "id": 1659, + "id": 1665, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15072:1:1", + "src": "15173:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -20080,15 +20166,15 @@ }, "value": "1" }, - "src": "15049:24:1", + "src": "15150:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1661, + "id": 1667, "nodeType": "ExpressionStatement", - "src": "15049:24:1" + "src": "15150:24:1" } ] } @@ -20101,18 +20187,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1665, + "id": 1671, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15095:3:1", + "referencedDeclaration": 3390, + "src": "15196:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1666, + "id": 1672, "isConstant": false, "isLValue": false, "isPure": false, @@ -20120,7 +20206,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15095:10:1", + "src": "15196:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20128,12 +20214,12 @@ }, { "argumentTypes": null, - "id": 1667, + "id": 1673, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "15107:3:1", + "referencedDeclaration": 1534, + "src": "15208:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20141,12 +20227,12 @@ }, { "argumentTypes": null, - "id": 1668, + "id": 1674, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "15112:7:1", + "referencedDeclaration": 1536, + "src": "15213:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20168,18 +20254,18 @@ "typeString": "uint256" } ], - "id": 1664, + "id": 1670, "name": "Sent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 417, - "src": "15090:4:1", + "referencedDeclaration": 423, + "src": "15191:4:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 1669, + "id": 1675, "isConstant": false, "isLValue": false, "isPure": false, @@ -20187,42 +20273,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15090:30:1", + "src": "15191:30:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1670, + "id": 1676, "nodeType": "EmitStatement", - "src": "15085:35:1" + "src": "15186:35:1" } ] }, "documentation": "SellEth\naverage gas cost: 123173\n@param _to -> the address for the receiver\n@param _amount -> the amount to send", - "id": 1672, + "id": 1678, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1533, + "id": 1539, "modifierName": { "argumentTypes": null, - "id": 1532, + "id": 1538, "name": "whenNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 253, - "src": "13616:13:1", + "src": "13717:13:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "13616:13:1" + "src": "13717:13:1" }, { "arguments": [ @@ -20230,18 +20316,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1535, + "id": 1541, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13662:3:1", + "referencedDeclaration": 3390, + "src": "13763:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1536, + "id": 1542, "isConstant": false, "isLValue": false, "isPure": false, @@ -20249,7 +20335,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13662:10:1", + "src": "13763:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20257,49 +20343,49 @@ }, { "argumentTypes": null, - "id": 1537, + "id": 1543, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "13674:7:1", + "referencedDeclaration": 1536, + "src": "13775:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 1538, + "id": 1544, "modifierName": { "argumentTypes": null, - "id": 1534, + "id": 1540, "name": "doesNotExceedDailySellLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1498, - "src": "13634:27:1", + "referencedDeclaration": 1504, + "src": "13735:27:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$_t_uint256_$", "typeString": "modifier (address,uint256)" } }, "nodeType": "ModifierInvocation", - "src": "13634:48:1" + "src": "13735:48:1" } ], "name": "sellEth", "nodeType": "FunctionDefinition", "parameters": { - "id": 1531, + "id": 1537, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1528, + "id": 1534, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "13585:11:1", + "scope": 1678, + "src": "13686:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20307,10 +20393,10 @@ "typeString": "address" }, "typeName": { - "id": 1527, + "id": 1533, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13585:7:1", + "src": "13686:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20321,11 +20407,11 @@ }, { "constant": false, - "id": 1530, + "id": 1536, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "13598:12:1", + "scope": 1678, + "src": "13699:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20333,10 +20419,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1529, + "id": 1535, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13598:4:1", + "src": "13699:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20346,26 +20432,26 @@ "visibility": "internal" } ], - "src": "13584:27:1" + "src": "13685:27:1" }, "payable": false, "returnParameters": { - "id": 1539, + "id": 1545, "nodeType": "ParameterList", "parameters": [], - "src": "13698:0:1" + "src": "13799:0:1" }, - "scope": 2659, - "src": "13568:1557:1", + "scope": 2672, + "src": "13669:1557:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1693, + "id": 1699, "nodeType": "Block", - "src": "15235:93:1", + "src": "15336:93:1", "statements": [ { "condition": { @@ -20374,7 +20460,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1683, + "id": 1689, "isConstant": false, "isLValue": false, "isPure": false, @@ -20385,34 +20471,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1677, + "id": 1683, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15245:6:1", + "referencedDeclaration": 534, + "src": "15346:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1680, + "id": 1686, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1678, + "id": 1684, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15252:3:1", + "referencedDeclaration": 3390, + "src": "15353:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1679, + "id": 1685, "isConstant": false, "isLValue": false, "isPure": false, @@ -20420,7 +20506,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15252:10:1", + "src": "15353:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20431,21 +20517,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15245:18:1", + "src": "15346:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1681, + "id": 1687, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "15245:25:1", + "referencedDeclaration": 507, + "src": "15346:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20455,31 +20541,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1682, + "id": 1688, "name": "_status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "15274:7:1", + "referencedDeclaration": 1680, + "src": "15375:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "15245:36:1", + "src": "15346:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1692, + "id": 1698, "nodeType": "IfStatement", - "src": "15241:82:1", + "src": "15342:82:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1690, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": false, @@ -20490,34 +20576,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1684, + "id": 1690, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15288:6:1", + "referencedDeclaration": 534, + "src": "15389:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1687, + "id": 1693, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1685, + "id": 1691, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15295:3:1", + "referencedDeclaration": 3390, + "src": "15396:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1686, + "id": 1692, "isConstant": false, "isLValue": false, "isPure": false, @@ -20525,7 +20611,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15295:10:1", + "src": "15396:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20536,21 +20622,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15288:18:1", + "src": "15389:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1688, + "id": 1694, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "15288:25:1", + "referencedDeclaration": 507, + "src": "15389:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20560,32 +20646,32 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1689, + "id": 1695, "name": "_status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "15316:7:1", + "referencedDeclaration": 1680, + "src": "15417:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "15288:35:1", + "src": "15389:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1691, + "id": 1697, "nodeType": "ExpressionStatement", - "src": "15288:35:1" + "src": "15389:35:1" } } ] }, "documentation": "switchStatus\nTurn status teller on/off", - "id": 1694, + "id": 1700, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -20593,16 +20679,16 @@ "name": "switchStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1680, "name": "_status", "nodeType": "VariableDeclaration", - "scope": 1694, - "src": "15212:12:1", + "scope": 1700, + "src": "15313:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20610,10 +20696,10 @@ "typeString": "bool" }, "typeName": { - "id": 1673, + "id": 1679, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "15212:4:1", + "src": "15313:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20623,26 +20709,26 @@ "visibility": "internal" } ], - "src": "15211:14:1" + "src": "15312:14:1" }, "payable": false, "returnParameters": { - "id": 1676, + "id": 1682, "nodeType": "ParameterList", "parameters": [], - "src": "15235:0:1" + "src": "15336:0:1" }, - "scope": 2659, - "src": "15190:138:1", + "scope": 2672, + "src": "15291:138:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1718, + "id": 1731, "nodeType": "Block", - "src": "15443:112:1", + "src": "15544:154:1", "statements": [ { "expression": { @@ -20655,18 +20741,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1699, + "id": 1705, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15466:3:1", + "referencedDeclaration": 3390, + "src": "15567:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1700, + "id": 1706, "isConstant": false, "isLValue": false, "isPure": false, @@ -20674,7 +20760,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15466:10:1", + "src": "15567:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20688,18 +20774,18 @@ "typeString": "address" } ], - "id": 1698, + "id": 1704, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "15457:8:1", + "referencedDeclaration": 2629, + "src": "15558:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1701, + "id": 1707, "isConstant": false, "isLValue": false, "isPure": false, @@ -20707,7 +20793,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15457:20:1", + "src": "15558:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20721,21 +20807,21 @@ "typeString": "bool" } ], - "id": 1697, + "id": 1703, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15449:7:1", + "referencedDeclaration": 3393, + "src": "15550:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1702, + "id": 1708, "isConstant": false, "isLValue": false, "isPure": false, @@ -20743,15 +20829,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15449:29:1", + "src": "15550:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1703, + "id": 1709, "nodeType": "ExpressionStatement", - "src": "15449:29:1" + "src": "15550:29:1" }, { "expression": { @@ -20764,18 +20850,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1711, + "id": 1717, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15527:3:1", + "referencedDeclaration": 3390, + "src": "15628:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1712, + "id": 1718, "isConstant": false, "isLValue": false, "isPure": false, @@ -20783,7 +20869,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15527:10:1", + "src": "15628:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20793,18 +20879,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1713, + "id": 1719, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15539:3:1", + "referencedDeclaration": 3390, + "src": "15640:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1714, + "id": 1720, "isConstant": false, "isLValue": false, "isPure": false, @@ -20812,7 +20898,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15539:9:1", + "src": "15640:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20835,18 +20921,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1708, + "id": 1714, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15516:3:1", + "referencedDeclaration": 3390, + "src": "15617:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1709, + "id": 1715, "isConstant": false, "isLValue": false, "isPure": false, @@ -20854,7 +20940,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15516:9:1", + "src": "15617:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20872,18 +20958,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1705, + "id": 1711, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "15492:4:1", + "referencedDeclaration": 479, + "src": "15593:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1706, + "id": 1712, "isConstant": false, "isLValue": false, "isPure": false, @@ -20891,13 +20977,13 @@ "memberName": "addEthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 340, - "src": "15492:17:1", + "src": "15593:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1707, + "id": 1713, "isConstant": false, "isLValue": false, "isPure": false, @@ -20905,13 +20991,13 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15492:23:1", + "src": "15593:23:1", "typeDescriptions": { "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value_$", "typeString": "function (uint256) returns (function (address,uint256) payable external returns (bool))" } }, - "id": 1710, + "id": 1716, "isConstant": false, "isLValue": false, "isPure": false, @@ -20919,13 +21005,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15492:34:1", + "src": "15593:34:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1715, + "id": 1721, "isConstant": false, "isLValue": false, "isPure": false, @@ -20933,7 +21019,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15492:57:1", + "src": "15593:57:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20947,21 +21033,21 @@ "typeString": "bool" } ], - "id": 1704, + "id": 1710, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15484:7:1", + "referencedDeclaration": 3393, + "src": "15585:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1716, + "id": 1722, "isConstant": false, "isLValue": false, "isPure": false, @@ -20969,20 +21055,123 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15484:66:1", + "src": "15585:66:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1717, + "id": 1723, "nodeType": "ExpressionStatement", - "src": "15484:66:1" + "src": "15585:66:1" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1725, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3390, + "src": "15671:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1726, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "15671:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1727, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3390, + "src": "15683:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1728, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "15683:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1724, + "name": "AddFunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 407, + "src": "15662:8:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "15662:31:1", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1730, + "nodeType": "EmitStatement", + "src": "15657:36:1" } ] }, "documentation": "addFunds\nteller can add more funds on his sellpoint", - "id": 1719, + "id": 1732, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -20990,29 +21179,29 @@ "name": "addFunds", "nodeType": "FunctionDefinition", "parameters": { - "id": 1695, + "id": 1701, "nodeType": "ParameterList", "parameters": [], - "src": "15423:2:1" + "src": "15524:2:1" }, "payable": true, "returnParameters": { - "id": 1696, + "id": 1702, "nodeType": "ParameterList", "parameters": [], - "src": "15443:0:1" + "src": "15544:0:1" }, - "scope": 2659, - "src": "15406:149:1", + "scope": 2672, + "src": "15507:191:1", "stateMutability": "payable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1871, + "id": 1884, "nodeType": "Block", - "src": "15649:903:1", + "src": "15792:903:1", "statements": [ { "expression": { @@ -21025,18 +21214,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1724, + "id": 1737, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15672:3:1", + "referencedDeclaration": 3390, + "src": "15815:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1725, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, @@ -21044,7 +21233,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15672:10:1", + "src": "15815:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21058,18 +21247,18 @@ "typeString": "address" } ], - "id": 1723, + "id": 1736, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "15663:8:1", + "referencedDeclaration": 2629, + "src": "15806:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1726, + "id": 1739, "isConstant": false, "isLValue": false, "isPure": false, @@ -21077,7 +21266,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15663:20:1", + "src": "15806:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21091,21 +21280,21 @@ "typeString": "bool" } ], - "id": 1722, + "id": 1735, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15655:7:1", + "referencedDeclaration": 3393, + "src": "15798:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1727, + "id": 1740, "isConstant": false, "isLValue": false, "isPure": false, @@ -21113,28 +21302,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15655:29:1", + "src": "15798:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1728, + "id": 1741, "nodeType": "ExpressionStatement", - "src": "15655:29:1" + "src": "15798:29:1" }, { "assignments": [ - 1730 + 1743 ], "declarations": [ { "constant": false, - "id": 1730, + "id": 1743, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "15690:17:1", + "scope": 1885, + "src": "15833:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21142,10 +21331,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1729, + "id": 1742, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "15690:4:1", + "src": "15833:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21155,41 +21344,41 @@ "visibility": "internal" } ], - "id": 1736, + "id": 1749, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1731, + "id": 1744, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15710:6:1", + "referencedDeclaration": 534, + "src": "15853:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1734, + "id": 1747, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1732, + "id": 1745, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15717:3:1", + "referencedDeclaration": 3390, + "src": "15860:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1733, + "id": 1746, "isConstant": false, "isLValue": false, "isPure": false, @@ -21197,7 +21386,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15717:10:1", + "src": "15860:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21208,41 +21397,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15710:18:1", + "src": "15853:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1735, + "id": 1748, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "15710:28:1", + "referencedDeclaration": 503, + "src": "15853:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "15690:48:1" + "src": "15833:48:1" }, { "assignments": [ - 1738 + 1751 ], "declarations": [ { "constant": false, - "id": 1738, + "id": 1751, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "15744:18:1", + "scope": 1885, + "src": "15887:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21250,10 +21439,10 @@ "typeString": "address" }, "typeName": { - "id": 1737, + "id": 1750, "name": "address", "nodeType": "ElementaryTypeName", - "src": "15744:7:1", + "src": "15887:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21263,7 +21452,7 @@ "visibility": "internal" } ], - "id": 1769, + "id": 1782, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -21272,52 +21461,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1739, + "id": 1752, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15765:12:1", + "referencedDeclaration": 541, + "src": "15908:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1745, + "id": 1758, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1740, + "id": 1753, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15778:6:1", + "referencedDeclaration": 534, + "src": "15921:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1743, + "id": 1756, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1741, + "id": 1754, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15785:3:1", + "referencedDeclaration": 3390, + "src": "15928:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1742, + "id": 1755, "isConstant": false, "isLValue": false, "isPure": false, @@ -21325,7 +21514,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15785:10:1", + "src": "15928:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21336,21 +21525,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15778:18:1", + "src": "15921:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1744, + "id": 1757, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15778:28:1", + "referencedDeclaration": 487, + "src": "15921:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -21361,47 +21550,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:42:1", + "src": "15908:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1751, + "id": 1764, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1746, + "id": 1759, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15808:6:1", + "referencedDeclaration": 534, + "src": "15951:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1749, + "id": 1762, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1747, + "id": 1760, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15815:3:1", + "referencedDeclaration": 3390, + "src": "15958:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1748, + "id": 1761, "isConstant": false, "isLValue": false, "isPure": false, @@ -21409,7 +21598,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15815:10:1", + "src": "15958:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21420,21 +21609,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15808:18:1", + "src": "15951:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1750, + "id": 1763, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15808:29:1", + "referencedDeclaration": 489, + "src": "15951:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -21445,20 +21634,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:73:1", + "src": "15908:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1768, + "id": 1781, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1767, + "id": 1780, "isConstant": false, "isLValue": false, "isPure": false, @@ -21471,52 +21660,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1752, + "id": 1765, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15839:12:1", + "referencedDeclaration": 541, + "src": "15982:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1758, + "id": 1771, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1753, + "id": 1766, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15852:6:1", + "referencedDeclaration": 534, + "src": "15995:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1756, + "id": 1769, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1754, + "id": 1767, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15859:3:1", + "referencedDeclaration": 3390, + "src": "16002:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1755, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": false, @@ -21524,7 +21713,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15859:10:1", + "src": "16002:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21535,21 +21724,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15852:18:1", + "src": "15995:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1757, + "id": 1770, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15852:28:1", + "referencedDeclaration": 487, + "src": "15995:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -21560,47 +21749,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15839:42:1", + "src": "15982:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1764, + "id": 1777, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1759, + "id": 1772, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15882:6:1", + "referencedDeclaration": 534, + "src": "16025:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1762, + "id": 1775, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1760, + "id": 1773, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15889:3:1", + "referencedDeclaration": 3390, + "src": "16032:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1761, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21608,7 +21797,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15889:10:1", + "src": "16032:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21619,21 +21808,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15882:18:1", + "src": "16025:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1763, + "id": 1776, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15882:29:1", + "referencedDeclaration": 489, + "src": "16025:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -21644,13 +21833,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15839:73:1", + "src": "15982:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1765, + "id": 1778, "isConstant": false, "isLValue": true, "isPure": false, @@ -21658,7 +21847,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15839:80:1", + "src": "15982:80:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21669,14 +21858,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1766, + "id": 1779, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15922:1:1", + "src": "16065:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -21684,7 +21873,7 @@ }, "value": "1" }, - "src": "15839:84:1", + "src": "15982:84:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21695,19 +21884,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:159:1", + "src": "15908:159:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "15744:180:1" + "src": "15887:180:1" }, { "expression": { "argumentTypes": null, - "id": 1786, + "id": 1799, "isConstant": false, "isLValue": false, "isPure": false, @@ -21720,52 +21909,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1770, + "id": 1783, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15930:12:1", + "referencedDeclaration": 541, + "src": "16073:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1782, + "id": 1795, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1771, + "id": 1784, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15943:6:1", + "referencedDeclaration": 534, + "src": "16086:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1774, + "id": 1787, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1772, + "id": 1785, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15950:3:1", + "referencedDeclaration": 3390, + "src": "16093:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1773, + "id": 1786, "isConstant": false, "isLValue": false, "isPure": false, @@ -21773,7 +21962,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15950:10:1", + "src": "16093:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21784,21 +21973,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15943:18:1", + "src": "16086:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1775, + "id": 1788, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15943:28:1", + "referencedDeclaration": 487, + "src": "16086:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -21809,47 +21998,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15930:42:1", + "src": "16073:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1783, + "id": 1796, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1776, + "id": 1789, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15973:6:1", + "referencedDeclaration": 534, + "src": "16116:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1779, + "id": 1792, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1777, + "id": 1790, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15980:3:1", + "referencedDeclaration": 3390, + "src": "16123:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1778, + "id": 1791, "isConstant": false, "isLValue": false, "isPure": false, @@ -21857,7 +22046,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15980:10:1", + "src": "16123:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21868,21 +22057,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15973:18:1", + "src": "16116:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1780, + "id": 1793, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15973:29:1", + "referencedDeclaration": 489, + "src": "16116:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -21893,21 +22082,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15930:73:1", + "src": "16073:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1784, + "id": 1797, "indexExpression": { "argumentTypes": null, - "id": 1781, + "id": 1794, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "16004:12:1", + "referencedDeclaration": 1743, + "src": "16147:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21918,7 +22107,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "15930:87:1", + "src": "16073:87:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21928,31 +22117,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1785, + "id": 1798, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "16020:10:1", + "referencedDeclaration": 1751, + "src": "16163:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "15930:100:1", + "src": "16073:100:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1787, + "id": 1800, "nodeType": "ExpressionStatement", - "src": "15930:100:1" + "src": "16073:100:1" }, { "expression": { "argumentTypes": null, - "id": 1793, + "id": 1806, "isConstant": false, "isLValue": false, "isPure": false, @@ -21963,26 +22152,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1788, + "id": 1801, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16036:6:1", + "referencedDeclaration": 534, + "src": "16179:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1790, + "id": 1803, "indexExpression": { "argumentTypes": null, - "id": 1789, + "id": 1802, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "16043:10:1", + "referencedDeclaration": 1751, + "src": "16186:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21993,21 +22182,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16036:18:1", + "src": "16179:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1791, + "id": 1804, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "16036:28:1", + "referencedDeclaration": 503, + "src": "16179:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22017,31 +22206,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1792, + "id": 1805, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "16067:12:1", + "referencedDeclaration": 1743, + "src": "16210:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16036:43:1", + "src": "16179:43:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1794, + "id": 1807, "nodeType": "ExpressionStatement", - "src": "16036:43:1" + "src": "16179:43:1" }, { "expression": { "argumentTypes": null, - "id": 1809, + "id": 1822, "isConstant": false, "isLValue": false, "isPure": false, @@ -22049,7 +22238,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "16085:82:1", + "src": "16228:82:1", "subExpression": { "argumentTypes": null, "expression": { @@ -22058,52 +22247,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1795, + "id": 1808, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16085:12:1", + "referencedDeclaration": 541, + "src": "16228:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1806, + "id": 1819, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1796, + "id": 1809, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16098:6:1", + "referencedDeclaration": 534, + "src": "16241:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1799, + "id": 1812, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1797, + "id": 1810, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16105:3:1", + "referencedDeclaration": 3390, + "src": "16248:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1798, + "id": 1811, "isConstant": false, "isLValue": false, "isPure": false, @@ -22111,7 +22300,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16105:10:1", + "src": "16248:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22122,21 +22311,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16098:18:1", + "src": "16241:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1800, + "id": 1813, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16098:28:1", + "referencedDeclaration": 487, + "src": "16241:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -22147,47 +22336,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16085:42:1", + "src": "16228:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1807, + "id": 1820, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1801, + "id": 1814, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16128:6:1", + "referencedDeclaration": 534, + "src": "16271:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1804, + "id": 1817, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1802, + "id": 1815, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16135:3:1", + "referencedDeclaration": 3390, + "src": "16278:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1803, + "id": 1816, "isConstant": false, "isLValue": false, "isPure": false, @@ -22195,7 +22384,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16135:10:1", + "src": "16278:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22206,21 +22395,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16128:18:1", + "src": "16271:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1805, + "id": 1818, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16128:29:1", + "referencedDeclaration": 489, + "src": "16271:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -22231,13 +22420,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16085:73:1", + "src": "16228:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1808, + "id": 1821, "isConstant": false, "isLValue": true, "isPure": false, @@ -22245,7 +22434,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16085:80:1", + "src": "16228:80:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22256,22 +22445,22 @@ "typeString": "uint256" } }, - "id": 1810, + "id": 1823, "nodeType": "ExpressionStatement", - "src": "16085:82:1" + "src": "16228:82:1" }, { "assignments": [ - 1812 + 1825 ], "declarations": [ { "constant": false, - "id": 1812, + "id": 1825, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "16174:17:1", + "scope": 1885, + "src": "16317:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22279,10 +22468,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1811, + "id": 1824, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16174:4:1", + "src": "16317:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22292,41 +22481,41 @@ "visibility": "internal" } ], - "id": 1818, + "id": 1831, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1813, + "id": 1826, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16194:6:1", + "referencedDeclaration": 534, + "src": "16337:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1816, + "id": 1829, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1814, + "id": 1827, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16201:3:1", + "referencedDeclaration": 3390, + "src": "16344:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1815, + "id": 1828, "isConstant": false, "isLValue": false, "isPure": false, @@ -22334,7 +22523,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16201:10:1", + "src": "16344:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22345,41 +22534,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16194:18:1", + "src": "16337:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1817, + "id": 1830, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "16194:31:1", + "referencedDeclaration": 505, + "src": "16337:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16174:51:1" + "src": "16317:51:1" }, { "assignments": [ - 1820 + 1833 ], "declarations": [ { "constant": false, - "id": 1820, + "id": 1833, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "16231:18:1", + "scope": 1885, + "src": "16374:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22387,10 +22576,10 @@ "typeString": "address" }, "typeName": { - "id": 1819, + "id": 1832, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16231:7:1", + "src": "16374:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22400,30 +22589,30 @@ "visibility": "internal" } ], - "id": 1827, + "id": 1840, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1821, + "id": 1834, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16252:11:1", + "referencedDeclaration": 544, + "src": "16395:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1826, + "id": 1839, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1825, + "id": 1838, "isConstant": false, "isLValue": false, "isPure": false, @@ -22432,18 +22621,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1822, + "id": 1835, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16264:11:1", + "referencedDeclaration": 544, + "src": "16407:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1823, + "id": 1836, "isConstant": false, "isLValue": true, "isPure": false, @@ -22451,7 +22640,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16264:18:1", + "src": "16407:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22462,14 +22651,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1824, + "id": 1837, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16285:1:1", + "src": "16428:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -22477,7 +22666,7 @@ }, "value": "1" }, - "src": "16264:22:1", + "src": "16407:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22488,19 +22677,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16252:35:1", + "src": "16395:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "16231:56:1" + "src": "16374:56:1" }, { "expression": { "argumentTypes": null, - "id": 1832, + "id": 1845, "isConstant": false, "isLValue": false, "isPure": false, @@ -22509,26 +22698,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1828, + "id": 1841, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16293:11:1", + "referencedDeclaration": 544, + "src": "16436:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1830, + "id": 1843, "indexExpression": { "argumentTypes": null, - "id": 1829, + "id": 1842, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1812, - "src": "16305:12:1", + "referencedDeclaration": 1825, + "src": "16448:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22539,7 +22728,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16293:25:1", + "src": "16436:25:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22549,31 +22738,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1831, + "id": 1844, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1820, - "src": "16321:10:1", + "referencedDeclaration": 1833, + "src": "16464:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "16293:38:1", + "src": "16436:38:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1833, + "id": 1846, "nodeType": "ExpressionStatement", - "src": "16293:38:1" + "src": "16436:38:1" }, { "expression": { "argumentTypes": null, - "id": 1839, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22584,26 +22773,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1834, + "id": 1847, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16337:6:1", + "referencedDeclaration": 534, + "src": "16480:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1836, + "id": 1849, "indexExpression": { "argumentTypes": null, - "id": 1835, + "id": 1848, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1820, - "src": "16344:10:1", + "referencedDeclaration": 1833, + "src": "16487:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22614,21 +22803,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16337:18:1", + "src": "16480:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1837, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "16337:31:1", + "referencedDeclaration": 505, + "src": "16480:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22638,31 +22827,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1838, + "id": 1851, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1812, - "src": "16371:12:1", + "referencedDeclaration": 1825, + "src": "16514:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16337:46:1", + "src": "16480:46:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1840, + "id": 1853, "nodeType": "ExpressionStatement", - "src": "16337:46:1" + "src": "16480:46:1" }, { "expression": { "argumentTypes": null, - "id": 1844, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22670,23 +22859,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "16389:20:1", + "src": "16532:20:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1841, + "id": 1854, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16389:11:1", + "referencedDeclaration": 544, + "src": "16532:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1843, + "id": 1856, "isConstant": false, "isLValue": true, "isPure": false, @@ -22694,7 +22883,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16389:18:1", + "src": "16532:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22705,14 +22894,14 @@ "typeString": "uint256" } }, - "id": 1845, + "id": 1858, "nodeType": "ExpressionStatement", - "src": "16389:20:1" + "src": "16532:20:1" }, { "expression": { "argumentTypes": null, - "id": 1850, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": false, @@ -22720,39 +22909,39 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "16415:25:1", + "src": "16558:25:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1846, + "id": 1859, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16422:6:1", + "referencedDeclaration": 534, + "src": "16565:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1849, + "id": 1862, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1847, + "id": 1860, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16429:3:1", + "referencedDeclaration": 3390, + "src": "16572:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1848, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": false, @@ -22760,7 +22949,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16429:10:1", + "src": "16572:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22771,9 +22960,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16422:18:1", + "src": "16565:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, @@ -22782,9 +22971,9 @@ "typeString": "tuple()" } }, - "id": 1851, + "id": 1864, "nodeType": "ExpressionStatement", - "src": "16415:25:1" + "src": "16558:25:1" }, { "expression": { @@ -22794,18 +22983,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1855, + "id": 1868, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16469:3:1", + "referencedDeclaration": 3390, + "src": "16612:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1856, + "id": 1869, "isConstant": false, "isLValue": false, "isPure": false, @@ -22813,7 +23002,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16469:10:1", + "src": "16612:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22829,18 +23018,18 @@ ], "expression": { "argumentTypes": null, - "id": 1852, + "id": 1865, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "16446:4:1", + "referencedDeclaration": 479, + "src": "16589:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1854, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22848,13 +23037,13 @@ "memberName": "withdrawDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 305, - "src": "16446:22:1", + "src": "16589:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 1857, + "id": 1870, "isConstant": false, "isLValue": false, "isPure": false, @@ -22862,15 +23051,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16446:34:1", + "src": "16589:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1858, + "id": 1871, "nodeType": "ExpressionStatement", - "src": "16446:34:1" + "src": "16589:34:1" }, { "expression": { @@ -22880,18 +23069,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1862, + "id": 1875, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16501:3:1", + "referencedDeclaration": 3390, + "src": "16644:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1863, + "id": 1876, "isConstant": false, "isLValue": false, "isPure": false, @@ -22899,7 +23088,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16501:10:1", + "src": "16644:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22915,18 +23104,18 @@ ], "expression": { "argumentTypes": null, - "id": 1859, + "id": 1872, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "16486:4:1", + "referencedDeclaration": 479, + "src": "16629:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1861, + "id": 1874, "isConstant": false, "isLValue": false, "isPure": false, @@ -22934,13 +23123,13 @@ "memberName": "refundEth", "nodeType": "MemberAccess", "referencedDeclaration": 354, - "src": "16486:14:1", + "src": "16629:14:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 1864, + "id": 1877, "isConstant": false, "isLValue": false, "isPure": false, @@ -22948,15 +23137,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16486:26:1", + "src": "16629:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1865, + "id": 1878, "nodeType": "ExpressionStatement", - "src": "16486:26:1" + "src": "16629:26:1" }, { "eventCall": { @@ -22966,18 +23155,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1867, + "id": 1880, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16536:3:1", + "referencedDeclaration": 3390, + "src": "16679:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1868, + "id": 1881, "isConstant": false, "isLValue": false, "isPure": false, @@ -22985,7 +23174,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16536:10:1", + "src": "16679:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22999,18 +23188,18 @@ "typeString": "address" } ], - "id": 1866, + "id": 1879, "name": "DeleteTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 405, - "src": "16523:12:1", + "referencedDeclaration": 411, + "src": "16666:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1869, + "id": 1882, "isConstant": false, "isLValue": false, "isPure": false, @@ -23018,20 +23207,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16523:24:1", + "src": "16666:24:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1870, + "id": 1883, "nodeType": "EmitStatement", - "src": "16518:29:1" + "src": "16661:29:1" } ] }, "documentation": null, - "id": 1872, + "id": 1885, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -23039,29 +23228,29 @@ "name": "deleteTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 1720, + "id": 1733, "nodeType": "ParameterList", "parameters": [], - "src": "15637:2:1" + "src": "15780:2:1" }, "payable": false, "returnParameters": { - "id": 1721, + "id": 1734, "nodeType": "ParameterList", "parameters": [], - "src": "15649:0:1" + "src": "15792:0:1" }, - "scope": 2659, - "src": "15616:936:1", + "scope": 2672, + "src": "15759:936:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2017, + "id": 2030, "nodeType": "Block", - "src": "16700:909:1", + "src": "16843:909:1", "statements": [ { "expression": { @@ -23072,12 +23261,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1883, + "id": 1896, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16723:9:1", + "referencedDeclaration": 1887, + "src": "16866:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23091,18 +23280,18 @@ "typeString": "address" } ], - "id": 1882, + "id": 1895, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "16714:8:1", + "referencedDeclaration": 2629, + "src": "16857:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1884, + "id": 1897, "isConstant": false, "isLValue": false, "isPure": false, @@ -23110,7 +23299,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16714:19:1", + "src": "16857:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23124,21 +23313,21 @@ "typeString": "bool" } ], - "id": 1881, + "id": 1894, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "16706:7:1", + "referencedDeclaration": 3393, + "src": "16849:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1885, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": false, @@ -23146,28 +23335,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16706:28:1", + "src": "16849:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1886, + "id": 1899, "nodeType": "ExpressionStatement", - "src": "16706:28:1" + "src": "16849:28:1" }, { "assignments": [ - 1888 + 1901 ], "declarations": [ { "constant": false, - "id": 1888, + "id": 1901, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16740:17:1", + "scope": 2031, + "src": "16883:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23175,10 +23364,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1887, + "id": 1900, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16740:4:1", + "src": "16883:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23188,33 +23377,33 @@ "visibility": "internal" } ], - "id": 1893, + "id": 1906, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1889, + "id": 1902, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16760:6:1", + "referencedDeclaration": 534, + "src": "16903:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1891, + "id": 1904, "indexExpression": { "argumentTypes": null, - "id": 1890, + "id": 1903, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16767:9:1", + "referencedDeclaration": 1887, + "src": "16910:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23225,41 +23414,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16760:17:1", + "src": "16903:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1892, + "id": 1905, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "16760:27:1", + "referencedDeclaration": 503, + "src": "16903:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16740:47:1" + "src": "16883:47:1" }, { "assignments": [ - 1895 + 1908 ], "declarations": [ { "constant": false, - "id": 1895, + "id": 1908, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16793:18:1", + "scope": 2031, + "src": "16936:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23267,10 +23456,10 @@ "typeString": "address" }, "typeName": { - "id": 1894, + "id": 1907, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16793:7:1", + "src": "16936:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23280,7 +23469,7 @@ "visibility": "internal" } ], - "id": 1922, + "id": 1935, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -23289,44 +23478,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1896, + "id": 1909, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16814:12:1", + "referencedDeclaration": 541, + "src": "16957:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1901, + "id": 1914, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1897, + "id": 1910, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16827:6:1", + "referencedDeclaration": 534, + "src": "16970:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1899, + "id": 1912, "indexExpression": { "argumentTypes": null, - "id": 1898, + "id": 1911, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16834:9:1", + "referencedDeclaration": 1887, + "src": "16977:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23337,21 +23526,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16827:17:1", + "src": "16970:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1900, + "id": 1913, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16827:27:1", + "referencedDeclaration": 487, + "src": "16970:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -23362,39 +23551,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:41:1", + "src": "16957:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1906, + "id": 1919, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1902, + "id": 1915, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16856:6:1", + "referencedDeclaration": 534, + "src": "16999:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1904, + "id": 1917, "indexExpression": { "argumentTypes": null, - "id": 1903, + "id": 1916, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16863:9:1", + "referencedDeclaration": 1887, + "src": "17006:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23405,21 +23594,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16856:17:1", + "src": "16999:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1905, + "id": 1918, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16856:28:1", + "referencedDeclaration": 489, + "src": "16999:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -23430,20 +23619,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:71:1", + "src": "16957:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1921, + "id": 1934, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1920, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23456,44 +23645,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1907, + "id": 1920, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16886:12:1", + "referencedDeclaration": 541, + "src": "17029:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1912, + "id": 1925, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1908, + "id": 1921, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16899:6:1", + "referencedDeclaration": 534, + "src": "17042:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1910, + "id": 1923, "indexExpression": { "argumentTypes": null, - "id": 1909, + "id": 1922, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16906:9:1", + "referencedDeclaration": 1887, + "src": "17049:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23504,21 +23693,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16899:17:1", + "src": "17042:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1911, + "id": 1924, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16899:27:1", + "referencedDeclaration": 487, + "src": "17042:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -23529,39 +23718,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16886:41:1", + "src": "17029:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1917, + "id": 1930, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1913, + "id": 1926, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16928:6:1", + "referencedDeclaration": 534, + "src": "17071:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1915, + "id": 1928, "indexExpression": { "argumentTypes": null, - "id": 1914, + "id": 1927, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16935:9:1", + "referencedDeclaration": 1887, + "src": "17078:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23572,21 +23761,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16928:17:1", + "src": "17071:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1916, + "id": 1929, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16928:28:1", + "referencedDeclaration": 489, + "src": "17071:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -23597,13 +23786,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16886:71:1", + "src": "17029:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1918, + "id": 1931, "isConstant": false, "isLValue": true, "isPure": false, @@ -23611,7 +23800,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16886:78:1", + "src": "17029:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23622,14 +23811,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1919, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16967:1:1", + "src": "17110:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -23637,7 +23826,7 @@ }, "value": "1" }, - "src": "16886:82:1", + "src": "17029:82:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23648,19 +23837,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:155:1", + "src": "16957:155:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "16793:176:1" + "src": "16936:176:1" }, { "expression": { "argumentTypes": null, - "id": 1937, + "id": 1950, "isConstant": false, "isLValue": false, "isPure": false, @@ -23673,44 +23862,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1923, + "id": 1936, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16975:12:1", + "referencedDeclaration": 541, + "src": "17118:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1933, + "id": 1946, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1924, + "id": 1937, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16988:6:1", + "referencedDeclaration": 534, + "src": "17131:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1926, + "id": 1939, "indexExpression": { "argumentTypes": null, - "id": 1925, + "id": 1938, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16995:9:1", + "referencedDeclaration": 1887, + "src": "17138:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23721,21 +23910,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16988:17:1", + "src": "17131:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1927, + "id": 1940, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16988:27:1", + "referencedDeclaration": 487, + "src": "17131:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -23746,39 +23935,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16975:41:1", + "src": "17118:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1934, + "id": 1947, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1928, + "id": 1941, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17017:6:1", + "referencedDeclaration": 534, + "src": "17160:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1930, + "id": 1943, "indexExpression": { "argumentTypes": null, - "id": 1929, + "id": 1942, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17024:9:1", + "referencedDeclaration": 1887, + "src": "17167:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23789,21 +23978,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17017:17:1", + "src": "17160:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1931, + "id": 1944, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "17017:28:1", + "referencedDeclaration": 489, + "src": "17160:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -23814,21 +24003,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16975:71:1", + "src": "17118:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1935, + "id": 1948, "indexExpression": { "argumentTypes": null, - "id": 1932, + "id": 1945, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1888, - "src": "17047:12:1", + "referencedDeclaration": 1901, + "src": "17190:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23839,7 +24028,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16975:85:1", + "src": "17118:85:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23849,31 +24038,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1936, + "id": 1949, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "17063:10:1", + "referencedDeclaration": 1908, + "src": "17206:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "16975:98:1", + "src": "17118:98:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1938, + "id": 1951, "nodeType": "ExpressionStatement", - "src": "16975:98:1" + "src": "17118:98:1" }, { "expression": { "argumentTypes": null, - "id": 1944, + "id": 1957, "isConstant": false, "isLValue": false, "isPure": false, @@ -23884,26 +24073,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1939, + "id": 1952, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17079:6:1", + "referencedDeclaration": 534, + "src": "17222:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1941, + "id": 1954, "indexExpression": { "argumentTypes": null, - "id": 1940, + "id": 1953, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "17086:10:1", + "referencedDeclaration": 1908, + "src": "17229:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23914,21 +24103,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17079:18:1", + "src": "17222:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1942, + "id": 1955, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "17079:28:1", + "referencedDeclaration": 503, + "src": "17222:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23938,31 +24127,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1943, + "id": 1956, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1888, - "src": "17110:12:1", + "referencedDeclaration": 1901, + "src": "17253:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17079:43:1", + "src": "17222:43:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1945, + "id": 1958, "nodeType": "ExpressionStatement", - "src": "17079:43:1" + "src": "17222:43:1" }, { "expression": { "argumentTypes": null, - "id": 1958, + "id": 1971, "isConstant": false, "isLValue": false, "isPure": false, @@ -23970,7 +24159,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "17128:80:1", + "src": "17271:80:1", "subExpression": { "argumentTypes": null, "expression": { @@ -23979,44 +24168,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1946, + "id": 1959, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "17128:12:1", + "referencedDeclaration": 541, + "src": "17271:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1955, + "id": 1968, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1947, + "id": 1960, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17141:6:1", + "referencedDeclaration": 534, + "src": "17284:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1949, + "id": 1962, "indexExpression": { "argumentTypes": null, - "id": 1948, + "id": 1961, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17148:9:1", + "referencedDeclaration": 1887, + "src": "17291:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24027,21 +24216,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17141:17:1", + "src": "17284:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1950, + "id": 1963, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "17141:27:1", + "referencedDeclaration": 487, + "src": "17284:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -24052,39 +24241,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17128:41:1", + "src": "17271:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1956, + "id": 1969, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1951, + "id": 1964, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17170:6:1", + "referencedDeclaration": 534, + "src": "17313:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1953, + "id": 1966, "indexExpression": { "argumentTypes": null, - "id": 1952, + "id": 1965, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17177:9:1", + "referencedDeclaration": 1887, + "src": "17320:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24095,21 +24284,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17170:17:1", + "src": "17313:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1954, + "id": 1967, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "17170:28:1", + "referencedDeclaration": 489, + "src": "17313:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -24120,13 +24309,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17128:71:1", + "src": "17271:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1957, + "id": 1970, "isConstant": false, "isLValue": true, "isPure": false, @@ -24134,7 +24323,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17128:78:1", + "src": "17271:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24145,22 +24334,22 @@ "typeString": "uint256" } }, - "id": 1959, + "id": 1972, "nodeType": "ExpressionStatement", - "src": "17128:80:1" + "src": "17271:80:1" }, { "assignments": [ - 1961 + 1974 ], "declarations": [ { "constant": false, - "id": 1961, + "id": 1974, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "17215:17:1", + "scope": 2031, + "src": "17358:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24168,10 +24357,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1960, + "id": 1973, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17215:4:1", + "src": "17358:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24181,33 +24370,33 @@ "visibility": "internal" } ], - "id": 1966, + "id": 1979, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1962, + "id": 1975, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17235:6:1", + "referencedDeclaration": 534, + "src": "17378:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1964, + "id": 1977, "indexExpression": { "argumentTypes": null, - "id": 1963, + "id": 1976, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17242:9:1", + "referencedDeclaration": 1887, + "src": "17385:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24218,41 +24407,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17235:17:1", + "src": "17378:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1965, + "id": 1978, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "17235:30:1", + "referencedDeclaration": 505, + "src": "17378:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17215:50:1" + "src": "17358:50:1" }, { "assignments": [ - 1968 + 1981 ], "declarations": [ { "constant": false, - "id": 1968, + "id": 1981, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "17271:18:1", + "scope": 2031, + "src": "17414:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24260,10 +24449,10 @@ "typeString": "address" }, "typeName": { - "id": 1967, + "id": 1980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17271:7:1", + "src": "17414:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24273,30 +24462,30 @@ "visibility": "internal" } ], - "id": 1975, + "id": 1988, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1969, + "id": 1982, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17292:11:1", + "referencedDeclaration": 544, + "src": "17435:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1974, + "id": 1987, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1973, + "id": 1986, "isConstant": false, "isLValue": false, "isPure": false, @@ -24305,18 +24494,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1970, + "id": 1983, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17304:11:1", + "referencedDeclaration": 544, + "src": "17447:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1971, + "id": 1984, "isConstant": false, "isLValue": true, "isPure": false, @@ -24324,7 +24513,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17304:18:1", + "src": "17447:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24335,14 +24524,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1972, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17325:1:1", + "src": "17468:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -24350,7 +24539,7 @@ }, "value": "1" }, - "src": "17304:22:1", + "src": "17447:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24361,19 +24550,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17292:35:1", + "src": "17435:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "17271:56:1" + "src": "17414:56:1" }, { "expression": { "argumentTypes": null, - "id": 1980, + "id": 1993, "isConstant": false, "isLValue": false, "isPure": false, @@ -24382,26 +24571,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1976, + "id": 1989, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17333:11:1", + "referencedDeclaration": 544, + "src": "17476:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1978, + "id": 1991, "indexExpression": { "argumentTypes": null, - "id": 1977, + "id": 1990, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, - "src": "17345:12:1", + "referencedDeclaration": 1974, + "src": "17488:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24412,7 +24601,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17333:25:1", + "src": "17476:25:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24422,31 +24611,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1979, + "id": 1992, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1968, - "src": "17361:10:1", + "referencedDeclaration": 1981, + "src": "17504:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "17333:38:1", + "src": "17476:38:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1981, + "id": 1994, "nodeType": "ExpressionStatement", - "src": "17333:38:1" + "src": "17476:38:1" }, { "expression": { "argumentTypes": null, - "id": 1987, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24457,26 +24646,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1982, + "id": 1995, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17377:6:1", + "referencedDeclaration": 534, + "src": "17520:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1984, + "id": 1997, "indexExpression": { "argumentTypes": null, - "id": 1983, + "id": 1996, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1968, - "src": "17384:10:1", + "referencedDeclaration": 1981, + "src": "17527:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24487,21 +24676,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17377:18:1", + "src": "17520:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1985, + "id": 1998, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "17377:31:1", + "referencedDeclaration": 505, + "src": "17520:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24511,31 +24700,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1986, + "id": 1999, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, - "src": "17411:12:1", + "referencedDeclaration": 1974, + "src": "17554:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17377:46:1", + "src": "17520:46:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1988, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "17377:46:1" + "src": "17520:46:1" }, { "expression": { "argumentTypes": null, - "id": 1992, + "id": 2005, "isConstant": false, "isLValue": false, "isPure": false, @@ -24543,23 +24732,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "17429:20:1", + "src": "17572:20:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1989, + "id": 2002, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17429:11:1", + "referencedDeclaration": 544, + "src": "17572:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1991, + "id": 2004, "isConstant": false, "isLValue": true, "isPure": false, @@ -24567,7 +24756,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17429:18:1", + "src": "17572:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24578,14 +24767,14 @@ "typeString": "uint256" } }, - "id": 1993, + "id": 2006, "nodeType": "ExpressionStatement", - "src": "17429:20:1" + "src": "17572:20:1" }, { "expression": { "argumentTypes": null, - "id": 1997, + "id": 2010, "isConstant": false, "isLValue": false, "isPure": false, @@ -24593,31 +24782,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "17455:24:1", + "src": "17598:24:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1994, + "id": 2007, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17462:6:1", + "referencedDeclaration": 534, + "src": "17605:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1996, + "id": 2009, "indexExpression": { "argumentTypes": null, - "id": 1995, + "id": 2008, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17469:9:1", + "referencedDeclaration": 1887, + "src": "17612:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24628,9 +24817,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17462:17:1", + "src": "17605:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, @@ -24639,9 +24828,9 @@ "typeString": "tuple()" } }, - "id": 1998, + "id": 2011, "nodeType": "ExpressionStatement", - "src": "17455:24:1" + "src": "17598:24:1" }, { "expression": { @@ -24649,12 +24838,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2002, + "id": 2015, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17508:9:1", + "referencedDeclaration": 1887, + "src": "17651:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24670,18 +24859,18 @@ ], "expression": { "argumentTypes": null, - "id": 1999, + "id": 2012, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "17485:4:1", + "referencedDeclaration": 479, + "src": "17628:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2001, + "id": 2014, "isConstant": false, "isLValue": false, "isPure": false, @@ -24689,13 +24878,13 @@ "memberName": "withdrawDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 305, - "src": "17485:22:1", + "src": "17628:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2003, + "id": 2016, "isConstant": false, "isLValue": false, "isPure": false, @@ -24703,15 +24892,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17485:33:1", + "src": "17628:33:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2004, + "id": 2017, "nodeType": "ExpressionStatement", - "src": "17485:33:1" + "src": "17628:33:1" }, { "expression": { @@ -24719,12 +24908,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2008, + "id": 2021, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17539:9:1", + "referencedDeclaration": 1887, + "src": "17682:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24740,18 +24929,18 @@ ], "expression": { "argumentTypes": null, - "id": 2005, + "id": 2018, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "17524:4:1", + "referencedDeclaration": 479, + "src": "17667:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2007, + "id": 2020, "isConstant": false, "isLValue": false, "isPure": false, @@ -24759,13 +24948,13 @@ "memberName": "refundEth", "nodeType": "MemberAccess", "referencedDeclaration": 354, - "src": "17524:14:1", + "src": "17667:14:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2009, + "id": 2022, "isConstant": false, "isLValue": false, "isPure": false, @@ -24773,15 +24962,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17524:25:1", + "src": "17667:25:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2010, + "id": 2023, "nodeType": "ExpressionStatement", - "src": "17524:25:1" + "src": "17667:25:1" }, { "eventCall": { @@ -24791,18 +24980,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2012, + "id": 2025, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17582:3:1", + "referencedDeclaration": 3390, + "src": "17725:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2013, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": false, @@ -24810,7 +24999,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17582:10:1", + "src": "17725:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24818,12 +25007,12 @@ }, { "argumentTypes": null, - "id": 2014, + "id": 2027, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17594:9:1", + "referencedDeclaration": 1887, + "src": "17737:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24841,18 +25030,18 @@ "typeString": "address" } ], - "id": 2011, + "id": 2024, "name": "DeleteTellerModerator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 437, - "src": "17560:21:1", + "referencedDeclaration": 443, + "src": "17703:21:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 2015, + "id": 2028, "isConstant": false, "isLValue": false, "isPure": false, @@ -24860,20 +25049,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17560:44:1", + "src": "17703:44:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2016, + "id": 2029, "nodeType": "EmitStatement", - "src": "17555:49:1" + "src": "17698:49:1" } ] }, "documentation": null, - "id": 2018, + "id": 2031, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -24884,18 +25073,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1877, + "id": 1890, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16679:3:1", + "referencedDeclaration": 3390, + "src": "16822:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1878, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": false, @@ -24903,44 +25092,44 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16679:10:1", + "src": "16822:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 1879, + "id": 1892, "modifierName": { "argumentTypes": null, - "id": 1876, + "id": 1889, "name": "isTellerModerator", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 92, - "src": "16661:17:1", + "src": "16804:17:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "16661:29:1" + "src": "16804:29:1" } ], "name": "deleteTellerMods", "nodeType": "FunctionDefinition", "parameters": { - "id": 1875, + "id": 1888, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1887, "name": "_toDelete", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16642:17:1", + "scope": 2031, + "src": "16785:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24948,10 +25137,10 @@ "typeString": "address" }, "typeName": { - "id": 1873, + "id": 1886, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16642:7:1", + "src": "16785:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24961,26 +25150,26 @@ "visibility": "internal" } ], - "src": "16641:19:1" + "src": "16784:19:1" }, "payable": false, "returnParameters": { - "id": 1880, + "id": 1893, "nodeType": "ParameterList", "parameters": [], - "src": "16700:0:1" + "src": "16843:0:1" }, - "scope": 2659, - "src": "16616:993:1", + "scope": 2672, + "src": "16759:993:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2163, + "id": 2176, "nodeType": "Block", - "src": "17704:823:1", + "src": "17847:823:1", "statements": [ { "expression": { @@ -24993,18 +25182,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2023, + "id": 2036, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17725:3:1", + "referencedDeclaration": 3390, + "src": "17868:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2024, + "id": 2037, "isConstant": false, "isLValue": false, "isPure": false, @@ -25012,7 +25201,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17725:10:1", + "src": "17868:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25026,18 +25215,18 @@ "typeString": "address" } ], - "id": 2022, + "id": 2035, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "17718:6:1", + "referencedDeclaration": 2585, + "src": "17861:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 2025, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": false, @@ -25045,7 +25234,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17718:18:1", + "src": "17861:18:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25059,21 +25248,21 @@ "typeString": "bool" } ], - "id": 2021, + "id": 2034, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "17710:7:1", + "referencedDeclaration": 3393, + "src": "17853:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2026, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, @@ -25081,28 +25270,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17710:27:1", + "src": "17853:27:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2027, + "id": 2040, "nodeType": "ExpressionStatement", - "src": "17710:27:1" + "src": "17853:27:1" }, { "assignments": [ - 2029 + 2042 ], "declarations": [ { "constant": false, - "id": 2029, + "id": 2042, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "17743:17:1", + "scope": 2177, + "src": "17886:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25110,10 +25299,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2028, + "id": 2041, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17743:4:1", + "src": "17886:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25123,41 +25312,41 @@ "visibility": "internal" } ], - "id": 2035, + "id": 2048, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2030, + "id": 2043, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17763:4:1", + "referencedDeclaration": 574, + "src": "17906:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2033, + "id": 2046, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2031, + "id": 2044, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17768:3:1", + "referencedDeclaration": 3390, + "src": "17911:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2032, + "id": 2045, "isConstant": false, "isLValue": false, "isPure": false, @@ -25165,7 +25354,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17768:10:1", + "src": "17911:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25176,41 +25365,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17763:16:1", + "src": "17906:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2034, + "id": 2047, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "17763:26:1", + "referencedDeclaration": 565, + "src": "17906:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17743:46:1" + "src": "17886:46:1" }, { "assignments": [ - 2037 + 2050 ], "declarations": [ { "constant": false, - "id": 2037, + "id": 2050, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "17795:18:1", + "scope": 2177, + "src": "17938:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25218,10 +25407,10 @@ "typeString": "address" }, "typeName": { - "id": 2036, + "id": 2049, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17795:7:1", + "src": "17938:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25231,7 +25420,7 @@ "visibility": "internal" } ], - "id": 2068, + "id": 2081, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -25240,52 +25429,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2038, + "id": 2051, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17816:10:1", + "referencedDeclaration": 581, + "src": "17959:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2044, + "id": 2057, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2039, + "id": 2052, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17827:4:1", + "referencedDeclaration": 574, + "src": "17970:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2042, + "id": 2055, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2040, + "id": 2053, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17832:3:1", + "referencedDeclaration": 3390, + "src": "17975:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2041, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25293,7 +25482,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17832:10:1", + "src": "17975:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25304,21 +25493,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17827:16:1", + "src": "17970:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2043, + "id": 2056, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17827:26:1", + "referencedDeclaration": 553, + "src": "17970:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -25329,47 +25518,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:38:1", + "src": "17959:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2050, + "id": 2063, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2045, + "id": 2058, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17855:4:1", + "referencedDeclaration": 574, + "src": "17998:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2048, + "id": 2061, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2046, + "id": 2059, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17860:3:1", + "referencedDeclaration": 3390, + "src": "18003:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2047, + "id": 2060, "isConstant": false, "isLValue": false, "isPure": false, @@ -25377,7 +25566,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17860:10:1", + "src": "18003:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25388,21 +25577,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17855:16:1", + "src": "17998:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2049, + "id": 2062, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "17855:27:1", + "referencedDeclaration": 555, + "src": "17998:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -25413,20 +25602,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:67:1", + "src": "17959:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2067, + "id": 2080, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2066, + "id": 2079, "isConstant": false, "isLValue": false, "isPure": false, @@ -25439,52 +25628,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2051, + "id": 2064, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17884:10:1", + "referencedDeclaration": 581, + "src": "18027:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2057, + "id": 2070, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2052, + "id": 2065, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17895:4:1", + "referencedDeclaration": 574, + "src": "18038:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2055, + "id": 2068, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2053, + "id": 2066, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17900:3:1", + "referencedDeclaration": 3390, + "src": "18043:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2054, + "id": 2067, "isConstant": false, "isLValue": false, "isPure": false, @@ -25492,7 +25681,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17900:10:1", + "src": "18043:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25503,21 +25692,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17895:16:1", + "src": "18038:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2056, + "id": 2069, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17895:26:1", + "referencedDeclaration": 553, + "src": "18038:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -25528,47 +25717,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17884:38:1", + "src": "18027:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2063, + "id": 2076, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2058, + "id": 2071, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17923:4:1", + "referencedDeclaration": 574, + "src": "18066:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2061, + "id": 2074, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2059, + "id": 2072, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17928:3:1", + "referencedDeclaration": 3390, + "src": "18071:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2060, + "id": 2073, "isConstant": false, "isLValue": false, "isPure": false, @@ -25576,7 +25765,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17928:10:1", + "src": "18071:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25587,21 +25776,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17923:16:1", + "src": "18066:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2062, + "id": 2075, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "17923:27:1", + "referencedDeclaration": 555, + "src": "18066:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -25612,13 +25801,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17884:67:1", + "src": "18027:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2064, + "id": 2077, "isConstant": false, "isLValue": true, "isPure": false, @@ -25626,7 +25815,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17884:74:1", + "src": "18027:74:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25637,14 +25826,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2065, + "id": 2078, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17961:1:1", + "src": "18104:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -25652,7 +25841,7 @@ }, "value": "1" }, - "src": "17884:78:1", + "src": "18027:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25663,19 +25852,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:147:1", + "src": "17959:147:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "17795:168:1" + "src": "17938:168:1" }, { "expression": { "argumentTypes": null, - "id": 2085, + "id": 2098, "isConstant": false, "isLValue": false, "isPure": false, @@ -25688,52 +25877,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2069, + "id": 2082, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17969:10:1", + "referencedDeclaration": 581, + "src": "18112:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2081, + "id": 2094, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2070, + "id": 2083, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17980:4:1", + "referencedDeclaration": 574, + "src": "18123:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2073, + "id": 2086, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2071, + "id": 2084, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17985:3:1", + "referencedDeclaration": 3390, + "src": "18128:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2072, + "id": 2085, "isConstant": false, "isLValue": false, "isPure": false, @@ -25741,7 +25930,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17985:10:1", + "src": "18128:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25752,21 +25941,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17980:16:1", + "src": "18123:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2074, + "id": 2087, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17980:26:1", + "referencedDeclaration": 553, + "src": "18123:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -25777,47 +25966,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17969:38:1", + "src": "18112:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2082, + "id": 2095, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2075, + "id": 2088, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18008:4:1", + "referencedDeclaration": 574, + "src": "18151:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2078, + "id": 2091, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2076, + "id": 2089, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18013:3:1", + "referencedDeclaration": 3390, + "src": "18156:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2077, + "id": 2090, "isConstant": false, "isLValue": false, "isPure": false, @@ -25825,7 +26014,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18013:10:1", + "src": "18156:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25836,21 +26025,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18008:16:1", + "src": "18151:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2079, + "id": 2092, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18008:27:1", + "referencedDeclaration": 555, + "src": "18151:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -25861,21 +26050,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17969:67:1", + "src": "18112:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2083, + "id": 2096, "indexExpression": { "argumentTypes": null, - "id": 2080, + "id": 2093, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "18037:12:1", + "referencedDeclaration": 2042, + "src": "18180:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25886,7 +26075,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17969:81:1", + "src": "18112:81:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25896,31 +26085,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2084, + "id": 2097, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2037, - "src": "18053:10:1", + "referencedDeclaration": 2050, + "src": "18196:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "17969:94:1", + "src": "18112:94:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2086, + "id": 2099, "nodeType": "ExpressionStatement", - "src": "17969:94:1" + "src": "18112:94:1" }, { "expression": { "argumentTypes": null, - "id": 2092, + "id": 2105, "isConstant": false, "isLValue": false, "isPure": false, @@ -25931,26 +26120,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2087, + "id": 2100, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18069:4:1", + "referencedDeclaration": 574, + "src": "18212:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2089, + "id": 2102, "indexExpression": { "argumentTypes": null, - "id": 2088, + "id": 2101, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2037, - "src": "18074:10:1", + "referencedDeclaration": 2050, + "src": "18217:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25961,21 +26150,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18069:16:1", + "src": "18212:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2090, + "id": 2103, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18069:26:1", + "referencedDeclaration": 565, + "src": "18212:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25985,31 +26174,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2091, + "id": 2104, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "18098:12:1", + "referencedDeclaration": 2042, + "src": "18241:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18069:41:1", + "src": "18212:41:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2093, + "id": 2106, "nodeType": "ExpressionStatement", - "src": "18069:41:1" + "src": "18212:41:1" }, { "expression": { "argumentTypes": null, - "id": 2108, + "id": 2121, "isConstant": false, "isLValue": false, "isPure": false, @@ -26017,7 +26206,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18116:76:1", + "src": "18259:76:1", "subExpression": { "argumentTypes": null, "expression": { @@ -26026,52 +26215,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2094, + "id": 2107, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18116:10:1", + "referencedDeclaration": 581, + "src": "18259:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2105, + "id": 2118, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2095, + "id": 2108, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18127:4:1", + "referencedDeclaration": 574, + "src": "18270:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2098, + "id": 2111, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2096, + "id": 2109, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18132:3:1", + "referencedDeclaration": 3390, + "src": "18275:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2097, + "id": 2110, "isConstant": false, "isLValue": false, "isPure": false, @@ -26079,7 +26268,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18132:10:1", + "src": "18275:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26090,21 +26279,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18127:16:1", + "src": "18270:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2099, + "id": 2112, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18127:26:1", + "referencedDeclaration": 553, + "src": "18270:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -26115,47 +26304,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18116:38:1", + "src": "18259:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2106, + "id": 2119, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2100, + "id": 2113, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18155:4:1", + "referencedDeclaration": 574, + "src": "18298:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2103, + "id": 2116, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2101, + "id": 2114, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18160:3:1", + "referencedDeclaration": 3390, + "src": "18303:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2102, + "id": 2115, "isConstant": false, "isLValue": false, "isPure": false, @@ -26163,7 +26352,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18160:10:1", + "src": "18303:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26174,21 +26363,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18155:16:1", + "src": "18298:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2104, + "id": 2117, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18155:27:1", + "referencedDeclaration": 555, + "src": "18298:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -26199,13 +26388,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18116:67:1", + "src": "18259:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2107, + "id": 2120, "isConstant": false, "isLValue": true, "isPure": false, @@ -26213,7 +26402,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18116:74:1", + "src": "18259:74:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26224,22 +26413,22 @@ "typeString": "uint256" } }, - "id": 2109, + "id": 2122, "nodeType": "ExpressionStatement", - "src": "18116:76:1" + "src": "18259:76:1" }, { "assignments": [ - 2111 + 2124 ], "declarations": [ { "constant": false, - "id": 2111, + "id": 2124, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "18199:17:1", + "scope": 2177, + "src": "18342:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26247,10 +26436,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2110, + "id": 2123, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "18199:4:1", + "src": "18342:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26260,41 +26449,41 @@ "visibility": "internal" } ], - "id": 2117, + "id": 2130, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2112, + "id": 2125, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18219:4:1", + "referencedDeclaration": 574, + "src": "18362:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2115, + "id": 2128, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2113, + "id": 2126, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18224:3:1", + "referencedDeclaration": 3390, + "src": "18367:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2114, + "id": 2127, "isConstant": false, "isLValue": false, "isPure": false, @@ -26302,7 +26491,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18224:10:1", + "src": "18367:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26313,41 +26502,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18219:16:1", + "src": "18362:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2116, + "id": 2129, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "18219:29:1", + "referencedDeclaration": 567, + "src": "18362:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18199:49:1" + "src": "18342:49:1" }, { "assignments": [ - 2119 + 2132 ], "declarations": [ { "constant": false, - "id": 2119, + "id": 2132, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "18254:18:1", + "scope": 2177, + "src": "18397:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26355,10 +26544,10 @@ "typeString": "address" }, "typeName": { - "id": 2118, + "id": 2131, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18254:7:1", + "src": "18397:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26368,30 +26557,30 @@ "visibility": "internal" } ], - "id": 2126, + "id": 2139, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2120, + "id": 2133, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18275:9:1", + "referencedDeclaration": 584, + "src": "18418:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2125, + "id": 2138, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2124, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, @@ -26400,18 +26589,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2121, + "id": 2134, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18285:9:1", + "referencedDeclaration": 584, + "src": "18428:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2122, + "id": 2135, "isConstant": false, "isLValue": true, "isPure": false, @@ -26419,7 +26608,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18285:16:1", + "src": "18428:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26430,14 +26619,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2123, + "id": 2136, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18304:1:1", + "src": "18447:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -26445,7 +26634,7 @@ }, "value": "1" }, - "src": "18285:20:1", + "src": "18428:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26456,19 +26645,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18275:31:1", + "src": "18418:31:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "18254:52:1" + "src": "18397:52:1" }, { "expression": { "argumentTypes": null, - "id": 2131, + "id": 2144, "isConstant": false, "isLValue": false, "isPure": false, @@ -26477,26 +26666,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2127, + "id": 2140, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18312:9:1", + "referencedDeclaration": 584, + "src": "18455:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2129, + "id": 2142, "indexExpression": { "argumentTypes": null, - "id": 2128, + "id": 2141, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2111, - "src": "18322:12:1", + "referencedDeclaration": 2124, + "src": "18465:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26507,7 +26696,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18312:23:1", + "src": "18455:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26517,31 +26706,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2130, + "id": 2143, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2119, - "src": "18338:10:1", + "referencedDeclaration": 2132, + "src": "18481:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "18312:36:1", + "src": "18455:36:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2132, + "id": 2145, "nodeType": "ExpressionStatement", - "src": "18312:36:1" + "src": "18455:36:1" }, { "expression": { "argumentTypes": null, - "id": 2138, + "id": 2151, "isConstant": false, "isLValue": false, "isPure": false, @@ -26552,26 +26741,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2133, + "id": 2146, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18354:4:1", + "referencedDeclaration": 574, + "src": "18497:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2135, + "id": 2148, "indexExpression": { "argumentTypes": null, - "id": 2134, + "id": 2147, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2119, - "src": "18359:10:1", + "referencedDeclaration": 2132, + "src": "18502:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26582,21 +26771,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18354:16:1", + "src": "18497:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2136, + "id": 2149, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "18354:29:1", + "referencedDeclaration": 567, + "src": "18497:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26606,31 +26795,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2137, + "id": 2150, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2111, - "src": "18386:12:1", + "referencedDeclaration": 2124, + "src": "18529:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18354:44:1", + "src": "18497:44:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2139, + "id": 2152, "nodeType": "ExpressionStatement", - "src": "18354:44:1" + "src": "18497:44:1" }, { "expression": { "argumentTypes": null, - "id": 2143, + "id": 2156, "isConstant": false, "isLValue": false, "isPure": false, @@ -26638,23 +26827,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18404:18:1", + "src": "18547:18:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2140, + "id": 2153, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18404:9:1", + "referencedDeclaration": 584, + "src": "18547:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2142, + "id": 2155, "isConstant": false, "isLValue": true, "isPure": false, @@ -26662,7 +26851,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18404:16:1", + "src": "18547:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26673,14 +26862,14 @@ "typeString": "uint256" } }, - "id": 2144, + "id": 2157, "nodeType": "ExpressionStatement", - "src": "18404:18:1" + "src": "18547:18:1" }, { "expression": { "argumentTypes": null, - "id": 2149, + "id": 2162, "isConstant": false, "isLValue": false, "isPure": false, @@ -26688,39 +26877,39 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "18428:23:1", + "src": "18571:23:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2145, + "id": 2158, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18435:4:1", + "referencedDeclaration": 574, + "src": "18578:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2148, + "id": 2161, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2146, + "id": 2159, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18440:3:1", + "referencedDeclaration": 3390, + "src": "18583:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2147, + "id": 2160, "isConstant": false, "isLValue": false, "isPure": false, @@ -26728,7 +26917,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18440:10:1", + "src": "18583:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26739,9 +26928,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18435:16:1", + "src": "18578:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, @@ -26750,9 +26939,9 @@ "typeString": "tuple()" } }, - "id": 2150, + "id": 2163, "nodeType": "ExpressionStatement", - "src": "18428:23:1" + "src": "18571:23:1" }, { "expression": { @@ -26762,18 +26951,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2154, + "id": 2167, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18478:3:1", + "referencedDeclaration": 3390, + "src": "18621:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2155, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": false, @@ -26781,7 +26970,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18478:10:1", + "src": "18621:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26797,18 +26986,18 @@ ], "expression": { "argumentTypes": null, - "id": 2151, + "id": 2164, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "18457:4:1", + "referencedDeclaration": 479, + "src": "18600:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2153, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": false, @@ -26816,13 +27005,13 @@ "memberName": "withdrawDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 310, - "src": "18457:20:1", + "src": "18600:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2156, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26830,15 +27019,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18457:32:1", + "src": "18600:32:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2157, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "18457:32:1" + "src": "18600:32:1" }, { "eventCall": { @@ -26848,18 +27037,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2159, + "id": 2172, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18511:3:1", + "referencedDeclaration": 3390, + "src": "18654:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2160, + "id": 2173, "isConstant": false, "isLValue": false, "isPure": false, @@ -26867,7 +27056,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18511:10:1", + "src": "18654:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26881,18 +27070,18 @@ "typeString": "address" } ], - "id": 2158, + "id": 2171, "name": "DeleteShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 425, - "src": "18500:10:1", + "referencedDeclaration": 431, + "src": "18643:10:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 2161, + "id": 2174, "isConstant": false, "isLValue": false, "isPure": false, @@ -26900,20 +27089,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18500:22:1", + "src": "18643:22:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2162, + "id": 2175, "nodeType": "EmitStatement", - "src": "18495:27:1" + "src": "18638:27:1" } ] }, "documentation": null, - "id": 2164, + "id": 2177, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -26921,42 +27110,42 @@ "name": "deleteShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2019, + "id": 2032, "nodeType": "ParameterList", "parameters": [], - "src": "17692:2:1" + "src": "17835:2:1" }, "payable": false, "returnParameters": { - "id": 2020, + "id": 2033, "nodeType": "ParameterList", "parameters": [], - "src": "17704:0:1" + "src": "17847:0:1" }, - "scope": 2659, - "src": "17673:854:1", + "scope": 2672, + "src": "17816:854:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2310, + "id": 2323, "nodeType": "Block", - "src": "18670:902:1", + "src": "18813:902:1", "statements": [ { "assignments": [ - 2174 + 2187 ], "declarations": [ { "constant": false, - "id": 2174, + "id": 2187, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18676:17:1", + "scope": 2324, + "src": "18819:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26964,10 +27153,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2173, + "id": 2186, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "18676:4:1", + "src": "18819:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26977,33 +27166,33 @@ "visibility": "internal" } ], - "id": 2179, + "id": 2192, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2175, + "id": 2188, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18696:4:1", + "referencedDeclaration": 574, + "src": "18839:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2177, + "id": 2190, "indexExpression": { "argumentTypes": null, - "id": 2176, + "id": 2189, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18701:9:1", + "referencedDeclaration": 2179, + "src": "18844:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27014,41 +27203,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18696:15:1", + "src": "18839:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2178, + "id": 2191, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18696:25:1", + "referencedDeclaration": 565, + "src": "18839:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18676:45:1" + "src": "18819:45:1" }, { "assignments": [ - 2181 + 2194 ], "declarations": [ { "constant": false, - "id": 2181, + "id": 2194, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18727:18:1", + "scope": 2324, + "src": "18870:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27056,10 +27245,10 @@ "typeString": "address" }, "typeName": { - "id": 2180, + "id": 2193, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18727:7:1", + "src": "18870:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27069,7 +27258,7 @@ "visibility": "internal" } ], - "id": 2208, + "id": 2221, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -27078,44 +27267,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2182, + "id": 2195, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18748:10:1", + "referencedDeclaration": 581, + "src": "18891:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2187, + "id": 2200, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2183, + "id": 2196, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18759:4:1", + "referencedDeclaration": 574, + "src": "18902:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2185, + "id": 2198, "indexExpression": { "argumentTypes": null, - "id": 2184, + "id": 2197, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18764:9:1", + "referencedDeclaration": 2179, + "src": "18907:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27126,21 +27315,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18759:15:1", + "src": "18902:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2186, + "id": 2199, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18759:25:1", + "referencedDeclaration": 553, + "src": "18902:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -27151,39 +27340,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:37:1", + "src": "18891:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2192, + "id": 2205, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2188, + "id": 2201, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18786:4:1", + "referencedDeclaration": 574, + "src": "18929:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2190, + "id": 2203, "indexExpression": { "argumentTypes": null, - "id": 2189, + "id": 2202, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18791:9:1", + "referencedDeclaration": 2179, + "src": "18934:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27194,21 +27383,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18786:15:1", + "src": "18929:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2191, + "id": 2204, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18786:26:1", + "referencedDeclaration": 555, + "src": "18929:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -27219,20 +27408,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:65:1", + "src": "18891:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2207, + "id": 2220, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2206, + "id": 2219, "isConstant": false, "isLValue": false, "isPure": false, @@ -27245,44 +27434,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2193, + "id": 2206, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18814:10:1", + "referencedDeclaration": 581, + "src": "18957:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2198, + "id": 2211, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2194, + "id": 2207, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18825:4:1", + "referencedDeclaration": 574, + "src": "18968:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2196, + "id": 2209, "indexExpression": { "argumentTypes": null, - "id": 2195, + "id": 2208, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18830:9:1", + "referencedDeclaration": 2179, + "src": "18973:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27293,21 +27482,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18825:15:1", + "src": "18968:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2197, + "id": 2210, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18825:25:1", + "referencedDeclaration": 553, + "src": "18968:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -27318,39 +27507,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18814:37:1", + "src": "18957:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2203, + "id": 2216, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2199, + "id": 2212, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18852:4:1", + "referencedDeclaration": 574, + "src": "18995:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2201, + "id": 2214, "indexExpression": { "argumentTypes": null, - "id": 2200, + "id": 2213, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18857:9:1", + "referencedDeclaration": 2179, + "src": "19000:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27361,21 +27550,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18852:15:1", + "src": "18995:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2202, + "id": 2215, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18852:26:1", + "referencedDeclaration": 555, + "src": "18995:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -27386,13 +27575,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18814:65:1", + "src": "18957:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2204, + "id": 2217, "isConstant": false, "isLValue": true, "isPure": false, @@ -27400,7 +27589,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18814:72:1", + "src": "18957:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27411,14 +27600,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2205, + "id": 2218, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18889:1:1", + "src": "19032:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -27426,7 +27615,7 @@ }, "value": "1" }, - "src": "18814:76:1", + "src": "18957:76:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27437,19 +27626,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:143:1", + "src": "18891:143:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "18727:164:1" + "src": "18870:164:1" }, { "expression": { "argumentTypes": null, - "id": 2223, + "id": 2236, "isConstant": false, "isLValue": false, "isPure": false, @@ -27462,44 +27651,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2209, + "id": 2222, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18897:10:1", + "referencedDeclaration": 581, + "src": "19040:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2219, + "id": 2232, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2210, + "id": 2223, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18908:4:1", + "referencedDeclaration": 574, + "src": "19051:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2212, + "id": 2225, "indexExpression": { "argumentTypes": null, - "id": 2211, + "id": 2224, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18913:9:1", + "referencedDeclaration": 2179, + "src": "19056:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27510,21 +27699,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18908:15:1", + "src": "19051:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2213, + "id": 2226, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18908:25:1", + "referencedDeclaration": 553, + "src": "19051:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -27535,39 +27724,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18897:37:1", + "src": "19040:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2220, + "id": 2233, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2214, + "id": 2227, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18935:4:1", + "referencedDeclaration": 574, + "src": "19078:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2216, + "id": 2229, "indexExpression": { "argumentTypes": null, - "id": 2215, + "id": 2228, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18940:9:1", + "referencedDeclaration": 2179, + "src": "19083:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27578,21 +27767,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18935:15:1", + "src": "19078:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2217, + "id": 2230, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18935:26:1", + "referencedDeclaration": 555, + "src": "19078:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -27603,21 +27792,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18897:65:1", + "src": "19040:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2221, + "id": 2234, "indexExpression": { "argumentTypes": null, - "id": 2218, + "id": 2231, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2174, - "src": "18963:12:1", + "referencedDeclaration": 2187, + "src": "19106:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27628,7 +27817,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18897:79:1", + "src": "19040:79:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27638,31 +27827,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2222, + "id": 2235, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2181, - "src": "18979:10:1", + "referencedDeclaration": 2194, + "src": "19122:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "18897:92:1", + "src": "19040:92:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2224, + "id": 2237, "nodeType": "ExpressionStatement", - "src": "18897:92:1" + "src": "19040:92:1" }, { "expression": { "argumentTypes": null, - "id": 2230, + "id": 2243, "isConstant": false, "isLValue": false, "isPure": false, @@ -27673,26 +27862,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2225, + "id": 2238, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18995:4:1", + "referencedDeclaration": 574, + "src": "19138:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2227, + "id": 2240, "indexExpression": { "argumentTypes": null, - "id": 2226, + "id": 2239, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2181, - "src": "19000:10:1", + "referencedDeclaration": 2194, + "src": "19143:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27703,21 +27892,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18995:16:1", + "src": "19138:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2228, + "id": 2241, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18995:26:1", + "referencedDeclaration": 565, + "src": "19138:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27727,31 +27916,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2229, + "id": 2242, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2174, - "src": "19024:12:1", + "referencedDeclaration": 2187, + "src": "19167:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18995:41:1", + "src": "19138:41:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2231, + "id": 2244, "nodeType": "ExpressionStatement", - "src": "18995:41:1" + "src": "19138:41:1" }, { "expression": { "argumentTypes": null, - "id": 2244, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": false, @@ -27759,7 +27948,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "19042:74:1", + "src": "19185:74:1", "subExpression": { "argumentTypes": null, "expression": { @@ -27768,44 +27957,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2232, + "id": 2245, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "19042:10:1", + "referencedDeclaration": 581, + "src": "19185:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2241, + "id": 2254, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2233, + "id": 2246, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19053:4:1", + "referencedDeclaration": 574, + "src": "19196:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2235, + "id": 2248, "indexExpression": { "argumentTypes": null, - "id": 2234, + "id": 2247, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19058:9:1", + "referencedDeclaration": 2179, + "src": "19201:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27816,21 +28005,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19053:15:1", + "src": "19196:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2236, + "id": 2249, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "19053:25:1", + "referencedDeclaration": 553, + "src": "19196:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -27841,39 +28030,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19042:37:1", + "src": "19185:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2242, + "id": 2255, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2237, + "id": 2250, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19080:4:1", + "referencedDeclaration": 574, + "src": "19223:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2239, + "id": 2252, "indexExpression": { "argumentTypes": null, - "id": 2238, + "id": 2251, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19085:9:1", + "referencedDeclaration": 2179, + "src": "19228:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27884,21 +28073,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19080:15:1", + "src": "19223:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2240, + "id": 2253, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "19080:26:1", + "referencedDeclaration": 555, + "src": "19223:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -27909,13 +28098,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19042:65:1", + "src": "19185:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2243, + "id": 2256, "isConstant": false, "isLValue": true, "isPure": false, @@ -27923,7 +28112,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19042:72:1", + "src": "19185:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27934,22 +28123,22 @@ "typeString": "uint256" } }, - "id": 2245, + "id": 2258, "nodeType": "ExpressionStatement", - "src": "19042:74:1" + "src": "19185:74:1" }, { "assignments": [ - 2247 + 2260 ], "declarations": [ { "constant": false, - "id": 2247, + "id": 2260, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "19123:17:1", + "scope": 2324, + "src": "19266:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27957,10 +28146,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2246, + "id": 2259, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19123:4:1", + "src": "19266:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27970,33 +28159,33 @@ "visibility": "internal" } ], - "id": 2252, + "id": 2265, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2248, + "id": 2261, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19143:4:1", + "referencedDeclaration": 574, + "src": "19286:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2250, + "id": 2263, "indexExpression": { "argumentTypes": null, - "id": 2249, + "id": 2262, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19148:9:1", + "referencedDeclaration": 2179, + "src": "19291:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28007,41 +28196,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19143:15:1", + "src": "19286:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2251, + "id": 2264, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "19143:28:1", + "referencedDeclaration": 567, + "src": "19286:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "19123:48:1" + "src": "19266:48:1" }, { "assignments": [ - 2254 + 2267 ], "declarations": [ { "constant": false, - "id": 2254, + "id": 2267, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "19177:18:1", + "scope": 2324, + "src": "19320:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28049,10 +28238,10 @@ "typeString": "address" }, "typeName": { - "id": 2253, + "id": 2266, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19177:7:1", + "src": "19320:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28062,30 +28251,30 @@ "visibility": "internal" } ], - "id": 2261, + "id": 2274, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2255, + "id": 2268, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19198:9:1", + "referencedDeclaration": 584, + "src": "19341:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2260, + "id": 2273, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2259, + "id": 2272, "isConstant": false, "isLValue": false, "isPure": false, @@ -28094,18 +28283,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2256, + "id": 2269, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19208:9:1", + "referencedDeclaration": 584, + "src": "19351:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2257, + "id": 2270, "isConstant": false, "isLValue": true, "isPure": false, @@ -28113,7 +28302,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19208:16:1", + "src": "19351:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28124,14 +28313,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2258, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19227:1:1", + "src": "19370:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -28139,7 +28328,7 @@ }, "value": "1" }, - "src": "19208:20:1", + "src": "19351:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28150,19 +28339,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19198:31:1", + "src": "19341:31:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "19177:52:1" + "src": "19320:52:1" }, { "expression": { "argumentTypes": null, - "id": 2266, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -28171,26 +28360,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2262, + "id": 2275, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19235:9:1", + "referencedDeclaration": 584, + "src": "19378:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2264, + "id": 2277, "indexExpression": { "argumentTypes": null, - "id": 2263, + "id": 2276, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, - "src": "19245:12:1", + "referencedDeclaration": 2260, + "src": "19388:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28201,7 +28390,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "19235:23:1", + "src": "19378:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28211,31 +28400,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2265, + "id": 2278, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2254, - "src": "19261:10:1", + "referencedDeclaration": 2267, + "src": "19404:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "19235:36:1", + "src": "19378:36:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2267, + "id": 2280, "nodeType": "ExpressionStatement", - "src": "19235:36:1" + "src": "19378:36:1" }, { "expression": { "argumentTypes": null, - "id": 2273, + "id": 2286, "isConstant": false, "isLValue": false, "isPure": false, @@ -28246,26 +28435,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2268, + "id": 2281, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19277:4:1", + "referencedDeclaration": 574, + "src": "19420:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2270, + "id": 2283, "indexExpression": { "argumentTypes": null, - "id": 2269, + "id": 2282, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2254, - "src": "19282:10:1", + "referencedDeclaration": 2267, + "src": "19425:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28276,21 +28465,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19277:16:1", + "src": "19420:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2271, + "id": 2284, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "19277:29:1", + "referencedDeclaration": 567, + "src": "19420:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28300,31 +28489,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2272, + "id": 2285, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, - "src": "19309:12:1", + "referencedDeclaration": 2260, + "src": "19452:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19277:44:1", + "src": "19420:44:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2274, + "id": 2287, "nodeType": "ExpressionStatement", - "src": "19277:44:1" + "src": "19420:44:1" }, { "expression": { "argumentTypes": null, - "id": 2278, + "id": 2291, "isConstant": false, "isLValue": false, "isPure": false, @@ -28332,23 +28521,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "19327:18:1", + "src": "19470:18:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2275, + "id": 2288, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19327:9:1", + "referencedDeclaration": 584, + "src": "19470:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2277, + "id": 2290, "isConstant": false, "isLValue": true, "isPure": false, @@ -28356,7 +28545,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19327:16:1", + "src": "19470:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28367,14 +28556,14 @@ "typeString": "uint256" } }, - "id": 2279, + "id": 2292, "nodeType": "ExpressionStatement", - "src": "19327:18:1" + "src": "19470:18:1" }, { "condition": { "argumentTypes": null, - "id": 2284, + "id": 2297, "isConstant": false, "isLValue": false, "isPure": false, @@ -28382,33 +28571,33 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "19355:27:1", + "src": "19498:27:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2280, + "id": 2293, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19356:4:1", + "referencedDeclaration": 574, + "src": "19499:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2282, + "id": 2295, "indexExpression": { "argumentTypes": null, - "id": 2281, + "id": 2294, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19361:9:1", + "referencedDeclaration": 2179, + "src": "19504:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28419,21 +28608,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19356:15:1", + "src": "19499:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2283, + "id": 2296, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "detherShop", "nodeType": "MemberAccess", - "referencedDeclaration": 563, - "src": "19356:26:1", + "referencedDeclaration": 569, + "src": "19499:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28450,12 +28639,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2294, + "id": 2307, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19464:9:1", + "referencedDeclaration": 2179, + "src": "19607:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28463,12 +28652,12 @@ }, { "argumentTypes": null, - "id": 2295, + "id": 2308, "name": "csoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "19475:10:1", + "src": "19618:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28488,18 +28677,18 @@ ], "expression": { "argumentTypes": null, - "id": 2291, + "id": 2304, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "19438:4:1", + "referencedDeclaration": 479, + "src": "19581:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2293, + "id": 2306, "isConstant": false, "isLValue": false, "isPure": false, @@ -28507,13 +28696,13 @@ "memberName": "withdrawDthShopAdmin", "nodeType": "MemberAccess", "referencedDeclaration": 317, - "src": "19438:25:1", + "src": "19581:25:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address) external" } }, - "id": 2296, + "id": 2309, "isConstant": false, "isLValue": false, "isPure": false, @@ -28521,31 +28710,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19438:48:1", + "src": "19581:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2297, + "id": 2310, "nodeType": "ExpressionStatement", - "src": "19438:48:1" + "src": "19581:48:1" }, - "id": 2298, + "id": 2311, "nodeType": "IfStatement", - "src": "19351:135:1", + "src": "19494:135:1", "trueBody": { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2288, + "id": 2301, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19411:9:1", + "referencedDeclaration": 2179, + "src": "19554:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28561,18 +28750,18 @@ ], "expression": { "argumentTypes": null, - "id": 2285, + "id": 2298, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "19390:4:1", + "referencedDeclaration": 479, + "src": "19533:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2287, + "id": 2300, "isConstant": false, "isLValue": false, "isPure": false, @@ -28580,13 +28769,13 @@ "memberName": "withdrawDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 310, - "src": "19390:20:1", + "src": "19533:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2289, + "id": 2302, "isConstant": false, "isLValue": false, "isPure": false, @@ -28594,21 +28783,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19390:31:1", + "src": "19533:31:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2290, + "id": 2303, "nodeType": "ExpressionStatement", - "src": "19390:31:1" + "src": "19533:31:1" } }, { "expression": { "argumentTypes": null, - "id": 2302, + "id": 2315, "isConstant": false, "isLValue": false, "isPure": false, @@ -28616,31 +28805,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "19492:22:1", + "src": "19635:22:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2299, + "id": 2312, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19499:4:1", + "referencedDeclaration": 574, + "src": "19642:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2301, + "id": 2314, "indexExpression": { "argumentTypes": null, - "id": 2300, + "id": 2313, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19504:9:1", + "referencedDeclaration": 2179, + "src": "19647:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28651,9 +28840,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "19499:15:1", + "src": "19642:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, @@ -28662,9 +28851,9 @@ "typeString": "tuple()" } }, - "id": 2303, + "id": 2316, "nodeType": "ExpressionStatement", - "src": "19492:22:1" + "src": "19635:22:1" }, { "eventCall": { @@ -28674,18 +28863,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2305, + "id": 2318, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "19545:3:1", + "referencedDeclaration": 3390, + "src": "19688:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2306, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28693,7 +28882,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19545:10:1", + "src": "19688:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28701,12 +28890,12 @@ }, { "argumentTypes": null, - "id": 2307, + "id": 2320, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19557:9:1", + "referencedDeclaration": 2179, + "src": "19700:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28724,18 +28913,18 @@ "typeString": "address" } ], - "id": 2304, + "id": 2317, "name": "DeleteShopModerator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "19525:19:1", + "referencedDeclaration": 437, + "src": "19668:19:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 2308, + "id": 2321, "isConstant": false, "isLValue": false, "isPure": false, @@ -28743,20 +28932,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19525:42:1", + "src": "19668:42:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2309, + "id": 2322, "nodeType": "EmitStatement", - "src": "19520:47:1" + "src": "19663:47:1" } ] }, "documentation": null, - "id": 2311, + "id": 2324, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -28767,18 +28956,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2169, + "id": 2182, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18649:3:1", + "referencedDeclaration": 3390, + "src": "18792:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2170, + "id": 2183, "isConstant": false, "isLValue": false, "isPure": false, @@ -28786,44 +28975,44 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18649:10:1", + "src": "18792:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 2171, + "id": 2184, "modifierName": { "argumentTypes": null, - "id": 2168, + "id": 2181, "name": "isShopModerator", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 80, - "src": "18633:15:1", + "src": "18776:15:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "18633:27:1" + "src": "18776:27:1" } ], "name": "deleteShopMods", "nodeType": "FunctionDefinition", "parameters": { - "id": 2167, + "id": 2180, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2166, + "id": 2179, "name": "_toDelete", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18614:17:1", + "scope": 2324, + "src": "18757:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28831,10 +29020,10 @@ "typeString": "address" }, "typeName": { - "id": 2165, + "id": 2178, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18614:7:1", + "src": "18757:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28844,54 +29033,54 @@ "visibility": "internal" } ], - "src": "18613:19:1" + "src": "18756:19:1" }, "payable": false, "returnParameters": { - "id": 2172, + "id": 2185, "nodeType": "ParameterList", "parameters": [], - "src": "18670:0:1" + "src": "18813:0:1" }, - "scope": 2659, - "src": "18590:982:1", + "scope": 2672, + "src": "18733:982:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2408, + "id": 2421, "nodeType": "Block", - "src": "19932:459:1", + "src": "20075:459:1", "statements": [ { "assignments": [ - 2341 + 2354 ], "declarations": [ { "constant": false, - "id": 2341, + "id": 2354, "name": "theTeller", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19938:24:1", + "scope": 2422, + "src": "20081:24:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" }, "typeName": { "contractScope": null, - "id": 2340, + "id": 2353, "name": "Teller", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 502, - "src": "19938:6:1", + "referencedDeclaration": 508, + "src": "20081:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" } }, @@ -28899,31 +29088,31 @@ "visibility": "internal" } ], - "id": 2345, + "id": 2358, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2342, + "id": 2355, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "19965:6:1", + "referencedDeclaration": 534, + "src": "20108:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 2344, + "id": 2357, "indexExpression": { "argumentTypes": null, - "id": 2343, + "id": 2356, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2313, - "src": "19972:7:1", + "referencedDeclaration": 2326, + "src": "20115:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28934,31 +29123,31 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19965:15:1", + "src": "20108:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "19938:42:1" + "src": "20081:42:1" }, { "expression": { "argumentTypes": null, - "id": 2349, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2346, + "id": 2359, "name": "lat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2316, - "src": "19986:3:1", + "referencedDeclaration": 2329, + "src": "20129:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -28970,57 +29159,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2347, + "id": 2360, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "19992:9:1", + "referencedDeclaration": 2354, + "src": "20135:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2348, + "id": 2361, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 477, - "src": "19992:13:1", + "referencedDeclaration": 483, + "src": "20135:13:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "19986:19:1", + "src": "20129:19:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2350, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "19986:19:1" + "src": "20129:19:1" }, { "expression": { "argumentTypes": null, - "id": 2354, + "id": 2367, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2351, + "id": 2364, "name": "lng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2318, - "src": "20011:3:1", + "referencedDeclaration": 2331, + "src": "20154:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -29032,57 +29221,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2352, + "id": 2365, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20017:9:1", + "referencedDeclaration": 2354, + "src": "20160:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2353, + "id": 2366, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 479, - "src": "20017:13:1", + "referencedDeclaration": 485, + "src": "20160:13:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20011:19:1", + "src": "20154:19:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2355, + "id": 2368, "nodeType": "ExpressionStatement", - "src": "20011:19:1" + "src": "20154:19:1" }, { "expression": { "argumentTypes": null, - "id": 2359, + "id": 2372, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2356, + "id": 2369, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2320, - "src": "20036:9:1", + "referencedDeclaration": 2333, + "src": "20179:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -29094,57 +29283,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2357, + "id": 2370, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20048:9:1", + "referencedDeclaration": 2354, + "src": "20191:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2358, + "id": 2371, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "20048:19:1", + "referencedDeclaration": 487, + "src": "20191:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "20036:31:1", + "src": "20179:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 2360, + "id": 2373, "nodeType": "ExpressionStatement", - "src": "20036:31:1" + "src": "20179:31:1" }, { "expression": { "argumentTypes": null, - "id": 2364, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2361, + "id": 2374, "name": "postalCode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2322, - "src": "20073:10:1", + "referencedDeclaration": 2335, + "src": "20216:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29156,57 +29345,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2362, + "id": 2375, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20086:9:1", + "referencedDeclaration": 2354, + "src": "20229:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2363, + "id": 2376, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "20086:20:1", + "referencedDeclaration": 489, + "src": "20229:20:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20073:33:1", + "src": "20216:33:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2365, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "20073:33:1" + "src": "20216:33:1" }, { "expression": { "argumentTypes": null, - "id": 2369, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2366, + "id": 2379, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2324, - "src": "20112:10:1", + "referencedDeclaration": 2337, + "src": "20255:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -29218,57 +29407,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2367, + "id": 2380, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20125:9:1", + "referencedDeclaration": 2354, + "src": "20268:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2368, + "id": 2381, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "20125:20:1", + "referencedDeclaration": 491, + "src": "20268:20:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "20112:33:1", + "src": "20255:33:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 2370, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "20112:33:1" + "src": "20255:33:1" }, { "expression": { "argumentTypes": null, - "id": 2374, + "id": 2387, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2371, + "id": 2384, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2326, - "src": "20151:9:1", + "referencedDeclaration": 2339, + "src": "20294:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29280,57 +29469,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2372, + "id": 2385, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20163:9:1", + "referencedDeclaration": 2354, + "src": "20306:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2373, + "id": 2386, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "20163:19:1", + "referencedDeclaration": 493, + "src": "20306:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20151:31:1", + "src": "20294:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2375, + "id": 2388, "nodeType": "ExpressionStatement", - "src": "20151:31:1" + "src": "20294:31:1" }, { "expression": { "argumentTypes": null, - "id": 2379, + "id": 2392, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2376, + "id": 2389, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2328, - "src": "20188:8:1", + "referencedDeclaration": 2341, + "src": "20331:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -29342,57 +29531,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2377, + "id": 2390, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20199:9:1", + "referencedDeclaration": 2354, + "src": "20342:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2378, + "id": 2391, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "20199:18:1", + "referencedDeclaration": 495, + "src": "20342:18:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "20188:29:1", + "src": "20331:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 2380, + "id": 2393, "nodeType": "ExpressionStatement", - "src": "20188:29:1" + "src": "20331:29:1" }, { "expression": { "argumentTypes": null, - "id": 2384, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2381, + "id": 2394, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2330, - "src": "20223:5:1", + "referencedDeclaration": 2343, + "src": "20366:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -29404,57 +29593,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2382, + "id": 2395, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20231:9:1", + "referencedDeclaration": 2354, + "src": "20374:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2383, + "id": 2396, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "20231:15:1", + "referencedDeclaration": 497, + "src": "20374:15:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "20223:23:1", + "src": "20366:23:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 2385, + "id": 2398, "nodeType": "ExpressionStatement", - "src": "20223:23:1" + "src": "20366:23:1" }, { "expression": { "argumentTypes": null, - "id": 2389, + "id": 2402, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2386, + "id": 2399, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2334, - "src": "20252:6:1", + "referencedDeclaration": 2347, + "src": "20395:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29466,57 +29655,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2387, + "id": 2400, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20261:9:1", + "referencedDeclaration": 2354, + "src": "20404:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2388, + "id": 2401, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "20261:16:1", + "referencedDeclaration": 507, + "src": "20404:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "20252:25:1", + "src": "20395:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2390, + "id": 2403, "nodeType": "ExpressionStatement", - "src": "20252:25:1" + "src": "20395:25:1" }, { "expression": { "argumentTypes": null, - "id": 2394, + "id": 2407, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2391, + "id": 2404, "name": "buyer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2336, - "src": "20283:5:1", + "referencedDeclaration": 2349, + "src": "20426:5:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29528,57 +29717,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2392, + "id": 2405, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20291:9:1", + "referencedDeclaration": 2354, + "src": "20434:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2393, + "id": 2406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "buyer", "nodeType": "MemberAccess", - "referencedDeclaration": 493, - "src": "20291:15:1", + "referencedDeclaration": 499, + "src": "20434:15:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "20283:23:1", + "src": "20426:23:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2395, + "id": 2408, "nodeType": "ExpressionStatement", - "src": "20283:23:1" + "src": "20426:23:1" }, { "expression": { "argumentTypes": null, - "id": 2399, + "id": 2412, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2396, + "id": 2409, "name": "buyRates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2338, - "src": "20312:8:1", + "referencedDeclaration": 2351, + "src": "20455:8:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -29590,57 +29779,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2397, + "id": 2410, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20323:9:1", + "referencedDeclaration": 2354, + "src": "20466:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2398, + "id": 2411, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "buyRates", "nodeType": "MemberAccess", - "referencedDeclaration": 495, - "src": "20323:18:1", + "referencedDeclaration": 501, + "src": "20466:18:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "20312:29:1", + "src": "20455:29:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 2400, + "id": 2413, "nodeType": "ExpressionStatement", - "src": "20312:29:1" + "src": "20455:29:1" }, { "expression": { "argumentTypes": null, - "id": 2406, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2401, + "id": 2414, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2332, - "src": "20347:7:1", + "referencedDeclaration": 2345, + "src": "20490:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29653,12 +29842,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2404, + "id": 2417, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2313, - "src": "20378:7:1", + "referencedDeclaration": 2326, + "src": "20521:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29674,18 +29863,18 @@ ], "expression": { "argumentTypes": null, - "id": 2402, + "id": 2415, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "20357:4:1", + "referencedDeclaration": 479, + "src": "20500:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2403, + "id": 2416, "isConstant": false, "isLValue": false, "isPure": false, @@ -29693,13 +29882,13 @@ "memberName": "getEthBalTeller", "nodeType": "MemberAccess", "referencedDeclaration": 375, - "src": "20357:20:1", + "src": "20500:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2405, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29707,26 +29896,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20357:29:1", + "src": "20500:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20347:39:1", + "src": "20490:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2407, + "id": 2420, "nodeType": "ExpressionStatement", - "src": "20347:39:1" + "src": "20490:39:1" } ] }, "documentation": " GETTER", - "id": 2409, + "id": 2422, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -29734,16 +29923,16 @@ "name": "getTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2314, + "id": 2327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2313, + "id": 2326, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19661:15:1", + "scope": 2422, + "src": "19804:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29751,10 +29940,10 @@ "typeString": "address" }, "typeName": { - "id": 2312, + "id": 2325, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19661:7:1", + "src": "19804:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29764,20 +29953,20 @@ "visibility": "internal" } ], - "src": "19660:17:1" + "src": "19803:17:1" }, "payable": false, "returnParameters": { - "id": 2339, + "id": 2352, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2316, + "id": 2329, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19704:9:1", + "scope": 2422, + "src": "19847:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29785,10 +29974,10 @@ "typeString": "int32" }, "typeName": { - "id": 2315, + "id": 2328, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "19704:5:1", + "src": "19847:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -29799,11 +29988,11 @@ }, { "constant": false, - "id": 2318, + "id": 2331, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19719:9:1", + "scope": 2422, + "src": "19862:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29811,10 +30000,10 @@ "typeString": "int32" }, "typeName": { - "id": 2317, + "id": 2330, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "19719:5:1", + "src": "19862:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -29825,11 +30014,11 @@ }, { "constant": false, - "id": 2320, + "id": 2333, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19734:16:1", + "scope": 2422, + "src": "19877:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29837,10 +30026,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2319, + "id": 2332, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "19734:6:1", + "src": "19877:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -29851,11 +30040,11 @@ }, { "constant": false, - "id": 2322, + "id": 2335, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19756:18:1", + "scope": 2422, + "src": "19899:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29863,10 +30052,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2321, + "id": 2334, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "19756:7:1", + "src": "19899:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29877,11 +30066,11 @@ }, { "constant": false, - "id": 2324, + "id": 2337, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19780:15:1", + "scope": 2422, + "src": "19923:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29889,10 +30078,10 @@ "typeString": "int8" }, "typeName": { - "id": 2323, + "id": 2336, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "19780:4:1", + "src": "19923:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -29903,11 +30092,11 @@ }, { "constant": false, - "id": 2326, + "id": 2339, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19801:17:1", + "scope": 2422, + "src": "19944:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29915,10 +30104,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2325, + "id": 2338, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "19801:7:1", + "src": "19944:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29929,11 +30118,11 @@ }, { "constant": false, - "id": 2328, + "id": 2341, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19824:13:1", + "scope": 2422, + "src": "19967:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29941,10 +30130,10 @@ "typeString": "int8" }, "typeName": { - "id": 2327, + "id": 2340, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "19824:4:1", + "src": "19967:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -29955,11 +30144,11 @@ }, { "constant": false, - "id": 2330, + "id": 2343, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19843:11:1", + "scope": 2422, + "src": "19986:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29967,10 +30156,10 @@ "typeString": "int16" }, "typeName": { - "id": 2329, + "id": 2342, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "19843:5:1", + "src": "19986:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -29981,11 +30170,11 @@ }, { "constant": false, - "id": 2332, + "id": 2345, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19860:12:1", + "scope": 2422, + "src": "20003:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29993,10 +30182,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 2344, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19860:4:1", + "src": "20003:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30007,11 +30196,11 @@ }, { "constant": false, - "id": 2334, + "id": 2347, "name": "online", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19878:11:1", + "scope": 2422, + "src": "20021:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30019,10 +30208,10 @@ "typeString": "bool" }, "typeName": { - "id": 2333, + "id": 2346, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "19878:4:1", + "src": "20021:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30033,11 +30222,11 @@ }, { "constant": false, - "id": 2336, + "id": 2349, "name": "buyer", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19895:10:1", + "scope": 2422, + "src": "20038:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30045,10 +30234,10 @@ "typeString": "bool" }, "typeName": { - "id": 2335, + "id": 2348, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "19895:4:1", + "src": "20038:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30059,11 +30248,11 @@ }, { "constant": false, - "id": 2338, + "id": 2351, "name": "buyRates", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19911:14:1", + "scope": 2422, + "src": "20054:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30071,10 +30260,10 @@ "typeString": "int16" }, "typeName": { - "id": 2337, + "id": 2350, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "19911:5:1", + "src": "20054:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -30084,47 +30273,47 @@ "visibility": "internal" } ], - "src": "19698:233:1" + "src": "19841:233:1" }, - "scope": 2659, - "src": "19642:749:1", + "scope": 2672, + "src": "19785:749:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2476, + "id": 2489, "nodeType": "Block", - "src": "20681:282:1", + "src": "20824:282:1", "statements": [ { "assignments": [ - 2431 + 2444 ], "declarations": [ { "constant": false, - "id": 2431, + "id": 2444, "name": "theShop", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20687:20:1", + "scope": 2490, + "src": "20830:20:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" }, "typeName": { "contractScope": null, - "id": 2430, + "id": 2443, "name": "Shop", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 564, - "src": "20687:4:1", + "referencedDeclaration": 570, + "src": "20830:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" } }, @@ -30132,31 +30321,31 @@ "visibility": "internal" } ], - "id": 2435, + "id": 2448, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2432, + "id": 2445, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "20710:4:1", + "referencedDeclaration": 574, + "src": "20853:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2434, + "id": 2447, "indexExpression": { "argumentTypes": null, - "id": 2433, + "id": 2446, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2411, - "src": "20715:5:1", + "referencedDeclaration": 2424, + "src": "20858:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30167,31 +30356,31 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "20710:11:1", + "src": "20853:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "20687:34:1" + "src": "20830:34:1" }, { "expression": { "argumentTypes": null, - "id": 2439, + "id": 2452, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2436, + "id": 2449, "name": "lat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2414, - "src": "20727:3:1", + "referencedDeclaration": 2427, + "src": "20870:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -30203,57 +30392,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2437, + "id": 2450, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20733:7:1", + "referencedDeclaration": 2444, + "src": "20876:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2438, + "id": 2451, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "20733:11:1", + "referencedDeclaration": 549, + "src": "20876:11:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20727:17:1", + "src": "20870:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2440, + "id": 2453, "nodeType": "ExpressionStatement", - "src": "20727:17:1" + "src": "20870:17:1" }, { "expression": { "argumentTypes": null, - "id": 2444, + "id": 2457, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2441, + "id": 2454, "name": "lng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2416, - "src": "20750:3:1", + "referencedDeclaration": 2429, + "src": "20893:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -30265,57 +30454,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2442, + "id": 2455, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20756:7:1", + "referencedDeclaration": 2444, + "src": "20899:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2443, + "id": 2456, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "20756:11:1", + "referencedDeclaration": 551, + "src": "20899:11:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20750:17:1", + "src": "20893:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2445, + "id": 2458, "nodeType": "ExpressionStatement", - "src": "20750:17:1" + "src": "20893:17:1" }, { "expression": { "argumentTypes": null, - "id": 2449, + "id": 2462, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2446, + "id": 2459, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2418, - "src": "20773:9:1", + "referencedDeclaration": 2431, + "src": "20916:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -30327,57 +30516,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2447, + "id": 2460, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20785:7:1", + "referencedDeclaration": 2444, + "src": "20928:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2448, + "id": 2461, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "20785:17:1", + "referencedDeclaration": 553, + "src": "20928:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "20773:29:1", + "src": "20916:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 2450, + "id": 2463, "nodeType": "ExpressionStatement", - "src": "20773:29:1" + "src": "20916:29:1" }, { "expression": { "argumentTypes": null, - "id": 2454, + "id": 2467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2451, + "id": 2464, "name": "postalCode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2420, - "src": "20808:10:1", + "referencedDeclaration": 2433, + "src": "20951:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30389,57 +30578,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2452, + "id": 2465, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20821:7:1", + "referencedDeclaration": 2444, + "src": "20964:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2453, + "id": 2466, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "20821:18:1", + "referencedDeclaration": 555, + "src": "20964:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20808:31:1", + "src": "20951:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2455, + "id": 2468, "nodeType": "ExpressionStatement", - "src": "20808:31:1" + "src": "20951:31:1" }, { "expression": { "argumentTypes": null, - "id": 2459, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2456, + "id": 2469, "name": "cat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2422, - "src": "20845:3:1", + "referencedDeclaration": 2435, + "src": "20988:3:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30451,57 +30640,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2457, + "id": 2470, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20851:7:1", + "referencedDeclaration": 2444, + "src": "20994:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2458, + "id": 2471, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "20851:11:1", + "referencedDeclaration": 557, + "src": "20994:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20845:17:1", + "src": "20988:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2460, + "id": 2473, "nodeType": "ExpressionStatement", - "src": "20845:17:1" + "src": "20988:17:1" }, { "expression": { "argumentTypes": null, - "id": 2464, + "id": 2477, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2461, + "id": 2474, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2424, - "src": "20868:4:1", + "referencedDeclaration": 2437, + "src": "21011:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30513,57 +30702,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2462, + "id": 2475, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20875:7:1", + "referencedDeclaration": 2444, + "src": "21018:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2463, + "id": 2476, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "20875:12:1", + "referencedDeclaration": 559, + "src": "21018:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20868:19:1", + "src": "21011:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2465, + "id": 2478, "nodeType": "ExpressionStatement", - "src": "20868:19:1" + "src": "21011:19:1" }, { "expression": { "argumentTypes": null, - "id": 2469, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2466, + "id": 2479, "name": "description", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2426, - "src": "20893:11:1", + "referencedDeclaration": 2439, + "src": "21036:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -30575,57 +30764,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2467, + "id": 2480, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20907:7:1", + "referencedDeclaration": 2444, + "src": "21050:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2468, + "id": 2481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "20907:19:1", + "referencedDeclaration": 561, + "src": "21050:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "20893:33:1", + "src": "21036:33:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 2470, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "20893:33:1" + "src": "21036:33:1" }, { "expression": { "argumentTypes": null, - "id": 2474, + "id": 2487, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2471, + "id": 2484, "name": "opening", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2428, - "src": "20932:7:1", + "referencedDeclaration": 2441, + "src": "21075:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30637,45 +30826,45 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2472, + "id": 2485, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20942:7:1", + "referencedDeclaration": 2444, + "src": "21085:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2473, + "id": 2486, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "20942:15:1", + "referencedDeclaration": 563, + "src": "21085:15:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20932:25:1", + "src": "21075:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2475, + "id": 2488, "nodeType": "ExpressionStatement", - "src": "20932:25:1" + "src": "21075:25:1" } ] }, "documentation": null, - "id": 2477, + "id": 2490, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -30683,16 +30872,16 @@ "name": "getShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2412, + "id": 2425, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2411, + "id": 2424, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20491:13:1", + "scope": 2490, + "src": "20634:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30700,10 +30889,10 @@ "typeString": "address" }, "typeName": { - "id": 2410, + "id": 2423, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20491:7:1", + "src": "20634:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30713,20 +30902,20 @@ "visibility": "internal" } ], - "src": "20490:15:1" + "src": "20633:15:1" }, "payable": false, "returnParameters": { - "id": 2429, + "id": 2442, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2414, + "id": 2427, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20531:9:1", + "scope": 2490, + "src": "20674:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30734,10 +30923,10 @@ "typeString": "int32" }, "typeName": { - "id": 2413, + "id": 2426, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "20531:5:1", + "src": "20674:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -30748,11 +30937,11 @@ }, { "constant": false, - "id": 2416, + "id": 2429, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20545:9:1", + "scope": 2490, + "src": "20688:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30760,10 +30949,10 @@ "typeString": "int32" }, "typeName": { - "id": 2415, + "id": 2428, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "20545:5:1", + "src": "20688:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -30774,11 +30963,11 @@ }, { "constant": false, - "id": 2418, + "id": 2431, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20559:16:1", + "scope": 2490, + "src": "20702:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30786,10 +30975,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2417, + "id": 2430, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "20559:6:1", + "src": "20702:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -30800,11 +30989,11 @@ }, { "constant": false, - "id": 2420, + "id": 2433, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20580:18:1", + "scope": 2490, + "src": "20723:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30812,10 +31001,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2419, + "id": 2432, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20580:7:1", + "src": "20723:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30826,11 +31015,11 @@ }, { "constant": false, - "id": 2422, + "id": 2435, "name": "cat", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20603:11:1", + "scope": 2490, + "src": "20746:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30838,10 +31027,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2421, + "id": 2434, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20603:7:1", + "src": "20746:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30852,11 +31041,11 @@ }, { "constant": false, - "id": 2424, + "id": 2437, "name": "name", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20619:12:1", + "scope": 2490, + "src": "20762:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30864,10 +31053,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2423, + "id": 2436, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20619:7:1", + "src": "20762:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30878,11 +31067,11 @@ }, { "constant": false, - "id": 2426, + "id": 2439, "name": "description", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20636:19:1", + "scope": 2490, + "src": "20779:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30890,10 +31079,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2425, + "id": 2438, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "20636:7:1", + "src": "20779:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -30904,11 +31093,11 @@ }, { "constant": false, - "id": 2428, + "id": 2441, "name": "opening", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20660:15:1", + "scope": 2490, + "src": "20803:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30916,10 +31105,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2427, + "id": 2440, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20660:7:1", + "src": "20803:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30929,36 +31118,36 @@ "visibility": "internal" } ], - "src": "20526:154:1" + "src": "20669:154:1" }, - "scope": 2659, - "src": "20474:489:1", + "scope": 2672, + "src": "20617:489:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2514, + "id": 2527, "nodeType": "Block", - "src": "21169:161:1", + "src": "21312:161:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2494, + "id": 2507, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2490, + "id": 2503, "name": "buyVolume", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2482, - "src": "21176:9:1", + "referencedDeclaration": 2495, + "src": "21319:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30970,26 +31159,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2491, + "id": 2504, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "21188:9:1", + "referencedDeclaration": 518, + "src": "21331:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2493, + "id": 2506, "indexExpression": { "argumentTypes": null, - "id": 2492, + "id": 2505, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21198:7:1", + "referencedDeclaration": 2492, + "src": "21341:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31000,38 +31189,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21188:18:1", + "src": "21331:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21176:30:1", + "src": "21319:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2495, + "id": 2508, "nodeType": "ExpressionStatement", - "src": "21176:30:1" + "src": "21319:30:1" }, { "expression": { "argumentTypes": null, - "id": 2500, + "id": 2513, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2496, + "id": 2509, "name": "sellVolume", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2484, - "src": "21213:10:1", + "referencedDeclaration": 2497, + "src": "21356:10:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31043,26 +31232,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2497, + "id": 2510, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "21226:10:1", + "referencedDeclaration": 522, + "src": "21369:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2499, + "id": 2512, "indexExpression": { "argumentTypes": null, - "id": 2498, + "id": 2511, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21237:7:1", + "referencedDeclaration": 2492, + "src": "21380:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31073,38 +31262,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21226:19:1", + "src": "21369:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21213:32:1", + "src": "21356:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2501, + "id": 2514, "nodeType": "ExpressionStatement", - "src": "21213:32:1" + "src": "21356:32:1" }, { "expression": { "argumentTypes": null, - "id": 2506, + "id": 2519, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2502, + "id": 2515, "name": "numTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2486, - "src": "21252:8:1", + "referencedDeclaration": 2499, + "src": "21395:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31116,26 +31305,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2503, + "id": 2516, "name": "nbTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "21263:7:1", + "referencedDeclaration": 526, + "src": "21406:7:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2505, + "id": 2518, "indexExpression": { "argumentTypes": null, - "id": 2504, + "id": 2517, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21271:7:1", + "referencedDeclaration": 2492, + "src": "21414:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31146,38 +31335,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21263:16:1", + "src": "21406:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21252:27:1", + "src": "21395:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2507, + "id": 2520, "nodeType": "ExpressionStatement", - "src": "21252:27:1" + "src": "21395:27:1" }, { "expression": { "argumentTypes": null, - "id": 2512, + "id": 2525, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2508, + "id": 2521, "name": "loyaltyPoints_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2488, - "src": "21286:14:1", + "referencedDeclaration": 2501, + "src": "21429:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31189,26 +31378,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2509, + "id": 2522, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "21303:13:1", + "referencedDeclaration": 530, + "src": "21446:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2511, + "id": 2524, "indexExpression": { "argumentTypes": null, - "id": 2510, + "id": 2523, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21317:7:1", + "referencedDeclaration": 2492, + "src": "21460:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31219,26 +31408,26 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21303:22:1", + "src": "21446:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21286:39:1", + "src": "21429:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2526, "nodeType": "ExpressionStatement", - "src": "21286:39:1" + "src": "21429:39:1" } ] }, "documentation": null, - "id": 2515, + "id": 2528, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -31246,16 +31435,16 @@ "name": "getReput", "nodeType": "FunctionDefinition", "parameters": { - "id": 2480, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2479, + "id": 2492, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21042:15:1", + "scope": 2528, + "src": "21185:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31263,10 +31452,10 @@ "typeString": "address" }, "typeName": { - "id": 2478, + "id": 2491, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21042:7:1", + "src": "21185:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31276,20 +31465,20 @@ "visibility": "internal" } ], - "src": "21041:17:1" + "src": "21184:17:1" }, "payable": false, "returnParameters": { - "id": 2489, + "id": 2502, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2482, + "id": 2495, "name": "buyVolume", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21084:14:1", + "scope": 2528, + "src": "21227:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31297,10 +31486,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2481, + "id": 2494, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21084:4:1", + "src": "21227:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31311,11 +31500,11 @@ }, { "constant": false, - "id": 2484, + "id": 2497, "name": "sellVolume", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21103:15:1", + "scope": 2528, + "src": "21246:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31323,10 +31512,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2483, + "id": 2496, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21103:4:1", + "src": "21246:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31337,11 +31526,11 @@ }, { "constant": false, - "id": 2486, + "id": 2499, "name": "numTrade", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21123:13:1", + "scope": 2528, + "src": "21266:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31349,10 +31538,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2485, + "id": 2498, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21123:4:1", + "src": "21266:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31363,11 +31552,11 @@ }, { "constant": false, - "id": 2488, + "id": 2501, "name": "loyaltyPoints_", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21141:22:1", + "scope": 2528, + "src": "21284:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31375,10 +31564,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2487, + "id": 2500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "21141:7:1", + "src": "21284:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31388,19 +31577,19 @@ "visibility": "internal" } ], - "src": "21079:89:1" + "src": "21222:89:1" }, - "scope": 2659, - "src": "21024:306:1", + "scope": 2672, + "src": "21167:306:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2527, + "id": 2540, "nodeType": "Block", - "src": "21447:47:1", + "src": "21590:47:1", "statements": [ { "expression": { @@ -31408,12 +31597,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2524, + "id": 2537, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "21481:7:1", + "referencedDeclaration": 2530, + "src": "21624:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31429,18 +31618,18 @@ ], "expression": { "argumentTypes": null, - "id": 2522, + "id": 2535, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "21460:4:1", + "referencedDeclaration": 479, + "src": "21603:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2523, + "id": 2536, "isConstant": false, "isLValue": false, "isPure": false, @@ -31448,13 +31637,13 @@ "memberName": "getEthBalTeller", "nodeType": "MemberAccess", "referencedDeclaration": 375, - "src": "21460:20:1", + "src": "21603:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2525, + "id": 2538, "isConstant": false, "isLValue": false, "isPure": false, @@ -31462,21 +31651,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21460:29:1", + "src": "21603:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2521, - "id": 2526, + "functionReturnParameters": 2534, + "id": 2539, "nodeType": "Return", - "src": "21453:36:1" + "src": "21596:36:1" } ] }, "documentation": null, - "id": 2528, + "id": 2541, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -31484,16 +31673,16 @@ "name": "getTellerBalance", "nodeType": "FunctionDefinition", "parameters": { - "id": 2518, + "id": 2531, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2517, + "id": 2530, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2528, - "src": "21403:15:1", + "scope": 2541, + "src": "21546:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31501,10 +31690,10 @@ "typeString": "address" }, "typeName": { - "id": 2516, + "id": 2529, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21403:7:1", + "src": "21546:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31514,20 +31703,20 @@ "visibility": "internal" } ], - "src": "21402:17:1" + "src": "21545:17:1" }, "payable": false, "returnParameters": { - "id": 2521, + "id": 2534, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2520, + "id": 2533, "name": "", "nodeType": "VariableDeclaration", - "scope": 2528, - "src": "21441:4:1", + "scope": 2541, + "src": "21584:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31535,10 +31724,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2519, + "id": 2532, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21441:4:1", + "src": "21584:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31548,19 +31737,19 @@ "visibility": "internal" } ], - "src": "21440:6:1" + "src": "21583:6:1" }, - "scope": 2659, - "src": "21377:117:1", + "scope": 2672, + "src": "21520:117:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2544, + "id": 2557, "nodeType": "Block", - "src": "21696:52:1", + "src": "21839:52:1", "statements": [ { "expression": { @@ -31569,26 +31758,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2538, + "id": 2551, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "21710:10:1", + "referencedDeclaration": 581, + "src": "21853:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2540, + "id": 2553, "indexExpression": { "argumentTypes": null, - "id": 2539, + "id": 2552, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2530, - "src": "21721:8:1", + "referencedDeclaration": 2543, + "src": "21864:8:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -31599,21 +31788,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21710:20:1", + "src": "21853:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2542, + "id": 2555, "indexExpression": { "argumentTypes": null, - "id": 2541, + "id": 2554, "name": "_postalcode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2532, - "src": "21731:11:1", + "referencedDeclaration": 2545, + "src": "21874:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -31624,21 +31813,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21710:33:1", + "src": "21853:33:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2537, - "id": 2543, + "functionReturnParameters": 2550, + "id": 2556, "nodeType": "Return", - "src": "21703:40:1" + "src": "21846:40:1" } ] }, "documentation": null, - "id": 2545, + "id": 2558, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -31646,16 +31835,16 @@ "name": "getZoneShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2533, + "id": 2546, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2530, + "id": 2543, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21626:15:1", + "scope": 2558, + "src": "21769:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31663,10 +31852,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2529, + "id": 2542, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "21626:6:1", + "src": "21769:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -31677,11 +31866,11 @@ }, { "constant": false, - "id": 2532, + "id": 2545, "name": "_postalcode", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21643:19:1", + "scope": 2558, + "src": "21786:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31689,10 +31878,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2531, + "id": 2544, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "21643:7:1", + "src": "21786:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -31702,20 +31891,20 @@ "visibility": "internal" } ], - "src": "21625:38:1" + "src": "21768:38:1" }, "payable": false, "returnParameters": { - "id": 2537, + "id": 2550, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2536, + "id": 2549, "name": "", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21685:9:1", + "scope": 2558, + "src": "21828:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31724,19 +31913,19 @@ }, "typeName": { "baseType": { - "id": 2534, + "id": 2547, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21685:7:1", + "src": "21828:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2535, + "id": 2548, "length": null, "nodeType": "ArrayTypeName", - "src": "21685:9:1", + "src": "21828:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -31746,43 +31935,43 @@ "visibility": "internal" } ], - "src": "21684:11:1" + "src": "21827:11:1" }, - "scope": 2659, - "src": "21605:143:1", + "scope": 2672, + "src": "21748:143:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2553, + "id": 2566, "nodeType": "Block", - "src": "21848:26:1", + "src": "21991:26:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2551, + "id": 2564, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "21860:9:1", + "referencedDeclaration": 584, + "src": "22003:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2550, - "id": 2552, + "functionReturnParameters": 2563, + "id": 2565, "nodeType": "Return", - "src": "21853:16:1" + "src": "21996:16:1" } ] }, "documentation": null, - "id": 2554, + "id": 2567, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -31790,23 +31979,23 @@ "name": "getAllShops", "nodeType": "FunctionDefinition", "parameters": { - "id": 2546, + "id": 2559, "nodeType": "ParameterList", "parameters": [], - "src": "21813:2:1" + "src": "21956:2:1" }, "payable": false, "returnParameters": { - "id": 2550, + "id": 2563, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2549, + "id": 2562, "name": "", "nodeType": "VariableDeclaration", - "scope": 2554, - "src": "21837:9:1", + "scope": 2567, + "src": "21980:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31815,19 +32004,19 @@ }, "typeName": { "baseType": { - "id": 2547, + "id": 2560, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21837:7:1", + "src": "21980:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2548, + "id": 2561, "length": null, "nodeType": "ArrayTypeName", - "src": "21837:9:1", + "src": "21980:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -31837,19 +32026,19 @@ "visibility": "internal" } ], - "src": "21836:11:1" + "src": "21979:11:1" }, - "scope": 2659, - "src": "21793:81:1", + "scope": 2672, + "src": "21936:81:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2571, + "id": 2584, "nodeType": "Block", - "src": "21936:55:1", + "src": "22079:55:1", "statements": [ { "expression": { @@ -31861,7 +32050,7 @@ "typeIdentifier": "t_bytes2", "typeString": "bytes2" }, - "id": 2568, + "id": 2581, "isConstant": false, "isLValue": false, "isPure": false, @@ -31872,26 +32061,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2561, + "id": 2574, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "21949:4:1", + "referencedDeclaration": 574, + "src": "22092:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2563, + "id": 2576, "indexExpression": { "argumentTypes": null, - "id": 2562, + "id": 2575, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "21954:5:1", + "referencedDeclaration": 2569, + "src": "22097:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31902,21 +32091,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21949:11:1", + "src": "22092:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2564, + "id": 2577, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "21949:21:1", + "referencedDeclaration": 553, + "src": "22092:21:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -31930,14 +32119,14 @@ { "argumentTypes": null, "hexValue": "307830", - "id": 2566, + "id": 2579, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21981:3:1", + "src": "22124:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -31953,20 +32142,20 @@ "typeString": "int_const 0" } ], - "id": 2565, + "id": 2578, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "21974:6:1", + "src": "22117:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes2_$", "typeString": "type(bytes2)" }, "typeName": "bytes2" }, - "id": 2567, + "id": 2580, "isConstant": false, "isLValue": false, "isPure": true, @@ -31974,41 +32163,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21974:11:1", + "src": "22117:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "21949:36:1", + "src": "22092:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2569, + "id": 2582, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "21948:38:1", + "src": "22091:38:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2560, - "id": 2570, + "functionReturnParameters": 2573, + "id": 2583, "nodeType": "Return", - "src": "21941:45:1" + "src": "22084:45:1" } ] }, "documentation": null, - "id": 2572, + "id": 2585, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -32016,16 +32205,16 @@ "name": "isShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2557, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2556, + "id": 2569, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "21894:13:1", + "scope": 2585, + "src": "22037:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32033,10 +32222,10 @@ "typeString": "address" }, "typeName": { - "id": 2555, + "id": 2568, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21894:7:1", + "src": "22037:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32046,20 +32235,20 @@ "visibility": "internal" } ], - "src": "21893:15:1" + "src": "22036:15:1" }, "payable": false, "returnParameters": { - "id": 2560, + "id": 2573, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2559, + "id": 2572, "name": "", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "21930:4:1", + "scope": 2585, + "src": "22073:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32067,10 +32256,10 @@ "typeString": "bool" }, "typeName": { - "id": 2558, + "id": 2571, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "21930:4:1", + "src": "22073:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32080,19 +32269,19 @@ "visibility": "internal" } ], - "src": "21929:7:1" + "src": "22072:7:1" }, - "scope": 2659, - "src": "21878:113:1", + "scope": 2672, + "src": "22021:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2588, + "id": 2601, "nodeType": "Block", - "src": "22197:54:1", + "src": "22340:54:1", "statements": [ { "expression": { @@ -32101,26 +32290,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2582, + "id": 2595, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "22211:12:1", + "referencedDeclaration": 541, + "src": "22354:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2584, + "id": 2597, "indexExpression": { "argumentTypes": null, - "id": 2583, + "id": 2596, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2574, - "src": "22224:8:1", + "referencedDeclaration": 2587, + "src": "22367:8:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -32131,21 +32320,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22211:22:1", + "src": "22354:22:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2586, + "id": 2599, "indexExpression": { "argumentTypes": null, - "id": 2585, + "id": 2598, "name": "_postalcode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2576, - "src": "22234:11:1", + "referencedDeclaration": 2589, + "src": "22377:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -32156,21 +32345,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22211:35:1", + "src": "22354:35:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2581, - "id": 2587, + "functionReturnParameters": 2594, + "id": 2600, "nodeType": "Return", - "src": "22204:42:1" + "src": "22347:42:1" } ] }, "documentation": null, - "id": 2589, + "id": 2602, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -32178,16 +32367,16 @@ "name": "getZoneTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2577, + "id": 2590, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2574, + "id": 2587, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22127:15:1", + "scope": 2602, + "src": "22270:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32195,10 +32384,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2573, + "id": 2586, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "22127:6:1", + "src": "22270:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -32209,11 +32398,11 @@ }, { "constant": false, - "id": 2576, + "id": 2589, "name": "_postalcode", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22144:19:1", + "scope": 2602, + "src": "22287:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32221,10 +32410,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2575, + "id": 2588, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "22144:7:1", + "src": "22287:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -32234,20 +32423,20 @@ "visibility": "internal" } ], - "src": "22126:38:1" + "src": "22269:38:1" }, "payable": false, "returnParameters": { - "id": 2581, + "id": 2594, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2580, + "id": 2593, "name": "", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22186:9:1", + "scope": 2602, + "src": "22329:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32256,19 +32445,19 @@ }, "typeName": { "baseType": { - "id": 2578, + "id": 2591, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22186:7:1", + "src": "22329:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2579, + "id": 2592, "length": null, "nodeType": "ArrayTypeName", - "src": "22186:9:1", + "src": "22329:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -32278,43 +32467,43 @@ "visibility": "internal" } ], - "src": "22185:11:1" + "src": "22328:11:1" }, - "scope": 2659, - "src": "22104:147:1", + "scope": 2672, + "src": "22247:147:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2597, + "id": 2610, "nodeType": "Block", - "src": "22355:28:1", + "src": "22498:28:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2595, + "id": 2608, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "22367:11:1", + "referencedDeclaration": 544, + "src": "22510:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2594, - "id": 2596, + "functionReturnParameters": 2607, + "id": 2609, "nodeType": "Return", - "src": "22360:18:1" + "src": "22503:18:1" } ] }, "documentation": null, - "id": 2598, + "id": 2611, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -32322,23 +32511,23 @@ "name": "getAllTellers", "nodeType": "FunctionDefinition", "parameters": { - "id": 2590, + "id": 2603, "nodeType": "ParameterList", "parameters": [], - "src": "22320:2:1" + "src": "22463:2:1" }, "payable": false, "returnParameters": { - "id": 2594, + "id": 2607, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2593, + "id": 2606, "name": "", "nodeType": "VariableDeclaration", - "scope": 2598, - "src": "22344:9:1", + "scope": 2611, + "src": "22487:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32347,19 +32536,19 @@ }, "typeName": { "baseType": { - "id": 2591, + "id": 2604, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22344:7:1", + "src": "22487:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2592, + "id": 2605, "length": null, "nodeType": "ArrayTypeName", - "src": "22344:9:1", + "src": "22487:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -32369,19 +32558,19 @@ "visibility": "internal" } ], - "src": "22343:11:1" + "src": "22486:11:1" }, - "scope": 2659, - "src": "22298:85:1", + "scope": 2672, + "src": "22441:85:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2615, + "id": 2628, "nodeType": "Block", - "src": "22478:60:1", + "src": "22621:60:1", "statements": [ { "expression": { @@ -32393,7 +32582,7 @@ "typeIdentifier": "t_bytes2", "typeString": "bytes2" }, - "id": 2612, + "id": 2625, "isConstant": false, "isLValue": false, "isPure": false, @@ -32404,26 +32593,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2605, + "id": 2618, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "22492:6:1", + "referencedDeclaration": 534, + "src": "22635:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 2607, + "id": 2620, "indexExpression": { "argumentTypes": null, - "id": 2606, + "id": 2619, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "22499:7:1", + "referencedDeclaration": 2613, + "src": "22642:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32434,21 +32623,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22492:15:1", + "src": "22635:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 2608, + "id": 2621, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "22492:25:1", + "referencedDeclaration": 487, + "src": "22635:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -32462,14 +32651,14 @@ { "argumentTypes": null, "hexValue": "307830", - "id": 2610, + "id": 2623, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "22528:3:1", + "src": "22671:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -32485,20 +32674,20 @@ "typeString": "int_const 0" } ], - "id": 2609, + "id": 2622, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22521:6:1", + "src": "22664:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes2_$", "typeString": "type(bytes2)" }, "typeName": "bytes2" }, - "id": 2611, + "id": 2624, "isConstant": false, "isLValue": false, "isPure": true, @@ -32506,41 +32695,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22521:11:1", + "src": "22664:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "22492:40:1", + "src": "22635:40:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2613, + "id": 2626, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "22491:42:1", + "src": "22634:42:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2604, - "id": 2614, + "functionReturnParameters": 2617, + "id": 2627, "nodeType": "Return", - "src": "22484:49:1" + "src": "22627:49:1" } ] }, "documentation": null, - "id": 2616, + "id": 2629, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -32548,16 +32737,16 @@ "name": "isTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2601, + "id": 2614, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2600, + "id": 2613, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2616, - "src": "22434:15:1", + "scope": 2629, + "src": "22577:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32565,10 +32754,10 @@ "typeString": "address" }, "typeName": { - "id": 2599, + "id": 2612, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22434:7:1", + "src": "22577:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32578,20 +32767,20 @@ "visibility": "internal" } ], - "src": "22433:17:1" + "src": "22576:17:1" }, "payable": false, "returnParameters": { - "id": 2604, + "id": 2617, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2603, + "id": 2616, "name": "", "nodeType": "VariableDeclaration", - "scope": 2616, - "src": "22472:4:1", + "scope": 2629, + "src": "22615:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32599,10 +32788,10 @@ "typeString": "bool" }, "typeName": { - "id": 2602, + "id": 2615, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22472:4:1", + "src": "22615:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32612,19 +32801,19 @@ "visibility": "internal" } ], - "src": "22471:7:1" + "src": "22614:7:1" }, - "scope": 2659, - "src": "22416:122:1", + "scope": 2672, + "src": "22559:122:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2628, + "id": 2641, "nodeType": "Block", - "src": "22685:40:1", + "src": "22828:40:1", "statements": [ { "expression": { @@ -32632,12 +32821,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2625, + "id": 2638, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2618, - "src": "22714:5:1", + "referencedDeclaration": 2631, + "src": "22857:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32653,18 +32842,18 @@ ], "expression": { "argumentTypes": null, - "id": 2623, + "id": 2636, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "22698:4:1", + "referencedDeclaration": 479, + "src": "22841:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2624, + "id": 2637, "isConstant": false, "isLValue": false, "isPure": false, @@ -32672,13 +32861,13 @@ "memberName": "getDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 368, - "src": "22698:15:1", + "src": "22841:15:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2626, + "id": 2639, "isConstant": false, "isLValue": false, "isPure": false, @@ -32686,21 +32875,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22698:22:1", + "src": "22841:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2622, - "id": 2627, + "functionReturnParameters": 2635, + "id": 2640, "nodeType": "Return", - "src": "22691:29:1" + "src": "22834:29:1" } ] }, "documentation": null, - "id": 2629, + "id": 2642, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -32708,16 +32897,16 @@ "name": "getStakedShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2619, + "id": 2632, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2618, + "id": 2631, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2629, - "src": "22643:13:1", + "scope": 2642, + "src": "22786:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32725,10 +32914,10 @@ "typeString": "address" }, "typeName": { - "id": 2617, + "id": 2630, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22643:7:1", + "src": "22786:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32738,20 +32927,20 @@ "visibility": "internal" } ], - "src": "22642:15:1" + "src": "22785:15:1" }, "payable": false, "returnParameters": { - "id": 2622, + "id": 2635, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2621, + "id": 2634, "name": "", "nodeType": "VariableDeclaration", - "scope": 2629, - "src": "22679:4:1", + "scope": 2642, + "src": "22822:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32759,10 +32948,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2620, + "id": 2633, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22679:4:1", + "src": "22822:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32772,19 +32961,19 @@ "visibility": "internal" } ], - "src": "22678:6:1" + "src": "22821:6:1" }, - "scope": 2659, - "src": "22620:105:1", + "scope": 2672, + "src": "22763:105:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2641, + "id": 2654, "nodeType": "Block", - "src": "22855:44:1", + "src": "22998:44:1", "statements": [ { "expression": { @@ -32792,12 +32981,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2638, + "id": 2651, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "22886:7:1", + "referencedDeclaration": 2644, + "src": "23029:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32813,18 +33002,18 @@ ], "expression": { "argumentTypes": null, - "id": 2636, + "id": 2649, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "22868:4:1", + "referencedDeclaration": 479, + "src": "23011:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2637, + "id": 2650, "isConstant": false, "isLValue": false, "isPure": false, @@ -32832,13 +33021,13 @@ "memberName": "getDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 361, - "src": "22868:17:1", + "src": "23011:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2639, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": false, @@ -32846,21 +33035,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22868:26:1", + "src": "23011:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2635, - "id": 2640, + "functionReturnParameters": 2648, + "id": 2653, "nodeType": "Return", - "src": "22861:33:1" + "src": "23004:33:1" } ] }, "documentation": null, - "id": 2642, + "id": 2655, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -32868,16 +33057,16 @@ "name": "getStakedTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2632, + "id": 2645, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2631, + "id": 2644, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2642, - "src": "22811:15:1", + "scope": 2655, + "src": "22954:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32885,10 +33074,10 @@ "typeString": "address" }, "typeName": { - "id": 2630, + "id": 2643, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22811:7:1", + "src": "22954:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32898,20 +33087,20 @@ "visibility": "internal" } ], - "src": "22810:17:1" + "src": "22953:17:1" }, "payable": false, "returnParameters": { - "id": 2635, + "id": 2648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2647, "name": "", "nodeType": "VariableDeclaration", - "scope": 2642, - "src": "22849:4:1", + "scope": 2655, + "src": "22992:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32919,10 +33108,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2633, + "id": 2646, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22849:4:1", + "src": "22992:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32932,19 +33121,19 @@ "visibility": "internal" } ], - "src": "22848:6:1" + "src": "22991:6:1" }, - "scope": 2659, - "src": "22786:113:1", + "scope": 2672, + "src": "22929:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2657, + "id": 2670, "nodeType": "Block", - "src": "23025:48:1", + "src": "23168:48:1", "statements": [ { "expression": { @@ -32952,12 +33141,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2654, + "id": 2667, "name": "_newbankowner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2644, - "src": "23054:13:1", + "referencedDeclaration": 2657, + "src": "23197:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32973,18 +33162,18 @@ ], "expression": { "argumentTypes": null, - "id": 2651, + "id": 2664, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "23031:4:1", + "referencedDeclaration": 479, + "src": "23174:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2653, + "id": 2666, "isConstant": false, "isLValue": false, "isPure": false, @@ -32992,13 +33181,13 @@ "memberName": "transferOwnership", "nodeType": "MemberAccess", "referencedDeclaration": 387, - "src": "23031:22:1", + "src": "23174:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2655, + "id": 2668, "isConstant": false, "isLValue": false, "isPure": false, @@ -33006,76 +33195,76 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23031:37:1", + "src": "23174:37:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2656, + "id": 2669, "nodeType": "ExpressionStatement", - "src": "23031:37:1" + "src": "23174:37:1" } ] }, "documentation": null, - "id": 2658, + "id": 2671, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2647, + "id": 2660, "modifierName": { "argumentTypes": null, - "id": 2646, + "id": 2659, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 35, - "src": "23006:7:1", + "src": "23149:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "23006:7:1" + "src": "23149:7:1" }, { "arguments": null, - "id": 2649, + "id": 2662, "modifierName": { "argumentTypes": null, - "id": 2648, + "id": 2661, "name": "whenPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 261, - "src": "23014:10:1", + "src": "23157:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "23014:10:1" + "src": "23157:10:1" } ], "name": "transferBankOwnership", "nodeType": "FunctionDefinition", "parameters": { - "id": 2645, + "id": 2658, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2644, + "id": 2657, "name": "_newbankowner", "nodeType": "VariableDeclaration", - "scope": 2658, - "src": "22974:21:1", + "scope": 2671, + "src": "23117:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33083,10 +33272,10 @@ "typeString": "address" }, "typeName": { - "id": 2643, + "id": 2656, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22974:7:1", + "src": "23117:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33096,27 +33285,27 @@ "visibility": "internal" } ], - "src": "22973:23:1" + "src": "23116:23:1" }, "payable": false, "returnParameters": { - "id": 2650, + "id": 2663, "nodeType": "ParameterList", "parameters": [], - "src": "23025:0:1" + "src": "23168:0:1" }, - "scope": 2659, - "src": "22943:130:1", + "scope": 2672, + "src": "23086:130:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], - "scope": 2660, - "src": "1272:21803:1" + "scope": 2673, + "src": "1272:21946:1" } ], - "src": "0:23076:1" + "src": "0:23219:1" }, "legacyAST": { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherCore.sol", @@ -33125,13 +33314,13 @@ 388 ], "DetherCore": [ - 2659 + 2672 ], "ExchangeRateOracle": [ 300 ] }, - "id": 2660, + "id": 2673, "nodeType": "SourceUnit", "nodes": [ { @@ -33140,7 +33329,7 @@ "solidity", "^", "0.4", - ".21" + ".23" ], "nodeType": "PragmaDirective", "src": "0:24:1" @@ -33150,8 +33339,8 @@ "file": "./DetherSetup.sol", "id": 289, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2904, + "scope": 2673, + "sourceUnit": 2917, "src": "26:27:1", "symbolAliases": [], "unitAlias": "" @@ -33161,8 +33350,8 @@ "file": "./dth/tokenfoundry/ERC223ReceivingContract.sol", "id": 290, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2961, + "scope": 2673, + "sourceUnit": 2974, "src": "54:56:1", "symbolAliases": [], "unitAlias": "" @@ -33172,8 +33361,8 @@ "file": "./zepellin/SafeMath.sol", "id": 291, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 3059, + "scope": 2673, + "sourceUnit": 3072, "src": "111:33:1", "symbolAliases": [], "unitAlias": "" @@ -33183,8 +33372,8 @@ "file": "./dth/tokenfoundry/ERC223Basic.sol", "id": 292, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2949, + "scope": 2673, + "sourceUnit": 2962, "src": "145:44:1", "symbolAliases": [], "unitAlias": "" @@ -33194,7 +33383,7 @@ "file": "./DetherAccessControl.sol", "id": 293, "nodeType": "ImportDirective", - "scope": 2660, + "scope": 2673, "sourceUnit": 287, "src": "190:35:1", "symbolAliases": [], @@ -33205,8 +33394,8 @@ "file": "bytes/BytesLib.sol", "id": 294, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 3331, + "scope": 2673, + "sourceUnit": 3344, "src": "226:28:1", "symbolAliases": [], "unitAlias": "" @@ -33281,7 +33470,7 @@ "visibility": "external" } ], - "scope": 2660, + "scope": 2673, "src": "256:94:1" }, { @@ -34317,7 +34506,7 @@ "visibility": "public" } ], - "scope": 2660, + "scope": 2673, "src": "382:888:1" }, { @@ -34329,10 +34518,10 @@ "id": 389, "name": "DetherSetup", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2903, + "referencedDeclaration": 2916, "src": "1295:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetherSetup_$2903", + "typeIdentifier": "t_contract$_DetherSetup_$2916", "typeString": "contract DetherSetup" } }, @@ -34347,10 +34536,10 @@ "id": 391, "name": "ERC223ReceivingContract", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2960, + "referencedDeclaration": 2973, "src": "1308:23:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223ReceivingContract_$2960", + "typeIdentifier": "t_contract$_ERC223ReceivingContract_$2973", "typeString": "contract ERC223ReceivingContract" } }, @@ -34365,10 +34554,10 @@ "id": 393, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3058, + "referencedDeclaration": 3071, "src": "1333:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$3058", + "typeIdentifier": "t_contract$_SafeMath_$3071", "typeString": "contract SafeMath" } }, @@ -34379,19 +34568,19 @@ ], "contractDependencies": [ 286, - 2903, - 2960, - 3058 + 2916, + 2973, + 3071 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 2659, + "id": 2672, "linearizedBaseContracts": [ - 2659, - 3058, - 2960, - 2903, + 2672, + 3071, + 2973, + 2916, 286 ], "name": "DetherCore", @@ -34404,10 +34593,10 @@ "id": 395, "name": "BytesLib", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3330, + "referencedDeclaration": 3343, "src": "1352:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_BytesLib_$3330", + "typeIdentifier": "t_contract$_BytesLib_$3343", "typeString": "library BytesLib" } }, @@ -34469,11 +34658,11 @@ { "anonymous": false, "documentation": null, - "id": 405, - "name": "DeleteTeller", + "id": 407, + "name": "AddFunds", "nodeType": "EventDefinition", "parameters": { - "id": 404, + "id": 406, "nodeType": "ParameterList", "parameters": [ { @@ -34482,8 +34671,8 @@ "indexed": true, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 405, - "src": "1533:29:1", + "scope": 407, + "src": "1538:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34494,7 +34683,7 @@ "id": 402, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1533:7:1", + "src": "1538:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34502,30 +34691,57 @@ }, "value": null, "visibility": "internal" + }, + { + "constant": false, + "id": 405, + "indexed": false, + "name": "amount", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "1569:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1569:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" } ], - "src": "1532:31:1" + "src": "1537:44:1" }, - "src": "1514:50:1" + "src": "1523:59:1" }, { "anonymous": false, "documentation": null, - "id": 409, - "name": "UpdateTeller", + "id": 411, + "name": "DeleteTeller", "nodeType": "EventDefinition", "parameters": { - "id": 408, + "id": 410, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 407, + "id": 409, "indexed": true, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 409, - "src": "1610:29:1", + "scope": 411, + "src": "1634:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34533,10 +34749,10 @@ "typeString": "address" }, "typeName": { - "id": 406, + "id": 408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1610:7:1", + "src": "1634:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34546,28 +34762,28 @@ "visibility": "internal" } ], - "src": "1609:31:1" + "src": "1633:31:1" }, - "src": "1591:50:1" + "src": "1615:50:1" }, { "anonymous": false, "documentation": null, - "id": 417, - "name": "Sent", + "id": 415, + "name": "UpdateTeller", "nodeType": "EventDefinition", "parameters": { - "id": 416, + "id": 414, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 411, + "id": 413, "indexed": true, - "name": "_from", + "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1690:21:1", + "scope": 415, + "src": "1711:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34575,10 +34791,10 @@ "typeString": "address" }, "typeName": { - "id": 410, + "id": 412, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1690:7:1", + "src": "1711:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34586,15 +34802,30 @@ }, "value": null, "visibility": "internal" - }, + } + ], + "src": "1710:31:1" + }, + "src": "1692:50:1" + }, + { + "anonymous": false, + "documentation": null, + "id": 423, + "name": "Sent", + "nodeType": "EventDefinition", + "parameters": { + "id": 422, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 413, + "id": 417, "indexed": true, - "name": "_to", + "name": "_from", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1713:19:1", + "scope": 423, + "src": "1791:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34602,10 +34833,10 @@ "typeString": "address" }, "typeName": { - "id": 412, + "id": 416, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1713:7:1", + "src": "1791:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34616,96 +34847,81 @@ }, { "constant": false, - "id": 415, - "indexed": false, - "name": "amount", + "id": 419, + "indexed": true, + "name": "_to", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1734:11:1", + "scope": 423, + "src": "1814:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 414, - "name": "uint", + "id": 418, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "1734:4:1", + "src": "1814:7:1", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, "visibility": "internal" - } - ], - "src": "1689:57:1" - }, - "src": "1679:68:1" - }, - { - "anonymous": false, - "documentation": null, - "id": 421, - "name": "RegisterShop", - "nodeType": "EventDefinition", - "parameters": { - "id": 420, - "nodeType": "ParameterList", - "parameters": [ + }, { "constant": false, - "id": 419, + "id": 421, "indexed": false, - "name": "shopAddress", + "name": "amount", "nodeType": "VariableDeclaration", - "scope": 421, - "src": "1795:19:1", + "scope": 423, + "src": "1835:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 418, - "name": "address", + "id": 420, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1795:7:1", + "src": "1835:4:1", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "1794:21:1" + "src": "1790:57:1" }, - "src": "1776:40:1" + "src": "1780:68:1" }, { "anonymous": false, "documentation": null, - "id": 425, - "name": "DeleteShop", + "id": 427, + "name": "RegisterShop", "nodeType": "EventDefinition", "parameters": { - "id": 424, + "id": 426, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 423, + "id": 425, "indexed": false, "name": "shopAddress", "nodeType": "VariableDeclaration", - "scope": 425, - "src": "1860:19:1", + "scope": 427, + "src": "1896:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34713,10 +34929,10 @@ "typeString": "address" }, "typeName": { - "id": 422, + "id": 424, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1860:7:1", + "src": "1896:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34726,47 +34942,20 @@ "visibility": "internal" } ], - "src": "1859:21:1" + "src": "1895:21:1" }, - "src": "1843:38:1" + "src": "1877:40:1" }, { "anonymous": false, "documentation": null, "id": 431, - "name": "DeleteShopModerator", + "name": "DeleteShop", "nodeType": "EventDefinition", "parameters": { "id": 430, "nodeType": "ParameterList", "parameters": [ - { - "constant": false, - "id": 427, - "indexed": true, - "name": "moderator", - "nodeType": "VariableDeclaration", - "scope": 431, - "src": "1946:25:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 426, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1946:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, { "constant": false, "id": 429, @@ -34774,7 +34963,7 @@ "name": "shopAddress", "nodeType": "VariableDeclaration", "scope": 431, - "src": "1973:19:1", + "src": "1961:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34785,7 +34974,7 @@ "id": 428, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1973:7:1", + "src": "1961:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34795,15 +34984,15 @@ "visibility": "internal" } ], - "src": "1945:48:1" + "src": "1960:21:1" }, - "src": "1920:74:1" + "src": "1944:38:1" }, { "anonymous": false, "documentation": null, "id": 437, - "name": "DeleteTellerModerator", + "name": "DeleteShopModerator", "nodeType": "EventDefinition", "parameters": { "id": 436, @@ -34816,7 +35005,7 @@ "name": "moderator", "nodeType": "VariableDeclaration", "scope": 437, - "src": "2063:25:1", + "src": "2047:25:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34827,7 +35016,7 @@ "id": 432, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2063:7:1", + "src": "2047:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34840,10 +35029,10 @@ "constant": false, "id": 435, "indexed": false, - "name": "tellerAddress", + "name": "shopAddress", "nodeType": "VariableDeclaration", "scope": 437, - "src": "2090:21:1", + "src": "2074:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34854,7 +35043,7 @@ "id": 434, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2090:7:1", + "src": "2074:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34864,15 +35053,84 @@ "visibility": "internal" } ], - "src": "2062:50:1" + "src": "2046:48:1" }, - "src": "2035:78:1" + "src": "2021:74:1" + }, + { + "anonymous": false, + "documentation": null, + "id": 443, + "name": "DeleteTellerModerator", + "nodeType": "EventDefinition", + "parameters": { + "id": 442, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 439, + "indexed": true, + "name": "moderator", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "2164:25:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 438, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2164:7:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 441, + "indexed": false, + "name": "tellerAddress", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "2191:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 440, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2191:7:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2163:50:1" + }, + "src": "2136:78:1" }, { "body": { - "id": 452, + "id": 458, "nodeType": "Block", - "src": "2221:66:1", + "src": "2322:66:1", "statements": [ { "expression": { @@ -34884,7 +35142,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 448, + "id": 454, "isConstant": false, "isLValue": false, "isPure": false, @@ -34896,18 +35154,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 444, + "id": 450, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "2253:3:1", + "referencedDeclaration": 3390, + "src": "2354:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 445, + "id": 451, "isConstant": false, "isLValue": false, "isPure": false, @@ -34915,7 +35173,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2253:10:1", + "src": "2354:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34931,18 +35189,18 @@ ], "expression": { "argumentTypes": null, - "id": 442, + "id": 448, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "2235:4:1", + "referencedDeclaration": 479, + "src": "2336:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 443, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -34950,13 +35208,13 @@ "memberName": "getDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 361, - "src": "2235:17:1", + "src": "2336:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 446, + "id": 452, "isConstant": false, "isLValue": false, "isPure": false, @@ -34964,7 +35222,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2235:29:1", + "src": "2336:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34974,18 +35232,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 447, + "id": 453, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 439, - "src": "2268:6:1", + "referencedDeclaration": 445, + "src": "2369:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2235:39:1", + "src": "2336:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34999,21 +35257,21 @@ "typeString": "bool" } ], - "id": 441, + "id": 447, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "2227:7:1", + "referencedDeclaration": 3393, + "src": "2328:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 449, + "id": 455, "isConstant": false, "isLValue": false, "isPure": false, @@ -35021,38 +35279,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2227:48:1", + "src": "2328:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 450, + "id": 456, "nodeType": "ExpressionStatement", - "src": "2227:48:1" + "src": "2328:48:1" }, { - "id": 451, + "id": 457, "nodeType": "PlaceholderStatement", - "src": "2281:1:1" + "src": "2382:1:1" } ] }, "documentation": "Modifier", - "id": 453, + "id": 459, "name": "tellerHasStaked", "nodeType": "ModifierDefinition", "parameters": { - "id": 440, + "id": 446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 439, + "id": 445, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 453, - "src": "2208:11:1", + "scope": 459, + "src": "2309:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35060,10 +35318,10 @@ "typeString": "uint256" }, "typeName": { - "id": 438, + "id": 444, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2208:4:1", + "src": "2309:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35073,16 +35331,16 @@ "visibility": "internal" } ], - "src": "2207:13:1" + "src": "2308:13:1" }, - "src": "2183:104:1", + "src": "2284:104:1", "visibility": "internal" }, { "body": { - "id": 468, + "id": 474, "nodeType": "Block", - "src": "2364:64:1", + "src": "2465:64:1", "statements": [ { "expression": { @@ -35094,7 +35352,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 464, + "id": 470, "isConstant": false, "isLValue": false, "isPure": false, @@ -35106,18 +35364,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 460, + "id": 466, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "2394:3:1", + "referencedDeclaration": 3390, + "src": "2495:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 461, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, @@ -35125,7 +35383,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2394:10:1", + "src": "2495:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35141,18 +35399,18 @@ ], "expression": { "argumentTypes": null, - "id": 458, + "id": 464, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "2378:4:1", + "referencedDeclaration": 479, + "src": "2479:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 459, + "id": 465, "isConstant": false, "isLValue": false, "isPure": false, @@ -35160,13 +35418,13 @@ "memberName": "getDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 368, - "src": "2378:15:1", + "src": "2479:15:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 462, + "id": 468, "isConstant": false, "isLValue": false, "isPure": false, @@ -35174,7 +35432,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2378:27:1", + "src": "2479:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35184,18 +35442,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 463, + "id": 469, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 455, - "src": "2409:6:1", + "referencedDeclaration": 461, + "src": "2510:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2378:37:1", + "src": "2479:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35209,21 +35467,21 @@ "typeString": "bool" } ], - "id": 457, + "id": 463, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "2370:7:1", + "referencedDeclaration": 3393, + "src": "2471:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 465, + "id": 471, "isConstant": false, "isLValue": false, "isPure": false, @@ -35231,38 +35489,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2370:46:1", + "src": "2471:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 466, + "id": 472, "nodeType": "ExpressionStatement", - "src": "2370:46:1" + "src": "2471:46:1" }, { - "id": 467, + "id": 473, "nodeType": "PlaceholderStatement", - "src": "2422:1:1" + "src": "2523:1:1" } ] }, "documentation": null, - "id": 469, + "id": 475, "name": "shopHasStaked", "nodeType": "ModifierDefinition", "parameters": { - "id": 456, + "id": 462, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 455, + "id": 461, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 469, - "src": "2351:11:1", + "scope": 475, + "src": "2452:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35270,10 +35528,10 @@ "typeString": "uint256" }, "typeName": { - "id": 454, + "id": 460, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2351:4:1", + "src": "2452:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35283,33 +35541,33 @@ "visibility": "internal" } ], - "src": "2350:13:1" + "src": "2451:13:1" }, - "src": "2328:100:1", + "src": "2429:100:1", "visibility": "internal" }, { "constant": false, - "id": 471, + "id": 477, "name": "dth", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2484:22:1", + "scope": 2672, + "src": "2585:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" }, "typeName": { "contractScope": null, - "id": 470, + "id": 476, "name": "ERC223Basic", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2948, - "src": "2484:11:1", + "referencedDeclaration": 2961, + "src": "2585:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, @@ -35318,11 +35576,11 @@ }, { "constant": false, - "id": 473, + "id": 479, "name": "bank", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2558:22:1", + "scope": 2672, + "src": "2659:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -35331,11 +35589,11 @@ }, "typeName": { "contractScope": null, - "id": 472, + "id": 478, "name": "DetherBank", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 388, - "src": "2558:10:1", + "src": "2659:10:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -35346,11 +35604,11 @@ }, { "constant": false, - "id": 475, + "id": 481, "name": "priceOracle", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2585:37:1", + "scope": 2672, + "src": "2686:37:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -35359,11 +35617,11 @@ }, "typeName": { "contractScope": null, - "id": 474, + "id": 480, "name": "ExchangeRateOracle", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 300, - "src": "2585:18:1", + "src": "2686:18:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" @@ -35374,15 +35632,15 @@ }, { "canonicalName": "DetherCore.Teller", - "id": 502, + "id": 508, "members": [ { "constant": false, - "id": 477, + "id": 483, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2666:9:1", + "scope": 508, + "src": "2767:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35390,10 +35648,10 @@ "typeString": "int32" }, "typeName": { - "id": 476, + "id": 482, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2666:5:1", + "src": "2767:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -35404,11 +35662,11 @@ }, { "constant": false, - "id": 479, + "id": 485, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2704:9:1", + "scope": 508, + "src": "2805:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35416,10 +35674,10 @@ "typeString": "int32" }, "typeName": { - "id": 478, + "id": 484, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2704:5:1", + "src": "2805:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -35430,11 +35688,11 @@ }, { "constant": false, - "id": 481, + "id": 487, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2743:16:1", + "scope": 508, + "src": "2844:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35442,10 +35700,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 480, + "id": 486, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "2743:6:1", + "src": "2844:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -35456,11 +35714,11 @@ }, { "constant": false, - "id": 483, + "id": 489, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2854:18:1", + "scope": 508, + "src": "2955:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35468,10 +35726,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 482, + "id": 488, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2854:7:1", + "src": "2955:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -35482,11 +35740,11 @@ }, { "constant": false, - "id": 485, + "id": 491, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2966:15:1", + "scope": 508, + "src": "3067:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35494,10 +35752,10 @@ "typeString": "int8" }, "typeName": { - "id": 484, + "id": 490, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "2966:4:1", + "src": "3067:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -35508,11 +35766,11 @@ }, { "constant": false, - "id": 487, + "id": 493, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3015:17:1", + "scope": 508, + "src": "3116:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35520,10 +35778,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 486, + "id": 492, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "3015:7:1", + "src": "3116:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -35534,11 +35792,11 @@ }, { "constant": false, - "id": 489, + "id": 495, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3063:13:1", + "scope": 508, + "src": "3164:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35546,10 +35804,10 @@ "typeString": "int8" }, "typeName": { - "id": 488, + "id": 494, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "3063:4:1", + "src": "3164:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -35560,11 +35818,11 @@ }, { "constant": false, - "id": 491, + "id": 497, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3138:11:1", + "scope": 508, + "src": "3239:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35572,10 +35830,10 @@ "typeString": "int16" }, "typeName": { - "id": 490, + "id": 496, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "3138:5:1", + "src": "3239:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -35586,11 +35844,11 @@ }, { "constant": false, - "id": 493, + "id": 499, "name": "buyer", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3246:10:1", + "scope": 508, + "src": "3347:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35598,10 +35856,10 @@ "typeString": "bool" }, "typeName": { - "id": 492, + "id": 498, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3246:4:1", + "src": "3347:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35612,11 +35870,11 @@ }, { "constant": false, - "id": 495, + "id": 501, "name": "buyRates", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3312:14:1", + "scope": 508, + "src": "3413:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35624,10 +35882,10 @@ "typeString": "int16" }, "typeName": { - "id": 494, + "id": 500, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "3312:5:1", + "src": "3413:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -35638,11 +35896,11 @@ }, { "constant": false, - "id": 497, + "id": 503, "name": "zoneIndex", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3365:14:1", + "scope": 508, + "src": "3466:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35650,10 +35908,10 @@ "typeString": "uint256" }, "typeName": { - "id": 496, + "id": 502, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3365:4:1", + "src": "3466:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35664,11 +35922,11 @@ }, { "constant": false, - "id": 499, + "id": 505, "name": "generalIndex", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3420:17:1", + "scope": 508, + "src": "3521:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35676,10 +35934,10 @@ "typeString": "uint256" }, "typeName": { - "id": 498, + "id": 504, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3420:4:1", + "src": "3521:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35690,11 +35948,11 @@ }, { "constant": false, - "id": 501, + "id": 507, "name": "online", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3474:11:1", + "scope": 508, + "src": "3575:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35702,10 +35960,10 @@ "typeString": "bool" }, "typeName": { - "id": 500, + "id": 506, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3474:4:1", + "src": "3575:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35717,17 +35975,17 @@ ], "name": "Teller", "nodeType": "StructDefinition", - "scope": 2659, - "src": "2646:941:1", + "scope": 2672, + "src": "2747:941:1", "visibility": "public" }, { "constant": false, - "id": 508, + "id": 514, "name": "pairSellsLoyaltyPerc", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3591:74:1", + "scope": 2672, + "src": "3692:74:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -35735,46 +35993,46 @@ "typeString": "mapping(address => mapping(address => uint256))" }, "typeName": { - "id": 507, + "id": 513, "keyType": { - "id": 503, + "id": 509, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3599:7:1", + "src": "3700:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3591:44:1", + "src": "3692:44:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" }, "valueType": { - "id": 506, + "id": 512, "keyType": { - "id": 504, + "id": 510, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3618:7:1", + "src": "3719:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3610:24:1", + "src": "3711:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 505, + "id": 511, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3629:4:1", + "src": "3730:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35787,11 +36045,11 @@ }, { "constant": false, - "id": 512, + "id": 518, "name": "volumeBuy", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3866:34:1", + "scope": 2672, + "src": "3967:34:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -35799,28 +36057,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 511, + "id": 517, "keyType": { - "id": 509, + "id": 515, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3874:7:1", + "src": "3975:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3866:24:1", + "src": "3967:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 510, + "id": 516, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3885:4:1", + "src": "3986:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35832,11 +36090,11 @@ }, { "constant": false, - "id": 516, + "id": 522, "name": "volumeSell", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3904:35:1", + "scope": 2672, + "src": "4005:35:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -35844,28 +36102,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 515, + "id": 521, "keyType": { - "id": 513, + "id": 519, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3912:7:1", + "src": "4013:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3904:24:1", + "src": "4005:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 514, + "id": 520, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3923:4:1", + "src": "4024:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35877,11 +36135,11 @@ }, { "constant": false, - "id": 520, + "id": 526, "name": "nbTrade", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3943:32:1", + "scope": 2672, + "src": "4044:32:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -35889,28 +36147,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 519, + "id": 525, "keyType": { - "id": 517, + "id": 523, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3951:7:1", + "src": "4052:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3943:24:1", + "src": "4044:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 518, + "id": 524, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3962:4:1", + "src": "4063:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35922,11 +36180,11 @@ }, { "constant": false, - "id": 524, + "id": 530, "name": "loyaltyPoints", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3979:41:1", + "scope": 2672, + "src": "4080:41:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -35934,28 +36192,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 523, + "id": 529, "keyType": { - "id": 521, + "id": 527, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3987:7:1", + "src": "4088:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3979:27:1", + "src": "4080:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 522, + "id": 528, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3998:7:1", + "src": "4099:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35967,44 +36225,44 @@ }, { "constant": false, - "id": 528, + "id": 534, "name": "teller", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4056:33:1", + "scope": 2672, + "src": "4157:33:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller)" }, "typeName": { - "id": 527, + "id": 533, "keyType": { - "id": 525, + "id": 531, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4064:7:1", + "src": "4165:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "4056:26:1", + "src": "4157:26:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller)" }, "valueType": { "contractScope": null, - "id": 526, + "id": 532, "name": "Teller", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 502, - "src": "4075:6:1", + "referencedDeclaration": 508, + "src": "4176:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" } } @@ -36014,11 +36272,11 @@ }, { "constant": false, - "id": 535, + "id": 541, "name": "tellerInZone", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4146:61:1", + "scope": 2672, + "src": "4247:61:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -36026,56 +36284,56 @@ "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "typeName": { - "id": 534, + "id": 540, "keyType": { - "id": 529, + "id": 535, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "4154:6:1", + "src": "4255:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "4146:48:1", + "src": "4247:48:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "valueType": { - "id": 533, + "id": 539, "keyType": { - "id": 530, + "id": 536, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4172:7:1", + "src": "4273:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, "nodeType": "Mapping", - "src": "4164:29:1", + "src": "4265:29:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[])" }, "valueType": { "baseType": { - "id": 531, + "id": 537, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4183:7:1", + "src": "4284:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 532, + "id": 538, "length": null, "nodeType": "ArrayTypeName", - "src": "4183:9:1", + "src": "4284:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -36088,11 +36346,11 @@ }, { "constant": false, - "id": 538, + "id": 544, "name": "tellerIndex", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4250:28:1", + "scope": 2672, + "src": "4351:28:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -36101,19 +36359,19 @@ }, "typeName": { "baseType": { - "id": 536, + "id": 542, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4250:7:1", + "src": "4351:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 537, + "id": 543, "length": null, "nodeType": "ArrayTypeName", - "src": "4250:9:1", + "src": "4351:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -36124,11 +36382,11 @@ }, { "constant": false, - "id": 541, + "id": 547, "name": "isStarted", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4325:22:1", + "scope": 2672, + "src": "4426:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -36136,10 +36394,10 @@ "typeString": "bool" }, "typeName": { - "id": 539, + "id": 545, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "4325:4:1", + "src": "4426:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36148,14 +36406,14 @@ "value": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 540, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "4342:5:1", + "src": "4443:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36167,15 +36425,15 @@ }, { "canonicalName": "DetherCore.Shop", - "id": 564, + "id": 570, "members": [ { "constant": false, - "id": 543, + "id": 549, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4386:9:1", + "scope": 570, + "src": "4487:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36183,10 +36441,10 @@ "typeString": "int32" }, "typeName": { - "id": 542, + "id": 548, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "4386:5:1", + "src": "4487:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -36197,11 +36455,11 @@ }, { "constant": false, - "id": 545, + "id": 551, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4424:9:1", + "scope": 570, + "src": "4525:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36209,10 +36467,10 @@ "typeString": "int32" }, "typeName": { - "id": 544, + "id": 550, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "4424:5:1", + "src": "4525:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -36223,11 +36481,11 @@ }, { "constant": false, - "id": 547, + "id": 553, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4463:16:1", + "scope": 570, + "src": "4564:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36235,10 +36493,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 546, + "id": 552, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "4463:6:1", + "src": "4564:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -36249,11 +36507,11 @@ }, { "constant": false, - "id": 549, + "id": 555, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4579:18:1", + "scope": 570, + "src": "4680:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36261,10 +36519,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 548, + "id": 554, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4579:7:1", + "src": "4680:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -36275,11 +36533,11 @@ }, { "constant": false, - "id": 551, + "id": 557, "name": "cat", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4705:11:1", + "scope": 570, + "src": "4806:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36287,10 +36545,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 550, + "id": 556, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4705:7:1", + "src": "4806:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -36301,11 +36559,11 @@ }, { "constant": false, - "id": 553, + "id": 559, "name": "name", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4827:12:1", + "scope": 570, + "src": "4928:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36313,10 +36571,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 552, + "id": 558, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4928:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -36327,11 +36585,11 @@ }, { "constant": false, - "id": 555, + "id": 561, "name": "description", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4887:19:1", + "scope": 570, + "src": "4988:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36339,10 +36597,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 554, + "id": 560, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "4887:7:1", + "src": "4988:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -36353,11 +36611,11 @@ }, { "constant": false, - "id": 557, + "id": 563, "name": "opening", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4940:15:1", + "scope": 570, + "src": "5041:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36365,10 +36623,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 556, + "id": 562, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4940:7:1", + "src": "5041:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -36379,11 +36637,11 @@ }, { "constant": false, - "id": 559, + "id": 565, "name": "zoneIndex", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5010:14:1", + "scope": 570, + "src": "5111:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36391,10 +36649,10 @@ "typeString": "uint256" }, "typeName": { - "id": 558, + "id": 564, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5010:4:1", + "src": "5111:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36405,11 +36663,11 @@ }, { "constant": false, - "id": 561, + "id": 567, "name": "generalIndex", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5065:17:1", + "scope": 570, + "src": "5166:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36417,10 +36675,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 566, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5065:4:1", + "src": "5166:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36431,11 +36689,11 @@ }, { "constant": false, - "id": 563, + "id": 569, "name": "detherShop", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5119:15:1", + "scope": 570, + "src": "5220:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36443,10 +36701,10 @@ "typeString": "bool" }, "typeName": { - "id": 562, + "id": 568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5119:4:1", + "src": "5220:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36458,50 +36716,50 @@ ], "name": "Shop", "nodeType": "StructDefinition", - "scope": 2659, - "src": "4368:861:1", + "scope": 2672, + "src": "4469:861:1", "visibility": "public" }, { "constant": false, - "id": 568, + "id": 574, "name": "shop", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5262:29:1", + "scope": 2672, + "src": "5363:29:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop)" }, "typeName": { - "id": 567, + "id": 573, "keyType": { - "id": 565, + "id": 571, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5270:7:1", + "src": "5371:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "5262:24:1", + "src": "5363:24:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop)" }, "valueType": { "contractScope": null, - "id": 566, + "id": 572, "name": "Shop", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 564, - "src": "5281:4:1", + "referencedDeclaration": 570, + "src": "5382:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" } } @@ -36511,11 +36769,11 @@ }, { "constant": false, - "id": 575, + "id": 581, "name": "shopInZone", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5347:59:1", + "scope": 2672, + "src": "5448:59:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -36523,56 +36781,56 @@ "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "typeName": { - "id": 574, + "id": 580, "keyType": { - "id": 569, + "id": 575, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "5355:6:1", + "src": "5456:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "5347:48:1", + "src": "5448:48:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "valueType": { - "id": 573, + "id": 579, "keyType": { - "id": 570, + "id": 576, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "5373:7:1", + "src": "5474:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, "nodeType": "Mapping", - "src": "5365:29:1", + "src": "5466:29:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[])" }, "valueType": { "baseType": { - "id": 571, + "id": 577, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5384:7:1", + "src": "5485:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 572, + "id": 578, "length": null, "nodeType": "ArrayTypeName", - "src": "5384:9:1", + "src": "5485:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -36585,11 +36843,11 @@ }, { "constant": false, - "id": 578, + "id": 584, "name": "shopIndex", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5447:26:1", + "scope": 2672, + "src": "5548:26:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -36598,19 +36856,19 @@ }, "typeName": { "baseType": { - "id": 576, + "id": 582, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5447:7:1", + "src": "5548:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 577, + "id": 583, "length": null, "nodeType": "ArrayTypeName", - "src": "5447:9:1", + "src": "5548:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -36621,26 +36879,26 @@ }, { "body": { - "id": 586, + "id": 592, "nodeType": "Block", - "src": "5571:33:1", + "src": "5672:33:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 584, + "id": 590, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 581, + "id": 587, "name": "ceoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7, - "src": "5576:10:1", + "src": "5677:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36652,18 +36910,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 582, + "id": 588, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "5589:3:1", + "referencedDeclaration": 3390, + "src": "5690:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 583, + "id": 589, "isConstant": false, "isLValue": false, "isPure": false, @@ -36671,26 +36929,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5589:10:1", + "src": "5690:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "5576:23:1", + "src": "5677:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 585, + "id": 591, "nodeType": "ExpressionStatement", - "src": "5576:23:1" + "src": "5677:23:1" } ] }, "documentation": null, - "id": 587, + "id": 593, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -36698,29 +36956,29 @@ "name": "DetherCore", "nodeType": "FunctionDefinition", "parameters": { - "id": 579, + "id": 585, "nodeType": "ParameterList", "parameters": [], - "src": "5568:2:1" + "src": "5669:2:1" }, "payable": false, "returnParameters": { - "id": 580, + "id": 586, "nodeType": "ParameterList", "parameters": [], - "src": "5571:0:1" + "src": "5672:0:1" }, - "scope": 2659, - "src": "5549:55:1", + "scope": 2672, + "src": "5650:55:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 617, + "id": 623, "nodeType": "Block", - "src": "5676:111:1", + "src": "5777:111:1", "statements": [ { "expression": { @@ -36728,7 +36986,7 @@ "arguments": [ { "argumentTypes": null, - "id": 598, + "id": 604, "isConstant": false, "isLValue": false, "isPure": false, @@ -36736,15 +36994,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "5690:10:1", + "src": "5791:10:1", "subExpression": { "argumentTypes": null, - "id": 597, + "id": 603, "name": "isStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 541, - "src": "5691:9:1", + "referencedDeclaration": 547, + "src": "5792:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36763,21 +37021,21 @@ "typeString": "bool" } ], - "id": 596, + "id": 602, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "5682:7:1", + "referencedDeclaration": 3393, + "src": "5783:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 599, + "id": 605, "isConstant": false, "isLValue": false, "isPure": false, @@ -36785,34 +37043,34 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5682:19:1", + "src": "5783:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 600, + "id": 606, "nodeType": "ExpressionStatement", - "src": "5682:19:1" + "src": "5783:19:1" }, { "expression": { "argumentTypes": null, - "id": 605, + "id": 611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 601, + "id": 607, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "5707:3:1", + "referencedDeclaration": 477, + "src": "5808:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, @@ -36823,12 +37081,12 @@ "arguments": [ { "argumentTypes": null, - "id": 603, + "id": 609, "name": "_dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 589, - "src": "5725:4:1", + "referencedDeclaration": 595, + "src": "5826:4:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36842,18 +37100,18 @@ "typeString": "address" } ], - "id": 602, + "id": 608, "name": "ERC223Basic", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2948, - "src": "5713:11:1", + "referencedDeclaration": 2961, + "src": "5814:11:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC223Basic_$2948_$", + "typeIdentifier": "t_type$_t_contract$_ERC223Basic_$2961_$", "typeString": "type(contract ERC223Basic)" } }, - "id": 604, + "id": 610, "isConstant": false, "isLValue": false, "isPure": false, @@ -36861,38 +37119,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5713:17:1", + "src": "5814:17:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "src": "5707:23:1", + "src": "5808:23:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 606, + "id": 612, "nodeType": "ExpressionStatement", - "src": "5707:23:1" + "src": "5808:23:1" }, { "expression": { "argumentTypes": null, - "id": 611, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 607, + "id": 613, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "5736:4:1", + "referencedDeclaration": 479, + "src": "5837:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -36905,12 +37163,12 @@ "arguments": [ { "argumentTypes": null, - "id": 609, + "id": 615, "name": "_bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 591, - "src": "5754:5:1", + "referencedDeclaration": 597, + "src": "5855:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36924,18 +37182,18 @@ "typeString": "address" } ], - "id": 608, + "id": 614, "name": "DetherBank", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 388, - "src": "5743:10:1", + "src": "5844:10:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_DetherBank_$388_$", "typeString": "type(contract DetherBank)" } }, - "id": 610, + "id": 616, "isConstant": false, "isLValue": false, "isPure": false, @@ -36943,38 +37201,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5743:17:1", + "src": "5844:17:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "src": "5736:24:1", + "src": "5837:24:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 612, + "id": 618, "nodeType": "ExpressionStatement", - "src": "5736:24:1" + "src": "5837:24:1" }, { "expression": { "argumentTypes": null, - "id": 615, + "id": 621, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 613, + "id": 619, "name": "isStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 541, - "src": "5766:9:1", + "referencedDeclaration": 547, + "src": "5867:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36985,14 +37243,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 614, + "id": 620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5778:4:1", + "src": "5879:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -37000,57 +37258,57 @@ }, "value": "true" }, - "src": "5766:16:1", + "src": "5867:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 616, + "id": 622, "nodeType": "ExpressionStatement", - "src": "5766:16:1" + "src": "5867:16:1" } ] }, "documentation": null, - "id": 618, + "id": 624, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 594, + "id": 600, "modifierName": { "argumentTypes": null, - "id": 593, + "id": 599, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 35, - "src": "5668:7:1", + "src": "5769:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5668:7:1" + "src": "5769:7:1" } ], "name": "initContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 592, + "id": 598, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 589, + "id": 595, "name": "_dth", "nodeType": "VariableDeclaration", - "scope": 618, - "src": "5630:12:1", + "scope": 624, + "src": "5731:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37058,10 +37316,10 @@ "typeString": "address" }, "typeName": { - "id": 588, + "id": 594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5630:7:1", + "src": "5731:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37072,11 +37330,11 @@ }, { "constant": false, - "id": 591, + "id": 597, "name": "_bank", "nodeType": "VariableDeclaration", - "scope": 618, - "src": "5644:13:1", + "scope": 624, + "src": "5745:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37084,10 +37342,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 596, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5644:7:1", + "src": "5745:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37097,43 +37355,43 @@ "visibility": "internal" } ], - "src": "5629:29:1" + "src": "5730:29:1" }, "payable": false, "returnParameters": { - "id": 595, + "id": 601, "nodeType": "ParameterList", "parameters": [], - "src": "5676:0:1" + "src": "5777:0:1" }, - "scope": 2659, - "src": "5607:180:1", + "scope": 2672, + "src": "5708:180:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 631, + "id": 637, "nodeType": "Block", - "src": "5855:57:1", + "src": "5956:57:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 629, + "id": 635, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 625, + "id": 631, "name": "priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 475, - "src": "5861:11:1", + "referencedDeclaration": 481, + "src": "5962:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" @@ -37146,12 +37404,12 @@ "arguments": [ { "argumentTypes": null, - "id": 627, + "id": 633, "name": "_priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 620, - "src": "5894:12:1", + "referencedDeclaration": 626, + "src": "5995:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37165,18 +37423,18 @@ "typeString": "address" } ], - "id": 626, + "id": 632, "name": "ExchangeRateOracle", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 300, - "src": "5875:18:1", + "src": "5976:18:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_ExchangeRateOracle_$300_$", "typeString": "type(contract ExchangeRateOracle)" } }, - "id": 628, + "id": 634, "isConstant": false, "isLValue": false, "isPure": false, @@ -37184,63 +37442,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5875:32:1", + "src": "5976:32:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "src": "5861:46:1", + "src": "5962:46:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "id": 630, + "id": 636, "nodeType": "ExpressionStatement", - "src": "5861:46:1" + "src": "5962:46:1" } ] }, "documentation": null, - "id": 632, + "id": 638, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 623, + "id": 629, "modifierName": { "argumentTypes": null, - "id": 622, + "id": 628, "name": "onlyCFO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "5847:7:1", + "src": "5948:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5847:7:1" + "src": "5948:7:1" } ], "name": "setPriceOracle", "nodeType": "FunctionDefinition", "parameters": { - "id": 621, + "id": 627, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 620, + "id": 626, "name": "_priceOracle", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5816:20:1", + "scope": 638, + "src": "5917:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37248,10 +37506,10 @@ "typeString": "address" }, "typeName": { - "id": 619, + "id": 625, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5816:7:1", + "src": "5917:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37261,26 +37519,26 @@ "visibility": "internal" } ], - "src": "5815:22:1" + "src": "5916:22:1" }, "payable": false, "returnParameters": { - "id": 624, + "id": 630, "nodeType": "ParameterList", "parameters": [], - "src": "5855:0:1" + "src": "5956:0:1" }, - "scope": 2659, - "src": "5791:121:1", + "scope": 2672, + "src": "5892:121:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1269, + "id": 1275, "nodeType": "Block", - "src": "6651:4338:1", + "src": "6752:4338:1", "statements": [ { "expression": { @@ -37292,7 +37550,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 652, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -37301,18 +37559,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 647, + "id": 653, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "6745:3:1", + "referencedDeclaration": 3390, + "src": "6846:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 648, + "id": 654, "isConstant": false, "isLValue": false, "isPure": false, @@ -37320,7 +37578,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6745:10:1", + "src": "6846:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37333,14 +37591,14 @@ "arguments": [ { "argumentTypes": null, - "id": 650, + "id": 656, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "6767:3:1", + "referencedDeclaration": 477, + "src": "6868:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } } @@ -37348,24 +37606,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } ], - "id": 649, + "id": 655, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6759:7:1", + "src": "6860:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 651, + "id": 657, "isConstant": false, "isLValue": false, "isPure": false, @@ -37373,13 +37631,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6759:12:1", + "src": "6860:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "6745:26:1", + "src": "6846:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37393,21 +37651,21 @@ "typeString": "bool" } ], - "id": 646, + "id": 652, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "6737:7:1", + "referencedDeclaration": 3393, + "src": "6838:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 653, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, @@ -37415,28 +37673,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6737:35:1", + "src": "6838:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 654, + "id": 660, "nodeType": "ExpressionStatement", - "src": "6737:35:1" + "src": "6838:35:1" }, { "assignments": [ - 656 + 662 ], "declarations": [ { "constant": false, - "id": 656, + "id": 662, "name": "_func", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6889:12:1", + "scope": 1276, + "src": "6990:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37444,10 +37702,10 @@ "typeString": "bytes1" }, "typeName": { - "id": 655, + "id": 661, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "6889:6:1", + "src": "6990:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -37457,21 +37715,21 @@ "visibility": "internal" } ], - "id": 661, + "id": 667, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", - "id": 659, + "id": 665, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6919:1:1", + "src": "7020:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -37489,32 +37747,32 @@ ], "expression": { "argumentTypes": null, - "id": 657, + "id": 663, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6904:5:1", + "referencedDeclaration": 644, + "src": "7005:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 658, + "id": 664, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "6904:14:1", + "referencedDeclaration": 3308, + "src": "7005:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 660, + "id": 666, "isConstant": false, "isLValue": false, "isPure": false, @@ -37522,27 +37780,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6904:17:1", + "src": "7005:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "nodeType": "VariableDeclarationStatement", - "src": "6889:32:1" + "src": "6990:32:1" }, { "assignments": [ - 663 + 669 ], "declarations": [ { "constant": false, - "id": 663, + "id": 669, "name": "posLat", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6927:12:1", + "scope": 1276, + "src": "7028:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37550,10 +37808,10 @@ "typeString": "int32" }, "typeName": { - "id": 662, + "id": 668, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "6927:5:1", + "src": "7028:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -37563,7 +37821,7 @@ "visibility": "internal" } ], - "id": 688, + "id": 694, "initialValue": { "argumentTypes": null, "condition": { @@ -37572,7 +37830,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 671, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -37583,14 +37841,14 @@ { "argumentTypes": null, "hexValue": "31", - "id": 666, + "id": 672, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6957:1:1", + "src": "7058:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -37608,32 +37866,32 @@ ], "expression": { "argumentTypes": null, - "id": 664, + "id": 670, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6942:5:1", + "referencedDeclaration": 644, + "src": "7043:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 665, + "id": 671, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "6942:14:1", + "referencedDeclaration": 3308, + "src": "7043:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 667, + "id": 673, "isConstant": false, "isLValue": false, "isPure": false, @@ -37641,7 +37899,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6942:17:1", + "src": "7043:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -37655,14 +37913,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 669, + "id": 675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6970:4:1", + "src": "7071:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -37678,20 +37936,20 @@ "typeString": "int_const 1" } ], - "id": 668, + "id": 674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6963:6:1", + "src": "7064:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 670, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, @@ -37699,13 +37957,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6963:12:1", + "src": "7064:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "6942:33:1", + "src": "7043:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37720,14 +37978,14 @@ { "argumentTypes": null, "hexValue": "32", - "id": 684, + "id": 690, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7031:1:1", + "src": "7132:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -37745,32 +38003,32 @@ ], "expression": { "argumentTypes": null, - "id": 682, + "id": 688, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7016:5:1", + "referencedDeclaration": 644, + "src": "7117:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 683, + "id": 689, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7016:14:1", + "referencedDeclaration": 3282, + "src": "7117:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 685, + "id": 691, "isConstant": false, "isLValue": false, "isPure": false, @@ -37778,7 +38036,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7016:17:1", + "src": "7117:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -37792,20 +38050,20 @@ "typeString": "bytes4" } ], - "id": 681, + "id": 687, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7010:5:1", + "src": "7111:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 686, + "id": 692, "isConstant": false, "isLValue": false, "isPure": false, @@ -37813,26 +38071,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7010:24:1", + "src": "7111:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 687, + "id": 693, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "6942:92:1", + "src": "7043:92:1", "trueExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_int32", "typeString": "int32" }, - "id": 680, + "id": 686, "isConstant": false, "isLValue": false, "isPure": false, @@ -37846,14 +38104,14 @@ { "argumentTypes": null, "hexValue": "32", - "id": 675, + "id": 681, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6999:1:1", + "src": "7100:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -37871,32 +38129,32 @@ ], "expression": { "argumentTypes": null, - "id": 673, + "id": 679, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6984:5:1", + "referencedDeclaration": 644, + "src": "7085:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 674, + "id": 680, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "6984:14:1", + "referencedDeclaration": 3282, + "src": "7085:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 676, + "id": 682, "isConstant": false, "isLValue": false, "isPure": false, @@ -37904,7 +38162,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6984:17:1", + "src": "7085:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -37918,20 +38176,20 @@ "typeString": "bytes4" } ], - "id": 672, + "id": 678, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6978:5:1", + "src": "7079:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 677, + "id": 683, "isConstant": false, "isLValue": false, "isPure": false, @@ -37939,7 +38197,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6978:24:1", + "src": "7079:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -37949,7 +38207,7 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 679, + "id": 685, "isConstant": false, "isLValue": false, "isPure": true, @@ -37957,18 +38215,18 @@ "nodeType": "UnaryOperation", "operator": "-", "prefix": true, - "src": "7005:2:1", + "src": "7106:2:1", "subExpression": { "argumentTypes": null, "hexValue": "31", - "id": 678, + "id": 684, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7006:1:1", + "src": "7107:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -37981,7 +38239,7 @@ "typeString": "int_const -1" } }, - "src": "6978:29:1", + "src": "7079:29:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -37993,20 +38251,20 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "6927:107:1" + "src": "7028:107:1" }, { "assignments": [ - 690 + 696 ], "declarations": [ { "constant": false, - "id": 690, + "id": 696, "name": "posLng", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "7040:12:1", + "scope": 1276, + "src": "7141:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -38014,10 +38272,10 @@ "typeString": "int32" }, "typeName": { - "id": 689, + "id": 695, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "7040:5:1", + "src": "7141:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -38027,7 +38285,7 @@ "visibility": "internal" } ], - "id": 715, + "id": 721, "initialValue": { "argumentTypes": null, "condition": { @@ -38036,7 +38294,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 698, + "id": 704, "isConstant": false, "isLValue": false, "isPure": false, @@ -38047,14 +38305,14 @@ { "argumentTypes": null, "hexValue": "36", - "id": 693, + "id": 699, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7070:1:1", + "src": "7171:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_6_by_1", @@ -38072,32 +38330,32 @@ ], "expression": { "argumentTypes": null, - "id": 691, + "id": 697, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7055:5:1", + "referencedDeclaration": 644, + "src": "7156:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 692, + "id": 698, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "7055:14:1", + "referencedDeclaration": 3308, + "src": "7156:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 694, + "id": 700, "isConstant": false, "isLValue": false, "isPure": false, @@ -38105,7 +38363,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7055:17:1", + "src": "7156:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -38119,14 +38377,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 696, + "id": 702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7083:4:1", + "src": "7184:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -38142,20 +38400,20 @@ "typeString": "int_const 1" } ], - "id": 695, + "id": 701, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7076:6:1", + "src": "7177:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 697, + "id": 703, "isConstant": false, "isLValue": false, "isPure": true, @@ -38163,13 +38421,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7076:12:1", + "src": "7177:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "7055:33:1", + "src": "7156:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -38184,14 +38442,14 @@ { "argumentTypes": null, "hexValue": "37", - "id": 711, + "id": 717, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7144:1:1", + "src": "7245:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_7_by_1", @@ -38209,32 +38467,32 @@ ], "expression": { "argumentTypes": null, - "id": 709, + "id": 715, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7129:5:1", + "referencedDeclaration": 644, + "src": "7230:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 710, + "id": 716, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7129:14:1", + "referencedDeclaration": 3282, + "src": "7230:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 712, + "id": 718, "isConstant": false, "isLValue": false, "isPure": false, @@ -38242,7 +38500,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7129:17:1", + "src": "7230:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -38256,20 +38514,20 @@ "typeString": "bytes4" } ], - "id": 708, + "id": 714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7123:5:1", + "src": "7224:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 713, + "id": 719, "isConstant": false, "isLValue": false, "isPure": false, @@ -38277,26 +38535,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7123:24:1", + "src": "7224:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 714, + "id": 720, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "7055:92:1", + "src": "7156:92:1", "trueExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_int32", "typeString": "int32" }, - "id": 707, + "id": 713, "isConstant": false, "isLValue": false, "isPure": false, @@ -38310,14 +38568,14 @@ { "argumentTypes": null, "hexValue": "37", - "id": 702, + "id": 708, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7112:1:1", + "src": "7213:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_7_by_1", @@ -38335,32 +38593,32 @@ ], "expression": { "argumentTypes": null, - "id": 700, + "id": 706, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7097:5:1", + "referencedDeclaration": 644, + "src": "7198:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 701, + "id": 707, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7097:14:1", + "referencedDeclaration": 3282, + "src": "7198:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 703, + "id": 709, "isConstant": false, "isLValue": false, "isPure": false, @@ -38368,7 +38626,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7097:17:1", + "src": "7198:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -38382,20 +38640,20 @@ "typeString": "bytes4" } ], - "id": 699, + "id": 705, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7091:5:1", + "src": "7192:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 704, + "id": 710, "isConstant": false, "isLValue": false, "isPure": false, @@ -38403,7 +38661,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7091:24:1", + "src": "7192:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -38413,7 +38671,7 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 706, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, @@ -38421,18 +38679,18 @@ "nodeType": "UnaryOperation", "operator": "-", "prefix": true, - "src": "7118:2:1", + "src": "7219:2:1", "subExpression": { "argumentTypes": null, "hexValue": "31", - "id": 705, + "id": 711, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7119:1:1", + "src": "7220:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -38445,7 +38703,7 @@ "typeString": "int_const -1" } }, - "src": "7091:29:1", + "src": "7192:29:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -38457,7 +38715,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "7040:107:1" + "src": "7141:107:1" }, { "condition": { @@ -38466,19 +38724,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 720, + "id": 726, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 716, + "id": 722, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "7157:5:1", + "referencedDeclaration": 662, + "src": "7258:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -38492,14 +38750,14 @@ { "argumentTypes": null, "hexValue": "30783331", - "id": 718, + "id": 724, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7173:4:1", + "src": "7274:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", @@ -38515,20 +38773,20 @@ "typeString": "int_const 49" } ], - "id": 717, + "id": 723, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7166:6:1", + "src": "7267:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 719, + "id": 725, "isConstant": false, "isLValue": false, "isPure": true, @@ -38536,13 +38794,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7166:12:1", + "src": "7267:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "7157:21:1", + "src": "7258:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -38555,19 +38813,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 881, + "id": 887, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 877, + "id": 883, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "8132:5:1", + "referencedDeclaration": 662, + "src": "8233:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -38581,14 +38839,14 @@ { "argumentTypes": null, "hexValue": "30783332", - "id": 879, + "id": 885, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8148:4:1", + "src": "8249:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", @@ -38604,20 +38862,20 @@ "typeString": "int_const 50" } ], - "id": 878, + "id": 884, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8141:6:1", + "src": "8242:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 880, + "id": 886, "isConstant": false, "isLValue": false, "isPure": true, @@ -38625,13 +38883,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8141:12:1", + "src": "8242:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "8132:21:1", + "src": "8233:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -38644,19 +38902,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 1084, + "id": 1090, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1080, + "id": 1086, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "9342:5:1", + "referencedDeclaration": 662, + "src": "9443:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -38670,14 +38928,14 @@ { "argumentTypes": null, "hexValue": "30783333", - "id": 1082, + "id": 1088, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9358:4:1", + "src": "9459:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_51_by_1", @@ -38693,20 +38951,20 @@ "typeString": "int_const 51" } ], - "id": 1081, + "id": 1087, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "9351:6:1", + "src": "9452:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 1083, + "id": 1089, "isConstant": false, "isLValue": false, "isPure": true, @@ -38714,26 +38972,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9351:12:1", + "src": "9452:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "9342:21:1", + "src": "9443:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1266, + "id": 1272, "nodeType": "IfStatement", - "src": "9338:1647:1", + "src": "9439:1647:1", "trueBody": { - "id": 1265, + "id": 1271, "nodeType": "Block", - "src": "9365:1620:1", + "src": "9466:1620:1", "statements": [ { "expression": { @@ -38745,19 +39003,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1088, + "id": 1094, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1086, + "id": 1092, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9803:5:1", + "referencedDeclaration": 640, + "src": "9904:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -38767,18 +39025,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1087, + "id": 1093, "name": "csoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "9812:10:1", + "src": "9913:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "9803:19:1", + "src": "9904:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -38792,21 +39050,21 @@ "typeString": "bool" } ], - "id": 1085, + "id": 1091, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9795:7:1", + "referencedDeclaration": 3393, + "src": "9896:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1089, + "id": 1095, "isConstant": false, "isLValue": false, "isPure": false, @@ -38814,15 +39072,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9795:28:1", + "src": "9896:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1090, + "id": 1096, "nodeType": "ExpressionStatement", - "src": "9795:28:1" + "src": "9896:28:1" }, { "expression": { @@ -38834,19 +39092,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1099, + "id": 1105, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1092, + "id": 1098, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9885:6:1", + "referencedDeclaration": 642, + "src": "9986:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -38858,32 +39116,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1093, + "id": 1099, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, - "src": "9895:11:1", + "referencedDeclaration": 2701, + "src": "9996:11:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1098, + "id": 1104, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1096, + "id": 1102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9922:2:1", + "src": "10023:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -38901,32 +39159,32 @@ ], "expression": { "argumentTypes": null, - "id": 1094, + "id": 1100, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9907:5:1", + "referencedDeclaration": 644, + "src": "10008:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1095, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "9907:14:1", + "referencedDeclaration": 3256, + "src": "10008:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1097, + "id": 1103, "isConstant": false, "isLValue": false, "isPure": false, @@ -38934,7 +39192,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9907:18:1", + "src": "10008:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -38945,13 +39203,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9895:31:1", + "src": "9996:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9885:41:1", + "src": "9986:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -38965,21 +39223,21 @@ "typeString": "bool" } ], - "id": 1091, + "id": 1097, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9877:7:1", + "referencedDeclaration": 3393, + "src": "9978:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1100, + "id": 1106, "isConstant": false, "isLValue": false, "isPure": false, @@ -38987,15 +39245,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9877:50:1", + "src": "9978:50:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1101, + "id": 1107, "nodeType": "ExpressionStatement", - "src": "9877:50:1" + "src": "9978:50:1" }, { "expression": { @@ -39003,7 +39261,7 @@ "arguments": [ { "argumentTypes": null, - "id": 1111, + "id": 1117, "isConstant": false, "isLValue": false, "isPure": false, @@ -39011,7 +39269,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "9997:38:1", + "src": "10098:38:1", "subExpression": { "argumentTypes": null, "arguments": [ @@ -39024,14 +39282,14 @@ { "argumentTypes": null, "hexValue": "313039", - "id": 1107, + "id": 1113, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10029:3:1", + "src": "10130:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109_by_1", @@ -39049,32 +39307,32 @@ ], "expression": { "argumentTypes": null, - "id": 1105, + "id": 1111, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10013:5:1", + "referencedDeclaration": 644, + "src": "10114:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1106, + "id": 1112, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3139, - "src": "10013:15:1", + "referencedDeclaration": 3152, + "src": "10114:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (address)" } }, - "id": 1108, + "id": 1114, "isConstant": false, "isLValue": false, "isPure": false, @@ -39082,7 +39340,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10013:20:1", + "src": "10114:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39096,20 +39354,20 @@ "typeString": "address" } ], - "id": 1104, + "id": 1110, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10005:7:1", + "src": "10106:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1109, + "id": 1115, "isConstant": false, "isLValue": false, "isPure": false, @@ -39117,7 +39375,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10005:29:1", + "src": "10106:29:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39131,18 +39389,18 @@ "typeString": "address" } ], - "id": 1103, + "id": 1109, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "9998:6:1", + "referencedDeclaration": 2585, + "src": "10099:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1110, + "id": 1116, "isConstant": false, "isLValue": false, "isPure": false, @@ -39150,7 +39408,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9998:37:1", + "src": "10099:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -39169,21 +39427,21 @@ "typeString": "bool" } ], - "id": 1102, + "id": 1108, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9989:7:1", + "referencedDeclaration": 3393, + "src": "10090:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1112, + "id": 1118, "isConstant": false, "isLValue": false, "isPure": false, @@ -39191,15 +39449,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9989:47:1", + "src": "10090:47:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1113, + "id": 1119, "nodeType": "ExpressionStatement", - "src": "9989:47:1" + "src": "10090:47:1" }, { "expression": { @@ -39209,32 +39467,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1115, + "id": 1121, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "10082:17:1", + "referencedDeclaration": 2693, + "src": "10183:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 1120, + "id": 1126, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1118, + "id": 1124, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10115:2:1", + "src": "10216:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -39252,32 +39510,32 @@ ], "expression": { "argumentTypes": null, - "id": 1116, + "id": 1122, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10100:5:1", + "referencedDeclaration": 644, + "src": "10201:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1117, + "id": 1123, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10100:14:1", + "referencedDeclaration": 3256, + "src": "10201:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1119, + "id": 1125, "isConstant": false, "isLValue": false, "isPure": false, @@ -39285,7 +39543,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10100:18:1", + "src": "10201:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -39296,7 +39554,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10082:37:1", + "src": "10183:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -39310,21 +39568,21 @@ "typeString": "bool" } ], - "id": 1114, + "id": 1120, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "10074:7:1", + "referencedDeclaration": 3393, + "src": "10175:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1121, + "id": 1127, "isConstant": false, "isLValue": false, "isPure": false, @@ -39332,28 +39590,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10074:46:1", + "src": "10175:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1122, + "id": 1128, "nodeType": "ExpressionStatement", - "src": "10074:46:1" + "src": "10175:46:1" }, { "assignments": [ - 1124 + 1130 ], "declarations": [ { "constant": false, - "id": 1124, + "id": 1130, "name": "newShopAddress", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "10128:22:1", + "scope": 1276, + "src": "10229:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -39361,10 +39619,10 @@ "typeString": "address" }, "typeName": { - "id": 1123, + "id": 1129, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10128:7:1", + "src": "10229:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39374,21 +39632,21 @@ "visibility": "internal" } ], - "id": 1129, + "id": 1135, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "313039", - "id": 1127, + "id": 1133, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10169:3:1", + "src": "10270:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109_by_1", @@ -39406,32 +39664,32 @@ ], "expression": { "argumentTypes": null, - "id": 1125, + "id": 1131, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10153:5:1", + "referencedDeclaration": 644, + "src": "10254:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1126, + "id": 1132, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3139, - "src": "10153:15:1", + "referencedDeclaration": 3152, + "src": "10254:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (address)" } }, - "id": 1128, + "id": 1134, "isConstant": false, "isLValue": false, "isPure": false, @@ -39439,19 +39697,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10153:20:1", + "src": "10254:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "10128:45:1" + "src": "10229:45:1" }, { "expression": { "argumentTypes": null, - "id": 1135, + "id": 1141, "isConstant": false, "isLValue": false, "isPure": false, @@ -39462,26 +39720,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1130, + "id": 1136, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10181:4:1", + "referencedDeclaration": 574, + "src": "10282:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1132, + "id": 1138, "indexExpression": { "argumentTypes": null, - "id": 1131, + "id": 1137, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10186:14:1", + "referencedDeclaration": 1130, + "src": "10287:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39492,21 +39750,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10181:20:1", + "src": "10282:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1133, + "id": 1139, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "10181:24:1", + "referencedDeclaration": 549, + "src": "10282:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -39516,31 +39774,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1134, + "id": 1140, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "10208:6:1", + "referencedDeclaration": 669, + "src": "10309:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "10181:33:1", + "src": "10282:33:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 1136, + "id": 1142, "nodeType": "ExpressionStatement", - "src": "10181:33:1" + "src": "10282:33:1" }, { "expression": { "argumentTypes": null, - "id": 1142, + "id": 1148, "isConstant": false, "isLValue": false, "isPure": false, @@ -39551,26 +39809,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1137, + "id": 1143, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10222:4:1", + "referencedDeclaration": 574, + "src": "10323:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1139, + "id": 1145, "indexExpression": { "argumentTypes": null, - "id": 1138, + "id": 1144, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10227:14:1", + "referencedDeclaration": 1130, + "src": "10328:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39581,21 +39839,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10222:20:1", + "src": "10323:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1140, + "id": 1146, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "10222:24:1", + "referencedDeclaration": 551, + "src": "10323:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -39605,31 +39863,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1141, + "id": 1147, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "10249:6:1", + "referencedDeclaration": 696, + "src": "10350:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "10222:33:1", + "src": "10323:33:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 1143, + "id": 1149, "nodeType": "ExpressionStatement", - "src": "10222:33:1" + "src": "10323:33:1" }, { "expression": { "argumentTypes": null, - "id": 1152, + "id": 1158, "isConstant": false, "isLValue": false, "isPure": false, @@ -39640,26 +39898,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1144, + "id": 1150, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10263:4:1", + "referencedDeclaration": 574, + "src": "10364:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1146, + "id": 1152, "indexExpression": { "argumentTypes": null, - "id": 1145, + "id": 1151, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10268:14:1", + "referencedDeclaration": 1130, + "src": "10369:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39670,21 +39928,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10263:20:1", + "src": "10364:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1147, + "id": 1153, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "10263:30:1", + "referencedDeclaration": 553, + "src": "10364:30:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -39698,14 +39956,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 1150, + "id": 1156, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10311:2:1", + "src": "10412:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -39723,32 +39981,32 @@ ], "expression": { "argumentTypes": null, - "id": 1148, + "id": 1154, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10296:5:1", + "referencedDeclaration": 644, + "src": "10397:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1149, + "id": 1155, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10296:14:1", + "referencedDeclaration": 3256, + "src": "10397:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1151, + "id": 1157, "isConstant": false, "isLValue": false, "isPure": false, @@ -39756,26 +40014,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10296:18:1", + "src": "10397:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "10263:51:1", + "src": "10364:51:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 1153, + "id": 1159, "nodeType": "ExpressionStatement", - "src": "10263:51:1" + "src": "10364:51:1" }, { "expression": { "argumentTypes": null, - "id": 1162, + "id": 1168, "isConstant": false, "isLValue": false, "isPure": false, @@ -39786,26 +40044,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1154, + "id": 1160, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10322:4:1", + "referencedDeclaration": 574, + "src": "10423:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1156, + "id": 1162, "indexExpression": { "argumentTypes": null, - "id": 1155, + "id": 1161, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10327:14:1", + "referencedDeclaration": 1130, + "src": "10428:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39816,21 +40074,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10322:20:1", + "src": "10423:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1157, + "id": 1163, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "10322:31:1", + "referencedDeclaration": 555, + "src": "10423:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -39844,14 +40102,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 1160, + "id": 1166, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10372:2:1", + "src": "10473:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -39869,32 +40127,32 @@ ], "expression": { "argumentTypes": null, - "id": 1158, + "id": 1164, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10356:5:1", + "referencedDeclaration": 644, + "src": "10457:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1159, + "id": 1165, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10356:15:1", + "referencedDeclaration": 3230, + "src": "10457:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1161, + "id": 1167, "isConstant": false, "isLValue": false, "isPure": false, @@ -39902,26 +40160,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10356:19:1", + "src": "10457:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10322:53:1", + "src": "10423:53:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1163, + "id": 1169, "nodeType": "ExpressionStatement", - "src": "10322:53:1" + "src": "10423:53:1" }, { "expression": { "argumentTypes": null, - "id": 1172, + "id": 1178, "isConstant": false, "isLValue": false, "isPure": false, @@ -39932,26 +40190,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1164, + "id": 1170, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10383:4:1", + "referencedDeclaration": 574, + "src": "10484:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1166, + "id": 1172, "indexExpression": { "argumentTypes": null, - "id": 1165, + "id": 1171, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10388:14:1", + "referencedDeclaration": 1130, + "src": "10489:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39962,21 +40220,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10383:20:1", + "src": "10484:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1167, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "10383:24:1", + "referencedDeclaration": 557, + "src": "10484:24:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -39990,14 +40248,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 1170, + "id": 1176, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10426:2:1", + "src": "10527:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -40015,32 +40273,32 @@ ], "expression": { "argumentTypes": null, - "id": 1168, + "id": 1174, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10410:5:1", + "referencedDeclaration": 644, + "src": "10511:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1169, + "id": 1175, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10410:15:1", + "referencedDeclaration": 3230, + "src": "10511:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1171, + "id": 1177, "isConstant": false, "isLValue": false, "isPure": false, @@ -40048,26 +40306,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10410:19:1", + "src": "10511:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10383:46:1", + "src": "10484:46:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1173, + "id": 1179, "nodeType": "ExpressionStatement", - "src": "10383:46:1" + "src": "10484:46:1" }, { "expression": { "argumentTypes": null, - "id": 1182, + "id": 1188, "isConstant": false, "isLValue": false, "isPure": false, @@ -40078,26 +40336,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1174, + "id": 1180, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10437:4:1", + "referencedDeclaration": 574, + "src": "10538:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1176, + "id": 1182, "indexExpression": { "argumentTypes": null, - "id": 1175, + "id": 1181, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10442:14:1", + "referencedDeclaration": 1130, + "src": "10543:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40108,21 +40366,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10437:20:1", + "src": "10538:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1177, + "id": 1183, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "10437:25:1", + "referencedDeclaration": 559, + "src": "10538:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -40136,14 +40394,14 @@ { "argumentTypes": null, "hexValue": "3435", - "id": 1180, + "id": 1186, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10481:2:1", + "src": "10582:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_45_by_1", @@ -40161,32 +40419,32 @@ ], "expression": { "argumentTypes": null, - "id": 1178, + "id": 1184, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10465:5:1", + "referencedDeclaration": 644, + "src": "10566:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1179, + "id": 1185, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10465:15:1", + "referencedDeclaration": 3230, + "src": "10566:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1181, + "id": 1187, "isConstant": false, "isLValue": false, "isPure": false, @@ -40194,26 +40452,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10465:19:1", + "src": "10566:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10437:47:1", + "src": "10538:47:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1183, + "id": 1189, "nodeType": "ExpressionStatement", - "src": "10437:47:1" + "src": "10538:47:1" }, { "expression": { "argumentTypes": null, - "id": 1192, + "id": 1198, "isConstant": false, "isLValue": false, "isPure": false, @@ -40224,26 +40482,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1184, + "id": 1190, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10492:4:1", + "referencedDeclaration": 574, + "src": "10593:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1186, + "id": 1192, "indexExpression": { "argumentTypes": null, - "id": 1185, + "id": 1191, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10497:14:1", + "referencedDeclaration": 1130, + "src": "10598:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40254,21 +40512,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10492:20:1", + "src": "10593:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1187, + "id": 1193, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "10492:32:1", + "referencedDeclaration": 561, + "src": "10593:32:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -40282,14 +40540,14 @@ { "argumentTypes": null, "hexValue": "3631", - "id": 1190, + "id": 1196, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10543:2:1", + "src": "10644:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_61_by_1", @@ -40307,32 +40565,32 @@ ], "expression": { "argumentTypes": null, - "id": 1188, + "id": 1194, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10527:5:1", + "referencedDeclaration": 644, + "src": "10628:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1189, + "id": 1195, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes32", "nodeType": "MemberAccess", - "referencedDeclaration": 3191, - "src": "10527:15:1", + "referencedDeclaration": 3204, + "src": "10628:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes32)" } }, - "id": 1191, + "id": 1197, "isConstant": false, "isLValue": false, "isPure": false, @@ -40340,26 +40598,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10527:19:1", + "src": "10628:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "10492:54:1", + "src": "10593:54:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1193, + "id": 1199, "nodeType": "ExpressionStatement", - "src": "10492:54:1" + "src": "10593:54:1" }, { "expression": { "argumentTypes": null, - "id": 1202, + "id": 1208, "isConstant": false, "isLValue": false, "isPure": false, @@ -40370,26 +40628,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1194, + "id": 1200, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10554:4:1", + "referencedDeclaration": 574, + "src": "10655:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1196, + "id": 1202, "indexExpression": { "argumentTypes": null, - "id": 1195, + "id": 1201, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10559:14:1", + "referencedDeclaration": 1130, + "src": "10660:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40400,21 +40658,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10554:20:1", + "src": "10655:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1197, + "id": 1203, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "10554:28:1", + "referencedDeclaration": 563, + "src": "10655:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -40428,14 +40686,14 @@ { "argumentTypes": null, "hexValue": "3933", - "id": 1200, + "id": 1206, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10601:2:1", + "src": "10702:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_93_by_1", @@ -40453,32 +40711,32 @@ ], "expression": { "argumentTypes": null, - "id": 1198, + "id": 1204, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10585:5:1", + "referencedDeclaration": 644, + "src": "10686:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1199, + "id": 1205, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10585:15:1", + "referencedDeclaration": 3230, + "src": "10686:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1201, + "id": 1207, "isConstant": false, "isLValue": false, "isPure": false, @@ -40486,26 +40744,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10585:19:1", + "src": "10686:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10554:50:1", + "src": "10655:50:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1203, + "id": 1209, "nodeType": "ExpressionStatement", - "src": "10554:50:1" + "src": "10655:50:1" }, { "expression": { "argumentTypes": null, - "id": 1214, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -40516,26 +40774,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1204, + "id": 1210, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10612:4:1", + "referencedDeclaration": 574, + "src": "10713:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1206, + "id": 1212, "indexExpression": { "argumentTypes": null, - "id": 1205, + "id": 1211, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10617:14:1", + "referencedDeclaration": 1130, + "src": "10718:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40546,21 +40804,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10612:20:1", + "src": "10713:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1207, + "id": 1213, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "10612:33:1", + "referencedDeclaration": 567, + "src": "10713:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -40574,7 +40832,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1213, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -40584,12 +40842,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1210, + "id": 1216, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10663:14:1", + "referencedDeclaration": 1130, + "src": "10764:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40605,18 +40863,18 @@ ], "expression": { "argumentTypes": null, - "id": 1208, + "id": 1214, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "10648:9:1", + "referencedDeclaration": 584, + "src": "10749:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1209, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": false, @@ -40624,13 +40882,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10648:14:1", + "src": "10749:14:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1211, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -40638,7 +40896,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10648:30:1", + "src": "10749:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -40649,14 +40907,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1212, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10681:1:1", + "src": "10782:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -40664,26 +40922,26 @@ }, "value": "1" }, - "src": "10648:34:1", + "src": "10749:34:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10612:70:1", + "src": "10713:70:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1215, + "id": 1221, "nodeType": "ExpressionStatement", - "src": "10612:70:1" + "src": "10713:70:1" }, { "expression": { "argumentTypes": null, - "id": 1236, + "id": 1242, "isConstant": false, "isLValue": false, "isPure": false, @@ -40694,26 +40952,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1216, + "id": 1222, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10690:4:1", + "referencedDeclaration": 574, + "src": "10791:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1218, + "id": 1224, "indexExpression": { "argumentTypes": null, - "id": 1217, + "id": 1223, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10695:14:1", + "referencedDeclaration": 1130, + "src": "10796:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40724,21 +40982,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10690:20:1", + "src": "10791:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1219, + "id": 1225, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "10690:30:1", + "referencedDeclaration": 565, + "src": "10791:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -40752,7 +41010,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1235, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": false, @@ -40762,12 +41020,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1232, + "id": 1238, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10780:14:1", + "referencedDeclaration": 1130, + "src": "10881:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40787,32 +41045,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1220, + "id": 1226, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "10723:10:1", + "referencedDeclaration": 581, + "src": "10824:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1225, + "id": 1231, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1223, + "id": 1229, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10749:2:1", + "src": "10850:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -40830,32 +41088,32 @@ ], "expression": { "argumentTypes": null, - "id": 1221, + "id": 1227, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10734:5:1", + "referencedDeclaration": 644, + "src": "10835:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1222, + "id": 1228, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10734:14:1", + "referencedDeclaration": 3256, + "src": "10835:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1224, + "id": 1230, "isConstant": false, "isLValue": false, "isPure": false, @@ -40863,7 +41121,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10734:18:1", + "src": "10835:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -40874,27 +41132,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10723:30:1", + "src": "10824:30:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1230, + "id": 1236, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 1228, + "id": 1234, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10770:2:1", + "src": "10871:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -40912,32 +41170,32 @@ ], "expression": { "argumentTypes": null, - "id": 1226, + "id": 1232, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10754:5:1", + "referencedDeclaration": 644, + "src": "10855:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1227, + "id": 1233, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10754:15:1", + "referencedDeclaration": 3230, + "src": "10855:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1229, + "id": 1235, "isConstant": false, "isLValue": false, "isPure": false, @@ -40945,7 +41203,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10754:19:1", + "src": "10855:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -40956,13 +41214,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10723:51:1", + "src": "10824:51:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1231, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": false, @@ -40970,13 +41228,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10723:56:1", + "src": "10824:56:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1233, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": false, @@ -40984,7 +41242,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10723:72:1", + "src": "10824:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -40995,14 +41253,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1234, + "id": 1240, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10798:1:1", + "src": "10899:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -41010,26 +41268,26 @@ }, "value": "1" }, - "src": "10723:76:1", + "src": "10824:76:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10690:109:1", + "src": "10791:109:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1237, + "id": 1243, "nodeType": "ExpressionStatement", - "src": "10690:109:1" + "src": "10791:109:1" }, { "expression": { "argumentTypes": null, - "id": 1243, + "id": 1249, "isConstant": false, "isLValue": false, "isPure": false, @@ -41040,26 +41298,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1238, + "id": 1244, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10807:4:1", + "referencedDeclaration": 574, + "src": "10908:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1240, + "id": 1246, "indexExpression": { "argumentTypes": null, - "id": 1239, + "id": 1245, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10812:14:1", + "referencedDeclaration": 1130, + "src": "10913:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41070,21 +41328,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10807:20:1", + "src": "10908:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1241, + "id": 1247, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "detherShop", "nodeType": "MemberAccess", - "referencedDeclaration": 563, - "src": "10807:31:1", + "referencedDeclaration": 569, + "src": "10908:31:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -41095,14 +41353,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 1242, + "id": 1248, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10841:4:1", + "src": "10942:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -41110,15 +41368,15 @@ }, "value": "true" }, - "src": "10807:38:1", + "src": "10908:38:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1244, + "id": 1250, "nodeType": "ExpressionStatement", - "src": "10807:38:1" + "src": "10908:38:1" }, { "eventCall": { @@ -41126,12 +41384,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1246, + "id": 1252, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10871:14:1", + "referencedDeclaration": 1130, + "src": "10972:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41145,18 +41403,18 @@ "typeString": "address" } ], - "id": 1245, + "id": 1251, "name": "RegisterShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 421, - "src": "10858:12:1", + "referencedDeclaration": 427, + "src": "10959:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1247, + "id": 1253, "isConstant": false, "isLValue": false, "isPure": false, @@ -41164,15 +41422,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10858:28:1", + "src": "10959:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1248, + "id": 1254, "nodeType": "EmitStatement", - "src": "10853:33:1" + "src": "10954:33:1" }, { "expression": { @@ -41180,12 +41438,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1252, + "id": 1258, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10912:14:1", + "referencedDeclaration": 1130, + "src": "11013:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41193,12 +41451,12 @@ }, { "argumentTypes": null, - "id": 1253, + "id": 1259, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "10928:6:1", + "referencedDeclaration": 642, + "src": "11029:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -41218,18 +41476,18 @@ ], "expression": { "argumentTypes": null, - "id": 1249, + "id": 1255, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "10894:4:1", + "referencedDeclaration": 479, + "src": "10995:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1251, + "id": 1257, "isConstant": false, "isLValue": false, "isPure": false, @@ -41237,13 +41495,13 @@ "memberName": "addTokenShop", "nodeType": "MemberAccess", "referencedDeclaration": 324, - "src": "10894:17:1", + "src": "10995:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 1254, + "id": 1260, "isConstant": false, "isLValue": false, "isPure": false, @@ -41251,15 +41509,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10894:41:1", + "src": "10995:41:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1255, + "id": 1261, "nodeType": "ExpressionStatement", - "src": "10894:41:1" + "src": "10995:41:1" }, { "expression": { @@ -41270,12 +41528,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1260, + "id": 1266, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "10964:4:1", + "referencedDeclaration": 479, + "src": "11065:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -41289,20 +41547,20 @@ "typeString": "contract DetherBank" } ], - "id": 1259, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10956:7:1", + "src": "11057:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1261, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": false, @@ -41310,7 +41568,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10956:13:1", + "src": "11057:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41318,12 +41576,12 @@ }, { "argumentTypes": null, - "id": 1262, + "id": 1268, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "10971:6:1", + "referencedDeclaration": 642, + "src": "11072:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -41343,32 +41601,32 @@ ], "expression": { "argumentTypes": null, - "id": 1256, + "id": 1262, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "10943:3:1", + "referencedDeclaration": 477, + "src": "11044:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 1258, + "id": 1264, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "10943:12:1", + "referencedDeclaration": 3366, + "src": "11044:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 1263, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -41376,26 +41634,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10943:35:1", + "src": "11044:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1264, + "id": 1270, "nodeType": "ExpressionStatement", - "src": "10943:35:1" + "src": "11044:35:1" } ] } }, - "id": 1267, + "id": 1273, "nodeType": "IfStatement", - "src": "8128:2857:1", + "src": "8229:2857:1", "trueBody": { - "id": 1079, + "id": 1085, "nodeType": "Block", - "src": "8155:1177:1", + "src": "8256:1177:1", "statements": [ { "expression": { @@ -41407,19 +41665,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 890, + "id": 896, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 883, + "id": 889, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8264:6:1", + "referencedDeclaration": 642, + "src": "8365:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -41431,32 +41689,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 884, + "id": 890, "name": "licenceTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2692, - "src": "8274:13:1", + "referencedDeclaration": 2705, + "src": "8375:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 889, + "id": 895, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 887, + "id": 893, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8303:2:1", + "src": "8404:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -41474,32 +41732,32 @@ ], "expression": { "argumentTypes": null, - "id": 885, + "id": 891, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8288:5:1", + "referencedDeclaration": 644, + "src": "8389:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 886, + "id": 892, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8288:14:1", + "referencedDeclaration": 3256, + "src": "8389:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 888, + "id": 894, "isConstant": false, "isLValue": false, "isPure": false, @@ -41507,7 +41765,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8288:18:1", + "src": "8389:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -41518,13 +41776,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8274:33:1", + "src": "8375:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8264:43:1", + "src": "8365:43:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -41538,21 +41796,21 @@ "typeString": "bool" } ], - "id": 882, + "id": 888, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8256:7:1", + "referencedDeclaration": 3393, + "src": "8357:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 891, + "id": 897, "isConstant": false, "isLValue": false, "isPure": false, @@ -41560,15 +41818,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8256:52:1", + "src": "8357:52:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 892, + "id": 898, "nodeType": "ExpressionStatement", - "src": "8256:52:1" + "src": "8357:52:1" }, { "expression": { @@ -41576,7 +41834,7 @@ "arguments": [ { "argumentTypes": null, - "id": 897, + "id": 903, "isConstant": false, "isLValue": false, "isPure": false, @@ -41584,18 +41842,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "8365:16:1", + "src": "8466:16:1", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 895, + "id": 901, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8375:5:1", + "referencedDeclaration": 640, + "src": "8476:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41609,18 +41867,18 @@ "typeString": "address" } ], - "id": 894, + "id": 900, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "8366:8:1", + "referencedDeclaration": 2629, + "src": "8467:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 896, + "id": 902, "isConstant": false, "isLValue": false, "isPure": false, @@ -41628,7 +41886,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8366:15:1", + "src": "8467:15:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -41647,21 +41905,21 @@ "typeString": "bool" } ], - "id": 893, + "id": 899, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8357:7:1", + "referencedDeclaration": 3393, + "src": "8458:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 898, + "id": 904, "isConstant": false, "isLValue": false, "isPure": false, @@ -41669,15 +41927,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8357:25:1", + "src": "8458:25:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 899, + "id": 905, "nodeType": "ExpressionStatement", - "src": "8357:25:1" + "src": "8458:25:1" }, { "expression": { @@ -41687,32 +41945,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 901, + "id": 907, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, - "src": "8428:19:1", + "referencedDeclaration": 2697, + "src": "8529:19:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 906, + "id": 912, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 904, + "id": 910, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8463:2:1", + "src": "8564:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -41730,32 +41988,32 @@ ], "expression": { "argumentTypes": null, - "id": 902, + "id": 908, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8448:5:1", + "referencedDeclaration": 644, + "src": "8549:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 903, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8448:14:1", + "referencedDeclaration": 3256, + "src": "8549:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 905, + "id": 911, "isConstant": false, "isLValue": false, "isPure": false, @@ -41763,7 +42021,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8448:18:1", + "src": "8549:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -41774,7 +42032,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8428:39:1", + "src": "8529:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -41788,21 +42046,21 @@ "typeString": "bool" } ], - "id": 900, + "id": 906, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8420:7:1", + "referencedDeclaration": 3393, + "src": "8521:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 907, + "id": 913, "isConstant": false, "isLValue": false, "isPure": false, @@ -41810,20 +42068,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8420:48:1", + "src": "8521:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 908, + "id": 914, "nodeType": "ExpressionStatement", - "src": "8420:48:1" + "src": "8521:48:1" }, { "expression": { "argumentTypes": null, - "id": 914, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, @@ -41834,26 +42092,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 909, + "id": 915, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8477:6:1", + "referencedDeclaration": 534, + "src": "8578:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 911, + "id": 917, "indexExpression": { "argumentTypes": null, - "id": 910, + "id": 916, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8484:5:1", + "referencedDeclaration": 640, + "src": "8585:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41864,21 +42122,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8477:13:1", + "src": "8578:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 912, + "id": 918, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 477, - "src": "8477:17:1", + "referencedDeclaration": 483, + "src": "8578:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -41888,31 +42146,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 913, + "id": 919, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "8497:6:1", + "referencedDeclaration": 669, + "src": "8598:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "8477:26:1", + "src": "8578:26:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 915, + "id": 921, "nodeType": "ExpressionStatement", - "src": "8477:26:1" + "src": "8578:26:1" }, { "expression": { "argumentTypes": null, - "id": 921, + "id": 927, "isConstant": false, "isLValue": false, "isPure": false, @@ -41923,26 +42181,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 916, + "id": 922, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8511:6:1", + "referencedDeclaration": 534, + "src": "8612:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 918, + "id": 924, "indexExpression": { "argumentTypes": null, - "id": 917, + "id": 923, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8518:5:1", + "referencedDeclaration": 640, + "src": "8619:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41953,21 +42211,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8511:13:1", + "src": "8612:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 919, + "id": 925, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 479, - "src": "8511:17:1", + "referencedDeclaration": 485, + "src": "8612:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -41977,31 +42235,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 920, + "id": 926, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "8531:6:1", + "referencedDeclaration": 696, + "src": "8632:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "8511:26:1", + "src": "8612:26:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 922, + "id": 928, "nodeType": "ExpressionStatement", - "src": "8511:26:1" + "src": "8612:26:1" }, { "expression": { "argumentTypes": null, - "id": 931, + "id": 937, "isConstant": false, "isLValue": false, "isPure": false, @@ -42012,26 +42270,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 923, + "id": 929, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8545:6:1", + "referencedDeclaration": 534, + "src": "8646:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 925, + "id": 931, "indexExpression": { "argumentTypes": null, - "id": 924, + "id": 930, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8552:5:1", + "referencedDeclaration": 640, + "src": "8653:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42042,21 +42300,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8545:13:1", + "src": "8646:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 926, + "id": 932, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "8545:23:1", + "referencedDeclaration": 487, + "src": "8646:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -42070,14 +42328,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 929, + "id": 935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8586:2:1", + "src": "8687:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -42095,32 +42353,32 @@ ], "expression": { "argumentTypes": null, - "id": 927, + "id": 933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8571:5:1", + "referencedDeclaration": 644, + "src": "8672:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 928, + "id": 934, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8571:14:1", + "referencedDeclaration": 3256, + "src": "8672:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 930, + "id": 936, "isConstant": false, "isLValue": false, "isPure": false, @@ -42128,26 +42386,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8571:18:1", + "src": "8672:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "8545:44:1", + "src": "8646:44:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 932, + "id": 938, "nodeType": "ExpressionStatement", - "src": "8545:44:1" + "src": "8646:44:1" }, { "expression": { "argumentTypes": null, - "id": 941, + "id": 947, "isConstant": false, "isLValue": false, "isPure": false, @@ -42158,26 +42416,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 933, + "id": 939, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8597:6:1", + "referencedDeclaration": 534, + "src": "8698:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 935, + "id": 941, "indexExpression": { "argumentTypes": null, - "id": 934, + "id": 940, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8604:5:1", + "referencedDeclaration": 640, + "src": "8705:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42188,21 +42446,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8597:13:1", + "src": "8698:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 936, + "id": 942, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "8597:24:1", + "referencedDeclaration": 489, + "src": "8698:24:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -42216,14 +42474,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 939, + "id": 945, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8640:2:1", + "src": "8741:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -42241,32 +42499,32 @@ ], "expression": { "argumentTypes": null, - "id": 937, + "id": 943, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8624:5:1", + "referencedDeclaration": 644, + "src": "8725:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 938, + "id": 944, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "8624:15:1", + "referencedDeclaration": 3230, + "src": "8725:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 940, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -42274,26 +42532,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8624:19:1", + "src": "8725:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "8597:46:1", + "src": "8698:46:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 942, + "id": 948, "nodeType": "ExpressionStatement", - "src": "8597:46:1" + "src": "8698:46:1" }, { "expression": { "argumentTypes": null, - "id": 953, + "id": 959, "isConstant": false, "isLValue": false, "isPure": false, @@ -42304,26 +42562,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 943, + "id": 949, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8651:6:1", + "referencedDeclaration": 534, + "src": "8752:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 945, + "id": 951, "indexExpression": { "argumentTypes": null, - "id": 944, + "id": 950, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8658:5:1", + "referencedDeclaration": 640, + "src": "8759:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42334,21 +42592,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8651:13:1", + "src": "8752:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 946, + "id": 952, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "8651:22:1", + "referencedDeclaration": 495, + "src": "8752:22:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -42365,14 +42623,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 950, + "id": 956, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8696:2:1", + "src": "8797:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -42390,32 +42648,32 @@ ], "expression": { "argumentTypes": null, - "id": 948, + "id": 954, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8681:5:1", + "referencedDeclaration": 644, + "src": "8782:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 949, + "id": 955, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8681:14:1", + "referencedDeclaration": 3308, + "src": "8782:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 951, + "id": 957, "isConstant": false, "isLValue": false, "isPure": false, @@ -42423,7 +42681,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8681:18:1", + "src": "8782:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -42437,20 +42695,20 @@ "typeString": "bytes1" } ], - "id": 947, + "id": 953, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8676:4:1", + "src": "8777:4:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int8_$", "typeString": "type(int8)" }, "typeName": "int8" }, - "id": 952, + "id": 958, "isConstant": false, "isLValue": false, "isPure": false, @@ -42458,26 +42716,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8676:24:1", + "src": "8777:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "8651:49:1", + "src": "8752:49:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 954, + "id": 960, "nodeType": "ExpressionStatement", - "src": "8651:49:1" + "src": "8752:49:1" }, { "expression": { "argumentTypes": null, - "id": 965, + "id": 971, "isConstant": false, "isLValue": false, "isPure": false, @@ -42488,26 +42746,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 955, + "id": 961, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8708:6:1", + "referencedDeclaration": 534, + "src": "8809:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 957, + "id": 963, "indexExpression": { "argumentTypes": null, - "id": 956, + "id": 962, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8715:5:1", + "referencedDeclaration": 640, + "src": "8816:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42518,21 +42776,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8708:13:1", + "src": "8809:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 958, + "id": 964, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "8708:24:1", + "referencedDeclaration": 491, + "src": "8809:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -42549,14 +42807,14 @@ { "argumentTypes": null, "hexValue": "3330", - "id": 962, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8755:2:1", + "src": "8856:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_30_by_1", @@ -42574,32 +42832,32 @@ ], "expression": { "argumentTypes": null, - "id": 960, + "id": 966, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8740:5:1", + "referencedDeclaration": 644, + "src": "8841:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 961, + "id": 967, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8740:14:1", + "referencedDeclaration": 3308, + "src": "8841:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 963, + "id": 969, "isConstant": false, "isLValue": false, "isPure": false, @@ -42607,7 +42865,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8740:18:1", + "src": "8841:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -42621,20 +42879,20 @@ "typeString": "bytes1" } ], - "id": 959, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8735:4:1", + "src": "8836:4:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int8_$", "typeString": "type(int8)" }, "typeName": "int8" }, - "id": 964, + "id": 970, "isConstant": false, "isLValue": false, "isPure": false, @@ -42642,26 +42900,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8735:24:1", + "src": "8836:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "8708:51:1", + "src": "8809:51:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 966, + "id": 972, "nodeType": "ExpressionStatement", - "src": "8708:51:1" + "src": "8809:51:1" }, { "expression": { "argumentTypes": null, - "id": 975, + "id": 981, "isConstant": false, "isLValue": false, "isPure": false, @@ -42672,26 +42930,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 967, + "id": 973, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8767:6:1", + "referencedDeclaration": 534, + "src": "8868:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 969, + "id": 975, "indexExpression": { "argumentTypes": null, - "id": 968, + "id": 974, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8774:5:1", + "referencedDeclaration": 640, + "src": "8875:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42702,21 +42960,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8767:13:1", + "src": "8868:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 970, + "id": 976, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "8767:23:1", + "referencedDeclaration": 493, + "src": "8868:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -42730,14 +42988,14 @@ { "argumentTypes": null, "hexValue": "3331", - "id": 973, + "id": 979, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8809:2:1", + "src": "8910:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_31_by_1", @@ -42755,32 +43013,32 @@ ], "expression": { "argumentTypes": null, - "id": 971, + "id": 977, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8793:5:1", + "referencedDeclaration": 644, + "src": "8894:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 972, + "id": 978, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "8793:15:1", + "referencedDeclaration": 3230, + "src": "8894:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 974, + "id": 980, "isConstant": false, "isLValue": false, "isPure": false, @@ -42788,26 +43046,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8793:19:1", + "src": "8894:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "8767:45:1", + "src": "8868:45:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 976, + "id": 982, "nodeType": "ExpressionStatement", - "src": "8767:45:1" + "src": "8868:45:1" }, { "expression": { "argumentTypes": null, - "id": 987, + "id": 993, "isConstant": false, "isLValue": false, "isPure": false, @@ -42818,26 +43076,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 977, + "id": 983, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8820:6:1", + "referencedDeclaration": 534, + "src": "8921:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 979, + "id": 985, "indexExpression": { "argumentTypes": null, - "id": 978, + "id": 984, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8827:5:1", + "referencedDeclaration": 640, + "src": "8928:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42848,21 +43106,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8820:13:1", + "src": "8921:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 980, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "8820:19:1", + "referencedDeclaration": 497, + "src": "8921:19:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -42879,14 +43137,14 @@ { "argumentTypes": null, "hexValue": "3437", - "id": 984, + "id": 990, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8863:2:1", + "src": "8964:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_47_by_1", @@ -42904,32 +43162,32 @@ ], "expression": { "argumentTypes": null, - "id": 982, + "id": 988, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8848:5:1", + "referencedDeclaration": 644, + "src": "8949:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 983, + "id": 989, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8848:14:1", + "referencedDeclaration": 3256, + "src": "8949:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 985, + "id": 991, "isConstant": false, "isLValue": false, "isPure": false, @@ -42937,7 +43195,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8848:18:1", + "src": "8949:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -42951,20 +43209,20 @@ "typeString": "bytes2" } ], - "id": 981, + "id": 987, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8842:5:1", + "src": "8943:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int16_$", "typeString": "type(int16)" }, "typeName": "int16" }, - "id": 986, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, @@ -42972,26 +43230,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8842:25:1", + "src": "8943:25:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "8820:47:1", + "src": "8921:47:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 988, + "id": 994, "nodeType": "ExpressionStatement", - "src": "8820:47:1" + "src": "8921:47:1" }, { "expression": { "argumentTypes": null, - "id": 1004, + "id": 1010, "isConstant": false, "isLValue": false, "isPure": false, @@ -43002,26 +43260,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 989, + "id": 995, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8875:6:1", + "referencedDeclaration": 534, + "src": "8976:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 991, + "id": 997, "indexExpression": { "argumentTypes": null, - "id": 990, + "id": 996, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8882:5:1", + "referencedDeclaration": 640, + "src": "8983:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43032,21 +43290,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8875:13:1", + "src": "8976:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 992, + "id": 998, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "buyer", "nodeType": "MemberAccess", - "referencedDeclaration": 493, - "src": "8875:19:1", + "referencedDeclaration": 499, + "src": "8976:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -43062,7 +43320,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 1000, + "id": 1006, "isConstant": false, "isLValue": false, "isPure": false, @@ -43073,14 +43331,14 @@ { "argumentTypes": null, "hexValue": "3439", - "id": 995, + "id": 1001, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8912:2:1", + "src": "9013:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", @@ -43098,32 +43356,32 @@ ], "expression": { "argumentTypes": null, - "id": 993, + "id": 999, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8897:5:1", + "referencedDeclaration": 644, + "src": "8998:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 994, + "id": 1000, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8897:14:1", + "referencedDeclaration": 3308, + "src": "8998:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 996, + "id": 1002, "isConstant": false, "isLValue": false, "isPure": false, @@ -43131,7 +43389,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8897:18:1", + "src": "8998:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -43145,14 +43403,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 998, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8926:4:1", + "src": "9027:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -43168,20 +43426,20 @@ "typeString": "int_const 1" } ], - "id": 997, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8919:6:1", + "src": "9020:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 999, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": true, @@ -43189,13 +43447,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8919:12:1", + "src": "9020:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "8897:34:1", + "src": "8998:34:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -43204,14 +43462,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 1002, + "id": 1008, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8941:5:1", + "src": "9042:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -43219,24 +43477,24 @@ }, "value": "false" }, - "id": 1003, + "id": 1009, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "8897:49:1", + "src": "8998:49:1", "trueExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 1001, + "id": 1007, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8934:4:1", + "src": "9035:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -43249,20 +43507,20 @@ "typeString": "bool" } }, - "src": "8875:71:1", + "src": "8976:71:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1005, + "id": 1011, "nodeType": "ExpressionStatement", - "src": "8875:71:1" + "src": "8976:71:1" }, { "expression": { "argumentTypes": null, - "id": 1016, + "id": 1022, "isConstant": false, "isLValue": false, "isPure": false, @@ -43273,26 +43531,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1006, + "id": 1012, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8954:6:1", + "referencedDeclaration": 534, + "src": "9055:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1008, + "id": 1014, "indexExpression": { "argumentTypes": null, - "id": 1007, + "id": 1013, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8961:5:1", + "referencedDeclaration": 640, + "src": "9062:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43303,21 +43561,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8954:13:1", + "src": "9055:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1009, + "id": 1015, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "buyRates", "nodeType": "MemberAccess", - "referencedDeclaration": 495, - "src": "8954:22:1", + "referencedDeclaration": 501, + "src": "9055:22:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -43334,14 +43592,14 @@ { "argumentTypes": null, "hexValue": "3530", - "id": 1013, + "id": 1019, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9000:2:1", + "src": "9101:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", @@ -43359,32 +43617,32 @@ ], "expression": { "argumentTypes": null, - "id": 1011, + "id": 1017, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8985:5:1", + "referencedDeclaration": 644, + "src": "9086:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1012, + "id": 1018, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8985:14:1", + "referencedDeclaration": 3256, + "src": "9086:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1014, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -43392,7 +43650,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8985:18:1", + "src": "9086:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -43406,20 +43664,20 @@ "typeString": "bytes2" } ], - "id": 1010, + "id": 1016, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8979:5:1", + "src": "9080:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int16_$", "typeString": "type(int16)" }, "typeName": "int16" }, - "id": 1015, + "id": 1021, "isConstant": false, "isLValue": false, "isPure": false, @@ -43427,26 +43685,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8979:25:1", + "src": "9080:25:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "8954:50:1", + "src": "9055:50:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 1017, + "id": 1023, "nodeType": "ExpressionStatement", - "src": "8954:50:1" + "src": "9055:50:1" }, { "expression": { "argumentTypes": null, - "id": 1028, + "id": 1034, "isConstant": false, "isLValue": false, "isPure": false, @@ -43457,26 +43715,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1018, + "id": 1024, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9012:6:1", + "referencedDeclaration": 534, + "src": "9113:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1020, + "id": 1026, "indexExpression": { "argumentTypes": null, - "id": 1019, + "id": 1025, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9019:5:1", + "referencedDeclaration": 640, + "src": "9120:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43487,21 +43745,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9012:13:1", + "src": "9113:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1021, + "id": 1027, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "9012:26:1", + "referencedDeclaration": 505, + "src": "9113:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -43515,7 +43773,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1027, + "id": 1033, "isConstant": false, "isLValue": false, "isPure": false, @@ -43525,12 +43783,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1024, + "id": 1030, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9058:5:1", + "referencedDeclaration": 640, + "src": "9159:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43546,18 +43804,18 @@ ], "expression": { "argumentTypes": null, - "id": 1022, + "id": 1028, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "9041:11:1", + "referencedDeclaration": 544, + "src": "9142:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1023, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, @@ -43565,13 +43823,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9041:16:1", + "src": "9142:16:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1025, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": false, @@ -43579,7 +43837,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9041:23:1", + "src": "9142:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -43590,14 +43848,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1026, + "id": 1032, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9067:1:1", + "src": "9168:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -43605,26 +43863,26 @@ }, "value": "1" }, - "src": "9041:27:1", + "src": "9142:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9012:56:1", + "src": "9113:56:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1029, + "id": 1035, "nodeType": "ExpressionStatement", - "src": "9012:56:1" + "src": "9113:56:1" }, { "expression": { "argumentTypes": null, - "id": 1050, + "id": 1056, "isConstant": false, "isLValue": false, "isPure": false, @@ -43635,26 +43893,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1030, + "id": 1036, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9076:6:1", + "referencedDeclaration": 534, + "src": "9177:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1032, + "id": 1038, "indexExpression": { "argumentTypes": null, - "id": 1031, + "id": 1037, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9083:5:1", + "referencedDeclaration": 640, + "src": "9184:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43665,21 +43923,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9076:13:1", + "src": "9177:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1033, + "id": 1039, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "9076:23:1", + "referencedDeclaration": 503, + "src": "9177:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -43693,7 +43951,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1049, + "id": 1055, "isConstant": false, "isLValue": false, "isPure": false, @@ -43703,12 +43961,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1046, + "id": 1052, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9161:5:1", + "referencedDeclaration": 640, + "src": "9262:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43728,32 +43986,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1034, + "id": 1040, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "9102:12:1", + "referencedDeclaration": 541, + "src": "9203:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1039, + "id": 1045, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1037, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9130:2:1", + "src": "9231:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -43771,32 +44029,32 @@ ], "expression": { "argumentTypes": null, - "id": 1035, + "id": 1041, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9115:5:1", + "referencedDeclaration": 644, + "src": "9216:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1036, + "id": 1042, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "9115:14:1", + "referencedDeclaration": 3256, + "src": "9216:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1038, + "id": 1044, "isConstant": false, "isLValue": false, "isPure": false, @@ -43804,7 +44062,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9115:18:1", + "src": "9216:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -43815,27 +44073,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9102:32:1", + "src": "9203:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1044, + "id": 1050, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 1042, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9151:2:1", + "src": "9252:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -43853,32 +44111,32 @@ ], "expression": { "argumentTypes": null, - "id": 1040, + "id": 1046, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9135:5:1", + "referencedDeclaration": 644, + "src": "9236:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1041, + "id": 1047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "9135:15:1", + "referencedDeclaration": 3230, + "src": "9236:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1043, + "id": 1049, "isConstant": false, "isLValue": false, "isPure": false, @@ -43886,7 +44144,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9135:19:1", + "src": "9236:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -43897,13 +44155,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9102:53:1", + "src": "9203:53:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1045, + "id": 1051, "isConstant": false, "isLValue": false, "isPure": false, @@ -43911,13 +44169,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9102:58:1", + "src": "9203:58:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1047, + "id": 1053, "isConstant": false, "isLValue": false, "isPure": false, @@ -43925,7 +44183,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9102:65:1", + "src": "9203:65:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -43936,14 +44194,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1048, + "id": 1054, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9170:1:1", + "src": "9271:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -43951,26 +44209,26 @@ }, "value": "1" }, - "src": "9102:69:1", + "src": "9203:69:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9076:95:1", + "src": "9177:95:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1051, + "id": 1057, "nodeType": "ExpressionStatement", - "src": "9076:95:1" + "src": "9177:95:1" }, { "expression": { "argumentTypes": null, - "id": 1057, + "id": 1063, "isConstant": false, "isLValue": false, "isPure": false, @@ -43981,26 +44239,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1052, + "id": 1058, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9179:6:1", + "referencedDeclaration": 534, + "src": "9280:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1054, + "id": 1060, "indexExpression": { "argumentTypes": null, - "id": 1053, + "id": 1059, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9186:5:1", + "referencedDeclaration": 640, + "src": "9287:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44011,21 +44269,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9179:13:1", + "src": "9280:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1055, + "id": 1061, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "9179:20:1", + "referencedDeclaration": 507, + "src": "9280:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -44036,14 +44294,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 1056, + "id": 1062, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "9202:4:1", + "src": "9303:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -44051,15 +44309,15 @@ }, "value": "true" }, - "src": "9179:27:1", + "src": "9280:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1058, + "id": 1064, "nodeType": "ExpressionStatement", - "src": "9179:27:1" + "src": "9280:27:1" }, { "eventCall": { @@ -44067,12 +44325,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1060, + "id": 1066, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9234:5:1", + "referencedDeclaration": 640, + "src": "9335:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44086,18 +44344,18 @@ "typeString": "address" } ], - "id": 1059, + "id": 1065, "name": "RegisterTeller", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 401, - "src": "9219:14:1", + "src": "9320:14:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1061, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": false, @@ -44105,15 +44363,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9219:21:1", + "src": "9320:21:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1062, + "id": 1068, "nodeType": "EmitStatement", - "src": "9214:26:1" + "src": "9315:26:1" }, { "expression": { @@ -44121,12 +44379,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1066, + "id": 1072, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9268:5:1", + "referencedDeclaration": 640, + "src": "9369:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44134,12 +44392,12 @@ }, { "argumentTypes": null, - "id": 1067, + "id": 1073, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9275:6:1", + "referencedDeclaration": 642, + "src": "9376:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -44159,18 +44417,18 @@ ], "expression": { "argumentTypes": null, - "id": 1063, + "id": 1069, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "9248:4:1", + "referencedDeclaration": 479, + "src": "9349:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1065, + "id": 1071, "isConstant": false, "isLValue": false, "isPure": false, @@ -44178,13 +44436,13 @@ "memberName": "addTokenTeller", "nodeType": "MemberAccess", "referencedDeclaration": 331, - "src": "9248:19:1", + "src": "9349:19:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 1068, + "id": 1074, "isConstant": false, "isLValue": false, "isPure": false, @@ -44192,15 +44450,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9248:34:1", + "src": "9349:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1069, + "id": 1075, "nodeType": "ExpressionStatement", - "src": "9248:34:1" + "src": "9349:34:1" }, { "expression": { @@ -44211,12 +44469,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1074, + "id": 1080, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "9311:4:1", + "referencedDeclaration": 479, + "src": "9412:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -44230,20 +44488,20 @@ "typeString": "contract DetherBank" } ], - "id": 1073, + "id": 1079, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "9303:7:1", + "src": "9404:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1075, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, @@ -44251,7 +44509,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9303:13:1", + "src": "9404:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44259,12 +44517,12 @@ }, { "argumentTypes": null, - "id": 1076, + "id": 1082, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9318:6:1", + "referencedDeclaration": 642, + "src": "9419:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -44284,32 +44542,32 @@ ], "expression": { "argumentTypes": null, - "id": 1070, + "id": 1076, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "9290:3:1", + "referencedDeclaration": 477, + "src": "9391:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 1072, + "id": 1078, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "9290:12:1", + "referencedDeclaration": 3366, + "src": "9391:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 1077, + "id": 1083, "isConstant": false, "isLValue": false, "isPure": false, @@ -44317,26 +44575,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9290:35:1", + "src": "9391:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1078, + "id": 1084, "nodeType": "ExpressionStatement", - "src": "9290:35:1" + "src": "9391:35:1" } ] } }, - "id": 1268, + "id": 1274, "nodeType": "IfStatement", - "src": "7153:3832:1", + "src": "7254:3832:1", "trueBody": { - "id": 876, + "id": 882, "nodeType": "Block", - "src": "7180:942:1", + "src": "7281:942:1", "statements": [ { "expression": { @@ -44348,19 +44606,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 729, + "id": 735, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 722, + "id": 728, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "7287:6:1", + "referencedDeclaration": 642, + "src": "7388:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -44372,32 +44630,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 723, + "id": 729, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, - "src": "7297:11:1", + "referencedDeclaration": 2701, + "src": "7398:11:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 728, + "id": 734, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 726, + "id": 732, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7324:2:1", + "src": "7425:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -44415,32 +44673,32 @@ ], "expression": { "argumentTypes": null, - "id": 724, + "id": 730, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7309:5:1", + "referencedDeclaration": 644, + "src": "7410:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 725, + "id": 731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7309:14:1", + "referencedDeclaration": 3256, + "src": "7410:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 727, + "id": 733, "isConstant": false, "isLValue": false, "isPure": false, @@ -44448,7 +44706,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7309:18:1", + "src": "7410:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -44459,13 +44717,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7297:31:1", + "src": "7398:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7287:41:1", + "src": "7388:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -44479,21 +44737,21 @@ "typeString": "bool" } ], - "id": 721, + "id": 727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7279:7:1", + "referencedDeclaration": 3393, + "src": "7380:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 730, + "id": 736, "isConstant": false, "isLValue": false, "isPure": false, @@ -44501,15 +44759,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7279:50:1", + "src": "7380:50:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 731, + "id": 737, "nodeType": "ExpressionStatement", - "src": "7279:50:1" + "src": "7380:50:1" }, { "expression": { @@ -44517,7 +44775,7 @@ "arguments": [ { "argumentTypes": null, - "id": 736, + "id": 742, "isConstant": false, "isLValue": false, "isPure": false, @@ -44525,18 +44783,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "7383:14:1", + "src": "7484:14:1", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 734, + "id": 740, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7391:5:1", + "referencedDeclaration": 640, + "src": "7492:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44550,18 +44808,18 @@ "typeString": "address" } ], - "id": 733, + "id": 739, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "7384:6:1", + "referencedDeclaration": 2585, + "src": "7485:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 735, + "id": 741, "isConstant": false, "isLValue": false, "isPure": false, @@ -44569,7 +44827,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7384:13:1", + "src": "7485:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -44588,21 +44846,21 @@ "typeString": "bool" } ], - "id": 732, + "id": 738, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7375:7:1", + "referencedDeclaration": 3393, + "src": "7476:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 737, + "id": 743, "isConstant": false, "isLValue": false, "isPure": false, @@ -44610,15 +44868,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7375:23:1", + "src": "7476:23:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 738, + "id": 744, "nodeType": "ExpressionStatement", - "src": "7375:23:1" + "src": "7476:23:1" }, { "expression": { @@ -44628,32 +44886,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 740, + "id": 746, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "7444:17:1", + "referencedDeclaration": 2693, + "src": "7545:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 745, + "id": 751, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 743, + "id": 749, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7477:2:1", + "src": "7578:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -44671,32 +44929,32 @@ ], "expression": { "argumentTypes": null, - "id": 741, + "id": 747, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7462:5:1", + "referencedDeclaration": 644, + "src": "7563:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 742, + "id": 748, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7462:14:1", + "referencedDeclaration": 3256, + "src": "7563:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 744, + "id": 750, "isConstant": false, "isLValue": false, "isPure": false, @@ -44704,7 +44962,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7462:18:1", + "src": "7563:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -44715,7 +44973,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7444:37:1", + "src": "7545:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -44729,21 +44987,21 @@ "typeString": "bool" } ], - "id": 739, + "id": 745, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7436:7:1", + "referencedDeclaration": 3393, + "src": "7537:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 746, + "id": 752, "isConstant": false, "isLValue": false, "isPure": false, @@ -44751,20 +45009,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7436:46:1", + "src": "7537:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 747, + "id": 753, "nodeType": "ExpressionStatement", - "src": "7436:46:1" + "src": "7537:46:1" }, { "expression": { "argumentTypes": null, - "id": 753, + "id": 759, "isConstant": false, "isLValue": false, "isPure": false, @@ -44775,26 +45033,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 748, + "id": 754, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7491:4:1", + "referencedDeclaration": 574, + "src": "7592:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 750, + "id": 756, "indexExpression": { "argumentTypes": null, - "id": 749, + "id": 755, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7496:5:1", + "referencedDeclaration": 640, + "src": "7597:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44805,21 +45063,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7491:11:1", + "src": "7592:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 751, + "id": 757, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "7491:15:1", + "referencedDeclaration": 549, + "src": "7592:15:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -44829,31 +45087,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 752, + "id": 758, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "7509:6:1", + "referencedDeclaration": 669, + "src": "7610:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "7491:24:1", + "src": "7592:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 754, + "id": 760, "nodeType": "ExpressionStatement", - "src": "7491:24:1" + "src": "7592:24:1" }, { "expression": { "argumentTypes": null, - "id": 760, + "id": 766, "isConstant": false, "isLValue": false, "isPure": false, @@ -44864,26 +45122,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 755, + "id": 761, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7523:4:1", + "referencedDeclaration": 574, + "src": "7624:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 757, + "id": 763, "indexExpression": { "argumentTypes": null, - "id": 756, + "id": 762, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7528:5:1", + "referencedDeclaration": 640, + "src": "7629:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44894,21 +45152,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7523:11:1", + "src": "7624:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 758, + "id": 764, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "7523:15:1", + "referencedDeclaration": 551, + "src": "7624:15:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -44918,31 +45176,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 759, + "id": 765, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "7541:6:1", + "referencedDeclaration": 696, + "src": "7642:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "7523:24:1", + "src": "7624:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 761, + "id": 767, "nodeType": "ExpressionStatement", - "src": "7523:24:1" + "src": "7624:24:1" }, { "expression": { "argumentTypes": null, - "id": 770, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -44953,26 +45211,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 762, + "id": 768, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7555:4:1", + "referencedDeclaration": 574, + "src": "7656:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 764, + "id": 770, "indexExpression": { "argumentTypes": null, - "id": 763, + "id": 769, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7560:5:1", + "referencedDeclaration": 640, + "src": "7661:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44983,21 +45241,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7555:11:1", + "src": "7656:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 765, + "id": 771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "7555:21:1", + "referencedDeclaration": 553, + "src": "7656:21:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -45011,14 +45269,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 768, + "id": 774, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7594:2:1", + "src": "7695:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -45036,32 +45294,32 @@ ], "expression": { "argumentTypes": null, - "id": 766, + "id": 772, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7579:5:1", + "referencedDeclaration": 644, + "src": "7680:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 767, + "id": 773, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7579:14:1", + "referencedDeclaration": 3256, + "src": "7680:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 769, + "id": 775, "isConstant": false, "isLValue": false, "isPure": false, @@ -45069,26 +45327,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7579:18:1", + "src": "7680:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "7555:42:1", + "src": "7656:42:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 771, + "id": 777, "nodeType": "ExpressionStatement", - "src": "7555:42:1" + "src": "7656:42:1" }, { "expression": { "argumentTypes": null, - "id": 780, + "id": 786, "isConstant": false, "isLValue": false, "isPure": false, @@ -45099,26 +45357,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 772, + "id": 778, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7605:4:1", + "referencedDeclaration": 574, + "src": "7706:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 774, + "id": 780, "indexExpression": { "argumentTypes": null, - "id": 773, + "id": 779, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7610:5:1", + "referencedDeclaration": 640, + "src": "7711:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45129,21 +45387,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7605:11:1", + "src": "7706:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 775, + "id": 781, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "7605:22:1", + "referencedDeclaration": 555, + "src": "7706:22:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -45157,14 +45415,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 778, + "id": 784, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7646:2:1", + "src": "7747:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -45182,32 +45440,32 @@ ], "expression": { "argumentTypes": null, - "id": 776, + "id": 782, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7630:5:1", + "referencedDeclaration": 644, + "src": "7731:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 777, + "id": 783, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7630:15:1", + "referencedDeclaration": 3230, + "src": "7731:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 779, + "id": 785, "isConstant": false, "isLValue": false, "isPure": false, @@ -45215,26 +45473,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7630:19:1", + "src": "7731:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7605:44:1", + "src": "7706:44:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 781, + "id": 787, "nodeType": "ExpressionStatement", - "src": "7605:44:1" + "src": "7706:44:1" }, { "expression": { "argumentTypes": null, - "id": 790, + "id": 796, "isConstant": false, "isLValue": false, "isPure": false, @@ -45245,26 +45503,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 782, + "id": 788, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7657:4:1", + "referencedDeclaration": 574, + "src": "7758:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 784, + "id": 790, "indexExpression": { "argumentTypes": null, - "id": 783, + "id": 789, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7662:5:1", + "referencedDeclaration": 640, + "src": "7763:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45275,21 +45533,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7657:11:1", + "src": "7758:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 785, + "id": 791, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "7657:15:1", + "referencedDeclaration": 557, + "src": "7758:15:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -45303,14 +45561,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 788, + "id": 794, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7691:2:1", + "src": "7792:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -45328,32 +45586,32 @@ ], "expression": { "argumentTypes": null, - "id": 786, + "id": 792, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7675:5:1", + "referencedDeclaration": 644, + "src": "7776:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 787, + "id": 793, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7675:15:1", + "referencedDeclaration": 3230, + "src": "7776:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 789, + "id": 795, "isConstant": false, "isLValue": false, "isPure": false, @@ -45361,26 +45619,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7675:19:1", + "src": "7776:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7657:37:1", + "src": "7758:37:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 791, + "id": 797, "nodeType": "ExpressionStatement", - "src": "7657:37:1" + "src": "7758:37:1" }, { "expression": { "argumentTypes": null, - "id": 800, + "id": 806, "isConstant": false, "isLValue": false, "isPure": false, @@ -45391,26 +45649,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 792, + "id": 798, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7702:4:1", + "referencedDeclaration": 574, + "src": "7803:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 794, + "id": 800, "indexExpression": { "argumentTypes": null, - "id": 793, + "id": 799, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7707:5:1", + "referencedDeclaration": 640, + "src": "7808:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45421,21 +45679,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7702:11:1", + "src": "7803:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 795, + "id": 801, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "7702:16:1", + "referencedDeclaration": 559, + "src": "7803:16:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -45449,14 +45707,14 @@ { "argumentTypes": null, "hexValue": "3435", - "id": 798, + "id": 804, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7737:2:1", + "src": "7838:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_45_by_1", @@ -45474,32 +45732,32 @@ ], "expression": { "argumentTypes": null, - "id": 796, + "id": 802, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7721:5:1", + "referencedDeclaration": 644, + "src": "7822:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 797, + "id": 803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7721:15:1", + "referencedDeclaration": 3230, + "src": "7822:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 799, + "id": 805, "isConstant": false, "isLValue": false, "isPure": false, @@ -45507,26 +45765,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7721:19:1", + "src": "7822:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7702:38:1", + "src": "7803:38:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 801, + "id": 807, "nodeType": "ExpressionStatement", - "src": "7702:38:1" + "src": "7803:38:1" }, { "expression": { "argumentTypes": null, - "id": 810, + "id": 816, "isConstant": false, "isLValue": false, "isPure": false, @@ -45537,26 +45795,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 802, + "id": 808, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7748:4:1", + "referencedDeclaration": 574, + "src": "7849:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 804, + "id": 810, "indexExpression": { "argumentTypes": null, - "id": 803, + "id": 809, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7753:5:1", + "referencedDeclaration": 640, + "src": "7854:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45567,21 +45825,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7748:11:1", + "src": "7849:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 805, + "id": 811, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "7748:23:1", + "referencedDeclaration": 561, + "src": "7849:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -45595,14 +45853,14 @@ { "argumentTypes": null, "hexValue": "3631", - "id": 808, + "id": 814, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7790:2:1", + "src": "7891:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_61_by_1", @@ -45620,32 +45878,32 @@ ], "expression": { "argumentTypes": null, - "id": 806, + "id": 812, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7774:5:1", + "referencedDeclaration": 644, + "src": "7875:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 807, + "id": 813, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes32", "nodeType": "MemberAccess", - "referencedDeclaration": 3191, - "src": "7774:15:1", + "referencedDeclaration": 3204, + "src": "7875:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes32)" } }, - "id": 809, + "id": 815, "isConstant": false, "isLValue": false, "isPure": false, @@ -45653,26 +45911,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7774:19:1", + "src": "7875:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "7748:45:1", + "src": "7849:45:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 811, + "id": 817, "nodeType": "ExpressionStatement", - "src": "7748:45:1" + "src": "7849:45:1" }, { "expression": { "argumentTypes": null, - "id": 820, + "id": 826, "isConstant": false, "isLValue": false, "isPure": false, @@ -45683,26 +45941,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 812, + "id": 818, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7801:4:1", + "referencedDeclaration": 574, + "src": "7902:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 814, + "id": 820, "indexExpression": { "argumentTypes": null, - "id": 813, + "id": 819, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7806:5:1", + "referencedDeclaration": 640, + "src": "7907:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45713,21 +45971,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7801:11:1", + "src": "7902:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 815, + "id": 821, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "7801:19:1", + "referencedDeclaration": 563, + "src": "7902:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -45741,14 +45999,14 @@ { "argumentTypes": null, "hexValue": "3933", - "id": 818, + "id": 824, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7839:2:1", + "src": "7940:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_93_by_1", @@ -45766,32 +46024,32 @@ ], "expression": { "argumentTypes": null, - "id": 816, + "id": 822, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7823:5:1", + "referencedDeclaration": 644, + "src": "7924:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 817, + "id": 823, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7823:15:1", + "referencedDeclaration": 3230, + "src": "7924:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 819, + "id": 825, "isConstant": false, "isLValue": false, "isPure": false, @@ -45799,26 +46057,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7823:19:1", + "src": "7924:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7801:41:1", + "src": "7902:41:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 821, + "id": 827, "nodeType": "ExpressionStatement", - "src": "7801:41:1" + "src": "7902:41:1" }, { "expression": { "argumentTypes": null, - "id": 832, + "id": 838, "isConstant": false, "isLValue": false, "isPure": false, @@ -45829,26 +46087,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 822, + "id": 828, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7850:4:1", + "referencedDeclaration": 574, + "src": "7951:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 824, + "id": 830, "indexExpression": { "argumentTypes": null, - "id": 823, + "id": 829, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7855:5:1", + "referencedDeclaration": 640, + "src": "7956:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45859,21 +46117,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7850:11:1", + "src": "7951:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 825, + "id": 831, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "7850:24:1", + "referencedDeclaration": 567, + "src": "7951:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -45887,7 +46145,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 831, + "id": 837, "isConstant": false, "isLValue": false, "isPure": false, @@ -45897,12 +46155,12 @@ "arguments": [ { "argumentTypes": null, - "id": 828, + "id": 834, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7892:5:1", + "referencedDeclaration": 640, + "src": "7993:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45918,18 +46176,18 @@ ], "expression": { "argumentTypes": null, - "id": 826, + "id": 832, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "7877:9:1", + "referencedDeclaration": 584, + "src": "7978:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 827, + "id": 833, "isConstant": false, "isLValue": false, "isPure": false, @@ -45937,13 +46195,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7877:14:1", + "src": "7978:14:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 829, + "id": 835, "isConstant": false, "isLValue": false, "isPure": false, @@ -45951,7 +46209,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7877:21:1", + "src": "7978:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -45962,14 +46220,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 830, + "id": 836, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7901:1:1", + "src": "8002:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -45977,26 +46235,26 @@ }, "value": "1" }, - "src": "7877:25:1", + "src": "7978:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7850:52:1", + "src": "7951:52:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 833, + "id": 839, "nodeType": "ExpressionStatement", - "src": "7850:52:1" + "src": "7951:52:1" }, { "expression": { "argumentTypes": null, - "id": 854, + "id": 860, "isConstant": false, "isLValue": false, "isPure": false, @@ -46007,26 +46265,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 834, + "id": 840, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7910:4:1", + "referencedDeclaration": 574, + "src": "8011:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 836, + "id": 842, "indexExpression": { "argumentTypes": null, - "id": 835, + "id": 841, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7915:5:1", + "referencedDeclaration": 640, + "src": "8016:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46037,21 +46295,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7910:11:1", + "src": "8011:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 837, + "id": 843, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "7910:21:1", + "referencedDeclaration": 565, + "src": "8011:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -46065,7 +46323,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 853, + "id": 859, "isConstant": false, "isLValue": false, "isPure": false, @@ -46075,12 +46333,12 @@ "arguments": [ { "argumentTypes": null, - "id": 850, + "id": 856, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7991:5:1", + "referencedDeclaration": 640, + "src": "8092:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46100,32 +46358,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 838, + "id": 844, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "7934:10:1", + "referencedDeclaration": 581, + "src": "8035:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 843, + "id": 849, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 841, + "id": 847, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7960:2:1", + "src": "8061:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -46143,32 +46401,32 @@ ], "expression": { "argumentTypes": null, - "id": 839, + "id": 845, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7945:5:1", + "referencedDeclaration": 644, + "src": "8046:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 840, + "id": 846, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7945:14:1", + "referencedDeclaration": 3256, + "src": "8046:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 842, + "id": 848, "isConstant": false, "isLValue": false, "isPure": false, @@ -46176,7 +46434,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7945:18:1", + "src": "8046:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -46187,27 +46445,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7934:30:1", + "src": "8035:30:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 848, + "id": 854, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 846, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7981:2:1", + "src": "8082:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -46225,32 +46483,32 @@ ], "expression": { "argumentTypes": null, - "id": 844, + "id": 850, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7965:5:1", + "referencedDeclaration": 644, + "src": "8066:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 845, + "id": 851, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7965:15:1", + "referencedDeclaration": 3230, + "src": "8066:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 847, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -46258,7 +46516,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7965:19:1", + "src": "8066:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -46269,13 +46527,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7934:51:1", + "src": "8035:51:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 849, + "id": 855, "isConstant": false, "isLValue": false, "isPure": false, @@ -46283,13 +46541,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7934:56:1", + "src": "8035:56:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 851, + "id": 857, "isConstant": false, "isLValue": false, "isPure": false, @@ -46297,7 +46555,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7934:63:1", + "src": "8035:63:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -46308,14 +46566,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 852, + "id": 858, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8000:1:1", + "src": "8101:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -46323,21 +46581,21 @@ }, "value": "1" }, - "src": "7934:67:1", + "src": "8035:67:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7910:91:1", + "src": "8011:91:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 855, + "id": 861, "nodeType": "ExpressionStatement", - "src": "7910:91:1" + "src": "8011:91:1" }, { "eventCall": { @@ -46345,12 +46603,12 @@ "arguments": [ { "argumentTypes": null, - "id": 857, + "id": 863, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8027:5:1", + "referencedDeclaration": 640, + "src": "8128:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46364,18 +46622,18 @@ "typeString": "address" } ], - "id": 856, + "id": 862, "name": "RegisterShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 421, - "src": "8014:12:1", + "referencedDeclaration": 427, + "src": "8115:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 858, + "id": 864, "isConstant": false, "isLValue": false, "isPure": false, @@ -46383,15 +46641,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8014:19:1", + "src": "8115:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 859, + "id": 865, "nodeType": "EmitStatement", - "src": "8009:24:1" + "src": "8110:24:1" }, { "expression": { @@ -46399,12 +46657,12 @@ "arguments": [ { "argumentTypes": null, - "id": 863, + "id": 869, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8059:5:1", + "referencedDeclaration": 640, + "src": "8160:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46412,12 +46670,12 @@ }, { "argumentTypes": null, - "id": 864, + "id": 870, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8065:6:1", + "referencedDeclaration": 642, + "src": "8166:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -46437,18 +46695,18 @@ ], "expression": { "argumentTypes": null, - "id": 860, + "id": 866, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "8041:4:1", + "referencedDeclaration": 479, + "src": "8142:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 862, + "id": 868, "isConstant": false, "isLValue": false, "isPure": false, @@ -46456,13 +46714,13 @@ "memberName": "addTokenShop", "nodeType": "MemberAccess", "referencedDeclaration": 324, - "src": "8041:17:1", + "src": "8142:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 865, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -46470,15 +46728,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8041:31:1", + "src": "8142:31:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 866, + "id": 872, "nodeType": "ExpressionStatement", - "src": "8041:31:1" + "src": "8142:31:1" }, { "expression": { @@ -46489,12 +46747,12 @@ "arguments": [ { "argumentTypes": null, - "id": 871, + "id": 877, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "8101:4:1", + "referencedDeclaration": 479, + "src": "8202:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -46508,20 +46766,20 @@ "typeString": "contract DetherBank" } ], - "id": 870, + "id": 876, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8093:7:1", + "src": "8194:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 872, + "id": 878, "isConstant": false, "isLValue": false, "isPure": false, @@ -46529,7 +46787,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8093:13:1", + "src": "8194:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46537,12 +46795,12 @@ }, { "argumentTypes": null, - "id": 873, + "id": 879, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8108:6:1", + "referencedDeclaration": 642, + "src": "8209:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -46562,32 +46820,32 @@ ], "expression": { "argumentTypes": null, - "id": 867, + "id": 873, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "8080:3:1", + "referencedDeclaration": 477, + "src": "8181:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 869, + "id": 875, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "8080:12:1", + "referencedDeclaration": 3366, + "src": "8181:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 874, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, @@ -46595,15 +46853,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8080:35:1", + "src": "8181:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 875, + "id": 881, "nodeType": "ExpressionStatement", - "src": "8080:35:1" + "src": "8181:35:1" } ] } @@ -46611,77 +46869,77 @@ ] }, "documentation": "@dev Standard ERC223 function that will handle incoming token transfers.\nThis is the main function to register SHOP or TELLER, its calling when you\nsend token to the DTH contract and by passing data as bytes on the third\nparameter.\nIts not supposed to be use on its own but will only handle incoming DTH\ntransaction.\nThe _data will wait for\n[1st byte] 1 (0x31) for shop OR 2 (0x32) for teller\nFOR SHOP AND TELLER:\n2sd to 5th bytes lat\n6th to 9th bytes lng\n...\nModifier tier1: Check if address is whitelisted with the sms verification", - "id": 1270, + "id": 1276, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 641, + "id": 647, "modifierName": { "argumentTypes": null, - "id": 640, + "id": 646, "name": "whenNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 253, - "src": "6623:13:1", + "src": "6724:13:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6623:13:1" + "src": "6724:13:1" }, { "arguments": [ { "argumentTypes": null, - "id": 643, + "id": 649, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "6643:5:1", + "referencedDeclaration": 640, + "src": "6744:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 644, + "id": 650, "modifierName": { "argumentTypes": null, - "id": 642, + "id": 648, "name": "tier1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "6637:5:1", + "referencedDeclaration": 2718, + "src": "6738:5:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "6637:13:1" + "src": "6738:13:1" } ], "name": "tokenFallback", "nodeType": "FunctionDefinition", "parameters": { - "id": 639, + "id": 645, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 634, + "id": 640, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6582:13:1", + "scope": 1276, + "src": "6683:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -46689,10 +46947,10 @@ "typeString": "address" }, "typeName": { - "id": 633, + "id": 639, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6582:7:1", + "src": "6683:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46703,11 +46961,11 @@ }, { "constant": false, - "id": 636, + "id": 642, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6597:11:1", + "scope": 1276, + "src": "6698:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -46715,10 +46973,10 @@ "typeString": "uint256" }, "typeName": { - "id": 635, + "id": 641, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6597:4:1", + "src": "6698:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -46729,11 +46987,11 @@ }, { "constant": false, - "id": 638, + "id": 644, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6610:11:1", + "scope": 1276, + "src": "6711:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -46741,10 +46999,10 @@ "typeString": "bytes" }, "typeName": { - "id": 637, + "id": 643, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6610:5:1", + "src": "6711:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -46754,26 +47012,26 @@ "visibility": "internal" } ], - "src": "6581:41:1" + "src": "6682:41:1" }, "payable": false, "returnParameters": { - "id": 645, + "id": 651, "nodeType": "ParameterList", "parameters": [], - "src": "6651:0:1" + "src": "6752:0:1" }, - "scope": 2659, - "src": "6559:4430:1", + "scope": 2672, + "src": "6660:4430:1", "stateMutability": "nonpayable", - "superFunction": 2959, + "superFunction": 2972, "visibility": "public" }, { "body": { - "id": 1395, + "id": 1401, "nodeType": "Block", - "src": "11281:633:1", + "src": "11382:633:1", "statements": [ { "expression": { @@ -46786,18 +47044,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1285, + "id": 1291, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11304:3:1", + "referencedDeclaration": 3390, + "src": "11405:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1286, + "id": 1292, "isConstant": false, "isLValue": false, "isPure": false, @@ -46805,7 +47063,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11304:10:1", + "src": "11405:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46819,18 +47077,18 @@ "typeString": "address" } ], - "id": 1284, + "id": 1290, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "11295:8:1", + "referencedDeclaration": 2629, + "src": "11396:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1287, + "id": 1293, "isConstant": false, "isLValue": false, "isPure": false, @@ -46838,7 +47096,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11295:20:1", + "src": "11396:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -46852,21 +47110,21 @@ "typeString": "bool" } ], - "id": 1283, + "id": 1289, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "11287:7:1", + "referencedDeclaration": 3393, + "src": "11388:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1288, + "id": 1294, "isConstant": false, "isLValue": false, "isPure": false, @@ -46874,15 +47132,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11287:29:1", + "src": "11388:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1289, + "id": 1295, "nodeType": "ExpressionStatement", - "src": "11287:29:1" + "src": "11388:29:1" }, { "condition": { @@ -46891,19 +47149,19 @@ "typeIdentifier": "t_int8", "typeString": "int8" }, - "id": 1296, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1290, + "id": 1296, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1272, - "src": "11326:10:1", + "referencedDeclaration": 1278, + "src": "11427:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -46917,34 +47175,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1291, + "id": 1297, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11340:6:1", + "referencedDeclaration": 534, + "src": "11441:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1294, + "id": 1300, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1292, + "id": 1298, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11347:3:1", + "referencedDeclaration": 3390, + "src": "11448:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1293, + "id": 1299, "isConstant": false, "isLValue": false, "isPure": false, @@ -46952,7 +47210,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11347:10:1", + "src": "11448:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46963,40 +47221,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11340:18:1", + "src": "11441:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1295, + "id": 1301, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "11340:29:1", + "referencedDeclaration": 491, + "src": "11441:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11326:43:1", + "src": "11427:43:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1305, + "id": 1311, "nodeType": "IfStatement", - "src": "11322:95:1", + "src": "11423:95:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1303, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -47007,34 +47265,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1297, + "id": 1303, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11375:6:1", + "referencedDeclaration": 534, + "src": "11476:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1300, + "id": 1306, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1298, + "id": 1304, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11382:3:1", + "referencedDeclaration": 3390, + "src": "11483:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1299, + "id": 1305, "isConstant": false, "isLValue": false, "isPure": false, @@ -47042,7 +47300,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11382:10:1", + "src": "11483:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47053,21 +47311,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11375:18:1", + "src": "11476:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1301, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "11375:29:1", + "referencedDeclaration": 491, + "src": "11476:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -47077,26 +47335,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1302, + "id": 1308, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1272, - "src": "11407:10:1", + "referencedDeclaration": 1278, + "src": "11508:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11375:42:1", + "src": "11476:42:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 1304, + "id": 1310, "nodeType": "ExpressionStatement", - "src": "11375:42:1" + "src": "11476:42:1" } }, { @@ -47106,7 +47364,7 @@ "typeIdentifier": "t_bytes16", "typeString": "bytes16" }, - "id": 1312, + "id": 1318, "isConstant": false, "isLValue": false, "isPure": false, @@ -47117,34 +47375,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1306, + "id": 1312, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11427:6:1", + "referencedDeclaration": 534, + "src": "11528:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1309, + "id": 1315, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1307, + "id": 1313, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11434:3:1", + "referencedDeclaration": 3390, + "src": "11535:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1308, + "id": 1314, "isConstant": false, "isLValue": false, "isPure": false, @@ -47152,7 +47410,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11434:10:1", + "src": "11535:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47163,21 +47421,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11427:18:1", + "src": "11528:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1310, + "id": 1316, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "11427:28:1", + "referencedDeclaration": 493, + "src": "11528:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -47187,31 +47445,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1311, + "id": 1317, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "11459:9:1", + "referencedDeclaration": 1280, + "src": "11560:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "11427:41:1", + "src": "11528:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1321, + "id": 1327, "nodeType": "IfStatement", - "src": "11423:92:1", + "src": "11524:92:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1319, + "id": 1325, "isConstant": false, "isLValue": false, "isPure": false, @@ -47222,34 +47480,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1313, + "id": 1319, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11475:6:1", + "referencedDeclaration": 534, + "src": "11576:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1316, + "id": 1322, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1314, + "id": 1320, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11482:3:1", + "referencedDeclaration": 3390, + "src": "11583:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1315, + "id": 1321, "isConstant": false, "isLValue": false, "isPure": false, @@ -47257,7 +47515,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11482:10:1", + "src": "11583:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47268,21 +47526,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11475:18:1", + "src": "11576:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1317, + "id": 1323, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "11475:28:1", + "referencedDeclaration": 493, + "src": "11576:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -47292,26 +47550,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1318, + "id": 1324, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "11506:9:1", + "referencedDeclaration": 1280, + "src": "11607:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "11475:40:1", + "src": "11576:40:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1320, + "id": 1326, "nodeType": "ExpressionStatement", - "src": "11475:40:1" + "src": "11576:40:1" } }, { @@ -47321,7 +47579,7 @@ "typeIdentifier": "t_int8", "typeString": "int8" }, - "id": 1328, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -47332,34 +47590,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1322, + "id": 1328, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11525:6:1", + "referencedDeclaration": 534, + "src": "11626:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1325, + "id": 1331, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1323, + "id": 1329, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11532:3:1", + "referencedDeclaration": 3390, + "src": "11633:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1324, + "id": 1330, "isConstant": false, "isLValue": false, "isPure": false, @@ -47367,7 +47625,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11532:10:1", + "src": "11633:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47378,21 +47636,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11525:18:1", + "src": "11626:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1326, + "id": 1332, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "11525:27:1", + "referencedDeclaration": 495, + "src": "11626:27:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -47402,31 +47660,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1327, + "id": 1333, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1276, - "src": "11556:8:1", + "referencedDeclaration": 1282, + "src": "11657:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11525:39:1", + "src": "11626:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1337, + "id": 1343, "nodeType": "IfStatement", - "src": "11521:88:1", + "src": "11622:88:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1335, + "id": 1341, "isConstant": false, "isLValue": false, "isPure": false, @@ -47437,34 +47695,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1329, + "id": 1335, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11571:6:1", + "referencedDeclaration": 534, + "src": "11672:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1332, + "id": 1338, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1330, + "id": 1336, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11578:3:1", + "referencedDeclaration": 3390, + "src": "11679:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1331, + "id": 1337, "isConstant": false, "isLValue": false, "isPure": false, @@ -47472,7 +47730,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11578:10:1", + "src": "11679:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47483,21 +47741,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11571:18:1", + "src": "11672:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1333, + "id": 1339, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "11571:27:1", + "referencedDeclaration": 495, + "src": "11672:27:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -47507,26 +47765,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1334, + "id": 1340, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1276, - "src": "11601:8:1", + "referencedDeclaration": 1282, + "src": "11702:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11571:38:1", + "src": "11672:38:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 1336, + "id": 1342, "nodeType": "ExpressionStatement", - "src": "11571:38:1" + "src": "11672:38:1" } }, { @@ -47536,7 +47794,7 @@ "typeIdentifier": "t_int16", "typeString": "int16" }, - "id": 1344, + "id": 1350, "isConstant": false, "isLValue": false, "isPure": false, @@ -47547,34 +47805,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1338, + "id": 1344, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11619:6:1", + "referencedDeclaration": 534, + "src": "11720:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1341, + "id": 1347, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1339, + "id": 1345, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11626:3:1", + "referencedDeclaration": 3390, + "src": "11727:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1340, + "id": 1346, "isConstant": false, "isLValue": false, "isPure": false, @@ -47582,7 +47840,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11626:10:1", + "src": "11727:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47593,21 +47851,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11619:18:1", + "src": "11720:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1342, + "id": 1348, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "11619:24:1", + "referencedDeclaration": 497, + "src": "11720:24:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -47617,31 +47875,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1343, + "id": 1349, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "11647:5:1", + "referencedDeclaration": 1284, + "src": "11748:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "11619:33:1", + "src": "11720:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1353, + "id": 1359, "nodeType": "IfStatement", - "src": "11615:76:1", + "src": "11716:76:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1351, + "id": 1357, "isConstant": false, "isLValue": false, "isPure": false, @@ -47652,34 +47910,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1345, + "id": 1351, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11659:6:1", + "referencedDeclaration": 534, + "src": "11760:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1348, + "id": 1354, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1346, + "id": 1352, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11666:3:1", + "referencedDeclaration": 3390, + "src": "11767:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1347, + "id": 1353, "isConstant": false, "isLValue": false, "isPure": false, @@ -47687,7 +47945,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11666:10:1", + "src": "11767:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47698,21 +47956,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11659:18:1", + "src": "11760:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1349, + "id": 1355, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "11659:24:1", + "referencedDeclaration": 497, + "src": "11760:24:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -47722,26 +47980,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1350, + "id": 1356, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "11686:5:1", + "referencedDeclaration": 1284, + "src": "11787:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "11659:32:1", + "src": "11760:32:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 1352, + "id": 1358, "nodeType": "ExpressionStatement", - "src": "11659:32:1" + "src": "11760:32:1" } }, { @@ -47751,7 +48009,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1360, + "id": 1366, "isConstant": false, "isLValue": false, "isPure": false, @@ -47762,34 +48020,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1354, + "id": 1360, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11701:6:1", + "referencedDeclaration": 534, + "src": "11802:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1357, + "id": 1363, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1355, + "id": 1361, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11708:3:1", + "referencedDeclaration": 3390, + "src": "11809:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1356, + "id": 1362, "isConstant": false, "isLValue": false, "isPure": false, @@ -47797,7 +48055,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11708:10:1", + "src": "11809:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47808,21 +48066,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11701:18:1", + "src": "11802:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1358, + "id": 1364, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "11701:25:1", + "referencedDeclaration": 507, + "src": "11802:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -47832,31 +48090,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1359, + "id": 1365, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "11730:6:1", + "referencedDeclaration": 1286, + "src": "11831:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "11701:35:1", + "src": "11802:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1369, + "id": 1375, "nodeType": "IfStatement", - "src": "11697:81:1", + "src": "11798:81:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1367, + "id": 1373, "isConstant": false, "isLValue": false, "isPure": false, @@ -47867,34 +48125,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1361, + "id": 1367, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11744:6:1", + "referencedDeclaration": 534, + "src": "11845:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1364, + "id": 1370, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1362, + "id": 1368, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11751:3:1", + "referencedDeclaration": 3390, + "src": "11852:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1363, + "id": 1369, "isConstant": false, "isLValue": false, "isPure": false, @@ -47902,7 +48160,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11751:10:1", + "src": "11852:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47913,21 +48171,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11744:18:1", + "src": "11845:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1365, + "id": 1371, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "11744:25:1", + "referencedDeclaration": 507, + "src": "11845:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -47937,26 +48195,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1366, + "id": 1372, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "11772:6:1", + "referencedDeclaration": 1286, + "src": "11873:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "11744:34:1", + "src": "11845:34:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1368, + "id": 1374, "nodeType": "ExpressionStatement", - "src": "11744:34:1" + "src": "11845:34:1" } }, { @@ -47966,7 +48224,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1373, + "id": 1379, "isConstant": false, "isLValue": false, "isPure": false, @@ -47975,18 +48233,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1370, + "id": 1376, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11788:3:1", + "referencedDeclaration": 3390, + "src": "11889:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1371, + "id": 1377, "isConstant": false, "isLValue": false, "isPure": false, @@ -47994,7 +48252,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11788:9:1", + "src": "11889:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48005,14 +48263,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1372, + "id": 1378, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11800:1:1", + "src": "11901:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -48020,20 +48278,20 @@ }, "value": "0" }, - "src": "11788:13:1", + "src": "11889:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1389, + "id": 1395, "nodeType": "IfStatement", - "src": "11784:91:1", + "src": "11885:91:1", "trueBody": { - "id": 1388, + "id": 1394, "nodeType": "Block", - "src": "11803:72:1", + "src": "11904:72:1", "statements": [ { "expression": { @@ -48043,18 +48301,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1382, + "id": 1388, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11846:3:1", + "referencedDeclaration": 3390, + "src": "11947:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1383, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -48062,7 +48320,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11846:10:1", + "src": "11947:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48072,18 +48330,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1384, + "id": 1390, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11858:3:1", + "referencedDeclaration": 3390, + "src": "11959:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1385, + "id": 1391, "isConstant": false, "isLValue": false, "isPure": false, @@ -48091,7 +48349,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11858:9:1", + "src": "11959:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48114,18 +48372,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1379, + "id": 1385, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11835:3:1", + "referencedDeclaration": 3390, + "src": "11936:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1380, + "id": 1386, "isConstant": false, "isLValue": false, "isPure": false, @@ -48133,7 +48391,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11835:9:1", + "src": "11936:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48151,18 +48409,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1374, + "id": 1380, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "11811:4:1", + "referencedDeclaration": 479, + "src": "11912:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1377, + "id": 1383, "isConstant": false, "isLValue": false, "isPure": false, @@ -48170,13 +48428,13 @@ "memberName": "addEthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 340, - "src": "11811:17:1", + "src": "11912:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1378, + "id": 1384, "isConstant": false, "isLValue": false, "isPure": false, @@ -48184,13 +48442,13 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11811:23:1", + "src": "11912:23:1", "typeDescriptions": { "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value_$", "typeString": "function (uint256) returns (function (address,uint256) payable external returns (bool))" } }, - "id": 1381, + "id": 1387, "isConstant": false, "isLValue": false, "isPure": false, @@ -48198,13 +48456,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11811:34:1", + "src": "11912:34:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1386, + "id": 1392, "isConstant": false, "isLValue": false, "isPure": false, @@ -48212,15 +48470,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11811:57:1", + "src": "11912:57:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1387, + "id": 1393, "nodeType": "ExpressionStatement", - "src": "11811:57:1" + "src": "11912:57:1" } ] } @@ -48233,18 +48491,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1391, + "id": 1397, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11898:3:1", + "referencedDeclaration": 3390, + "src": "11999:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1392, + "id": 1398, "isConstant": false, "isLValue": false, "isPure": false, @@ -48252,7 +48510,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11898:10:1", + "src": "11999:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48266,18 +48524,18 @@ "typeString": "address" } ], - "id": 1390, + "id": 1396, "name": "UpdateTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "11885:12:1", + "referencedDeclaration": 415, + "src": "11986:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1393, + "id": 1399, "isConstant": false, "isLValue": false, "isPure": false, @@ -48285,20 +48543,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11885:24:1", + "src": "11986:24:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1394, + "id": 1400, "nodeType": "EmitStatement", - "src": "11880:29:1" + "src": "11981:29:1" } ] }, "documentation": "a teller can update his profile\nIf a teller want to change his location, he would need to delete and recreate\na new point", - "id": 1396, + "id": 1402, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -48306,16 +48564,16 @@ "name": "updateTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 1281, + "id": 1287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1272, + "id": 1278, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11169:15:1", + "scope": 1402, + "src": "11270:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48323,10 +48581,10 @@ "typeString": "int8" }, "typeName": { - "id": 1271, + "id": 1277, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "11169:4:1", + "src": "11270:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -48337,11 +48595,11 @@ }, { "constant": false, - "id": 1274, + "id": 1280, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11190:17:1", + "scope": 1402, + "src": "11291:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48349,10 +48607,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 1273, + "id": 1279, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "11190:7:1", + "src": "11291:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -48363,11 +48621,11 @@ }, { "constant": false, - "id": 1276, + "id": 1282, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11213:13:1", + "scope": 1402, + "src": "11314:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48375,10 +48633,10 @@ "typeString": "int8" }, "typeName": { - "id": 1275, + "id": 1281, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "11213:4:1", + "src": "11314:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -48389,11 +48647,11 @@ }, { "constant": false, - "id": 1278, + "id": 1284, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11232:11:1", + "scope": 1402, + "src": "11333:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48401,10 +48659,10 @@ "typeString": "int16" }, "typeName": { - "id": 1277, + "id": 1283, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "11232:5:1", + "src": "11333:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -48415,11 +48673,11 @@ }, { "constant": false, - "id": 1280, + "id": 1286, "name": "online", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11249:11:1", + "scope": 1402, + "src": "11350:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48427,10 +48685,10 @@ "typeString": "bool" }, "typeName": { - "id": 1279, + "id": 1285, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11249:4:1", + "src": "11350:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -48440,28 +48698,28 @@ "visibility": "internal" } ], - "src": "11163:102:1" + "src": "11264:102:1" }, "payable": true, "returnParameters": { - "id": 1282, + "id": 1288, "nodeType": "ParameterList", "parameters": [], - "src": "11281:0:1" + "src": "11382:0:1" }, - "scope": 2659, - "src": "11142:772:1", + "scope": 2672, + "src": "11243:772:1", "stateMutability": "payable", "superFunction": null, "visibility": "public" }, { "constant": false, - "id": 1402, + "id": 1408, "name": "limitTier", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "12011:51:1", + "scope": 2672, + "src": "12112:51:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -48469,46 +48727,46 @@ "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" }, "typeName": { - "id": 1401, + "id": 1407, "keyType": { - "id": 1397, + "id": 1403, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12019:4:1", + "src": "12120:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "12011:41:1", + "src": "12112:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" }, "valueType": { - "id": 1400, + "id": 1406, "keyType": { - "id": 1398, + "id": 1404, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12036:6:1", + "src": "12137:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "12027:24:1", + "src": "12128:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" }, "valueType": { - "id": 1399, + "id": 1405, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12046:4:1", + "src": "12147:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48521,14 +48779,14 @@ }, { "body": { - "id": 1421, + "id": 1427, "nodeType": "Block", - "src": "12159:51:1", + "src": "12260:51:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1419, + "id": 1425, "isConstant": false, "isLValue": false, "isPure": false, @@ -48539,26 +48797,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1413, + "id": 1419, "name": "limitTier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "12165:9:1", + "referencedDeclaration": 1408, + "src": "12266:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" } }, - "id": 1416, + "id": 1422, "indexExpression": { "argumentTypes": null, - "id": 1414, + "id": 1420, "name": "_tier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1404, - "src": "12175:5:1", + "referencedDeclaration": 1410, + "src": "12276:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48569,21 +48827,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12165:16:1", + "src": "12266:16:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1417, + "id": 1423, "indexExpression": { "argumentTypes": null, - "id": 1415, + "id": 1421, "name": "_countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1406, - "src": "12182:10:1", + "referencedDeclaration": 1412, + "src": "12283:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -48594,7 +48852,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "12165:28:1", + "src": "12266:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48604,68 +48862,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1418, + "id": 1424, "name": "_limitUsd", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1408, - "src": "12196:9:1", + "referencedDeclaration": 1414, + "src": "12297:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12165:40:1", + "src": "12266:40:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1420, + "id": 1426, "nodeType": "ExpressionStatement", - "src": "12165:40:1" + "src": "12266:40:1" } ] }, "documentation": null, - "id": 1422, + "id": 1428, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1411, + "id": 1417, "modifierName": { "argumentTypes": null, - "id": 1410, + "id": 1416, "name": "onlyCFO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "12151:7:1", + "src": "12252:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "12151:7:1" + "src": "12252:7:1" } ], "name": "setSellDailyLimit", "nodeType": "FunctionDefinition", "parameters": { - "id": 1409, + "id": 1415, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1404, + "id": 1410, "name": "_tier", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12094:10:1", + "scope": 1428, + "src": "12195:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48673,10 +48931,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1403, + "id": 1409, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12094:4:1", + "src": "12195:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48687,11 +48945,11 @@ }, { "constant": false, - "id": 1406, + "id": 1412, "name": "_countryId", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12106:17:1", + "scope": 1428, + "src": "12207:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48699,10 +48957,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1405, + "id": 1411, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12106:6:1", + "src": "12207:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -48713,11 +48971,11 @@ }, { "constant": false, - "id": 1408, + "id": 1414, "name": "_limitUsd", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12125:17:1", + "scope": 1428, + "src": "12226:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48725,10 +48983,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1407, + "id": 1413, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12125:7:1", + "src": "12226:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48738,43 +48996,43 @@ "visibility": "internal" } ], - "src": "12093:50:1" + "src": "12194:50:1" }, "payable": false, "returnParameters": { - "id": 1412, + "id": 1418, "nodeType": "ParameterList", "parameters": [], - "src": "12159:0:1" + "src": "12260:0:1" }, - "scope": 2659, - "src": "12067:143:1", + "scope": 2672, + "src": "12168:143:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1439, + "id": 1445, "nodeType": "Block", - "src": "12309:50:1", + "src": "12410:50:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1437, + "id": 1443, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1431, + "id": 1437, "name": "limitUsd", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "12315:8:1", + "referencedDeclaration": 1435, + "src": "12416:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48788,26 +49046,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1432, + "id": 1438, "name": "limitTier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "12326:9:1", + "referencedDeclaration": 1408, + "src": "12427:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" } }, - "id": 1434, + "id": 1440, "indexExpression": { "argumentTypes": null, - "id": 1433, + "id": 1439, "name": "_tier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1424, - "src": "12336:5:1", + "referencedDeclaration": 1430, + "src": "12437:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48818,21 +49076,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12326:16:1", + "src": "12427:16:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1436, + "id": 1442, "indexExpression": { "argumentTypes": null, - "id": 1435, + "id": 1441, "name": "_countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1426, - "src": "12343:10:1", + "referencedDeclaration": 1432, + "src": "12444:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -48843,26 +49101,26 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12326:28:1", + "src": "12427:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12315:39:1", + "src": "12416:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1438, + "id": 1444, "nodeType": "ExpressionStatement", - "src": "12315:39:1" + "src": "12416:39:1" } ] }, "documentation": null, - "id": 1440, + "id": 1446, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -48870,16 +49128,16 @@ "name": "getSellDailyLimit", "nodeType": "FunctionDefinition", "parameters": { - "id": 1427, + "id": 1433, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1424, + "id": 1430, "name": "_tier", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12240:10:1", + "scope": 1446, + "src": "12341:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48887,10 +49145,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1423, + "id": 1429, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12240:4:1", + "src": "12341:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48901,11 +49159,11 @@ }, { "constant": false, - "id": 1426, + "id": 1432, "name": "_countryId", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12252:17:1", + "scope": 1446, + "src": "12353:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48913,10 +49171,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1425, + "id": 1431, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12252:6:1", + "src": "12353:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -48926,20 +49184,20 @@ "visibility": "internal" } ], - "src": "12239:31:1" + "src": "12340:31:1" }, "payable": false, "returnParameters": { - "id": 1430, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1429, + "id": 1435, "name": "limitUsd", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12291:16:1", + "scope": 1446, + "src": "12392:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48947,10 +49205,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1428, + "id": 1434, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12291:7:1", + "src": "12392:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48960,32 +49218,32 @@ "visibility": "internal" } ], - "src": "12290:18:1" + "src": "12391:18:1" }, - "scope": 2659, - "src": "12213:146:1", + "scope": 2672, + "src": "12314:146:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1497, + "id": 1503, "nodeType": "Block", - "src": "12441:726:1", + "src": "12542:726:1", "statements": [ { "assignments": [ - 1447 + 1453 ], "declarations": [ { "constant": false, - "id": 1447, + "id": 1453, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12481:16:1", + "scope": 1504, + "src": "12582:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48993,10 +49251,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1446, + "id": 1452, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12481:6:1", + "src": "12582:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -49006,33 +49264,33 @@ "visibility": "internal" } ], - "id": 1452, + "id": 1458, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1448, + "id": 1454, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "12500:6:1", + "referencedDeclaration": 534, + "src": "12601:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1450, + "id": 1456, "indexExpression": { "argumentTypes": null, - "id": 1449, + "id": 1455, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12507:7:1", + "referencedDeclaration": 1448, + "src": "12608:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49043,41 +49301,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12500:15:1", + "src": "12601:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1451, + "id": 1457, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "12500:25:1", + "referencedDeclaration": 487, + "src": "12601:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "VariableDeclarationStatement", - "src": "12481:44:1" + "src": "12582:44:1" }, { "assignments": [ - 1454 + 1460 ], "declarations": [ { "constant": false, - "id": 1454, + "id": 1460, "name": "usdDailyLimit", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12580:21:1", + "scope": 1504, + "src": "12681:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49085,10 +49343,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1453, + "id": 1459, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12580:7:1", + "src": "12681:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49098,7 +49356,7 @@ "visibility": "internal" } ], - "id": 1464, + "id": 1470, "initialValue": { "argumentTypes": null, "arguments": [ @@ -49109,12 +49367,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1457, + "id": 1463, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12630:7:1", + "referencedDeclaration": 1448, + "src": "12731:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49128,18 +49386,18 @@ "typeString": "address" } ], - "id": 1456, + "id": 1462, "name": "isTier2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2768, - "src": "12622:7:1", + "referencedDeclaration": 2781, + "src": "12723:7:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1458, + "id": 1464, "isConstant": false, "isLValue": false, "isPure": false, @@ -49147,7 +49405,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12622:16:1", + "src": "12723:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -49156,14 +49414,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1460, + "id": 1466, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12645:1:1", + "src": "12746:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -49171,24 +49429,24 @@ }, "value": "1" }, - "id": 1461, + "id": 1467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "12622:24:1", + "src": "12723:24:1", "trueExpression": { "argumentTypes": null, "hexValue": "32", - "id": 1459, + "id": 1465, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12641:1:1", + "src": "12742:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -49203,12 +49461,12 @@ }, { "argumentTypes": null, - "id": 1462, + "id": 1468, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1447, - "src": "12648:9:1", + "referencedDeclaration": 1453, + "src": "12749:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -49226,18 +49484,18 @@ "typeString": "bytes2" } ], - "id": 1455, + "id": 1461, "name": "getSellDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1440, - "src": "12604:17:1", + "referencedDeclaration": 1446, + "src": "12705:17:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_bytes2_$returns$_t_uint256_$", "typeString": "function (uint256,bytes2) view returns (uint256)" } }, - "id": 1463, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -49245,27 +49503,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12604:54:1", + "src": "12705:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12580:78:1" + "src": "12681:78:1" }, { "assignments": [ - 1466 + 1472 ], "declarations": [ { "constant": false, - "id": 1466, + "id": 1472, "name": "weiDailyLimit", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12743:21:1", + "scope": 1504, + "src": "12844:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49273,10 +49531,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1465, + "id": 1471, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12743:7:1", + "src": "12844:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49286,7 +49544,7 @@ "visibility": "internal" } ], - "id": 1474, + "id": 1480, "initialValue": { "argumentTypes": null, "arguments": [ @@ -49297,18 +49555,18 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 1469, + "id": 1475, "name": "priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 475, - "src": "12780:11:1", + "referencedDeclaration": 481, + "src": "12881:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "id": 1470, + "id": 1476, "isConstant": false, "isLValue": false, "isPure": false, @@ -49316,13 +49574,13 @@ "memberName": "getWeiPriceOneUsd", "nodeType": "MemberAccess", "referencedDeclaration": 299, - "src": "12780:29:1", + "src": "12881:29:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 1471, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": false, @@ -49330,7 +49588,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12780:31:1", + "src": "12881:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49338,12 +49596,12 @@ }, { "argumentTypes": null, - "id": 1472, + "id": 1478, "name": "usdDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1454, - "src": "12813:13:1", + "referencedDeclaration": 1460, + "src": "12914:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49363,32 +49621,32 @@ ], "expression": { "argumentTypes": null, - "id": 1467, + "id": 1473, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "12767:8:1", + "referencedDeclaration": 3071, + "src": "12868:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1468, + "id": 1474, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "12767:12:1", + "referencedDeclaration": 3008, + "src": "12868:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1473, + "id": 1479, "isConstant": false, "isLValue": false, "isPure": false, @@ -49396,27 +49654,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12767:60:1", + "src": "12868:60:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12743:84:1" + "src": "12844:84:1" }, { "assignments": [ - 1476 + 1482 ], "declarations": [ { "constant": false, - "id": 1476, + "id": 1482, "name": "weiSoldToday", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12920:20:1", + "scope": 1504, + "src": "13021:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49424,10 +49682,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1475, + "id": 1481, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12920:7:1", + "src": "13021:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49437,18 +49695,18 @@ "visibility": "internal" } ], - "id": 1481, + "id": 1487, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1479, + "id": 1485, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12964:7:1", + "referencedDeclaration": 1448, + "src": "13065:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49464,18 +49722,18 @@ ], "expression": { "argumentTypes": null, - "id": 1477, + "id": 1483, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "12943:4:1", + "referencedDeclaration": 479, + "src": "13044:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1478, + "id": 1484, "isConstant": false, "isLValue": false, "isPure": false, @@ -49483,13 +49741,13 @@ "memberName": "getWeiSoldToday", "nodeType": "MemberAccess", "referencedDeclaration": 382, - "src": "12943:20:1", + "src": "13044:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 1480, + "id": 1486, "isConstant": false, "isLValue": false, "isPure": false, @@ -49497,27 +49755,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12943:29:1", + "src": "13044:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12920:52:1" + "src": "13021:52:1" }, { "assignments": [ - 1483 + 1489 ], "declarations": [ { "constant": false, - "id": 1483, + "id": 1489, "name": "newWeiSoldToday", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12979:23:1", + "scope": 1504, + "src": "13080:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49525,10 +49783,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1482, + "id": 1488, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12979:7:1", + "src": "13080:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49538,18 +49796,18 @@ "visibility": "internal" } ], - "id": 1489, + "id": 1495, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1486, + "id": 1492, "name": "weiSoldToday", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1476, - "src": "13018:12:1", + "referencedDeclaration": 1482, + "src": "13119:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49557,12 +49815,12 @@ }, { "argumentTypes": null, - "id": 1487, + "id": 1493, "name": "_weiSellAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1444, - "src": "13032:14:1", + "referencedDeclaration": 1450, + "src": "13133:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49582,32 +49840,32 @@ ], "expression": { "argumentTypes": null, - "id": 1484, + "id": 1490, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "13005:8:1", + "referencedDeclaration": 3071, + "src": "13106:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1485, + "id": 1491, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "13005:12:1", + "referencedDeclaration": 3070, + "src": "13106:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1488, + "id": 1494, "isConstant": false, "isLValue": false, "isPure": false, @@ -49615,14 +49873,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13005:42:1", + "src": "13106:42:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12979:68:1" + "src": "13080:68:1" }, { "expression": { @@ -49634,19 +49892,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1493, + "id": 1499, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1491, + "id": 1497, "name": "newWeiSoldToday", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1483, - "src": "13122:15:1", + "referencedDeclaration": 1489, + "src": "13223:15:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49656,18 +49914,18 @@ "operator": "<=", "rightExpression": { "argumentTypes": null, - "id": 1492, + "id": 1498, "name": "weiDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1466, - "src": "13141:13:1", + "referencedDeclaration": 1472, + "src": "13242:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13122:32:1", + "src": "13223:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -49681,21 +49939,21 @@ "typeString": "bool" } ], - "id": 1490, + "id": 1496, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13114:7:1", + "referencedDeclaration": 3393, + "src": "13215:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1494, + "id": 1500, "isConstant": false, "isLValue": false, "isPure": false, @@ -49703,38 +49961,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13114:41:1", + "src": "13215:41:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1495, + "id": 1501, "nodeType": "ExpressionStatement", - "src": "13114:41:1" + "src": "13215:41:1" }, { - "id": 1496, + "id": 1502, "nodeType": "PlaceholderStatement", - "src": "13161:1:1" + "src": "13262:1:1" } ] }, "documentation": null, - "id": 1498, + "id": 1504, "name": "doesNotExceedDailySellLimit", "nodeType": "ModifierDefinition", "parameters": { - "id": 1445, + "id": 1451, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1442, + "id": 1448, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12400:15:1", + "scope": 1504, + "src": "12501:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49742,10 +50000,10 @@ "typeString": "address" }, "typeName": { - "id": 1441, + "id": 1447, "name": "address", "nodeType": "ElementaryTypeName", - "src": "12400:7:1", + "src": "12501:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49756,11 +50014,11 @@ }, { "constant": false, - "id": 1444, + "id": 1450, "name": "_weiSellAmount", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12417:22:1", + "scope": 1504, + "src": "12518:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49768,10 +50026,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1443, + "id": 1449, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12417:7:1", + "src": "12518:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49781,16 +50039,16 @@ "visibility": "internal" } ], - "src": "12399:41:1" + "src": "12500:41:1" }, - "src": "12363:804:1", + "src": "12464:804:1", "visibility": "internal" }, { "body": { - "id": 1513, + "id": 1519, "nodeType": "Block", - "src": "13260:50:1", + "src": "13361:50:1", "statements": [ { "expression": { @@ -49799,26 +50057,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1507, + "id": 1513, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "13273:20:1", + "referencedDeclaration": 514, + "src": "13374:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1509, + "id": 1515, "indexExpression": { "argumentTypes": null, - "id": 1508, + "id": 1514, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1500, - "src": "13294:5:1", + "referencedDeclaration": 1506, + "src": "13395:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49829,21 +50087,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13273:27:1", + "src": "13374:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1511, + "id": 1517, "indexExpression": { "argumentTypes": null, - "id": 1510, + "id": 1516, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "13301:3:1", + "referencedDeclaration": 1508, + "src": "13402:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49854,21 +50112,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13273:32:1", + "src": "13374:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1506, - "id": 1512, + "functionReturnParameters": 1512, + "id": 1518, "nodeType": "Return", - "src": "13266:39:1" + "src": "13367:39:1" } ] }, "documentation": null, - "id": 1514, + "id": 1520, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -49876,16 +50134,16 @@ "name": "getPairSellLoyaltyPerc", "nodeType": "FunctionDefinition", "parameters": { - "id": 1503, + "id": 1509, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1500, + "id": 1506, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13203:13:1", + "scope": 1520, + "src": "13304:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49893,10 +50151,10 @@ "typeString": "address" }, "typeName": { - "id": 1499, + "id": 1505, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13203:7:1", + "src": "13304:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49907,11 +50165,11 @@ }, { "constant": false, - "id": 1502, + "id": 1508, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13218:11:1", + "scope": 1520, + "src": "13319:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49919,10 +50177,10 @@ "typeString": "address" }, "typeName": { - "id": 1501, + "id": 1507, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13218:7:1", + "src": "13319:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49932,20 +50190,20 @@ "visibility": "internal" } ], - "src": "13202:28:1" + "src": "13303:28:1" }, "payable": false, "returnParameters": { - "id": 1506, + "id": 1512, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1505, + "id": 1511, "name": "", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13251:7:1", + "scope": 1520, + "src": "13352:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49953,10 +50211,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1504, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13251:7:1", + "src": "13352:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49966,45 +50224,45 @@ "visibility": "internal" } ], - "src": "13250:9:1" + "src": "13351:9:1" }, - "scope": 2659, - "src": "13171:139:1", + "scope": 2672, + "src": "13272:139:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1525, + "id": 1531, "nodeType": "Block", - "src": "13383:36:1", + "src": "13484:36:1", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1521, + "id": 1527, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "13396:13:1", + "referencedDeclaration": 530, + "src": "13497:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1523, + "id": 1529, "indexExpression": { "argumentTypes": null, - "id": 1522, + "id": 1528, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "13410:3:1", + "referencedDeclaration": 1522, + "src": "13511:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50015,21 +50273,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13396:18:1", + "src": "13497:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1520, - "id": 1524, + "functionReturnParameters": 1526, + "id": 1530, "nodeType": "Return", - "src": "13389:25:1" + "src": "13490:25:1" } ] }, "documentation": null, - "id": 1526, + "id": 1532, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -50037,16 +50295,16 @@ "name": "getLoyaltyPoints", "nodeType": "FunctionDefinition", "parameters": { - "id": 1517, + "id": 1523, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1516, + "id": 1522, "name": "who", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "13340:11:1", + "scope": 1532, + "src": "13441:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -50054,10 +50312,10 @@ "typeString": "address" }, "typeName": { - "id": 1515, + "id": 1521, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13340:7:1", + "src": "13441:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50067,20 +50325,20 @@ "visibility": "internal" } ], - "src": "13339:13:1" + "src": "13440:13:1" }, "payable": false, "returnParameters": { - "id": 1520, + "id": 1526, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1519, + "id": 1525, "name": "", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "13374:7:1", + "scope": 1532, + "src": "13475:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -50088,10 +50346,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1518, + "id": 1524, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13374:7:1", + "src": "13475:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50101,19 +50359,19 @@ "visibility": "internal" } ], - "src": "13373:9:1" + "src": "13474:9:1" }, - "scope": 2659, - "src": "13314:105:1", + "scope": 2672, + "src": "13415:105:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1671, + "id": 1677, "nodeType": "Block", - "src": "13698:1427:1", + "src": "13799:1427:1", "statements": [ { "expression": { @@ -50126,18 +50384,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1542, + "id": 1548, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13721:3:1", + "referencedDeclaration": 3390, + "src": "13822:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1543, + "id": 1549, "isConstant": false, "isLValue": false, "isPure": false, @@ -50145,7 +50403,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13721:10:1", + "src": "13822:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50159,18 +50417,18 @@ "typeString": "address" } ], - "id": 1541, + "id": 1547, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "13712:8:1", + "referencedDeclaration": 2629, + "src": "13813:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1544, + "id": 1550, "isConstant": false, "isLValue": false, "isPure": false, @@ -50178,7 +50436,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13712:20:1", + "src": "13813:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -50192,21 +50450,21 @@ "typeString": "bool" } ], - "id": 1540, + "id": 1546, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13704:7:1", + "referencedDeclaration": 3393, + "src": "13805:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1545, + "id": 1551, "isConstant": false, "isLValue": false, "isPure": false, @@ -50214,15 +50472,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13704:29:1", + "src": "13805:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1552, "nodeType": "ExpressionStatement", - "src": "13704:29:1" + "src": "13805:29:1" }, { "expression": { @@ -50234,19 +50492,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1551, + "id": 1557, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1548, + "id": 1554, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "13747:3:1", + "referencedDeclaration": 1534, + "src": "13848:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50258,18 +50516,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1549, + "id": 1555, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13754:3:1", + "referencedDeclaration": 3390, + "src": "13855:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1550, + "id": 1556, "isConstant": false, "isLValue": false, "isPure": false, @@ -50277,13 +50535,13 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13754:10:1", + "src": "13855:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "13747:17:1", + "src": "13848:17:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -50297,21 +50555,21 @@ "typeString": "bool" } ], - "id": 1547, + "id": 1553, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13739:7:1", + "referencedDeclaration": 3393, + "src": "13840:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1552, + "id": 1558, "isConstant": false, "isLValue": false, "isPure": false, @@ -50319,15 +50577,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13739:26:1", + "src": "13840:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1553, + "id": 1559, "nodeType": "ExpressionStatement", - "src": "13739:26:1" + "src": "13840:26:1" }, { "expression": { @@ -50337,18 +50595,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1557, + "id": 1563, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13910:3:1", + "referencedDeclaration": 3390, + "src": "14011:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1558, + "id": 1564, "isConstant": false, "isLValue": false, "isPure": false, @@ -50356,7 +50614,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13910:10:1", + "src": "14011:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50364,12 +50622,12 @@ }, { "argumentTypes": null, - "id": 1559, + "id": 1565, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "13922:3:1", + "referencedDeclaration": 1534, + "src": "14023:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50377,12 +50635,12 @@ }, { "argumentTypes": null, - "id": 1560, + "id": 1566, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "13927:7:1", + "referencedDeclaration": 1536, + "src": "14028:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50406,18 +50664,18 @@ ], "expression": { "argumentTypes": null, - "id": 1554, + "id": 1560, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "13893:4:1", + "referencedDeclaration": 479, + "src": "13994:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1556, + "id": 1562, "isConstant": false, "isLValue": false, "isPure": false, @@ -50425,13 +50683,13 @@ "memberName": "withdrawEth", "nodeType": "MemberAccess", "referencedDeclaration": 349, - "src": "13893:16:1", + "src": "13994:16:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256) external" } }, - "id": 1561, + "id": 1567, "isConstant": false, "isLValue": false, "isPure": false, @@ -50439,15 +50697,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13893:42:1", + "src": "13994:42:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1562, + "id": 1568, "nodeType": "ExpressionStatement", - "src": "13893:42:1" + "src": "13994:42:1" }, { "condition": { @@ -50455,12 +50713,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1565, + "id": 1571, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14118:3:1", + "referencedDeclaration": 1534, + "src": "14219:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50476,32 +50734,32 @@ ], "expression": { "argumentTypes": null, - "id": 1563, + "id": 1569, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, - "src": "14095:12:1", + "referencedDeclaration": 2687, + "src": "14196:12:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 1564, + "id": 1570, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, - "src": "14095:22:1", + "referencedDeclaration": 2933, + "src": "14196:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 1566, + "id": 1572, "isConstant": false, "isLValue": false, "isPure": false, @@ -50509,33 +50767,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14095:27:1", + "src": "14196:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1663, + "id": 1669, "nodeType": "IfStatement", - "src": "14091:989:1", + "src": "14192:989:1", "trueBody": { - "id": 1662, + "id": 1668, "nodeType": "Block", - "src": "14124:956:1", + "src": "14225:956:1", "statements": [ { "assignments": [ - 1568 + 1574 ], "declarations": [ { "constant": false, - "id": 1568, + "id": 1574, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "14132:35:1", + "scope": 1678, + "src": "14233:35:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -50543,10 +50801,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1567, + "id": 1573, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14132:4:1", + "src": "14233:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50556,41 +50814,41 @@ "visibility": "internal" } ], - "id": 1575, + "id": 1581, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1569, + "id": 1575, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14170:20:1", + "referencedDeclaration": 514, + "src": "14271:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1572, + "id": 1578, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1570, + "id": 1576, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14191:3:1", + "referencedDeclaration": 3390, + "src": "14292:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1571, + "id": 1577, "isConstant": false, "isLValue": false, "isPure": false, @@ -50598,7 +50856,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14191:10:1", + "src": "14292:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50609,21 +50867,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14170:32:1", + "src": "14271:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1574, + "id": 1580, "indexExpression": { "argumentTypes": null, - "id": 1573, + "id": 1579, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14203:3:1", + "referencedDeclaration": 1534, + "src": "14304:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50634,14 +50892,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14170:37:1", + "src": "14271:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14132:75:1" + "src": "14233:75:1" }, { "condition": { @@ -50650,19 +50908,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1578, + "id": 1584, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1576, + "id": 1582, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14219:30:1", + "referencedDeclaration": 1574, + "src": "14320:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50673,14 +50931,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1577, + "id": 1583, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14253:1:1", + "src": "14354:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -50688,25 +50946,25 @@ }, "value": "0" }, - "src": "14219:35:1", + "src": "14320:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1593, + "id": 1599, "nodeType": "IfStatement", - "src": "14215:225:1", + "src": "14316:225:1", "trueBody": { - "id": 1592, + "id": 1598, "nodeType": "Block", - "src": "14256:184:1", + "src": "14357:184:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1586, + "id": 1592, "isConstant": false, "isLValue": false, "isPure": false, @@ -50717,34 +50975,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1579, + "id": 1585, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14338:20:1", + "referencedDeclaration": 514, + "src": "14439:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1583, + "id": 1589, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1580, + "id": 1586, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14359:3:1", + "referencedDeclaration": 3390, + "src": "14460:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1581, + "id": 1587, "isConstant": false, "isLValue": false, "isPure": false, @@ -50752,7 +51010,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14359:10:1", + "src": "14460:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50763,21 +51021,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14338:32:1", + "src": "14439:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1584, + "id": 1590, "indexExpression": { "argumentTypes": null, - "id": 1582, + "id": 1588, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14371:3:1", + "referencedDeclaration": 1534, + "src": "14472:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50788,7 +51046,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14338:37:1", + "src": "14439:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50799,14 +51057,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1585, + "id": 1591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14378:5:1", + "src": "14479:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -50814,32 +51072,32 @@ }, "value": "10000" }, - "src": "14338:45:1", + "src": "14439:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1587, + "id": 1593, "nodeType": "ExpressionStatement", - "src": "14338:45:1" + "src": "14439:45:1" }, { "expression": { "argumentTypes": null, - "id": 1590, + "id": 1596, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1588, + "id": 1594, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14393:30:1", + "referencedDeclaration": 1574, + "src": "14494:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50850,14 +51108,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1589, + "id": 1595, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14426:5:1", + "src": "14527:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -50865,15 +51123,15 @@ }, "value": "10000" }, - "src": "14393:38:1", + "src": "14494:38:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1591, + "id": 1597, "nodeType": "ExpressionStatement", - "src": "14393:38:1" + "src": "14494:38:1" } ] } @@ -50881,7 +51139,7 @@ { "expression": { "argumentTypes": null, - "id": 1612, + "id": 1618, "isConstant": false, "isLValue": false, "isPure": false, @@ -50890,34 +51148,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1594, + "id": 1600, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "14528:13:1", + "referencedDeclaration": 530, + "src": "14629:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1597, + "id": 1603, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1595, + "id": 1601, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14542:3:1", + "referencedDeclaration": 3390, + "src": "14643:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1596, + "id": 1602, "isConstant": false, "isLValue": false, "isPure": false, @@ -50925,7 +51183,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14542:10:1", + "src": "14643:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50936,7 +51194,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14528:25:1", + "src": "14629:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50951,34 +51209,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1600, + "id": 1606, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "14569:13:1", + "referencedDeclaration": 530, + "src": "14670:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1603, + "id": 1609, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1601, + "id": 1607, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14583:3:1", + "referencedDeclaration": 3390, + "src": "14684:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1602, + "id": 1608, "isConstant": false, "isLValue": false, "isPure": false, @@ -50986,7 +51244,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14583:10:1", + "src": "14684:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50997,7 +51255,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14569:25:1", + "src": "14670:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51009,7 +51267,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1610, + "id": 1616, "isConstant": false, "isLValue": false, "isPure": false, @@ -51019,12 +51277,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1606, + "id": 1612, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "14609:7:1", + "referencedDeclaration": 1536, + "src": "14710:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51032,12 +51290,12 @@ }, { "argumentTypes": null, - "id": 1607, + "id": 1613, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14618:30:1", + "referencedDeclaration": 1574, + "src": "14719:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51057,32 +51315,32 @@ ], "expression": { "argumentTypes": null, - "id": 1604, + "id": 1610, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14596:8:1", + "referencedDeclaration": 3071, + "src": "14697:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1605, + "id": 1611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "14596:12:1", + "referencedDeclaration": 3008, + "src": "14697:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1608, + "id": 1614, "isConstant": false, "isLValue": false, "isPure": false, @@ -51090,7 +51348,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14596:53:1", + "src": "14697:53:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51101,14 +51359,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1609, + "id": 1615, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14652:5:1", + "src": "14753:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -51116,7 +51374,7 @@ }, "value": "10000" }, - "src": "14596:61:1", + "src": "14697:61:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51136,32 +51394,32 @@ ], "expression": { "argumentTypes": null, - "id": 1598, + "id": 1604, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14556:8:1", + "referencedDeclaration": 3071, + "src": "14657:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1599, + "id": 1605, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14556:12:1", + "referencedDeclaration": 3070, + "src": "14657:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1611, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, @@ -51169,26 +51427,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14556:102:1", + "src": "14657:102:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14528:130:1", + "src": "14629:130:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1613, + "id": 1619, "nodeType": "ExpressionStatement", - "src": "14528:130:1" + "src": "14629:130:1" }, { "expression": { "argumentTypes": null, - "id": 1627, + "id": 1633, "isConstant": false, "isLValue": false, "isPure": false, @@ -51199,34 +51457,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1614, + "id": 1620, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14806:20:1", + "referencedDeclaration": 514, + "src": "14907:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1618, + "id": 1624, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1615, + "id": 1621, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14827:3:1", + "referencedDeclaration": 3390, + "src": "14928:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1616, + "id": 1622, "isConstant": false, "isLValue": false, "isPure": false, @@ -51234,7 +51492,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14827:10:1", + "src": "14928:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51245,21 +51503,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14806:32:1", + "src": "14907:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1619, + "id": 1625, "indexExpression": { "argumentTypes": null, - "id": 1617, + "id": 1623, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14839:3:1", + "referencedDeclaration": 1534, + "src": "14940:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51270,7 +51528,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14806:37:1", + "src": "14907:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51284,7 +51542,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1626, + "id": 1632, "isConstant": false, "isLValue": false, "isPure": false, @@ -51294,12 +51552,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1622, + "id": 1628, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14859:30:1", + "referencedDeclaration": 1574, + "src": "14960:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51308,14 +51566,14 @@ { "argumentTypes": null, "hexValue": "3739", - "id": 1623, + "id": 1629, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14891:2:1", + "src": "14992:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_79_by_1", @@ -51337,32 +51595,32 @@ ], "expression": { "argumentTypes": null, - "id": 1620, + "id": 1626, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14846:8:1", + "referencedDeclaration": 3071, + "src": "14947:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1621, + "id": 1627, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "14846:12:1", + "referencedDeclaration": 3008, + "src": "14947:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1624, + "id": 1630, "isConstant": false, "isLValue": false, "isPure": false, @@ -51370,7 +51628,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14846:48:1", + "src": "14947:48:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51381,14 +51639,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "313030", - "id": 1625, + "id": 1631, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14897:3:1", + "src": "14998:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_100_by_1", @@ -51396,26 +51654,26 @@ }, "value": "100" }, - "src": "14846:54:1", + "src": "14947:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14806:94:1", + "src": "14907:94:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1628, + "id": 1634, "nodeType": "ExpressionStatement", - "src": "14806:94:1" + "src": "14907:94:1" }, { "expression": { "argumentTypes": null, - "id": 1639, + "id": 1645, "isConstant": false, "isLValue": false, "isPure": false, @@ -51424,26 +51682,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1629, + "id": 1635, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "14909:9:1", + "referencedDeclaration": 518, + "src": "15010:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1631, + "id": 1637, "indexExpression": { "argumentTypes": null, - "id": 1630, + "id": 1636, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14919:3:1", + "referencedDeclaration": 1534, + "src": "15020:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51454,7 +51712,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14909:14:1", + "src": "15010:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51469,26 +51727,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1634, + "id": 1640, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "14939:9:1", + "referencedDeclaration": 518, + "src": "15040:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1636, + "id": 1642, "indexExpression": { "argumentTypes": null, - "id": 1635, + "id": 1641, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14949:3:1", + "referencedDeclaration": 1534, + "src": "15050:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51499,7 +51757,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14939:14:1", + "src": "15040:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51507,12 +51765,12 @@ }, { "argumentTypes": null, - "id": 1637, + "id": 1643, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "14955:7:1", + "referencedDeclaration": 1536, + "src": "15056:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51532,32 +51790,32 @@ ], "expression": { "argumentTypes": null, - "id": 1632, + "id": 1638, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14926:8:1", + "referencedDeclaration": 3071, + "src": "15027:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1633, + "id": 1639, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14926:12:1", + "referencedDeclaration": 3070, + "src": "15027:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1638, + "id": 1644, "isConstant": false, "isLValue": false, "isPure": false, @@ -51565,26 +51823,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14926:37:1", + "src": "15027:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14909:54:1", + "src": "15010:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1640, + "id": 1646, "nodeType": "ExpressionStatement", - "src": "14909:54:1" + "src": "15010:54:1" }, { "expression": { "argumentTypes": null, - "id": 1653, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": false, @@ -51593,34 +51851,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1641, + "id": 1647, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "14971:10:1", + "referencedDeclaration": 522, + "src": "15072:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1644, + "id": 1650, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1642, + "id": 1648, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14982:3:1", + "referencedDeclaration": 3390, + "src": "15083:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1643, + "id": 1649, "isConstant": false, "isLValue": false, "isPure": false, @@ -51628,7 +51886,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14982:10:1", + "src": "15083:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51639,7 +51897,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14971:22:1", + "src": "15072:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51654,34 +51912,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1647, + "id": 1653, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "15009:10:1", + "referencedDeclaration": 522, + "src": "15110:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1650, + "id": 1656, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1648, + "id": 1654, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15020:3:1", + "referencedDeclaration": 3390, + "src": "15121:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1649, + "id": 1655, "isConstant": false, "isLValue": false, "isPure": false, @@ -51689,7 +51947,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15020:10:1", + "src": "15121:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51700,7 +51958,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15009:22:1", + "src": "15110:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51708,12 +51966,12 @@ }, { "argumentTypes": null, - "id": 1651, + "id": 1657, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "15033:7:1", + "referencedDeclaration": 1536, + "src": "15134:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51733,32 +51991,32 @@ ], "expression": { "argumentTypes": null, - "id": 1645, + "id": 1651, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14996:8:1", + "referencedDeclaration": 3071, + "src": "15097:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1646, + "id": 1652, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14996:12:1", + "referencedDeclaration": 3070, + "src": "15097:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1652, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, @@ -51766,26 +52024,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14996:45:1", + "src": "15097:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14971:70:1", + "src": "15072:70:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1654, + "id": 1660, "nodeType": "ExpressionStatement", - "src": "14971:70:1" + "src": "15072:70:1" }, { "expression": { "argumentTypes": null, - "id": 1660, + "id": 1666, "isConstant": false, "isLValue": false, "isPure": false, @@ -51794,34 +52052,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1655, + "id": 1661, "name": "nbTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "15049:7:1", + "referencedDeclaration": 526, + "src": "15150:7:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1658, + "id": 1664, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1656, + "id": 1662, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15057:3:1", + "referencedDeclaration": 3390, + "src": "15158:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1657, + "id": 1663, "isConstant": false, "isLValue": false, "isPure": false, @@ -51829,7 +52087,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15057:10:1", + "src": "15158:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51840,7 +52098,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "15049:19:1", + "src": "15150:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51851,14 +52109,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "31", - "id": 1659, + "id": 1665, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15072:1:1", + "src": "15173:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -51866,15 +52124,15 @@ }, "value": "1" }, - "src": "15049:24:1", + "src": "15150:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1661, + "id": 1667, "nodeType": "ExpressionStatement", - "src": "15049:24:1" + "src": "15150:24:1" } ] } @@ -51887,18 +52145,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1665, + "id": 1671, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15095:3:1", + "referencedDeclaration": 3390, + "src": "15196:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1666, + "id": 1672, "isConstant": false, "isLValue": false, "isPure": false, @@ -51906,7 +52164,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15095:10:1", + "src": "15196:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51914,12 +52172,12 @@ }, { "argumentTypes": null, - "id": 1667, + "id": 1673, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "15107:3:1", + "referencedDeclaration": 1534, + "src": "15208:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51927,12 +52185,12 @@ }, { "argumentTypes": null, - "id": 1668, + "id": 1674, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "15112:7:1", + "referencedDeclaration": 1536, + "src": "15213:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51954,18 +52212,18 @@ "typeString": "uint256" } ], - "id": 1664, + "id": 1670, "name": "Sent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 417, - "src": "15090:4:1", + "referencedDeclaration": 423, + "src": "15191:4:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 1669, + "id": 1675, "isConstant": false, "isLValue": false, "isPure": false, @@ -51973,42 +52231,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15090:30:1", + "src": "15191:30:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1670, + "id": 1676, "nodeType": "EmitStatement", - "src": "15085:35:1" + "src": "15186:35:1" } ] }, "documentation": "SellEth\naverage gas cost: 123173\n@param _to -> the address for the receiver\n@param _amount -> the amount to send", - "id": 1672, + "id": 1678, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1533, + "id": 1539, "modifierName": { "argumentTypes": null, - "id": 1532, + "id": 1538, "name": "whenNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 253, - "src": "13616:13:1", + "src": "13717:13:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "13616:13:1" + "src": "13717:13:1" }, { "arguments": [ @@ -52016,18 +52274,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1535, + "id": 1541, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13662:3:1", + "referencedDeclaration": 3390, + "src": "13763:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1536, + "id": 1542, "isConstant": false, "isLValue": false, "isPure": false, @@ -52035,7 +52293,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13662:10:1", + "src": "13763:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52043,49 +52301,49 @@ }, { "argumentTypes": null, - "id": 1537, + "id": 1543, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "13674:7:1", + "referencedDeclaration": 1536, + "src": "13775:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 1538, + "id": 1544, "modifierName": { "argumentTypes": null, - "id": 1534, + "id": 1540, "name": "doesNotExceedDailySellLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1498, - "src": "13634:27:1", + "referencedDeclaration": 1504, + "src": "13735:27:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$_t_uint256_$", "typeString": "modifier (address,uint256)" } }, "nodeType": "ModifierInvocation", - "src": "13634:48:1" + "src": "13735:48:1" } ], "name": "sellEth", "nodeType": "FunctionDefinition", "parameters": { - "id": 1531, + "id": 1537, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1528, + "id": 1534, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "13585:11:1", + "scope": 1678, + "src": "13686:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -52093,10 +52351,10 @@ "typeString": "address" }, "typeName": { - "id": 1527, + "id": 1533, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13585:7:1", + "src": "13686:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52107,11 +52365,11 @@ }, { "constant": false, - "id": 1530, + "id": 1536, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "13598:12:1", + "scope": 1678, + "src": "13699:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -52119,10 +52377,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1529, + "id": 1535, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13598:4:1", + "src": "13699:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52132,26 +52390,26 @@ "visibility": "internal" } ], - "src": "13584:27:1" + "src": "13685:27:1" }, "payable": false, "returnParameters": { - "id": 1539, + "id": 1545, "nodeType": "ParameterList", "parameters": [], - "src": "13698:0:1" + "src": "13799:0:1" }, - "scope": 2659, - "src": "13568:1557:1", + "scope": 2672, + "src": "13669:1557:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1693, + "id": 1699, "nodeType": "Block", - "src": "15235:93:1", + "src": "15336:93:1", "statements": [ { "condition": { @@ -52160,7 +52418,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1683, + "id": 1689, "isConstant": false, "isLValue": false, "isPure": false, @@ -52171,34 +52429,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1677, + "id": 1683, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15245:6:1", + "referencedDeclaration": 534, + "src": "15346:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1680, + "id": 1686, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1678, + "id": 1684, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15252:3:1", + "referencedDeclaration": 3390, + "src": "15353:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1679, + "id": 1685, "isConstant": false, "isLValue": false, "isPure": false, @@ -52206,7 +52464,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15252:10:1", + "src": "15353:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52217,21 +52475,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15245:18:1", + "src": "15346:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1681, + "id": 1687, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "15245:25:1", + "referencedDeclaration": 507, + "src": "15346:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -52241,31 +52499,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1682, + "id": 1688, "name": "_status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "15274:7:1", + "referencedDeclaration": 1680, + "src": "15375:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "15245:36:1", + "src": "15346:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1692, + "id": 1698, "nodeType": "IfStatement", - "src": "15241:82:1", + "src": "15342:82:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1690, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": false, @@ -52276,34 +52534,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1684, + "id": 1690, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15288:6:1", + "referencedDeclaration": 534, + "src": "15389:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1687, + "id": 1693, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1685, + "id": 1691, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15295:3:1", + "referencedDeclaration": 3390, + "src": "15396:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1686, + "id": 1692, "isConstant": false, "isLValue": false, "isPure": false, @@ -52311,7 +52569,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15295:10:1", + "src": "15396:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52322,21 +52580,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15288:18:1", + "src": "15389:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1688, + "id": 1694, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "15288:25:1", + "referencedDeclaration": 507, + "src": "15389:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -52346,32 +52604,32 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1689, + "id": 1695, "name": "_status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "15316:7:1", + "referencedDeclaration": 1680, + "src": "15417:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "15288:35:1", + "src": "15389:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1691, + "id": 1697, "nodeType": "ExpressionStatement", - "src": "15288:35:1" + "src": "15389:35:1" } } ] }, "documentation": "switchStatus\nTurn status teller on/off", - "id": 1694, + "id": 1700, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -52379,16 +52637,16 @@ "name": "switchStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1680, "name": "_status", "nodeType": "VariableDeclaration", - "scope": 1694, - "src": "15212:12:1", + "scope": 1700, + "src": "15313:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -52396,10 +52654,10 @@ "typeString": "bool" }, "typeName": { - "id": 1673, + "id": 1679, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "15212:4:1", + "src": "15313:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -52409,26 +52667,26 @@ "visibility": "internal" } ], - "src": "15211:14:1" + "src": "15312:14:1" }, "payable": false, "returnParameters": { - "id": 1676, + "id": 1682, "nodeType": "ParameterList", "parameters": [], - "src": "15235:0:1" + "src": "15336:0:1" }, - "scope": 2659, - "src": "15190:138:1", + "scope": 2672, + "src": "15291:138:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1718, + "id": 1731, "nodeType": "Block", - "src": "15443:112:1", + "src": "15544:154:1", "statements": [ { "expression": { @@ -52441,18 +52699,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1699, + "id": 1705, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15466:3:1", + "referencedDeclaration": 3390, + "src": "15567:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1700, + "id": 1706, "isConstant": false, "isLValue": false, "isPure": false, @@ -52460,7 +52718,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15466:10:1", + "src": "15567:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52474,18 +52732,18 @@ "typeString": "address" } ], - "id": 1698, + "id": 1704, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "15457:8:1", + "referencedDeclaration": 2629, + "src": "15558:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1701, + "id": 1707, "isConstant": false, "isLValue": false, "isPure": false, @@ -52493,7 +52751,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15457:20:1", + "src": "15558:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -52507,21 +52765,21 @@ "typeString": "bool" } ], - "id": 1697, + "id": 1703, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15449:7:1", + "referencedDeclaration": 3393, + "src": "15550:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1702, + "id": 1708, "isConstant": false, "isLValue": false, "isPure": false, @@ -52529,15 +52787,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15449:29:1", + "src": "15550:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1703, + "id": 1709, "nodeType": "ExpressionStatement", - "src": "15449:29:1" + "src": "15550:29:1" }, { "expression": { @@ -52550,18 +52808,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1711, + "id": 1717, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15527:3:1", + "referencedDeclaration": 3390, + "src": "15628:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1712, + "id": 1718, "isConstant": false, "isLValue": false, "isPure": false, @@ -52569,7 +52827,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15527:10:1", + "src": "15628:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52579,18 +52837,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1713, + "id": 1719, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15539:3:1", + "referencedDeclaration": 3390, + "src": "15640:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1714, + "id": 1720, "isConstant": false, "isLValue": false, "isPure": false, @@ -52598,7 +52856,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15539:9:1", + "src": "15640:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52621,18 +52879,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1708, + "id": 1714, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15516:3:1", + "referencedDeclaration": 3390, + "src": "15617:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1709, + "id": 1715, "isConstant": false, "isLValue": false, "isPure": false, @@ -52640,7 +52898,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15516:9:1", + "src": "15617:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52658,18 +52916,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1705, + "id": 1711, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "15492:4:1", + "referencedDeclaration": 479, + "src": "15593:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1706, + "id": 1712, "isConstant": false, "isLValue": false, "isPure": false, @@ -52677,13 +52935,13 @@ "memberName": "addEthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 340, - "src": "15492:17:1", + "src": "15593:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1707, + "id": 1713, "isConstant": false, "isLValue": false, "isPure": false, @@ -52691,13 +52949,13 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15492:23:1", + "src": "15593:23:1", "typeDescriptions": { "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value_$", "typeString": "function (uint256) returns (function (address,uint256) payable external returns (bool))" } }, - "id": 1710, + "id": 1716, "isConstant": false, "isLValue": false, "isPure": false, @@ -52705,13 +52963,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15492:34:1", + "src": "15593:34:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1715, + "id": 1721, "isConstant": false, "isLValue": false, "isPure": false, @@ -52719,7 +52977,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15492:57:1", + "src": "15593:57:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -52733,21 +52991,21 @@ "typeString": "bool" } ], - "id": 1704, + "id": 1710, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15484:7:1", + "referencedDeclaration": 3393, + "src": "15585:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1716, + "id": 1722, "isConstant": false, "isLValue": false, "isPure": false, @@ -52755,20 +53013,123 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15484:66:1", + "src": "15585:66:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1717, + "id": 1723, "nodeType": "ExpressionStatement", - "src": "15484:66:1" + "src": "15585:66:1" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1725, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3390, + "src": "15671:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1726, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "15671:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1727, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3390, + "src": "15683:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1728, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "15683:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1724, + "name": "AddFunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 407, + "src": "15662:8:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "15662:31:1", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1730, + "nodeType": "EmitStatement", + "src": "15657:36:1" } ] }, "documentation": "addFunds\nteller can add more funds on his sellpoint", - "id": 1719, + "id": 1732, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -52776,29 +53137,29 @@ "name": "addFunds", "nodeType": "FunctionDefinition", "parameters": { - "id": 1695, + "id": 1701, "nodeType": "ParameterList", "parameters": [], - "src": "15423:2:1" + "src": "15524:2:1" }, "payable": true, "returnParameters": { - "id": 1696, + "id": 1702, "nodeType": "ParameterList", "parameters": [], - "src": "15443:0:1" + "src": "15544:0:1" }, - "scope": 2659, - "src": "15406:149:1", + "scope": 2672, + "src": "15507:191:1", "stateMutability": "payable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1871, + "id": 1884, "nodeType": "Block", - "src": "15649:903:1", + "src": "15792:903:1", "statements": [ { "expression": { @@ -52811,18 +53172,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1724, + "id": 1737, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15672:3:1", + "referencedDeclaration": 3390, + "src": "15815:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1725, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, @@ -52830,7 +53191,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15672:10:1", + "src": "15815:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52844,18 +53205,18 @@ "typeString": "address" } ], - "id": 1723, + "id": 1736, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "15663:8:1", + "referencedDeclaration": 2629, + "src": "15806:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1726, + "id": 1739, "isConstant": false, "isLValue": false, "isPure": false, @@ -52863,7 +53224,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15663:20:1", + "src": "15806:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -52877,21 +53238,21 @@ "typeString": "bool" } ], - "id": 1722, + "id": 1735, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15655:7:1", + "referencedDeclaration": 3393, + "src": "15798:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1727, + "id": 1740, "isConstant": false, "isLValue": false, "isPure": false, @@ -52899,28 +53260,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15655:29:1", + "src": "15798:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1728, + "id": 1741, "nodeType": "ExpressionStatement", - "src": "15655:29:1" + "src": "15798:29:1" }, { "assignments": [ - 1730 + 1743 ], "declarations": [ { "constant": false, - "id": 1730, + "id": 1743, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "15690:17:1", + "scope": 1885, + "src": "15833:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -52928,10 +53289,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1729, + "id": 1742, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "15690:4:1", + "src": "15833:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52941,41 +53302,41 @@ "visibility": "internal" } ], - "id": 1736, + "id": 1749, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1731, + "id": 1744, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15710:6:1", + "referencedDeclaration": 534, + "src": "15853:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1734, + "id": 1747, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1732, + "id": 1745, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15717:3:1", + "referencedDeclaration": 3390, + "src": "15860:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1733, + "id": 1746, "isConstant": false, "isLValue": false, "isPure": false, @@ -52983,7 +53344,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15717:10:1", + "src": "15860:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52994,41 +53355,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15710:18:1", + "src": "15853:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1735, + "id": 1748, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "15710:28:1", + "referencedDeclaration": 503, + "src": "15853:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "15690:48:1" + "src": "15833:48:1" }, { "assignments": [ - 1738 + 1751 ], "declarations": [ { "constant": false, - "id": 1738, + "id": 1751, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "15744:18:1", + "scope": 1885, + "src": "15887:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -53036,10 +53397,10 @@ "typeString": "address" }, "typeName": { - "id": 1737, + "id": 1750, "name": "address", "nodeType": "ElementaryTypeName", - "src": "15744:7:1", + "src": "15887:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53049,7 +53410,7 @@ "visibility": "internal" } ], - "id": 1769, + "id": 1782, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -53058,52 +53419,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1739, + "id": 1752, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15765:12:1", + "referencedDeclaration": 541, + "src": "15908:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1745, + "id": 1758, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1740, + "id": 1753, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15778:6:1", + "referencedDeclaration": 534, + "src": "15921:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1743, + "id": 1756, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1741, + "id": 1754, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15785:3:1", + "referencedDeclaration": 3390, + "src": "15928:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1742, + "id": 1755, "isConstant": false, "isLValue": false, "isPure": false, @@ -53111,7 +53472,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15785:10:1", + "src": "15928:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53122,21 +53483,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15778:18:1", + "src": "15921:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1744, + "id": 1757, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15778:28:1", + "referencedDeclaration": 487, + "src": "15921:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -53147,47 +53508,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:42:1", + "src": "15908:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1751, + "id": 1764, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1746, + "id": 1759, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15808:6:1", + "referencedDeclaration": 534, + "src": "15951:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1749, + "id": 1762, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1747, + "id": 1760, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15815:3:1", + "referencedDeclaration": 3390, + "src": "15958:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1748, + "id": 1761, "isConstant": false, "isLValue": false, "isPure": false, @@ -53195,7 +53556,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15815:10:1", + "src": "15958:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53206,21 +53567,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15808:18:1", + "src": "15951:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1750, + "id": 1763, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15808:29:1", + "referencedDeclaration": 489, + "src": "15951:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -53231,20 +53592,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:73:1", + "src": "15908:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1768, + "id": 1781, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1767, + "id": 1780, "isConstant": false, "isLValue": false, "isPure": false, @@ -53257,52 +53618,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1752, + "id": 1765, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15839:12:1", + "referencedDeclaration": 541, + "src": "15982:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1758, + "id": 1771, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1753, + "id": 1766, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15852:6:1", + "referencedDeclaration": 534, + "src": "15995:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1756, + "id": 1769, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1754, + "id": 1767, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15859:3:1", + "referencedDeclaration": 3390, + "src": "16002:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1755, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": false, @@ -53310,7 +53671,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15859:10:1", + "src": "16002:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53321,21 +53682,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15852:18:1", + "src": "15995:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1757, + "id": 1770, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15852:28:1", + "referencedDeclaration": 487, + "src": "15995:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -53346,47 +53707,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15839:42:1", + "src": "15982:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1764, + "id": 1777, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1759, + "id": 1772, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15882:6:1", + "referencedDeclaration": 534, + "src": "16025:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1762, + "id": 1775, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1760, + "id": 1773, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15889:3:1", + "referencedDeclaration": 3390, + "src": "16032:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1761, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -53394,7 +53755,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15889:10:1", + "src": "16032:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53405,21 +53766,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15882:18:1", + "src": "16025:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1763, + "id": 1776, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15882:29:1", + "referencedDeclaration": 489, + "src": "16025:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -53430,13 +53791,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15839:73:1", + "src": "15982:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1765, + "id": 1778, "isConstant": false, "isLValue": true, "isPure": false, @@ -53444,7 +53805,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15839:80:1", + "src": "15982:80:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -53455,14 +53816,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1766, + "id": 1779, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15922:1:1", + "src": "16065:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -53470,7 +53831,7 @@ }, "value": "1" }, - "src": "15839:84:1", + "src": "15982:84:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -53481,19 +53842,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:159:1", + "src": "15908:159:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "15744:180:1" + "src": "15887:180:1" }, { "expression": { "argumentTypes": null, - "id": 1786, + "id": 1799, "isConstant": false, "isLValue": false, "isPure": false, @@ -53506,52 +53867,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1770, + "id": 1783, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15930:12:1", + "referencedDeclaration": 541, + "src": "16073:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1782, + "id": 1795, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1771, + "id": 1784, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15943:6:1", + "referencedDeclaration": 534, + "src": "16086:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1774, + "id": 1787, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1772, + "id": 1785, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15950:3:1", + "referencedDeclaration": 3390, + "src": "16093:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1773, + "id": 1786, "isConstant": false, "isLValue": false, "isPure": false, @@ -53559,7 +53920,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15950:10:1", + "src": "16093:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53570,21 +53931,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15943:18:1", + "src": "16086:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1775, + "id": 1788, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15943:28:1", + "referencedDeclaration": 487, + "src": "16086:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -53595,47 +53956,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15930:42:1", + "src": "16073:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1783, + "id": 1796, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1776, + "id": 1789, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15973:6:1", + "referencedDeclaration": 534, + "src": "16116:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1779, + "id": 1792, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1777, + "id": 1790, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15980:3:1", + "referencedDeclaration": 3390, + "src": "16123:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1778, + "id": 1791, "isConstant": false, "isLValue": false, "isPure": false, @@ -53643,7 +54004,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15980:10:1", + "src": "16123:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53654,21 +54015,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15973:18:1", + "src": "16116:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1780, + "id": 1793, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15973:29:1", + "referencedDeclaration": 489, + "src": "16116:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -53679,21 +54040,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15930:73:1", + "src": "16073:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1784, + "id": 1797, "indexExpression": { "argumentTypes": null, - "id": 1781, + "id": 1794, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "16004:12:1", + "referencedDeclaration": 1743, + "src": "16147:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -53704,7 +54065,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "15930:87:1", + "src": "16073:87:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53714,31 +54075,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1785, + "id": 1798, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "16020:10:1", + "referencedDeclaration": 1751, + "src": "16163:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "15930:100:1", + "src": "16073:100:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1787, + "id": 1800, "nodeType": "ExpressionStatement", - "src": "15930:100:1" + "src": "16073:100:1" }, { "expression": { "argumentTypes": null, - "id": 1793, + "id": 1806, "isConstant": false, "isLValue": false, "isPure": false, @@ -53749,26 +54110,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1788, + "id": 1801, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16036:6:1", + "referencedDeclaration": 534, + "src": "16179:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1790, + "id": 1803, "indexExpression": { "argumentTypes": null, - "id": 1789, + "id": 1802, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "16043:10:1", + "referencedDeclaration": 1751, + "src": "16186:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53779,21 +54140,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16036:18:1", + "src": "16179:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1791, + "id": 1804, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "16036:28:1", + "referencedDeclaration": 503, + "src": "16179:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -53803,31 +54164,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1792, + "id": 1805, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "16067:12:1", + "referencedDeclaration": 1743, + "src": "16210:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16036:43:1", + "src": "16179:43:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1794, + "id": 1807, "nodeType": "ExpressionStatement", - "src": "16036:43:1" + "src": "16179:43:1" }, { "expression": { "argumentTypes": null, - "id": 1809, + "id": 1822, "isConstant": false, "isLValue": false, "isPure": false, @@ -53835,7 +54196,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "16085:82:1", + "src": "16228:82:1", "subExpression": { "argumentTypes": null, "expression": { @@ -53844,52 +54205,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1795, + "id": 1808, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16085:12:1", + "referencedDeclaration": 541, + "src": "16228:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1806, + "id": 1819, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1796, + "id": 1809, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16098:6:1", + "referencedDeclaration": 534, + "src": "16241:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1799, + "id": 1812, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1797, + "id": 1810, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16105:3:1", + "referencedDeclaration": 3390, + "src": "16248:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1798, + "id": 1811, "isConstant": false, "isLValue": false, "isPure": false, @@ -53897,7 +54258,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16105:10:1", + "src": "16248:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53908,21 +54269,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16098:18:1", + "src": "16241:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1800, + "id": 1813, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16098:28:1", + "referencedDeclaration": 487, + "src": "16241:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -53933,47 +54294,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16085:42:1", + "src": "16228:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1807, + "id": 1820, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1801, + "id": 1814, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16128:6:1", + "referencedDeclaration": 534, + "src": "16271:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1804, + "id": 1817, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1802, + "id": 1815, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16135:3:1", + "referencedDeclaration": 3390, + "src": "16278:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1803, + "id": 1816, "isConstant": false, "isLValue": false, "isPure": false, @@ -53981,7 +54342,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16135:10:1", + "src": "16278:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53992,21 +54353,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16128:18:1", + "src": "16271:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1805, + "id": 1818, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16128:29:1", + "referencedDeclaration": 489, + "src": "16271:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -54017,13 +54378,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16085:73:1", + "src": "16228:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1808, + "id": 1821, "isConstant": false, "isLValue": true, "isPure": false, @@ -54031,7 +54392,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16085:80:1", + "src": "16228:80:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54042,22 +54403,22 @@ "typeString": "uint256" } }, - "id": 1810, + "id": 1823, "nodeType": "ExpressionStatement", - "src": "16085:82:1" + "src": "16228:82:1" }, { "assignments": [ - 1812 + 1825 ], "declarations": [ { "constant": false, - "id": 1812, + "id": 1825, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "16174:17:1", + "scope": 1885, + "src": "16317:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -54065,10 +54426,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1811, + "id": 1824, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16174:4:1", + "src": "16317:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54078,41 +54439,41 @@ "visibility": "internal" } ], - "id": 1818, + "id": 1831, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1813, + "id": 1826, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16194:6:1", + "referencedDeclaration": 534, + "src": "16337:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1816, + "id": 1829, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1814, + "id": 1827, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16201:3:1", + "referencedDeclaration": 3390, + "src": "16344:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1815, + "id": 1828, "isConstant": false, "isLValue": false, "isPure": false, @@ -54120,7 +54481,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16201:10:1", + "src": "16344:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54131,41 +54492,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16194:18:1", + "src": "16337:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1817, + "id": 1830, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "16194:31:1", + "referencedDeclaration": 505, + "src": "16337:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16174:51:1" + "src": "16317:51:1" }, { "assignments": [ - 1820 + 1833 ], "declarations": [ { "constant": false, - "id": 1820, + "id": 1833, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "16231:18:1", + "scope": 1885, + "src": "16374:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -54173,10 +54534,10 @@ "typeString": "address" }, "typeName": { - "id": 1819, + "id": 1832, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16231:7:1", + "src": "16374:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54186,30 +54547,30 @@ "visibility": "internal" } ], - "id": 1827, + "id": 1840, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1821, + "id": 1834, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16252:11:1", + "referencedDeclaration": 544, + "src": "16395:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1826, + "id": 1839, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1825, + "id": 1838, "isConstant": false, "isLValue": false, "isPure": false, @@ -54218,18 +54579,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1822, + "id": 1835, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16264:11:1", + "referencedDeclaration": 544, + "src": "16407:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1823, + "id": 1836, "isConstant": false, "isLValue": true, "isPure": false, @@ -54237,7 +54598,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16264:18:1", + "src": "16407:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54248,14 +54609,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1824, + "id": 1837, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16285:1:1", + "src": "16428:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -54263,7 +54624,7 @@ }, "value": "1" }, - "src": "16264:22:1", + "src": "16407:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54274,19 +54635,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16252:35:1", + "src": "16395:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "16231:56:1" + "src": "16374:56:1" }, { "expression": { "argumentTypes": null, - "id": 1832, + "id": 1845, "isConstant": false, "isLValue": false, "isPure": false, @@ -54295,26 +54656,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1828, + "id": 1841, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16293:11:1", + "referencedDeclaration": 544, + "src": "16436:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1830, + "id": 1843, "indexExpression": { "argumentTypes": null, - "id": 1829, + "id": 1842, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1812, - "src": "16305:12:1", + "referencedDeclaration": 1825, + "src": "16448:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54325,7 +54686,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16293:25:1", + "src": "16436:25:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54335,31 +54696,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1831, + "id": 1844, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1820, - "src": "16321:10:1", + "referencedDeclaration": 1833, + "src": "16464:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "16293:38:1", + "src": "16436:38:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1833, + "id": 1846, "nodeType": "ExpressionStatement", - "src": "16293:38:1" + "src": "16436:38:1" }, { "expression": { "argumentTypes": null, - "id": 1839, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -54370,26 +54731,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1834, + "id": 1847, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16337:6:1", + "referencedDeclaration": 534, + "src": "16480:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1836, + "id": 1849, "indexExpression": { "argumentTypes": null, - "id": 1835, + "id": 1848, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1820, - "src": "16344:10:1", + "referencedDeclaration": 1833, + "src": "16487:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54400,21 +54761,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16337:18:1", + "src": "16480:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1837, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "16337:31:1", + "referencedDeclaration": 505, + "src": "16480:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54424,31 +54785,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1838, + "id": 1851, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1812, - "src": "16371:12:1", + "referencedDeclaration": 1825, + "src": "16514:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16337:46:1", + "src": "16480:46:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1840, + "id": 1853, "nodeType": "ExpressionStatement", - "src": "16337:46:1" + "src": "16480:46:1" }, { "expression": { "argumentTypes": null, - "id": 1844, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -54456,23 +54817,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "16389:20:1", + "src": "16532:20:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1841, + "id": 1854, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16389:11:1", + "referencedDeclaration": 544, + "src": "16532:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1843, + "id": 1856, "isConstant": false, "isLValue": true, "isPure": false, @@ -54480,7 +54841,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16389:18:1", + "src": "16532:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54491,14 +54852,14 @@ "typeString": "uint256" } }, - "id": 1845, + "id": 1858, "nodeType": "ExpressionStatement", - "src": "16389:20:1" + "src": "16532:20:1" }, { "expression": { "argumentTypes": null, - "id": 1850, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": false, @@ -54506,39 +54867,39 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "16415:25:1", + "src": "16558:25:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1846, + "id": 1859, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16422:6:1", + "referencedDeclaration": 534, + "src": "16565:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1849, + "id": 1862, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1847, + "id": 1860, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16429:3:1", + "referencedDeclaration": 3390, + "src": "16572:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1848, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": false, @@ -54546,7 +54907,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16429:10:1", + "src": "16572:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54557,9 +54918,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16422:18:1", + "src": "16565:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, @@ -54568,9 +54929,9 @@ "typeString": "tuple()" } }, - "id": 1851, + "id": 1864, "nodeType": "ExpressionStatement", - "src": "16415:25:1" + "src": "16558:25:1" }, { "expression": { @@ -54580,18 +54941,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1855, + "id": 1868, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16469:3:1", + "referencedDeclaration": 3390, + "src": "16612:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1856, + "id": 1869, "isConstant": false, "isLValue": false, "isPure": false, @@ -54599,7 +54960,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16469:10:1", + "src": "16612:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54615,18 +54976,18 @@ ], "expression": { "argumentTypes": null, - "id": 1852, + "id": 1865, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "16446:4:1", + "referencedDeclaration": 479, + "src": "16589:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1854, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -54634,13 +54995,13 @@ "memberName": "withdrawDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 305, - "src": "16446:22:1", + "src": "16589:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 1857, + "id": 1870, "isConstant": false, "isLValue": false, "isPure": false, @@ -54648,15 +55009,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16446:34:1", + "src": "16589:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1858, + "id": 1871, "nodeType": "ExpressionStatement", - "src": "16446:34:1" + "src": "16589:34:1" }, { "expression": { @@ -54666,18 +55027,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1862, + "id": 1875, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16501:3:1", + "referencedDeclaration": 3390, + "src": "16644:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1863, + "id": 1876, "isConstant": false, "isLValue": false, "isPure": false, @@ -54685,7 +55046,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16501:10:1", + "src": "16644:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54701,18 +55062,18 @@ ], "expression": { "argumentTypes": null, - "id": 1859, + "id": 1872, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "16486:4:1", + "referencedDeclaration": 479, + "src": "16629:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1861, + "id": 1874, "isConstant": false, "isLValue": false, "isPure": false, @@ -54720,13 +55081,13 @@ "memberName": "refundEth", "nodeType": "MemberAccess", "referencedDeclaration": 354, - "src": "16486:14:1", + "src": "16629:14:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 1864, + "id": 1877, "isConstant": false, "isLValue": false, "isPure": false, @@ -54734,15 +55095,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16486:26:1", + "src": "16629:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1865, + "id": 1878, "nodeType": "ExpressionStatement", - "src": "16486:26:1" + "src": "16629:26:1" }, { "eventCall": { @@ -54752,18 +55113,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1867, + "id": 1880, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16536:3:1", + "referencedDeclaration": 3390, + "src": "16679:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1868, + "id": 1881, "isConstant": false, "isLValue": false, "isPure": false, @@ -54771,7 +55132,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16536:10:1", + "src": "16679:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54785,18 +55146,18 @@ "typeString": "address" } ], - "id": 1866, + "id": 1879, "name": "DeleteTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 405, - "src": "16523:12:1", + "referencedDeclaration": 411, + "src": "16666:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1869, + "id": 1882, "isConstant": false, "isLValue": false, "isPure": false, @@ -54804,20 +55165,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16523:24:1", + "src": "16666:24:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1870, + "id": 1883, "nodeType": "EmitStatement", - "src": "16518:29:1" + "src": "16661:29:1" } ] }, "documentation": null, - "id": 1872, + "id": 1885, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -54825,29 +55186,29 @@ "name": "deleteTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 1720, + "id": 1733, "nodeType": "ParameterList", "parameters": [], - "src": "15637:2:1" + "src": "15780:2:1" }, "payable": false, "returnParameters": { - "id": 1721, + "id": 1734, "nodeType": "ParameterList", "parameters": [], - "src": "15649:0:1" + "src": "15792:0:1" }, - "scope": 2659, - "src": "15616:936:1", + "scope": 2672, + "src": "15759:936:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2017, + "id": 2030, "nodeType": "Block", - "src": "16700:909:1", + "src": "16843:909:1", "statements": [ { "expression": { @@ -54858,12 +55219,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1883, + "id": 1896, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16723:9:1", + "referencedDeclaration": 1887, + "src": "16866:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54877,18 +55238,18 @@ "typeString": "address" } ], - "id": 1882, + "id": 1895, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "16714:8:1", + "referencedDeclaration": 2629, + "src": "16857:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1884, + "id": 1897, "isConstant": false, "isLValue": false, "isPure": false, @@ -54896,7 +55257,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16714:19:1", + "src": "16857:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -54910,21 +55271,21 @@ "typeString": "bool" } ], - "id": 1881, + "id": 1894, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "16706:7:1", + "referencedDeclaration": 3393, + "src": "16849:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1885, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": false, @@ -54932,28 +55293,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16706:28:1", + "src": "16849:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1886, + "id": 1899, "nodeType": "ExpressionStatement", - "src": "16706:28:1" + "src": "16849:28:1" }, { "assignments": [ - 1888 + 1901 ], "declarations": [ { "constant": false, - "id": 1888, + "id": 1901, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16740:17:1", + "scope": 2031, + "src": "16883:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -54961,10 +55322,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1887, + "id": 1900, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16740:4:1", + "src": "16883:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54974,33 +55335,33 @@ "visibility": "internal" } ], - "id": 1893, + "id": 1906, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1889, + "id": 1902, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16760:6:1", + "referencedDeclaration": 534, + "src": "16903:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1891, + "id": 1904, "indexExpression": { "argumentTypes": null, - "id": 1890, + "id": 1903, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16767:9:1", + "referencedDeclaration": 1887, + "src": "16910:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55011,41 +55372,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16760:17:1", + "src": "16903:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1892, + "id": 1905, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "16760:27:1", + "referencedDeclaration": 503, + "src": "16903:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16740:47:1" + "src": "16883:47:1" }, { "assignments": [ - 1895 + 1908 ], "declarations": [ { "constant": false, - "id": 1895, + "id": 1908, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16793:18:1", + "scope": 2031, + "src": "16936:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -55053,10 +55414,10 @@ "typeString": "address" }, "typeName": { - "id": 1894, + "id": 1907, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16793:7:1", + "src": "16936:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55066,7 +55427,7 @@ "visibility": "internal" } ], - "id": 1922, + "id": 1935, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -55075,44 +55436,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1896, + "id": 1909, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16814:12:1", + "referencedDeclaration": 541, + "src": "16957:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1901, + "id": 1914, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1897, + "id": 1910, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16827:6:1", + "referencedDeclaration": 534, + "src": "16970:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1899, + "id": 1912, "indexExpression": { "argumentTypes": null, - "id": 1898, + "id": 1911, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16834:9:1", + "referencedDeclaration": 1887, + "src": "16977:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55123,21 +55484,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16827:17:1", + "src": "16970:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1900, + "id": 1913, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16827:27:1", + "referencedDeclaration": 487, + "src": "16970:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -55148,39 +55509,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:41:1", + "src": "16957:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1906, + "id": 1919, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1902, + "id": 1915, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16856:6:1", + "referencedDeclaration": 534, + "src": "16999:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1904, + "id": 1917, "indexExpression": { "argumentTypes": null, - "id": 1903, + "id": 1916, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16863:9:1", + "referencedDeclaration": 1887, + "src": "17006:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55191,21 +55552,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16856:17:1", + "src": "16999:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1905, + "id": 1918, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16856:28:1", + "referencedDeclaration": 489, + "src": "16999:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -55216,20 +55577,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:71:1", + "src": "16957:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1921, + "id": 1934, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1920, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -55242,44 +55603,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1907, + "id": 1920, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16886:12:1", + "referencedDeclaration": 541, + "src": "17029:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1912, + "id": 1925, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1908, + "id": 1921, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16899:6:1", + "referencedDeclaration": 534, + "src": "17042:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1910, + "id": 1923, "indexExpression": { "argumentTypes": null, - "id": 1909, + "id": 1922, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16906:9:1", + "referencedDeclaration": 1887, + "src": "17049:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55290,21 +55651,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16899:17:1", + "src": "17042:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1911, + "id": 1924, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16899:27:1", + "referencedDeclaration": 487, + "src": "17042:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -55315,39 +55676,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16886:41:1", + "src": "17029:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1917, + "id": 1930, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1913, + "id": 1926, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16928:6:1", + "referencedDeclaration": 534, + "src": "17071:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1915, + "id": 1928, "indexExpression": { "argumentTypes": null, - "id": 1914, + "id": 1927, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16935:9:1", + "referencedDeclaration": 1887, + "src": "17078:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55358,21 +55719,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16928:17:1", + "src": "17071:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1916, + "id": 1929, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16928:28:1", + "referencedDeclaration": 489, + "src": "17071:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -55383,13 +55744,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16886:71:1", + "src": "17029:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1918, + "id": 1931, "isConstant": false, "isLValue": true, "isPure": false, @@ -55397,7 +55758,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16886:78:1", + "src": "17029:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -55408,14 +55769,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1919, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16967:1:1", + "src": "17110:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -55423,7 +55784,7 @@ }, "value": "1" }, - "src": "16886:82:1", + "src": "17029:82:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -55434,19 +55795,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:155:1", + "src": "16957:155:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "16793:176:1" + "src": "16936:176:1" }, { "expression": { "argumentTypes": null, - "id": 1937, + "id": 1950, "isConstant": false, "isLValue": false, "isPure": false, @@ -55459,44 +55820,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1923, + "id": 1936, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16975:12:1", + "referencedDeclaration": 541, + "src": "17118:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1933, + "id": 1946, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1924, + "id": 1937, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16988:6:1", + "referencedDeclaration": 534, + "src": "17131:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1926, + "id": 1939, "indexExpression": { "argumentTypes": null, - "id": 1925, + "id": 1938, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16995:9:1", + "referencedDeclaration": 1887, + "src": "17138:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55507,21 +55868,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16988:17:1", + "src": "17131:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1927, + "id": 1940, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16988:27:1", + "referencedDeclaration": 487, + "src": "17131:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -55532,39 +55893,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16975:41:1", + "src": "17118:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1934, + "id": 1947, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1928, + "id": 1941, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17017:6:1", + "referencedDeclaration": 534, + "src": "17160:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1930, + "id": 1943, "indexExpression": { "argumentTypes": null, - "id": 1929, + "id": 1942, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17024:9:1", + "referencedDeclaration": 1887, + "src": "17167:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55575,21 +55936,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17017:17:1", + "src": "17160:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1931, + "id": 1944, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "17017:28:1", + "referencedDeclaration": 489, + "src": "17160:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -55600,21 +55961,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16975:71:1", + "src": "17118:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1935, + "id": 1948, "indexExpression": { "argumentTypes": null, - "id": 1932, + "id": 1945, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1888, - "src": "17047:12:1", + "referencedDeclaration": 1901, + "src": "17190:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -55625,7 +55986,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16975:85:1", + "src": "17118:85:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55635,31 +55996,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1936, + "id": 1949, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "17063:10:1", + "referencedDeclaration": 1908, + "src": "17206:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "16975:98:1", + "src": "17118:98:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1938, + "id": 1951, "nodeType": "ExpressionStatement", - "src": "16975:98:1" + "src": "17118:98:1" }, { "expression": { "argumentTypes": null, - "id": 1944, + "id": 1957, "isConstant": false, "isLValue": false, "isPure": false, @@ -55670,26 +56031,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1939, + "id": 1952, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17079:6:1", + "referencedDeclaration": 534, + "src": "17222:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1941, + "id": 1954, "indexExpression": { "argumentTypes": null, - "id": 1940, + "id": 1953, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "17086:10:1", + "referencedDeclaration": 1908, + "src": "17229:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55700,21 +56061,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17079:18:1", + "src": "17222:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1942, + "id": 1955, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "17079:28:1", + "referencedDeclaration": 503, + "src": "17222:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -55724,31 +56085,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1943, + "id": 1956, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1888, - "src": "17110:12:1", + "referencedDeclaration": 1901, + "src": "17253:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17079:43:1", + "src": "17222:43:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1945, + "id": 1958, "nodeType": "ExpressionStatement", - "src": "17079:43:1" + "src": "17222:43:1" }, { "expression": { "argumentTypes": null, - "id": 1958, + "id": 1971, "isConstant": false, "isLValue": false, "isPure": false, @@ -55756,7 +56117,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "17128:80:1", + "src": "17271:80:1", "subExpression": { "argumentTypes": null, "expression": { @@ -55765,44 +56126,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1946, + "id": 1959, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "17128:12:1", + "referencedDeclaration": 541, + "src": "17271:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1955, + "id": 1968, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1947, + "id": 1960, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17141:6:1", + "referencedDeclaration": 534, + "src": "17284:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1949, + "id": 1962, "indexExpression": { "argumentTypes": null, - "id": 1948, + "id": 1961, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17148:9:1", + "referencedDeclaration": 1887, + "src": "17291:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55813,21 +56174,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17141:17:1", + "src": "17284:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1950, + "id": 1963, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "17141:27:1", + "referencedDeclaration": 487, + "src": "17284:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -55838,39 +56199,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17128:41:1", + "src": "17271:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1956, + "id": 1969, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1951, + "id": 1964, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17170:6:1", + "referencedDeclaration": 534, + "src": "17313:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1953, + "id": 1966, "indexExpression": { "argumentTypes": null, - "id": 1952, + "id": 1965, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17177:9:1", + "referencedDeclaration": 1887, + "src": "17320:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55881,21 +56242,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17170:17:1", + "src": "17313:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1954, + "id": 1967, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "17170:28:1", + "referencedDeclaration": 489, + "src": "17313:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -55906,13 +56267,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17128:71:1", + "src": "17271:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1957, + "id": 1970, "isConstant": false, "isLValue": true, "isPure": false, @@ -55920,7 +56281,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17128:78:1", + "src": "17271:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -55931,22 +56292,22 @@ "typeString": "uint256" } }, - "id": 1959, + "id": 1972, "nodeType": "ExpressionStatement", - "src": "17128:80:1" + "src": "17271:80:1" }, { "assignments": [ - 1961 + 1974 ], "declarations": [ { "constant": false, - "id": 1961, + "id": 1974, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "17215:17:1", + "scope": 2031, + "src": "17358:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -55954,10 +56315,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1960, + "id": 1973, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17215:4:1", + "src": "17358:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -55967,33 +56328,33 @@ "visibility": "internal" } ], - "id": 1966, + "id": 1979, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1962, + "id": 1975, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17235:6:1", + "referencedDeclaration": 534, + "src": "17378:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1964, + "id": 1977, "indexExpression": { "argumentTypes": null, - "id": 1963, + "id": 1976, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17242:9:1", + "referencedDeclaration": 1887, + "src": "17385:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56004,41 +56365,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17235:17:1", + "src": "17378:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1965, + "id": 1978, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "17235:30:1", + "referencedDeclaration": 505, + "src": "17378:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17215:50:1" + "src": "17358:50:1" }, { "assignments": [ - 1968 + 1981 ], "declarations": [ { "constant": false, - "id": 1968, + "id": 1981, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "17271:18:1", + "scope": 2031, + "src": "17414:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -56046,10 +56407,10 @@ "typeString": "address" }, "typeName": { - "id": 1967, + "id": 1980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17271:7:1", + "src": "17414:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56059,30 +56420,30 @@ "visibility": "internal" } ], - "id": 1975, + "id": 1988, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1969, + "id": 1982, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17292:11:1", + "referencedDeclaration": 544, + "src": "17435:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1974, + "id": 1987, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1973, + "id": 1986, "isConstant": false, "isLValue": false, "isPure": false, @@ -56091,18 +56452,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1970, + "id": 1983, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17304:11:1", + "referencedDeclaration": 544, + "src": "17447:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1971, + "id": 1984, "isConstant": false, "isLValue": true, "isPure": false, @@ -56110,7 +56471,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17304:18:1", + "src": "17447:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56121,14 +56482,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1972, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17325:1:1", + "src": "17468:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -56136,7 +56497,7 @@ }, "value": "1" }, - "src": "17304:22:1", + "src": "17447:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56147,19 +56508,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17292:35:1", + "src": "17435:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "17271:56:1" + "src": "17414:56:1" }, { "expression": { "argumentTypes": null, - "id": 1980, + "id": 1993, "isConstant": false, "isLValue": false, "isPure": false, @@ -56168,26 +56529,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1976, + "id": 1989, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17333:11:1", + "referencedDeclaration": 544, + "src": "17476:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1978, + "id": 1991, "indexExpression": { "argumentTypes": null, - "id": 1977, + "id": 1990, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, - "src": "17345:12:1", + "referencedDeclaration": 1974, + "src": "17488:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56198,7 +56559,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17333:25:1", + "src": "17476:25:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56208,31 +56569,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1979, + "id": 1992, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1968, - "src": "17361:10:1", + "referencedDeclaration": 1981, + "src": "17504:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "17333:38:1", + "src": "17476:38:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1981, + "id": 1994, "nodeType": "ExpressionStatement", - "src": "17333:38:1" + "src": "17476:38:1" }, { "expression": { "argumentTypes": null, - "id": 1987, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -56243,26 +56604,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1982, + "id": 1995, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17377:6:1", + "referencedDeclaration": 534, + "src": "17520:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1984, + "id": 1997, "indexExpression": { "argumentTypes": null, - "id": 1983, + "id": 1996, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1968, - "src": "17384:10:1", + "referencedDeclaration": 1981, + "src": "17527:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56273,21 +56634,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17377:18:1", + "src": "17520:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1985, + "id": 1998, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "17377:31:1", + "referencedDeclaration": 505, + "src": "17520:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56297,31 +56658,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1986, + "id": 1999, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, - "src": "17411:12:1", + "referencedDeclaration": 1974, + "src": "17554:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17377:46:1", + "src": "17520:46:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1988, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "17377:46:1" + "src": "17520:46:1" }, { "expression": { "argumentTypes": null, - "id": 1992, + "id": 2005, "isConstant": false, "isLValue": false, "isPure": false, @@ -56329,23 +56690,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "17429:20:1", + "src": "17572:20:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1989, + "id": 2002, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17429:11:1", + "referencedDeclaration": 544, + "src": "17572:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1991, + "id": 2004, "isConstant": false, "isLValue": true, "isPure": false, @@ -56353,7 +56714,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17429:18:1", + "src": "17572:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56364,14 +56725,14 @@ "typeString": "uint256" } }, - "id": 1993, + "id": 2006, "nodeType": "ExpressionStatement", - "src": "17429:20:1" + "src": "17572:20:1" }, { "expression": { "argumentTypes": null, - "id": 1997, + "id": 2010, "isConstant": false, "isLValue": false, "isPure": false, @@ -56379,31 +56740,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "17455:24:1", + "src": "17598:24:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1994, + "id": 2007, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17462:6:1", + "referencedDeclaration": 534, + "src": "17605:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1996, + "id": 2009, "indexExpression": { "argumentTypes": null, - "id": 1995, + "id": 2008, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17469:9:1", + "referencedDeclaration": 1887, + "src": "17612:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56414,9 +56775,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17462:17:1", + "src": "17605:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, @@ -56425,9 +56786,9 @@ "typeString": "tuple()" } }, - "id": 1998, + "id": 2011, "nodeType": "ExpressionStatement", - "src": "17455:24:1" + "src": "17598:24:1" }, { "expression": { @@ -56435,12 +56796,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2002, + "id": 2015, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17508:9:1", + "referencedDeclaration": 1887, + "src": "17651:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56456,18 +56817,18 @@ ], "expression": { "argumentTypes": null, - "id": 1999, + "id": 2012, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "17485:4:1", + "referencedDeclaration": 479, + "src": "17628:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2001, + "id": 2014, "isConstant": false, "isLValue": false, "isPure": false, @@ -56475,13 +56836,13 @@ "memberName": "withdrawDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 305, - "src": "17485:22:1", + "src": "17628:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2003, + "id": 2016, "isConstant": false, "isLValue": false, "isPure": false, @@ -56489,15 +56850,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17485:33:1", + "src": "17628:33:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2004, + "id": 2017, "nodeType": "ExpressionStatement", - "src": "17485:33:1" + "src": "17628:33:1" }, { "expression": { @@ -56505,12 +56866,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2008, + "id": 2021, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17539:9:1", + "referencedDeclaration": 1887, + "src": "17682:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56526,18 +56887,18 @@ ], "expression": { "argumentTypes": null, - "id": 2005, + "id": 2018, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "17524:4:1", + "referencedDeclaration": 479, + "src": "17667:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2007, + "id": 2020, "isConstant": false, "isLValue": false, "isPure": false, @@ -56545,13 +56906,13 @@ "memberName": "refundEth", "nodeType": "MemberAccess", "referencedDeclaration": 354, - "src": "17524:14:1", + "src": "17667:14:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2009, + "id": 2022, "isConstant": false, "isLValue": false, "isPure": false, @@ -56559,15 +56920,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17524:25:1", + "src": "17667:25:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2010, + "id": 2023, "nodeType": "ExpressionStatement", - "src": "17524:25:1" + "src": "17667:25:1" }, { "eventCall": { @@ -56577,18 +56938,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2012, + "id": 2025, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17582:3:1", + "referencedDeclaration": 3390, + "src": "17725:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2013, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": false, @@ -56596,7 +56957,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17582:10:1", + "src": "17725:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56604,12 +56965,12 @@ }, { "argumentTypes": null, - "id": 2014, + "id": 2027, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17594:9:1", + "referencedDeclaration": 1887, + "src": "17737:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56627,18 +56988,18 @@ "typeString": "address" } ], - "id": 2011, + "id": 2024, "name": "DeleteTellerModerator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 437, - "src": "17560:21:1", + "referencedDeclaration": 443, + "src": "17703:21:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 2015, + "id": 2028, "isConstant": false, "isLValue": false, "isPure": false, @@ -56646,20 +57007,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17560:44:1", + "src": "17703:44:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2016, + "id": 2029, "nodeType": "EmitStatement", - "src": "17555:49:1" + "src": "17698:49:1" } ] }, "documentation": null, - "id": 2018, + "id": 2031, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -56670,18 +57031,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1877, + "id": 1890, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16679:3:1", + "referencedDeclaration": 3390, + "src": "16822:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1878, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": false, @@ -56689,44 +57050,44 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16679:10:1", + "src": "16822:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 1879, + "id": 1892, "modifierName": { "argumentTypes": null, - "id": 1876, + "id": 1889, "name": "isTellerModerator", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 92, - "src": "16661:17:1", + "src": "16804:17:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "16661:29:1" + "src": "16804:29:1" } ], "name": "deleteTellerMods", "nodeType": "FunctionDefinition", "parameters": { - "id": 1875, + "id": 1888, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1887, "name": "_toDelete", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16642:17:1", + "scope": 2031, + "src": "16785:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -56734,10 +57095,10 @@ "typeString": "address" }, "typeName": { - "id": 1873, + "id": 1886, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16642:7:1", + "src": "16785:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56747,26 +57108,26 @@ "visibility": "internal" } ], - "src": "16641:19:1" + "src": "16784:19:1" }, "payable": false, "returnParameters": { - "id": 1880, + "id": 1893, "nodeType": "ParameterList", "parameters": [], - "src": "16700:0:1" + "src": "16843:0:1" }, - "scope": 2659, - "src": "16616:993:1", + "scope": 2672, + "src": "16759:993:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2163, + "id": 2176, "nodeType": "Block", - "src": "17704:823:1", + "src": "17847:823:1", "statements": [ { "expression": { @@ -56779,18 +57140,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2023, + "id": 2036, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17725:3:1", + "referencedDeclaration": 3390, + "src": "17868:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2024, + "id": 2037, "isConstant": false, "isLValue": false, "isPure": false, @@ -56798,7 +57159,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17725:10:1", + "src": "17868:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56812,18 +57173,18 @@ "typeString": "address" } ], - "id": 2022, + "id": 2035, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "17718:6:1", + "referencedDeclaration": 2585, + "src": "17861:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 2025, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": false, @@ -56831,7 +57192,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17718:18:1", + "src": "17861:18:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -56845,21 +57206,21 @@ "typeString": "bool" } ], - "id": 2021, + "id": 2034, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "17710:7:1", + "referencedDeclaration": 3393, + "src": "17853:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2026, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, @@ -56867,28 +57228,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17710:27:1", + "src": "17853:27:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2027, + "id": 2040, "nodeType": "ExpressionStatement", - "src": "17710:27:1" + "src": "17853:27:1" }, { "assignments": [ - 2029 + 2042 ], "declarations": [ { "constant": false, - "id": 2029, + "id": 2042, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "17743:17:1", + "scope": 2177, + "src": "17886:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -56896,10 +57257,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2028, + "id": 2041, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17743:4:1", + "src": "17886:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56909,41 +57270,41 @@ "visibility": "internal" } ], - "id": 2035, + "id": 2048, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2030, + "id": 2043, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17763:4:1", + "referencedDeclaration": 574, + "src": "17906:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2033, + "id": 2046, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2031, + "id": 2044, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17768:3:1", + "referencedDeclaration": 3390, + "src": "17911:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2032, + "id": 2045, "isConstant": false, "isLValue": false, "isPure": false, @@ -56951,7 +57312,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17768:10:1", + "src": "17911:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56962,41 +57323,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17763:16:1", + "src": "17906:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2034, + "id": 2047, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "17763:26:1", + "referencedDeclaration": 565, + "src": "17906:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17743:46:1" + "src": "17886:46:1" }, { "assignments": [ - 2037 + 2050 ], "declarations": [ { "constant": false, - "id": 2037, + "id": 2050, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "17795:18:1", + "scope": 2177, + "src": "17938:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -57004,10 +57365,10 @@ "typeString": "address" }, "typeName": { - "id": 2036, + "id": 2049, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17795:7:1", + "src": "17938:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57017,7 +57378,7 @@ "visibility": "internal" } ], - "id": 2068, + "id": 2081, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -57026,52 +57387,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2038, + "id": 2051, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17816:10:1", + "referencedDeclaration": 581, + "src": "17959:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2044, + "id": 2057, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2039, + "id": 2052, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17827:4:1", + "referencedDeclaration": 574, + "src": "17970:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2042, + "id": 2055, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2040, + "id": 2053, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17832:3:1", + "referencedDeclaration": 3390, + "src": "17975:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2041, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -57079,7 +57440,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17832:10:1", + "src": "17975:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57090,21 +57451,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17827:16:1", + "src": "17970:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2043, + "id": 2056, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17827:26:1", + "referencedDeclaration": 553, + "src": "17970:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -57115,47 +57476,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:38:1", + "src": "17959:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2050, + "id": 2063, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2045, + "id": 2058, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17855:4:1", + "referencedDeclaration": 574, + "src": "17998:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2048, + "id": 2061, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2046, + "id": 2059, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17860:3:1", + "referencedDeclaration": 3390, + "src": "18003:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2047, + "id": 2060, "isConstant": false, "isLValue": false, "isPure": false, @@ -57163,7 +57524,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17860:10:1", + "src": "18003:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57174,21 +57535,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17855:16:1", + "src": "17998:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2049, + "id": 2062, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "17855:27:1", + "referencedDeclaration": 555, + "src": "17998:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -57199,20 +57560,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:67:1", + "src": "17959:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2067, + "id": 2080, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2066, + "id": 2079, "isConstant": false, "isLValue": false, "isPure": false, @@ -57225,52 +57586,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2051, + "id": 2064, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17884:10:1", + "referencedDeclaration": 581, + "src": "18027:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2057, + "id": 2070, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2052, + "id": 2065, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17895:4:1", + "referencedDeclaration": 574, + "src": "18038:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2055, + "id": 2068, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2053, + "id": 2066, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17900:3:1", + "referencedDeclaration": 3390, + "src": "18043:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2054, + "id": 2067, "isConstant": false, "isLValue": false, "isPure": false, @@ -57278,7 +57639,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17900:10:1", + "src": "18043:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57289,21 +57650,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17895:16:1", + "src": "18038:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2056, + "id": 2069, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17895:26:1", + "referencedDeclaration": 553, + "src": "18038:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -57314,47 +57675,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17884:38:1", + "src": "18027:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2063, + "id": 2076, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2058, + "id": 2071, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17923:4:1", + "referencedDeclaration": 574, + "src": "18066:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2061, + "id": 2074, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2059, + "id": 2072, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17928:3:1", + "referencedDeclaration": 3390, + "src": "18071:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2060, + "id": 2073, "isConstant": false, "isLValue": false, "isPure": false, @@ -57362,7 +57723,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17928:10:1", + "src": "18071:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57373,21 +57734,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17923:16:1", + "src": "18066:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2062, + "id": 2075, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "17923:27:1", + "referencedDeclaration": 555, + "src": "18066:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -57398,13 +57759,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17884:67:1", + "src": "18027:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2064, + "id": 2077, "isConstant": false, "isLValue": true, "isPure": false, @@ -57412,7 +57773,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17884:74:1", + "src": "18027:74:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -57423,14 +57784,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2065, + "id": 2078, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17961:1:1", + "src": "18104:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -57438,7 +57799,7 @@ }, "value": "1" }, - "src": "17884:78:1", + "src": "18027:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -57449,19 +57810,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:147:1", + "src": "17959:147:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "17795:168:1" + "src": "17938:168:1" }, { "expression": { "argumentTypes": null, - "id": 2085, + "id": 2098, "isConstant": false, "isLValue": false, "isPure": false, @@ -57474,52 +57835,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2069, + "id": 2082, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17969:10:1", + "referencedDeclaration": 581, + "src": "18112:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2081, + "id": 2094, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2070, + "id": 2083, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17980:4:1", + "referencedDeclaration": 574, + "src": "18123:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2073, + "id": 2086, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2071, + "id": 2084, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17985:3:1", + "referencedDeclaration": 3390, + "src": "18128:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2072, + "id": 2085, "isConstant": false, "isLValue": false, "isPure": false, @@ -57527,7 +57888,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17985:10:1", + "src": "18128:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57538,21 +57899,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17980:16:1", + "src": "18123:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2074, + "id": 2087, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17980:26:1", + "referencedDeclaration": 553, + "src": "18123:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -57563,47 +57924,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17969:38:1", + "src": "18112:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2082, + "id": 2095, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2075, + "id": 2088, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18008:4:1", + "referencedDeclaration": 574, + "src": "18151:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2078, + "id": 2091, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2076, + "id": 2089, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18013:3:1", + "referencedDeclaration": 3390, + "src": "18156:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2077, + "id": 2090, "isConstant": false, "isLValue": false, "isPure": false, @@ -57611,7 +57972,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18013:10:1", + "src": "18156:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57622,21 +57983,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18008:16:1", + "src": "18151:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2079, + "id": 2092, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18008:27:1", + "referencedDeclaration": 555, + "src": "18151:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -57647,21 +58008,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17969:67:1", + "src": "18112:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2083, + "id": 2096, "indexExpression": { "argumentTypes": null, - "id": 2080, + "id": 2093, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "18037:12:1", + "referencedDeclaration": 2042, + "src": "18180:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -57672,7 +58033,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17969:81:1", + "src": "18112:81:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57682,31 +58043,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2084, + "id": 2097, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2037, - "src": "18053:10:1", + "referencedDeclaration": 2050, + "src": "18196:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "17969:94:1", + "src": "18112:94:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2086, + "id": 2099, "nodeType": "ExpressionStatement", - "src": "17969:94:1" + "src": "18112:94:1" }, { "expression": { "argumentTypes": null, - "id": 2092, + "id": 2105, "isConstant": false, "isLValue": false, "isPure": false, @@ -57717,26 +58078,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2087, + "id": 2100, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18069:4:1", + "referencedDeclaration": 574, + "src": "18212:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2089, + "id": 2102, "indexExpression": { "argumentTypes": null, - "id": 2088, + "id": 2101, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2037, - "src": "18074:10:1", + "referencedDeclaration": 2050, + "src": "18217:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57747,21 +58108,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18069:16:1", + "src": "18212:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2090, + "id": 2103, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18069:26:1", + "referencedDeclaration": 565, + "src": "18212:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -57771,31 +58132,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2091, + "id": 2104, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "18098:12:1", + "referencedDeclaration": 2042, + "src": "18241:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18069:41:1", + "src": "18212:41:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2093, + "id": 2106, "nodeType": "ExpressionStatement", - "src": "18069:41:1" + "src": "18212:41:1" }, { "expression": { "argumentTypes": null, - "id": 2108, + "id": 2121, "isConstant": false, "isLValue": false, "isPure": false, @@ -57803,7 +58164,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18116:76:1", + "src": "18259:76:1", "subExpression": { "argumentTypes": null, "expression": { @@ -57812,52 +58173,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2094, + "id": 2107, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18116:10:1", + "referencedDeclaration": 581, + "src": "18259:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2105, + "id": 2118, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2095, + "id": 2108, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18127:4:1", + "referencedDeclaration": 574, + "src": "18270:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2098, + "id": 2111, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2096, + "id": 2109, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18132:3:1", + "referencedDeclaration": 3390, + "src": "18275:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2097, + "id": 2110, "isConstant": false, "isLValue": false, "isPure": false, @@ -57865,7 +58226,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18132:10:1", + "src": "18275:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57876,21 +58237,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18127:16:1", + "src": "18270:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2099, + "id": 2112, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18127:26:1", + "referencedDeclaration": 553, + "src": "18270:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -57901,47 +58262,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18116:38:1", + "src": "18259:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2106, + "id": 2119, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2100, + "id": 2113, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18155:4:1", + "referencedDeclaration": 574, + "src": "18298:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2103, + "id": 2116, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2101, + "id": 2114, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18160:3:1", + "referencedDeclaration": 3390, + "src": "18303:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2102, + "id": 2115, "isConstant": false, "isLValue": false, "isPure": false, @@ -57949,7 +58310,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18160:10:1", + "src": "18303:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57960,21 +58321,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18155:16:1", + "src": "18298:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2104, + "id": 2117, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18155:27:1", + "referencedDeclaration": 555, + "src": "18298:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -57985,13 +58346,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18116:67:1", + "src": "18259:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2107, + "id": 2120, "isConstant": false, "isLValue": true, "isPure": false, @@ -57999,7 +58360,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18116:74:1", + "src": "18259:74:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58010,22 +58371,22 @@ "typeString": "uint256" } }, - "id": 2109, + "id": 2122, "nodeType": "ExpressionStatement", - "src": "18116:76:1" + "src": "18259:76:1" }, { "assignments": [ - 2111 + 2124 ], "declarations": [ { "constant": false, - "id": 2111, + "id": 2124, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "18199:17:1", + "scope": 2177, + "src": "18342:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -58033,10 +58394,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2110, + "id": 2123, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "18199:4:1", + "src": "18342:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58046,41 +58407,41 @@ "visibility": "internal" } ], - "id": 2117, + "id": 2130, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2112, + "id": 2125, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18219:4:1", + "referencedDeclaration": 574, + "src": "18362:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2115, + "id": 2128, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2113, + "id": 2126, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18224:3:1", + "referencedDeclaration": 3390, + "src": "18367:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2114, + "id": 2127, "isConstant": false, "isLValue": false, "isPure": false, @@ -58088,7 +58449,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18224:10:1", + "src": "18367:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58099,41 +58460,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18219:16:1", + "src": "18362:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2116, + "id": 2129, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "18219:29:1", + "referencedDeclaration": 567, + "src": "18362:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18199:49:1" + "src": "18342:49:1" }, { "assignments": [ - 2119 + 2132 ], "declarations": [ { "constant": false, - "id": 2119, + "id": 2132, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "18254:18:1", + "scope": 2177, + "src": "18397:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -58141,10 +58502,10 @@ "typeString": "address" }, "typeName": { - "id": 2118, + "id": 2131, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18254:7:1", + "src": "18397:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58154,30 +58515,30 @@ "visibility": "internal" } ], - "id": 2126, + "id": 2139, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2120, + "id": 2133, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18275:9:1", + "referencedDeclaration": 584, + "src": "18418:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2125, + "id": 2138, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2124, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, @@ -58186,18 +58547,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2121, + "id": 2134, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18285:9:1", + "referencedDeclaration": 584, + "src": "18428:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2122, + "id": 2135, "isConstant": false, "isLValue": true, "isPure": false, @@ -58205,7 +58566,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18285:16:1", + "src": "18428:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58216,14 +58577,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2123, + "id": 2136, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18304:1:1", + "src": "18447:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -58231,7 +58592,7 @@ }, "value": "1" }, - "src": "18285:20:1", + "src": "18428:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58242,19 +58603,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18275:31:1", + "src": "18418:31:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "18254:52:1" + "src": "18397:52:1" }, { "expression": { "argumentTypes": null, - "id": 2131, + "id": 2144, "isConstant": false, "isLValue": false, "isPure": false, @@ -58263,26 +58624,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2127, + "id": 2140, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18312:9:1", + "referencedDeclaration": 584, + "src": "18455:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2129, + "id": 2142, "indexExpression": { "argumentTypes": null, - "id": 2128, + "id": 2141, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2111, - "src": "18322:12:1", + "referencedDeclaration": 2124, + "src": "18465:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58293,7 +58654,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18312:23:1", + "src": "18455:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58303,31 +58664,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2130, + "id": 2143, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2119, - "src": "18338:10:1", + "referencedDeclaration": 2132, + "src": "18481:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "18312:36:1", + "src": "18455:36:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2132, + "id": 2145, "nodeType": "ExpressionStatement", - "src": "18312:36:1" + "src": "18455:36:1" }, { "expression": { "argumentTypes": null, - "id": 2138, + "id": 2151, "isConstant": false, "isLValue": false, "isPure": false, @@ -58338,26 +58699,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2133, + "id": 2146, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18354:4:1", + "referencedDeclaration": 574, + "src": "18497:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2135, + "id": 2148, "indexExpression": { "argumentTypes": null, - "id": 2134, + "id": 2147, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2119, - "src": "18359:10:1", + "referencedDeclaration": 2132, + "src": "18502:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58368,21 +58729,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18354:16:1", + "src": "18497:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2136, + "id": 2149, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "18354:29:1", + "referencedDeclaration": 567, + "src": "18497:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58392,31 +58753,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2137, + "id": 2150, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2111, - "src": "18386:12:1", + "referencedDeclaration": 2124, + "src": "18529:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18354:44:1", + "src": "18497:44:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2139, + "id": 2152, "nodeType": "ExpressionStatement", - "src": "18354:44:1" + "src": "18497:44:1" }, { "expression": { "argumentTypes": null, - "id": 2143, + "id": 2156, "isConstant": false, "isLValue": false, "isPure": false, @@ -58424,23 +58785,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18404:18:1", + "src": "18547:18:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2140, + "id": 2153, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18404:9:1", + "referencedDeclaration": 584, + "src": "18547:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2142, + "id": 2155, "isConstant": false, "isLValue": true, "isPure": false, @@ -58448,7 +58809,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18404:16:1", + "src": "18547:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58459,14 +58820,14 @@ "typeString": "uint256" } }, - "id": 2144, + "id": 2157, "nodeType": "ExpressionStatement", - "src": "18404:18:1" + "src": "18547:18:1" }, { "expression": { "argumentTypes": null, - "id": 2149, + "id": 2162, "isConstant": false, "isLValue": false, "isPure": false, @@ -58474,39 +58835,39 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "18428:23:1", + "src": "18571:23:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2145, + "id": 2158, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18435:4:1", + "referencedDeclaration": 574, + "src": "18578:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2148, + "id": 2161, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2146, + "id": 2159, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18440:3:1", + "referencedDeclaration": 3390, + "src": "18583:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2147, + "id": 2160, "isConstant": false, "isLValue": false, "isPure": false, @@ -58514,7 +58875,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18440:10:1", + "src": "18583:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58525,9 +58886,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18435:16:1", + "src": "18578:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, @@ -58536,9 +58897,9 @@ "typeString": "tuple()" } }, - "id": 2150, + "id": 2163, "nodeType": "ExpressionStatement", - "src": "18428:23:1" + "src": "18571:23:1" }, { "expression": { @@ -58548,18 +58909,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2154, + "id": 2167, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18478:3:1", + "referencedDeclaration": 3390, + "src": "18621:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2155, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": false, @@ -58567,7 +58928,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18478:10:1", + "src": "18621:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58583,18 +58944,18 @@ ], "expression": { "argumentTypes": null, - "id": 2151, + "id": 2164, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "18457:4:1", + "referencedDeclaration": 479, + "src": "18600:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2153, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": false, @@ -58602,13 +58963,13 @@ "memberName": "withdrawDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 310, - "src": "18457:20:1", + "src": "18600:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2156, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -58616,15 +58977,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18457:32:1", + "src": "18600:32:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2157, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "18457:32:1" + "src": "18600:32:1" }, { "eventCall": { @@ -58634,18 +58995,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2159, + "id": 2172, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18511:3:1", + "referencedDeclaration": 3390, + "src": "18654:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2160, + "id": 2173, "isConstant": false, "isLValue": false, "isPure": false, @@ -58653,7 +59014,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18511:10:1", + "src": "18654:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58667,18 +59028,18 @@ "typeString": "address" } ], - "id": 2158, + "id": 2171, "name": "DeleteShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 425, - "src": "18500:10:1", + "referencedDeclaration": 431, + "src": "18643:10:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 2161, + "id": 2174, "isConstant": false, "isLValue": false, "isPure": false, @@ -58686,20 +59047,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18500:22:1", + "src": "18643:22:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2162, + "id": 2175, "nodeType": "EmitStatement", - "src": "18495:27:1" + "src": "18638:27:1" } ] }, "documentation": null, - "id": 2164, + "id": 2177, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -58707,42 +59068,42 @@ "name": "deleteShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2019, + "id": 2032, "nodeType": "ParameterList", "parameters": [], - "src": "17692:2:1" + "src": "17835:2:1" }, "payable": false, "returnParameters": { - "id": 2020, + "id": 2033, "nodeType": "ParameterList", "parameters": [], - "src": "17704:0:1" + "src": "17847:0:1" }, - "scope": 2659, - "src": "17673:854:1", + "scope": 2672, + "src": "17816:854:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2310, + "id": 2323, "nodeType": "Block", - "src": "18670:902:1", + "src": "18813:902:1", "statements": [ { "assignments": [ - 2174 + 2187 ], "declarations": [ { "constant": false, - "id": 2174, + "id": 2187, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18676:17:1", + "scope": 2324, + "src": "18819:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -58750,10 +59111,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2173, + "id": 2186, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "18676:4:1", + "src": "18819:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58763,33 +59124,33 @@ "visibility": "internal" } ], - "id": 2179, + "id": 2192, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2175, + "id": 2188, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18696:4:1", + "referencedDeclaration": 574, + "src": "18839:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2177, + "id": 2190, "indexExpression": { "argumentTypes": null, - "id": 2176, + "id": 2189, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18701:9:1", + "referencedDeclaration": 2179, + "src": "18844:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58800,41 +59161,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18696:15:1", + "src": "18839:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2178, + "id": 2191, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18696:25:1", + "referencedDeclaration": 565, + "src": "18839:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18676:45:1" + "src": "18819:45:1" }, { "assignments": [ - 2181 + 2194 ], "declarations": [ { "constant": false, - "id": 2181, + "id": 2194, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18727:18:1", + "scope": 2324, + "src": "18870:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -58842,10 +59203,10 @@ "typeString": "address" }, "typeName": { - "id": 2180, + "id": 2193, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18727:7:1", + "src": "18870:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58855,7 +59216,7 @@ "visibility": "internal" } ], - "id": 2208, + "id": 2221, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -58864,44 +59225,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2182, + "id": 2195, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18748:10:1", + "referencedDeclaration": 581, + "src": "18891:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2187, + "id": 2200, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2183, + "id": 2196, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18759:4:1", + "referencedDeclaration": 574, + "src": "18902:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2185, + "id": 2198, "indexExpression": { "argumentTypes": null, - "id": 2184, + "id": 2197, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18764:9:1", + "referencedDeclaration": 2179, + "src": "18907:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58912,21 +59273,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18759:15:1", + "src": "18902:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2186, + "id": 2199, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18759:25:1", + "referencedDeclaration": 553, + "src": "18902:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -58937,39 +59298,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:37:1", + "src": "18891:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2192, + "id": 2205, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2188, + "id": 2201, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18786:4:1", + "referencedDeclaration": 574, + "src": "18929:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2190, + "id": 2203, "indexExpression": { "argumentTypes": null, - "id": 2189, + "id": 2202, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18791:9:1", + "referencedDeclaration": 2179, + "src": "18934:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58980,21 +59341,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18786:15:1", + "src": "18929:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2191, + "id": 2204, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18786:26:1", + "referencedDeclaration": 555, + "src": "18929:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -59005,20 +59366,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:65:1", + "src": "18891:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2207, + "id": 2220, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2206, + "id": 2219, "isConstant": false, "isLValue": false, "isPure": false, @@ -59031,44 +59392,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2193, + "id": 2206, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18814:10:1", + "referencedDeclaration": 581, + "src": "18957:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2198, + "id": 2211, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2194, + "id": 2207, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18825:4:1", + "referencedDeclaration": 574, + "src": "18968:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2196, + "id": 2209, "indexExpression": { "argumentTypes": null, - "id": 2195, + "id": 2208, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18830:9:1", + "referencedDeclaration": 2179, + "src": "18973:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59079,21 +59440,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18825:15:1", + "src": "18968:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2197, + "id": 2210, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18825:25:1", + "referencedDeclaration": 553, + "src": "18968:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -59104,39 +59465,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18814:37:1", + "src": "18957:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2203, + "id": 2216, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2199, + "id": 2212, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18852:4:1", + "referencedDeclaration": 574, + "src": "18995:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2201, + "id": 2214, "indexExpression": { "argumentTypes": null, - "id": 2200, + "id": 2213, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18857:9:1", + "referencedDeclaration": 2179, + "src": "19000:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59147,21 +59508,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18852:15:1", + "src": "18995:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2202, + "id": 2215, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18852:26:1", + "referencedDeclaration": 555, + "src": "18995:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -59172,13 +59533,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18814:65:1", + "src": "18957:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2204, + "id": 2217, "isConstant": false, "isLValue": true, "isPure": false, @@ -59186,7 +59547,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18814:72:1", + "src": "18957:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -59197,14 +59558,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2205, + "id": 2218, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18889:1:1", + "src": "19032:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -59212,7 +59573,7 @@ }, "value": "1" }, - "src": "18814:76:1", + "src": "18957:76:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -59223,19 +59584,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:143:1", + "src": "18891:143:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "18727:164:1" + "src": "18870:164:1" }, { "expression": { "argumentTypes": null, - "id": 2223, + "id": 2236, "isConstant": false, "isLValue": false, "isPure": false, @@ -59248,44 +59609,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2209, + "id": 2222, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18897:10:1", + "referencedDeclaration": 581, + "src": "19040:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2219, + "id": 2232, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2210, + "id": 2223, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18908:4:1", + "referencedDeclaration": 574, + "src": "19051:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2212, + "id": 2225, "indexExpression": { "argumentTypes": null, - "id": 2211, + "id": 2224, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18913:9:1", + "referencedDeclaration": 2179, + "src": "19056:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59296,21 +59657,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18908:15:1", + "src": "19051:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2213, + "id": 2226, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18908:25:1", + "referencedDeclaration": 553, + "src": "19051:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -59321,39 +59682,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18897:37:1", + "src": "19040:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2220, + "id": 2233, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2214, + "id": 2227, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18935:4:1", + "referencedDeclaration": 574, + "src": "19078:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2216, + "id": 2229, "indexExpression": { "argumentTypes": null, - "id": 2215, + "id": 2228, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18940:9:1", + "referencedDeclaration": 2179, + "src": "19083:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59364,21 +59725,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18935:15:1", + "src": "19078:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2217, + "id": 2230, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18935:26:1", + "referencedDeclaration": 555, + "src": "19078:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -59389,21 +59750,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18897:65:1", + "src": "19040:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2221, + "id": 2234, "indexExpression": { "argumentTypes": null, - "id": 2218, + "id": 2231, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2174, - "src": "18963:12:1", + "referencedDeclaration": 2187, + "src": "19106:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -59414,7 +59775,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18897:79:1", + "src": "19040:79:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59424,31 +59785,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2222, + "id": 2235, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2181, - "src": "18979:10:1", + "referencedDeclaration": 2194, + "src": "19122:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "18897:92:1", + "src": "19040:92:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2224, + "id": 2237, "nodeType": "ExpressionStatement", - "src": "18897:92:1" + "src": "19040:92:1" }, { "expression": { "argumentTypes": null, - "id": 2230, + "id": 2243, "isConstant": false, "isLValue": false, "isPure": false, @@ -59459,26 +59820,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2225, + "id": 2238, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18995:4:1", + "referencedDeclaration": 574, + "src": "19138:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2227, + "id": 2240, "indexExpression": { "argumentTypes": null, - "id": 2226, + "id": 2239, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2181, - "src": "19000:10:1", + "referencedDeclaration": 2194, + "src": "19143:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59489,21 +59850,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18995:16:1", + "src": "19138:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2228, + "id": 2241, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18995:26:1", + "referencedDeclaration": 565, + "src": "19138:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -59513,31 +59874,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2229, + "id": 2242, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2174, - "src": "19024:12:1", + "referencedDeclaration": 2187, + "src": "19167:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18995:41:1", + "src": "19138:41:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2231, + "id": 2244, "nodeType": "ExpressionStatement", - "src": "18995:41:1" + "src": "19138:41:1" }, { "expression": { "argumentTypes": null, - "id": 2244, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": false, @@ -59545,7 +59906,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "19042:74:1", + "src": "19185:74:1", "subExpression": { "argumentTypes": null, "expression": { @@ -59554,44 +59915,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2232, + "id": 2245, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "19042:10:1", + "referencedDeclaration": 581, + "src": "19185:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2241, + "id": 2254, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2233, + "id": 2246, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19053:4:1", + "referencedDeclaration": 574, + "src": "19196:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2235, + "id": 2248, "indexExpression": { "argumentTypes": null, - "id": 2234, + "id": 2247, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19058:9:1", + "referencedDeclaration": 2179, + "src": "19201:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59602,21 +59963,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19053:15:1", + "src": "19196:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2236, + "id": 2249, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "19053:25:1", + "referencedDeclaration": 553, + "src": "19196:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -59627,39 +59988,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19042:37:1", + "src": "19185:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2242, + "id": 2255, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2237, + "id": 2250, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19080:4:1", + "referencedDeclaration": 574, + "src": "19223:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2239, + "id": 2252, "indexExpression": { "argumentTypes": null, - "id": 2238, + "id": 2251, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19085:9:1", + "referencedDeclaration": 2179, + "src": "19228:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59670,21 +60031,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19080:15:1", + "src": "19223:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2240, + "id": 2253, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "19080:26:1", + "referencedDeclaration": 555, + "src": "19223:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -59695,13 +60056,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19042:65:1", + "src": "19185:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2243, + "id": 2256, "isConstant": false, "isLValue": true, "isPure": false, @@ -59709,7 +60070,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19042:72:1", + "src": "19185:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -59720,22 +60081,22 @@ "typeString": "uint256" } }, - "id": 2245, + "id": 2258, "nodeType": "ExpressionStatement", - "src": "19042:74:1" + "src": "19185:74:1" }, { "assignments": [ - 2247 + 2260 ], "declarations": [ { "constant": false, - "id": 2247, + "id": 2260, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "19123:17:1", + "scope": 2324, + "src": "19266:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -59743,10 +60104,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2246, + "id": 2259, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19123:4:1", + "src": "19266:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -59756,33 +60117,33 @@ "visibility": "internal" } ], - "id": 2252, + "id": 2265, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2248, + "id": 2261, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19143:4:1", + "referencedDeclaration": 574, + "src": "19286:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2250, + "id": 2263, "indexExpression": { "argumentTypes": null, - "id": 2249, + "id": 2262, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19148:9:1", + "referencedDeclaration": 2179, + "src": "19291:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59793,41 +60154,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19143:15:1", + "src": "19286:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2251, + "id": 2264, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "19143:28:1", + "referencedDeclaration": 567, + "src": "19286:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "19123:48:1" + "src": "19266:48:1" }, { "assignments": [ - 2254 + 2267 ], "declarations": [ { "constant": false, - "id": 2254, + "id": 2267, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "19177:18:1", + "scope": 2324, + "src": "19320:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -59835,10 +60196,10 @@ "typeString": "address" }, "typeName": { - "id": 2253, + "id": 2266, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19177:7:1", + "src": "19320:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59848,30 +60209,30 @@ "visibility": "internal" } ], - "id": 2261, + "id": 2274, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2255, + "id": 2268, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19198:9:1", + "referencedDeclaration": 584, + "src": "19341:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2260, + "id": 2273, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2259, + "id": 2272, "isConstant": false, "isLValue": false, "isPure": false, @@ -59880,18 +60241,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2256, + "id": 2269, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19208:9:1", + "referencedDeclaration": 584, + "src": "19351:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2257, + "id": 2270, "isConstant": false, "isLValue": true, "isPure": false, @@ -59899,7 +60260,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19208:16:1", + "src": "19351:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -59910,14 +60271,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2258, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19227:1:1", + "src": "19370:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -59925,7 +60286,7 @@ }, "value": "1" }, - "src": "19208:20:1", + "src": "19351:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -59936,19 +60297,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19198:31:1", + "src": "19341:31:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "19177:52:1" + "src": "19320:52:1" }, { "expression": { "argumentTypes": null, - "id": 2266, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -59957,26 +60318,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2262, + "id": 2275, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19235:9:1", + "referencedDeclaration": 584, + "src": "19378:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2264, + "id": 2277, "indexExpression": { "argumentTypes": null, - "id": 2263, + "id": 2276, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, - "src": "19245:12:1", + "referencedDeclaration": 2260, + "src": "19388:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -59987,7 +60348,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "19235:23:1", + "src": "19378:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59997,31 +60358,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2265, + "id": 2278, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2254, - "src": "19261:10:1", + "referencedDeclaration": 2267, + "src": "19404:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "19235:36:1", + "src": "19378:36:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2267, + "id": 2280, "nodeType": "ExpressionStatement", - "src": "19235:36:1" + "src": "19378:36:1" }, { "expression": { "argumentTypes": null, - "id": 2273, + "id": 2286, "isConstant": false, "isLValue": false, "isPure": false, @@ -60032,26 +60393,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2268, + "id": 2281, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19277:4:1", + "referencedDeclaration": 574, + "src": "19420:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2270, + "id": 2283, "indexExpression": { "argumentTypes": null, - "id": 2269, + "id": 2282, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2254, - "src": "19282:10:1", + "referencedDeclaration": 2267, + "src": "19425:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60062,21 +60423,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19277:16:1", + "src": "19420:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2271, + "id": 2284, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "19277:29:1", + "referencedDeclaration": 567, + "src": "19420:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60086,31 +60447,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2272, + "id": 2285, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, - "src": "19309:12:1", + "referencedDeclaration": 2260, + "src": "19452:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19277:44:1", + "src": "19420:44:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2274, + "id": 2287, "nodeType": "ExpressionStatement", - "src": "19277:44:1" + "src": "19420:44:1" }, { "expression": { "argumentTypes": null, - "id": 2278, + "id": 2291, "isConstant": false, "isLValue": false, "isPure": false, @@ -60118,23 +60479,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "19327:18:1", + "src": "19470:18:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2275, + "id": 2288, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19327:9:1", + "referencedDeclaration": 584, + "src": "19470:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2277, + "id": 2290, "isConstant": false, "isLValue": true, "isPure": false, @@ -60142,7 +60503,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19327:16:1", + "src": "19470:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60153,14 +60514,14 @@ "typeString": "uint256" } }, - "id": 2279, + "id": 2292, "nodeType": "ExpressionStatement", - "src": "19327:18:1" + "src": "19470:18:1" }, { "condition": { "argumentTypes": null, - "id": 2284, + "id": 2297, "isConstant": false, "isLValue": false, "isPure": false, @@ -60168,33 +60529,33 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "19355:27:1", + "src": "19498:27:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2280, + "id": 2293, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19356:4:1", + "referencedDeclaration": 574, + "src": "19499:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2282, + "id": 2295, "indexExpression": { "argumentTypes": null, - "id": 2281, + "id": 2294, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19361:9:1", + "referencedDeclaration": 2179, + "src": "19504:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60205,21 +60566,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19356:15:1", + "src": "19499:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2283, + "id": 2296, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "detherShop", "nodeType": "MemberAccess", - "referencedDeclaration": 563, - "src": "19356:26:1", + "referencedDeclaration": 569, + "src": "19499:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -60236,12 +60597,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2294, + "id": 2307, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19464:9:1", + "referencedDeclaration": 2179, + "src": "19607:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60249,12 +60610,12 @@ }, { "argumentTypes": null, - "id": 2295, + "id": 2308, "name": "csoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "19475:10:1", + "src": "19618:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60274,18 +60635,18 @@ ], "expression": { "argumentTypes": null, - "id": 2291, + "id": 2304, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "19438:4:1", + "referencedDeclaration": 479, + "src": "19581:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2293, + "id": 2306, "isConstant": false, "isLValue": false, "isPure": false, @@ -60293,13 +60654,13 @@ "memberName": "withdrawDthShopAdmin", "nodeType": "MemberAccess", "referencedDeclaration": 317, - "src": "19438:25:1", + "src": "19581:25:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address) external" } }, - "id": 2296, + "id": 2309, "isConstant": false, "isLValue": false, "isPure": false, @@ -60307,31 +60668,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19438:48:1", + "src": "19581:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2297, + "id": 2310, "nodeType": "ExpressionStatement", - "src": "19438:48:1" + "src": "19581:48:1" }, - "id": 2298, + "id": 2311, "nodeType": "IfStatement", - "src": "19351:135:1", + "src": "19494:135:1", "trueBody": { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2288, + "id": 2301, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19411:9:1", + "referencedDeclaration": 2179, + "src": "19554:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60347,18 +60708,18 @@ ], "expression": { "argumentTypes": null, - "id": 2285, + "id": 2298, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "19390:4:1", + "referencedDeclaration": 479, + "src": "19533:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2287, + "id": 2300, "isConstant": false, "isLValue": false, "isPure": false, @@ -60366,13 +60727,13 @@ "memberName": "withdrawDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 310, - "src": "19390:20:1", + "src": "19533:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2289, + "id": 2302, "isConstant": false, "isLValue": false, "isPure": false, @@ -60380,21 +60741,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19390:31:1", + "src": "19533:31:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2290, + "id": 2303, "nodeType": "ExpressionStatement", - "src": "19390:31:1" + "src": "19533:31:1" } }, { "expression": { "argumentTypes": null, - "id": 2302, + "id": 2315, "isConstant": false, "isLValue": false, "isPure": false, @@ -60402,31 +60763,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "19492:22:1", + "src": "19635:22:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2299, + "id": 2312, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19499:4:1", + "referencedDeclaration": 574, + "src": "19642:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2301, + "id": 2314, "indexExpression": { "argumentTypes": null, - "id": 2300, + "id": 2313, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19504:9:1", + "referencedDeclaration": 2179, + "src": "19647:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60437,9 +60798,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "19499:15:1", + "src": "19642:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, @@ -60448,9 +60809,9 @@ "typeString": "tuple()" } }, - "id": 2303, + "id": 2316, "nodeType": "ExpressionStatement", - "src": "19492:22:1" + "src": "19635:22:1" }, { "eventCall": { @@ -60460,18 +60821,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2305, + "id": 2318, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "19545:3:1", + "referencedDeclaration": 3390, + "src": "19688:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2306, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -60479,7 +60840,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19545:10:1", + "src": "19688:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60487,12 +60848,12 @@ }, { "argumentTypes": null, - "id": 2307, + "id": 2320, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19557:9:1", + "referencedDeclaration": 2179, + "src": "19700:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60510,18 +60871,18 @@ "typeString": "address" } ], - "id": 2304, + "id": 2317, "name": "DeleteShopModerator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "19525:19:1", + "referencedDeclaration": 437, + "src": "19668:19:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 2308, + "id": 2321, "isConstant": false, "isLValue": false, "isPure": false, @@ -60529,20 +60890,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19525:42:1", + "src": "19668:42:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2309, + "id": 2322, "nodeType": "EmitStatement", - "src": "19520:47:1" + "src": "19663:47:1" } ] }, "documentation": null, - "id": 2311, + "id": 2324, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -60553,18 +60914,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2169, + "id": 2182, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18649:3:1", + "referencedDeclaration": 3390, + "src": "18792:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2170, + "id": 2183, "isConstant": false, "isLValue": false, "isPure": false, @@ -60572,44 +60933,44 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18649:10:1", + "src": "18792:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 2171, + "id": 2184, "modifierName": { "argumentTypes": null, - "id": 2168, + "id": 2181, "name": "isShopModerator", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 80, - "src": "18633:15:1", + "src": "18776:15:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "18633:27:1" + "src": "18776:27:1" } ], "name": "deleteShopMods", "nodeType": "FunctionDefinition", "parameters": { - "id": 2167, + "id": 2180, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2166, + "id": 2179, "name": "_toDelete", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18614:17:1", + "scope": 2324, + "src": "18757:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60617,10 +60978,10 @@ "typeString": "address" }, "typeName": { - "id": 2165, + "id": 2178, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18614:7:1", + "src": "18757:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60630,54 +60991,54 @@ "visibility": "internal" } ], - "src": "18613:19:1" + "src": "18756:19:1" }, "payable": false, "returnParameters": { - "id": 2172, + "id": 2185, "nodeType": "ParameterList", "parameters": [], - "src": "18670:0:1" + "src": "18813:0:1" }, - "scope": 2659, - "src": "18590:982:1", + "scope": 2672, + "src": "18733:982:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2408, + "id": 2421, "nodeType": "Block", - "src": "19932:459:1", + "src": "20075:459:1", "statements": [ { "assignments": [ - 2341 + 2354 ], "declarations": [ { "constant": false, - "id": 2341, + "id": 2354, "name": "theTeller", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19938:24:1", + "scope": 2422, + "src": "20081:24:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" }, "typeName": { "contractScope": null, - "id": 2340, + "id": 2353, "name": "Teller", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 502, - "src": "19938:6:1", + "referencedDeclaration": 508, + "src": "20081:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" } }, @@ -60685,31 +61046,31 @@ "visibility": "internal" } ], - "id": 2345, + "id": 2358, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2342, + "id": 2355, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "19965:6:1", + "referencedDeclaration": 534, + "src": "20108:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 2344, + "id": 2357, "indexExpression": { "argumentTypes": null, - "id": 2343, + "id": 2356, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2313, - "src": "19972:7:1", + "referencedDeclaration": 2326, + "src": "20115:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60720,31 +61081,31 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19965:15:1", + "src": "20108:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "19938:42:1" + "src": "20081:42:1" }, { "expression": { "argumentTypes": null, - "id": 2349, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2346, + "id": 2359, "name": "lat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2316, - "src": "19986:3:1", + "referencedDeclaration": 2329, + "src": "20129:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -60756,57 +61117,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2347, + "id": 2360, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "19992:9:1", + "referencedDeclaration": 2354, + "src": "20135:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2348, + "id": 2361, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 477, - "src": "19992:13:1", + "referencedDeclaration": 483, + "src": "20135:13:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "19986:19:1", + "src": "20129:19:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2350, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "19986:19:1" + "src": "20129:19:1" }, { "expression": { "argumentTypes": null, - "id": 2354, + "id": 2367, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2351, + "id": 2364, "name": "lng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2318, - "src": "20011:3:1", + "referencedDeclaration": 2331, + "src": "20154:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -60818,57 +61179,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2352, + "id": 2365, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20017:9:1", + "referencedDeclaration": 2354, + "src": "20160:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2353, + "id": 2366, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 479, - "src": "20017:13:1", + "referencedDeclaration": 485, + "src": "20160:13:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20011:19:1", + "src": "20154:19:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2355, + "id": 2368, "nodeType": "ExpressionStatement", - "src": "20011:19:1" + "src": "20154:19:1" }, { "expression": { "argumentTypes": null, - "id": 2359, + "id": 2372, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2356, + "id": 2369, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2320, - "src": "20036:9:1", + "referencedDeclaration": 2333, + "src": "20179:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -60880,57 +61241,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2357, + "id": 2370, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20048:9:1", + "referencedDeclaration": 2354, + "src": "20191:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2358, + "id": 2371, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "20048:19:1", + "referencedDeclaration": 487, + "src": "20191:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "20036:31:1", + "src": "20179:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 2360, + "id": 2373, "nodeType": "ExpressionStatement", - "src": "20036:31:1" + "src": "20179:31:1" }, { "expression": { "argumentTypes": null, - "id": 2364, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2361, + "id": 2374, "name": "postalCode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2322, - "src": "20073:10:1", + "referencedDeclaration": 2335, + "src": "20216:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -60942,57 +61303,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2362, + "id": 2375, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20086:9:1", + "referencedDeclaration": 2354, + "src": "20229:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2363, + "id": 2376, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "20086:20:1", + "referencedDeclaration": 489, + "src": "20229:20:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20073:33:1", + "src": "20216:33:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2365, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "20073:33:1" + "src": "20216:33:1" }, { "expression": { "argumentTypes": null, - "id": 2369, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2366, + "id": 2379, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2324, - "src": "20112:10:1", + "referencedDeclaration": 2337, + "src": "20255:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -61004,57 +61365,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2367, + "id": 2380, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20125:9:1", + "referencedDeclaration": 2354, + "src": "20268:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2368, + "id": 2381, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "20125:20:1", + "referencedDeclaration": 491, + "src": "20268:20:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "20112:33:1", + "src": "20255:33:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 2370, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "20112:33:1" + "src": "20255:33:1" }, { "expression": { "argumentTypes": null, - "id": 2374, + "id": 2387, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2371, + "id": 2384, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2326, - "src": "20151:9:1", + "referencedDeclaration": 2339, + "src": "20294:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -61066,57 +61427,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2372, + "id": 2385, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20163:9:1", + "referencedDeclaration": 2354, + "src": "20306:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2373, + "id": 2386, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "20163:19:1", + "referencedDeclaration": 493, + "src": "20306:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20151:31:1", + "src": "20294:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2375, + "id": 2388, "nodeType": "ExpressionStatement", - "src": "20151:31:1" + "src": "20294:31:1" }, { "expression": { "argumentTypes": null, - "id": 2379, + "id": 2392, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2376, + "id": 2389, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2328, - "src": "20188:8:1", + "referencedDeclaration": 2341, + "src": "20331:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -61128,57 +61489,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2377, + "id": 2390, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20199:9:1", + "referencedDeclaration": 2354, + "src": "20342:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2378, + "id": 2391, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "20199:18:1", + "referencedDeclaration": 495, + "src": "20342:18:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "20188:29:1", + "src": "20331:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 2380, + "id": 2393, "nodeType": "ExpressionStatement", - "src": "20188:29:1" + "src": "20331:29:1" }, { "expression": { "argumentTypes": null, - "id": 2384, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2381, + "id": 2394, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2330, - "src": "20223:5:1", + "referencedDeclaration": 2343, + "src": "20366:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -61190,57 +61551,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2382, + "id": 2395, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20231:9:1", + "referencedDeclaration": 2354, + "src": "20374:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2383, + "id": 2396, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "20231:15:1", + "referencedDeclaration": 497, + "src": "20374:15:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "20223:23:1", + "src": "20366:23:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 2385, + "id": 2398, "nodeType": "ExpressionStatement", - "src": "20223:23:1" + "src": "20366:23:1" }, { "expression": { "argumentTypes": null, - "id": 2389, + "id": 2402, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2386, + "id": 2399, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2334, - "src": "20252:6:1", + "referencedDeclaration": 2347, + "src": "20395:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -61252,57 +61613,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2387, + "id": 2400, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20261:9:1", + "referencedDeclaration": 2354, + "src": "20404:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2388, + "id": 2401, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "20261:16:1", + "referencedDeclaration": 507, + "src": "20404:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "20252:25:1", + "src": "20395:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2390, + "id": 2403, "nodeType": "ExpressionStatement", - "src": "20252:25:1" + "src": "20395:25:1" }, { "expression": { "argumentTypes": null, - "id": 2394, + "id": 2407, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2391, + "id": 2404, "name": "buyer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2336, - "src": "20283:5:1", + "referencedDeclaration": 2349, + "src": "20426:5:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -61314,57 +61675,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2392, + "id": 2405, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20291:9:1", + "referencedDeclaration": 2354, + "src": "20434:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2393, + "id": 2406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "buyer", "nodeType": "MemberAccess", - "referencedDeclaration": 493, - "src": "20291:15:1", + "referencedDeclaration": 499, + "src": "20434:15:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "20283:23:1", + "src": "20426:23:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2395, + "id": 2408, "nodeType": "ExpressionStatement", - "src": "20283:23:1" + "src": "20426:23:1" }, { "expression": { "argumentTypes": null, - "id": 2399, + "id": 2412, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2396, + "id": 2409, "name": "buyRates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2338, - "src": "20312:8:1", + "referencedDeclaration": 2351, + "src": "20455:8:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -61376,57 +61737,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2397, + "id": 2410, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20323:9:1", + "referencedDeclaration": 2354, + "src": "20466:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2398, + "id": 2411, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "buyRates", "nodeType": "MemberAccess", - "referencedDeclaration": 495, - "src": "20323:18:1", + "referencedDeclaration": 501, + "src": "20466:18:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "20312:29:1", + "src": "20455:29:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 2400, + "id": 2413, "nodeType": "ExpressionStatement", - "src": "20312:29:1" + "src": "20455:29:1" }, { "expression": { "argumentTypes": null, - "id": 2406, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2401, + "id": 2414, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2332, - "src": "20347:7:1", + "referencedDeclaration": 2345, + "src": "20490:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61439,12 +61800,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2404, + "id": 2417, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2313, - "src": "20378:7:1", + "referencedDeclaration": 2326, + "src": "20521:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61460,18 +61821,18 @@ ], "expression": { "argumentTypes": null, - "id": 2402, + "id": 2415, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "20357:4:1", + "referencedDeclaration": 479, + "src": "20500:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2403, + "id": 2416, "isConstant": false, "isLValue": false, "isPure": false, @@ -61479,13 +61840,13 @@ "memberName": "getEthBalTeller", "nodeType": "MemberAccess", "referencedDeclaration": 375, - "src": "20357:20:1", + "src": "20500:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2405, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -61493,26 +61854,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20357:29:1", + "src": "20500:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20347:39:1", + "src": "20490:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2407, + "id": 2420, "nodeType": "ExpressionStatement", - "src": "20347:39:1" + "src": "20490:39:1" } ] }, "documentation": " GETTER", - "id": 2409, + "id": 2422, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -61520,16 +61881,16 @@ "name": "getTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2314, + "id": 2327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2313, + "id": 2326, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19661:15:1", + "scope": 2422, + "src": "19804:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61537,10 +61898,10 @@ "typeString": "address" }, "typeName": { - "id": 2312, + "id": 2325, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19661:7:1", + "src": "19804:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61550,20 +61911,20 @@ "visibility": "internal" } ], - "src": "19660:17:1" + "src": "19803:17:1" }, "payable": false, "returnParameters": { - "id": 2339, + "id": 2352, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2316, + "id": 2329, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19704:9:1", + "scope": 2422, + "src": "19847:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61571,10 +61932,10 @@ "typeString": "int32" }, "typeName": { - "id": 2315, + "id": 2328, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "19704:5:1", + "src": "19847:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -61585,11 +61946,11 @@ }, { "constant": false, - "id": 2318, + "id": 2331, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19719:9:1", + "scope": 2422, + "src": "19862:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61597,10 +61958,10 @@ "typeString": "int32" }, "typeName": { - "id": 2317, + "id": 2330, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "19719:5:1", + "src": "19862:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -61611,11 +61972,11 @@ }, { "constant": false, - "id": 2320, + "id": 2333, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19734:16:1", + "scope": 2422, + "src": "19877:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61623,10 +61984,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2319, + "id": 2332, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "19734:6:1", + "src": "19877:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -61637,11 +61998,11 @@ }, { "constant": false, - "id": 2322, + "id": 2335, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19756:18:1", + "scope": 2422, + "src": "19899:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61649,10 +62010,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2321, + "id": 2334, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "19756:7:1", + "src": "19899:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -61663,11 +62024,11 @@ }, { "constant": false, - "id": 2324, + "id": 2337, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19780:15:1", + "scope": 2422, + "src": "19923:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61675,10 +62036,10 @@ "typeString": "int8" }, "typeName": { - "id": 2323, + "id": 2336, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "19780:4:1", + "src": "19923:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -61689,11 +62050,11 @@ }, { "constant": false, - "id": 2326, + "id": 2339, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19801:17:1", + "scope": 2422, + "src": "19944:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61701,10 +62062,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2325, + "id": 2338, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "19801:7:1", + "src": "19944:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -61715,11 +62076,11 @@ }, { "constant": false, - "id": 2328, + "id": 2341, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19824:13:1", + "scope": 2422, + "src": "19967:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61727,10 +62088,10 @@ "typeString": "int8" }, "typeName": { - "id": 2327, + "id": 2340, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "19824:4:1", + "src": "19967:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -61741,11 +62102,11 @@ }, { "constant": false, - "id": 2330, + "id": 2343, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19843:11:1", + "scope": 2422, + "src": "19986:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61753,10 +62114,10 @@ "typeString": "int16" }, "typeName": { - "id": 2329, + "id": 2342, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "19843:5:1", + "src": "19986:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -61767,11 +62128,11 @@ }, { "constant": false, - "id": 2332, + "id": 2345, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19860:12:1", + "scope": 2422, + "src": "20003:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61779,10 +62140,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 2344, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19860:4:1", + "src": "20003:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61793,11 +62154,11 @@ }, { "constant": false, - "id": 2334, + "id": 2347, "name": "online", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19878:11:1", + "scope": 2422, + "src": "20021:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61805,10 +62166,10 @@ "typeString": "bool" }, "typeName": { - "id": 2333, + "id": 2346, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "19878:4:1", + "src": "20021:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -61819,11 +62180,11 @@ }, { "constant": false, - "id": 2336, + "id": 2349, "name": "buyer", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19895:10:1", + "scope": 2422, + "src": "20038:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61831,10 +62192,10 @@ "typeString": "bool" }, "typeName": { - "id": 2335, + "id": 2348, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "19895:4:1", + "src": "20038:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -61845,11 +62206,11 @@ }, { "constant": false, - "id": 2338, + "id": 2351, "name": "buyRates", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19911:14:1", + "scope": 2422, + "src": "20054:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61857,10 +62218,10 @@ "typeString": "int16" }, "typeName": { - "id": 2337, + "id": 2350, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "19911:5:1", + "src": "20054:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -61870,47 +62231,47 @@ "visibility": "internal" } ], - "src": "19698:233:1" + "src": "19841:233:1" }, - "scope": 2659, - "src": "19642:749:1", + "scope": 2672, + "src": "19785:749:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2476, + "id": 2489, "nodeType": "Block", - "src": "20681:282:1", + "src": "20824:282:1", "statements": [ { "assignments": [ - 2431 + 2444 ], "declarations": [ { "constant": false, - "id": 2431, + "id": 2444, "name": "theShop", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20687:20:1", + "scope": 2490, + "src": "20830:20:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" }, "typeName": { "contractScope": null, - "id": 2430, + "id": 2443, "name": "Shop", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 564, - "src": "20687:4:1", + "referencedDeclaration": 570, + "src": "20830:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" } }, @@ -61918,31 +62279,31 @@ "visibility": "internal" } ], - "id": 2435, + "id": 2448, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2432, + "id": 2445, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "20710:4:1", + "referencedDeclaration": 574, + "src": "20853:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2434, + "id": 2447, "indexExpression": { "argumentTypes": null, - "id": 2433, + "id": 2446, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2411, - "src": "20715:5:1", + "referencedDeclaration": 2424, + "src": "20858:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61953,31 +62314,31 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "20710:11:1", + "src": "20853:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "20687:34:1" + "src": "20830:34:1" }, { "expression": { "argumentTypes": null, - "id": 2439, + "id": 2452, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2436, + "id": 2449, "name": "lat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2414, - "src": "20727:3:1", + "referencedDeclaration": 2427, + "src": "20870:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -61989,57 +62350,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2437, + "id": 2450, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20733:7:1", + "referencedDeclaration": 2444, + "src": "20876:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2438, + "id": 2451, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "20733:11:1", + "referencedDeclaration": 549, + "src": "20876:11:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20727:17:1", + "src": "20870:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2440, + "id": 2453, "nodeType": "ExpressionStatement", - "src": "20727:17:1" + "src": "20870:17:1" }, { "expression": { "argumentTypes": null, - "id": 2444, + "id": 2457, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2441, + "id": 2454, "name": "lng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2416, - "src": "20750:3:1", + "referencedDeclaration": 2429, + "src": "20893:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -62051,57 +62412,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2442, + "id": 2455, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20756:7:1", + "referencedDeclaration": 2444, + "src": "20899:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2443, + "id": 2456, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "20756:11:1", + "referencedDeclaration": 551, + "src": "20899:11:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20750:17:1", + "src": "20893:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2445, + "id": 2458, "nodeType": "ExpressionStatement", - "src": "20750:17:1" + "src": "20893:17:1" }, { "expression": { "argumentTypes": null, - "id": 2449, + "id": 2462, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2446, + "id": 2459, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2418, - "src": "20773:9:1", + "referencedDeclaration": 2431, + "src": "20916:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -62113,57 +62474,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2447, + "id": 2460, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20785:7:1", + "referencedDeclaration": 2444, + "src": "20928:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2448, + "id": 2461, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "20785:17:1", + "referencedDeclaration": 553, + "src": "20928:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "20773:29:1", + "src": "20916:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 2450, + "id": 2463, "nodeType": "ExpressionStatement", - "src": "20773:29:1" + "src": "20916:29:1" }, { "expression": { "argumentTypes": null, - "id": 2454, + "id": 2467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2451, + "id": 2464, "name": "postalCode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2420, - "src": "20808:10:1", + "referencedDeclaration": 2433, + "src": "20951:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62175,57 +62536,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2452, + "id": 2465, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20821:7:1", + "referencedDeclaration": 2444, + "src": "20964:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2453, + "id": 2466, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "20821:18:1", + "referencedDeclaration": 555, + "src": "20964:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20808:31:1", + "src": "20951:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2455, + "id": 2468, "nodeType": "ExpressionStatement", - "src": "20808:31:1" + "src": "20951:31:1" }, { "expression": { "argumentTypes": null, - "id": 2459, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2456, + "id": 2469, "name": "cat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2422, - "src": "20845:3:1", + "referencedDeclaration": 2435, + "src": "20988:3:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62237,57 +62598,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2457, + "id": 2470, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20851:7:1", + "referencedDeclaration": 2444, + "src": "20994:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2458, + "id": 2471, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "20851:11:1", + "referencedDeclaration": 557, + "src": "20994:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20845:17:1", + "src": "20988:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2460, + "id": 2473, "nodeType": "ExpressionStatement", - "src": "20845:17:1" + "src": "20988:17:1" }, { "expression": { "argumentTypes": null, - "id": 2464, + "id": 2477, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2461, + "id": 2474, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2424, - "src": "20868:4:1", + "referencedDeclaration": 2437, + "src": "21011:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62299,57 +62660,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2462, + "id": 2475, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20875:7:1", + "referencedDeclaration": 2444, + "src": "21018:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2463, + "id": 2476, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "20875:12:1", + "referencedDeclaration": 559, + "src": "21018:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20868:19:1", + "src": "21011:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2465, + "id": 2478, "nodeType": "ExpressionStatement", - "src": "20868:19:1" + "src": "21011:19:1" }, { "expression": { "argumentTypes": null, - "id": 2469, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2466, + "id": 2479, "name": "description", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2426, - "src": "20893:11:1", + "referencedDeclaration": 2439, + "src": "21036:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -62361,57 +62722,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2467, + "id": 2480, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20907:7:1", + "referencedDeclaration": 2444, + "src": "21050:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2468, + "id": 2481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "20907:19:1", + "referencedDeclaration": 561, + "src": "21050:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "20893:33:1", + "src": "21036:33:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 2470, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "20893:33:1" + "src": "21036:33:1" }, { "expression": { "argumentTypes": null, - "id": 2474, + "id": 2487, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2471, + "id": 2484, "name": "opening", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2428, - "src": "20932:7:1", + "referencedDeclaration": 2441, + "src": "21075:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62423,45 +62784,45 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2472, + "id": 2485, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20942:7:1", + "referencedDeclaration": 2444, + "src": "21085:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2473, + "id": 2486, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "20942:15:1", + "referencedDeclaration": 563, + "src": "21085:15:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20932:25:1", + "src": "21075:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2475, + "id": 2488, "nodeType": "ExpressionStatement", - "src": "20932:25:1" + "src": "21075:25:1" } ] }, "documentation": null, - "id": 2477, + "id": 2490, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -62469,16 +62830,16 @@ "name": "getShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2412, + "id": 2425, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2411, + "id": 2424, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20491:13:1", + "scope": 2490, + "src": "20634:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62486,10 +62847,10 @@ "typeString": "address" }, "typeName": { - "id": 2410, + "id": 2423, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20491:7:1", + "src": "20634:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -62499,20 +62860,20 @@ "visibility": "internal" } ], - "src": "20490:15:1" + "src": "20633:15:1" }, "payable": false, "returnParameters": { - "id": 2429, + "id": 2442, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2414, + "id": 2427, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20531:9:1", + "scope": 2490, + "src": "20674:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62520,10 +62881,10 @@ "typeString": "int32" }, "typeName": { - "id": 2413, + "id": 2426, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "20531:5:1", + "src": "20674:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -62534,11 +62895,11 @@ }, { "constant": false, - "id": 2416, + "id": 2429, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20545:9:1", + "scope": 2490, + "src": "20688:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62546,10 +62907,10 @@ "typeString": "int32" }, "typeName": { - "id": 2415, + "id": 2428, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "20545:5:1", + "src": "20688:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -62560,11 +62921,11 @@ }, { "constant": false, - "id": 2418, + "id": 2431, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20559:16:1", + "scope": 2490, + "src": "20702:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62572,10 +62933,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2417, + "id": 2430, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "20559:6:1", + "src": "20702:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -62586,11 +62947,11 @@ }, { "constant": false, - "id": 2420, + "id": 2433, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20580:18:1", + "scope": 2490, + "src": "20723:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62598,10 +62959,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2419, + "id": 2432, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20580:7:1", + "src": "20723:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62612,11 +62973,11 @@ }, { "constant": false, - "id": 2422, + "id": 2435, "name": "cat", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20603:11:1", + "scope": 2490, + "src": "20746:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62624,10 +62985,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2421, + "id": 2434, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20603:7:1", + "src": "20746:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62638,11 +62999,11 @@ }, { "constant": false, - "id": 2424, + "id": 2437, "name": "name", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20619:12:1", + "scope": 2490, + "src": "20762:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62650,10 +63011,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2423, + "id": 2436, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20619:7:1", + "src": "20762:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62664,11 +63025,11 @@ }, { "constant": false, - "id": 2426, + "id": 2439, "name": "description", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20636:19:1", + "scope": 2490, + "src": "20779:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62676,10 +63037,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2425, + "id": 2438, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "20636:7:1", + "src": "20779:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -62690,11 +63051,11 @@ }, { "constant": false, - "id": 2428, + "id": 2441, "name": "opening", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20660:15:1", + "scope": 2490, + "src": "20803:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62702,10 +63063,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2427, + "id": 2440, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20660:7:1", + "src": "20803:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62715,36 +63076,36 @@ "visibility": "internal" } ], - "src": "20526:154:1" + "src": "20669:154:1" }, - "scope": 2659, - "src": "20474:489:1", + "scope": 2672, + "src": "20617:489:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2514, + "id": 2527, "nodeType": "Block", - "src": "21169:161:1", + "src": "21312:161:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2494, + "id": 2507, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2490, + "id": 2503, "name": "buyVolume", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2482, - "src": "21176:9:1", + "referencedDeclaration": 2495, + "src": "21319:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62756,26 +63117,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2491, + "id": 2504, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "21188:9:1", + "referencedDeclaration": 518, + "src": "21331:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2493, + "id": 2506, "indexExpression": { "argumentTypes": null, - "id": 2492, + "id": 2505, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21198:7:1", + "referencedDeclaration": 2492, + "src": "21341:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -62786,38 +63147,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21188:18:1", + "src": "21331:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21176:30:1", + "src": "21319:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2495, + "id": 2508, "nodeType": "ExpressionStatement", - "src": "21176:30:1" + "src": "21319:30:1" }, { "expression": { "argumentTypes": null, - "id": 2500, + "id": 2513, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2496, + "id": 2509, "name": "sellVolume", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2484, - "src": "21213:10:1", + "referencedDeclaration": 2497, + "src": "21356:10:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62829,26 +63190,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2497, + "id": 2510, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "21226:10:1", + "referencedDeclaration": 522, + "src": "21369:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2499, + "id": 2512, "indexExpression": { "argumentTypes": null, - "id": 2498, + "id": 2511, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21237:7:1", + "referencedDeclaration": 2492, + "src": "21380:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -62859,38 +63220,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21226:19:1", + "src": "21369:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21213:32:1", + "src": "21356:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2501, + "id": 2514, "nodeType": "ExpressionStatement", - "src": "21213:32:1" + "src": "21356:32:1" }, { "expression": { "argumentTypes": null, - "id": 2506, + "id": 2519, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2502, + "id": 2515, "name": "numTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2486, - "src": "21252:8:1", + "referencedDeclaration": 2499, + "src": "21395:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62902,26 +63263,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2503, + "id": 2516, "name": "nbTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "21263:7:1", + "referencedDeclaration": 526, + "src": "21406:7:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2505, + "id": 2518, "indexExpression": { "argumentTypes": null, - "id": 2504, + "id": 2517, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21271:7:1", + "referencedDeclaration": 2492, + "src": "21414:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -62932,38 +63293,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21263:16:1", + "src": "21406:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21252:27:1", + "src": "21395:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2507, + "id": 2520, "nodeType": "ExpressionStatement", - "src": "21252:27:1" + "src": "21395:27:1" }, { "expression": { "argumentTypes": null, - "id": 2512, + "id": 2525, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2508, + "id": 2521, "name": "loyaltyPoints_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2488, - "src": "21286:14:1", + "referencedDeclaration": 2501, + "src": "21429:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62975,26 +63336,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2509, + "id": 2522, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "21303:13:1", + "referencedDeclaration": 530, + "src": "21446:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2511, + "id": 2524, "indexExpression": { "argumentTypes": null, - "id": 2510, + "id": 2523, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21317:7:1", + "referencedDeclaration": 2492, + "src": "21460:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63005,26 +63366,26 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21303:22:1", + "src": "21446:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21286:39:1", + "src": "21429:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2526, "nodeType": "ExpressionStatement", - "src": "21286:39:1" + "src": "21429:39:1" } ] }, "documentation": null, - "id": 2515, + "id": 2528, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -63032,16 +63393,16 @@ "name": "getReput", "nodeType": "FunctionDefinition", "parameters": { - "id": 2480, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2479, + "id": 2492, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21042:15:1", + "scope": 2528, + "src": "21185:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63049,10 +63410,10 @@ "typeString": "address" }, "typeName": { - "id": 2478, + "id": 2491, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21042:7:1", + "src": "21185:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63062,20 +63423,20 @@ "visibility": "internal" } ], - "src": "21041:17:1" + "src": "21184:17:1" }, "payable": false, "returnParameters": { - "id": 2489, + "id": 2502, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2482, + "id": 2495, "name": "buyVolume", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21084:14:1", + "scope": 2528, + "src": "21227:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63083,10 +63444,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2481, + "id": 2494, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21084:4:1", + "src": "21227:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -63097,11 +63458,11 @@ }, { "constant": false, - "id": 2484, + "id": 2497, "name": "sellVolume", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21103:15:1", + "scope": 2528, + "src": "21246:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63109,10 +63470,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2483, + "id": 2496, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21103:4:1", + "src": "21246:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -63123,11 +63484,11 @@ }, { "constant": false, - "id": 2486, + "id": 2499, "name": "numTrade", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21123:13:1", + "scope": 2528, + "src": "21266:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63135,10 +63496,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2485, + "id": 2498, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21123:4:1", + "src": "21266:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -63149,11 +63510,11 @@ }, { "constant": false, - "id": 2488, + "id": 2501, "name": "loyaltyPoints_", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21141:22:1", + "scope": 2528, + "src": "21284:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63161,10 +63522,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2487, + "id": 2500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "21141:7:1", + "src": "21284:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -63174,19 +63535,19 @@ "visibility": "internal" } ], - "src": "21079:89:1" + "src": "21222:89:1" }, - "scope": 2659, - "src": "21024:306:1", + "scope": 2672, + "src": "21167:306:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2527, + "id": 2540, "nodeType": "Block", - "src": "21447:47:1", + "src": "21590:47:1", "statements": [ { "expression": { @@ -63194,12 +63555,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2524, + "id": 2537, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "21481:7:1", + "referencedDeclaration": 2530, + "src": "21624:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63215,18 +63576,18 @@ ], "expression": { "argumentTypes": null, - "id": 2522, + "id": 2535, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "21460:4:1", + "referencedDeclaration": 479, + "src": "21603:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2523, + "id": 2536, "isConstant": false, "isLValue": false, "isPure": false, @@ -63234,13 +63595,13 @@ "memberName": "getEthBalTeller", "nodeType": "MemberAccess", "referencedDeclaration": 375, - "src": "21460:20:1", + "src": "21603:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2525, + "id": 2538, "isConstant": false, "isLValue": false, "isPure": false, @@ -63248,21 +63609,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21460:29:1", + "src": "21603:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2521, - "id": 2526, + "functionReturnParameters": 2534, + "id": 2539, "nodeType": "Return", - "src": "21453:36:1" + "src": "21596:36:1" } ] }, "documentation": null, - "id": 2528, + "id": 2541, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -63270,16 +63631,16 @@ "name": "getTellerBalance", "nodeType": "FunctionDefinition", "parameters": { - "id": 2518, + "id": 2531, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2517, + "id": 2530, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2528, - "src": "21403:15:1", + "scope": 2541, + "src": "21546:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63287,10 +63648,10 @@ "typeString": "address" }, "typeName": { - "id": 2516, + "id": 2529, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21403:7:1", + "src": "21546:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63300,20 +63661,20 @@ "visibility": "internal" } ], - "src": "21402:17:1" + "src": "21545:17:1" }, "payable": false, "returnParameters": { - "id": 2521, + "id": 2534, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2520, + "id": 2533, "name": "", "nodeType": "VariableDeclaration", - "scope": 2528, - "src": "21441:4:1", + "scope": 2541, + "src": "21584:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63321,10 +63682,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2519, + "id": 2532, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21441:4:1", + "src": "21584:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -63334,19 +63695,19 @@ "visibility": "internal" } ], - "src": "21440:6:1" + "src": "21583:6:1" }, - "scope": 2659, - "src": "21377:117:1", + "scope": 2672, + "src": "21520:117:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2544, + "id": 2557, "nodeType": "Block", - "src": "21696:52:1", + "src": "21839:52:1", "statements": [ { "expression": { @@ -63355,26 +63716,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2538, + "id": 2551, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "21710:10:1", + "referencedDeclaration": 581, + "src": "21853:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2540, + "id": 2553, "indexExpression": { "argumentTypes": null, - "id": 2539, + "id": 2552, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2530, - "src": "21721:8:1", + "referencedDeclaration": 2543, + "src": "21864:8:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -63385,21 +63746,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21710:20:1", + "src": "21853:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2542, + "id": 2555, "indexExpression": { "argumentTypes": null, - "id": 2541, + "id": 2554, "name": "_postalcode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2532, - "src": "21731:11:1", + "referencedDeclaration": 2545, + "src": "21874:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -63410,21 +63771,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21710:33:1", + "src": "21853:33:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2537, - "id": 2543, + "functionReturnParameters": 2550, + "id": 2556, "nodeType": "Return", - "src": "21703:40:1" + "src": "21846:40:1" } ] }, "documentation": null, - "id": 2545, + "id": 2558, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -63432,16 +63793,16 @@ "name": "getZoneShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2533, + "id": 2546, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2530, + "id": 2543, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21626:15:1", + "scope": 2558, + "src": "21769:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63449,10 +63810,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2529, + "id": 2542, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "21626:6:1", + "src": "21769:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -63463,11 +63824,11 @@ }, { "constant": false, - "id": 2532, + "id": 2545, "name": "_postalcode", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21643:19:1", + "scope": 2558, + "src": "21786:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63475,10 +63836,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2531, + "id": 2544, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "21643:7:1", + "src": "21786:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -63488,20 +63849,20 @@ "visibility": "internal" } ], - "src": "21625:38:1" + "src": "21768:38:1" }, "payable": false, "returnParameters": { - "id": 2537, + "id": 2550, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2536, + "id": 2549, "name": "", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21685:9:1", + "scope": 2558, + "src": "21828:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63510,19 +63871,19 @@ }, "typeName": { "baseType": { - "id": 2534, + "id": 2547, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21685:7:1", + "src": "21828:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2535, + "id": 2548, "length": null, "nodeType": "ArrayTypeName", - "src": "21685:9:1", + "src": "21828:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -63532,43 +63893,43 @@ "visibility": "internal" } ], - "src": "21684:11:1" + "src": "21827:11:1" }, - "scope": 2659, - "src": "21605:143:1", + "scope": 2672, + "src": "21748:143:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2553, + "id": 2566, "nodeType": "Block", - "src": "21848:26:1", + "src": "21991:26:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2551, + "id": 2564, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "21860:9:1", + "referencedDeclaration": 584, + "src": "22003:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2550, - "id": 2552, + "functionReturnParameters": 2563, + "id": 2565, "nodeType": "Return", - "src": "21853:16:1" + "src": "21996:16:1" } ] }, "documentation": null, - "id": 2554, + "id": 2567, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -63576,23 +63937,23 @@ "name": "getAllShops", "nodeType": "FunctionDefinition", "parameters": { - "id": 2546, + "id": 2559, "nodeType": "ParameterList", "parameters": [], - "src": "21813:2:1" + "src": "21956:2:1" }, "payable": false, "returnParameters": { - "id": 2550, + "id": 2563, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2549, + "id": 2562, "name": "", "nodeType": "VariableDeclaration", - "scope": 2554, - "src": "21837:9:1", + "scope": 2567, + "src": "21980:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63601,19 +63962,19 @@ }, "typeName": { "baseType": { - "id": 2547, + "id": 2560, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21837:7:1", + "src": "21980:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2548, + "id": 2561, "length": null, "nodeType": "ArrayTypeName", - "src": "21837:9:1", + "src": "21980:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -63623,19 +63984,19 @@ "visibility": "internal" } ], - "src": "21836:11:1" + "src": "21979:11:1" }, - "scope": 2659, - "src": "21793:81:1", + "scope": 2672, + "src": "21936:81:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2571, + "id": 2584, "nodeType": "Block", - "src": "21936:55:1", + "src": "22079:55:1", "statements": [ { "expression": { @@ -63647,7 +64008,7 @@ "typeIdentifier": "t_bytes2", "typeString": "bytes2" }, - "id": 2568, + "id": 2581, "isConstant": false, "isLValue": false, "isPure": false, @@ -63658,26 +64019,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2561, + "id": 2574, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "21949:4:1", + "referencedDeclaration": 574, + "src": "22092:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2563, + "id": 2576, "indexExpression": { "argumentTypes": null, - "id": 2562, + "id": 2575, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "21954:5:1", + "referencedDeclaration": 2569, + "src": "22097:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63688,21 +64049,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21949:11:1", + "src": "22092:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2564, + "id": 2577, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "21949:21:1", + "referencedDeclaration": 553, + "src": "22092:21:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -63716,14 +64077,14 @@ { "argumentTypes": null, "hexValue": "307830", - "id": 2566, + "id": 2579, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21981:3:1", + "src": "22124:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -63739,20 +64100,20 @@ "typeString": "int_const 0" } ], - "id": 2565, + "id": 2578, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "21974:6:1", + "src": "22117:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes2_$", "typeString": "type(bytes2)" }, "typeName": "bytes2" }, - "id": 2567, + "id": 2580, "isConstant": false, "isLValue": false, "isPure": true, @@ -63760,41 +64121,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21974:11:1", + "src": "22117:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "21949:36:1", + "src": "22092:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2569, + "id": 2582, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "21948:38:1", + "src": "22091:38:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2560, - "id": 2570, + "functionReturnParameters": 2573, + "id": 2583, "nodeType": "Return", - "src": "21941:45:1" + "src": "22084:45:1" } ] }, "documentation": null, - "id": 2572, + "id": 2585, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -63802,16 +64163,16 @@ "name": "isShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2557, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2556, + "id": 2569, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "21894:13:1", + "scope": 2585, + "src": "22037:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63819,10 +64180,10 @@ "typeString": "address" }, "typeName": { - "id": 2555, + "id": 2568, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21894:7:1", + "src": "22037:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63832,20 +64193,20 @@ "visibility": "internal" } ], - "src": "21893:15:1" + "src": "22036:15:1" }, "payable": false, "returnParameters": { - "id": 2560, + "id": 2573, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2559, + "id": 2572, "name": "", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "21930:4:1", + "scope": 2585, + "src": "22073:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63853,10 +64214,10 @@ "typeString": "bool" }, "typeName": { - "id": 2558, + "id": 2571, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "21930:4:1", + "src": "22073:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63866,19 +64227,19 @@ "visibility": "internal" } ], - "src": "21929:7:1" + "src": "22072:7:1" }, - "scope": 2659, - "src": "21878:113:1", + "scope": 2672, + "src": "22021:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2588, + "id": 2601, "nodeType": "Block", - "src": "22197:54:1", + "src": "22340:54:1", "statements": [ { "expression": { @@ -63887,26 +64248,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2582, + "id": 2595, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "22211:12:1", + "referencedDeclaration": 541, + "src": "22354:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2584, + "id": 2597, "indexExpression": { "argumentTypes": null, - "id": 2583, + "id": 2596, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2574, - "src": "22224:8:1", + "referencedDeclaration": 2587, + "src": "22367:8:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -63917,21 +64278,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22211:22:1", + "src": "22354:22:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2586, + "id": 2599, "indexExpression": { "argumentTypes": null, - "id": 2585, + "id": 2598, "name": "_postalcode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2576, - "src": "22234:11:1", + "referencedDeclaration": 2589, + "src": "22377:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -63942,21 +64303,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22211:35:1", + "src": "22354:35:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2581, - "id": 2587, + "functionReturnParameters": 2594, + "id": 2600, "nodeType": "Return", - "src": "22204:42:1" + "src": "22347:42:1" } ] }, "documentation": null, - "id": 2589, + "id": 2602, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -63964,16 +64325,16 @@ "name": "getZoneTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2577, + "id": 2590, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2574, + "id": 2587, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22127:15:1", + "scope": 2602, + "src": "22270:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63981,10 +64342,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2573, + "id": 2586, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "22127:6:1", + "src": "22270:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -63995,11 +64356,11 @@ }, { "constant": false, - "id": 2576, + "id": 2589, "name": "_postalcode", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22144:19:1", + "scope": 2602, + "src": "22287:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64007,10 +64368,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2575, + "id": 2588, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "22144:7:1", + "src": "22287:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -64020,20 +64381,20 @@ "visibility": "internal" } ], - "src": "22126:38:1" + "src": "22269:38:1" }, "payable": false, "returnParameters": { - "id": 2581, + "id": 2594, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2580, + "id": 2593, "name": "", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22186:9:1", + "scope": 2602, + "src": "22329:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64042,19 +64403,19 @@ }, "typeName": { "baseType": { - "id": 2578, + "id": 2591, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22186:7:1", + "src": "22329:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2579, + "id": 2592, "length": null, "nodeType": "ArrayTypeName", - "src": "22186:9:1", + "src": "22329:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -64064,43 +64425,43 @@ "visibility": "internal" } ], - "src": "22185:11:1" + "src": "22328:11:1" }, - "scope": 2659, - "src": "22104:147:1", + "scope": 2672, + "src": "22247:147:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2597, + "id": 2610, "nodeType": "Block", - "src": "22355:28:1", + "src": "22498:28:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2595, + "id": 2608, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "22367:11:1", + "referencedDeclaration": 544, + "src": "22510:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2594, - "id": 2596, + "functionReturnParameters": 2607, + "id": 2609, "nodeType": "Return", - "src": "22360:18:1" + "src": "22503:18:1" } ] }, "documentation": null, - "id": 2598, + "id": 2611, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -64108,23 +64469,23 @@ "name": "getAllTellers", "nodeType": "FunctionDefinition", "parameters": { - "id": 2590, + "id": 2603, "nodeType": "ParameterList", "parameters": [], - "src": "22320:2:1" + "src": "22463:2:1" }, "payable": false, "returnParameters": { - "id": 2594, + "id": 2607, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2593, + "id": 2606, "name": "", "nodeType": "VariableDeclaration", - "scope": 2598, - "src": "22344:9:1", + "scope": 2611, + "src": "22487:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64133,19 +64494,19 @@ }, "typeName": { "baseType": { - "id": 2591, + "id": 2604, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22344:7:1", + "src": "22487:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2592, + "id": 2605, "length": null, "nodeType": "ArrayTypeName", - "src": "22344:9:1", + "src": "22487:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -64155,19 +64516,19 @@ "visibility": "internal" } ], - "src": "22343:11:1" + "src": "22486:11:1" }, - "scope": 2659, - "src": "22298:85:1", + "scope": 2672, + "src": "22441:85:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2615, + "id": 2628, "nodeType": "Block", - "src": "22478:60:1", + "src": "22621:60:1", "statements": [ { "expression": { @@ -64179,7 +64540,7 @@ "typeIdentifier": "t_bytes2", "typeString": "bytes2" }, - "id": 2612, + "id": 2625, "isConstant": false, "isLValue": false, "isPure": false, @@ -64190,26 +64551,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2605, + "id": 2618, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "22492:6:1", + "referencedDeclaration": 534, + "src": "22635:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 2607, + "id": 2620, "indexExpression": { "argumentTypes": null, - "id": 2606, + "id": 2619, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "22499:7:1", + "referencedDeclaration": 2613, + "src": "22642:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64220,21 +64581,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22492:15:1", + "src": "22635:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 2608, + "id": 2621, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "22492:25:1", + "referencedDeclaration": 487, + "src": "22635:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -64248,14 +64609,14 @@ { "argumentTypes": null, "hexValue": "307830", - "id": 2610, + "id": 2623, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "22528:3:1", + "src": "22671:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -64271,20 +64632,20 @@ "typeString": "int_const 0" } ], - "id": 2609, + "id": 2622, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22521:6:1", + "src": "22664:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes2_$", "typeString": "type(bytes2)" }, "typeName": "bytes2" }, - "id": 2611, + "id": 2624, "isConstant": false, "isLValue": false, "isPure": true, @@ -64292,41 +64653,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22521:11:1", + "src": "22664:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "22492:40:1", + "src": "22635:40:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2613, + "id": 2626, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "22491:42:1", + "src": "22634:42:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2604, - "id": 2614, + "functionReturnParameters": 2617, + "id": 2627, "nodeType": "Return", - "src": "22484:49:1" + "src": "22627:49:1" } ] }, "documentation": null, - "id": 2616, + "id": 2629, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -64334,16 +64695,16 @@ "name": "isTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2601, + "id": 2614, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2600, + "id": 2613, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2616, - "src": "22434:15:1", + "scope": 2629, + "src": "22577:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64351,10 +64712,10 @@ "typeString": "address" }, "typeName": { - "id": 2599, + "id": 2612, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22434:7:1", + "src": "22577:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64364,20 +64725,20 @@ "visibility": "internal" } ], - "src": "22433:17:1" + "src": "22576:17:1" }, "payable": false, "returnParameters": { - "id": 2604, + "id": 2617, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2603, + "id": 2616, "name": "", "nodeType": "VariableDeclaration", - "scope": 2616, - "src": "22472:4:1", + "scope": 2629, + "src": "22615:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64385,10 +64746,10 @@ "typeString": "bool" }, "typeName": { - "id": 2602, + "id": 2615, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22472:4:1", + "src": "22615:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -64398,19 +64759,19 @@ "visibility": "internal" } ], - "src": "22471:7:1" + "src": "22614:7:1" }, - "scope": 2659, - "src": "22416:122:1", + "scope": 2672, + "src": "22559:122:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2628, + "id": 2641, "nodeType": "Block", - "src": "22685:40:1", + "src": "22828:40:1", "statements": [ { "expression": { @@ -64418,12 +64779,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2625, + "id": 2638, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2618, - "src": "22714:5:1", + "referencedDeclaration": 2631, + "src": "22857:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64439,18 +64800,18 @@ ], "expression": { "argumentTypes": null, - "id": 2623, + "id": 2636, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "22698:4:1", + "referencedDeclaration": 479, + "src": "22841:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2624, + "id": 2637, "isConstant": false, "isLValue": false, "isPure": false, @@ -64458,13 +64819,13 @@ "memberName": "getDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 368, - "src": "22698:15:1", + "src": "22841:15:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2626, + "id": 2639, "isConstant": false, "isLValue": false, "isPure": false, @@ -64472,21 +64833,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22698:22:1", + "src": "22841:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2622, - "id": 2627, + "functionReturnParameters": 2635, + "id": 2640, "nodeType": "Return", - "src": "22691:29:1" + "src": "22834:29:1" } ] }, "documentation": null, - "id": 2629, + "id": 2642, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -64494,16 +64855,16 @@ "name": "getStakedShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2619, + "id": 2632, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2618, + "id": 2631, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2629, - "src": "22643:13:1", + "scope": 2642, + "src": "22786:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64511,10 +64872,10 @@ "typeString": "address" }, "typeName": { - "id": 2617, + "id": 2630, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22643:7:1", + "src": "22786:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64524,20 +64885,20 @@ "visibility": "internal" } ], - "src": "22642:15:1" + "src": "22785:15:1" }, "payable": false, "returnParameters": { - "id": 2622, + "id": 2635, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2621, + "id": 2634, "name": "", "nodeType": "VariableDeclaration", - "scope": 2629, - "src": "22679:4:1", + "scope": 2642, + "src": "22822:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64545,10 +64906,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2620, + "id": 2633, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22679:4:1", + "src": "22822:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64558,19 +64919,19 @@ "visibility": "internal" } ], - "src": "22678:6:1" + "src": "22821:6:1" }, - "scope": 2659, - "src": "22620:105:1", + "scope": 2672, + "src": "22763:105:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2641, + "id": 2654, "nodeType": "Block", - "src": "22855:44:1", + "src": "22998:44:1", "statements": [ { "expression": { @@ -64578,12 +64939,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2638, + "id": 2651, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "22886:7:1", + "referencedDeclaration": 2644, + "src": "23029:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64599,18 +64960,18 @@ ], "expression": { "argumentTypes": null, - "id": 2636, + "id": 2649, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "22868:4:1", + "referencedDeclaration": 479, + "src": "23011:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2637, + "id": 2650, "isConstant": false, "isLValue": false, "isPure": false, @@ -64618,13 +64979,13 @@ "memberName": "getDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 361, - "src": "22868:17:1", + "src": "23011:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2639, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": false, @@ -64632,21 +64993,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22868:26:1", + "src": "23011:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2635, - "id": 2640, + "functionReturnParameters": 2648, + "id": 2653, "nodeType": "Return", - "src": "22861:33:1" + "src": "23004:33:1" } ] }, "documentation": null, - "id": 2642, + "id": 2655, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -64654,16 +65015,16 @@ "name": "getStakedTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2632, + "id": 2645, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2631, + "id": 2644, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2642, - "src": "22811:15:1", + "scope": 2655, + "src": "22954:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64671,10 +65032,10 @@ "typeString": "address" }, "typeName": { - "id": 2630, + "id": 2643, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22811:7:1", + "src": "22954:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64684,20 +65045,20 @@ "visibility": "internal" } ], - "src": "22810:17:1" + "src": "22953:17:1" }, "payable": false, "returnParameters": { - "id": 2635, + "id": 2648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2647, "name": "", "nodeType": "VariableDeclaration", - "scope": 2642, - "src": "22849:4:1", + "scope": 2655, + "src": "22992:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64705,10 +65066,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2633, + "id": 2646, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22849:4:1", + "src": "22992:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -64718,19 +65079,19 @@ "visibility": "internal" } ], - "src": "22848:6:1" + "src": "22991:6:1" }, - "scope": 2659, - "src": "22786:113:1", + "scope": 2672, + "src": "22929:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2657, + "id": 2670, "nodeType": "Block", - "src": "23025:48:1", + "src": "23168:48:1", "statements": [ { "expression": { @@ -64738,12 +65099,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2654, + "id": 2667, "name": "_newbankowner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2644, - "src": "23054:13:1", + "referencedDeclaration": 2657, + "src": "23197:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64759,18 +65120,18 @@ ], "expression": { "argumentTypes": null, - "id": 2651, + "id": 2664, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "23031:4:1", + "referencedDeclaration": 479, + "src": "23174:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2653, + "id": 2666, "isConstant": false, "isLValue": false, "isPure": false, @@ -64778,13 +65139,13 @@ "memberName": "transferOwnership", "nodeType": "MemberAccess", "referencedDeclaration": 387, - "src": "23031:22:1", + "src": "23174:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2655, + "id": 2668, "isConstant": false, "isLValue": false, "isPure": false, @@ -64792,76 +65153,76 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23031:37:1", + "src": "23174:37:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2656, + "id": 2669, "nodeType": "ExpressionStatement", - "src": "23031:37:1" + "src": "23174:37:1" } ] }, "documentation": null, - "id": 2658, + "id": 2671, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2647, + "id": 2660, "modifierName": { "argumentTypes": null, - "id": 2646, + "id": 2659, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 35, - "src": "23006:7:1", + "src": "23149:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "23006:7:1" + "src": "23149:7:1" }, { "arguments": null, - "id": 2649, + "id": 2662, "modifierName": { "argumentTypes": null, - "id": 2648, + "id": 2661, "name": "whenPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 261, - "src": "23014:10:1", + "src": "23157:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "23014:10:1" + "src": "23157:10:1" } ], "name": "transferBankOwnership", "nodeType": "FunctionDefinition", "parameters": { - "id": 2645, + "id": 2658, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2644, + "id": 2657, "name": "_newbankowner", "nodeType": "VariableDeclaration", - "scope": 2658, - "src": "22974:21:1", + "scope": 2671, + "src": "23117:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -64869,10 +65230,10 @@ "typeString": "address" }, "typeName": { - "id": 2643, + "id": 2656, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22974:7:1", + "src": "23117:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -64882,27 +65243,27 @@ "visibility": "internal" } ], - "src": "22973:23:1" + "src": "23116:23:1" }, "payable": false, "returnParameters": { - "id": 2650, + "id": 2663, "nodeType": "ParameterList", "parameters": [], - "src": "23025:0:1" + "src": "23168:0:1" }, - "scope": 2659, - "src": "22943:130:1", + "scope": 2672, + "src": "23086:130:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], - "scope": 2660, - "src": "1272:21803:1" + "scope": 2673, + "src": "1272:21946:1" } ], - "src": "0:23076:1" + "src": "0:23219:1" }, "compiler": { "name": "solc", @@ -64912,7 +65273,8 @@ "1": { "events": {}, "links": {}, - "address": "0x72c1f8e060e269827571011c5aed4a611b06a593" + "address": "0x876617584678d5b9a6ef93eba92b408367d9457c", + "transactionHash": "0x85a3f2602ba89bf9e5033fc0daccbdca83afb2e5af898a03ad77c4b40f08c134" }, "3": { "events": {}, @@ -64956,5 +65318,5 @@ } }, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T16:32:21.605Z" + "updatedAt": "2018-08-07T13:18:48.722Z" } \ No newline at end of file diff --git a/build/contracts/DetherSetup.json b/build/contracts/DetherSetup.json index f80d2fd..09fb82a 100644 --- a/build/contracts/DetherSetup.json +++ b/build/contracts/DetherSetup.json @@ -552,14 +552,14 @@ "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherSetup.sol", "exportedSymbols": { "DetherSetup": [ - 2903 + 2916 ] }, - "id": 2904, + "id": 2917, "nodeType": "SourceUnit", "nodes": [ { - "id": 2661, + "id": 2674, "literals": [ "solidity", "^", @@ -572,10 +572,10 @@ { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/certifier/Certifier.sol", "file": "./certifier/Certifier.sol", - "id": 2662, + "id": 2675, "nodeType": "ImportDirective", - "scope": 2904, - "sourceUnit": 2922, + "scope": 2917, + "sourceUnit": 2935, "src": "26:35:2", "symbolAliases": [], "unitAlias": "" @@ -583,9 +583,9 @@ { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherAccessControl.sol", "file": "./DetherAccessControl.sol", - "id": 2663, + "id": 2676, "nodeType": "ImportDirective", - "scope": 2904, + "scope": 2917, "sourceUnit": 287, "src": "62:35:2", "symbolAliases": [], @@ -594,10 +594,10 @@ { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/zepellin/SafeMath.sol", "file": "./zepellin/SafeMath.sol", - "id": 2664, + "id": 2677, "nodeType": "ImportDirective", - "scope": 2904, - "sourceUnit": 3059, + "scope": 2917, + "sourceUnit": 3072, "src": "98:33:2", "symbolAliases": [], "unitAlias": "" @@ -608,7 +608,7 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 2665, + "id": 2678, "name": "DetherAccessControl", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 286, @@ -618,7 +618,7 @@ "typeString": "contract DetherAccessControl" } }, - "id": 2666, + "id": 2679, "nodeType": "InheritanceSpecifier", "src": "232:19:2" } @@ -629,9 +629,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 2903, + "id": 2916, "linearizedBaseContracts": [ - 2903, + 2916, 286 ], "name": "DetherSetup", @@ -639,10 +639,10 @@ "nodes": [ { "constant": false, - "id": 2669, + "id": 2682, "name": "run1", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "258:24:2", "stateVariable": true, "storageLocation": "default", @@ -651,7 +651,7 @@ "typeString": "bool" }, "typeName": { - "id": 2667, + "id": 2680, "name": "bool", "nodeType": "ElementaryTypeName", "src": "258:4:2", @@ -663,7 +663,7 @@ "value": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 2668, + "id": 2681, "isConstant": false, "isLValue": false, "isPure": true, @@ -682,10 +682,10 @@ }, { "constant": false, - "id": 2672, + "id": 2685, "name": "run2", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "286:24:2", "stateVariable": true, "storageLocation": "default", @@ -694,7 +694,7 @@ "typeString": "bool" }, "typeName": { - "id": 2670, + "id": 2683, "name": "bool", "nodeType": "ElementaryTypeName", "src": "286:4:2", @@ -706,7 +706,7 @@ "value": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 2671, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": true, @@ -725,26 +725,26 @@ }, { "constant": false, - "id": 2674, + "id": 2687, "name": "smsCertifier", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "560:29:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" }, "typeName": { "contractScope": null, - "id": 2673, + "id": 2686, "name": "Certifier", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2921, + "referencedDeclaration": 2934, "src": "560:9:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, @@ -753,26 +753,26 @@ }, { "constant": false, - "id": 2676, + "id": 2689, "name": "kycCertifier", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "593:29:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" }, "typeName": { "contractScope": null, - "id": 2675, + "id": 2688, "name": "Certifier", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2921, + "referencedDeclaration": 2934, "src": "593:9:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, @@ -781,10 +781,10 @@ }, { "constant": false, - "id": 2680, + "id": 2693, "name": "openedCountryShop", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "787:48:2", "stateVariable": true, "storageLocation": "default", @@ -793,9 +793,9 @@ "typeString": "mapping(bytes2 => bool)" }, "typeName": { - "id": 2679, + "id": 2692, "keyType": { - "id": 2677, + "id": 2690, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "795:6:2", @@ -811,7 +811,7 @@ "typeString": "mapping(bytes2 => bool)" }, "valueType": { - "id": 2678, + "id": 2691, "name": "bool", "nodeType": "ElementaryTypeName", "src": "805:4:2", @@ -826,10 +826,10 @@ }, { "constant": false, - "id": 2684, + "id": 2697, "name": "openedCountryTeller", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "839:50:2", "stateVariable": true, "storageLocation": "default", @@ -838,9 +838,9 @@ "typeString": "mapping(bytes2 => bool)" }, "typeName": { - "id": 2683, + "id": 2696, "keyType": { - "id": 2681, + "id": 2694, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "847:6:2", @@ -856,7 +856,7 @@ "typeString": "mapping(bytes2 => bool)" }, "valueType": { - "id": 2682, + "id": 2695, "name": "bool", "nodeType": "ElementaryTypeName", "src": "857:4:2", @@ -871,10 +871,10 @@ }, { "constant": false, - "id": 2688, + "id": 2701, "name": "licenceShop", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "1123:42:2", "stateVariable": true, "storageLocation": "default", @@ -883,9 +883,9 @@ "typeString": "mapping(bytes2 => uint256)" }, "typeName": { - "id": 2687, + "id": 2700, "keyType": { - "id": 2685, + "id": 2698, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "1131:6:2", @@ -901,7 +901,7 @@ "typeString": "mapping(bytes2 => uint256)" }, "valueType": { - "id": 2686, + "id": 2699, "name": "uint", "nodeType": "ElementaryTypeName", "src": "1141:4:2", @@ -916,10 +916,10 @@ }, { "constant": false, - "id": 2692, + "id": 2705, "name": "licenceTeller", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "1169:44:2", "stateVariable": true, "storageLocation": "default", @@ -928,9 +928,9 @@ "typeString": "mapping(bytes2 => uint256)" }, "typeName": { - "id": 2691, + "id": 2704, "keyType": { - "id": 2689, + "id": 2702, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "1177:6:2", @@ -946,7 +946,7 @@ "typeString": "mapping(bytes2 => uint256)" }, "valueType": { - "id": 2690, + "id": 2703, "name": "uint", "nodeType": "ElementaryTypeName", "src": "1187:4:2", @@ -961,7 +961,7 @@ }, { "body": { - "id": 2704, + "id": 2717, "nodeType": "Block", "src": "1248:56:2", "statements": [ @@ -974,11 +974,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2699, + "id": 2712, "name": "_user", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2694, + "referencedDeclaration": 2707, "src": "1285:5:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -995,32 +995,32 @@ ], "expression": { "argumentTypes": null, - "id": 2697, + "id": 2710, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, + "referencedDeclaration": 2687, "src": "1262:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2698, + "id": 2711, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, + "referencedDeclaration": 2933, "src": "1262:22:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 2700, + "id": 2713, "isConstant": false, "isLValue": false, "isPure": false, @@ -1042,21 +1042,21 @@ "typeString": "bool" } ], - "id": 2696, + "id": 2709, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1254:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2701, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": false, @@ -1070,31 +1070,31 @@ "typeString": "tuple()" } }, - "id": 2702, + "id": 2715, "nodeType": "ExpressionStatement", "src": "1254:38:2" }, { - "id": 2703, + "id": 2716, "nodeType": "PlaceholderStatement", "src": "1298:1:2" } ] }, "documentation": null, - "id": 2705, + "id": 2718, "name": "tier1", "nodeType": "ModifierDefinition", "parameters": { - "id": 2695, + "id": 2708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2694, + "id": 2707, "name": "_user", "nodeType": "VariableDeclaration", - "scope": 2705, + "scope": 2718, "src": "1233:13:2", "stateVariable": false, "storageLocation": "default", @@ -1103,7 +1103,7 @@ "typeString": "address" }, "typeName": { - "id": 2693, + "id": 2706, "name": "address", "nodeType": "ElementaryTypeName", "src": "1233:7:2", @@ -1123,7 +1123,7 @@ }, { "body": { - "id": 2717, + "id": 2730, "nodeType": "Block", "src": "1337:56:2", "statements": [ @@ -1136,11 +1136,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2712, + "id": 2725, "name": "_user", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2707, + "referencedDeclaration": 2720, "src": "1374:5:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1157,32 +1157,32 @@ ], "expression": { "argumentTypes": null, - "id": 2710, + "id": 2723, "name": "kycCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2676, + "referencedDeclaration": 2689, "src": "1351:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2711, + "id": 2724, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, + "referencedDeclaration": 2933, "src": "1351:22:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 2713, + "id": 2726, "isConstant": false, "isLValue": false, "isPure": false, @@ -1204,21 +1204,21 @@ "typeString": "bool" } ], - "id": 2709, + "id": 2722, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1343:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2714, + "id": 2727, "isConstant": false, "isLValue": false, "isPure": false, @@ -1232,31 +1232,31 @@ "typeString": "tuple()" } }, - "id": 2715, + "id": 2728, "nodeType": "ExpressionStatement", "src": "1343:38:2" }, { - "id": 2716, + "id": 2729, "nodeType": "PlaceholderStatement", "src": "1387:1:2" } ] }, "documentation": null, - "id": 2718, + "id": 2731, "name": "tier2", "nodeType": "ModifierDefinition", "parameters": { - "id": 2708, + "id": 2721, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2720, "name": "_user", "nodeType": "VariableDeclaration", - "scope": 2718, + "scope": 2731, "src": "1322:13:2", "stateVariable": false, "storageLocation": "default", @@ -1265,7 +1265,7 @@ "typeString": "address" }, "typeName": { - "id": 2706, + "id": 2719, "name": "address", "nodeType": "ElementaryTypeName", "src": "1322:7:2", @@ -1285,7 +1285,7 @@ }, { "body": { - "id": 2729, + "id": 2742, "nodeType": "Block", "src": "1437:54:2", "statements": [ @@ -1297,25 +1297,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2723, + "id": 2736, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, + "referencedDeclaration": 2693, "src": "1451:17:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2725, + "id": 2738, "indexExpression": { "argumentTypes": null, - "id": 2724, + "id": 2737, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2720, + "referencedDeclaration": 2733, "src": "1469:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -1341,21 +1341,21 @@ "typeString": "bool" } ], - "id": 2722, + "id": 2735, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1443:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2726, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": false, @@ -1369,31 +1369,31 @@ "typeString": "tuple()" } }, - "id": 2727, + "id": 2740, "nodeType": "ExpressionStatement", "src": "1443:36:2" }, { - "id": 2728, + "id": 2741, "nodeType": "PlaceholderStatement", "src": "1485:1:2" } ] }, "documentation": null, - "id": 2730, + "id": 2743, "name": "isZoneShopOpen", "nodeType": "ModifierDefinition", "parameters": { - "id": 2721, + "id": 2734, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2720, + "id": 2733, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2730, + "scope": 2743, "src": "1420:15:2", "stateVariable": false, "storageLocation": "default", @@ -1402,7 +1402,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2719, + "id": 2732, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "1420:6:2", @@ -1422,7 +1422,7 @@ }, { "body": { - "id": 2741, + "id": 2754, "nodeType": "Block", "src": "1537:56:2", "statements": [ @@ -1434,25 +1434,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2735, + "id": 2748, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, + "referencedDeclaration": 2697, "src": "1551:19:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2737, + "id": 2750, "indexExpression": { "argumentTypes": null, - "id": 2736, + "id": 2749, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2732, + "referencedDeclaration": 2745, "src": "1571:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -1478,21 +1478,21 @@ "typeString": "bool" } ], - "id": 2734, + "id": 2747, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1543:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2738, + "id": 2751, "isConstant": false, "isLValue": false, "isPure": false, @@ -1506,31 +1506,31 @@ "typeString": "tuple()" } }, - "id": 2739, + "id": 2752, "nodeType": "ExpressionStatement", "src": "1543:38:2" }, { - "id": 2740, + "id": 2753, "nodeType": "PlaceholderStatement", "src": "1587:1:2" } ] }, "documentation": null, - "id": 2742, + "id": 2755, "name": "isZoneTellerOpen", "nodeType": "ModifierDefinition", "parameters": { - "id": 2733, + "id": 2746, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2732, + "id": 2745, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2742, + "scope": 2755, "src": "1520:15:2", "stateVariable": false, "storageLocation": "default", @@ -1539,7 +1539,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2731, + "id": 2744, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "1520:6:2", @@ -1559,7 +1559,7 @@ }, { "body": { - "id": 2754, + "id": 2767, "nodeType": "Block", "src": "1655:47:2", "statements": [ @@ -1569,11 +1569,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2751, + "id": 2764, "name": "_user", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2744, + "referencedDeclaration": 2757, "src": "1691:5:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1590,32 +1590,32 @@ ], "expression": { "argumentTypes": null, - "id": 2749, + "id": 2762, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, + "referencedDeclaration": 2687, "src": "1668:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2750, + "id": 2763, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, + "referencedDeclaration": 2933, "src": "1668:22:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 2752, + "id": 2765, "isConstant": false, "isLValue": false, "isPure": false, @@ -1629,15 +1629,15 @@ "typeString": "bool" } }, - "functionReturnParameters": 2748, - "id": 2753, + "functionReturnParameters": 2761, + "id": 2766, "nodeType": "Return", "src": "1661:36:2" } ] }, "documentation": null, - "id": 2755, + "id": 2768, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1645,15 +1645,15 @@ "name": "isTier1", "nodeType": "FunctionDefinition", "parameters": { - "id": 2745, + "id": 2758, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2744, + "id": 2757, "name": "_user", "nodeType": "VariableDeclaration", - "scope": 2755, + "scope": 2768, "src": "1614:13:2", "stateVariable": false, "storageLocation": "default", @@ -1662,7 +1662,7 @@ "typeString": "address" }, "typeName": { - "id": 2743, + "id": 2756, "name": "address", "nodeType": "ElementaryTypeName", "src": "1614:7:2", @@ -1679,15 +1679,15 @@ }, "payable": false, "returnParameters": { - "id": 2748, + "id": 2761, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2747, + "id": 2760, "name": "", "nodeType": "VariableDeclaration", - "scope": 2755, + "scope": 2768, "src": "1649:4:2", "stateVariable": false, "storageLocation": "default", @@ -1696,7 +1696,7 @@ "typeString": "bool" }, "typeName": { - "id": 2746, + "id": 2759, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1649:4:2", @@ -1711,7 +1711,7 @@ ], "src": "1648:6:2" }, - "scope": 2903, + "scope": 2916, "src": "1597:105:2", "stateMutability": "view", "superFunction": null, @@ -1719,7 +1719,7 @@ }, { "body": { - "id": 2767, + "id": 2780, "nodeType": "Block", "src": "1766:47:2", "statements": [ @@ -1729,11 +1729,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2764, + "id": 2777, "name": "_user", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2757, + "referencedDeclaration": 2770, "src": "1802:5:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1750,32 +1750,32 @@ ], "expression": { "argumentTypes": null, - "id": 2762, + "id": 2775, "name": "kycCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2676, + "referencedDeclaration": 2689, "src": "1779:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2763, + "id": 2776, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, + "referencedDeclaration": 2933, "src": "1779:22:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 2765, + "id": 2778, "isConstant": false, "isLValue": false, "isPure": false, @@ -1789,15 +1789,15 @@ "typeString": "bool" } }, - "functionReturnParameters": 2761, - "id": 2766, + "functionReturnParameters": 2774, + "id": 2779, "nodeType": "Return", "src": "1772:36:2" } ] }, "documentation": null, - "id": 2768, + "id": 2781, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -1805,15 +1805,15 @@ "name": "isTier2", "nodeType": "FunctionDefinition", "parameters": { - "id": 2758, + "id": 2771, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2757, + "id": 2770, "name": "_user", "nodeType": "VariableDeclaration", - "scope": 2768, + "scope": 2781, "src": "1725:13:2", "stateVariable": false, "storageLocation": "default", @@ -1822,7 +1822,7 @@ "typeString": "address" }, "typeName": { - "id": 2756, + "id": 2769, "name": "address", "nodeType": "ElementaryTypeName", "src": "1725:7:2", @@ -1839,15 +1839,15 @@ }, "payable": false, "returnParameters": { - "id": 2761, + "id": 2774, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2760, + "id": 2773, "name": "", "nodeType": "VariableDeclaration", - "scope": 2768, + "scope": 2781, "src": "1760:4:2", "stateVariable": false, "storageLocation": "default", @@ -1856,7 +1856,7 @@ "typeString": "bool" }, "typeName": { - "id": 2759, + "id": 2772, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1760:4:2", @@ -1871,7 +1871,7 @@ ], "src": "1759:6:2" }, - "scope": 2903, + "scope": 2916, "src": "1708:105:2", "stateMutability": "view", "superFunction": null, @@ -1879,7 +1879,7 @@ }, { "body": { - "id": 2790, + "id": 2803, "nodeType": "Block", "src": "1905:87:2", "statements": [ @@ -1889,7 +1889,7 @@ "arguments": [ { "argumentTypes": null, - "id": 2777, + "id": 2790, "isConstant": false, "isLValue": false, "isPure": false, @@ -1900,11 +1900,11 @@ "src": "1919:5:2", "subExpression": { "argumentTypes": null, - "id": 2776, + "id": 2789, "name": "run1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2669, + "referencedDeclaration": 2682, "src": "1920:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -1924,21 +1924,21 @@ "typeString": "bool" } ], - "id": 2775, + "id": 2788, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1911:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2778, + "id": 2791, "isConstant": false, "isLValue": false, "isPure": false, @@ -1952,28 +1952,28 @@ "typeString": "tuple()" } }, - "id": 2779, + "id": 2792, "nodeType": "ExpressionStatement", "src": "1911:14:2" }, { "expression": { "argumentTypes": null, - "id": 2784, + "id": 2797, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2780, + "id": 2793, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, + "referencedDeclaration": 2687, "src": "1931:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, @@ -1984,11 +1984,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2782, + "id": 2795, "name": "_smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2770, + "referencedDeclaration": 2783, "src": "1956:13:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2003,18 +2003,18 @@ "typeString": "address" } ], - "id": 2781, + "id": 2794, "name": "Certifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2921, + "referencedDeclaration": 2934, "src": "1946:9:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Certifier_$2921_$", + "typeIdentifier": "t_type$_t_contract$_Certifier_$2934_$", "typeString": "type(contract Certifier)" } }, - "id": 2783, + "id": 2796, "isConstant": false, "isLValue": false, "isPure": false, @@ -2024,35 +2024,35 @@ "nodeType": "FunctionCall", "src": "1946:24:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, "src": "1931:39:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2785, + "id": 2798, "nodeType": "ExpressionStatement", "src": "1931:39:2" }, { "expression": { "argumentTypes": null, - "id": 2788, + "id": 2801, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2786, + "id": 2799, "name": "run1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2669, + "referencedDeclaration": 2682, "src": "1976:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2064,7 +2064,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 2787, + "id": 2800, "isConstant": false, "isLValue": false, "isPure": true, @@ -2085,24 +2085,24 @@ "typeString": "bool" } }, - "id": 2789, + "id": 2802, "nodeType": "ExpressionStatement", "src": "1976:11:2" } ] }, "documentation": "INIT", - "id": 2791, + "id": 2804, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2773, + "id": 2786, "modifierName": { "argumentTypes": null, - "id": 2772, + "id": 2785, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -2120,15 +2120,15 @@ "name": "setSmsCertifier", "nodeType": "FunctionDefinition", "parameters": { - "id": 2771, + "id": 2784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2770, + "id": 2783, "name": "_smsCertifier", "nodeType": "VariableDeclaration", - "scope": 2791, + "scope": 2804, "src": "1865:21:2", "stateVariable": false, "storageLocation": "default", @@ -2137,7 +2137,7 @@ "typeString": "address" }, "typeName": { - "id": 2769, + "id": 2782, "name": "address", "nodeType": "ElementaryTypeName", "src": "1865:7:2", @@ -2154,12 +2154,12 @@ }, "payable": false, "returnParameters": { - "id": 2774, + "id": 2787, "nodeType": "ParameterList", "parameters": [], "src": "1905:0:2" }, - "scope": 2903, + "scope": 2916, "src": "1839:153:2", "stateMutability": "nonpayable", "superFunction": null, @@ -2167,7 +2167,7 @@ }, { "body": { - "id": 2813, + "id": 2826, "nodeType": "Block", "src": "2092:87:2", "statements": [ @@ -2177,7 +2177,7 @@ "arguments": [ { "argumentTypes": null, - "id": 2800, + "id": 2813, "isConstant": false, "isLValue": false, "isPure": false, @@ -2188,11 +2188,11 @@ "src": "2106:5:2", "subExpression": { "argumentTypes": null, - "id": 2799, + "id": 2812, "name": "run2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2672, + "referencedDeclaration": 2685, "src": "2107:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2212,21 +2212,21 @@ "typeString": "bool" } ], - "id": 2798, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2098:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2801, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": false, @@ -2240,28 +2240,28 @@ "typeString": "tuple()" } }, - "id": 2802, + "id": 2815, "nodeType": "ExpressionStatement", "src": "2098:14:2" }, { "expression": { "argumentTypes": null, - "id": 2807, + "id": 2820, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2803, + "id": 2816, "name": "kycCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2676, + "referencedDeclaration": 2689, "src": "2118:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, @@ -2272,11 +2272,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2805, + "id": 2818, "name": "_kycCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2793, + "referencedDeclaration": 2806, "src": "2143:13:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2291,18 +2291,18 @@ "typeString": "address" } ], - "id": 2804, + "id": 2817, "name": "Certifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2921, + "referencedDeclaration": 2934, "src": "2133:9:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Certifier_$2921_$", + "typeIdentifier": "t_type$_t_contract$_Certifier_$2934_$", "typeString": "type(contract Certifier)" } }, - "id": 2806, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -2312,35 +2312,35 @@ "nodeType": "FunctionCall", "src": "2133:24:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, "src": "2118:39:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2808, + "id": 2821, "nodeType": "ExpressionStatement", "src": "2118:39:2" }, { "expression": { "argumentTypes": null, - "id": 2811, + "id": 2824, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2809, + "id": 2822, "name": "run2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2672, + "referencedDeclaration": 2685, "src": "2163:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2352,7 +2352,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 2810, + "id": 2823, "isConstant": false, "isLValue": false, "isPure": true, @@ -2373,24 +2373,24 @@ "typeString": "bool" } }, - "id": 2812, + "id": 2825, "nodeType": "ExpressionStatement", "src": "2163:11:2" } ] }, "documentation": "CORE FUNCTION", - "id": 2814, + "id": 2827, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2796, + "id": 2809, "modifierName": { "argumentTypes": null, - "id": 2795, + "id": 2808, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -2408,15 +2408,15 @@ "name": "setKycCertifier", "nodeType": "FunctionDefinition", "parameters": { - "id": 2794, + "id": 2807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2793, + "id": 2806, "name": "_kycCertifier", "nodeType": "VariableDeclaration", - "scope": 2814, + "scope": 2827, "src": "2052:21:2", "stateVariable": false, "storageLocation": "default", @@ -2425,7 +2425,7 @@ "typeString": "address" }, "typeName": { - "id": 2792, + "id": 2805, "name": "address", "nodeType": "ElementaryTypeName", "src": "2052:7:2", @@ -2442,12 +2442,12 @@ }, "payable": false, "returnParameters": { - "id": 2797, + "id": 2810, "nodeType": "ParameterList", "parameters": [], "src": "2092:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2026:153:2", "stateMutability": "nonpayable", "superFunction": null, @@ -2455,14 +2455,14 @@ }, { "body": { - "id": 2829, + "id": 2842, "nodeType": "Block", "src": "2256:39:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2827, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -2471,25 +2471,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2823, + "id": 2836, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, + "referencedDeclaration": 2701, "src": "2262:11:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 2825, + "id": 2838, "indexExpression": { "argumentTypes": null, - "id": 2824, + "id": 2837, "name": "country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2816, + "referencedDeclaration": 2829, "src": "2274:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -2511,11 +2511,11 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2826, + "id": 2839, "name": "price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2818, + "referencedDeclaration": 2831, "src": "2285:5:2", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -2528,24 +2528,24 @@ "typeString": "uint256" } }, - "id": 2828, + "id": 2841, "nodeType": "ExpressionStatement", "src": "2262:28:2" } ] }, "documentation": null, - "id": 2830, + "id": 2843, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2821, + "id": 2834, "modifierName": { "argumentTypes": null, - "id": 2820, + "id": 2833, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -2563,15 +2563,15 @@ "name": "setLicenceShopPrice", "nodeType": "FunctionDefinition", "parameters": { - "id": 2819, + "id": 2832, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2816, + "id": 2829, "name": "country", "nodeType": "VariableDeclaration", - "scope": 2830, + "scope": 2843, "src": "2211:14:2", "stateVariable": false, "storageLocation": "default", @@ -2580,7 +2580,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2815, + "id": 2828, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2211:6:2", @@ -2594,10 +2594,10 @@ }, { "constant": false, - "id": 2818, + "id": 2831, "name": "price", "nodeType": "VariableDeclaration", - "scope": 2830, + "scope": 2843, "src": "2227:10:2", "stateVariable": false, "storageLocation": "default", @@ -2606,7 +2606,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2817, + "id": 2830, "name": "uint", "nodeType": "ElementaryTypeName", "src": "2227:4:2", @@ -2623,12 +2623,12 @@ }, "payable": false, "returnParameters": { - "id": 2822, + "id": 2835, "nodeType": "ParameterList", "parameters": [], "src": "2256:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2182:113:2", "stateMutability": "nonpayable", "superFunction": null, @@ -2636,14 +2636,14 @@ }, { "body": { - "id": 2845, + "id": 2858, "nodeType": "Block", "src": "2374:41:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2843, + "id": 2856, "isConstant": false, "isLValue": false, "isPure": false, @@ -2652,25 +2652,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2839, + "id": 2852, "name": "licenceTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2692, + "referencedDeclaration": 2705, "src": "2380:13:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 2841, + "id": 2854, "indexExpression": { "argumentTypes": null, - "id": 2840, + "id": 2853, "name": "country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2832, + "referencedDeclaration": 2845, "src": "2394:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -2692,11 +2692,11 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2842, + "id": 2855, "name": "price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2834, + "referencedDeclaration": 2847, "src": "2405:5:2", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -2709,24 +2709,24 @@ "typeString": "uint256" } }, - "id": 2844, + "id": 2857, "nodeType": "ExpressionStatement", "src": "2380:30:2" } ] }, "documentation": null, - "id": 2846, + "id": 2859, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2837, + "id": 2850, "modifierName": { "argumentTypes": null, - "id": 2836, + "id": 2849, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -2744,15 +2744,15 @@ "name": "setLicenceTellerPrice", "nodeType": "FunctionDefinition", "parameters": { - "id": 2835, + "id": 2848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2832, + "id": 2845, "name": "country", "nodeType": "VariableDeclaration", - "scope": 2846, + "scope": 2859, "src": "2329:14:2", "stateVariable": false, "storageLocation": "default", @@ -2761,7 +2761,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2831, + "id": 2844, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2329:6:2", @@ -2775,10 +2775,10 @@ }, { "constant": false, - "id": 2834, + "id": 2847, "name": "price", "nodeType": "VariableDeclaration", - "scope": 2846, + "scope": 2859, "src": "2345:10:2", "stateVariable": false, "storageLocation": "default", @@ -2787,7 +2787,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2833, + "id": 2846, "name": "uint", "nodeType": "ElementaryTypeName", "src": "2345:4:2", @@ -2804,12 +2804,12 @@ }, "payable": false, "returnParameters": { - "id": 2838, + "id": 2851, "nodeType": "ParameterList", "parameters": [], "src": "2374:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2298:117:2", "stateMutability": "nonpayable", "superFunction": null, @@ -2817,14 +2817,14 @@ }, { "body": { - "id": 2859, + "id": 2872, "nodeType": "Block", "src": "2474:45:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2857, + "id": 2870, "isConstant": false, "isLValue": false, "isPure": false, @@ -2833,25 +2833,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2853, + "id": 2866, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, + "referencedDeclaration": 2693, "src": "2480:17:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2855, + "id": 2868, "indexExpression": { "argumentTypes": null, - "id": 2854, + "id": 2867, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2848, + "referencedDeclaration": 2861, "src": "2498:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -2874,7 +2874,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 2856, + "id": 2869, "isConstant": false, "isLValue": false, "isPure": true, @@ -2895,24 +2895,24 @@ "typeString": "bool" } }, - "id": 2858, + "id": 2871, "nodeType": "ExpressionStatement", "src": "2480:34:2" } ] }, "documentation": null, - "id": 2860, + "id": 2873, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2851, + "id": 2864, "modifierName": { "argumentTypes": null, - "id": 2850, + "id": 2863, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -2930,15 +2930,15 @@ "name": "openZoneShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2849, + "id": 2862, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2848, + "id": 2861, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2860, + "scope": 2873, "src": "2440:15:2", "stateVariable": false, "storageLocation": "default", @@ -2947,7 +2947,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2847, + "id": 2860, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2440:6:2", @@ -2964,12 +2964,12 @@ }, "payable": false, "returnParameters": { - "id": 2852, + "id": 2865, "nodeType": "ParameterList", "parameters": [], "src": "2474:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2418:101:2", "stateMutability": "nonpayable", "superFunction": null, @@ -2977,14 +2977,14 @@ }, { "body": { - "id": 2873, + "id": 2886, "nodeType": "Block", "src": "2579:46:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2871, + "id": 2884, "isConstant": false, "isLValue": false, "isPure": false, @@ -2993,25 +2993,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2867, + "id": 2880, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, + "referencedDeclaration": 2693, "src": "2585:17:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2869, + "id": 2882, "indexExpression": { "argumentTypes": null, - "id": 2868, + "id": 2881, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2862, + "referencedDeclaration": 2875, "src": "2603:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -3034,7 +3034,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 2870, + "id": 2883, "isConstant": false, "isLValue": false, "isPure": true, @@ -3055,24 +3055,24 @@ "typeString": "bool" } }, - "id": 2872, + "id": 2885, "nodeType": "ExpressionStatement", "src": "2585:35:2" } ] }, "documentation": null, - "id": 2874, + "id": 2887, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2865, + "id": 2878, "modifierName": { "argumentTypes": null, - "id": 2864, + "id": 2877, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -3090,15 +3090,15 @@ "name": "closeZoneShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2863, + "id": 2876, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2862, + "id": 2875, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2874, + "scope": 2887, "src": "2545:15:2", "stateVariable": false, "storageLocation": "default", @@ -3107,7 +3107,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2861, + "id": 2874, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2545:6:2", @@ -3124,12 +3124,12 @@ }, "payable": false, "returnParameters": { - "id": 2866, + "id": 2879, "nodeType": "ParameterList", "parameters": [], "src": "2579:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2522:103:2", "stateMutability": "nonpayable", "superFunction": null, @@ -3137,14 +3137,14 @@ }, { "body": { - "id": 2887, + "id": 2900, "nodeType": "Block", "src": "2686:47:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2885, + "id": 2898, "isConstant": false, "isLValue": false, "isPure": false, @@ -3153,25 +3153,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2881, + "id": 2894, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, + "referencedDeclaration": 2697, "src": "2692:19:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2883, + "id": 2896, "indexExpression": { "argumentTypes": null, - "id": 2882, + "id": 2895, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2876, + "referencedDeclaration": 2889, "src": "2712:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -3194,7 +3194,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 2884, + "id": 2897, "isConstant": false, "isLValue": false, "isPure": true, @@ -3215,24 +3215,24 @@ "typeString": "bool" } }, - "id": 2886, + "id": 2899, "nodeType": "ExpressionStatement", "src": "2692:36:2" } ] }, "documentation": null, - "id": 2888, + "id": 2901, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2879, + "id": 2892, "modifierName": { "argumentTypes": null, - "id": 2878, + "id": 2891, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -3250,15 +3250,15 @@ "name": "openZoneTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2877, + "id": 2890, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2876, + "id": 2889, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2888, + "scope": 2901, "src": "2652:15:2", "stateVariable": false, "storageLocation": "default", @@ -3267,7 +3267,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2875, + "id": 2888, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2652:6:2", @@ -3284,12 +3284,12 @@ }, "payable": false, "returnParameters": { - "id": 2880, + "id": 2893, "nodeType": "ParameterList", "parameters": [], "src": "2686:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2628:105:2", "stateMutability": "nonpayable", "superFunction": null, @@ -3297,14 +3297,14 @@ }, { "body": { - "id": 2901, + "id": 2914, "nodeType": "Block", "src": "2795:48:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2899, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -3313,25 +3313,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2895, + "id": 2908, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, + "referencedDeclaration": 2697, "src": "2801:19:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2897, + "id": 2910, "indexExpression": { "argumentTypes": null, - "id": 2896, + "id": 2909, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2890, + "referencedDeclaration": 2903, "src": "2821:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -3354,7 +3354,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 2898, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": true, @@ -3375,24 +3375,24 @@ "typeString": "bool" } }, - "id": 2900, + "id": 2913, "nodeType": "ExpressionStatement", "src": "2801:37:2" } ] }, "documentation": null, - "id": 2902, + "id": 2915, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2893, + "id": 2906, "modifierName": { "argumentTypes": null, - "id": 2892, + "id": 2905, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -3410,15 +3410,15 @@ "name": "closeZoneTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2891, + "id": 2904, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2890, + "id": 2903, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2902, + "scope": 2915, "src": "2761:15:2", "stateVariable": false, "storageLocation": "default", @@ -3427,7 +3427,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2889, + "id": 2902, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2761:6:2", @@ -3444,19 +3444,19 @@ }, "payable": false, "returnParameters": { - "id": 2894, + "id": 2907, "nodeType": "ParameterList", "parameters": [], "src": "2795:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2736:107:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], - "scope": 2904, + "scope": 2917, "src": "208:2637:2" } ], @@ -3466,14 +3466,14 @@ "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherSetup.sol", "exportedSymbols": { "DetherSetup": [ - 2903 + 2916 ] }, - "id": 2904, + "id": 2917, "nodeType": "SourceUnit", "nodes": [ { - "id": 2661, + "id": 2674, "literals": [ "solidity", "^", @@ -3486,10 +3486,10 @@ { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/certifier/Certifier.sol", "file": "./certifier/Certifier.sol", - "id": 2662, + "id": 2675, "nodeType": "ImportDirective", - "scope": 2904, - "sourceUnit": 2922, + "scope": 2917, + "sourceUnit": 2935, "src": "26:35:2", "symbolAliases": [], "unitAlias": "" @@ -3497,9 +3497,9 @@ { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherAccessControl.sol", "file": "./DetherAccessControl.sol", - "id": 2663, + "id": 2676, "nodeType": "ImportDirective", - "scope": 2904, + "scope": 2917, "sourceUnit": 287, "src": "62:35:2", "symbolAliases": [], @@ -3508,10 +3508,10 @@ { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/zepellin/SafeMath.sol", "file": "./zepellin/SafeMath.sol", - "id": 2664, + "id": 2677, "nodeType": "ImportDirective", - "scope": 2904, - "sourceUnit": 3059, + "scope": 2917, + "sourceUnit": 3072, "src": "98:33:2", "symbolAliases": [], "unitAlias": "" @@ -3522,7 +3522,7 @@ "arguments": null, "baseName": { "contractScope": null, - "id": 2665, + "id": 2678, "name": "DetherAccessControl", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 286, @@ -3532,7 +3532,7 @@ "typeString": "contract DetherAccessControl" } }, - "id": 2666, + "id": 2679, "nodeType": "InheritanceSpecifier", "src": "232:19:2" } @@ -3543,9 +3543,9 @@ "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 2903, + "id": 2916, "linearizedBaseContracts": [ - 2903, + 2916, 286 ], "name": "DetherSetup", @@ -3553,10 +3553,10 @@ "nodes": [ { "constant": false, - "id": 2669, + "id": 2682, "name": "run1", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "258:24:2", "stateVariable": true, "storageLocation": "default", @@ -3565,7 +3565,7 @@ "typeString": "bool" }, "typeName": { - "id": 2667, + "id": 2680, "name": "bool", "nodeType": "ElementaryTypeName", "src": "258:4:2", @@ -3577,7 +3577,7 @@ "value": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 2668, + "id": 2681, "isConstant": false, "isLValue": false, "isPure": true, @@ -3596,10 +3596,10 @@ }, { "constant": false, - "id": 2672, + "id": 2685, "name": "run2", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "286:24:2", "stateVariable": true, "storageLocation": "default", @@ -3608,7 +3608,7 @@ "typeString": "bool" }, "typeName": { - "id": 2670, + "id": 2683, "name": "bool", "nodeType": "ElementaryTypeName", "src": "286:4:2", @@ -3620,7 +3620,7 @@ "value": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 2671, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": true, @@ -3639,26 +3639,26 @@ }, { "constant": false, - "id": 2674, + "id": 2687, "name": "smsCertifier", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "560:29:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" }, "typeName": { "contractScope": null, - "id": 2673, + "id": 2686, "name": "Certifier", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2921, + "referencedDeclaration": 2934, "src": "560:9:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, @@ -3667,26 +3667,26 @@ }, { "constant": false, - "id": 2676, + "id": 2689, "name": "kycCertifier", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "593:29:2", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" }, "typeName": { "contractScope": null, - "id": 2675, + "id": 2688, "name": "Certifier", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2921, + "referencedDeclaration": 2934, "src": "593:9:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, @@ -3695,10 +3695,10 @@ }, { "constant": false, - "id": 2680, + "id": 2693, "name": "openedCountryShop", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "787:48:2", "stateVariable": true, "storageLocation": "default", @@ -3707,9 +3707,9 @@ "typeString": "mapping(bytes2 => bool)" }, "typeName": { - "id": 2679, + "id": 2692, "keyType": { - "id": 2677, + "id": 2690, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "795:6:2", @@ -3725,7 +3725,7 @@ "typeString": "mapping(bytes2 => bool)" }, "valueType": { - "id": 2678, + "id": 2691, "name": "bool", "nodeType": "ElementaryTypeName", "src": "805:4:2", @@ -3740,10 +3740,10 @@ }, { "constant": false, - "id": 2684, + "id": 2697, "name": "openedCountryTeller", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "839:50:2", "stateVariable": true, "storageLocation": "default", @@ -3752,9 +3752,9 @@ "typeString": "mapping(bytes2 => bool)" }, "typeName": { - "id": 2683, + "id": 2696, "keyType": { - "id": 2681, + "id": 2694, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "847:6:2", @@ -3770,7 +3770,7 @@ "typeString": "mapping(bytes2 => bool)" }, "valueType": { - "id": 2682, + "id": 2695, "name": "bool", "nodeType": "ElementaryTypeName", "src": "857:4:2", @@ -3785,10 +3785,10 @@ }, { "constant": false, - "id": 2688, + "id": 2701, "name": "licenceShop", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "1123:42:2", "stateVariable": true, "storageLocation": "default", @@ -3797,9 +3797,9 @@ "typeString": "mapping(bytes2 => uint256)" }, "typeName": { - "id": 2687, + "id": 2700, "keyType": { - "id": 2685, + "id": 2698, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "1131:6:2", @@ -3815,7 +3815,7 @@ "typeString": "mapping(bytes2 => uint256)" }, "valueType": { - "id": 2686, + "id": 2699, "name": "uint", "nodeType": "ElementaryTypeName", "src": "1141:4:2", @@ -3830,10 +3830,10 @@ }, { "constant": false, - "id": 2692, + "id": 2705, "name": "licenceTeller", "nodeType": "VariableDeclaration", - "scope": 2903, + "scope": 2916, "src": "1169:44:2", "stateVariable": true, "storageLocation": "default", @@ -3842,9 +3842,9 @@ "typeString": "mapping(bytes2 => uint256)" }, "typeName": { - "id": 2691, + "id": 2704, "keyType": { - "id": 2689, + "id": 2702, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "1177:6:2", @@ -3860,7 +3860,7 @@ "typeString": "mapping(bytes2 => uint256)" }, "valueType": { - "id": 2690, + "id": 2703, "name": "uint", "nodeType": "ElementaryTypeName", "src": "1187:4:2", @@ -3875,7 +3875,7 @@ }, { "body": { - "id": 2704, + "id": 2717, "nodeType": "Block", "src": "1248:56:2", "statements": [ @@ -3888,11 +3888,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2699, + "id": 2712, "name": "_user", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2694, + "referencedDeclaration": 2707, "src": "1285:5:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3909,32 +3909,32 @@ ], "expression": { "argumentTypes": null, - "id": 2697, + "id": 2710, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, + "referencedDeclaration": 2687, "src": "1262:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2698, + "id": 2711, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, + "referencedDeclaration": 2933, "src": "1262:22:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 2700, + "id": 2713, "isConstant": false, "isLValue": false, "isPure": false, @@ -3956,21 +3956,21 @@ "typeString": "bool" } ], - "id": 2696, + "id": 2709, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1254:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2701, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": false, @@ -3984,31 +3984,31 @@ "typeString": "tuple()" } }, - "id": 2702, + "id": 2715, "nodeType": "ExpressionStatement", "src": "1254:38:2" }, { - "id": 2703, + "id": 2716, "nodeType": "PlaceholderStatement", "src": "1298:1:2" } ] }, "documentation": null, - "id": 2705, + "id": 2718, "name": "tier1", "nodeType": "ModifierDefinition", "parameters": { - "id": 2695, + "id": 2708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2694, + "id": 2707, "name": "_user", "nodeType": "VariableDeclaration", - "scope": 2705, + "scope": 2718, "src": "1233:13:2", "stateVariable": false, "storageLocation": "default", @@ -4017,7 +4017,7 @@ "typeString": "address" }, "typeName": { - "id": 2693, + "id": 2706, "name": "address", "nodeType": "ElementaryTypeName", "src": "1233:7:2", @@ -4037,7 +4037,7 @@ }, { "body": { - "id": 2717, + "id": 2730, "nodeType": "Block", "src": "1337:56:2", "statements": [ @@ -4050,11 +4050,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2712, + "id": 2725, "name": "_user", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2707, + "referencedDeclaration": 2720, "src": "1374:5:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4071,32 +4071,32 @@ ], "expression": { "argumentTypes": null, - "id": 2710, + "id": 2723, "name": "kycCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2676, + "referencedDeclaration": 2689, "src": "1351:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2711, + "id": 2724, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, + "referencedDeclaration": 2933, "src": "1351:22:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 2713, + "id": 2726, "isConstant": false, "isLValue": false, "isPure": false, @@ -4118,21 +4118,21 @@ "typeString": "bool" } ], - "id": 2709, + "id": 2722, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1343:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2714, + "id": 2727, "isConstant": false, "isLValue": false, "isPure": false, @@ -4146,31 +4146,31 @@ "typeString": "tuple()" } }, - "id": 2715, + "id": 2728, "nodeType": "ExpressionStatement", "src": "1343:38:2" }, { - "id": 2716, + "id": 2729, "nodeType": "PlaceholderStatement", "src": "1387:1:2" } ] }, "documentation": null, - "id": 2718, + "id": 2731, "name": "tier2", "nodeType": "ModifierDefinition", "parameters": { - "id": 2708, + "id": 2721, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2720, "name": "_user", "nodeType": "VariableDeclaration", - "scope": 2718, + "scope": 2731, "src": "1322:13:2", "stateVariable": false, "storageLocation": "default", @@ -4179,7 +4179,7 @@ "typeString": "address" }, "typeName": { - "id": 2706, + "id": 2719, "name": "address", "nodeType": "ElementaryTypeName", "src": "1322:7:2", @@ -4199,7 +4199,7 @@ }, { "body": { - "id": 2729, + "id": 2742, "nodeType": "Block", "src": "1437:54:2", "statements": [ @@ -4211,25 +4211,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2723, + "id": 2736, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, + "referencedDeclaration": 2693, "src": "1451:17:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2725, + "id": 2738, "indexExpression": { "argumentTypes": null, - "id": 2724, + "id": 2737, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2720, + "referencedDeclaration": 2733, "src": "1469:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -4255,21 +4255,21 @@ "typeString": "bool" } ], - "id": 2722, + "id": 2735, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1443:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2726, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": false, @@ -4283,31 +4283,31 @@ "typeString": "tuple()" } }, - "id": 2727, + "id": 2740, "nodeType": "ExpressionStatement", "src": "1443:36:2" }, { - "id": 2728, + "id": 2741, "nodeType": "PlaceholderStatement", "src": "1485:1:2" } ] }, "documentation": null, - "id": 2730, + "id": 2743, "name": "isZoneShopOpen", "nodeType": "ModifierDefinition", "parameters": { - "id": 2721, + "id": 2734, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2720, + "id": 2733, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2730, + "scope": 2743, "src": "1420:15:2", "stateVariable": false, "storageLocation": "default", @@ -4316,7 +4316,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2719, + "id": 2732, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "1420:6:2", @@ -4336,7 +4336,7 @@ }, { "body": { - "id": 2741, + "id": 2754, "nodeType": "Block", "src": "1537:56:2", "statements": [ @@ -4348,25 +4348,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2735, + "id": 2748, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, + "referencedDeclaration": 2697, "src": "1551:19:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2737, + "id": 2750, "indexExpression": { "argumentTypes": null, - "id": 2736, + "id": 2749, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2732, + "referencedDeclaration": 2745, "src": "1571:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -4392,21 +4392,21 @@ "typeString": "bool" } ], - "id": 2734, + "id": 2747, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1543:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2738, + "id": 2751, "isConstant": false, "isLValue": false, "isPure": false, @@ -4420,31 +4420,31 @@ "typeString": "tuple()" } }, - "id": 2739, + "id": 2752, "nodeType": "ExpressionStatement", "src": "1543:38:2" }, { - "id": 2740, + "id": 2753, "nodeType": "PlaceholderStatement", "src": "1587:1:2" } ] }, "documentation": null, - "id": 2742, + "id": 2755, "name": "isZoneTellerOpen", "nodeType": "ModifierDefinition", "parameters": { - "id": 2733, + "id": 2746, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2732, + "id": 2745, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2742, + "scope": 2755, "src": "1520:15:2", "stateVariable": false, "storageLocation": "default", @@ -4453,7 +4453,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2731, + "id": 2744, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "1520:6:2", @@ -4473,7 +4473,7 @@ }, { "body": { - "id": 2754, + "id": 2767, "nodeType": "Block", "src": "1655:47:2", "statements": [ @@ -4483,11 +4483,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2751, + "id": 2764, "name": "_user", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2744, + "referencedDeclaration": 2757, "src": "1691:5:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4504,32 +4504,32 @@ ], "expression": { "argumentTypes": null, - "id": 2749, + "id": 2762, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, + "referencedDeclaration": 2687, "src": "1668:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2750, + "id": 2763, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, + "referencedDeclaration": 2933, "src": "1668:22:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 2752, + "id": 2765, "isConstant": false, "isLValue": false, "isPure": false, @@ -4543,15 +4543,15 @@ "typeString": "bool" } }, - "functionReturnParameters": 2748, - "id": 2753, + "functionReturnParameters": 2761, + "id": 2766, "nodeType": "Return", "src": "1661:36:2" } ] }, "documentation": null, - "id": 2755, + "id": 2768, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4559,15 +4559,15 @@ "name": "isTier1", "nodeType": "FunctionDefinition", "parameters": { - "id": 2745, + "id": 2758, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2744, + "id": 2757, "name": "_user", "nodeType": "VariableDeclaration", - "scope": 2755, + "scope": 2768, "src": "1614:13:2", "stateVariable": false, "storageLocation": "default", @@ -4576,7 +4576,7 @@ "typeString": "address" }, "typeName": { - "id": 2743, + "id": 2756, "name": "address", "nodeType": "ElementaryTypeName", "src": "1614:7:2", @@ -4593,15 +4593,15 @@ }, "payable": false, "returnParameters": { - "id": 2748, + "id": 2761, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2747, + "id": 2760, "name": "", "nodeType": "VariableDeclaration", - "scope": 2755, + "scope": 2768, "src": "1649:4:2", "stateVariable": false, "storageLocation": "default", @@ -4610,7 +4610,7 @@ "typeString": "bool" }, "typeName": { - "id": 2746, + "id": 2759, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1649:4:2", @@ -4625,7 +4625,7 @@ ], "src": "1648:6:2" }, - "scope": 2903, + "scope": 2916, "src": "1597:105:2", "stateMutability": "view", "superFunction": null, @@ -4633,7 +4633,7 @@ }, { "body": { - "id": 2767, + "id": 2780, "nodeType": "Block", "src": "1766:47:2", "statements": [ @@ -4643,11 +4643,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2764, + "id": 2777, "name": "_user", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2757, + "referencedDeclaration": 2770, "src": "1802:5:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4664,32 +4664,32 @@ ], "expression": { "argumentTypes": null, - "id": 2762, + "id": 2775, "name": "kycCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2676, + "referencedDeclaration": 2689, "src": "1779:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2763, + "id": 2776, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, + "referencedDeclaration": 2933, "src": "1779:22:2", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 2765, + "id": 2778, "isConstant": false, "isLValue": false, "isPure": false, @@ -4703,15 +4703,15 @@ "typeString": "bool" } }, - "functionReturnParameters": 2761, - "id": 2766, + "functionReturnParameters": 2774, + "id": 2779, "nodeType": "Return", "src": "1772:36:2" } ] }, "documentation": null, - "id": 2768, + "id": 2781, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -4719,15 +4719,15 @@ "name": "isTier2", "nodeType": "FunctionDefinition", "parameters": { - "id": 2758, + "id": 2771, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2757, + "id": 2770, "name": "_user", "nodeType": "VariableDeclaration", - "scope": 2768, + "scope": 2781, "src": "1725:13:2", "stateVariable": false, "storageLocation": "default", @@ -4736,7 +4736,7 @@ "typeString": "address" }, "typeName": { - "id": 2756, + "id": 2769, "name": "address", "nodeType": "ElementaryTypeName", "src": "1725:7:2", @@ -4753,15 +4753,15 @@ }, "payable": false, "returnParameters": { - "id": 2761, + "id": 2774, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2760, + "id": 2773, "name": "", "nodeType": "VariableDeclaration", - "scope": 2768, + "scope": 2781, "src": "1760:4:2", "stateVariable": false, "storageLocation": "default", @@ -4770,7 +4770,7 @@ "typeString": "bool" }, "typeName": { - "id": 2759, + "id": 2772, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1760:4:2", @@ -4785,7 +4785,7 @@ ], "src": "1759:6:2" }, - "scope": 2903, + "scope": 2916, "src": "1708:105:2", "stateMutability": "view", "superFunction": null, @@ -4793,7 +4793,7 @@ }, { "body": { - "id": 2790, + "id": 2803, "nodeType": "Block", "src": "1905:87:2", "statements": [ @@ -4803,7 +4803,7 @@ "arguments": [ { "argumentTypes": null, - "id": 2777, + "id": 2790, "isConstant": false, "isLValue": false, "isPure": false, @@ -4814,11 +4814,11 @@ "src": "1919:5:2", "subExpression": { "argumentTypes": null, - "id": 2776, + "id": 2789, "name": "run1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2669, + "referencedDeclaration": 2682, "src": "1920:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4838,21 +4838,21 @@ "typeString": "bool" } ], - "id": 2775, + "id": 2788, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "1911:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2778, + "id": 2791, "isConstant": false, "isLValue": false, "isPure": false, @@ -4866,28 +4866,28 @@ "typeString": "tuple()" } }, - "id": 2779, + "id": 2792, "nodeType": "ExpressionStatement", "src": "1911:14:2" }, { "expression": { "argumentTypes": null, - "id": 2784, + "id": 2797, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2780, + "id": 2793, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, + "referencedDeclaration": 2687, "src": "1931:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, @@ -4898,11 +4898,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2782, + "id": 2795, "name": "_smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2770, + "referencedDeclaration": 2783, "src": "1956:13:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4917,18 +4917,18 @@ "typeString": "address" } ], - "id": 2781, + "id": 2794, "name": "Certifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2921, + "referencedDeclaration": 2934, "src": "1946:9:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Certifier_$2921_$", + "typeIdentifier": "t_type$_t_contract$_Certifier_$2934_$", "typeString": "type(contract Certifier)" } }, - "id": 2783, + "id": 2796, "isConstant": false, "isLValue": false, "isPure": false, @@ -4938,35 +4938,35 @@ "nodeType": "FunctionCall", "src": "1946:24:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, "src": "1931:39:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2785, + "id": 2798, "nodeType": "ExpressionStatement", "src": "1931:39:2" }, { "expression": { "argumentTypes": null, - "id": 2788, + "id": 2801, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2786, + "id": 2799, "name": "run1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2669, + "referencedDeclaration": 2682, "src": "1976:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4978,7 +4978,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 2787, + "id": 2800, "isConstant": false, "isLValue": false, "isPure": true, @@ -4999,24 +4999,24 @@ "typeString": "bool" } }, - "id": 2789, + "id": 2802, "nodeType": "ExpressionStatement", "src": "1976:11:2" } ] }, "documentation": "INIT", - "id": 2791, + "id": 2804, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2773, + "id": 2786, "modifierName": { "argumentTypes": null, - "id": 2772, + "id": 2785, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5034,15 +5034,15 @@ "name": "setSmsCertifier", "nodeType": "FunctionDefinition", "parameters": { - "id": 2771, + "id": 2784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2770, + "id": 2783, "name": "_smsCertifier", "nodeType": "VariableDeclaration", - "scope": 2791, + "scope": 2804, "src": "1865:21:2", "stateVariable": false, "storageLocation": "default", @@ -5051,7 +5051,7 @@ "typeString": "address" }, "typeName": { - "id": 2769, + "id": 2782, "name": "address", "nodeType": "ElementaryTypeName", "src": "1865:7:2", @@ -5068,12 +5068,12 @@ }, "payable": false, "returnParameters": { - "id": 2774, + "id": 2787, "nodeType": "ParameterList", "parameters": [], "src": "1905:0:2" }, - "scope": 2903, + "scope": 2916, "src": "1839:153:2", "stateMutability": "nonpayable", "superFunction": null, @@ -5081,7 +5081,7 @@ }, { "body": { - "id": 2813, + "id": 2826, "nodeType": "Block", "src": "2092:87:2", "statements": [ @@ -5091,7 +5091,7 @@ "arguments": [ { "argumentTypes": null, - "id": 2800, + "id": 2813, "isConstant": false, "isLValue": false, "isPure": false, @@ -5102,11 +5102,11 @@ "src": "2106:5:2", "subExpression": { "argumentTypes": null, - "id": 2799, + "id": 2812, "name": "run2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2672, + "referencedDeclaration": 2685, "src": "2107:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5126,21 +5126,21 @@ "typeString": "bool" } ], - "id": 2798, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, + "referencedDeclaration": 3393, "src": "2098:7:2", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2801, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": false, @@ -5154,28 +5154,28 @@ "typeString": "tuple()" } }, - "id": 2802, + "id": 2815, "nodeType": "ExpressionStatement", "src": "2098:14:2" }, { "expression": { "argumentTypes": null, - "id": 2807, + "id": 2820, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2803, + "id": 2816, "name": "kycCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2676, + "referencedDeclaration": 2689, "src": "2118:12:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, @@ -5186,11 +5186,11 @@ "arguments": [ { "argumentTypes": null, - "id": 2805, + "id": 2818, "name": "_kycCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2793, + "referencedDeclaration": 2806, "src": "2143:13:2", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5205,18 +5205,18 @@ "typeString": "address" } ], - "id": 2804, + "id": 2817, "name": "Certifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2921, + "referencedDeclaration": 2934, "src": "2133:9:2", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Certifier_$2921_$", + "typeIdentifier": "t_type$_t_contract$_Certifier_$2934_$", "typeString": "type(contract Certifier)" } }, - "id": 2806, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -5226,35 +5226,35 @@ "nodeType": "FunctionCall", "src": "2133:24:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, "src": "2118:39:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 2808, + "id": 2821, "nodeType": "ExpressionStatement", "src": "2118:39:2" }, { "expression": { "argumentTypes": null, - "id": 2811, + "id": 2824, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2809, + "id": 2822, "name": "run2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2672, + "referencedDeclaration": 2685, "src": "2163:4:2", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -5266,7 +5266,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 2810, + "id": 2823, "isConstant": false, "isLValue": false, "isPure": true, @@ -5287,24 +5287,24 @@ "typeString": "bool" } }, - "id": 2812, + "id": 2825, "nodeType": "ExpressionStatement", "src": "2163:11:2" } ] }, "documentation": "CORE FUNCTION", - "id": 2814, + "id": 2827, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2796, + "id": 2809, "modifierName": { "argumentTypes": null, - "id": 2795, + "id": 2808, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5322,15 +5322,15 @@ "name": "setKycCertifier", "nodeType": "FunctionDefinition", "parameters": { - "id": 2794, + "id": 2807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2793, + "id": 2806, "name": "_kycCertifier", "nodeType": "VariableDeclaration", - "scope": 2814, + "scope": 2827, "src": "2052:21:2", "stateVariable": false, "storageLocation": "default", @@ -5339,7 +5339,7 @@ "typeString": "address" }, "typeName": { - "id": 2792, + "id": 2805, "name": "address", "nodeType": "ElementaryTypeName", "src": "2052:7:2", @@ -5356,12 +5356,12 @@ }, "payable": false, "returnParameters": { - "id": 2797, + "id": 2810, "nodeType": "ParameterList", "parameters": [], "src": "2092:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2026:153:2", "stateMutability": "nonpayable", "superFunction": null, @@ -5369,14 +5369,14 @@ }, { "body": { - "id": 2829, + "id": 2842, "nodeType": "Block", "src": "2256:39:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2827, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -5385,25 +5385,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2823, + "id": 2836, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, + "referencedDeclaration": 2701, "src": "2262:11:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 2825, + "id": 2838, "indexExpression": { "argumentTypes": null, - "id": 2824, + "id": 2837, "name": "country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2816, + "referencedDeclaration": 2829, "src": "2274:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -5425,11 +5425,11 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2826, + "id": 2839, "name": "price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2818, + "referencedDeclaration": 2831, "src": "2285:5:2", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5442,24 +5442,24 @@ "typeString": "uint256" } }, - "id": 2828, + "id": 2841, "nodeType": "ExpressionStatement", "src": "2262:28:2" } ] }, "documentation": null, - "id": 2830, + "id": 2843, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2821, + "id": 2834, "modifierName": { "argumentTypes": null, - "id": 2820, + "id": 2833, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5477,15 +5477,15 @@ "name": "setLicenceShopPrice", "nodeType": "FunctionDefinition", "parameters": { - "id": 2819, + "id": 2832, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2816, + "id": 2829, "name": "country", "nodeType": "VariableDeclaration", - "scope": 2830, + "scope": 2843, "src": "2211:14:2", "stateVariable": false, "storageLocation": "default", @@ -5494,7 +5494,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2815, + "id": 2828, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2211:6:2", @@ -5508,10 +5508,10 @@ }, { "constant": false, - "id": 2818, + "id": 2831, "name": "price", "nodeType": "VariableDeclaration", - "scope": 2830, + "scope": 2843, "src": "2227:10:2", "stateVariable": false, "storageLocation": "default", @@ -5520,7 +5520,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2817, + "id": 2830, "name": "uint", "nodeType": "ElementaryTypeName", "src": "2227:4:2", @@ -5537,12 +5537,12 @@ }, "payable": false, "returnParameters": { - "id": 2822, + "id": 2835, "nodeType": "ParameterList", "parameters": [], "src": "2256:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2182:113:2", "stateMutability": "nonpayable", "superFunction": null, @@ -5550,14 +5550,14 @@ }, { "body": { - "id": 2845, + "id": 2858, "nodeType": "Block", "src": "2374:41:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2843, + "id": 2856, "isConstant": false, "isLValue": false, "isPure": false, @@ -5566,25 +5566,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2839, + "id": 2852, "name": "licenceTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2692, + "referencedDeclaration": 2705, "src": "2380:13:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 2841, + "id": 2854, "indexExpression": { "argumentTypes": null, - "id": 2840, + "id": 2853, "name": "country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2832, + "referencedDeclaration": 2845, "src": "2394:7:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -5606,11 +5606,11 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2842, + "id": 2855, "name": "price", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2834, + "referencedDeclaration": 2847, "src": "2405:5:2", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5623,24 +5623,24 @@ "typeString": "uint256" } }, - "id": 2844, + "id": 2857, "nodeType": "ExpressionStatement", "src": "2380:30:2" } ] }, "documentation": null, - "id": 2846, + "id": 2859, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2837, + "id": 2850, "modifierName": { "argumentTypes": null, - "id": 2836, + "id": 2849, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5658,15 +5658,15 @@ "name": "setLicenceTellerPrice", "nodeType": "FunctionDefinition", "parameters": { - "id": 2835, + "id": 2848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2832, + "id": 2845, "name": "country", "nodeType": "VariableDeclaration", - "scope": 2846, + "scope": 2859, "src": "2329:14:2", "stateVariable": false, "storageLocation": "default", @@ -5675,7 +5675,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2831, + "id": 2844, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2329:6:2", @@ -5689,10 +5689,10 @@ }, { "constant": false, - "id": 2834, + "id": 2847, "name": "price", "nodeType": "VariableDeclaration", - "scope": 2846, + "scope": 2859, "src": "2345:10:2", "stateVariable": false, "storageLocation": "default", @@ -5701,7 +5701,7 @@ "typeString": "uint256" }, "typeName": { - "id": 2833, + "id": 2846, "name": "uint", "nodeType": "ElementaryTypeName", "src": "2345:4:2", @@ -5718,12 +5718,12 @@ }, "payable": false, "returnParameters": { - "id": 2838, + "id": 2851, "nodeType": "ParameterList", "parameters": [], "src": "2374:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2298:117:2", "stateMutability": "nonpayable", "superFunction": null, @@ -5731,14 +5731,14 @@ }, { "body": { - "id": 2859, + "id": 2872, "nodeType": "Block", "src": "2474:45:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2857, + "id": 2870, "isConstant": false, "isLValue": false, "isPure": false, @@ -5747,25 +5747,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2853, + "id": 2866, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, + "referencedDeclaration": 2693, "src": "2480:17:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2855, + "id": 2868, "indexExpression": { "argumentTypes": null, - "id": 2854, + "id": 2867, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2848, + "referencedDeclaration": 2861, "src": "2498:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -5788,7 +5788,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 2856, + "id": 2869, "isConstant": false, "isLValue": false, "isPure": true, @@ -5809,24 +5809,24 @@ "typeString": "bool" } }, - "id": 2858, + "id": 2871, "nodeType": "ExpressionStatement", "src": "2480:34:2" } ] }, "documentation": null, - "id": 2860, + "id": 2873, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2851, + "id": 2864, "modifierName": { "argumentTypes": null, - "id": 2850, + "id": 2863, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5844,15 +5844,15 @@ "name": "openZoneShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2849, + "id": 2862, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2848, + "id": 2861, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2860, + "scope": 2873, "src": "2440:15:2", "stateVariable": false, "storageLocation": "default", @@ -5861,7 +5861,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2847, + "id": 2860, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2440:6:2", @@ -5878,12 +5878,12 @@ }, "payable": false, "returnParameters": { - "id": 2852, + "id": 2865, "nodeType": "ParameterList", "parameters": [], "src": "2474:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2418:101:2", "stateMutability": "nonpayable", "superFunction": null, @@ -5891,14 +5891,14 @@ }, { "body": { - "id": 2873, + "id": 2886, "nodeType": "Block", "src": "2579:46:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2871, + "id": 2884, "isConstant": false, "isLValue": false, "isPure": false, @@ -5907,25 +5907,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2867, + "id": 2880, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, + "referencedDeclaration": 2693, "src": "2585:17:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2869, + "id": 2882, "indexExpression": { "argumentTypes": null, - "id": 2868, + "id": 2881, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2862, + "referencedDeclaration": 2875, "src": "2603:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -5948,7 +5948,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 2870, + "id": 2883, "isConstant": false, "isLValue": false, "isPure": true, @@ -5969,24 +5969,24 @@ "typeString": "bool" } }, - "id": 2872, + "id": 2885, "nodeType": "ExpressionStatement", "src": "2585:35:2" } ] }, "documentation": null, - "id": 2874, + "id": 2887, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2865, + "id": 2878, "modifierName": { "argumentTypes": null, - "id": 2864, + "id": 2877, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6004,15 +6004,15 @@ "name": "closeZoneShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2863, + "id": 2876, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2862, + "id": 2875, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2874, + "scope": 2887, "src": "2545:15:2", "stateVariable": false, "storageLocation": "default", @@ -6021,7 +6021,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2861, + "id": 2874, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2545:6:2", @@ -6038,12 +6038,12 @@ }, "payable": false, "returnParameters": { - "id": 2866, + "id": 2879, "nodeType": "ParameterList", "parameters": [], "src": "2579:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2522:103:2", "stateMutability": "nonpayable", "superFunction": null, @@ -6051,14 +6051,14 @@ }, { "body": { - "id": 2887, + "id": 2900, "nodeType": "Block", "src": "2686:47:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2885, + "id": 2898, "isConstant": false, "isLValue": false, "isPure": false, @@ -6067,25 +6067,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2881, + "id": 2894, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, + "referencedDeclaration": 2697, "src": "2692:19:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2883, + "id": 2896, "indexExpression": { "argumentTypes": null, - "id": 2882, + "id": 2895, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2876, + "referencedDeclaration": 2889, "src": "2712:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -6108,7 +6108,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 2884, + "id": 2897, "isConstant": false, "isLValue": false, "isPure": true, @@ -6129,24 +6129,24 @@ "typeString": "bool" } }, - "id": 2886, + "id": 2899, "nodeType": "ExpressionStatement", "src": "2692:36:2" } ] }, "documentation": null, - "id": 2888, + "id": 2901, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2879, + "id": 2892, "modifierName": { "argumentTypes": null, - "id": 2878, + "id": 2891, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6164,15 +6164,15 @@ "name": "openZoneTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2877, + "id": 2890, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2876, + "id": 2889, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2888, + "scope": 2901, "src": "2652:15:2", "stateVariable": false, "storageLocation": "default", @@ -6181,7 +6181,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2875, + "id": 2888, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2652:6:2", @@ -6198,12 +6198,12 @@ }, "payable": false, "returnParameters": { - "id": 2880, + "id": 2893, "nodeType": "ParameterList", "parameters": [], "src": "2686:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2628:105:2", "stateMutability": "nonpayable", "superFunction": null, @@ -6211,14 +6211,14 @@ }, { "body": { - "id": 2901, + "id": 2914, "nodeType": "Block", "src": "2795:48:2", "statements": [ { "expression": { "argumentTypes": null, - "id": 2899, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -6227,25 +6227,25 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2895, + "id": 2908, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, + "referencedDeclaration": 2697, "src": "2801:19:2", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 2897, + "id": 2910, "indexExpression": { "argumentTypes": null, - "id": 2896, + "id": 2909, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2890, + "referencedDeclaration": 2903, "src": "2821:8:2", "typeDescriptions": { "typeIdentifier": "t_bytes2", @@ -6268,7 +6268,7 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 2898, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": true, @@ -6289,24 +6289,24 @@ "typeString": "bool" } }, - "id": 2900, + "id": 2913, "nodeType": "ExpressionStatement", "src": "2801:37:2" } ] }, "documentation": null, - "id": 2902, + "id": 2915, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2893, + "id": 2906, "modifierName": { "argumentTypes": null, - "id": 2892, + "id": 2905, "name": "onlyCMO", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -6324,15 +6324,15 @@ "name": "closeZoneTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2891, + "id": 2904, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2890, + "id": 2903, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2902, + "scope": 2915, "src": "2761:15:2", "stateVariable": false, "storageLocation": "default", @@ -6341,7 +6341,7 @@ "typeString": "bytes2" }, "typeName": { - "id": 2889, + "id": 2902, "name": "bytes2", "nodeType": "ElementaryTypeName", "src": "2761:6:2", @@ -6358,19 +6358,19 @@ }, "payable": false, "returnParameters": { - "id": 2894, + "id": 2907, "nodeType": "ParameterList", "parameters": [], "src": "2795:0:2" }, - "scope": 2903, + "scope": 2916, "src": "2736:107:2", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], - "scope": 2904, + "scope": 2917, "src": "208:2637:2" } ], @@ -6382,5 +6382,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:01:54.509Z" + "updatedAt": "2018-08-07T12:59:14.210Z" } \ No newline at end of file diff --git a/build/contracts/DetherToken.json b/build/contracts/DetherToken.json index 8a3f2f4..014bcb0 100644 --- a/build/contracts/DetherToken.json +++ b/build/contracts/DetherToken.json @@ -1218,5 +1218,5 @@ } }, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T16:32:21.561Z" + "updatedAt": "2018-08-07T13:18:48.700Z" } \ No newline at end of file diff --git a/build/contracts/ERC20Basic.json b/build/contracts/ERC20Basic.json index 0c0ccef..685d229 100644 --- a/build/contracts/ERC20Basic.json +++ b/build/contracts/ERC20Basic.json @@ -862,5 +862,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:06:59.301Z" + "updatedAt": "2018-08-07T13:06:25.498Z" } \ No newline at end of file diff --git a/build/contracts/ERC223Basic.json b/build/contracts/ERC223Basic.json index 7487f37..62c6239 100644 --- a/build/contracts/ERC223Basic.json +++ b/build/contracts/ERC223Basic.json @@ -810,5 +810,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:06:59.299Z" + "updatedAt": "2018-08-07T13:06:25.481Z" } \ No newline at end of file diff --git a/build/contracts/ERC223ReceivingContract.json b/build/contracts/ERC223ReceivingContract.json index f1e72dc..8054fd4 100644 --- a/build/contracts/ERC223ReceivingContract.json +++ b/build/contracts/ERC223ReceivingContract.json @@ -334,5 +334,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:06:59.299Z" + "updatedAt": "2018-08-07T13:06:25.481Z" } \ No newline at end of file diff --git a/build/contracts/ExchangeRateOracle.json b/build/contracts/ExchangeRateOracle.json index 866a941..b70fa47 100644 --- a/build/contracts/ExchangeRateOracle.json +++ b/build/contracts/ExchangeRateOracle.json @@ -20,7 +20,7 @@ "deployedBytecode": "0x", "sourceMap": "", "deployedSourceMap": "", - "source": "pragma solidity ^0.4.21;\n\nimport './DetherSetup.sol';\nimport './dth/tokenfoundry/ERC223ReceivingContract.sol';\nimport './zepellin/SafeMath.sol';\nimport './dth/tokenfoundry/ERC223Basic.sol';\nimport './DetherAccessControl.sol';\nimport 'bytes/BytesLib.sol';\n\ncontract ExchangeRateOracle {\n function getWeiPriceOneUsd() external view returns(uint256);\n}\n\n// only interface to save gas\ncontract DetherBank {\n function withdrawDthTeller(address _receiver) external;\n function withdrawDthShop(address _receiver) external;\n function withdrawDthShopAdmin(address _from, address _receiver) external;\n function addTokenShop(address _from, uint _value) external;\n function addTokenTeller(address _from, uint _value) external;\n function addEthTeller(address _from, uint _value) external payable returns (bool);\n function withdrawEth(address _from, address _to, uint _amount) external;\n function refundEth(address _from) external;\n function getDthTeller(address _user) public view returns (uint);\n function getDthShop(address _user) public view returns (uint);\n function getEthBalTeller(address _user) public view returns (uint);\n function getWeiSoldToday(address _user) public view returns (uint256 weiSoldToday);\n function transferOwnership(address newOwner) public;\n}\n\ncontract DetherCore is DetherSetup, ERC223ReceivingContract, SafeMath {\n using BytesLib for bytes;\n\n /**\n * Event\n */\n // when a Teller is registered\n event RegisterTeller(address indexed tellerAddress);\n // when a teller is deleted\n event DeleteTeller(address indexed tellerAddress);\n // when teller update\n event UpdateTeller(address indexed tellerAddress);\n // when a teller send to a buyer\n event Sent(address indexed _from, address indexed _to, uint amount);\n // when a shop register\n event RegisterShop(address shopAddress);\n // when a shop delete\n event DeleteShop(address shopAddress);\n // when a moderator delete a shop\n event DeleteShopModerator(address indexed moderator, address shopAddress);\n // when a moderator delete a teller\n event DeleteTellerModerator(address indexed moderator, address tellerAddress);\n\n /**\n * Modifier\n */\n // if teller has staked enough dth to\n modifier tellerHasStaked(uint amount) {\n require(bank.getDthTeller(msg.sender) >= amount);\n _;\n }\n // if shop has staked enough dth to\n modifier shopHasStaked(uint amount) {\n require(bank.getDthShop(msg.sender) >= amount);\n _;\n }\n\n /*\n * External contract\n */\n // DTH contract\n ERC223Basic public dth;\n // bank contract where are stored ETH and DTH\n DetherBank public bank;\n\n ExchangeRateOracle public priceOracle;\n\n // teller struct\n struct Teller {\n int32 lat; // Latitude\n int32 lng; // Longitude\n bytes2 countryId; // countryID (in hexa), ISO ALPHA 2 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\n bytes16 postalCode; // postalCode if present, in Hexa https://en.wikipedia.org/wiki/List_of_postal_codes\n\n int8 currencyId; // 1 - 100 , cf README\n bytes16 messenger; // telegrame nickname\n int8 avatarId; // 1 - 100 , regarding the front-end app you use\n int16 rates; // margin of tellers , -999 - +9999 , corresponding to -99,9% x 10 , 999,9% x 10\n bool buyer; // appear as a buyer as well on the map\n int16 buyRates; // margin of tellers of\n\n uint zoneIndex; // index of the zone mapping\n uint generalIndex; // index of general mapping\n bool online; // switch online/offline, if the tellers want to be inactive without deleting his point\n }\n\n mapping(address => mapping(address => uint)) internal pairSellsLoyaltyPerc;\n // from to percentage of loyalty points from gets\n\n /*\n * Reputation field V0.1\n * Reputation is based on volume sell, volume buy, and number of transaction\n */\n mapping(address => uint) volumeBuy;\n mapping(address => uint) volumeSell;\n mapping(address => uint) nbTrade;\n mapping(address => uint256) loyaltyPoints;\n\n // general mapping of teller\n mapping(address => Teller) teller;\n // mappoing of teller by COUNTRYCODE => POSTALCODE\n mapping(bytes2 => mapping(bytes16 => address[])) tellerInZone;\n // teller array currently registered\n address[] public tellerIndex; // unordered list of teller register on it\n bool isStarted = false;\n // shop struct\n struct Shop {\n int32 lat; // latitude\n int32 lng; // longitude\n bytes2 countryId; // countryID (in hexa char), ISO ALPHA 2 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\n bytes16 postalCode; // postalCode if present (in hexa char), in Hexa https://en.wikipedia.org/wiki/List_of_postal_codes\n bytes16 cat; // Category of the shop (in hex char), will be used later for search engine and auction by zone\n bytes16 name; // name of the shop (in hex char)\n bytes32 description; // description of the shop\n bytes16 opening; // opening hours, cf README for the format\n\n uint zoneIndex; // index of the zone mapping\n uint generalIndex; // index of general mapping\n bool detherShop; // bool if shop is registered by dether as business partnership (still required DTH)\n }\n\n // general mapping of shop\n mapping(address => Shop) shop;\n // mapping of teller by COUNTRYCODE => POSTALCODE\n mapping(bytes2 => mapping(bytes16 => address[])) shopInZone;\n // shop array currently registered\n address[] public shopIndex; // unordered list of shop register on it\n\n /*\n * Instanciation\n */\n function DetherCore() {\n ceoAddress = msg.sender;\n }\n function initContract (address _dth, address _bank) external onlyCEO {\n require(!isStarted);\n dth = ERC223Basic(_dth);\n bank = DetherBank(_bank);\n isStarted = true;\n }\n\n function setPriceOracle (address _priceOracle) external onlyCFO {\n priceOracle = ExchangeRateOracle(_priceOracle);\n }\n\n /**\n * Core fonction\n */\n\n /**\n * @dev Standard ERC223 function that will handle incoming token transfers.\n * This is the main function to register SHOP or TELLER, its calling when you\n * send token to the DTH contract and by passing data as bytes on the third\n * parameter.\n * Its not supposed to be use on its own but will only handle incoming DTH\n * transaction.\n * The _data will wait for\n * [1st byte] 1 (0x31) for shop OR 2 (0x32) for teller\n * FOR SHOP AND TELLER:\n * 2sd to 5th bytes lat\n * 6th to 9th bytes lng\n * ...\n * Modifier tier1: Check if address is whitelisted with the sms verification\n */\n function tokenFallback(address _from, uint _value, bytes _data) whenNotPaused tier1(_from ) {\n // require than the token fallback is triggered from the dth token contract\n require(msg.sender == address(dth));\n // check first byte to know if its shop or teller registration\n // 1 / 0x31 = shop // 2 / 0x32 = teller\n bytes1 _func = _data.toBytes1(0);\n int32 posLat = _data.toBytes1(1) == bytes1(0x01) ? int32(_data.toBytes4(2)) * -1 : int32(_data.toBytes4(2));\n int32 posLng = _data.toBytes1(6) == bytes1(0x01) ? int32(_data.toBytes4(7)) * -1 : int32(_data.toBytes4(7));\n if (_func == bytes1(0x31)) { // shop registration // GAS USED 311000\n // require staked greater than licence price\n require(_value >= licenceShop[_data.toBytes2(11)]);\n // require its not already shop\n require(!isShop(_from));\n // require zone is open\n require(openedCountryShop[_data.toBytes2(11)]);\n\n shop[_from].lat = posLat;\n shop[_from].lng = posLng;\n shop[_from].countryId = _data.toBytes2(11);\n shop[_from].postalCode = _data.toBytes16(13);\n shop[_from].cat = _data.toBytes16(29);\n shop[_from].name = _data.toBytes16(45);\n shop[_from].description = _data.toBytes32(61);\n shop[_from].opening = _data.toBytes16(93);\n shop[_from].generalIndex = shopIndex.push(_from) - 1;\n shop[_from].zoneIndex = shopInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(_from) - 1;\n emit RegisterShop(_from);\n bank.addTokenShop(_from,_value);\n dth.transfer(address(bank), _value);\n } else if (_func == bytes1(0x32)) { // teller registration -- GAS USED 310099\n // require staked greater than licence price\n require(_value >= licenceTeller[_data.toBytes2(11)]);\n // require is not already a teller\n require(!isTeller(_from));\n // require zone is open\n require(openedCountryTeller[_data.toBytes2(11)]);\n\n teller[_from].lat = posLat;\n teller[_from].lng = posLng;\n teller[_from].countryId = _data.toBytes2(11);\n teller[_from].postalCode = _data.toBytes16(13);\n teller[_from].avatarId = int8(_data.toBytes1(29));\n teller[_from].currencyId = int8(_data.toBytes1(30));\n teller[_from].messenger = _data.toBytes16(31);\n teller[_from].rates = int16(_data.toBytes2(47));\n teller[_from].buyer = _data.toBytes1(49) == bytes1(0x01) ? true : false;\n teller[_from].buyRates = int16(_data.toBytes2(50));\n teller[_from].generalIndex = tellerIndex.push(_from) - 1;\n teller[_from].zoneIndex = tellerInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(_from) - 1;\n teller[_from].online = true;\n emit RegisterTeller(_from);\n bank.addTokenTeller(_from, _value);\n dth.transfer(address(bank), _value);\n } else if (_func == bytes1(0x33)) { // shop bulk registration\n // We need to have the possibility to register in bulk some shop\n // For big retailer company willing to be listed on dether, we need to have a way to add\n // all their shop from one address\n // This functionnality will become available for anyone willing to list multiple shop\n // in the futures contract\n\n // Only the CSO should be able to register shop in bulk\n require(_from == csoAddress);\n // Each shop still need his own staking\n require(_value >= licenceShop[_data.toBytes2(11)]);\n // require the addresses not already registered\n require(!isShop(address(_data.toAddress(109))));\n // require zone is open\n require(openedCountryShop[_data.toBytes2(11)]);\n address newShopAddress = _data.toAddress(109);\n shop[newShopAddress].lat = posLat;\n shop[newShopAddress].lng = posLng;\n shop[newShopAddress].countryId = _data.toBytes2(11);\n shop[newShopAddress].postalCode = _data.toBytes16(13);\n shop[newShopAddress].cat = _data.toBytes16(29);\n shop[newShopAddress].name = _data.toBytes16(45);\n shop[newShopAddress].description = _data.toBytes32(61);\n shop[newShopAddress].opening = _data.toBytes16(93);\n shop[newShopAddress].generalIndex = shopIndex.push(newShopAddress) - 1;\n shop[newShopAddress].zoneIndex = shopInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(newShopAddress) - 1;\n shop[newShopAddress].detherShop = true;\n emit RegisterShop(newShopAddress);\n bank.addTokenShop(newShopAddress, _value);\n dth.transfer(address(bank), _value);\n }\n }\n\n /**\n * a teller can update his profile\n * If a teller want to change his location, he would need to delete and recreate\n * a new point\n */\n function updateTeller(\n int8 currencyId,\n bytes16 messenger,\n int8 avatarId,\n int16 rates,\n bool online\n ) public payable {\n require(isTeller(msg.sender));\n if (currencyId != teller[msg.sender].currencyId)\n teller[msg.sender].currencyId = currencyId;\n if (teller[msg.sender].messenger != messenger)\n teller[msg.sender].messenger = messenger;\n if (teller[msg.sender].avatarId != avatarId)\n teller[msg.sender].avatarId = avatarId;\n if (teller[msg.sender].rates != rates)\n teller[msg.sender].rates = rates;\n if (teller[msg.sender].online != online)\n teller[msg.sender].online = online;\n if (msg.value > 0) {\n bank.addEthTeller.value(msg.value)(msg.sender, msg.value);\n }\n emit UpdateTeller(msg.sender);\n }\n\n // mapping for limiting the sell amount\n // tier countryId usdDailyLimit\n mapping(uint => mapping (bytes2 => uint)) limitTier;\n\n function setSellDailyLimit(uint _tier, bytes2 _countryId, uint256 _limitUsd) public onlyCFO {\n limitTier[_tier][_countryId] = _limitUsd;\n }\n function getSellDailyLimit(uint _tier, bytes2 _countryId) public view returns(uint256 limitUsd) {\n limitUsd = limitTier[_tier][_countryId];\n }\n\n modifier doesNotExceedDailySellLimit(address _teller, uint256 _weiSellAmount) {\n // limits are set per country\n bytes2 countryId = teller[_teller].countryId;\n\n // user is always tier1, and could be tier2\n uint256 usdDailyLimit = getSellDailyLimit(isTier2(_teller) ? 2 : 1, countryId);\n\n // weiPriceOneUsd is set by the oracle (which runs every day at midnight)\n uint256 weiDailyLimit = SafeMath.mul(priceOracle.getWeiPriceOneUsd(), usdDailyLimit);\n\n // with each sell we update wei sold today for that user inside the Bank contract\n uint256 weiSoldToday = bank.getWeiSoldToday(_teller);\n\n uint256 newWeiSoldToday = SafeMath.add(weiSoldToday, _weiSellAmount);\n\n // we may not exceed the daily wei limit with this sell\n require(newWeiSoldToday <= weiDailyLimit);\n _;\n }\n\n function getPairSellLoyaltyPerc(address _from, address _to) public view returns(uint256) {\n return pairSellsLoyaltyPerc[_from][_to];\n }\n\n function getLoyaltyPoints(address who) public view returns (uint256) {\n return loyaltyPoints[who];\n }\n\n /**\n * SellEth\n * average gas cost: 123173\n * @param _to -> the address for the receiver\n * @param _amount -> the amount to send\n */\n function sellEth(address _to, uint _amount)\n whenNotPaused\n doesNotExceedDailySellLimit(msg.sender, _amount)\n external\n {\n require(isTeller(msg.sender));\n require(_to != msg.sender);\n // send eth to the receiver from the bank contract\n // this will also update eth amount sold 'today' by msg.sender\n bank.withdrawEth(msg.sender, _to, _amount);\n\n // increase reput for the buyer and the seller Only if the buyer is also whitelisted,\n // It's a way to incentive user to trade on the system\n if (smsCertifier.certified(_to)) {\n uint currentSellerLoyaltyPointsPerc = pairSellsLoyaltyPerc[msg.sender][_to];\n if (currentSellerLoyaltyPointsPerc == 0) {\n // this is the first sell between seller and buyer, set to 100%\n pairSellsLoyaltyPerc[msg.sender][_to] = 10000;\n currentSellerLoyaltyPointsPerc = 10000;\n }\n\n // add percentage of loyaltyPoints of this sell to seller's loyaltyPoints\n loyaltyPoints[msg.sender] = SafeMath.add(loyaltyPoints[msg.sender], SafeMath.mul(_amount, currentSellerLoyaltyPointsPerc) / 10000);\n\n // update the loyaltyPoints percentage of the seller, there will be a 21% decrease with every sell to the same buyer (100 - 21 = 79)\n pairSellsLoyaltyPerc[msg.sender][_to] = SafeMath.mul(currentSellerLoyaltyPointsPerc, 79) / 100;\n\n volumeBuy[_to] = SafeMath.add(volumeBuy[_to], _amount);\n volumeSell[msg.sender] = SafeMath.add(volumeSell[msg.sender], _amount);\n nbTrade[msg.sender] += 1;\n }\n emit Sent(msg.sender, _to, _amount);\n }\n\n /**\n * switchStatus\n * Turn status teller on/off\n */\n function switchStatus(bool _status) external {\n if (teller[msg.sender].online != _status)\n teller[msg.sender].online = _status;\n }\n\n /**\n * addFunds\n * teller can add more funds on his sellpoint\n */\n function addFunds() external payable {\n require(isTeller(msg.sender));\n require(bank.addEthTeller.value(msg.value)(msg.sender, msg.value));\n }\n\n // gas used 67841\n // a teller can delete a sellpoint\n function deleteTeller() external {\n require(isTeller(msg.sender));\n uint rowToDelete1 = teller[msg.sender].zoneIndex;\n address keyToMove1 = tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode][tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode].length - 1];\n tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode][rowToDelete1] = keyToMove1;\n teller[keyToMove1].zoneIndex = rowToDelete1;\n tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode].length--;\n\n uint rowToDelete2 = teller[msg.sender].generalIndex;\n address keyToMove2 = tellerIndex[tellerIndex.length - 1];\n tellerIndex[rowToDelete2] = keyToMove2;\n teller[keyToMove2].generalIndex = rowToDelete2;\n tellerIndex.length--;\n delete teller[msg.sender];\n bank.withdrawDthTeller(msg.sender);\n bank.refundEth(msg.sender);\n emit DeleteTeller(msg.sender);\n }\n\n // gas used 67841\n // A moderator can delete a sellpoint\n function deleteTellerMods(address _toDelete) isTellerModerator(msg.sender) external {\n require(isTeller(_toDelete));\n uint rowToDelete1 = teller[_toDelete].zoneIndex;\n address keyToMove1 = tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode][tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode].length - 1];\n tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode][rowToDelete1] = keyToMove1;\n teller[keyToMove1].zoneIndex = rowToDelete1;\n tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode].length--;\n\n uint rowToDelete2 = teller[_toDelete].generalIndex;\n address keyToMove2 = tellerIndex[tellerIndex.length - 1];\n tellerIndex[rowToDelete2] = keyToMove2;\n teller[keyToMove2].generalIndex = rowToDelete2;\n tellerIndex.length--;\n delete teller[_toDelete];\n bank.withdrawDthTeller(_toDelete);\n bank.refundEth(_toDelete);\n emit DeleteTellerModerator(msg.sender, _toDelete);\n }\n\n // gas used 67841\n // A shop owner can delete his point.\n function deleteShop() external {\n require(isShop(msg.sender));\n uint rowToDelete1 = shop[msg.sender].zoneIndex;\n address keyToMove1 = shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode][shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode].length - 1];\n shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode][rowToDelete1] = keyToMove1;\n shop[keyToMove1].zoneIndex = rowToDelete1;\n shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode].length--;\n\n uint rowToDelete2 = shop[msg.sender].generalIndex;\n address keyToMove2 = shopIndex[shopIndex.length - 1];\n shopIndex[rowToDelete2] = keyToMove2;\n shop[keyToMove2].generalIndex = rowToDelete2;\n shopIndex.length--;\n delete shop[msg.sender];\n bank.withdrawDthShop(msg.sender);\n emit DeleteShop(msg.sender);\n }\n\n // gas used 67841\n // Moderator can delete a shop point\n function deleteShopMods(address _toDelete) isShopModerator(msg.sender) external {\n uint rowToDelete1 = shop[_toDelete].zoneIndex;\n address keyToMove1 = shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode][shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode].length - 1];\n shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode][rowToDelete1] = keyToMove1;\n shop[keyToMove1].zoneIndex = rowToDelete1;\n shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode].length--;\n\n uint rowToDelete2 = shop[_toDelete].generalIndex;\n address keyToMove2 = shopIndex[shopIndex.length - 1];\n shopIndex[rowToDelete2] = keyToMove2;\n shop[keyToMove2].generalIndex = rowToDelete2;\n shopIndex.length--;\n if (!shop[_toDelete].detherShop)\n bank.withdrawDthShop(_toDelete);\n else\n bank.withdrawDthShopAdmin(_toDelete, csoAddress);\n delete shop[_toDelete];\n emit DeleteShopModerator(msg.sender, _toDelete);\n }\n\n /**\n * GETTER\n */\n\n // get teller\n // return teller info\n function getTeller(address _teller) public view returns (\n int32 lat,\n int32 lng,\n bytes2 countryId,\n bytes16 postalCode,\n int8 currencyId,\n bytes16 messenger,\n int8 avatarId,\n int16 rates,\n uint balance,\n bool online,\n bool buyer,\n int16 buyRates\n ) {\n Teller storage theTeller = teller[_teller];\n lat = theTeller.lat;\n lng = theTeller.lng;\n countryId = theTeller.countryId;\n postalCode = theTeller.postalCode;\n currencyId = theTeller.currencyId;\n messenger = theTeller.messenger;\n avatarId = theTeller.avatarId;\n rates = theTeller.rates;\n online = theTeller.online;\n buyer = theTeller.buyer;\n buyRates = theTeller.buyRates;\n balance = bank.getEthBalTeller(_teller);\n }\n\n /*\n * Shop ----------------------------------\n * return Shop value\n */\n function getShop(address _shop) public view returns (\n int32 lat,\n int32 lng,\n bytes2 countryId,\n bytes16 postalCode,\n bytes16 cat,\n bytes16 name,\n bytes32 description,\n bytes16 opening\n ) {\n Shop storage theShop = shop[_shop];\n lat = theShop.lat;\n lng = theShop.lng;\n countryId = theShop.countryId;\n postalCode = theShop.postalCode;\n cat = theShop.cat;\n name = theShop.name;\n description = theShop.description;\n opening = theShop.opening;\n }\n\n // get reput\n // return reputation data from teller\n function getReput(address _teller) public view returns (\n uint buyVolume,\n uint sellVolume,\n uint numTrade,\n uint256 loyaltyPoints_\n ) {\n buyVolume = volumeBuy[_teller];\n sellVolume = volumeSell[_teller];\n numTrade = nbTrade[_teller];\n loyaltyPoints_ = loyaltyPoints[_teller];\n }\n // return balance of teller put in escrow\n function getTellerBalance(address _teller) public view returns (uint) {\n return bank.getEthBalTeller(_teller);\n }\n\n // return an array of address of all zone present on a zone\n // zone is a mapping COUNTRY => POSTALCODE\n function getZoneShop(bytes2 _country, bytes16 _postalcode) public view returns (address[]) {\n return shopInZone[_country][_postalcode];\n }\n\n // return array of address of all shop\n function getAllShops() public view returns (address[]) {\n return shopIndex;\n }\n\n function isShop(address _shop) public view returns (bool ){\n return (shop[_shop].countryId != bytes2(0x0));\n }\n\n // return an array of address of all teller present on a zone\n // zone is a mapping COUNTRY => POSTALCODE\n function getZoneTeller(bytes2 _country, bytes16 _postalcode) public view returns (address[]) {\n return tellerInZone[_country][_postalcode];\n }\n\n // return array of address of all teller\n function getAllTellers() public view returns (address[]) {\n return tellerIndex;\n }\n\n // return if teller or not\n function isTeller(address _teller) public view returns (bool ){\n return (teller[_teller].countryId != bytes2(0x0));\n }\n\n /*\n * misc\n */\n // return info about how much DTH the shop has staked\n function getStakedShop(address _shop) public view returns (uint) {\n return bank.getDthShop(_shop);\n }\n // return info about how much DTH the teller has staked\n function getStakedTeller(address _teller) public view returns (uint) {\n return bank.getDthTeller(_teller);\n }\n // give ownership to the bank contract\n function transferBankOwnership(address _newbankowner) external onlyCEO whenPaused {\n bank.transferOwnership(_newbankowner);\n }\n}\n", + "source": "pragma solidity ^0.4.23;\n\nimport './DetherSetup.sol';\nimport './dth/tokenfoundry/ERC223ReceivingContract.sol';\nimport './zepellin/SafeMath.sol';\nimport './dth/tokenfoundry/ERC223Basic.sol';\nimport './DetherAccessControl.sol';\nimport 'bytes/BytesLib.sol';\n\ncontract ExchangeRateOracle {\n function getWeiPriceOneUsd() external view returns(uint256);\n}\n\n// only interface to save gas\ncontract DetherBank {\n function withdrawDthTeller(address _receiver) external;\n function withdrawDthShop(address _receiver) external;\n function withdrawDthShopAdmin(address _from, address _receiver) external;\n function addTokenShop(address _from, uint _value) external;\n function addTokenTeller(address _from, uint _value) external;\n function addEthTeller(address _from, uint _value) external payable returns (bool);\n function withdrawEth(address _from, address _to, uint _amount) external;\n function refundEth(address _from) external;\n function getDthTeller(address _user) public view returns (uint);\n function getDthShop(address _user) public view returns (uint);\n function getEthBalTeller(address _user) public view returns (uint);\n function getWeiSoldToday(address _user) public view returns (uint256 weiSoldToday);\n function transferOwnership(address newOwner) public;\n}\n\ncontract DetherCore is DetherSetup, ERC223ReceivingContract, SafeMath {\n using BytesLib for bytes;\n\n /**\n * Event\n */\n // when a Teller is registered\n event RegisterTeller(address indexed tellerAddress);\n // when a teller add funds for trade\n event AddFunds(address indexed tellerAddress, uint amount);\n // when a teller is deleted\n event DeleteTeller(address indexed tellerAddress);\n // when teller update\n event UpdateTeller(address indexed tellerAddress);\n // when a teller send to a buyer\n event Sent(address indexed _from, address indexed _to, uint amount);\n // when a shop register\n event RegisterShop(address shopAddress);\n // when a shop delete\n event DeleteShop(address shopAddress);\n // when a moderator delete a shop\n event DeleteShopModerator(address indexed moderator, address shopAddress);\n // when a moderator delete a teller\n event DeleteTellerModerator(address indexed moderator, address tellerAddress);\n\n /**\n * Modifier\n */\n // if teller has staked enough dth to\n modifier tellerHasStaked(uint amount) {\n require(bank.getDthTeller(msg.sender) >= amount);\n _;\n }\n // if shop has staked enough dth to\n modifier shopHasStaked(uint amount) {\n require(bank.getDthShop(msg.sender) >= amount);\n _;\n }\n\n /*\n * External contract\n */\n // DTH contract\n ERC223Basic public dth;\n // bank contract where are stored ETH and DTH\n DetherBank public bank;\n\n ExchangeRateOracle public priceOracle;\n\n // teller struct\n struct Teller {\n int32 lat; // Latitude\n int32 lng; // Longitude\n bytes2 countryId; // countryID (in hexa), ISO ALPHA 2 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\n bytes16 postalCode; // postalCode if present, in Hexa https://en.wikipedia.org/wiki/List_of_postal_codes\n\n int8 currencyId; // 1 - 100 , cf README\n bytes16 messenger; // telegrame nickname\n int8 avatarId; // 1 - 100 , regarding the front-end app you use\n int16 rates; // margin of tellers , -999 - +9999 , corresponding to -99,9% x 10 , 999,9% x 10\n bool buyer; // appear as a buyer as well on the map\n int16 buyRates; // margin of tellers of\n\n uint zoneIndex; // index of the zone mapping\n uint generalIndex; // index of general mapping\n bool online; // switch online/offline, if the tellers want to be inactive without deleting his point\n }\n\n mapping(address => mapping(address => uint)) internal pairSellsLoyaltyPerc;\n // from to percentage of loyalty points from gets\n\n /*\n * Reputation field V0.1\n * Reputation is based on volume sell, volume buy, and number of transaction\n */\n mapping(address => uint) volumeBuy;\n mapping(address => uint) volumeSell;\n mapping(address => uint) nbTrade;\n mapping(address => uint256) loyaltyPoints;\n\n // general mapping of teller\n mapping(address => Teller) teller;\n // mappoing of teller by COUNTRYCODE => POSTALCODE\n mapping(bytes2 => mapping(bytes16 => address[])) tellerInZone;\n // teller array currently registered\n address[] public tellerIndex; // unordered list of teller register on it\n bool isStarted = false;\n // shop struct\n struct Shop {\n int32 lat; // latitude\n int32 lng; // longitude\n bytes2 countryId; // countryID (in hexa char), ISO ALPHA 2 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\n bytes16 postalCode; // postalCode if present (in hexa char), in Hexa https://en.wikipedia.org/wiki/List_of_postal_codes\n bytes16 cat; // Category of the shop (in hex char), will be used later for search engine and auction by zone\n bytes16 name; // name of the shop (in hex char)\n bytes32 description; // description of the shop\n bytes16 opening; // opening hours, cf README for the format\n\n uint zoneIndex; // index of the zone mapping\n uint generalIndex; // index of general mapping\n bool detherShop; // bool if shop is registered by dether as business partnership (still required DTH)\n }\n\n // general mapping of shop\n mapping(address => Shop) shop;\n // mapping of teller by COUNTRYCODE => POSTALCODE\n mapping(bytes2 => mapping(bytes16 => address[])) shopInZone;\n // shop array currently registered\n address[] public shopIndex; // unordered list of shop register on it\n\n /*\n * Instanciation\n */\n function DetherCore() {\n ceoAddress = msg.sender;\n }\n function initContract (address _dth, address _bank) external onlyCEO {\n require(!isStarted);\n dth = ERC223Basic(_dth);\n bank = DetherBank(_bank);\n isStarted = true;\n }\n\n function setPriceOracle (address _priceOracle) external onlyCFO {\n priceOracle = ExchangeRateOracle(_priceOracle);\n }\n\n /**\n * Core fonction\n */\n\n /**\n * @dev Standard ERC223 function that will handle incoming token transfers.\n * This is the main function to register SHOP or TELLER, its calling when you\n * send token to the DTH contract and by passing data as bytes on the third\n * parameter.\n * Its not supposed to be use on its own but will only handle incoming DTH\n * transaction.\n * The _data will wait for\n * [1st byte] 1 (0x31) for shop OR 2 (0x32) for teller\n * FOR SHOP AND TELLER:\n * 2sd to 5th bytes lat\n * 6th to 9th bytes lng\n * ...\n * Modifier tier1: Check if address is whitelisted with the sms verification\n */\n function tokenFallback(address _from, uint _value, bytes _data) whenNotPaused tier1(_from ) {\n // require than the token fallback is triggered from the dth token contract\n require(msg.sender == address(dth));\n // check first byte to know if its shop or teller registration\n // 1 / 0x31 = shop // 2 / 0x32 = teller\n bytes1 _func = _data.toBytes1(0);\n int32 posLat = _data.toBytes1(1) == bytes1(0x01) ? int32(_data.toBytes4(2)) * -1 : int32(_data.toBytes4(2));\n int32 posLng = _data.toBytes1(6) == bytes1(0x01) ? int32(_data.toBytes4(7)) * -1 : int32(_data.toBytes4(7));\n if (_func == bytes1(0x31)) { // shop registration // GAS USED 311000\n // require staked greater than licence price\n require(_value >= licenceShop[_data.toBytes2(11)]);\n // require its not already shop\n require(!isShop(_from));\n // require zone is open\n require(openedCountryShop[_data.toBytes2(11)]);\n\n shop[_from].lat = posLat;\n shop[_from].lng = posLng;\n shop[_from].countryId = _data.toBytes2(11);\n shop[_from].postalCode = _data.toBytes16(13);\n shop[_from].cat = _data.toBytes16(29);\n shop[_from].name = _data.toBytes16(45);\n shop[_from].description = _data.toBytes32(61);\n shop[_from].opening = _data.toBytes16(93);\n shop[_from].generalIndex = shopIndex.push(_from) - 1;\n shop[_from].zoneIndex = shopInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(_from) - 1;\n emit RegisterShop(_from);\n bank.addTokenShop(_from,_value);\n dth.transfer(address(bank), _value);\n } else if (_func == bytes1(0x32)) { // teller registration -- GAS USED 310099\n // require staked greater than licence price\n require(_value >= licenceTeller[_data.toBytes2(11)]);\n // require is not already a teller\n require(!isTeller(_from));\n // require zone is open\n require(openedCountryTeller[_data.toBytes2(11)]);\n\n teller[_from].lat = posLat;\n teller[_from].lng = posLng;\n teller[_from].countryId = _data.toBytes2(11);\n teller[_from].postalCode = _data.toBytes16(13);\n teller[_from].avatarId = int8(_data.toBytes1(29));\n teller[_from].currencyId = int8(_data.toBytes1(30));\n teller[_from].messenger = _data.toBytes16(31);\n teller[_from].rates = int16(_data.toBytes2(47));\n teller[_from].buyer = _data.toBytes1(49) == bytes1(0x01) ? true : false;\n teller[_from].buyRates = int16(_data.toBytes2(50));\n teller[_from].generalIndex = tellerIndex.push(_from) - 1;\n teller[_from].zoneIndex = tellerInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(_from) - 1;\n teller[_from].online = true;\n emit RegisterTeller(_from);\n bank.addTokenTeller(_from, _value);\n dth.transfer(address(bank), _value);\n } else if (_func == bytes1(0x33)) { // shop bulk registration\n // We need to have the possibility to register in bulk some shop\n // For big retailer company willing to be listed on dether, we need to have a way to add\n // all their shop from one address\n // This functionnality will become available for anyone willing to list multiple shop\n // in the futures contract\n\n // Only the CSO should be able to register shop in bulk\n require(_from == csoAddress);\n // Each shop still need his own staking\n require(_value >= licenceShop[_data.toBytes2(11)]);\n // require the addresses not already registered\n require(!isShop(address(_data.toAddress(109))));\n // require zone is open\n require(openedCountryShop[_data.toBytes2(11)]);\n address newShopAddress = _data.toAddress(109);\n shop[newShopAddress].lat = posLat;\n shop[newShopAddress].lng = posLng;\n shop[newShopAddress].countryId = _data.toBytes2(11);\n shop[newShopAddress].postalCode = _data.toBytes16(13);\n shop[newShopAddress].cat = _data.toBytes16(29);\n shop[newShopAddress].name = _data.toBytes16(45);\n shop[newShopAddress].description = _data.toBytes32(61);\n shop[newShopAddress].opening = _data.toBytes16(93);\n shop[newShopAddress].generalIndex = shopIndex.push(newShopAddress) - 1;\n shop[newShopAddress].zoneIndex = shopInZone[_data.toBytes2(11)][_data.toBytes16(13)].push(newShopAddress) - 1;\n shop[newShopAddress].detherShop = true;\n emit RegisterShop(newShopAddress);\n bank.addTokenShop(newShopAddress, _value);\n dth.transfer(address(bank), _value);\n }\n }\n\n /**\n * a teller can update his profile\n * If a teller want to change his location, he would need to delete and recreate\n * a new point\n */\n function updateTeller(\n int8 currencyId,\n bytes16 messenger,\n int8 avatarId,\n int16 rates,\n bool online\n ) public payable {\n require(isTeller(msg.sender));\n if (currencyId != teller[msg.sender].currencyId)\n teller[msg.sender].currencyId = currencyId;\n if (teller[msg.sender].messenger != messenger)\n teller[msg.sender].messenger = messenger;\n if (teller[msg.sender].avatarId != avatarId)\n teller[msg.sender].avatarId = avatarId;\n if (teller[msg.sender].rates != rates)\n teller[msg.sender].rates = rates;\n if (teller[msg.sender].online != online)\n teller[msg.sender].online = online;\n if (msg.value > 0) {\n bank.addEthTeller.value(msg.value)(msg.sender, msg.value);\n }\n emit UpdateTeller(msg.sender);\n }\n\n // mapping for limiting the sell amount\n // tier countryId usdDailyLimit\n mapping(uint => mapping (bytes2 => uint)) limitTier;\n\n function setSellDailyLimit(uint _tier, bytes2 _countryId, uint256 _limitUsd) public onlyCFO {\n limitTier[_tier][_countryId] = _limitUsd;\n }\n function getSellDailyLimit(uint _tier, bytes2 _countryId) public view returns(uint256 limitUsd) {\n limitUsd = limitTier[_tier][_countryId];\n }\n\n modifier doesNotExceedDailySellLimit(address _teller, uint256 _weiSellAmount) {\n // limits are set per country\n bytes2 countryId = teller[_teller].countryId;\n\n // user is always tier1, and could be tier2\n uint256 usdDailyLimit = getSellDailyLimit(isTier2(_teller) ? 2 : 1, countryId);\n\n // weiPriceOneUsd is set by the oracle (which runs every day at midnight)\n uint256 weiDailyLimit = SafeMath.mul(priceOracle.getWeiPriceOneUsd(), usdDailyLimit);\n\n // with each sell we update wei sold today for that user inside the Bank contract\n uint256 weiSoldToday = bank.getWeiSoldToday(_teller);\n\n uint256 newWeiSoldToday = SafeMath.add(weiSoldToday, _weiSellAmount);\n\n // we may not exceed the daily wei limit with this sell\n require(newWeiSoldToday <= weiDailyLimit);\n _;\n }\n\n function getPairSellLoyaltyPerc(address _from, address _to) public view returns(uint256) {\n return pairSellsLoyaltyPerc[_from][_to];\n }\n\n function getLoyaltyPoints(address who) public view returns (uint256) {\n return loyaltyPoints[who];\n }\n\n /**\n * SellEth\n * average gas cost: 123173\n * @param _to -> the address for the receiver\n * @param _amount -> the amount to send\n */\n function sellEth(address _to, uint _amount)\n whenNotPaused\n doesNotExceedDailySellLimit(msg.sender, _amount)\n external\n {\n require(isTeller(msg.sender));\n require(_to != msg.sender);\n // send eth to the receiver from the bank contract\n // this will also update eth amount sold 'today' by msg.sender\n bank.withdrawEth(msg.sender, _to, _amount);\n\n // increase reput for the buyer and the seller Only if the buyer is also whitelisted,\n // It's a way to incentive user to trade on the system\n if (smsCertifier.certified(_to)) {\n uint currentSellerLoyaltyPointsPerc = pairSellsLoyaltyPerc[msg.sender][_to];\n if (currentSellerLoyaltyPointsPerc == 0) {\n // this is the first sell between seller and buyer, set to 100%\n pairSellsLoyaltyPerc[msg.sender][_to] = 10000;\n currentSellerLoyaltyPointsPerc = 10000;\n }\n\n // add percentage of loyaltyPoints of this sell to seller's loyaltyPoints\n loyaltyPoints[msg.sender] = SafeMath.add(loyaltyPoints[msg.sender], SafeMath.mul(_amount, currentSellerLoyaltyPointsPerc) / 10000);\n\n // update the loyaltyPoints percentage of the seller, there will be a 21% decrease with every sell to the same buyer (100 - 21 = 79)\n pairSellsLoyaltyPerc[msg.sender][_to] = SafeMath.mul(currentSellerLoyaltyPointsPerc, 79) / 100;\n\n volumeBuy[_to] = SafeMath.add(volumeBuy[_to], _amount);\n volumeSell[msg.sender] = SafeMath.add(volumeSell[msg.sender], _amount);\n nbTrade[msg.sender] += 1;\n }\n emit Sent(msg.sender, _to, _amount);\n }\n\n /**\n * switchStatus\n * Turn status teller on/off\n */\n function switchStatus(bool _status) external {\n if (teller[msg.sender].online != _status)\n teller[msg.sender].online = _status;\n }\n\n /**\n * addFunds\n * teller can add more funds on his sellpoint\n */\n function addFunds() external payable {\n require(isTeller(msg.sender));\n require(bank.addEthTeller.value(msg.value)(msg.sender, msg.value));\n emit AddFunds(msg.sender, msg.value);\n }\n\n // gas used 67841\n // a teller can delete a sellpoint\n function deleteTeller() external {\n require(isTeller(msg.sender));\n uint rowToDelete1 = teller[msg.sender].zoneIndex;\n address keyToMove1 = tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode][tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode].length - 1];\n tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode][rowToDelete1] = keyToMove1;\n teller[keyToMove1].zoneIndex = rowToDelete1;\n tellerInZone[teller[msg.sender].countryId][teller[msg.sender].postalCode].length--;\n\n uint rowToDelete2 = teller[msg.sender].generalIndex;\n address keyToMove2 = tellerIndex[tellerIndex.length - 1];\n tellerIndex[rowToDelete2] = keyToMove2;\n teller[keyToMove2].generalIndex = rowToDelete2;\n tellerIndex.length--;\n delete teller[msg.sender];\n bank.withdrawDthTeller(msg.sender);\n bank.refundEth(msg.sender);\n emit DeleteTeller(msg.sender);\n }\n\n // gas used 67841\n // A moderator can delete a sellpoint\n function deleteTellerMods(address _toDelete) isTellerModerator(msg.sender) external {\n require(isTeller(_toDelete));\n uint rowToDelete1 = teller[_toDelete].zoneIndex;\n address keyToMove1 = tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode][tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode].length - 1];\n tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode][rowToDelete1] = keyToMove1;\n teller[keyToMove1].zoneIndex = rowToDelete1;\n tellerInZone[teller[_toDelete].countryId][teller[_toDelete].postalCode].length--;\n\n uint rowToDelete2 = teller[_toDelete].generalIndex;\n address keyToMove2 = tellerIndex[tellerIndex.length - 1];\n tellerIndex[rowToDelete2] = keyToMove2;\n teller[keyToMove2].generalIndex = rowToDelete2;\n tellerIndex.length--;\n delete teller[_toDelete];\n bank.withdrawDthTeller(_toDelete);\n bank.refundEth(_toDelete);\n emit DeleteTellerModerator(msg.sender, _toDelete);\n }\n\n // gas used 67841\n // A shop owner can delete his point.\n function deleteShop() external {\n require(isShop(msg.sender));\n uint rowToDelete1 = shop[msg.sender].zoneIndex;\n address keyToMove1 = shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode][shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode].length - 1];\n shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode][rowToDelete1] = keyToMove1;\n shop[keyToMove1].zoneIndex = rowToDelete1;\n shopInZone[shop[msg.sender].countryId][shop[msg.sender].postalCode].length--;\n\n uint rowToDelete2 = shop[msg.sender].generalIndex;\n address keyToMove2 = shopIndex[shopIndex.length - 1];\n shopIndex[rowToDelete2] = keyToMove2;\n shop[keyToMove2].generalIndex = rowToDelete2;\n shopIndex.length--;\n delete shop[msg.sender];\n bank.withdrawDthShop(msg.sender);\n emit DeleteShop(msg.sender);\n }\n\n // gas used 67841\n // Moderator can delete a shop point\n function deleteShopMods(address _toDelete) isShopModerator(msg.sender) external {\n uint rowToDelete1 = shop[_toDelete].zoneIndex;\n address keyToMove1 = shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode][shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode].length - 1];\n shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode][rowToDelete1] = keyToMove1;\n shop[keyToMove1].zoneIndex = rowToDelete1;\n shopInZone[shop[_toDelete].countryId][shop[_toDelete].postalCode].length--;\n\n uint rowToDelete2 = shop[_toDelete].generalIndex;\n address keyToMove2 = shopIndex[shopIndex.length - 1];\n shopIndex[rowToDelete2] = keyToMove2;\n shop[keyToMove2].generalIndex = rowToDelete2;\n shopIndex.length--;\n if (!shop[_toDelete].detherShop)\n bank.withdrawDthShop(_toDelete);\n else\n bank.withdrawDthShopAdmin(_toDelete, csoAddress);\n delete shop[_toDelete];\n emit DeleteShopModerator(msg.sender, _toDelete);\n }\n\n /**\n * GETTER\n */\n\n // get teller\n // return teller info\n function getTeller(address _teller) public view returns (\n int32 lat,\n int32 lng,\n bytes2 countryId,\n bytes16 postalCode,\n int8 currencyId,\n bytes16 messenger,\n int8 avatarId,\n int16 rates,\n uint balance,\n bool online,\n bool buyer,\n int16 buyRates\n ) {\n Teller storage theTeller = teller[_teller];\n lat = theTeller.lat;\n lng = theTeller.lng;\n countryId = theTeller.countryId;\n postalCode = theTeller.postalCode;\n currencyId = theTeller.currencyId;\n messenger = theTeller.messenger;\n avatarId = theTeller.avatarId;\n rates = theTeller.rates;\n online = theTeller.online;\n buyer = theTeller.buyer;\n buyRates = theTeller.buyRates;\n balance = bank.getEthBalTeller(_teller);\n }\n\n /*\n * Shop ----------------------------------\n * return Shop value\n */\n function getShop(address _shop) public view returns (\n int32 lat,\n int32 lng,\n bytes2 countryId,\n bytes16 postalCode,\n bytes16 cat,\n bytes16 name,\n bytes32 description,\n bytes16 opening\n ) {\n Shop storage theShop = shop[_shop];\n lat = theShop.lat;\n lng = theShop.lng;\n countryId = theShop.countryId;\n postalCode = theShop.postalCode;\n cat = theShop.cat;\n name = theShop.name;\n description = theShop.description;\n opening = theShop.opening;\n }\n\n // get reput\n // return reputation data from teller\n function getReput(address _teller) public view returns (\n uint buyVolume,\n uint sellVolume,\n uint numTrade,\n uint256 loyaltyPoints_\n ) {\n buyVolume = volumeBuy[_teller];\n sellVolume = volumeSell[_teller];\n numTrade = nbTrade[_teller];\n loyaltyPoints_ = loyaltyPoints[_teller];\n }\n // return balance of teller put in escrow\n function getTellerBalance(address _teller) public view returns (uint) {\n return bank.getEthBalTeller(_teller);\n }\n\n // return an array of address of all zone present on a zone\n // zone is a mapping COUNTRY => POSTALCODE\n function getZoneShop(bytes2 _country, bytes16 _postalcode) public view returns (address[]) {\n return shopInZone[_country][_postalcode];\n }\n\n // return array of address of all shop\n function getAllShops() public view returns (address[]) {\n return shopIndex;\n }\n\n function isShop(address _shop) public view returns (bool ){\n return (shop[_shop].countryId != bytes2(0x0));\n }\n\n // return an array of address of all teller present on a zone\n // zone is a mapping COUNTRY => POSTALCODE\n function getZoneTeller(bytes2 _country, bytes16 _postalcode) public view returns (address[]) {\n return tellerInZone[_country][_postalcode];\n }\n\n // return array of address of all teller\n function getAllTellers() public view returns (address[]) {\n return tellerIndex;\n }\n\n // return if teller or not\n function isTeller(address _teller) public view returns (bool ){\n return (teller[_teller].countryId != bytes2(0x0));\n }\n\n /*\n * misc\n */\n // return info about how much DTH the shop has staked\n function getStakedShop(address _shop) public view returns (uint) {\n return bank.getDthShop(_shop);\n }\n // return info about how much DTH the teller has staked\n function getStakedTeller(address _teller) public view returns (uint) {\n return bank.getDthTeller(_teller);\n }\n // give ownership to the bank contract\n function transferBankOwnership(address _newbankowner) external onlyCEO whenPaused {\n bank.transferOwnership(_newbankowner);\n }\n}\n", "sourcePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherCore.sol", "ast": { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherCore.sol", @@ -29,13 +29,13 @@ 388 ], "DetherCore": [ - 2659 + 2672 ], "ExchangeRateOracle": [ 300 ] }, - "id": 2660, + "id": 2673, "nodeType": "SourceUnit", "nodes": [ { @@ -44,7 +44,7 @@ "solidity", "^", "0.4", - ".21" + ".23" ], "nodeType": "PragmaDirective", "src": "0:24:1" @@ -54,8 +54,8 @@ "file": "./DetherSetup.sol", "id": 289, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2904, + "scope": 2673, + "sourceUnit": 2917, "src": "26:27:1", "symbolAliases": [], "unitAlias": "" @@ -65,8 +65,8 @@ "file": "./dth/tokenfoundry/ERC223ReceivingContract.sol", "id": 290, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2961, + "scope": 2673, + "sourceUnit": 2974, "src": "54:56:1", "symbolAliases": [], "unitAlias": "" @@ -76,8 +76,8 @@ "file": "./zepellin/SafeMath.sol", "id": 291, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 3059, + "scope": 2673, + "sourceUnit": 3072, "src": "111:33:1", "symbolAliases": [], "unitAlias": "" @@ -87,8 +87,8 @@ "file": "./dth/tokenfoundry/ERC223Basic.sol", "id": 292, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2949, + "scope": 2673, + "sourceUnit": 2962, "src": "145:44:1", "symbolAliases": [], "unitAlias": "" @@ -98,7 +98,7 @@ "file": "./DetherAccessControl.sol", "id": 293, "nodeType": "ImportDirective", - "scope": 2660, + "scope": 2673, "sourceUnit": 287, "src": "190:35:1", "symbolAliases": [], @@ -109,8 +109,8 @@ "file": "bytes/BytesLib.sol", "id": 294, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 3331, + "scope": 2673, + "sourceUnit": 3344, "src": "226:28:1", "symbolAliases": [], "unitAlias": "" @@ -185,7 +185,7 @@ "visibility": "external" } ], - "scope": 2660, + "scope": 2673, "src": "256:94:1" }, { @@ -1221,7 +1221,7 @@ "visibility": "public" } ], - "scope": 2660, + "scope": 2673, "src": "382:888:1" }, { @@ -1233,10 +1233,10 @@ "id": 389, "name": "DetherSetup", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2903, + "referencedDeclaration": 2916, "src": "1295:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetherSetup_$2903", + "typeIdentifier": "t_contract$_DetherSetup_$2916", "typeString": "contract DetherSetup" } }, @@ -1251,10 +1251,10 @@ "id": 391, "name": "ERC223ReceivingContract", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2960, + "referencedDeclaration": 2973, "src": "1308:23:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223ReceivingContract_$2960", + "typeIdentifier": "t_contract$_ERC223ReceivingContract_$2973", "typeString": "contract ERC223ReceivingContract" } }, @@ -1269,10 +1269,10 @@ "id": 393, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3058, + "referencedDeclaration": 3071, "src": "1333:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$3058", + "typeIdentifier": "t_contract$_SafeMath_$3071", "typeString": "contract SafeMath" } }, @@ -1283,19 +1283,19 @@ ], "contractDependencies": [ 286, - 2903, - 2960, - 3058 + 2916, + 2973, + 3071 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 2659, + "id": 2672, "linearizedBaseContracts": [ - 2659, - 3058, - 2960, - 2903, + 2672, + 3071, + 2973, + 2916, 286 ], "name": "DetherCore", @@ -1308,10 +1308,10 @@ "id": 395, "name": "BytesLib", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3330, + "referencedDeclaration": 3343, "src": "1352:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_BytesLib_$3330", + "typeIdentifier": "t_contract$_BytesLib_$3343", "typeString": "library BytesLib" } }, @@ -1373,11 +1373,11 @@ { "anonymous": false, "documentation": null, - "id": 405, - "name": "DeleteTeller", + "id": 407, + "name": "AddFunds", "nodeType": "EventDefinition", "parameters": { - "id": 404, + "id": 406, "nodeType": "ParameterList", "parameters": [ { @@ -1386,8 +1386,8 @@ "indexed": true, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 405, - "src": "1533:29:1", + "scope": 407, + "src": "1538:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1398,7 +1398,7 @@ "id": 402, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1533:7:1", + "src": "1538:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1406,30 +1406,99 @@ }, "value": null, "visibility": "internal" + }, + { + "constant": false, + "id": 405, + "indexed": false, + "name": "amount", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "1569:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1569:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" } ], - "src": "1532:31:1" + "src": "1537:44:1" }, - "src": "1514:50:1" + "src": "1523:59:1" }, { "anonymous": false, "documentation": null, - "id": 409, + "id": 411, + "name": "DeleteTeller", + "nodeType": "EventDefinition", + "parameters": { + "id": 410, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 409, + "indexed": true, + "name": "tellerAddress", + "nodeType": "VariableDeclaration", + "scope": 411, + "src": "1634:29:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 408, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1634:7:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "1633:31:1" + }, + "src": "1615:50:1" + }, + { + "anonymous": false, + "documentation": null, + "id": 415, "name": "UpdateTeller", "nodeType": "EventDefinition", "parameters": { - "id": 408, + "id": 414, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 407, + "id": 413, "indexed": true, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 409, - "src": "1610:29:1", + "scope": 415, + "src": "1711:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1437,10 +1506,10 @@ "typeString": "address" }, "typeName": { - "id": 406, + "id": 412, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1610:7:1", + "src": "1711:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1450,28 +1519,28 @@ "visibility": "internal" } ], - "src": "1609:31:1" + "src": "1710:31:1" }, - "src": "1591:50:1" + "src": "1692:50:1" }, { "anonymous": false, "documentation": null, - "id": 417, + "id": 423, "name": "Sent", "nodeType": "EventDefinition", "parameters": { - "id": 416, + "id": 422, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 411, + "id": 417, "indexed": true, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1690:21:1", + "scope": 423, + "src": "1791:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1479,10 +1548,10 @@ "typeString": "address" }, "typeName": { - "id": 410, + "id": 416, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1690:7:1", + "src": "1791:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1493,12 +1562,12 @@ }, { "constant": false, - "id": 413, + "id": 419, "indexed": true, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1713:19:1", + "scope": 423, + "src": "1814:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1506,10 +1575,10 @@ "typeString": "address" }, "typeName": { - "id": 412, + "id": 418, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1713:7:1", + "src": "1814:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1520,12 +1589,12 @@ }, { "constant": false, - "id": 415, + "id": 421, "indexed": false, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1734:11:1", + "scope": 423, + "src": "1835:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1533,10 +1602,10 @@ "typeString": "uint256" }, "typeName": { - "id": 414, + "id": 420, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1734:4:1", + "src": "1835:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1546,28 +1615,28 @@ "visibility": "internal" } ], - "src": "1689:57:1" + "src": "1790:57:1" }, - "src": "1679:68:1" + "src": "1780:68:1" }, { "anonymous": false, "documentation": null, - "id": 421, + "id": 427, "name": "RegisterShop", "nodeType": "EventDefinition", "parameters": { - "id": 420, + "id": 426, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 419, + "id": 425, "indexed": false, "name": "shopAddress", "nodeType": "VariableDeclaration", - "scope": 421, - "src": "1795:19:1", + "scope": 427, + "src": "1896:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1575,10 +1644,10 @@ "typeString": "address" }, "typeName": { - "id": 418, + "id": 424, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1795:7:1", + "src": "1896:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1588,28 +1657,28 @@ "visibility": "internal" } ], - "src": "1794:21:1" + "src": "1895:21:1" }, - "src": "1776:40:1" + "src": "1877:40:1" }, { "anonymous": false, "documentation": null, - "id": 425, + "id": 431, "name": "DeleteShop", "nodeType": "EventDefinition", "parameters": { - "id": 424, + "id": 430, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 423, + "id": 429, "indexed": false, "name": "shopAddress", "nodeType": "VariableDeclaration", - "scope": 425, - "src": "1860:19:1", + "scope": 431, + "src": "1961:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1617,10 +1686,10 @@ "typeString": "address" }, "typeName": { - "id": 422, + "id": 428, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1860:7:1", + "src": "1961:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1630,28 +1699,28 @@ "visibility": "internal" } ], - "src": "1859:21:1" + "src": "1960:21:1" }, - "src": "1843:38:1" + "src": "1944:38:1" }, { "anonymous": false, "documentation": null, - "id": 431, + "id": 437, "name": "DeleteShopModerator", "nodeType": "EventDefinition", "parameters": { - "id": 430, + "id": 436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 427, + "id": 433, "indexed": true, "name": "moderator", "nodeType": "VariableDeclaration", - "scope": 431, - "src": "1946:25:1", + "scope": 437, + "src": "2047:25:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1659,10 +1728,10 @@ "typeString": "address" }, "typeName": { - "id": 426, + "id": 432, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1946:7:1", + "src": "2047:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1673,12 +1742,12 @@ }, { "constant": false, - "id": 429, + "id": 435, "indexed": false, "name": "shopAddress", "nodeType": "VariableDeclaration", - "scope": 431, - "src": "1973:19:1", + "scope": 437, + "src": "2074:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1686,10 +1755,10 @@ "typeString": "address" }, "typeName": { - "id": 428, + "id": 434, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1973:7:1", + "src": "2074:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1699,28 +1768,28 @@ "visibility": "internal" } ], - "src": "1945:48:1" + "src": "2046:48:1" }, - "src": "1920:74:1" + "src": "2021:74:1" }, { "anonymous": false, "documentation": null, - "id": 437, + "id": 443, "name": "DeleteTellerModerator", "nodeType": "EventDefinition", "parameters": { - "id": 436, + "id": 442, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 433, + "id": 439, "indexed": true, "name": "moderator", "nodeType": "VariableDeclaration", - "scope": 437, - "src": "2063:25:1", + "scope": 443, + "src": "2164:25:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1728,10 +1797,10 @@ "typeString": "address" }, "typeName": { - "id": 432, + "id": 438, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2063:7:1", + "src": "2164:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1742,12 +1811,12 @@ }, { "constant": false, - "id": 435, + "id": 441, "indexed": false, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 437, - "src": "2090:21:1", + "scope": 443, + "src": "2191:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1755,10 +1824,10 @@ "typeString": "address" }, "typeName": { - "id": 434, + "id": 440, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2090:7:1", + "src": "2191:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1768,15 +1837,15 @@ "visibility": "internal" } ], - "src": "2062:50:1" + "src": "2163:50:1" }, - "src": "2035:78:1" + "src": "2136:78:1" }, { "body": { - "id": 452, + "id": 458, "nodeType": "Block", - "src": "2221:66:1", + "src": "2322:66:1", "statements": [ { "expression": { @@ -1788,7 +1857,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 448, + "id": 454, "isConstant": false, "isLValue": false, "isPure": false, @@ -1800,18 +1869,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 444, + "id": 450, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "2253:3:1", + "referencedDeclaration": 3390, + "src": "2354:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 445, + "id": 451, "isConstant": false, "isLValue": false, "isPure": false, @@ -1819,7 +1888,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2253:10:1", + "src": "2354:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1835,18 +1904,18 @@ ], "expression": { "argumentTypes": null, - "id": 442, + "id": 448, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "2235:4:1", + "referencedDeclaration": 479, + "src": "2336:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 443, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -1854,13 +1923,13 @@ "memberName": "getDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 361, - "src": "2235:17:1", + "src": "2336:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 446, + "id": 452, "isConstant": false, "isLValue": false, "isPure": false, @@ -1868,7 +1937,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2235:29:1", + "src": "2336:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1878,18 +1947,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 447, + "id": 453, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 439, - "src": "2268:6:1", + "referencedDeclaration": 445, + "src": "2369:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2235:39:1", + "src": "2336:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1903,21 +1972,21 @@ "typeString": "bool" } ], - "id": 441, + "id": 447, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "2227:7:1", + "referencedDeclaration": 3393, + "src": "2328:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 449, + "id": 455, "isConstant": false, "isLValue": false, "isPure": false, @@ -1925,38 +1994,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2227:48:1", + "src": "2328:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 450, + "id": 456, "nodeType": "ExpressionStatement", - "src": "2227:48:1" + "src": "2328:48:1" }, { - "id": 451, + "id": 457, "nodeType": "PlaceholderStatement", - "src": "2281:1:1" + "src": "2382:1:1" } ] }, "documentation": "Modifier", - "id": 453, + "id": 459, "name": "tellerHasStaked", "nodeType": "ModifierDefinition", "parameters": { - "id": 440, + "id": 446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 439, + "id": 445, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 453, - "src": "2208:11:1", + "scope": 459, + "src": "2309:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1964,10 +2033,10 @@ "typeString": "uint256" }, "typeName": { - "id": 438, + "id": 444, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2208:4:1", + "src": "2309:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1977,16 +2046,16 @@ "visibility": "internal" } ], - "src": "2207:13:1" + "src": "2308:13:1" }, - "src": "2183:104:1", + "src": "2284:104:1", "visibility": "internal" }, { "body": { - "id": 468, + "id": 474, "nodeType": "Block", - "src": "2364:64:1", + "src": "2465:64:1", "statements": [ { "expression": { @@ -1998,7 +2067,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 464, + "id": 470, "isConstant": false, "isLValue": false, "isPure": false, @@ -2010,18 +2079,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 460, + "id": 466, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "2394:3:1", + "referencedDeclaration": 3390, + "src": "2495:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 461, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, @@ -2029,7 +2098,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2394:10:1", + "src": "2495:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2045,18 +2114,18 @@ ], "expression": { "argumentTypes": null, - "id": 458, + "id": 464, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "2378:4:1", + "referencedDeclaration": 479, + "src": "2479:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 459, + "id": 465, "isConstant": false, "isLValue": false, "isPure": false, @@ -2064,13 +2133,13 @@ "memberName": "getDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 368, - "src": "2378:15:1", + "src": "2479:15:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 462, + "id": 468, "isConstant": false, "isLValue": false, "isPure": false, @@ -2078,7 +2147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2378:27:1", + "src": "2479:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2088,18 +2157,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 463, + "id": 469, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 455, - "src": "2409:6:1", + "referencedDeclaration": 461, + "src": "2510:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2378:37:1", + "src": "2479:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2113,21 +2182,21 @@ "typeString": "bool" } ], - "id": 457, + "id": 463, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "2370:7:1", + "referencedDeclaration": 3393, + "src": "2471:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 465, + "id": 471, "isConstant": false, "isLValue": false, "isPure": false, @@ -2135,38 +2204,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2370:46:1", + "src": "2471:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 466, + "id": 472, "nodeType": "ExpressionStatement", - "src": "2370:46:1" + "src": "2471:46:1" }, { - "id": 467, + "id": 473, "nodeType": "PlaceholderStatement", - "src": "2422:1:1" + "src": "2523:1:1" } ] }, "documentation": null, - "id": 469, + "id": 475, "name": "shopHasStaked", "nodeType": "ModifierDefinition", "parameters": { - "id": 456, + "id": 462, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 455, + "id": 461, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 469, - "src": "2351:11:1", + "scope": 475, + "src": "2452:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2174,10 +2243,10 @@ "typeString": "uint256" }, "typeName": { - "id": 454, + "id": 460, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2351:4:1", + "src": "2452:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2187,33 +2256,33 @@ "visibility": "internal" } ], - "src": "2350:13:1" + "src": "2451:13:1" }, - "src": "2328:100:1", + "src": "2429:100:1", "visibility": "internal" }, { "constant": false, - "id": 471, + "id": 477, "name": "dth", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2484:22:1", + "scope": 2672, + "src": "2585:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" }, "typeName": { "contractScope": null, - "id": 470, + "id": 476, "name": "ERC223Basic", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2948, - "src": "2484:11:1", + "referencedDeclaration": 2961, + "src": "2585:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, @@ -2222,11 +2291,11 @@ }, { "constant": false, - "id": 473, + "id": 479, "name": "bank", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2558:22:1", + "scope": 2672, + "src": "2659:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2235,11 +2304,11 @@ }, "typeName": { "contractScope": null, - "id": 472, + "id": 478, "name": "DetherBank", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 388, - "src": "2558:10:1", + "src": "2659:10:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -2250,11 +2319,11 @@ }, { "constant": false, - "id": 475, + "id": 481, "name": "priceOracle", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2585:37:1", + "scope": 2672, + "src": "2686:37:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2263,11 +2332,11 @@ }, "typeName": { "contractScope": null, - "id": 474, + "id": 480, "name": "ExchangeRateOracle", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 300, - "src": "2585:18:1", + "src": "2686:18:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" @@ -2278,15 +2347,15 @@ }, { "canonicalName": "DetherCore.Teller", - "id": 502, + "id": 508, "members": [ { "constant": false, - "id": 477, + "id": 483, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2666:9:1", + "scope": 508, + "src": "2767:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2294,10 +2363,10 @@ "typeString": "int32" }, "typeName": { - "id": 476, + "id": 482, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2666:5:1", + "src": "2767:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -2308,11 +2377,11 @@ }, { "constant": false, - "id": 479, + "id": 485, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2704:9:1", + "scope": 508, + "src": "2805:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2320,10 +2389,10 @@ "typeString": "int32" }, "typeName": { - "id": 478, + "id": 484, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2704:5:1", + "src": "2805:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -2334,11 +2403,11 @@ }, { "constant": false, - "id": 481, + "id": 487, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2743:16:1", + "scope": 508, + "src": "2844:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2346,10 +2415,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 480, + "id": 486, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "2743:6:1", + "src": "2844:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -2360,11 +2429,11 @@ }, { "constant": false, - "id": 483, + "id": 489, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2854:18:1", + "scope": 508, + "src": "2955:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2372,10 +2441,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 482, + "id": 488, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2854:7:1", + "src": "2955:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -2386,11 +2455,11 @@ }, { "constant": false, - "id": 485, + "id": 491, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2966:15:1", + "scope": 508, + "src": "3067:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2398,10 +2467,10 @@ "typeString": "int8" }, "typeName": { - "id": 484, + "id": 490, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "2966:4:1", + "src": "3067:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -2412,11 +2481,11 @@ }, { "constant": false, - "id": 487, + "id": 493, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3015:17:1", + "scope": 508, + "src": "3116:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2424,10 +2493,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 486, + "id": 492, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "3015:7:1", + "src": "3116:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -2438,11 +2507,11 @@ }, { "constant": false, - "id": 489, + "id": 495, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3063:13:1", + "scope": 508, + "src": "3164:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2450,10 +2519,10 @@ "typeString": "int8" }, "typeName": { - "id": 488, + "id": 494, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "3063:4:1", + "src": "3164:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -2464,11 +2533,11 @@ }, { "constant": false, - "id": 491, + "id": 497, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3138:11:1", + "scope": 508, + "src": "3239:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2476,10 +2545,10 @@ "typeString": "int16" }, "typeName": { - "id": 490, + "id": 496, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "3138:5:1", + "src": "3239:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -2490,11 +2559,11 @@ }, { "constant": false, - "id": 493, + "id": 499, "name": "buyer", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3246:10:1", + "scope": 508, + "src": "3347:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2502,10 +2571,10 @@ "typeString": "bool" }, "typeName": { - "id": 492, + "id": 498, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3246:4:1", + "src": "3347:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2516,11 +2585,11 @@ }, { "constant": false, - "id": 495, + "id": 501, "name": "buyRates", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3312:14:1", + "scope": 508, + "src": "3413:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2528,10 +2597,10 @@ "typeString": "int16" }, "typeName": { - "id": 494, + "id": 500, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "3312:5:1", + "src": "3413:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -2542,11 +2611,11 @@ }, { "constant": false, - "id": 497, + "id": 503, "name": "zoneIndex", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3365:14:1", + "scope": 508, + "src": "3466:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2554,10 +2623,10 @@ "typeString": "uint256" }, "typeName": { - "id": 496, + "id": 502, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3365:4:1", + "src": "3466:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2568,11 +2637,11 @@ }, { "constant": false, - "id": 499, + "id": 505, "name": "generalIndex", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3420:17:1", + "scope": 508, + "src": "3521:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2580,10 +2649,10 @@ "typeString": "uint256" }, "typeName": { - "id": 498, + "id": 504, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3420:4:1", + "src": "3521:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2594,11 +2663,11 @@ }, { "constant": false, - "id": 501, + "id": 507, "name": "online", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3474:11:1", + "scope": 508, + "src": "3575:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2606,10 +2675,10 @@ "typeString": "bool" }, "typeName": { - "id": 500, + "id": 506, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3474:4:1", + "src": "3575:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2621,17 +2690,17 @@ ], "name": "Teller", "nodeType": "StructDefinition", - "scope": 2659, - "src": "2646:941:1", + "scope": 2672, + "src": "2747:941:1", "visibility": "public" }, { "constant": false, - "id": 508, + "id": 514, "name": "pairSellsLoyaltyPerc", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3591:74:1", + "scope": 2672, + "src": "3692:74:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2639,46 +2708,46 @@ "typeString": "mapping(address => mapping(address => uint256))" }, "typeName": { - "id": 507, + "id": 513, "keyType": { - "id": 503, + "id": 509, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3599:7:1", + "src": "3700:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3591:44:1", + "src": "3692:44:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" }, "valueType": { - "id": 506, + "id": 512, "keyType": { - "id": 504, + "id": 510, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3618:7:1", + "src": "3719:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3610:24:1", + "src": "3711:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 505, + "id": 511, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3629:4:1", + "src": "3730:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2691,11 +2760,11 @@ }, { "constant": false, - "id": 512, + "id": 518, "name": "volumeBuy", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3866:34:1", + "scope": 2672, + "src": "3967:34:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2703,28 +2772,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 511, + "id": 517, "keyType": { - "id": 509, + "id": 515, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3874:7:1", + "src": "3975:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3866:24:1", + "src": "3967:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 510, + "id": 516, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3885:4:1", + "src": "3986:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2736,11 +2805,11 @@ }, { "constant": false, - "id": 516, + "id": 522, "name": "volumeSell", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3904:35:1", + "scope": 2672, + "src": "4005:35:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2748,28 +2817,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 515, + "id": 521, "keyType": { - "id": 513, + "id": 519, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3912:7:1", + "src": "4013:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3904:24:1", + "src": "4005:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 514, + "id": 520, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3923:4:1", + "src": "4024:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2781,11 +2850,11 @@ }, { "constant": false, - "id": 520, + "id": 526, "name": "nbTrade", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3943:32:1", + "scope": 2672, + "src": "4044:32:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2793,28 +2862,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 519, + "id": 525, "keyType": { - "id": 517, + "id": 523, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3951:7:1", + "src": "4052:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3943:24:1", + "src": "4044:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 518, + "id": 524, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3962:4:1", + "src": "4063:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2826,11 +2895,11 @@ }, { "constant": false, - "id": 524, + "id": 530, "name": "loyaltyPoints", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3979:41:1", + "scope": 2672, + "src": "4080:41:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2838,28 +2907,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 523, + "id": 529, "keyType": { - "id": 521, + "id": 527, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3987:7:1", + "src": "4088:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3979:27:1", + "src": "4080:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 522, + "id": 528, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3998:7:1", + "src": "4099:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2871,44 +2940,44 @@ }, { "constant": false, - "id": 528, + "id": 534, "name": "teller", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4056:33:1", + "scope": 2672, + "src": "4157:33:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller)" }, "typeName": { - "id": 527, + "id": 533, "keyType": { - "id": 525, + "id": 531, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4064:7:1", + "src": "4165:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "4056:26:1", + "src": "4157:26:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller)" }, "valueType": { "contractScope": null, - "id": 526, + "id": 532, "name": "Teller", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 502, - "src": "4075:6:1", + "referencedDeclaration": 508, + "src": "4176:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" } } @@ -2918,11 +2987,11 @@ }, { "constant": false, - "id": 535, + "id": 541, "name": "tellerInZone", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4146:61:1", + "scope": 2672, + "src": "4247:61:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2930,56 +2999,56 @@ "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "typeName": { - "id": 534, + "id": 540, "keyType": { - "id": 529, + "id": 535, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "4154:6:1", + "src": "4255:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "4146:48:1", + "src": "4247:48:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "valueType": { - "id": 533, + "id": 539, "keyType": { - "id": 530, + "id": 536, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4172:7:1", + "src": "4273:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, "nodeType": "Mapping", - "src": "4164:29:1", + "src": "4265:29:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[])" }, "valueType": { "baseType": { - "id": 531, + "id": 537, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4183:7:1", + "src": "4284:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 532, + "id": 538, "length": null, "nodeType": "ArrayTypeName", - "src": "4183:9:1", + "src": "4284:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -2992,11 +3061,11 @@ }, { "constant": false, - "id": 538, + "id": 544, "name": "tellerIndex", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4250:28:1", + "scope": 2672, + "src": "4351:28:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3005,19 +3074,19 @@ }, "typeName": { "baseType": { - "id": 536, + "id": 542, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4250:7:1", + "src": "4351:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 537, + "id": 543, "length": null, "nodeType": "ArrayTypeName", - "src": "4250:9:1", + "src": "4351:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -3028,11 +3097,11 @@ }, { "constant": false, - "id": 541, + "id": 547, "name": "isStarted", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4325:22:1", + "scope": 2672, + "src": "4426:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3040,10 +3109,10 @@ "typeString": "bool" }, "typeName": { - "id": 539, + "id": 545, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "4325:4:1", + "src": "4426:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3052,14 +3121,14 @@ "value": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 540, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "4342:5:1", + "src": "4443:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -3071,15 +3140,15 @@ }, { "canonicalName": "DetherCore.Shop", - "id": 564, + "id": 570, "members": [ { "constant": false, - "id": 543, + "id": 549, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4386:9:1", + "scope": 570, + "src": "4487:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3087,10 +3156,10 @@ "typeString": "int32" }, "typeName": { - "id": 542, + "id": 548, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "4386:5:1", + "src": "4487:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -3101,11 +3170,11 @@ }, { "constant": false, - "id": 545, + "id": 551, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4424:9:1", + "scope": 570, + "src": "4525:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3113,10 +3182,10 @@ "typeString": "int32" }, "typeName": { - "id": 544, + "id": 550, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "4424:5:1", + "src": "4525:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -3127,11 +3196,11 @@ }, { "constant": false, - "id": 547, + "id": 553, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4463:16:1", + "scope": 570, + "src": "4564:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3139,10 +3208,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 546, + "id": 552, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "4463:6:1", + "src": "4564:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -3153,11 +3222,11 @@ }, { "constant": false, - "id": 549, + "id": 555, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4579:18:1", + "scope": 570, + "src": "4680:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3165,10 +3234,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 548, + "id": 554, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4579:7:1", + "src": "4680:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -3179,11 +3248,11 @@ }, { "constant": false, - "id": 551, + "id": 557, "name": "cat", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4705:11:1", + "scope": 570, + "src": "4806:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3191,10 +3260,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 550, + "id": 556, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4705:7:1", + "src": "4806:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -3205,11 +3274,11 @@ }, { "constant": false, - "id": 553, + "id": 559, "name": "name", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4827:12:1", + "scope": 570, + "src": "4928:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3217,10 +3286,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 552, + "id": 558, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4928:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -3231,11 +3300,11 @@ }, { "constant": false, - "id": 555, + "id": 561, "name": "description", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4887:19:1", + "scope": 570, + "src": "4988:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3243,10 +3312,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 554, + "id": 560, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "4887:7:1", + "src": "4988:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -3257,11 +3326,11 @@ }, { "constant": false, - "id": 557, + "id": 563, "name": "opening", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4940:15:1", + "scope": 570, + "src": "5041:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3269,10 +3338,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 556, + "id": 562, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4940:7:1", + "src": "5041:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -3283,11 +3352,11 @@ }, { "constant": false, - "id": 559, + "id": 565, "name": "zoneIndex", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5010:14:1", + "scope": 570, + "src": "5111:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3295,10 +3364,10 @@ "typeString": "uint256" }, "typeName": { - "id": 558, + "id": 564, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5010:4:1", + "src": "5111:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3309,11 +3378,11 @@ }, { "constant": false, - "id": 561, + "id": 567, "name": "generalIndex", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5065:17:1", + "scope": 570, + "src": "5166:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3321,10 +3390,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 566, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5065:4:1", + "src": "5166:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3335,11 +3404,11 @@ }, { "constant": false, - "id": 563, + "id": 569, "name": "detherShop", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5119:15:1", + "scope": 570, + "src": "5220:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3347,10 +3416,10 @@ "typeString": "bool" }, "typeName": { - "id": 562, + "id": 568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5119:4:1", + "src": "5220:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3362,50 +3431,50 @@ ], "name": "Shop", "nodeType": "StructDefinition", - "scope": 2659, - "src": "4368:861:1", + "scope": 2672, + "src": "4469:861:1", "visibility": "public" }, { "constant": false, - "id": 568, + "id": 574, "name": "shop", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5262:29:1", + "scope": 2672, + "src": "5363:29:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop)" }, "typeName": { - "id": 567, + "id": 573, "keyType": { - "id": 565, + "id": 571, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5270:7:1", + "src": "5371:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "5262:24:1", + "src": "5363:24:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop)" }, "valueType": { "contractScope": null, - "id": 566, + "id": 572, "name": "Shop", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 564, - "src": "5281:4:1", + "referencedDeclaration": 570, + "src": "5382:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" } } @@ -3415,11 +3484,11 @@ }, { "constant": false, - "id": 575, + "id": 581, "name": "shopInZone", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5347:59:1", + "scope": 2672, + "src": "5448:59:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3427,56 +3496,56 @@ "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "typeName": { - "id": 574, + "id": 580, "keyType": { - "id": 569, + "id": 575, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "5355:6:1", + "src": "5456:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "5347:48:1", + "src": "5448:48:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "valueType": { - "id": 573, + "id": 579, "keyType": { - "id": 570, + "id": 576, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "5373:7:1", + "src": "5474:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, "nodeType": "Mapping", - "src": "5365:29:1", + "src": "5466:29:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[])" }, "valueType": { "baseType": { - "id": 571, + "id": 577, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5384:7:1", + "src": "5485:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 572, + "id": 578, "length": null, "nodeType": "ArrayTypeName", - "src": "5384:9:1", + "src": "5485:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -3489,11 +3558,11 @@ }, { "constant": false, - "id": 578, + "id": 584, "name": "shopIndex", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5447:26:1", + "scope": 2672, + "src": "5548:26:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3502,19 +3571,19 @@ }, "typeName": { "baseType": { - "id": 576, + "id": 582, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5447:7:1", + "src": "5548:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 577, + "id": 583, "length": null, "nodeType": "ArrayTypeName", - "src": "5447:9:1", + "src": "5548:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -3525,26 +3594,26 @@ }, { "body": { - "id": 586, + "id": 592, "nodeType": "Block", - "src": "5571:33:1", + "src": "5672:33:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 584, + "id": 590, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 581, + "id": 587, "name": "ceoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7, - "src": "5576:10:1", + "src": "5677:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3556,18 +3625,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 582, + "id": 588, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "5589:3:1", + "referencedDeclaration": 3390, + "src": "5690:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 583, + "id": 589, "isConstant": false, "isLValue": false, "isPure": false, @@ -3575,26 +3644,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5589:10:1", + "src": "5690:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "5576:23:1", + "src": "5677:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 585, + "id": 591, "nodeType": "ExpressionStatement", - "src": "5576:23:1" + "src": "5677:23:1" } ] }, "documentation": null, - "id": 587, + "id": 593, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -3602,29 +3671,29 @@ "name": "DetherCore", "nodeType": "FunctionDefinition", "parameters": { - "id": 579, + "id": 585, "nodeType": "ParameterList", "parameters": [], - "src": "5568:2:1" + "src": "5669:2:1" }, "payable": false, "returnParameters": { - "id": 580, + "id": 586, "nodeType": "ParameterList", "parameters": [], - "src": "5571:0:1" + "src": "5672:0:1" }, - "scope": 2659, - "src": "5549:55:1", + "scope": 2672, + "src": "5650:55:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 617, + "id": 623, "nodeType": "Block", - "src": "5676:111:1", + "src": "5777:111:1", "statements": [ { "expression": { @@ -3632,7 +3701,7 @@ "arguments": [ { "argumentTypes": null, - "id": 598, + "id": 604, "isConstant": false, "isLValue": false, "isPure": false, @@ -3640,15 +3709,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "5690:10:1", + "src": "5791:10:1", "subExpression": { "argumentTypes": null, - "id": 597, + "id": 603, "name": "isStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 541, - "src": "5691:9:1", + "referencedDeclaration": 547, + "src": "5792:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3667,21 +3736,21 @@ "typeString": "bool" } ], - "id": 596, + "id": 602, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "5682:7:1", + "referencedDeclaration": 3393, + "src": "5783:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 599, + "id": 605, "isConstant": false, "isLValue": false, "isPure": false, @@ -3689,34 +3758,34 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5682:19:1", + "src": "5783:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 600, + "id": 606, "nodeType": "ExpressionStatement", - "src": "5682:19:1" + "src": "5783:19:1" }, { "expression": { "argumentTypes": null, - "id": 605, + "id": 611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 601, + "id": 607, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "5707:3:1", + "referencedDeclaration": 477, + "src": "5808:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, @@ -3727,12 +3796,12 @@ "arguments": [ { "argumentTypes": null, - "id": 603, + "id": 609, "name": "_dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 589, - "src": "5725:4:1", + "referencedDeclaration": 595, + "src": "5826:4:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3746,18 +3815,18 @@ "typeString": "address" } ], - "id": 602, + "id": 608, "name": "ERC223Basic", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2948, - "src": "5713:11:1", + "referencedDeclaration": 2961, + "src": "5814:11:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC223Basic_$2948_$", + "typeIdentifier": "t_type$_t_contract$_ERC223Basic_$2961_$", "typeString": "type(contract ERC223Basic)" } }, - "id": 604, + "id": 610, "isConstant": false, "isLValue": false, "isPure": false, @@ -3765,38 +3834,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5713:17:1", + "src": "5814:17:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "src": "5707:23:1", + "src": "5808:23:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 606, + "id": 612, "nodeType": "ExpressionStatement", - "src": "5707:23:1" + "src": "5808:23:1" }, { "expression": { "argumentTypes": null, - "id": 611, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 607, + "id": 613, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "5736:4:1", + "referencedDeclaration": 479, + "src": "5837:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -3809,12 +3878,12 @@ "arguments": [ { "argumentTypes": null, - "id": 609, + "id": 615, "name": "_bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 591, - "src": "5754:5:1", + "referencedDeclaration": 597, + "src": "5855:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3828,18 +3897,18 @@ "typeString": "address" } ], - "id": 608, + "id": 614, "name": "DetherBank", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 388, - "src": "5743:10:1", + "src": "5844:10:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_DetherBank_$388_$", "typeString": "type(contract DetherBank)" } }, - "id": 610, + "id": 616, "isConstant": false, "isLValue": false, "isPure": false, @@ -3847,38 +3916,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5743:17:1", + "src": "5844:17:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "src": "5736:24:1", + "src": "5837:24:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 612, + "id": 618, "nodeType": "ExpressionStatement", - "src": "5736:24:1" + "src": "5837:24:1" }, { "expression": { "argumentTypes": null, - "id": 615, + "id": 621, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 613, + "id": 619, "name": "isStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 541, - "src": "5766:9:1", + "referencedDeclaration": 547, + "src": "5867:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3889,14 +3958,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 614, + "id": 620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5778:4:1", + "src": "5879:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -3904,57 +3973,57 @@ }, "value": "true" }, - "src": "5766:16:1", + "src": "5867:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 616, + "id": 622, "nodeType": "ExpressionStatement", - "src": "5766:16:1" + "src": "5867:16:1" } ] }, "documentation": null, - "id": 618, + "id": 624, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 594, + "id": 600, "modifierName": { "argumentTypes": null, - "id": 593, + "id": 599, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 35, - "src": "5668:7:1", + "src": "5769:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5668:7:1" + "src": "5769:7:1" } ], "name": "initContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 592, + "id": 598, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 589, + "id": 595, "name": "_dth", "nodeType": "VariableDeclaration", - "scope": 618, - "src": "5630:12:1", + "scope": 624, + "src": "5731:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3962,10 +4031,10 @@ "typeString": "address" }, "typeName": { - "id": 588, + "id": 594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5630:7:1", + "src": "5731:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3976,11 +4045,11 @@ }, { "constant": false, - "id": 591, + "id": 597, "name": "_bank", "nodeType": "VariableDeclaration", - "scope": 618, - "src": "5644:13:1", + "scope": 624, + "src": "5745:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3988,10 +4057,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 596, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5644:7:1", + "src": "5745:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4001,43 +4070,43 @@ "visibility": "internal" } ], - "src": "5629:29:1" + "src": "5730:29:1" }, "payable": false, "returnParameters": { - "id": 595, + "id": 601, "nodeType": "ParameterList", "parameters": [], - "src": "5676:0:1" + "src": "5777:0:1" }, - "scope": 2659, - "src": "5607:180:1", + "scope": 2672, + "src": "5708:180:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 631, + "id": 637, "nodeType": "Block", - "src": "5855:57:1", + "src": "5956:57:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 629, + "id": 635, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 625, + "id": 631, "name": "priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 475, - "src": "5861:11:1", + "referencedDeclaration": 481, + "src": "5962:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" @@ -4050,12 +4119,12 @@ "arguments": [ { "argumentTypes": null, - "id": 627, + "id": 633, "name": "_priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 620, - "src": "5894:12:1", + "referencedDeclaration": 626, + "src": "5995:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4069,18 +4138,18 @@ "typeString": "address" } ], - "id": 626, + "id": 632, "name": "ExchangeRateOracle", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 300, - "src": "5875:18:1", + "src": "5976:18:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_ExchangeRateOracle_$300_$", "typeString": "type(contract ExchangeRateOracle)" } }, - "id": 628, + "id": 634, "isConstant": false, "isLValue": false, "isPure": false, @@ -4088,63 +4157,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5875:32:1", + "src": "5976:32:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "src": "5861:46:1", + "src": "5962:46:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "id": 630, + "id": 636, "nodeType": "ExpressionStatement", - "src": "5861:46:1" + "src": "5962:46:1" } ] }, "documentation": null, - "id": 632, + "id": 638, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 623, + "id": 629, "modifierName": { "argumentTypes": null, - "id": 622, + "id": 628, "name": "onlyCFO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "5847:7:1", + "src": "5948:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5847:7:1" + "src": "5948:7:1" } ], "name": "setPriceOracle", "nodeType": "FunctionDefinition", "parameters": { - "id": 621, + "id": 627, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 620, + "id": 626, "name": "_priceOracle", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5816:20:1", + "scope": 638, + "src": "5917:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4152,10 +4221,10 @@ "typeString": "address" }, "typeName": { - "id": 619, + "id": 625, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5816:7:1", + "src": "5917:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4165,26 +4234,26 @@ "visibility": "internal" } ], - "src": "5815:22:1" + "src": "5916:22:1" }, "payable": false, "returnParameters": { - "id": 624, + "id": 630, "nodeType": "ParameterList", "parameters": [], - "src": "5855:0:1" + "src": "5956:0:1" }, - "scope": 2659, - "src": "5791:121:1", + "scope": 2672, + "src": "5892:121:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1269, + "id": 1275, "nodeType": "Block", - "src": "6651:4338:1", + "src": "6752:4338:1", "statements": [ { "expression": { @@ -4196,7 +4265,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 652, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -4205,18 +4274,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 647, + "id": 653, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "6745:3:1", + "referencedDeclaration": 3390, + "src": "6846:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 648, + "id": 654, "isConstant": false, "isLValue": false, "isPure": false, @@ -4224,7 +4293,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6745:10:1", + "src": "6846:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -4237,14 +4306,14 @@ "arguments": [ { "argumentTypes": null, - "id": 650, + "id": 656, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "6767:3:1", + "referencedDeclaration": 477, + "src": "6868:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } } @@ -4252,24 +4321,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } ], - "id": 649, + "id": 655, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6759:7:1", + "src": "6860:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 651, + "id": 657, "isConstant": false, "isLValue": false, "isPure": false, @@ -4277,13 +4346,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6759:12:1", + "src": "6860:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "6745:26:1", + "src": "6846:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4297,21 +4366,21 @@ "typeString": "bool" } ], - "id": 646, + "id": 652, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "6737:7:1", + "referencedDeclaration": 3393, + "src": "6838:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 653, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, @@ -4319,28 +4388,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6737:35:1", + "src": "6838:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 654, + "id": 660, "nodeType": "ExpressionStatement", - "src": "6737:35:1" + "src": "6838:35:1" }, { "assignments": [ - 656 + 662 ], "declarations": [ { "constant": false, - "id": 656, + "id": 662, "name": "_func", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6889:12:1", + "scope": 1276, + "src": "6990:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4348,10 +4417,10 @@ "typeString": "bytes1" }, "typeName": { - "id": 655, + "id": 661, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "6889:6:1", + "src": "6990:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -4361,21 +4430,21 @@ "visibility": "internal" } ], - "id": 661, + "id": 667, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", - "id": 659, + "id": 665, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6919:1:1", + "src": "7020:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -4393,32 +4462,32 @@ ], "expression": { "argumentTypes": null, - "id": 657, + "id": 663, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6904:5:1", + "referencedDeclaration": 644, + "src": "7005:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 658, + "id": 664, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "6904:14:1", + "referencedDeclaration": 3308, + "src": "7005:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 660, + "id": 666, "isConstant": false, "isLValue": false, "isPure": false, @@ -4426,27 +4495,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6904:17:1", + "src": "7005:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "nodeType": "VariableDeclarationStatement", - "src": "6889:32:1" + "src": "6990:32:1" }, { "assignments": [ - 663 + 669 ], "declarations": [ { "constant": false, - "id": 663, + "id": 669, "name": "posLat", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6927:12:1", + "scope": 1276, + "src": "7028:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4454,10 +4523,10 @@ "typeString": "int32" }, "typeName": { - "id": 662, + "id": 668, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "6927:5:1", + "src": "7028:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -4467,7 +4536,7 @@ "visibility": "internal" } ], - "id": 688, + "id": 694, "initialValue": { "argumentTypes": null, "condition": { @@ -4476,7 +4545,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 671, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -4487,14 +4556,14 @@ { "argumentTypes": null, "hexValue": "31", - "id": 666, + "id": 672, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6957:1:1", + "src": "7058:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -4512,32 +4581,32 @@ ], "expression": { "argumentTypes": null, - "id": 664, + "id": 670, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6942:5:1", + "referencedDeclaration": 644, + "src": "7043:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 665, + "id": 671, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "6942:14:1", + "referencedDeclaration": 3308, + "src": "7043:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 667, + "id": 673, "isConstant": false, "isLValue": false, "isPure": false, @@ -4545,7 +4614,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6942:17:1", + "src": "7043:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -4559,14 +4628,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 669, + "id": 675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6970:4:1", + "src": "7071:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -4582,20 +4651,20 @@ "typeString": "int_const 1" } ], - "id": 668, + "id": 674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6963:6:1", + "src": "7064:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 670, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, @@ -4603,13 +4672,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6963:12:1", + "src": "7064:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "6942:33:1", + "src": "7043:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4624,14 +4693,14 @@ { "argumentTypes": null, "hexValue": "32", - "id": 684, + "id": 690, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7031:1:1", + "src": "7132:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -4649,32 +4718,32 @@ ], "expression": { "argumentTypes": null, - "id": 682, + "id": 688, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7016:5:1", + "referencedDeclaration": 644, + "src": "7117:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 683, + "id": 689, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7016:14:1", + "referencedDeclaration": 3282, + "src": "7117:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 685, + "id": 691, "isConstant": false, "isLValue": false, "isPure": false, @@ -4682,7 +4751,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7016:17:1", + "src": "7117:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -4696,20 +4765,20 @@ "typeString": "bytes4" } ], - "id": 681, + "id": 687, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7010:5:1", + "src": "7111:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 686, + "id": 692, "isConstant": false, "isLValue": false, "isPure": false, @@ -4717,26 +4786,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7010:24:1", + "src": "7111:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 687, + "id": 693, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "6942:92:1", + "src": "7043:92:1", "trueExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_int32", "typeString": "int32" }, - "id": 680, + "id": 686, "isConstant": false, "isLValue": false, "isPure": false, @@ -4750,14 +4819,14 @@ { "argumentTypes": null, "hexValue": "32", - "id": 675, + "id": 681, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6999:1:1", + "src": "7100:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -4775,32 +4844,32 @@ ], "expression": { "argumentTypes": null, - "id": 673, + "id": 679, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6984:5:1", + "referencedDeclaration": 644, + "src": "7085:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 674, + "id": 680, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "6984:14:1", + "referencedDeclaration": 3282, + "src": "7085:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 676, + "id": 682, "isConstant": false, "isLValue": false, "isPure": false, @@ -4808,7 +4877,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6984:17:1", + "src": "7085:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -4822,20 +4891,20 @@ "typeString": "bytes4" } ], - "id": 672, + "id": 678, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6978:5:1", + "src": "7079:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 677, + "id": 683, "isConstant": false, "isLValue": false, "isPure": false, @@ -4843,7 +4912,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6978:24:1", + "src": "7079:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -4853,7 +4922,7 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 679, + "id": 685, "isConstant": false, "isLValue": false, "isPure": true, @@ -4861,18 +4930,18 @@ "nodeType": "UnaryOperation", "operator": "-", "prefix": true, - "src": "7005:2:1", + "src": "7106:2:1", "subExpression": { "argumentTypes": null, "hexValue": "31", - "id": 678, + "id": 684, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7006:1:1", + "src": "7107:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -4885,7 +4954,7 @@ "typeString": "int_const -1" } }, - "src": "6978:29:1", + "src": "7079:29:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -4897,20 +4966,20 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "6927:107:1" + "src": "7028:107:1" }, { "assignments": [ - 690 + 696 ], "declarations": [ { "constant": false, - "id": 690, + "id": 696, "name": "posLng", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "7040:12:1", + "scope": 1276, + "src": "7141:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4918,10 +4987,10 @@ "typeString": "int32" }, "typeName": { - "id": 689, + "id": 695, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "7040:5:1", + "src": "7141:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -4931,7 +5000,7 @@ "visibility": "internal" } ], - "id": 715, + "id": 721, "initialValue": { "argumentTypes": null, "condition": { @@ -4940,7 +5009,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 698, + "id": 704, "isConstant": false, "isLValue": false, "isPure": false, @@ -4951,14 +5020,14 @@ { "argumentTypes": null, "hexValue": "36", - "id": 693, + "id": 699, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7070:1:1", + "src": "7171:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_6_by_1", @@ -4976,32 +5045,32 @@ ], "expression": { "argumentTypes": null, - "id": 691, + "id": 697, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7055:5:1", + "referencedDeclaration": 644, + "src": "7156:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 692, + "id": 698, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "7055:14:1", + "referencedDeclaration": 3308, + "src": "7156:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 694, + "id": 700, "isConstant": false, "isLValue": false, "isPure": false, @@ -5009,7 +5078,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7055:17:1", + "src": "7156:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -5023,14 +5092,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 696, + "id": 702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7083:4:1", + "src": "7184:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -5046,20 +5115,20 @@ "typeString": "int_const 1" } ], - "id": 695, + "id": 701, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7076:6:1", + "src": "7177:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 697, + "id": 703, "isConstant": false, "isLValue": false, "isPure": true, @@ -5067,13 +5136,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7076:12:1", + "src": "7177:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "7055:33:1", + "src": "7156:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5088,14 +5157,14 @@ { "argumentTypes": null, "hexValue": "37", - "id": 711, + "id": 717, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7144:1:1", + "src": "7245:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_7_by_1", @@ -5113,32 +5182,32 @@ ], "expression": { "argumentTypes": null, - "id": 709, + "id": 715, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7129:5:1", + "referencedDeclaration": 644, + "src": "7230:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 710, + "id": 716, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7129:14:1", + "referencedDeclaration": 3282, + "src": "7230:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 712, + "id": 718, "isConstant": false, "isLValue": false, "isPure": false, @@ -5146,7 +5215,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7129:17:1", + "src": "7230:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -5160,20 +5229,20 @@ "typeString": "bytes4" } ], - "id": 708, + "id": 714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7123:5:1", + "src": "7224:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 713, + "id": 719, "isConstant": false, "isLValue": false, "isPure": false, @@ -5181,26 +5250,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7123:24:1", + "src": "7224:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 714, + "id": 720, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "7055:92:1", + "src": "7156:92:1", "trueExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_int32", "typeString": "int32" }, - "id": 707, + "id": 713, "isConstant": false, "isLValue": false, "isPure": false, @@ -5214,14 +5283,14 @@ { "argumentTypes": null, "hexValue": "37", - "id": 702, + "id": 708, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7112:1:1", + "src": "7213:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_7_by_1", @@ -5239,32 +5308,32 @@ ], "expression": { "argumentTypes": null, - "id": 700, + "id": 706, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7097:5:1", + "referencedDeclaration": 644, + "src": "7198:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 701, + "id": 707, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7097:14:1", + "referencedDeclaration": 3282, + "src": "7198:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 703, + "id": 709, "isConstant": false, "isLValue": false, "isPure": false, @@ -5272,7 +5341,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7097:17:1", + "src": "7198:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -5286,20 +5355,20 @@ "typeString": "bytes4" } ], - "id": 699, + "id": 705, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7091:5:1", + "src": "7192:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 704, + "id": 710, "isConstant": false, "isLValue": false, "isPure": false, @@ -5307,7 +5376,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7091:24:1", + "src": "7192:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -5317,7 +5386,7 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 706, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, @@ -5325,18 +5394,18 @@ "nodeType": "UnaryOperation", "operator": "-", "prefix": true, - "src": "7118:2:1", + "src": "7219:2:1", "subExpression": { "argumentTypes": null, "hexValue": "31", - "id": 705, + "id": 711, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7119:1:1", + "src": "7220:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -5349,7 +5418,7 @@ "typeString": "int_const -1" } }, - "src": "7091:29:1", + "src": "7192:29:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -5361,7 +5430,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "7040:107:1" + "src": "7141:107:1" }, { "condition": { @@ -5370,19 +5439,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 720, + "id": 726, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 716, + "id": 722, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "7157:5:1", + "referencedDeclaration": 662, + "src": "7258:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -5396,14 +5465,14 @@ { "argumentTypes": null, "hexValue": "30783331", - "id": 718, + "id": 724, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7173:4:1", + "src": "7274:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", @@ -5419,20 +5488,20 @@ "typeString": "int_const 49" } ], - "id": 717, + "id": 723, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7166:6:1", + "src": "7267:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 719, + "id": 725, "isConstant": false, "isLValue": false, "isPure": true, @@ -5440,13 +5509,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7166:12:1", + "src": "7267:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "7157:21:1", + "src": "7258:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5459,19 +5528,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 881, + "id": 887, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 877, + "id": 883, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "8132:5:1", + "referencedDeclaration": 662, + "src": "8233:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -5485,14 +5554,14 @@ { "argumentTypes": null, "hexValue": "30783332", - "id": 879, + "id": 885, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8148:4:1", + "src": "8249:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", @@ -5508,20 +5577,20 @@ "typeString": "int_const 50" } ], - "id": 878, + "id": 884, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8141:6:1", + "src": "8242:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 880, + "id": 886, "isConstant": false, "isLValue": false, "isPure": true, @@ -5529,13 +5598,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8141:12:1", + "src": "8242:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "8132:21:1", + "src": "8233:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5548,19 +5617,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 1084, + "id": 1090, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1080, + "id": 1086, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "9342:5:1", + "referencedDeclaration": 662, + "src": "9443:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -5574,14 +5643,14 @@ { "argumentTypes": null, "hexValue": "30783333", - "id": 1082, + "id": 1088, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9358:4:1", + "src": "9459:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_51_by_1", @@ -5597,20 +5666,20 @@ "typeString": "int_const 51" } ], - "id": 1081, + "id": 1087, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "9351:6:1", + "src": "9452:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 1083, + "id": 1089, "isConstant": false, "isLValue": false, "isPure": true, @@ -5618,26 +5687,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9351:12:1", + "src": "9452:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "9342:21:1", + "src": "9443:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1266, + "id": 1272, "nodeType": "IfStatement", - "src": "9338:1647:1", + "src": "9439:1647:1", "trueBody": { - "id": 1265, + "id": 1271, "nodeType": "Block", - "src": "9365:1620:1", + "src": "9466:1620:1", "statements": [ { "expression": { @@ -5649,19 +5718,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1088, + "id": 1094, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1086, + "id": 1092, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9803:5:1", + "referencedDeclaration": 640, + "src": "9904:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -5671,18 +5740,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1087, + "id": 1093, "name": "csoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "9812:10:1", + "src": "9913:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "9803:19:1", + "src": "9904:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5696,21 +5765,21 @@ "typeString": "bool" } ], - "id": 1085, + "id": 1091, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9795:7:1", + "referencedDeclaration": 3393, + "src": "9896:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1089, + "id": 1095, "isConstant": false, "isLValue": false, "isPure": false, @@ -5718,15 +5787,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9795:28:1", + "src": "9896:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1090, + "id": 1096, "nodeType": "ExpressionStatement", - "src": "9795:28:1" + "src": "9896:28:1" }, { "expression": { @@ -5738,19 +5807,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1099, + "id": 1105, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1092, + "id": 1098, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9885:6:1", + "referencedDeclaration": 642, + "src": "9986:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5762,32 +5831,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1093, + "id": 1099, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, - "src": "9895:11:1", + "referencedDeclaration": 2701, + "src": "9996:11:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1098, + "id": 1104, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1096, + "id": 1102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9922:2:1", + "src": "10023:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -5805,32 +5874,32 @@ ], "expression": { "argumentTypes": null, - "id": 1094, + "id": 1100, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9907:5:1", + "referencedDeclaration": 644, + "src": "10008:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1095, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "9907:14:1", + "referencedDeclaration": 3256, + "src": "10008:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1097, + "id": 1103, "isConstant": false, "isLValue": false, "isPure": false, @@ -5838,7 +5907,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9907:18:1", + "src": "10008:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -5849,13 +5918,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9895:31:1", + "src": "9996:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9885:41:1", + "src": "9986:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5869,21 +5938,21 @@ "typeString": "bool" } ], - "id": 1091, + "id": 1097, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9877:7:1", + "referencedDeclaration": 3393, + "src": "9978:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1100, + "id": 1106, "isConstant": false, "isLValue": false, "isPure": false, @@ -5891,15 +5960,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9877:50:1", + "src": "9978:50:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1101, + "id": 1107, "nodeType": "ExpressionStatement", - "src": "9877:50:1" + "src": "9978:50:1" }, { "expression": { @@ -5907,7 +5976,7 @@ "arguments": [ { "argumentTypes": null, - "id": 1111, + "id": 1117, "isConstant": false, "isLValue": false, "isPure": false, @@ -5915,7 +5984,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "9997:38:1", + "src": "10098:38:1", "subExpression": { "argumentTypes": null, "arguments": [ @@ -5928,14 +5997,14 @@ { "argumentTypes": null, "hexValue": "313039", - "id": 1107, + "id": 1113, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10029:3:1", + "src": "10130:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109_by_1", @@ -5953,32 +6022,32 @@ ], "expression": { "argumentTypes": null, - "id": 1105, + "id": 1111, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10013:5:1", + "referencedDeclaration": 644, + "src": "10114:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1106, + "id": 1112, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3139, - "src": "10013:15:1", + "referencedDeclaration": 3152, + "src": "10114:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (address)" } }, - "id": 1108, + "id": 1114, "isConstant": false, "isLValue": false, "isPure": false, @@ -5986,7 +6055,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10013:20:1", + "src": "10114:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6000,20 +6069,20 @@ "typeString": "address" } ], - "id": 1104, + "id": 1110, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10005:7:1", + "src": "10106:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1109, + "id": 1115, "isConstant": false, "isLValue": false, "isPure": false, @@ -6021,7 +6090,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10005:29:1", + "src": "10106:29:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6035,18 +6104,18 @@ "typeString": "address" } ], - "id": 1103, + "id": 1109, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "9998:6:1", + "referencedDeclaration": 2585, + "src": "10099:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1110, + "id": 1116, "isConstant": false, "isLValue": false, "isPure": false, @@ -6054,7 +6123,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9998:37:1", + "src": "10099:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6073,21 +6142,21 @@ "typeString": "bool" } ], - "id": 1102, + "id": 1108, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9989:7:1", + "referencedDeclaration": 3393, + "src": "10090:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1112, + "id": 1118, "isConstant": false, "isLValue": false, "isPure": false, @@ -6095,15 +6164,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9989:47:1", + "src": "10090:47:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1113, + "id": 1119, "nodeType": "ExpressionStatement", - "src": "9989:47:1" + "src": "10090:47:1" }, { "expression": { @@ -6113,32 +6182,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1115, + "id": 1121, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "10082:17:1", + "referencedDeclaration": 2693, + "src": "10183:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 1120, + "id": 1126, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1118, + "id": 1124, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10115:2:1", + "src": "10216:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -6156,32 +6225,32 @@ ], "expression": { "argumentTypes": null, - "id": 1116, + "id": 1122, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10100:5:1", + "referencedDeclaration": 644, + "src": "10201:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1117, + "id": 1123, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10100:14:1", + "referencedDeclaration": 3256, + "src": "10201:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1119, + "id": 1125, "isConstant": false, "isLValue": false, "isPure": false, @@ -6189,7 +6258,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10100:18:1", + "src": "10201:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -6200,7 +6269,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10082:37:1", + "src": "10183:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6214,21 +6283,21 @@ "typeString": "bool" } ], - "id": 1114, + "id": 1120, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "10074:7:1", + "referencedDeclaration": 3393, + "src": "10175:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1121, + "id": 1127, "isConstant": false, "isLValue": false, "isPure": false, @@ -6236,28 +6305,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10074:46:1", + "src": "10175:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1122, + "id": 1128, "nodeType": "ExpressionStatement", - "src": "10074:46:1" + "src": "10175:46:1" }, { "assignments": [ - 1124 + 1130 ], "declarations": [ { "constant": false, - "id": 1124, + "id": 1130, "name": "newShopAddress", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "10128:22:1", + "scope": 1276, + "src": "10229:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6265,10 +6334,10 @@ "typeString": "address" }, "typeName": { - "id": 1123, + "id": 1129, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10128:7:1", + "src": "10229:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6278,21 +6347,21 @@ "visibility": "internal" } ], - "id": 1129, + "id": 1135, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "313039", - "id": 1127, + "id": 1133, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10169:3:1", + "src": "10270:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109_by_1", @@ -6310,32 +6379,32 @@ ], "expression": { "argumentTypes": null, - "id": 1125, + "id": 1131, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10153:5:1", + "referencedDeclaration": 644, + "src": "10254:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1126, + "id": 1132, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3139, - "src": "10153:15:1", + "referencedDeclaration": 3152, + "src": "10254:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (address)" } }, - "id": 1128, + "id": 1134, "isConstant": false, "isLValue": false, "isPure": false, @@ -6343,19 +6412,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10153:20:1", + "src": "10254:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "10128:45:1" + "src": "10229:45:1" }, { "expression": { "argumentTypes": null, - "id": 1135, + "id": 1141, "isConstant": false, "isLValue": false, "isPure": false, @@ -6366,26 +6435,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1130, + "id": 1136, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10181:4:1", + "referencedDeclaration": 574, + "src": "10282:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1132, + "id": 1138, "indexExpression": { "argumentTypes": null, - "id": 1131, + "id": 1137, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10186:14:1", + "referencedDeclaration": 1130, + "src": "10287:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6396,21 +6465,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10181:20:1", + "src": "10282:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1133, + "id": 1139, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "10181:24:1", + "referencedDeclaration": 549, + "src": "10282:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -6420,31 +6489,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1134, + "id": 1140, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "10208:6:1", + "referencedDeclaration": 669, + "src": "10309:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "10181:33:1", + "src": "10282:33:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 1136, + "id": 1142, "nodeType": "ExpressionStatement", - "src": "10181:33:1" + "src": "10282:33:1" }, { "expression": { "argumentTypes": null, - "id": 1142, + "id": 1148, "isConstant": false, "isLValue": false, "isPure": false, @@ -6455,26 +6524,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1137, + "id": 1143, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10222:4:1", + "referencedDeclaration": 574, + "src": "10323:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1139, + "id": 1145, "indexExpression": { "argumentTypes": null, - "id": 1138, + "id": 1144, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10227:14:1", + "referencedDeclaration": 1130, + "src": "10328:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6485,21 +6554,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10222:20:1", + "src": "10323:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1140, + "id": 1146, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "10222:24:1", + "referencedDeclaration": 551, + "src": "10323:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -6509,31 +6578,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1141, + "id": 1147, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "10249:6:1", + "referencedDeclaration": 696, + "src": "10350:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "10222:33:1", + "src": "10323:33:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 1143, + "id": 1149, "nodeType": "ExpressionStatement", - "src": "10222:33:1" + "src": "10323:33:1" }, { "expression": { "argumentTypes": null, - "id": 1152, + "id": 1158, "isConstant": false, "isLValue": false, "isPure": false, @@ -6544,26 +6613,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1144, + "id": 1150, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10263:4:1", + "referencedDeclaration": 574, + "src": "10364:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1146, + "id": 1152, "indexExpression": { "argumentTypes": null, - "id": 1145, + "id": 1151, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10268:14:1", + "referencedDeclaration": 1130, + "src": "10369:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6574,21 +6643,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10263:20:1", + "src": "10364:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1147, + "id": 1153, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "10263:30:1", + "referencedDeclaration": 553, + "src": "10364:30:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -6602,14 +6671,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 1150, + "id": 1156, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10311:2:1", + "src": "10412:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -6627,32 +6696,32 @@ ], "expression": { "argumentTypes": null, - "id": 1148, + "id": 1154, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10296:5:1", + "referencedDeclaration": 644, + "src": "10397:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1149, + "id": 1155, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10296:14:1", + "referencedDeclaration": 3256, + "src": "10397:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1151, + "id": 1157, "isConstant": false, "isLValue": false, "isPure": false, @@ -6660,26 +6729,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10296:18:1", + "src": "10397:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "10263:51:1", + "src": "10364:51:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 1153, + "id": 1159, "nodeType": "ExpressionStatement", - "src": "10263:51:1" + "src": "10364:51:1" }, { "expression": { "argumentTypes": null, - "id": 1162, + "id": 1168, "isConstant": false, "isLValue": false, "isPure": false, @@ -6690,26 +6759,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1154, + "id": 1160, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10322:4:1", + "referencedDeclaration": 574, + "src": "10423:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1156, + "id": 1162, "indexExpression": { "argumentTypes": null, - "id": 1155, + "id": 1161, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10327:14:1", + "referencedDeclaration": 1130, + "src": "10428:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6720,21 +6789,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10322:20:1", + "src": "10423:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1157, + "id": 1163, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "10322:31:1", + "referencedDeclaration": 555, + "src": "10423:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -6748,14 +6817,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 1160, + "id": 1166, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10372:2:1", + "src": "10473:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -6773,32 +6842,32 @@ ], "expression": { "argumentTypes": null, - "id": 1158, + "id": 1164, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10356:5:1", + "referencedDeclaration": 644, + "src": "10457:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1159, + "id": 1165, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10356:15:1", + "referencedDeclaration": 3230, + "src": "10457:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1161, + "id": 1167, "isConstant": false, "isLValue": false, "isPure": false, @@ -6806,26 +6875,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10356:19:1", + "src": "10457:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10322:53:1", + "src": "10423:53:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1163, + "id": 1169, "nodeType": "ExpressionStatement", - "src": "10322:53:1" + "src": "10423:53:1" }, { "expression": { "argumentTypes": null, - "id": 1172, + "id": 1178, "isConstant": false, "isLValue": false, "isPure": false, @@ -6836,26 +6905,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1164, + "id": 1170, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10383:4:1", + "referencedDeclaration": 574, + "src": "10484:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1166, + "id": 1172, "indexExpression": { "argumentTypes": null, - "id": 1165, + "id": 1171, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10388:14:1", + "referencedDeclaration": 1130, + "src": "10489:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -6866,21 +6935,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10383:20:1", + "src": "10484:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1167, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "10383:24:1", + "referencedDeclaration": 557, + "src": "10484:24:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -6894,14 +6963,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 1170, + "id": 1176, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10426:2:1", + "src": "10527:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -6919,32 +6988,32 @@ ], "expression": { "argumentTypes": null, - "id": 1168, + "id": 1174, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10410:5:1", + "referencedDeclaration": 644, + "src": "10511:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1169, + "id": 1175, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10410:15:1", + "referencedDeclaration": 3230, + "src": "10511:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1171, + "id": 1177, "isConstant": false, "isLValue": false, "isPure": false, @@ -6952,26 +7021,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10410:19:1", + "src": "10511:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10383:46:1", + "src": "10484:46:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1173, + "id": 1179, "nodeType": "ExpressionStatement", - "src": "10383:46:1" + "src": "10484:46:1" }, { "expression": { "argumentTypes": null, - "id": 1182, + "id": 1188, "isConstant": false, "isLValue": false, "isPure": false, @@ -6982,26 +7051,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1174, + "id": 1180, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10437:4:1", + "referencedDeclaration": 574, + "src": "10538:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1176, + "id": 1182, "indexExpression": { "argumentTypes": null, - "id": 1175, + "id": 1181, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10442:14:1", + "referencedDeclaration": 1130, + "src": "10543:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7012,21 +7081,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10437:20:1", + "src": "10538:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1177, + "id": 1183, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "10437:25:1", + "referencedDeclaration": 559, + "src": "10538:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -7040,14 +7109,14 @@ { "argumentTypes": null, "hexValue": "3435", - "id": 1180, + "id": 1186, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10481:2:1", + "src": "10582:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_45_by_1", @@ -7065,32 +7134,32 @@ ], "expression": { "argumentTypes": null, - "id": 1178, + "id": 1184, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10465:5:1", + "referencedDeclaration": 644, + "src": "10566:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1179, + "id": 1185, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10465:15:1", + "referencedDeclaration": 3230, + "src": "10566:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1181, + "id": 1187, "isConstant": false, "isLValue": false, "isPure": false, @@ -7098,26 +7167,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10465:19:1", + "src": "10566:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10437:47:1", + "src": "10538:47:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1183, + "id": 1189, "nodeType": "ExpressionStatement", - "src": "10437:47:1" + "src": "10538:47:1" }, { "expression": { "argumentTypes": null, - "id": 1192, + "id": 1198, "isConstant": false, "isLValue": false, "isPure": false, @@ -7128,26 +7197,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1184, + "id": 1190, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10492:4:1", + "referencedDeclaration": 574, + "src": "10593:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1186, + "id": 1192, "indexExpression": { "argumentTypes": null, - "id": 1185, + "id": 1191, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10497:14:1", + "referencedDeclaration": 1130, + "src": "10598:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7158,21 +7227,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10492:20:1", + "src": "10593:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1187, + "id": 1193, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "10492:32:1", + "referencedDeclaration": 561, + "src": "10593:32:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -7186,14 +7255,14 @@ { "argumentTypes": null, "hexValue": "3631", - "id": 1190, + "id": 1196, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10543:2:1", + "src": "10644:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_61_by_1", @@ -7211,32 +7280,32 @@ ], "expression": { "argumentTypes": null, - "id": 1188, + "id": 1194, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10527:5:1", + "referencedDeclaration": 644, + "src": "10628:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1189, + "id": 1195, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes32", "nodeType": "MemberAccess", - "referencedDeclaration": 3191, - "src": "10527:15:1", + "referencedDeclaration": 3204, + "src": "10628:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes32)" } }, - "id": 1191, + "id": 1197, "isConstant": false, "isLValue": false, "isPure": false, @@ -7244,26 +7313,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10527:19:1", + "src": "10628:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "10492:54:1", + "src": "10593:54:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1193, + "id": 1199, "nodeType": "ExpressionStatement", - "src": "10492:54:1" + "src": "10593:54:1" }, { "expression": { "argumentTypes": null, - "id": 1202, + "id": 1208, "isConstant": false, "isLValue": false, "isPure": false, @@ -7274,26 +7343,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1194, + "id": 1200, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10554:4:1", + "referencedDeclaration": 574, + "src": "10655:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1196, + "id": 1202, "indexExpression": { "argumentTypes": null, - "id": 1195, + "id": 1201, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10559:14:1", + "referencedDeclaration": 1130, + "src": "10660:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7304,21 +7373,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10554:20:1", + "src": "10655:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1197, + "id": 1203, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "10554:28:1", + "referencedDeclaration": 563, + "src": "10655:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -7332,14 +7401,14 @@ { "argumentTypes": null, "hexValue": "3933", - "id": 1200, + "id": 1206, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10601:2:1", + "src": "10702:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_93_by_1", @@ -7357,32 +7426,32 @@ ], "expression": { "argumentTypes": null, - "id": 1198, + "id": 1204, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10585:5:1", + "referencedDeclaration": 644, + "src": "10686:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1199, + "id": 1205, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10585:15:1", + "referencedDeclaration": 3230, + "src": "10686:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1201, + "id": 1207, "isConstant": false, "isLValue": false, "isPure": false, @@ -7390,26 +7459,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10585:19:1", + "src": "10686:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10554:50:1", + "src": "10655:50:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1203, + "id": 1209, "nodeType": "ExpressionStatement", - "src": "10554:50:1" + "src": "10655:50:1" }, { "expression": { "argumentTypes": null, - "id": 1214, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -7420,26 +7489,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1204, + "id": 1210, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10612:4:1", + "referencedDeclaration": 574, + "src": "10713:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1206, + "id": 1212, "indexExpression": { "argumentTypes": null, - "id": 1205, + "id": 1211, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10617:14:1", + "referencedDeclaration": 1130, + "src": "10718:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7450,21 +7519,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10612:20:1", + "src": "10713:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1207, + "id": 1213, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "10612:33:1", + "referencedDeclaration": 567, + "src": "10713:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7478,7 +7547,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1213, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -7488,12 +7557,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1210, + "id": 1216, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10663:14:1", + "referencedDeclaration": 1130, + "src": "10764:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7509,18 +7578,18 @@ ], "expression": { "argumentTypes": null, - "id": 1208, + "id": 1214, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "10648:9:1", + "referencedDeclaration": 584, + "src": "10749:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1209, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": false, @@ -7528,13 +7597,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10648:14:1", + "src": "10749:14:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1211, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -7542,7 +7611,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10648:30:1", + "src": "10749:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7553,14 +7622,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1212, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10681:1:1", + "src": "10782:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -7568,26 +7637,26 @@ }, "value": "1" }, - "src": "10648:34:1", + "src": "10749:34:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10612:70:1", + "src": "10713:70:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1215, + "id": 1221, "nodeType": "ExpressionStatement", - "src": "10612:70:1" + "src": "10713:70:1" }, { "expression": { "argumentTypes": null, - "id": 1236, + "id": 1242, "isConstant": false, "isLValue": false, "isPure": false, @@ -7598,26 +7667,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1216, + "id": 1222, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10690:4:1", + "referencedDeclaration": 574, + "src": "10791:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1218, + "id": 1224, "indexExpression": { "argumentTypes": null, - "id": 1217, + "id": 1223, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10695:14:1", + "referencedDeclaration": 1130, + "src": "10796:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7628,21 +7697,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10690:20:1", + "src": "10791:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1219, + "id": 1225, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "10690:30:1", + "referencedDeclaration": 565, + "src": "10791:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7656,7 +7725,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1235, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": false, @@ -7666,12 +7735,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1232, + "id": 1238, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10780:14:1", + "referencedDeclaration": 1130, + "src": "10881:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7691,32 +7760,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1220, + "id": 1226, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "10723:10:1", + "referencedDeclaration": 581, + "src": "10824:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1225, + "id": 1231, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1223, + "id": 1229, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10749:2:1", + "src": "10850:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -7734,32 +7803,32 @@ ], "expression": { "argumentTypes": null, - "id": 1221, + "id": 1227, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10734:5:1", + "referencedDeclaration": 644, + "src": "10835:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1222, + "id": 1228, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10734:14:1", + "referencedDeclaration": 3256, + "src": "10835:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1224, + "id": 1230, "isConstant": false, "isLValue": false, "isPure": false, @@ -7767,7 +7836,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10734:18:1", + "src": "10835:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -7778,27 +7847,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10723:30:1", + "src": "10824:30:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1230, + "id": 1236, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 1228, + "id": 1234, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10770:2:1", + "src": "10871:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -7816,32 +7885,32 @@ ], "expression": { "argumentTypes": null, - "id": 1226, + "id": 1232, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10754:5:1", + "referencedDeclaration": 644, + "src": "10855:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1227, + "id": 1233, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10754:15:1", + "referencedDeclaration": 3230, + "src": "10855:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1229, + "id": 1235, "isConstant": false, "isLValue": false, "isPure": false, @@ -7849,7 +7918,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10754:19:1", + "src": "10855:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -7860,13 +7929,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10723:51:1", + "src": "10824:51:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1231, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": false, @@ -7874,13 +7943,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10723:56:1", + "src": "10824:56:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1233, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": false, @@ -7888,7 +7957,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10723:72:1", + "src": "10824:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7899,14 +7968,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1234, + "id": 1240, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10798:1:1", + "src": "10899:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -7914,26 +7983,26 @@ }, "value": "1" }, - "src": "10723:76:1", + "src": "10824:76:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10690:109:1", + "src": "10791:109:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1237, + "id": 1243, "nodeType": "ExpressionStatement", - "src": "10690:109:1" + "src": "10791:109:1" }, { "expression": { "argumentTypes": null, - "id": 1243, + "id": 1249, "isConstant": false, "isLValue": false, "isPure": false, @@ -7944,26 +8013,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1238, + "id": 1244, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10807:4:1", + "referencedDeclaration": 574, + "src": "10908:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1240, + "id": 1246, "indexExpression": { "argumentTypes": null, - "id": 1239, + "id": 1245, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10812:14:1", + "referencedDeclaration": 1130, + "src": "10913:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7974,21 +8043,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10807:20:1", + "src": "10908:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1241, + "id": 1247, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "detherShop", "nodeType": "MemberAccess", - "referencedDeclaration": 563, - "src": "10807:31:1", + "referencedDeclaration": 569, + "src": "10908:31:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7999,14 +8068,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 1242, + "id": 1248, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10841:4:1", + "src": "10942:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -8014,15 +8083,15 @@ }, "value": "true" }, - "src": "10807:38:1", + "src": "10908:38:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1244, + "id": 1250, "nodeType": "ExpressionStatement", - "src": "10807:38:1" + "src": "10908:38:1" }, { "eventCall": { @@ -8030,12 +8099,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1246, + "id": 1252, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10871:14:1", + "referencedDeclaration": 1130, + "src": "10972:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8049,18 +8118,18 @@ "typeString": "address" } ], - "id": 1245, + "id": 1251, "name": "RegisterShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 421, - "src": "10858:12:1", + "referencedDeclaration": 427, + "src": "10959:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1247, + "id": 1253, "isConstant": false, "isLValue": false, "isPure": false, @@ -8068,15 +8137,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10858:28:1", + "src": "10959:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1248, + "id": 1254, "nodeType": "EmitStatement", - "src": "10853:33:1" + "src": "10954:33:1" }, { "expression": { @@ -8084,12 +8153,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1252, + "id": 1258, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10912:14:1", + "referencedDeclaration": 1130, + "src": "11013:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8097,12 +8166,12 @@ }, { "argumentTypes": null, - "id": 1253, + "id": 1259, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "10928:6:1", + "referencedDeclaration": 642, + "src": "11029:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8122,18 +8191,18 @@ ], "expression": { "argumentTypes": null, - "id": 1249, + "id": 1255, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "10894:4:1", + "referencedDeclaration": 479, + "src": "10995:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1251, + "id": 1257, "isConstant": false, "isLValue": false, "isPure": false, @@ -8141,13 +8210,13 @@ "memberName": "addTokenShop", "nodeType": "MemberAccess", "referencedDeclaration": 324, - "src": "10894:17:1", + "src": "10995:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 1254, + "id": 1260, "isConstant": false, "isLValue": false, "isPure": false, @@ -8155,15 +8224,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10894:41:1", + "src": "10995:41:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1255, + "id": 1261, "nodeType": "ExpressionStatement", - "src": "10894:41:1" + "src": "10995:41:1" }, { "expression": { @@ -8174,12 +8243,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1260, + "id": 1266, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "10964:4:1", + "referencedDeclaration": 479, + "src": "11065:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -8193,20 +8262,20 @@ "typeString": "contract DetherBank" } ], - "id": 1259, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10956:7:1", + "src": "11057:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1261, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": false, @@ -8214,7 +8283,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10956:13:1", + "src": "11057:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8222,12 +8291,12 @@ }, { "argumentTypes": null, - "id": 1262, + "id": 1268, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "10971:6:1", + "referencedDeclaration": 642, + "src": "11072:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8247,32 +8316,32 @@ ], "expression": { "argumentTypes": null, - "id": 1256, + "id": 1262, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "10943:3:1", + "referencedDeclaration": 477, + "src": "11044:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 1258, + "id": 1264, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "10943:12:1", + "referencedDeclaration": 3366, + "src": "11044:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 1263, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -8280,26 +8349,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10943:35:1", + "src": "11044:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1264, + "id": 1270, "nodeType": "ExpressionStatement", - "src": "10943:35:1" + "src": "11044:35:1" } ] } }, - "id": 1267, + "id": 1273, "nodeType": "IfStatement", - "src": "8128:2857:1", + "src": "8229:2857:1", "trueBody": { - "id": 1079, + "id": 1085, "nodeType": "Block", - "src": "8155:1177:1", + "src": "8256:1177:1", "statements": [ { "expression": { @@ -8311,19 +8380,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 890, + "id": 896, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 883, + "id": 889, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8264:6:1", + "referencedDeclaration": 642, + "src": "8365:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8335,32 +8404,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 884, + "id": 890, "name": "licenceTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2692, - "src": "8274:13:1", + "referencedDeclaration": 2705, + "src": "8375:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 889, + "id": 895, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 887, + "id": 893, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8303:2:1", + "src": "8404:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -8378,32 +8447,32 @@ ], "expression": { "argumentTypes": null, - "id": 885, + "id": 891, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8288:5:1", + "referencedDeclaration": 644, + "src": "8389:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 886, + "id": 892, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8288:14:1", + "referencedDeclaration": 3256, + "src": "8389:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 888, + "id": 894, "isConstant": false, "isLValue": false, "isPure": false, @@ -8411,7 +8480,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8288:18:1", + "src": "8389:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -8422,13 +8491,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8274:33:1", + "src": "8375:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8264:43:1", + "src": "8365:43:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8442,21 +8511,21 @@ "typeString": "bool" } ], - "id": 882, + "id": 888, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8256:7:1", + "referencedDeclaration": 3393, + "src": "8357:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 891, + "id": 897, "isConstant": false, "isLValue": false, "isPure": false, @@ -8464,15 +8533,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8256:52:1", + "src": "8357:52:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 892, + "id": 898, "nodeType": "ExpressionStatement", - "src": "8256:52:1" + "src": "8357:52:1" }, { "expression": { @@ -8480,7 +8549,7 @@ "arguments": [ { "argumentTypes": null, - "id": 897, + "id": 903, "isConstant": false, "isLValue": false, "isPure": false, @@ -8488,18 +8557,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "8365:16:1", + "src": "8466:16:1", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 895, + "id": 901, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8375:5:1", + "referencedDeclaration": 640, + "src": "8476:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8513,18 +8582,18 @@ "typeString": "address" } ], - "id": 894, + "id": 900, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "8366:8:1", + "referencedDeclaration": 2629, + "src": "8467:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 896, + "id": 902, "isConstant": false, "isLValue": false, "isPure": false, @@ -8532,7 +8601,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8366:15:1", + "src": "8467:15:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8551,21 +8620,21 @@ "typeString": "bool" } ], - "id": 893, + "id": 899, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8357:7:1", + "referencedDeclaration": 3393, + "src": "8458:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 898, + "id": 904, "isConstant": false, "isLValue": false, "isPure": false, @@ -8573,15 +8642,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8357:25:1", + "src": "8458:25:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 899, + "id": 905, "nodeType": "ExpressionStatement", - "src": "8357:25:1" + "src": "8458:25:1" }, { "expression": { @@ -8591,32 +8660,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 901, + "id": 907, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, - "src": "8428:19:1", + "referencedDeclaration": 2697, + "src": "8529:19:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 906, + "id": 912, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 904, + "id": 910, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8463:2:1", + "src": "8564:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -8634,32 +8703,32 @@ ], "expression": { "argumentTypes": null, - "id": 902, + "id": 908, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8448:5:1", + "referencedDeclaration": 644, + "src": "8549:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 903, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8448:14:1", + "referencedDeclaration": 3256, + "src": "8549:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 905, + "id": 911, "isConstant": false, "isLValue": false, "isPure": false, @@ -8667,7 +8736,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8448:18:1", + "src": "8549:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -8678,7 +8747,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8428:39:1", + "src": "8529:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8692,21 +8761,21 @@ "typeString": "bool" } ], - "id": 900, + "id": 906, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8420:7:1", + "referencedDeclaration": 3393, + "src": "8521:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 907, + "id": 913, "isConstant": false, "isLValue": false, "isPure": false, @@ -8714,20 +8783,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8420:48:1", + "src": "8521:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 908, + "id": 914, "nodeType": "ExpressionStatement", - "src": "8420:48:1" + "src": "8521:48:1" }, { "expression": { "argumentTypes": null, - "id": 914, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, @@ -8738,26 +8807,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 909, + "id": 915, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8477:6:1", + "referencedDeclaration": 534, + "src": "8578:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 911, + "id": 917, "indexExpression": { "argumentTypes": null, - "id": 910, + "id": 916, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8484:5:1", + "referencedDeclaration": 640, + "src": "8585:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8768,21 +8837,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8477:13:1", + "src": "8578:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 912, + "id": 918, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 477, - "src": "8477:17:1", + "referencedDeclaration": 483, + "src": "8578:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -8792,31 +8861,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 913, + "id": 919, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "8497:6:1", + "referencedDeclaration": 669, + "src": "8598:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "8477:26:1", + "src": "8578:26:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 915, + "id": 921, "nodeType": "ExpressionStatement", - "src": "8477:26:1" + "src": "8578:26:1" }, { "expression": { "argumentTypes": null, - "id": 921, + "id": 927, "isConstant": false, "isLValue": false, "isPure": false, @@ -8827,26 +8896,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 916, + "id": 922, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8511:6:1", + "referencedDeclaration": 534, + "src": "8612:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 918, + "id": 924, "indexExpression": { "argumentTypes": null, - "id": 917, + "id": 923, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8518:5:1", + "referencedDeclaration": 640, + "src": "8619:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8857,21 +8926,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8511:13:1", + "src": "8612:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 919, + "id": 925, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 479, - "src": "8511:17:1", + "referencedDeclaration": 485, + "src": "8612:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -8881,31 +8950,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 920, + "id": 926, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "8531:6:1", + "referencedDeclaration": 696, + "src": "8632:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "8511:26:1", + "src": "8612:26:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 922, + "id": 928, "nodeType": "ExpressionStatement", - "src": "8511:26:1" + "src": "8612:26:1" }, { "expression": { "argumentTypes": null, - "id": 931, + "id": 937, "isConstant": false, "isLValue": false, "isPure": false, @@ -8916,26 +8985,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 923, + "id": 929, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8545:6:1", + "referencedDeclaration": 534, + "src": "8646:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 925, + "id": 931, "indexExpression": { "argumentTypes": null, - "id": 924, + "id": 930, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8552:5:1", + "referencedDeclaration": 640, + "src": "8653:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -8946,21 +9015,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8545:13:1", + "src": "8646:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 926, + "id": 932, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "8545:23:1", + "referencedDeclaration": 487, + "src": "8646:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -8974,14 +9043,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 929, + "id": 935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8586:2:1", + "src": "8687:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -8999,32 +9068,32 @@ ], "expression": { "argumentTypes": null, - "id": 927, + "id": 933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8571:5:1", + "referencedDeclaration": 644, + "src": "8672:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 928, + "id": 934, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8571:14:1", + "referencedDeclaration": 3256, + "src": "8672:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 930, + "id": 936, "isConstant": false, "isLValue": false, "isPure": false, @@ -9032,26 +9101,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8571:18:1", + "src": "8672:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "8545:44:1", + "src": "8646:44:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 932, + "id": 938, "nodeType": "ExpressionStatement", - "src": "8545:44:1" + "src": "8646:44:1" }, { "expression": { "argumentTypes": null, - "id": 941, + "id": 947, "isConstant": false, "isLValue": false, "isPure": false, @@ -9062,26 +9131,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 933, + "id": 939, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8597:6:1", + "referencedDeclaration": 534, + "src": "8698:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 935, + "id": 941, "indexExpression": { "argumentTypes": null, - "id": 934, + "id": 940, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8604:5:1", + "referencedDeclaration": 640, + "src": "8705:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9092,21 +9161,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8597:13:1", + "src": "8698:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 936, + "id": 942, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "8597:24:1", + "referencedDeclaration": 489, + "src": "8698:24:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -9120,14 +9189,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 939, + "id": 945, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8640:2:1", + "src": "8741:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -9145,32 +9214,32 @@ ], "expression": { "argumentTypes": null, - "id": 937, + "id": 943, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8624:5:1", + "referencedDeclaration": 644, + "src": "8725:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 938, + "id": 944, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "8624:15:1", + "referencedDeclaration": 3230, + "src": "8725:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 940, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -9178,26 +9247,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8624:19:1", + "src": "8725:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "8597:46:1", + "src": "8698:46:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 942, + "id": 948, "nodeType": "ExpressionStatement", - "src": "8597:46:1" + "src": "8698:46:1" }, { "expression": { "argumentTypes": null, - "id": 953, + "id": 959, "isConstant": false, "isLValue": false, "isPure": false, @@ -9208,26 +9277,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 943, + "id": 949, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8651:6:1", + "referencedDeclaration": 534, + "src": "8752:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 945, + "id": 951, "indexExpression": { "argumentTypes": null, - "id": 944, + "id": 950, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8658:5:1", + "referencedDeclaration": 640, + "src": "8759:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9238,21 +9307,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8651:13:1", + "src": "8752:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 946, + "id": 952, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "8651:22:1", + "referencedDeclaration": 495, + "src": "8752:22:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -9269,14 +9338,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 950, + "id": 956, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8696:2:1", + "src": "8797:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -9294,32 +9363,32 @@ ], "expression": { "argumentTypes": null, - "id": 948, + "id": 954, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8681:5:1", + "referencedDeclaration": 644, + "src": "8782:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 949, + "id": 955, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8681:14:1", + "referencedDeclaration": 3308, + "src": "8782:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 951, + "id": 957, "isConstant": false, "isLValue": false, "isPure": false, @@ -9327,7 +9396,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8681:18:1", + "src": "8782:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -9341,20 +9410,20 @@ "typeString": "bytes1" } ], - "id": 947, + "id": 953, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8676:4:1", + "src": "8777:4:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int8_$", "typeString": "type(int8)" }, "typeName": "int8" }, - "id": 952, + "id": 958, "isConstant": false, "isLValue": false, "isPure": false, @@ -9362,26 +9431,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8676:24:1", + "src": "8777:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "8651:49:1", + "src": "8752:49:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 954, + "id": 960, "nodeType": "ExpressionStatement", - "src": "8651:49:1" + "src": "8752:49:1" }, { "expression": { "argumentTypes": null, - "id": 965, + "id": 971, "isConstant": false, "isLValue": false, "isPure": false, @@ -9392,26 +9461,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 955, + "id": 961, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8708:6:1", + "referencedDeclaration": 534, + "src": "8809:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 957, + "id": 963, "indexExpression": { "argumentTypes": null, - "id": 956, + "id": 962, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8715:5:1", + "referencedDeclaration": 640, + "src": "8816:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9422,21 +9491,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8708:13:1", + "src": "8809:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 958, + "id": 964, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "8708:24:1", + "referencedDeclaration": 491, + "src": "8809:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -9453,14 +9522,14 @@ { "argumentTypes": null, "hexValue": "3330", - "id": 962, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8755:2:1", + "src": "8856:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_30_by_1", @@ -9478,32 +9547,32 @@ ], "expression": { "argumentTypes": null, - "id": 960, + "id": 966, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8740:5:1", + "referencedDeclaration": 644, + "src": "8841:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 961, + "id": 967, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8740:14:1", + "referencedDeclaration": 3308, + "src": "8841:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 963, + "id": 969, "isConstant": false, "isLValue": false, "isPure": false, @@ -9511,7 +9580,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8740:18:1", + "src": "8841:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -9525,20 +9594,20 @@ "typeString": "bytes1" } ], - "id": 959, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8735:4:1", + "src": "8836:4:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int8_$", "typeString": "type(int8)" }, "typeName": "int8" }, - "id": 964, + "id": 970, "isConstant": false, "isLValue": false, "isPure": false, @@ -9546,26 +9615,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8735:24:1", + "src": "8836:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "8708:51:1", + "src": "8809:51:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 966, + "id": 972, "nodeType": "ExpressionStatement", - "src": "8708:51:1" + "src": "8809:51:1" }, { "expression": { "argumentTypes": null, - "id": 975, + "id": 981, "isConstant": false, "isLValue": false, "isPure": false, @@ -9576,26 +9645,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 967, + "id": 973, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8767:6:1", + "referencedDeclaration": 534, + "src": "8868:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 969, + "id": 975, "indexExpression": { "argumentTypes": null, - "id": 968, + "id": 974, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8774:5:1", + "referencedDeclaration": 640, + "src": "8875:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9606,21 +9675,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8767:13:1", + "src": "8868:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 970, + "id": 976, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "8767:23:1", + "referencedDeclaration": 493, + "src": "8868:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -9634,14 +9703,14 @@ { "argumentTypes": null, "hexValue": "3331", - "id": 973, + "id": 979, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8809:2:1", + "src": "8910:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_31_by_1", @@ -9659,32 +9728,32 @@ ], "expression": { "argumentTypes": null, - "id": 971, + "id": 977, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8793:5:1", + "referencedDeclaration": 644, + "src": "8894:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 972, + "id": 978, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "8793:15:1", + "referencedDeclaration": 3230, + "src": "8894:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 974, + "id": 980, "isConstant": false, "isLValue": false, "isPure": false, @@ -9692,26 +9761,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8793:19:1", + "src": "8894:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "8767:45:1", + "src": "8868:45:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 976, + "id": 982, "nodeType": "ExpressionStatement", - "src": "8767:45:1" + "src": "8868:45:1" }, { "expression": { "argumentTypes": null, - "id": 987, + "id": 993, "isConstant": false, "isLValue": false, "isPure": false, @@ -9722,26 +9791,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 977, + "id": 983, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8820:6:1", + "referencedDeclaration": 534, + "src": "8921:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 979, + "id": 985, "indexExpression": { "argumentTypes": null, - "id": 978, + "id": 984, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8827:5:1", + "referencedDeclaration": 640, + "src": "8928:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9752,21 +9821,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8820:13:1", + "src": "8921:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 980, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "8820:19:1", + "referencedDeclaration": 497, + "src": "8921:19:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -9783,14 +9852,14 @@ { "argumentTypes": null, "hexValue": "3437", - "id": 984, + "id": 990, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8863:2:1", + "src": "8964:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_47_by_1", @@ -9808,32 +9877,32 @@ ], "expression": { "argumentTypes": null, - "id": 982, + "id": 988, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8848:5:1", + "referencedDeclaration": 644, + "src": "8949:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 983, + "id": 989, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8848:14:1", + "referencedDeclaration": 3256, + "src": "8949:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 985, + "id": 991, "isConstant": false, "isLValue": false, "isPure": false, @@ -9841,7 +9910,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8848:18:1", + "src": "8949:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -9855,20 +9924,20 @@ "typeString": "bytes2" } ], - "id": 981, + "id": 987, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8842:5:1", + "src": "8943:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int16_$", "typeString": "type(int16)" }, "typeName": "int16" }, - "id": 986, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, @@ -9876,26 +9945,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8842:25:1", + "src": "8943:25:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "8820:47:1", + "src": "8921:47:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 988, + "id": 994, "nodeType": "ExpressionStatement", - "src": "8820:47:1" + "src": "8921:47:1" }, { "expression": { "argumentTypes": null, - "id": 1004, + "id": 1010, "isConstant": false, "isLValue": false, "isPure": false, @@ -9906,26 +9975,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 989, + "id": 995, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8875:6:1", + "referencedDeclaration": 534, + "src": "8976:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 991, + "id": 997, "indexExpression": { "argumentTypes": null, - "id": 990, + "id": 996, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8882:5:1", + "referencedDeclaration": 640, + "src": "8983:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9936,21 +10005,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8875:13:1", + "src": "8976:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 992, + "id": 998, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "buyer", "nodeType": "MemberAccess", - "referencedDeclaration": 493, - "src": "8875:19:1", + "referencedDeclaration": 499, + "src": "8976:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9966,7 +10035,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 1000, + "id": 1006, "isConstant": false, "isLValue": false, "isPure": false, @@ -9977,14 +10046,14 @@ { "argumentTypes": null, "hexValue": "3439", - "id": 995, + "id": 1001, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8912:2:1", + "src": "9013:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", @@ -10002,32 +10071,32 @@ ], "expression": { "argumentTypes": null, - "id": 993, + "id": 999, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8897:5:1", + "referencedDeclaration": 644, + "src": "8998:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 994, + "id": 1000, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8897:14:1", + "referencedDeclaration": 3308, + "src": "8998:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 996, + "id": 1002, "isConstant": false, "isLValue": false, "isPure": false, @@ -10035,7 +10104,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8897:18:1", + "src": "8998:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -10049,14 +10118,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 998, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8926:4:1", + "src": "9027:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -10072,20 +10141,20 @@ "typeString": "int_const 1" } ], - "id": 997, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8919:6:1", + "src": "9020:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 999, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": true, @@ -10093,13 +10162,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8919:12:1", + "src": "9020:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "8897:34:1", + "src": "8998:34:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10108,14 +10177,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 1002, + "id": 1008, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8941:5:1", + "src": "9042:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10123,24 +10192,24 @@ }, "value": "false" }, - "id": 1003, + "id": 1009, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "8897:49:1", + "src": "8998:49:1", "trueExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 1001, + "id": 1007, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8934:4:1", + "src": "9035:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10153,20 +10222,20 @@ "typeString": "bool" } }, - "src": "8875:71:1", + "src": "8976:71:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1005, + "id": 1011, "nodeType": "ExpressionStatement", - "src": "8875:71:1" + "src": "8976:71:1" }, { "expression": { "argumentTypes": null, - "id": 1016, + "id": 1022, "isConstant": false, "isLValue": false, "isPure": false, @@ -10177,26 +10246,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1006, + "id": 1012, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8954:6:1", + "referencedDeclaration": 534, + "src": "9055:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1008, + "id": 1014, "indexExpression": { "argumentTypes": null, - "id": 1007, + "id": 1013, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8961:5:1", + "referencedDeclaration": 640, + "src": "9062:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10207,21 +10276,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8954:13:1", + "src": "9055:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1009, + "id": 1015, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "buyRates", "nodeType": "MemberAccess", - "referencedDeclaration": 495, - "src": "8954:22:1", + "referencedDeclaration": 501, + "src": "9055:22:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -10238,14 +10307,14 @@ { "argumentTypes": null, "hexValue": "3530", - "id": 1013, + "id": 1019, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9000:2:1", + "src": "9101:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", @@ -10263,32 +10332,32 @@ ], "expression": { "argumentTypes": null, - "id": 1011, + "id": 1017, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8985:5:1", + "referencedDeclaration": 644, + "src": "9086:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1012, + "id": 1018, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8985:14:1", + "referencedDeclaration": 3256, + "src": "9086:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1014, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -10296,7 +10365,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8985:18:1", + "src": "9086:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -10310,20 +10379,20 @@ "typeString": "bytes2" } ], - "id": 1010, + "id": 1016, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8979:5:1", + "src": "9080:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int16_$", "typeString": "type(int16)" }, "typeName": "int16" }, - "id": 1015, + "id": 1021, "isConstant": false, "isLValue": false, "isPure": false, @@ -10331,26 +10400,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8979:25:1", + "src": "9080:25:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "8954:50:1", + "src": "9055:50:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 1017, + "id": 1023, "nodeType": "ExpressionStatement", - "src": "8954:50:1" + "src": "9055:50:1" }, { "expression": { "argumentTypes": null, - "id": 1028, + "id": 1034, "isConstant": false, "isLValue": false, "isPure": false, @@ -10361,26 +10430,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1018, + "id": 1024, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9012:6:1", + "referencedDeclaration": 534, + "src": "9113:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1020, + "id": 1026, "indexExpression": { "argumentTypes": null, - "id": 1019, + "id": 1025, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9019:5:1", + "referencedDeclaration": 640, + "src": "9120:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10391,21 +10460,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9012:13:1", + "src": "9113:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1021, + "id": 1027, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "9012:26:1", + "referencedDeclaration": 505, + "src": "9113:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10419,7 +10488,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1027, + "id": 1033, "isConstant": false, "isLValue": false, "isPure": false, @@ -10429,12 +10498,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1024, + "id": 1030, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9058:5:1", + "referencedDeclaration": 640, + "src": "9159:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10450,18 +10519,18 @@ ], "expression": { "argumentTypes": null, - "id": 1022, + "id": 1028, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "9041:11:1", + "referencedDeclaration": 544, + "src": "9142:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1023, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, @@ -10469,13 +10538,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9041:16:1", + "src": "9142:16:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1025, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": false, @@ -10483,7 +10552,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9041:23:1", + "src": "9142:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10494,14 +10563,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1026, + "id": 1032, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9067:1:1", + "src": "9168:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -10509,26 +10578,26 @@ }, "value": "1" }, - "src": "9041:27:1", + "src": "9142:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9012:56:1", + "src": "9113:56:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1029, + "id": 1035, "nodeType": "ExpressionStatement", - "src": "9012:56:1" + "src": "9113:56:1" }, { "expression": { "argumentTypes": null, - "id": 1050, + "id": 1056, "isConstant": false, "isLValue": false, "isPure": false, @@ -10539,26 +10608,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1030, + "id": 1036, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9076:6:1", + "referencedDeclaration": 534, + "src": "9177:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1032, + "id": 1038, "indexExpression": { "argumentTypes": null, - "id": 1031, + "id": 1037, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9083:5:1", + "referencedDeclaration": 640, + "src": "9184:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10569,21 +10638,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9076:13:1", + "src": "9177:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1033, + "id": 1039, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "9076:23:1", + "referencedDeclaration": 503, + "src": "9177:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10597,7 +10666,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1049, + "id": 1055, "isConstant": false, "isLValue": false, "isPure": false, @@ -10607,12 +10676,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1046, + "id": 1052, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9161:5:1", + "referencedDeclaration": 640, + "src": "9262:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10632,32 +10701,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1034, + "id": 1040, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "9102:12:1", + "referencedDeclaration": 541, + "src": "9203:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1039, + "id": 1045, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1037, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9130:2:1", + "src": "9231:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -10675,32 +10744,32 @@ ], "expression": { "argumentTypes": null, - "id": 1035, + "id": 1041, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9115:5:1", + "referencedDeclaration": 644, + "src": "9216:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1036, + "id": 1042, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "9115:14:1", + "referencedDeclaration": 3256, + "src": "9216:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1038, + "id": 1044, "isConstant": false, "isLValue": false, "isPure": false, @@ -10708,7 +10777,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9115:18:1", + "src": "9216:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -10719,27 +10788,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9102:32:1", + "src": "9203:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1044, + "id": 1050, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 1042, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9151:2:1", + "src": "9252:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -10757,32 +10826,32 @@ ], "expression": { "argumentTypes": null, - "id": 1040, + "id": 1046, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9135:5:1", + "referencedDeclaration": 644, + "src": "9236:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1041, + "id": 1047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "9135:15:1", + "referencedDeclaration": 3230, + "src": "9236:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1043, + "id": 1049, "isConstant": false, "isLValue": false, "isPure": false, @@ -10790,7 +10859,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9135:19:1", + "src": "9236:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -10801,13 +10870,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9102:53:1", + "src": "9203:53:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1045, + "id": 1051, "isConstant": false, "isLValue": false, "isPure": false, @@ -10815,13 +10884,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9102:58:1", + "src": "9203:58:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1047, + "id": 1053, "isConstant": false, "isLValue": false, "isPure": false, @@ -10829,7 +10898,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9102:65:1", + "src": "9203:65:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10840,14 +10909,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1048, + "id": 1054, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9170:1:1", + "src": "9271:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -10855,26 +10924,26 @@ }, "value": "1" }, - "src": "9102:69:1", + "src": "9203:69:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9076:95:1", + "src": "9177:95:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1051, + "id": 1057, "nodeType": "ExpressionStatement", - "src": "9076:95:1" + "src": "9177:95:1" }, { "expression": { "argumentTypes": null, - "id": 1057, + "id": 1063, "isConstant": false, "isLValue": false, "isPure": false, @@ -10885,26 +10954,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1052, + "id": 1058, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9179:6:1", + "referencedDeclaration": 534, + "src": "9280:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1054, + "id": 1060, "indexExpression": { "argumentTypes": null, - "id": 1053, + "id": 1059, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9186:5:1", + "referencedDeclaration": 640, + "src": "9287:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10915,21 +10984,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9179:13:1", + "src": "9280:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1055, + "id": 1061, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "9179:20:1", + "referencedDeclaration": 507, + "src": "9280:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10940,14 +11009,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 1056, + "id": 1062, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "9202:4:1", + "src": "9303:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10955,15 +11024,15 @@ }, "value": "true" }, - "src": "9179:27:1", + "src": "9280:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1058, + "id": 1064, "nodeType": "ExpressionStatement", - "src": "9179:27:1" + "src": "9280:27:1" }, { "eventCall": { @@ -10971,12 +11040,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1060, + "id": 1066, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9234:5:1", + "referencedDeclaration": 640, + "src": "9335:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10990,18 +11059,18 @@ "typeString": "address" } ], - "id": 1059, + "id": 1065, "name": "RegisterTeller", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 401, - "src": "9219:14:1", + "src": "9320:14:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1061, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": false, @@ -11009,15 +11078,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9219:21:1", + "src": "9320:21:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1062, + "id": 1068, "nodeType": "EmitStatement", - "src": "9214:26:1" + "src": "9315:26:1" }, { "expression": { @@ -11025,12 +11094,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1066, + "id": 1072, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9268:5:1", + "referencedDeclaration": 640, + "src": "9369:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11038,12 +11107,12 @@ }, { "argumentTypes": null, - "id": 1067, + "id": 1073, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9275:6:1", + "referencedDeclaration": 642, + "src": "9376:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11063,18 +11132,18 @@ ], "expression": { "argumentTypes": null, - "id": 1063, + "id": 1069, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "9248:4:1", + "referencedDeclaration": 479, + "src": "9349:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1065, + "id": 1071, "isConstant": false, "isLValue": false, "isPure": false, @@ -11082,13 +11151,13 @@ "memberName": "addTokenTeller", "nodeType": "MemberAccess", "referencedDeclaration": 331, - "src": "9248:19:1", + "src": "9349:19:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 1068, + "id": 1074, "isConstant": false, "isLValue": false, "isPure": false, @@ -11096,15 +11165,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9248:34:1", + "src": "9349:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1069, + "id": 1075, "nodeType": "ExpressionStatement", - "src": "9248:34:1" + "src": "9349:34:1" }, { "expression": { @@ -11115,12 +11184,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1074, + "id": 1080, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "9311:4:1", + "referencedDeclaration": 479, + "src": "9412:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -11134,20 +11203,20 @@ "typeString": "contract DetherBank" } ], - "id": 1073, + "id": 1079, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "9303:7:1", + "src": "9404:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1075, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, @@ -11155,7 +11224,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9303:13:1", + "src": "9404:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11163,12 +11232,12 @@ }, { "argumentTypes": null, - "id": 1076, + "id": 1082, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9318:6:1", + "referencedDeclaration": 642, + "src": "9419:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11188,32 +11257,32 @@ ], "expression": { "argumentTypes": null, - "id": 1070, + "id": 1076, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "9290:3:1", + "referencedDeclaration": 477, + "src": "9391:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 1072, + "id": 1078, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "9290:12:1", + "referencedDeclaration": 3366, + "src": "9391:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 1077, + "id": 1083, "isConstant": false, "isLValue": false, "isPure": false, @@ -11221,26 +11290,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9290:35:1", + "src": "9391:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1078, + "id": 1084, "nodeType": "ExpressionStatement", - "src": "9290:35:1" + "src": "9391:35:1" } ] } }, - "id": 1268, + "id": 1274, "nodeType": "IfStatement", - "src": "7153:3832:1", + "src": "7254:3832:1", "trueBody": { - "id": 876, + "id": 882, "nodeType": "Block", - "src": "7180:942:1", + "src": "7281:942:1", "statements": [ { "expression": { @@ -11252,19 +11321,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 729, + "id": 735, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 722, + "id": 728, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "7287:6:1", + "referencedDeclaration": 642, + "src": "7388:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11276,32 +11345,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 723, + "id": 729, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, - "src": "7297:11:1", + "referencedDeclaration": 2701, + "src": "7398:11:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 728, + "id": 734, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 726, + "id": 732, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7324:2:1", + "src": "7425:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -11319,32 +11388,32 @@ ], "expression": { "argumentTypes": null, - "id": 724, + "id": 730, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7309:5:1", + "referencedDeclaration": 644, + "src": "7410:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 725, + "id": 731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7309:14:1", + "referencedDeclaration": 3256, + "src": "7410:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 727, + "id": 733, "isConstant": false, "isLValue": false, "isPure": false, @@ -11352,7 +11421,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7309:18:1", + "src": "7410:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -11363,13 +11432,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7297:31:1", + "src": "7398:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7287:41:1", + "src": "7388:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11383,21 +11452,21 @@ "typeString": "bool" } ], - "id": 721, + "id": 727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7279:7:1", + "referencedDeclaration": 3393, + "src": "7380:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 730, + "id": 736, "isConstant": false, "isLValue": false, "isPure": false, @@ -11405,15 +11474,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7279:50:1", + "src": "7380:50:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 731, + "id": 737, "nodeType": "ExpressionStatement", - "src": "7279:50:1" + "src": "7380:50:1" }, { "expression": { @@ -11421,7 +11490,7 @@ "arguments": [ { "argumentTypes": null, - "id": 736, + "id": 742, "isConstant": false, "isLValue": false, "isPure": false, @@ -11429,18 +11498,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "7383:14:1", + "src": "7484:14:1", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 734, + "id": 740, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7391:5:1", + "referencedDeclaration": 640, + "src": "7492:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11454,18 +11523,18 @@ "typeString": "address" } ], - "id": 733, + "id": 739, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "7384:6:1", + "referencedDeclaration": 2585, + "src": "7485:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 735, + "id": 741, "isConstant": false, "isLValue": false, "isPure": false, @@ -11473,7 +11542,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7384:13:1", + "src": "7485:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11492,21 +11561,21 @@ "typeString": "bool" } ], - "id": 732, + "id": 738, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7375:7:1", + "referencedDeclaration": 3393, + "src": "7476:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 737, + "id": 743, "isConstant": false, "isLValue": false, "isPure": false, @@ -11514,15 +11583,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7375:23:1", + "src": "7476:23:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 738, + "id": 744, "nodeType": "ExpressionStatement", - "src": "7375:23:1" + "src": "7476:23:1" }, { "expression": { @@ -11532,32 +11601,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 740, + "id": 746, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "7444:17:1", + "referencedDeclaration": 2693, + "src": "7545:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 745, + "id": 751, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 743, + "id": 749, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7477:2:1", + "src": "7578:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -11575,32 +11644,32 @@ ], "expression": { "argumentTypes": null, - "id": 741, + "id": 747, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7462:5:1", + "referencedDeclaration": 644, + "src": "7563:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 742, + "id": 748, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7462:14:1", + "referencedDeclaration": 3256, + "src": "7563:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 744, + "id": 750, "isConstant": false, "isLValue": false, "isPure": false, @@ -11608,7 +11677,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7462:18:1", + "src": "7563:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -11619,7 +11688,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7444:37:1", + "src": "7545:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11633,21 +11702,21 @@ "typeString": "bool" } ], - "id": 739, + "id": 745, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7436:7:1", + "referencedDeclaration": 3393, + "src": "7537:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 746, + "id": 752, "isConstant": false, "isLValue": false, "isPure": false, @@ -11655,20 +11724,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7436:46:1", + "src": "7537:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 747, + "id": 753, "nodeType": "ExpressionStatement", - "src": "7436:46:1" + "src": "7537:46:1" }, { "expression": { "argumentTypes": null, - "id": 753, + "id": 759, "isConstant": false, "isLValue": false, "isPure": false, @@ -11679,26 +11748,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 748, + "id": 754, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7491:4:1", + "referencedDeclaration": 574, + "src": "7592:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 750, + "id": 756, "indexExpression": { "argumentTypes": null, - "id": 749, + "id": 755, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7496:5:1", + "referencedDeclaration": 640, + "src": "7597:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11709,21 +11778,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7491:11:1", + "src": "7592:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 751, + "id": 757, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "7491:15:1", + "referencedDeclaration": 549, + "src": "7592:15:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -11733,31 +11802,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 752, + "id": 758, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "7509:6:1", + "referencedDeclaration": 669, + "src": "7610:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "7491:24:1", + "src": "7592:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 754, + "id": 760, "nodeType": "ExpressionStatement", - "src": "7491:24:1" + "src": "7592:24:1" }, { "expression": { "argumentTypes": null, - "id": 760, + "id": 766, "isConstant": false, "isLValue": false, "isPure": false, @@ -11768,26 +11837,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 755, + "id": 761, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7523:4:1", + "referencedDeclaration": 574, + "src": "7624:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 757, + "id": 763, "indexExpression": { "argumentTypes": null, - "id": 756, + "id": 762, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7528:5:1", + "referencedDeclaration": 640, + "src": "7629:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11798,21 +11867,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7523:11:1", + "src": "7624:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 758, + "id": 764, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "7523:15:1", + "referencedDeclaration": 551, + "src": "7624:15:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -11822,31 +11891,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 759, + "id": 765, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "7541:6:1", + "referencedDeclaration": 696, + "src": "7642:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "7523:24:1", + "src": "7624:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 761, + "id": 767, "nodeType": "ExpressionStatement", - "src": "7523:24:1" + "src": "7624:24:1" }, { "expression": { "argumentTypes": null, - "id": 770, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -11857,26 +11926,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 762, + "id": 768, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7555:4:1", + "referencedDeclaration": 574, + "src": "7656:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 764, + "id": 770, "indexExpression": { "argumentTypes": null, - "id": 763, + "id": 769, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7560:5:1", + "referencedDeclaration": 640, + "src": "7661:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -11887,21 +11956,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7555:11:1", + "src": "7656:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 765, + "id": 771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "7555:21:1", + "referencedDeclaration": 553, + "src": "7656:21:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -11915,14 +11984,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 768, + "id": 774, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7594:2:1", + "src": "7695:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -11940,32 +12009,32 @@ ], "expression": { "argumentTypes": null, - "id": 766, + "id": 772, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7579:5:1", + "referencedDeclaration": 644, + "src": "7680:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 767, + "id": 773, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7579:14:1", + "referencedDeclaration": 3256, + "src": "7680:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 769, + "id": 775, "isConstant": false, "isLValue": false, "isPure": false, @@ -11973,26 +12042,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7579:18:1", + "src": "7680:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "7555:42:1", + "src": "7656:42:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 771, + "id": 777, "nodeType": "ExpressionStatement", - "src": "7555:42:1" + "src": "7656:42:1" }, { "expression": { "argumentTypes": null, - "id": 780, + "id": 786, "isConstant": false, "isLValue": false, "isPure": false, @@ -12003,26 +12072,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 772, + "id": 778, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7605:4:1", + "referencedDeclaration": 574, + "src": "7706:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 774, + "id": 780, "indexExpression": { "argumentTypes": null, - "id": 773, + "id": 779, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7610:5:1", + "referencedDeclaration": 640, + "src": "7711:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12033,21 +12102,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7605:11:1", + "src": "7706:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 775, + "id": 781, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "7605:22:1", + "referencedDeclaration": 555, + "src": "7706:22:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -12061,14 +12130,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 778, + "id": 784, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7646:2:1", + "src": "7747:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -12086,32 +12155,32 @@ ], "expression": { "argumentTypes": null, - "id": 776, + "id": 782, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7630:5:1", + "referencedDeclaration": 644, + "src": "7731:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 777, + "id": 783, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7630:15:1", + "referencedDeclaration": 3230, + "src": "7731:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 779, + "id": 785, "isConstant": false, "isLValue": false, "isPure": false, @@ -12119,26 +12188,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7630:19:1", + "src": "7731:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7605:44:1", + "src": "7706:44:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 781, + "id": 787, "nodeType": "ExpressionStatement", - "src": "7605:44:1" + "src": "7706:44:1" }, { "expression": { "argumentTypes": null, - "id": 790, + "id": 796, "isConstant": false, "isLValue": false, "isPure": false, @@ -12149,26 +12218,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 782, + "id": 788, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7657:4:1", + "referencedDeclaration": 574, + "src": "7758:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 784, + "id": 790, "indexExpression": { "argumentTypes": null, - "id": 783, + "id": 789, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7662:5:1", + "referencedDeclaration": 640, + "src": "7763:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12179,21 +12248,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7657:11:1", + "src": "7758:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 785, + "id": 791, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "7657:15:1", + "referencedDeclaration": 557, + "src": "7758:15:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -12207,14 +12276,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 788, + "id": 794, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7691:2:1", + "src": "7792:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -12232,32 +12301,32 @@ ], "expression": { "argumentTypes": null, - "id": 786, + "id": 792, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7675:5:1", + "referencedDeclaration": 644, + "src": "7776:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 787, + "id": 793, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7675:15:1", + "referencedDeclaration": 3230, + "src": "7776:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 789, + "id": 795, "isConstant": false, "isLValue": false, "isPure": false, @@ -12265,26 +12334,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7675:19:1", + "src": "7776:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7657:37:1", + "src": "7758:37:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 791, + "id": 797, "nodeType": "ExpressionStatement", - "src": "7657:37:1" + "src": "7758:37:1" }, { "expression": { "argumentTypes": null, - "id": 800, + "id": 806, "isConstant": false, "isLValue": false, "isPure": false, @@ -12295,26 +12364,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 792, + "id": 798, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7702:4:1", + "referencedDeclaration": 574, + "src": "7803:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 794, + "id": 800, "indexExpression": { "argumentTypes": null, - "id": 793, + "id": 799, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7707:5:1", + "referencedDeclaration": 640, + "src": "7808:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12325,21 +12394,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7702:11:1", + "src": "7803:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 795, + "id": 801, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "7702:16:1", + "referencedDeclaration": 559, + "src": "7803:16:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -12353,14 +12422,14 @@ { "argumentTypes": null, "hexValue": "3435", - "id": 798, + "id": 804, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7737:2:1", + "src": "7838:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_45_by_1", @@ -12378,32 +12447,32 @@ ], "expression": { "argumentTypes": null, - "id": 796, + "id": 802, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7721:5:1", + "referencedDeclaration": 644, + "src": "7822:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 797, + "id": 803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7721:15:1", + "referencedDeclaration": 3230, + "src": "7822:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 799, + "id": 805, "isConstant": false, "isLValue": false, "isPure": false, @@ -12411,26 +12480,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7721:19:1", + "src": "7822:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7702:38:1", + "src": "7803:38:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 801, + "id": 807, "nodeType": "ExpressionStatement", - "src": "7702:38:1" + "src": "7803:38:1" }, { "expression": { "argumentTypes": null, - "id": 810, + "id": 816, "isConstant": false, "isLValue": false, "isPure": false, @@ -12441,26 +12510,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 802, + "id": 808, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7748:4:1", + "referencedDeclaration": 574, + "src": "7849:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 804, + "id": 810, "indexExpression": { "argumentTypes": null, - "id": 803, + "id": 809, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7753:5:1", + "referencedDeclaration": 640, + "src": "7854:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12471,21 +12540,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7748:11:1", + "src": "7849:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 805, + "id": 811, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "7748:23:1", + "referencedDeclaration": 561, + "src": "7849:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12499,14 +12568,14 @@ { "argumentTypes": null, "hexValue": "3631", - "id": 808, + "id": 814, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7790:2:1", + "src": "7891:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_61_by_1", @@ -12524,32 +12593,32 @@ ], "expression": { "argumentTypes": null, - "id": 806, + "id": 812, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7774:5:1", + "referencedDeclaration": 644, + "src": "7875:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 807, + "id": 813, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes32", "nodeType": "MemberAccess", - "referencedDeclaration": 3191, - "src": "7774:15:1", + "referencedDeclaration": 3204, + "src": "7875:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes32)" } }, - "id": 809, + "id": 815, "isConstant": false, "isLValue": false, "isPure": false, @@ -12557,26 +12626,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7774:19:1", + "src": "7875:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "7748:45:1", + "src": "7849:45:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 811, + "id": 817, "nodeType": "ExpressionStatement", - "src": "7748:45:1" + "src": "7849:45:1" }, { "expression": { "argumentTypes": null, - "id": 820, + "id": 826, "isConstant": false, "isLValue": false, "isPure": false, @@ -12587,26 +12656,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 812, + "id": 818, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7801:4:1", + "referencedDeclaration": 574, + "src": "7902:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 814, + "id": 820, "indexExpression": { "argumentTypes": null, - "id": 813, + "id": 819, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7806:5:1", + "referencedDeclaration": 640, + "src": "7907:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12617,21 +12686,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7801:11:1", + "src": "7902:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 815, + "id": 821, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "7801:19:1", + "referencedDeclaration": 563, + "src": "7902:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -12645,14 +12714,14 @@ { "argumentTypes": null, "hexValue": "3933", - "id": 818, + "id": 824, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7839:2:1", + "src": "7940:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_93_by_1", @@ -12670,32 +12739,32 @@ ], "expression": { "argumentTypes": null, - "id": 816, + "id": 822, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7823:5:1", + "referencedDeclaration": 644, + "src": "7924:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 817, + "id": 823, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7823:15:1", + "referencedDeclaration": 3230, + "src": "7924:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 819, + "id": 825, "isConstant": false, "isLValue": false, "isPure": false, @@ -12703,26 +12772,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7823:19:1", + "src": "7924:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7801:41:1", + "src": "7902:41:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 821, + "id": 827, "nodeType": "ExpressionStatement", - "src": "7801:41:1" + "src": "7902:41:1" }, { "expression": { "argumentTypes": null, - "id": 832, + "id": 838, "isConstant": false, "isLValue": false, "isPure": false, @@ -12733,26 +12802,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 822, + "id": 828, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7850:4:1", + "referencedDeclaration": 574, + "src": "7951:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 824, + "id": 830, "indexExpression": { "argumentTypes": null, - "id": 823, + "id": 829, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7855:5:1", + "referencedDeclaration": 640, + "src": "7956:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12763,21 +12832,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7850:11:1", + "src": "7951:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 825, + "id": 831, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "7850:24:1", + "referencedDeclaration": 567, + "src": "7951:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12791,7 +12860,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 831, + "id": 837, "isConstant": false, "isLValue": false, "isPure": false, @@ -12801,12 +12870,12 @@ "arguments": [ { "argumentTypes": null, - "id": 828, + "id": 834, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7892:5:1", + "referencedDeclaration": 640, + "src": "7993:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12822,18 +12891,18 @@ ], "expression": { "argumentTypes": null, - "id": 826, + "id": 832, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "7877:9:1", + "referencedDeclaration": 584, + "src": "7978:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 827, + "id": 833, "isConstant": false, "isLValue": false, "isPure": false, @@ -12841,13 +12910,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7877:14:1", + "src": "7978:14:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 829, + "id": 835, "isConstant": false, "isLValue": false, "isPure": false, @@ -12855,7 +12924,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7877:21:1", + "src": "7978:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12866,14 +12935,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 830, + "id": 836, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7901:1:1", + "src": "8002:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -12881,26 +12950,26 @@ }, "value": "1" }, - "src": "7877:25:1", + "src": "7978:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7850:52:1", + "src": "7951:52:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 833, + "id": 839, "nodeType": "ExpressionStatement", - "src": "7850:52:1" + "src": "7951:52:1" }, { "expression": { "argumentTypes": null, - "id": 854, + "id": 860, "isConstant": false, "isLValue": false, "isPure": false, @@ -12911,26 +12980,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 834, + "id": 840, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7910:4:1", + "referencedDeclaration": 574, + "src": "8011:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 836, + "id": 842, "indexExpression": { "argumentTypes": null, - "id": 835, + "id": 841, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7915:5:1", + "referencedDeclaration": 640, + "src": "8016:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12941,21 +13010,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7910:11:1", + "src": "8011:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 837, + "id": 843, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "7910:21:1", + "referencedDeclaration": 565, + "src": "8011:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12969,7 +13038,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 853, + "id": 859, "isConstant": false, "isLValue": false, "isPure": false, @@ -12979,12 +13048,12 @@ "arguments": [ { "argumentTypes": null, - "id": 850, + "id": 856, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7991:5:1", + "referencedDeclaration": 640, + "src": "8092:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13004,32 +13073,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 838, + "id": 844, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "7934:10:1", + "referencedDeclaration": 581, + "src": "8035:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 843, + "id": 849, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 841, + "id": 847, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7960:2:1", + "src": "8061:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -13047,32 +13116,32 @@ ], "expression": { "argumentTypes": null, - "id": 839, + "id": 845, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7945:5:1", + "referencedDeclaration": 644, + "src": "8046:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 840, + "id": 846, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7945:14:1", + "referencedDeclaration": 3256, + "src": "8046:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 842, + "id": 848, "isConstant": false, "isLValue": false, "isPure": false, @@ -13080,7 +13149,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7945:18:1", + "src": "8046:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -13091,27 +13160,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7934:30:1", + "src": "8035:30:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 848, + "id": 854, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 846, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7981:2:1", + "src": "8082:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -13129,32 +13198,32 @@ ], "expression": { "argumentTypes": null, - "id": 844, + "id": 850, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7965:5:1", + "referencedDeclaration": 644, + "src": "8066:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 845, + "id": 851, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7965:15:1", + "referencedDeclaration": 3230, + "src": "8066:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 847, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -13162,7 +13231,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7965:19:1", + "src": "8066:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -13173,13 +13242,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7934:51:1", + "src": "8035:51:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 849, + "id": 855, "isConstant": false, "isLValue": false, "isPure": false, @@ -13187,13 +13256,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7934:56:1", + "src": "8035:56:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 851, + "id": 857, "isConstant": false, "isLValue": false, "isPure": false, @@ -13201,7 +13270,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7934:63:1", + "src": "8035:63:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13212,14 +13281,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 852, + "id": 858, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8000:1:1", + "src": "8101:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -13227,21 +13296,21 @@ }, "value": "1" }, - "src": "7934:67:1", + "src": "8035:67:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7910:91:1", + "src": "8011:91:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 855, + "id": 861, "nodeType": "ExpressionStatement", - "src": "7910:91:1" + "src": "8011:91:1" }, { "eventCall": { @@ -13249,12 +13318,12 @@ "arguments": [ { "argumentTypes": null, - "id": 857, + "id": 863, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8027:5:1", + "referencedDeclaration": 640, + "src": "8128:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13268,18 +13337,18 @@ "typeString": "address" } ], - "id": 856, + "id": 862, "name": "RegisterShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 421, - "src": "8014:12:1", + "referencedDeclaration": 427, + "src": "8115:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 858, + "id": 864, "isConstant": false, "isLValue": false, "isPure": false, @@ -13287,15 +13356,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8014:19:1", + "src": "8115:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 859, + "id": 865, "nodeType": "EmitStatement", - "src": "8009:24:1" + "src": "8110:24:1" }, { "expression": { @@ -13303,12 +13372,12 @@ "arguments": [ { "argumentTypes": null, - "id": 863, + "id": 869, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8059:5:1", + "referencedDeclaration": 640, + "src": "8160:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13316,12 +13385,12 @@ }, { "argumentTypes": null, - "id": 864, + "id": 870, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8065:6:1", + "referencedDeclaration": 642, + "src": "8166:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13341,18 +13410,18 @@ ], "expression": { "argumentTypes": null, - "id": 860, + "id": 866, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "8041:4:1", + "referencedDeclaration": 479, + "src": "8142:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 862, + "id": 868, "isConstant": false, "isLValue": false, "isPure": false, @@ -13360,13 +13429,13 @@ "memberName": "addTokenShop", "nodeType": "MemberAccess", "referencedDeclaration": 324, - "src": "8041:17:1", + "src": "8142:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 865, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -13374,15 +13443,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8041:31:1", + "src": "8142:31:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 866, + "id": 872, "nodeType": "ExpressionStatement", - "src": "8041:31:1" + "src": "8142:31:1" }, { "expression": { @@ -13393,12 +13462,12 @@ "arguments": [ { "argumentTypes": null, - "id": 871, + "id": 877, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "8101:4:1", + "referencedDeclaration": 479, + "src": "8202:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -13412,20 +13481,20 @@ "typeString": "contract DetherBank" } ], - "id": 870, + "id": 876, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8093:7:1", + "src": "8194:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 872, + "id": 878, "isConstant": false, "isLValue": false, "isPure": false, @@ -13433,7 +13502,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8093:13:1", + "src": "8194:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13441,12 +13510,12 @@ }, { "argumentTypes": null, - "id": 873, + "id": 879, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8108:6:1", + "referencedDeclaration": 642, + "src": "8209:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13466,32 +13535,32 @@ ], "expression": { "argumentTypes": null, - "id": 867, + "id": 873, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "8080:3:1", + "referencedDeclaration": 477, + "src": "8181:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 869, + "id": 875, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "8080:12:1", + "referencedDeclaration": 3366, + "src": "8181:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 874, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, @@ -13499,15 +13568,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8080:35:1", + "src": "8181:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 875, + "id": 881, "nodeType": "ExpressionStatement", - "src": "8080:35:1" + "src": "8181:35:1" } ] } @@ -13515,77 +13584,77 @@ ] }, "documentation": "@dev Standard ERC223 function that will handle incoming token transfers.\nThis is the main function to register SHOP or TELLER, its calling when you\nsend token to the DTH contract and by passing data as bytes on the third\nparameter.\nIts not supposed to be use on its own but will only handle incoming DTH\ntransaction.\nThe _data will wait for\n[1st byte] 1 (0x31) for shop OR 2 (0x32) for teller\nFOR SHOP AND TELLER:\n2sd to 5th bytes lat\n6th to 9th bytes lng\n...\nModifier tier1: Check if address is whitelisted with the sms verification", - "id": 1270, + "id": 1276, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 641, + "id": 647, "modifierName": { "argumentTypes": null, - "id": 640, + "id": 646, "name": "whenNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 253, - "src": "6623:13:1", + "src": "6724:13:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6623:13:1" + "src": "6724:13:1" }, { "arguments": [ { "argumentTypes": null, - "id": 643, + "id": 649, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "6643:5:1", + "referencedDeclaration": 640, + "src": "6744:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 644, + "id": 650, "modifierName": { "argumentTypes": null, - "id": 642, + "id": 648, "name": "tier1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "6637:5:1", + "referencedDeclaration": 2718, + "src": "6738:5:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "6637:13:1" + "src": "6738:13:1" } ], "name": "tokenFallback", "nodeType": "FunctionDefinition", "parameters": { - "id": 639, + "id": 645, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 634, + "id": 640, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6582:13:1", + "scope": 1276, + "src": "6683:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13593,10 +13662,10 @@ "typeString": "address" }, "typeName": { - "id": 633, + "id": 639, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6582:7:1", + "src": "6683:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13607,11 +13676,11 @@ }, { "constant": false, - "id": 636, + "id": 642, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6597:11:1", + "scope": 1276, + "src": "6698:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13619,10 +13688,10 @@ "typeString": "uint256" }, "typeName": { - "id": 635, + "id": 641, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6597:4:1", + "src": "6698:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13633,11 +13702,11 @@ }, { "constant": false, - "id": 638, + "id": 644, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6610:11:1", + "scope": 1276, + "src": "6711:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13645,10 +13714,10 @@ "typeString": "bytes" }, "typeName": { - "id": 637, + "id": 643, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6610:5:1", + "src": "6711:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -13658,26 +13727,26 @@ "visibility": "internal" } ], - "src": "6581:41:1" + "src": "6682:41:1" }, "payable": false, "returnParameters": { - "id": 645, + "id": 651, "nodeType": "ParameterList", "parameters": [], - "src": "6651:0:1" + "src": "6752:0:1" }, - "scope": 2659, - "src": "6559:4430:1", + "scope": 2672, + "src": "6660:4430:1", "stateMutability": "nonpayable", - "superFunction": 2959, + "superFunction": 2972, "visibility": "public" }, { "body": { - "id": 1395, + "id": 1401, "nodeType": "Block", - "src": "11281:633:1", + "src": "11382:633:1", "statements": [ { "expression": { @@ -13690,18 +13759,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1285, + "id": 1291, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11304:3:1", + "referencedDeclaration": 3390, + "src": "11405:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1286, + "id": 1292, "isConstant": false, "isLValue": false, "isPure": false, @@ -13709,7 +13778,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11304:10:1", + "src": "11405:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13723,18 +13792,18 @@ "typeString": "address" } ], - "id": 1284, + "id": 1290, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "11295:8:1", + "referencedDeclaration": 2629, + "src": "11396:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1287, + "id": 1293, "isConstant": false, "isLValue": false, "isPure": false, @@ -13742,7 +13811,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11295:20:1", + "src": "11396:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13756,21 +13825,21 @@ "typeString": "bool" } ], - "id": 1283, + "id": 1289, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "11287:7:1", + "referencedDeclaration": 3393, + "src": "11388:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1288, + "id": 1294, "isConstant": false, "isLValue": false, "isPure": false, @@ -13778,15 +13847,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11287:29:1", + "src": "11388:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1289, + "id": 1295, "nodeType": "ExpressionStatement", - "src": "11287:29:1" + "src": "11388:29:1" }, { "condition": { @@ -13795,19 +13864,19 @@ "typeIdentifier": "t_int8", "typeString": "int8" }, - "id": 1296, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1290, + "id": 1296, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1272, - "src": "11326:10:1", + "referencedDeclaration": 1278, + "src": "11427:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -13821,34 +13890,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1291, + "id": 1297, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11340:6:1", + "referencedDeclaration": 534, + "src": "11441:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1294, + "id": 1300, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1292, + "id": 1298, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11347:3:1", + "referencedDeclaration": 3390, + "src": "11448:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1293, + "id": 1299, "isConstant": false, "isLValue": false, "isPure": false, @@ -13856,7 +13925,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11347:10:1", + "src": "11448:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13867,40 +13936,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11340:18:1", + "src": "11441:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1295, + "id": 1301, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "11340:29:1", + "referencedDeclaration": 491, + "src": "11441:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11326:43:1", + "src": "11427:43:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1305, + "id": 1311, "nodeType": "IfStatement", - "src": "11322:95:1", + "src": "11423:95:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1303, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -13911,34 +13980,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1297, + "id": 1303, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11375:6:1", + "referencedDeclaration": 534, + "src": "11476:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1300, + "id": 1306, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1298, + "id": 1304, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11382:3:1", + "referencedDeclaration": 3390, + "src": "11483:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1299, + "id": 1305, "isConstant": false, "isLValue": false, "isPure": false, @@ -13946,7 +14015,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11382:10:1", + "src": "11483:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13957,21 +14026,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11375:18:1", + "src": "11476:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1301, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "11375:29:1", + "referencedDeclaration": 491, + "src": "11476:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -13981,26 +14050,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1302, + "id": 1308, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1272, - "src": "11407:10:1", + "referencedDeclaration": 1278, + "src": "11508:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11375:42:1", + "src": "11476:42:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 1304, + "id": 1310, "nodeType": "ExpressionStatement", - "src": "11375:42:1" + "src": "11476:42:1" } }, { @@ -14010,7 +14079,7 @@ "typeIdentifier": "t_bytes16", "typeString": "bytes16" }, - "id": 1312, + "id": 1318, "isConstant": false, "isLValue": false, "isPure": false, @@ -14021,34 +14090,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1306, + "id": 1312, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11427:6:1", + "referencedDeclaration": 534, + "src": "11528:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1309, + "id": 1315, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1307, + "id": 1313, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11434:3:1", + "referencedDeclaration": 3390, + "src": "11535:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1308, + "id": 1314, "isConstant": false, "isLValue": false, "isPure": false, @@ -14056,7 +14125,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11434:10:1", + "src": "11535:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14067,21 +14136,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11427:18:1", + "src": "11528:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1310, + "id": 1316, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "11427:28:1", + "referencedDeclaration": 493, + "src": "11528:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -14091,31 +14160,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1311, + "id": 1317, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "11459:9:1", + "referencedDeclaration": 1280, + "src": "11560:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "11427:41:1", + "src": "11528:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1321, + "id": 1327, "nodeType": "IfStatement", - "src": "11423:92:1", + "src": "11524:92:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1319, + "id": 1325, "isConstant": false, "isLValue": false, "isPure": false, @@ -14126,34 +14195,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1313, + "id": 1319, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11475:6:1", + "referencedDeclaration": 534, + "src": "11576:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1316, + "id": 1322, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1314, + "id": 1320, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11482:3:1", + "referencedDeclaration": 3390, + "src": "11583:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1315, + "id": 1321, "isConstant": false, "isLValue": false, "isPure": false, @@ -14161,7 +14230,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11482:10:1", + "src": "11583:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14172,21 +14241,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11475:18:1", + "src": "11576:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1317, + "id": 1323, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "11475:28:1", + "referencedDeclaration": 493, + "src": "11576:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -14196,26 +14265,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1318, + "id": 1324, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "11506:9:1", + "referencedDeclaration": 1280, + "src": "11607:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "11475:40:1", + "src": "11576:40:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1320, + "id": 1326, "nodeType": "ExpressionStatement", - "src": "11475:40:1" + "src": "11576:40:1" } }, { @@ -14225,7 +14294,7 @@ "typeIdentifier": "t_int8", "typeString": "int8" }, - "id": 1328, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -14236,34 +14305,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1322, + "id": 1328, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11525:6:1", + "referencedDeclaration": 534, + "src": "11626:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1325, + "id": 1331, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1323, + "id": 1329, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11532:3:1", + "referencedDeclaration": 3390, + "src": "11633:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1324, + "id": 1330, "isConstant": false, "isLValue": false, "isPure": false, @@ -14271,7 +14340,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11532:10:1", + "src": "11633:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14282,21 +14351,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11525:18:1", + "src": "11626:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1326, + "id": 1332, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "11525:27:1", + "referencedDeclaration": 495, + "src": "11626:27:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -14306,31 +14375,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1327, + "id": 1333, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1276, - "src": "11556:8:1", + "referencedDeclaration": 1282, + "src": "11657:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11525:39:1", + "src": "11626:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1337, + "id": 1343, "nodeType": "IfStatement", - "src": "11521:88:1", + "src": "11622:88:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1335, + "id": 1341, "isConstant": false, "isLValue": false, "isPure": false, @@ -14341,34 +14410,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1329, + "id": 1335, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11571:6:1", + "referencedDeclaration": 534, + "src": "11672:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1332, + "id": 1338, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1330, + "id": 1336, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11578:3:1", + "referencedDeclaration": 3390, + "src": "11679:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1331, + "id": 1337, "isConstant": false, "isLValue": false, "isPure": false, @@ -14376,7 +14445,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11578:10:1", + "src": "11679:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14387,21 +14456,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11571:18:1", + "src": "11672:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1333, + "id": 1339, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "11571:27:1", + "referencedDeclaration": 495, + "src": "11672:27:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -14411,26 +14480,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1334, + "id": 1340, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1276, - "src": "11601:8:1", + "referencedDeclaration": 1282, + "src": "11702:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11571:38:1", + "src": "11672:38:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 1336, + "id": 1342, "nodeType": "ExpressionStatement", - "src": "11571:38:1" + "src": "11672:38:1" } }, { @@ -14440,7 +14509,7 @@ "typeIdentifier": "t_int16", "typeString": "int16" }, - "id": 1344, + "id": 1350, "isConstant": false, "isLValue": false, "isPure": false, @@ -14451,34 +14520,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1338, + "id": 1344, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11619:6:1", + "referencedDeclaration": 534, + "src": "11720:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1341, + "id": 1347, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1339, + "id": 1345, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11626:3:1", + "referencedDeclaration": 3390, + "src": "11727:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1340, + "id": 1346, "isConstant": false, "isLValue": false, "isPure": false, @@ -14486,7 +14555,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11626:10:1", + "src": "11727:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14497,21 +14566,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11619:18:1", + "src": "11720:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1342, + "id": 1348, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "11619:24:1", + "referencedDeclaration": 497, + "src": "11720:24:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -14521,31 +14590,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1343, + "id": 1349, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "11647:5:1", + "referencedDeclaration": 1284, + "src": "11748:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "11619:33:1", + "src": "11720:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1353, + "id": 1359, "nodeType": "IfStatement", - "src": "11615:76:1", + "src": "11716:76:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1351, + "id": 1357, "isConstant": false, "isLValue": false, "isPure": false, @@ -14556,34 +14625,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1345, + "id": 1351, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11659:6:1", + "referencedDeclaration": 534, + "src": "11760:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1348, + "id": 1354, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1346, + "id": 1352, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11666:3:1", + "referencedDeclaration": 3390, + "src": "11767:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1347, + "id": 1353, "isConstant": false, "isLValue": false, "isPure": false, @@ -14591,7 +14660,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11666:10:1", + "src": "11767:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14602,21 +14671,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11659:18:1", + "src": "11760:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1349, + "id": 1355, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "11659:24:1", + "referencedDeclaration": 497, + "src": "11760:24:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -14626,26 +14695,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1350, + "id": 1356, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "11686:5:1", + "referencedDeclaration": 1284, + "src": "11787:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "11659:32:1", + "src": "11760:32:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 1352, + "id": 1358, "nodeType": "ExpressionStatement", - "src": "11659:32:1" + "src": "11760:32:1" } }, { @@ -14655,7 +14724,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1360, + "id": 1366, "isConstant": false, "isLValue": false, "isPure": false, @@ -14666,34 +14735,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1354, + "id": 1360, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11701:6:1", + "referencedDeclaration": 534, + "src": "11802:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1357, + "id": 1363, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1355, + "id": 1361, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11708:3:1", + "referencedDeclaration": 3390, + "src": "11809:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1356, + "id": 1362, "isConstant": false, "isLValue": false, "isPure": false, @@ -14701,7 +14770,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11708:10:1", + "src": "11809:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14712,21 +14781,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11701:18:1", + "src": "11802:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1358, + "id": 1364, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "11701:25:1", + "referencedDeclaration": 507, + "src": "11802:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14736,31 +14805,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1359, + "id": 1365, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "11730:6:1", + "referencedDeclaration": 1286, + "src": "11831:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "11701:35:1", + "src": "11802:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1369, + "id": 1375, "nodeType": "IfStatement", - "src": "11697:81:1", + "src": "11798:81:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1367, + "id": 1373, "isConstant": false, "isLValue": false, "isPure": false, @@ -14771,34 +14840,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1361, + "id": 1367, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11744:6:1", + "referencedDeclaration": 534, + "src": "11845:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1364, + "id": 1370, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1362, + "id": 1368, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11751:3:1", + "referencedDeclaration": 3390, + "src": "11852:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1363, + "id": 1369, "isConstant": false, "isLValue": false, "isPure": false, @@ -14806,7 +14875,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11751:10:1", + "src": "11852:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14817,21 +14886,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11744:18:1", + "src": "11845:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1365, + "id": 1371, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "11744:25:1", + "referencedDeclaration": 507, + "src": "11845:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14841,26 +14910,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1366, + "id": 1372, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "11772:6:1", + "referencedDeclaration": 1286, + "src": "11873:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "11744:34:1", + "src": "11845:34:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1368, + "id": 1374, "nodeType": "ExpressionStatement", - "src": "11744:34:1" + "src": "11845:34:1" } }, { @@ -14870,7 +14939,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1373, + "id": 1379, "isConstant": false, "isLValue": false, "isPure": false, @@ -14879,18 +14948,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1370, + "id": 1376, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11788:3:1", + "referencedDeclaration": 3390, + "src": "11889:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1371, + "id": 1377, "isConstant": false, "isLValue": false, "isPure": false, @@ -14898,7 +14967,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11788:9:1", + "src": "11889:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14909,14 +14978,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1372, + "id": 1378, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11800:1:1", + "src": "11901:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -14924,20 +14993,20 @@ }, "value": "0" }, - "src": "11788:13:1", + "src": "11889:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1389, + "id": 1395, "nodeType": "IfStatement", - "src": "11784:91:1", + "src": "11885:91:1", "trueBody": { - "id": 1388, + "id": 1394, "nodeType": "Block", - "src": "11803:72:1", + "src": "11904:72:1", "statements": [ { "expression": { @@ -14947,18 +15016,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1382, + "id": 1388, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11846:3:1", + "referencedDeclaration": 3390, + "src": "11947:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1383, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -14966,7 +15035,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11846:10:1", + "src": "11947:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14976,18 +15045,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1384, + "id": 1390, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11858:3:1", + "referencedDeclaration": 3390, + "src": "11959:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1385, + "id": 1391, "isConstant": false, "isLValue": false, "isPure": false, @@ -14995,7 +15064,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11858:9:1", + "src": "11959:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15018,18 +15087,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1379, + "id": 1385, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11835:3:1", + "referencedDeclaration": 3390, + "src": "11936:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1380, + "id": 1386, "isConstant": false, "isLValue": false, "isPure": false, @@ -15037,7 +15106,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11835:9:1", + "src": "11936:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15055,18 +15124,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1374, + "id": 1380, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "11811:4:1", + "referencedDeclaration": 479, + "src": "11912:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1377, + "id": 1383, "isConstant": false, "isLValue": false, "isPure": false, @@ -15074,13 +15143,13 @@ "memberName": "addEthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 340, - "src": "11811:17:1", + "src": "11912:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1378, + "id": 1384, "isConstant": false, "isLValue": false, "isPure": false, @@ -15088,13 +15157,13 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11811:23:1", + "src": "11912:23:1", "typeDescriptions": { "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value_$", "typeString": "function (uint256) returns (function (address,uint256) payable external returns (bool))" } }, - "id": 1381, + "id": 1387, "isConstant": false, "isLValue": false, "isPure": false, @@ -15102,13 +15171,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11811:34:1", + "src": "11912:34:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1386, + "id": 1392, "isConstant": false, "isLValue": false, "isPure": false, @@ -15116,15 +15185,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11811:57:1", + "src": "11912:57:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1387, + "id": 1393, "nodeType": "ExpressionStatement", - "src": "11811:57:1" + "src": "11912:57:1" } ] } @@ -15137,18 +15206,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1391, + "id": 1397, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11898:3:1", + "referencedDeclaration": 3390, + "src": "11999:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1392, + "id": 1398, "isConstant": false, "isLValue": false, "isPure": false, @@ -15156,7 +15225,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11898:10:1", + "src": "11999:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15170,18 +15239,18 @@ "typeString": "address" } ], - "id": 1390, + "id": 1396, "name": "UpdateTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "11885:12:1", + "referencedDeclaration": 415, + "src": "11986:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1393, + "id": 1399, "isConstant": false, "isLValue": false, "isPure": false, @@ -15189,20 +15258,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11885:24:1", + "src": "11986:24:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1394, + "id": 1400, "nodeType": "EmitStatement", - "src": "11880:29:1" + "src": "11981:29:1" } ] }, "documentation": "a teller can update his profile\nIf a teller want to change his location, he would need to delete and recreate\na new point", - "id": 1396, + "id": 1402, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -15210,16 +15279,16 @@ "name": "updateTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 1281, + "id": 1287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1272, + "id": 1278, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11169:15:1", + "scope": 1402, + "src": "11270:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15227,10 +15296,10 @@ "typeString": "int8" }, "typeName": { - "id": 1271, + "id": 1277, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "11169:4:1", + "src": "11270:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -15241,11 +15310,11 @@ }, { "constant": false, - "id": 1274, + "id": 1280, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11190:17:1", + "scope": 1402, + "src": "11291:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15253,10 +15322,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 1273, + "id": 1279, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "11190:7:1", + "src": "11291:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -15267,11 +15336,11 @@ }, { "constant": false, - "id": 1276, + "id": 1282, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11213:13:1", + "scope": 1402, + "src": "11314:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15279,10 +15348,10 @@ "typeString": "int8" }, "typeName": { - "id": 1275, + "id": 1281, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "11213:4:1", + "src": "11314:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -15293,11 +15362,11 @@ }, { "constant": false, - "id": 1278, + "id": 1284, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11232:11:1", + "scope": 1402, + "src": "11333:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15305,10 +15374,10 @@ "typeString": "int16" }, "typeName": { - "id": 1277, + "id": 1283, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "11232:5:1", + "src": "11333:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -15319,11 +15388,11 @@ }, { "constant": false, - "id": 1280, + "id": 1286, "name": "online", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11249:11:1", + "scope": 1402, + "src": "11350:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15331,10 +15400,10 @@ "typeString": "bool" }, "typeName": { - "id": 1279, + "id": 1285, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11249:4:1", + "src": "11350:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15344,28 +15413,28 @@ "visibility": "internal" } ], - "src": "11163:102:1" + "src": "11264:102:1" }, "payable": true, "returnParameters": { - "id": 1282, + "id": 1288, "nodeType": "ParameterList", "parameters": [], - "src": "11281:0:1" + "src": "11382:0:1" }, - "scope": 2659, - "src": "11142:772:1", + "scope": 2672, + "src": "11243:772:1", "stateMutability": "payable", "superFunction": null, "visibility": "public" }, { "constant": false, - "id": 1402, + "id": 1408, "name": "limitTier", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "12011:51:1", + "scope": 2672, + "src": "12112:51:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -15373,46 +15442,46 @@ "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" }, "typeName": { - "id": 1401, + "id": 1407, "keyType": { - "id": 1397, + "id": 1403, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12019:4:1", + "src": "12120:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "12011:41:1", + "src": "12112:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" }, "valueType": { - "id": 1400, + "id": 1406, "keyType": { - "id": 1398, + "id": 1404, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12036:6:1", + "src": "12137:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "12027:24:1", + "src": "12128:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" }, "valueType": { - "id": 1399, + "id": 1405, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12046:4:1", + "src": "12147:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15425,14 +15494,14 @@ }, { "body": { - "id": 1421, + "id": 1427, "nodeType": "Block", - "src": "12159:51:1", + "src": "12260:51:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1419, + "id": 1425, "isConstant": false, "isLValue": false, "isPure": false, @@ -15443,26 +15512,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1413, + "id": 1419, "name": "limitTier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "12165:9:1", + "referencedDeclaration": 1408, + "src": "12266:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" } }, - "id": 1416, + "id": 1422, "indexExpression": { "argumentTypes": null, - "id": 1414, + "id": 1420, "name": "_tier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1404, - "src": "12175:5:1", + "referencedDeclaration": 1410, + "src": "12276:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15473,21 +15542,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12165:16:1", + "src": "12266:16:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1417, + "id": 1423, "indexExpression": { "argumentTypes": null, - "id": 1415, + "id": 1421, "name": "_countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1406, - "src": "12182:10:1", + "referencedDeclaration": 1412, + "src": "12283:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -15498,7 +15567,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "12165:28:1", + "src": "12266:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15508,68 +15577,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1418, + "id": 1424, "name": "_limitUsd", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1408, - "src": "12196:9:1", + "referencedDeclaration": 1414, + "src": "12297:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12165:40:1", + "src": "12266:40:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1420, + "id": 1426, "nodeType": "ExpressionStatement", - "src": "12165:40:1" + "src": "12266:40:1" } ] }, "documentation": null, - "id": 1422, + "id": 1428, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1411, + "id": 1417, "modifierName": { "argumentTypes": null, - "id": 1410, + "id": 1416, "name": "onlyCFO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "12151:7:1", + "src": "12252:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "12151:7:1" + "src": "12252:7:1" } ], "name": "setSellDailyLimit", "nodeType": "FunctionDefinition", "parameters": { - "id": 1409, + "id": 1415, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1404, + "id": 1410, "name": "_tier", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12094:10:1", + "scope": 1428, + "src": "12195:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15577,10 +15646,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1403, + "id": 1409, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12094:4:1", + "src": "12195:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15591,11 +15660,11 @@ }, { "constant": false, - "id": 1406, + "id": 1412, "name": "_countryId", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12106:17:1", + "scope": 1428, + "src": "12207:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15603,10 +15672,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1405, + "id": 1411, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12106:6:1", + "src": "12207:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -15617,11 +15686,11 @@ }, { "constant": false, - "id": 1408, + "id": 1414, "name": "_limitUsd", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12125:17:1", + "scope": 1428, + "src": "12226:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15629,10 +15698,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1407, + "id": 1413, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12125:7:1", + "src": "12226:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15642,43 +15711,43 @@ "visibility": "internal" } ], - "src": "12093:50:1" + "src": "12194:50:1" }, "payable": false, "returnParameters": { - "id": 1412, + "id": 1418, "nodeType": "ParameterList", "parameters": [], - "src": "12159:0:1" + "src": "12260:0:1" }, - "scope": 2659, - "src": "12067:143:1", + "scope": 2672, + "src": "12168:143:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1439, + "id": 1445, "nodeType": "Block", - "src": "12309:50:1", + "src": "12410:50:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1437, + "id": 1443, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1431, + "id": 1437, "name": "limitUsd", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "12315:8:1", + "referencedDeclaration": 1435, + "src": "12416:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15692,26 +15761,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1432, + "id": 1438, "name": "limitTier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "12326:9:1", + "referencedDeclaration": 1408, + "src": "12427:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" } }, - "id": 1434, + "id": 1440, "indexExpression": { "argumentTypes": null, - "id": 1433, + "id": 1439, "name": "_tier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1424, - "src": "12336:5:1", + "referencedDeclaration": 1430, + "src": "12437:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15722,21 +15791,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12326:16:1", + "src": "12427:16:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1436, + "id": 1442, "indexExpression": { "argumentTypes": null, - "id": 1435, + "id": 1441, "name": "_countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1426, - "src": "12343:10:1", + "referencedDeclaration": 1432, + "src": "12444:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -15747,26 +15816,26 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12326:28:1", + "src": "12427:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12315:39:1", + "src": "12416:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1438, + "id": 1444, "nodeType": "ExpressionStatement", - "src": "12315:39:1" + "src": "12416:39:1" } ] }, "documentation": null, - "id": 1440, + "id": 1446, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -15774,16 +15843,16 @@ "name": "getSellDailyLimit", "nodeType": "FunctionDefinition", "parameters": { - "id": 1427, + "id": 1433, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1424, + "id": 1430, "name": "_tier", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12240:10:1", + "scope": 1446, + "src": "12341:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15791,10 +15860,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1423, + "id": 1429, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12240:4:1", + "src": "12341:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15805,11 +15874,11 @@ }, { "constant": false, - "id": 1426, + "id": 1432, "name": "_countryId", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12252:17:1", + "scope": 1446, + "src": "12353:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15817,10 +15886,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1425, + "id": 1431, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12252:6:1", + "src": "12353:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -15830,20 +15899,20 @@ "visibility": "internal" } ], - "src": "12239:31:1" + "src": "12340:31:1" }, "payable": false, "returnParameters": { - "id": 1430, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1429, + "id": 1435, "name": "limitUsd", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12291:16:1", + "scope": 1446, + "src": "12392:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15851,10 +15920,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1428, + "id": 1434, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12291:7:1", + "src": "12392:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15864,32 +15933,32 @@ "visibility": "internal" } ], - "src": "12290:18:1" + "src": "12391:18:1" }, - "scope": 2659, - "src": "12213:146:1", + "scope": 2672, + "src": "12314:146:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1497, + "id": 1503, "nodeType": "Block", - "src": "12441:726:1", + "src": "12542:726:1", "statements": [ { "assignments": [ - 1447 + 1453 ], "declarations": [ { "constant": false, - "id": 1447, + "id": 1453, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12481:16:1", + "scope": 1504, + "src": "12582:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15897,10 +15966,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1446, + "id": 1452, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12481:6:1", + "src": "12582:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -15910,33 +15979,33 @@ "visibility": "internal" } ], - "id": 1452, + "id": 1458, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1448, + "id": 1454, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "12500:6:1", + "referencedDeclaration": 534, + "src": "12601:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1450, + "id": 1456, "indexExpression": { "argumentTypes": null, - "id": 1449, + "id": 1455, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12507:7:1", + "referencedDeclaration": 1448, + "src": "12608:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15947,41 +16016,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12500:15:1", + "src": "12601:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1451, + "id": 1457, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "12500:25:1", + "referencedDeclaration": 487, + "src": "12601:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "VariableDeclarationStatement", - "src": "12481:44:1" + "src": "12582:44:1" }, { "assignments": [ - 1454 + 1460 ], "declarations": [ { "constant": false, - "id": 1454, + "id": 1460, "name": "usdDailyLimit", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12580:21:1", + "scope": 1504, + "src": "12681:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15989,10 +16058,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1453, + "id": 1459, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12580:7:1", + "src": "12681:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16002,7 +16071,7 @@ "visibility": "internal" } ], - "id": 1464, + "id": 1470, "initialValue": { "argumentTypes": null, "arguments": [ @@ -16013,12 +16082,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1457, + "id": 1463, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12630:7:1", + "referencedDeclaration": 1448, + "src": "12731:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16032,18 +16101,18 @@ "typeString": "address" } ], - "id": 1456, + "id": 1462, "name": "isTier2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2768, - "src": "12622:7:1", + "referencedDeclaration": 2781, + "src": "12723:7:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1458, + "id": 1464, "isConstant": false, "isLValue": false, "isPure": false, @@ -16051,7 +16120,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12622:16:1", + "src": "12723:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16060,14 +16129,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1460, + "id": 1466, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12645:1:1", + "src": "12746:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -16075,24 +16144,24 @@ }, "value": "1" }, - "id": 1461, + "id": 1467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "12622:24:1", + "src": "12723:24:1", "trueExpression": { "argumentTypes": null, "hexValue": "32", - "id": 1459, + "id": 1465, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12641:1:1", + "src": "12742:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -16107,12 +16176,12 @@ }, { "argumentTypes": null, - "id": 1462, + "id": 1468, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1447, - "src": "12648:9:1", + "referencedDeclaration": 1453, + "src": "12749:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -16130,18 +16199,18 @@ "typeString": "bytes2" } ], - "id": 1455, + "id": 1461, "name": "getSellDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1440, - "src": "12604:17:1", + "referencedDeclaration": 1446, + "src": "12705:17:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_bytes2_$returns$_t_uint256_$", "typeString": "function (uint256,bytes2) view returns (uint256)" } }, - "id": 1463, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -16149,27 +16218,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12604:54:1", + "src": "12705:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12580:78:1" + "src": "12681:78:1" }, { "assignments": [ - 1466 + 1472 ], "declarations": [ { "constant": false, - "id": 1466, + "id": 1472, "name": "weiDailyLimit", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12743:21:1", + "scope": 1504, + "src": "12844:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16177,10 +16246,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1465, + "id": 1471, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12743:7:1", + "src": "12844:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16190,7 +16259,7 @@ "visibility": "internal" } ], - "id": 1474, + "id": 1480, "initialValue": { "argumentTypes": null, "arguments": [ @@ -16201,18 +16270,18 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 1469, + "id": 1475, "name": "priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 475, - "src": "12780:11:1", + "referencedDeclaration": 481, + "src": "12881:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "id": 1470, + "id": 1476, "isConstant": false, "isLValue": false, "isPure": false, @@ -16220,13 +16289,13 @@ "memberName": "getWeiPriceOneUsd", "nodeType": "MemberAccess", "referencedDeclaration": 299, - "src": "12780:29:1", + "src": "12881:29:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 1471, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": false, @@ -16234,7 +16303,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12780:31:1", + "src": "12881:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16242,12 +16311,12 @@ }, { "argumentTypes": null, - "id": 1472, + "id": 1478, "name": "usdDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1454, - "src": "12813:13:1", + "referencedDeclaration": 1460, + "src": "12914:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16267,32 +16336,32 @@ ], "expression": { "argumentTypes": null, - "id": 1467, + "id": 1473, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "12767:8:1", + "referencedDeclaration": 3071, + "src": "12868:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1468, + "id": 1474, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "12767:12:1", + "referencedDeclaration": 3008, + "src": "12868:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1473, + "id": 1479, "isConstant": false, "isLValue": false, "isPure": false, @@ -16300,27 +16369,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12767:60:1", + "src": "12868:60:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12743:84:1" + "src": "12844:84:1" }, { "assignments": [ - 1476 + 1482 ], "declarations": [ { "constant": false, - "id": 1476, + "id": 1482, "name": "weiSoldToday", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12920:20:1", + "scope": 1504, + "src": "13021:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16328,10 +16397,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1475, + "id": 1481, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12920:7:1", + "src": "13021:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16341,18 +16410,18 @@ "visibility": "internal" } ], - "id": 1481, + "id": 1487, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1479, + "id": 1485, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12964:7:1", + "referencedDeclaration": 1448, + "src": "13065:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16368,18 +16437,18 @@ ], "expression": { "argumentTypes": null, - "id": 1477, + "id": 1483, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "12943:4:1", + "referencedDeclaration": 479, + "src": "13044:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1478, + "id": 1484, "isConstant": false, "isLValue": false, "isPure": false, @@ -16387,13 +16456,13 @@ "memberName": "getWeiSoldToday", "nodeType": "MemberAccess", "referencedDeclaration": 382, - "src": "12943:20:1", + "src": "13044:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 1480, + "id": 1486, "isConstant": false, "isLValue": false, "isPure": false, @@ -16401,27 +16470,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12943:29:1", + "src": "13044:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12920:52:1" + "src": "13021:52:1" }, { "assignments": [ - 1483 + 1489 ], "declarations": [ { "constant": false, - "id": 1483, + "id": 1489, "name": "newWeiSoldToday", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12979:23:1", + "scope": 1504, + "src": "13080:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16429,10 +16498,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1482, + "id": 1488, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12979:7:1", + "src": "13080:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16442,18 +16511,18 @@ "visibility": "internal" } ], - "id": 1489, + "id": 1495, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1486, + "id": 1492, "name": "weiSoldToday", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1476, - "src": "13018:12:1", + "referencedDeclaration": 1482, + "src": "13119:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16461,12 +16530,12 @@ }, { "argumentTypes": null, - "id": 1487, + "id": 1493, "name": "_weiSellAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1444, - "src": "13032:14:1", + "referencedDeclaration": 1450, + "src": "13133:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16486,32 +16555,32 @@ ], "expression": { "argumentTypes": null, - "id": 1484, + "id": 1490, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "13005:8:1", + "referencedDeclaration": 3071, + "src": "13106:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1485, + "id": 1491, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "13005:12:1", + "referencedDeclaration": 3070, + "src": "13106:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1488, + "id": 1494, "isConstant": false, "isLValue": false, "isPure": false, @@ -16519,14 +16588,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13005:42:1", + "src": "13106:42:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12979:68:1" + "src": "13080:68:1" }, { "expression": { @@ -16538,19 +16607,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1493, + "id": 1499, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1491, + "id": 1497, "name": "newWeiSoldToday", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1483, - "src": "13122:15:1", + "referencedDeclaration": 1489, + "src": "13223:15:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16560,18 +16629,18 @@ "operator": "<=", "rightExpression": { "argumentTypes": null, - "id": 1492, + "id": 1498, "name": "weiDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1466, - "src": "13141:13:1", + "referencedDeclaration": 1472, + "src": "13242:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13122:32:1", + "src": "13223:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16585,21 +16654,21 @@ "typeString": "bool" } ], - "id": 1490, + "id": 1496, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13114:7:1", + "referencedDeclaration": 3393, + "src": "13215:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1494, + "id": 1500, "isConstant": false, "isLValue": false, "isPure": false, @@ -16607,38 +16676,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13114:41:1", + "src": "13215:41:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1495, + "id": 1501, "nodeType": "ExpressionStatement", - "src": "13114:41:1" + "src": "13215:41:1" }, { - "id": 1496, + "id": 1502, "nodeType": "PlaceholderStatement", - "src": "13161:1:1" + "src": "13262:1:1" } ] }, "documentation": null, - "id": 1498, + "id": 1504, "name": "doesNotExceedDailySellLimit", "nodeType": "ModifierDefinition", "parameters": { - "id": 1445, + "id": 1451, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1442, + "id": 1448, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12400:15:1", + "scope": 1504, + "src": "12501:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16646,10 +16715,10 @@ "typeString": "address" }, "typeName": { - "id": 1441, + "id": 1447, "name": "address", "nodeType": "ElementaryTypeName", - "src": "12400:7:1", + "src": "12501:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16660,11 +16729,11 @@ }, { "constant": false, - "id": 1444, + "id": 1450, "name": "_weiSellAmount", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12417:22:1", + "scope": 1504, + "src": "12518:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16672,10 +16741,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1443, + "id": 1449, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12417:7:1", + "src": "12518:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16685,16 +16754,16 @@ "visibility": "internal" } ], - "src": "12399:41:1" + "src": "12500:41:1" }, - "src": "12363:804:1", + "src": "12464:804:1", "visibility": "internal" }, { "body": { - "id": 1513, + "id": 1519, "nodeType": "Block", - "src": "13260:50:1", + "src": "13361:50:1", "statements": [ { "expression": { @@ -16703,26 +16772,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1507, + "id": 1513, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "13273:20:1", + "referencedDeclaration": 514, + "src": "13374:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1509, + "id": 1515, "indexExpression": { "argumentTypes": null, - "id": 1508, + "id": 1514, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1500, - "src": "13294:5:1", + "referencedDeclaration": 1506, + "src": "13395:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16733,21 +16802,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13273:27:1", + "src": "13374:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1511, + "id": 1517, "indexExpression": { "argumentTypes": null, - "id": 1510, + "id": 1516, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "13301:3:1", + "referencedDeclaration": 1508, + "src": "13402:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16758,21 +16827,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13273:32:1", + "src": "13374:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1506, - "id": 1512, + "functionReturnParameters": 1512, + "id": 1518, "nodeType": "Return", - "src": "13266:39:1" + "src": "13367:39:1" } ] }, "documentation": null, - "id": 1514, + "id": 1520, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -16780,16 +16849,16 @@ "name": "getPairSellLoyaltyPerc", "nodeType": "FunctionDefinition", "parameters": { - "id": 1503, + "id": 1509, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1500, + "id": 1506, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13203:13:1", + "scope": 1520, + "src": "13304:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16797,10 +16866,10 @@ "typeString": "address" }, "typeName": { - "id": 1499, + "id": 1505, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13203:7:1", + "src": "13304:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16811,11 +16880,11 @@ }, { "constant": false, - "id": 1502, + "id": 1508, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13218:11:1", + "scope": 1520, + "src": "13319:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16823,10 +16892,10 @@ "typeString": "address" }, "typeName": { - "id": 1501, + "id": 1507, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13218:7:1", + "src": "13319:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16836,20 +16905,20 @@ "visibility": "internal" } ], - "src": "13202:28:1" + "src": "13303:28:1" }, "payable": false, "returnParameters": { - "id": 1506, + "id": 1512, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1505, + "id": 1511, "name": "", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13251:7:1", + "scope": 1520, + "src": "13352:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16857,10 +16926,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1504, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13251:7:1", + "src": "13352:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16870,45 +16939,45 @@ "visibility": "internal" } ], - "src": "13250:9:1" + "src": "13351:9:1" }, - "scope": 2659, - "src": "13171:139:1", + "scope": 2672, + "src": "13272:139:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1525, + "id": 1531, "nodeType": "Block", - "src": "13383:36:1", + "src": "13484:36:1", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1521, + "id": 1527, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "13396:13:1", + "referencedDeclaration": 530, + "src": "13497:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1523, + "id": 1529, "indexExpression": { "argumentTypes": null, - "id": 1522, + "id": 1528, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "13410:3:1", + "referencedDeclaration": 1522, + "src": "13511:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16919,21 +16988,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13396:18:1", + "src": "13497:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1520, - "id": 1524, + "functionReturnParameters": 1526, + "id": 1530, "nodeType": "Return", - "src": "13389:25:1" + "src": "13490:25:1" } ] }, "documentation": null, - "id": 1526, + "id": 1532, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -16941,16 +17010,16 @@ "name": "getLoyaltyPoints", "nodeType": "FunctionDefinition", "parameters": { - "id": 1517, + "id": 1523, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1516, + "id": 1522, "name": "who", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "13340:11:1", + "scope": 1532, + "src": "13441:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16958,10 +17027,10 @@ "typeString": "address" }, "typeName": { - "id": 1515, + "id": 1521, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13340:7:1", + "src": "13441:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16971,20 +17040,20 @@ "visibility": "internal" } ], - "src": "13339:13:1" + "src": "13440:13:1" }, "payable": false, "returnParameters": { - "id": 1520, + "id": 1526, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1519, + "id": 1525, "name": "", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "13374:7:1", + "scope": 1532, + "src": "13475:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16992,10 +17061,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1518, + "id": 1524, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13374:7:1", + "src": "13475:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17005,19 +17074,19 @@ "visibility": "internal" } ], - "src": "13373:9:1" + "src": "13474:9:1" }, - "scope": 2659, - "src": "13314:105:1", + "scope": 2672, + "src": "13415:105:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1671, + "id": 1677, "nodeType": "Block", - "src": "13698:1427:1", + "src": "13799:1427:1", "statements": [ { "expression": { @@ -17030,18 +17099,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1542, + "id": 1548, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13721:3:1", + "referencedDeclaration": 3390, + "src": "13822:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1543, + "id": 1549, "isConstant": false, "isLValue": false, "isPure": false, @@ -17049,7 +17118,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13721:10:1", + "src": "13822:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17063,18 +17132,18 @@ "typeString": "address" } ], - "id": 1541, + "id": 1547, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "13712:8:1", + "referencedDeclaration": 2629, + "src": "13813:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1544, + "id": 1550, "isConstant": false, "isLValue": false, "isPure": false, @@ -17082,7 +17151,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13712:20:1", + "src": "13813:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17096,21 +17165,21 @@ "typeString": "bool" } ], - "id": 1540, + "id": 1546, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13704:7:1", + "referencedDeclaration": 3393, + "src": "13805:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1545, + "id": 1551, "isConstant": false, "isLValue": false, "isPure": false, @@ -17118,15 +17187,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13704:29:1", + "src": "13805:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1552, "nodeType": "ExpressionStatement", - "src": "13704:29:1" + "src": "13805:29:1" }, { "expression": { @@ -17138,19 +17207,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1551, + "id": 1557, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1548, + "id": 1554, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "13747:3:1", + "referencedDeclaration": 1534, + "src": "13848:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17162,18 +17231,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1549, + "id": 1555, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13754:3:1", + "referencedDeclaration": 3390, + "src": "13855:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1550, + "id": 1556, "isConstant": false, "isLValue": false, "isPure": false, @@ -17181,13 +17250,13 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13754:10:1", + "src": "13855:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "13747:17:1", + "src": "13848:17:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17201,21 +17270,21 @@ "typeString": "bool" } ], - "id": 1547, + "id": 1553, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13739:7:1", + "referencedDeclaration": 3393, + "src": "13840:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1552, + "id": 1558, "isConstant": false, "isLValue": false, "isPure": false, @@ -17223,15 +17292,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13739:26:1", + "src": "13840:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1553, + "id": 1559, "nodeType": "ExpressionStatement", - "src": "13739:26:1" + "src": "13840:26:1" }, { "expression": { @@ -17241,18 +17310,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1557, + "id": 1563, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13910:3:1", + "referencedDeclaration": 3390, + "src": "14011:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1558, + "id": 1564, "isConstant": false, "isLValue": false, "isPure": false, @@ -17260,7 +17329,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13910:10:1", + "src": "14011:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17268,12 +17337,12 @@ }, { "argumentTypes": null, - "id": 1559, + "id": 1565, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "13922:3:1", + "referencedDeclaration": 1534, + "src": "14023:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17281,12 +17350,12 @@ }, { "argumentTypes": null, - "id": 1560, + "id": 1566, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "13927:7:1", + "referencedDeclaration": 1536, + "src": "14028:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17310,18 +17379,18 @@ ], "expression": { "argumentTypes": null, - "id": 1554, + "id": 1560, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "13893:4:1", + "referencedDeclaration": 479, + "src": "13994:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1556, + "id": 1562, "isConstant": false, "isLValue": false, "isPure": false, @@ -17329,13 +17398,13 @@ "memberName": "withdrawEth", "nodeType": "MemberAccess", "referencedDeclaration": 349, - "src": "13893:16:1", + "src": "13994:16:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256) external" } }, - "id": 1561, + "id": 1567, "isConstant": false, "isLValue": false, "isPure": false, @@ -17343,15 +17412,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13893:42:1", + "src": "13994:42:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1562, + "id": 1568, "nodeType": "ExpressionStatement", - "src": "13893:42:1" + "src": "13994:42:1" }, { "condition": { @@ -17359,12 +17428,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1565, + "id": 1571, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14118:3:1", + "referencedDeclaration": 1534, + "src": "14219:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17380,32 +17449,32 @@ ], "expression": { "argumentTypes": null, - "id": 1563, + "id": 1569, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, - "src": "14095:12:1", + "referencedDeclaration": 2687, + "src": "14196:12:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 1564, + "id": 1570, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, - "src": "14095:22:1", + "referencedDeclaration": 2933, + "src": "14196:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 1566, + "id": 1572, "isConstant": false, "isLValue": false, "isPure": false, @@ -17413,33 +17482,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14095:27:1", + "src": "14196:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1663, + "id": 1669, "nodeType": "IfStatement", - "src": "14091:989:1", + "src": "14192:989:1", "trueBody": { - "id": 1662, + "id": 1668, "nodeType": "Block", - "src": "14124:956:1", + "src": "14225:956:1", "statements": [ { "assignments": [ - 1568 + 1574 ], "declarations": [ { "constant": false, - "id": 1568, + "id": 1574, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "14132:35:1", + "scope": 1678, + "src": "14233:35:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17447,10 +17516,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1567, + "id": 1573, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14132:4:1", + "src": "14233:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17460,41 +17529,41 @@ "visibility": "internal" } ], - "id": 1575, + "id": 1581, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1569, + "id": 1575, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14170:20:1", + "referencedDeclaration": 514, + "src": "14271:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1572, + "id": 1578, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1570, + "id": 1576, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14191:3:1", + "referencedDeclaration": 3390, + "src": "14292:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1571, + "id": 1577, "isConstant": false, "isLValue": false, "isPure": false, @@ -17502,7 +17571,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14191:10:1", + "src": "14292:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17513,21 +17582,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14170:32:1", + "src": "14271:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1574, + "id": 1580, "indexExpression": { "argumentTypes": null, - "id": 1573, + "id": 1579, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14203:3:1", + "referencedDeclaration": 1534, + "src": "14304:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17538,14 +17607,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14170:37:1", + "src": "14271:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14132:75:1" + "src": "14233:75:1" }, { "condition": { @@ -17554,19 +17623,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1578, + "id": 1584, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1576, + "id": 1582, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14219:30:1", + "referencedDeclaration": 1574, + "src": "14320:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17577,14 +17646,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1577, + "id": 1583, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14253:1:1", + "src": "14354:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -17592,25 +17661,25 @@ }, "value": "0" }, - "src": "14219:35:1", + "src": "14320:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1593, + "id": 1599, "nodeType": "IfStatement", - "src": "14215:225:1", + "src": "14316:225:1", "trueBody": { - "id": 1592, + "id": 1598, "nodeType": "Block", - "src": "14256:184:1", + "src": "14357:184:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1586, + "id": 1592, "isConstant": false, "isLValue": false, "isPure": false, @@ -17621,34 +17690,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1579, + "id": 1585, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14338:20:1", + "referencedDeclaration": 514, + "src": "14439:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1583, + "id": 1589, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1580, + "id": 1586, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14359:3:1", + "referencedDeclaration": 3390, + "src": "14460:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1581, + "id": 1587, "isConstant": false, "isLValue": false, "isPure": false, @@ -17656,7 +17725,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14359:10:1", + "src": "14460:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17667,21 +17736,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14338:32:1", + "src": "14439:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1584, + "id": 1590, "indexExpression": { "argumentTypes": null, - "id": 1582, + "id": 1588, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14371:3:1", + "referencedDeclaration": 1534, + "src": "14472:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17692,7 +17761,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14338:37:1", + "src": "14439:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17703,14 +17772,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1585, + "id": 1591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14378:5:1", + "src": "14479:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -17718,32 +17787,32 @@ }, "value": "10000" }, - "src": "14338:45:1", + "src": "14439:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1587, + "id": 1593, "nodeType": "ExpressionStatement", - "src": "14338:45:1" + "src": "14439:45:1" }, { "expression": { "argumentTypes": null, - "id": 1590, + "id": 1596, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1588, + "id": 1594, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14393:30:1", + "referencedDeclaration": 1574, + "src": "14494:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17754,14 +17823,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1589, + "id": 1595, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14426:5:1", + "src": "14527:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -17769,15 +17838,15 @@ }, "value": "10000" }, - "src": "14393:38:1", + "src": "14494:38:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1591, + "id": 1597, "nodeType": "ExpressionStatement", - "src": "14393:38:1" + "src": "14494:38:1" } ] } @@ -17785,7 +17854,7 @@ { "expression": { "argumentTypes": null, - "id": 1612, + "id": 1618, "isConstant": false, "isLValue": false, "isPure": false, @@ -17794,34 +17863,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1594, + "id": 1600, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "14528:13:1", + "referencedDeclaration": 530, + "src": "14629:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1597, + "id": 1603, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1595, + "id": 1601, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14542:3:1", + "referencedDeclaration": 3390, + "src": "14643:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1596, + "id": 1602, "isConstant": false, "isLValue": false, "isPure": false, @@ -17829,7 +17898,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14542:10:1", + "src": "14643:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17840,7 +17909,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14528:25:1", + "src": "14629:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17855,34 +17924,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1600, + "id": 1606, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "14569:13:1", + "referencedDeclaration": 530, + "src": "14670:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1603, + "id": 1609, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1601, + "id": 1607, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14583:3:1", + "referencedDeclaration": 3390, + "src": "14684:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1602, + "id": 1608, "isConstant": false, "isLValue": false, "isPure": false, @@ -17890,7 +17959,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14583:10:1", + "src": "14684:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -17901,7 +17970,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14569:25:1", + "src": "14670:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17913,7 +17982,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1610, + "id": 1616, "isConstant": false, "isLValue": false, "isPure": false, @@ -17923,12 +17992,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1606, + "id": 1612, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "14609:7:1", + "referencedDeclaration": 1536, + "src": "14710:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17936,12 +18005,12 @@ }, { "argumentTypes": null, - "id": 1607, + "id": 1613, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14618:30:1", + "referencedDeclaration": 1574, + "src": "14719:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17961,32 +18030,32 @@ ], "expression": { "argumentTypes": null, - "id": 1604, + "id": 1610, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14596:8:1", + "referencedDeclaration": 3071, + "src": "14697:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1605, + "id": 1611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "14596:12:1", + "referencedDeclaration": 3008, + "src": "14697:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1608, + "id": 1614, "isConstant": false, "isLValue": false, "isPure": false, @@ -17994,7 +18063,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14596:53:1", + "src": "14697:53:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18005,14 +18074,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1609, + "id": 1615, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14652:5:1", + "src": "14753:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -18020,7 +18089,7 @@ }, "value": "10000" }, - "src": "14596:61:1", + "src": "14697:61:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18040,32 +18109,32 @@ ], "expression": { "argumentTypes": null, - "id": 1598, + "id": 1604, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14556:8:1", + "referencedDeclaration": 3071, + "src": "14657:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1599, + "id": 1605, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14556:12:1", + "referencedDeclaration": 3070, + "src": "14657:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1611, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, @@ -18073,26 +18142,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14556:102:1", + "src": "14657:102:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14528:130:1", + "src": "14629:130:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1613, + "id": 1619, "nodeType": "ExpressionStatement", - "src": "14528:130:1" + "src": "14629:130:1" }, { "expression": { "argumentTypes": null, - "id": 1627, + "id": 1633, "isConstant": false, "isLValue": false, "isPure": false, @@ -18103,34 +18172,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1614, + "id": 1620, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14806:20:1", + "referencedDeclaration": 514, + "src": "14907:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1618, + "id": 1624, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1615, + "id": 1621, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14827:3:1", + "referencedDeclaration": 3390, + "src": "14928:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1616, + "id": 1622, "isConstant": false, "isLValue": false, "isPure": false, @@ -18138,7 +18207,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14827:10:1", + "src": "14928:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18149,21 +18218,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14806:32:1", + "src": "14907:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1619, + "id": 1625, "indexExpression": { "argumentTypes": null, - "id": 1617, + "id": 1623, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14839:3:1", + "referencedDeclaration": 1534, + "src": "14940:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18174,7 +18243,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14806:37:1", + "src": "14907:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18188,7 +18257,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1626, + "id": 1632, "isConstant": false, "isLValue": false, "isPure": false, @@ -18198,12 +18267,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1622, + "id": 1628, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14859:30:1", + "referencedDeclaration": 1574, + "src": "14960:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18212,14 +18281,14 @@ { "argumentTypes": null, "hexValue": "3739", - "id": 1623, + "id": 1629, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14891:2:1", + "src": "14992:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_79_by_1", @@ -18241,32 +18310,32 @@ ], "expression": { "argumentTypes": null, - "id": 1620, + "id": 1626, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14846:8:1", + "referencedDeclaration": 3071, + "src": "14947:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1621, + "id": 1627, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "14846:12:1", + "referencedDeclaration": 3008, + "src": "14947:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1624, + "id": 1630, "isConstant": false, "isLValue": false, "isPure": false, @@ -18274,7 +18343,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14846:48:1", + "src": "14947:48:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18285,14 +18354,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "313030", - "id": 1625, + "id": 1631, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14897:3:1", + "src": "14998:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_100_by_1", @@ -18300,26 +18369,26 @@ }, "value": "100" }, - "src": "14846:54:1", + "src": "14947:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14806:94:1", + "src": "14907:94:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1628, + "id": 1634, "nodeType": "ExpressionStatement", - "src": "14806:94:1" + "src": "14907:94:1" }, { "expression": { "argumentTypes": null, - "id": 1639, + "id": 1645, "isConstant": false, "isLValue": false, "isPure": false, @@ -18328,26 +18397,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1629, + "id": 1635, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "14909:9:1", + "referencedDeclaration": 518, + "src": "15010:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1631, + "id": 1637, "indexExpression": { "argumentTypes": null, - "id": 1630, + "id": 1636, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14919:3:1", + "referencedDeclaration": 1534, + "src": "15020:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18358,7 +18427,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14909:14:1", + "src": "15010:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18373,26 +18442,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1634, + "id": 1640, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "14939:9:1", + "referencedDeclaration": 518, + "src": "15040:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1636, + "id": 1642, "indexExpression": { "argumentTypes": null, - "id": 1635, + "id": 1641, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14949:3:1", + "referencedDeclaration": 1534, + "src": "15050:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18403,7 +18472,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14939:14:1", + "src": "15040:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18411,12 +18480,12 @@ }, { "argumentTypes": null, - "id": 1637, + "id": 1643, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "14955:7:1", + "referencedDeclaration": 1536, + "src": "15056:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18436,32 +18505,32 @@ ], "expression": { "argumentTypes": null, - "id": 1632, + "id": 1638, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14926:8:1", + "referencedDeclaration": 3071, + "src": "15027:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1633, + "id": 1639, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14926:12:1", + "referencedDeclaration": 3070, + "src": "15027:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1638, + "id": 1644, "isConstant": false, "isLValue": false, "isPure": false, @@ -18469,26 +18538,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14926:37:1", + "src": "15027:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14909:54:1", + "src": "15010:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1640, + "id": 1646, "nodeType": "ExpressionStatement", - "src": "14909:54:1" + "src": "15010:54:1" }, { "expression": { "argumentTypes": null, - "id": 1653, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": false, @@ -18497,34 +18566,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1641, + "id": 1647, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "14971:10:1", + "referencedDeclaration": 522, + "src": "15072:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1644, + "id": 1650, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1642, + "id": 1648, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14982:3:1", + "referencedDeclaration": 3390, + "src": "15083:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1643, + "id": 1649, "isConstant": false, "isLValue": false, "isPure": false, @@ -18532,7 +18601,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14982:10:1", + "src": "15083:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18543,7 +18612,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14971:22:1", + "src": "15072:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18558,34 +18627,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1647, + "id": 1653, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "15009:10:1", + "referencedDeclaration": 522, + "src": "15110:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1650, + "id": 1656, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1648, + "id": 1654, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15020:3:1", + "referencedDeclaration": 3390, + "src": "15121:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1649, + "id": 1655, "isConstant": false, "isLValue": false, "isPure": false, @@ -18593,7 +18662,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15020:10:1", + "src": "15121:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18604,7 +18673,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15009:22:1", + "src": "15110:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18612,12 +18681,12 @@ }, { "argumentTypes": null, - "id": 1651, + "id": 1657, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "15033:7:1", + "referencedDeclaration": 1536, + "src": "15134:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18637,32 +18706,32 @@ ], "expression": { "argumentTypes": null, - "id": 1645, + "id": 1651, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14996:8:1", + "referencedDeclaration": 3071, + "src": "15097:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1646, + "id": 1652, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14996:12:1", + "referencedDeclaration": 3070, + "src": "15097:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1652, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, @@ -18670,26 +18739,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14996:45:1", + "src": "15097:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14971:70:1", + "src": "15072:70:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1654, + "id": 1660, "nodeType": "ExpressionStatement", - "src": "14971:70:1" + "src": "15072:70:1" }, { "expression": { "argumentTypes": null, - "id": 1660, + "id": 1666, "isConstant": false, "isLValue": false, "isPure": false, @@ -18698,34 +18767,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1655, + "id": 1661, "name": "nbTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "15049:7:1", + "referencedDeclaration": 526, + "src": "15150:7:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1658, + "id": 1664, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1656, + "id": 1662, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15057:3:1", + "referencedDeclaration": 3390, + "src": "15158:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1657, + "id": 1663, "isConstant": false, "isLValue": false, "isPure": false, @@ -18733,7 +18802,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15057:10:1", + "src": "15158:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18744,7 +18813,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "15049:19:1", + "src": "15150:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18755,14 +18824,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "31", - "id": 1659, + "id": 1665, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15072:1:1", + "src": "15173:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -18770,15 +18839,15 @@ }, "value": "1" }, - "src": "15049:24:1", + "src": "15150:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1661, + "id": 1667, "nodeType": "ExpressionStatement", - "src": "15049:24:1" + "src": "15150:24:1" } ] } @@ -18791,18 +18860,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1665, + "id": 1671, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15095:3:1", + "referencedDeclaration": 3390, + "src": "15196:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1666, + "id": 1672, "isConstant": false, "isLValue": false, "isPure": false, @@ -18810,7 +18879,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15095:10:1", + "src": "15196:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18818,12 +18887,12 @@ }, { "argumentTypes": null, - "id": 1667, + "id": 1673, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "15107:3:1", + "referencedDeclaration": 1534, + "src": "15208:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18831,12 +18900,12 @@ }, { "argumentTypes": null, - "id": 1668, + "id": 1674, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "15112:7:1", + "referencedDeclaration": 1536, + "src": "15213:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18858,18 +18927,18 @@ "typeString": "uint256" } ], - "id": 1664, + "id": 1670, "name": "Sent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 417, - "src": "15090:4:1", + "referencedDeclaration": 423, + "src": "15191:4:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 1669, + "id": 1675, "isConstant": false, "isLValue": false, "isPure": false, @@ -18877,42 +18946,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15090:30:1", + "src": "15191:30:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1670, + "id": 1676, "nodeType": "EmitStatement", - "src": "15085:35:1" + "src": "15186:35:1" } ] }, "documentation": "SellEth\naverage gas cost: 123173\n@param _to -> the address for the receiver\n@param _amount -> the amount to send", - "id": 1672, + "id": 1678, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1533, + "id": 1539, "modifierName": { "argumentTypes": null, - "id": 1532, + "id": 1538, "name": "whenNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 253, - "src": "13616:13:1", + "src": "13717:13:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "13616:13:1" + "src": "13717:13:1" }, { "arguments": [ @@ -18920,18 +18989,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1535, + "id": 1541, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13662:3:1", + "referencedDeclaration": 3390, + "src": "13763:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1536, + "id": 1542, "isConstant": false, "isLValue": false, "isPure": false, @@ -18939,7 +19008,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13662:10:1", + "src": "13763:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -18947,49 +19016,49 @@ }, { "argumentTypes": null, - "id": 1537, + "id": 1543, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "13674:7:1", + "referencedDeclaration": 1536, + "src": "13775:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 1538, + "id": 1544, "modifierName": { "argumentTypes": null, - "id": 1534, + "id": 1540, "name": "doesNotExceedDailySellLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1498, - "src": "13634:27:1", + "referencedDeclaration": 1504, + "src": "13735:27:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$_t_uint256_$", "typeString": "modifier (address,uint256)" } }, "nodeType": "ModifierInvocation", - "src": "13634:48:1" + "src": "13735:48:1" } ], "name": "sellEth", "nodeType": "FunctionDefinition", "parameters": { - "id": 1531, + "id": 1537, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1528, + "id": 1534, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "13585:11:1", + "scope": 1678, + "src": "13686:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18997,10 +19066,10 @@ "typeString": "address" }, "typeName": { - "id": 1527, + "id": 1533, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13585:7:1", + "src": "13686:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19011,11 +19080,11 @@ }, { "constant": false, - "id": 1530, + "id": 1536, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "13598:12:1", + "scope": 1678, + "src": "13699:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19023,10 +19092,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1529, + "id": 1535, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13598:4:1", + "src": "13699:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19036,26 +19105,26 @@ "visibility": "internal" } ], - "src": "13584:27:1" + "src": "13685:27:1" }, "payable": false, "returnParameters": { - "id": 1539, + "id": 1545, "nodeType": "ParameterList", "parameters": [], - "src": "13698:0:1" + "src": "13799:0:1" }, - "scope": 2659, - "src": "13568:1557:1", + "scope": 2672, + "src": "13669:1557:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1693, + "id": 1699, "nodeType": "Block", - "src": "15235:93:1", + "src": "15336:93:1", "statements": [ { "condition": { @@ -19064,7 +19133,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1683, + "id": 1689, "isConstant": false, "isLValue": false, "isPure": false, @@ -19075,34 +19144,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1677, + "id": 1683, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15245:6:1", + "referencedDeclaration": 534, + "src": "15346:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1680, + "id": 1686, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1678, + "id": 1684, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15252:3:1", + "referencedDeclaration": 3390, + "src": "15353:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1679, + "id": 1685, "isConstant": false, "isLValue": false, "isPure": false, @@ -19110,7 +19179,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15252:10:1", + "src": "15353:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19121,21 +19190,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15245:18:1", + "src": "15346:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1681, + "id": 1687, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "15245:25:1", + "referencedDeclaration": 507, + "src": "15346:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19145,31 +19214,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1682, + "id": 1688, "name": "_status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "15274:7:1", + "referencedDeclaration": 1680, + "src": "15375:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "15245:36:1", + "src": "15346:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1692, + "id": 1698, "nodeType": "IfStatement", - "src": "15241:82:1", + "src": "15342:82:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1690, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": false, @@ -19180,34 +19249,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1684, + "id": 1690, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15288:6:1", + "referencedDeclaration": 534, + "src": "15389:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1687, + "id": 1693, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1685, + "id": 1691, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15295:3:1", + "referencedDeclaration": 3390, + "src": "15396:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1686, + "id": 1692, "isConstant": false, "isLValue": false, "isPure": false, @@ -19215,7 +19284,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15295:10:1", + "src": "15396:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19226,21 +19295,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15288:18:1", + "src": "15389:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1688, + "id": 1694, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "15288:25:1", + "referencedDeclaration": 507, + "src": "15389:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19250,32 +19319,32 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1689, + "id": 1695, "name": "_status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "15316:7:1", + "referencedDeclaration": 1680, + "src": "15417:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "15288:35:1", + "src": "15389:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1691, + "id": 1697, "nodeType": "ExpressionStatement", - "src": "15288:35:1" + "src": "15389:35:1" } } ] }, "documentation": "switchStatus\nTurn status teller on/off", - "id": 1694, + "id": 1700, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -19283,16 +19352,16 @@ "name": "switchStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1680, "name": "_status", "nodeType": "VariableDeclaration", - "scope": 1694, - "src": "15212:12:1", + "scope": 1700, + "src": "15313:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19300,10 +19369,10 @@ "typeString": "bool" }, "typeName": { - "id": 1673, + "id": 1679, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "15212:4:1", + "src": "15313:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19313,26 +19382,26 @@ "visibility": "internal" } ], - "src": "15211:14:1" + "src": "15312:14:1" }, "payable": false, "returnParameters": { - "id": 1676, + "id": 1682, "nodeType": "ParameterList", "parameters": [], - "src": "15235:0:1" + "src": "15336:0:1" }, - "scope": 2659, - "src": "15190:138:1", + "scope": 2672, + "src": "15291:138:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1718, + "id": 1731, "nodeType": "Block", - "src": "15443:112:1", + "src": "15544:154:1", "statements": [ { "expression": { @@ -19345,18 +19414,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1699, + "id": 1705, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15466:3:1", + "referencedDeclaration": 3390, + "src": "15567:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1700, + "id": 1706, "isConstant": false, "isLValue": false, "isPure": false, @@ -19364,7 +19433,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15466:10:1", + "src": "15567:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19378,18 +19447,18 @@ "typeString": "address" } ], - "id": 1698, + "id": 1704, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "15457:8:1", + "referencedDeclaration": 2629, + "src": "15558:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1701, + "id": 1707, "isConstant": false, "isLValue": false, "isPure": false, @@ -19397,7 +19466,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15457:20:1", + "src": "15558:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19411,21 +19480,21 @@ "typeString": "bool" } ], - "id": 1697, + "id": 1703, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15449:7:1", + "referencedDeclaration": 3393, + "src": "15550:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1702, + "id": 1708, "isConstant": false, "isLValue": false, "isPure": false, @@ -19433,15 +19502,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15449:29:1", + "src": "15550:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1703, + "id": 1709, "nodeType": "ExpressionStatement", - "src": "15449:29:1" + "src": "15550:29:1" }, { "expression": { @@ -19454,18 +19523,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1711, + "id": 1717, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15527:3:1", + "referencedDeclaration": 3390, + "src": "15628:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1712, + "id": 1718, "isConstant": false, "isLValue": false, "isPure": false, @@ -19473,7 +19542,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15527:10:1", + "src": "15628:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19483,18 +19552,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1713, + "id": 1719, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15539:3:1", + "referencedDeclaration": 3390, + "src": "15640:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1714, + "id": 1720, "isConstant": false, "isLValue": false, "isPure": false, @@ -19502,7 +19571,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15539:9:1", + "src": "15640:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19525,18 +19594,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1708, + "id": 1714, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15516:3:1", + "referencedDeclaration": 3390, + "src": "15617:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1709, + "id": 1715, "isConstant": false, "isLValue": false, "isPure": false, @@ -19544,7 +19613,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15516:9:1", + "src": "15617:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19562,18 +19631,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1705, + "id": 1711, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "15492:4:1", + "referencedDeclaration": 479, + "src": "15593:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1706, + "id": 1712, "isConstant": false, "isLValue": false, "isPure": false, @@ -19581,13 +19650,13 @@ "memberName": "addEthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 340, - "src": "15492:17:1", + "src": "15593:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1707, + "id": 1713, "isConstant": false, "isLValue": false, "isPure": false, @@ -19595,13 +19664,13 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15492:23:1", + "src": "15593:23:1", "typeDescriptions": { "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value_$", "typeString": "function (uint256) returns (function (address,uint256) payable external returns (bool))" } }, - "id": 1710, + "id": 1716, "isConstant": false, "isLValue": false, "isPure": false, @@ -19609,13 +19678,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15492:34:1", + "src": "15593:34:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1715, + "id": 1721, "isConstant": false, "isLValue": false, "isPure": false, @@ -19623,7 +19692,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15492:57:1", + "src": "15593:57:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19637,21 +19706,21 @@ "typeString": "bool" } ], - "id": 1704, + "id": 1710, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15484:7:1", + "referencedDeclaration": 3393, + "src": "15585:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1716, + "id": 1722, "isConstant": false, "isLValue": false, "isPure": false, @@ -19659,20 +19728,123 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15484:66:1", + "src": "15585:66:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1717, + "id": 1723, "nodeType": "ExpressionStatement", - "src": "15484:66:1" + "src": "15585:66:1" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1725, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3390, + "src": "15671:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1726, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "15671:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1727, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3390, + "src": "15683:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1728, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "15683:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1724, + "name": "AddFunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 407, + "src": "15662:8:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "15662:31:1", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1730, + "nodeType": "EmitStatement", + "src": "15657:36:1" } ] }, "documentation": "addFunds\nteller can add more funds on his sellpoint", - "id": 1719, + "id": 1732, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -19680,29 +19852,29 @@ "name": "addFunds", "nodeType": "FunctionDefinition", "parameters": { - "id": 1695, + "id": 1701, "nodeType": "ParameterList", "parameters": [], - "src": "15423:2:1" + "src": "15524:2:1" }, "payable": true, "returnParameters": { - "id": 1696, + "id": 1702, "nodeType": "ParameterList", "parameters": [], - "src": "15443:0:1" + "src": "15544:0:1" }, - "scope": 2659, - "src": "15406:149:1", + "scope": 2672, + "src": "15507:191:1", "stateMutability": "payable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1871, + "id": 1884, "nodeType": "Block", - "src": "15649:903:1", + "src": "15792:903:1", "statements": [ { "expression": { @@ -19715,18 +19887,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1724, + "id": 1737, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15672:3:1", + "referencedDeclaration": 3390, + "src": "15815:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1725, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, @@ -19734,7 +19906,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15672:10:1", + "src": "15815:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19748,18 +19920,18 @@ "typeString": "address" } ], - "id": 1723, + "id": 1736, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "15663:8:1", + "referencedDeclaration": 2629, + "src": "15806:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1726, + "id": 1739, "isConstant": false, "isLValue": false, "isPure": false, @@ -19767,7 +19939,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15663:20:1", + "src": "15806:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19781,21 +19953,21 @@ "typeString": "bool" } ], - "id": 1722, + "id": 1735, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15655:7:1", + "referencedDeclaration": 3393, + "src": "15798:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1727, + "id": 1740, "isConstant": false, "isLValue": false, "isPure": false, @@ -19803,28 +19975,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15655:29:1", + "src": "15798:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1728, + "id": 1741, "nodeType": "ExpressionStatement", - "src": "15655:29:1" + "src": "15798:29:1" }, { "assignments": [ - 1730 + 1743 ], "declarations": [ { "constant": false, - "id": 1730, + "id": 1743, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "15690:17:1", + "scope": 1885, + "src": "15833:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19832,10 +20004,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1729, + "id": 1742, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "15690:4:1", + "src": "15833:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19845,41 +20017,41 @@ "visibility": "internal" } ], - "id": 1736, + "id": 1749, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1731, + "id": 1744, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15710:6:1", + "referencedDeclaration": 534, + "src": "15853:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1734, + "id": 1747, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1732, + "id": 1745, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15717:3:1", + "referencedDeclaration": 3390, + "src": "15860:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1733, + "id": 1746, "isConstant": false, "isLValue": false, "isPure": false, @@ -19887,7 +20059,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15717:10:1", + "src": "15860:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19898,41 +20070,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15710:18:1", + "src": "15853:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1735, + "id": 1748, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "15710:28:1", + "referencedDeclaration": 503, + "src": "15853:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "15690:48:1" + "src": "15833:48:1" }, { "assignments": [ - 1738 + 1751 ], "declarations": [ { "constant": false, - "id": 1738, + "id": 1751, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "15744:18:1", + "scope": 1885, + "src": "15887:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19940,10 +20112,10 @@ "typeString": "address" }, "typeName": { - "id": 1737, + "id": 1750, "name": "address", "nodeType": "ElementaryTypeName", - "src": "15744:7:1", + "src": "15887:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -19953,7 +20125,7 @@ "visibility": "internal" } ], - "id": 1769, + "id": 1782, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -19962,52 +20134,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1739, + "id": 1752, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15765:12:1", + "referencedDeclaration": 541, + "src": "15908:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1745, + "id": 1758, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1740, + "id": 1753, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15778:6:1", + "referencedDeclaration": 534, + "src": "15921:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1743, + "id": 1756, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1741, + "id": 1754, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15785:3:1", + "referencedDeclaration": 3390, + "src": "15928:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1742, + "id": 1755, "isConstant": false, "isLValue": false, "isPure": false, @@ -20015,7 +20187,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15785:10:1", + "src": "15928:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20026,21 +20198,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15778:18:1", + "src": "15921:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1744, + "id": 1757, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15778:28:1", + "referencedDeclaration": 487, + "src": "15921:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -20051,47 +20223,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:42:1", + "src": "15908:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1751, + "id": 1764, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1746, + "id": 1759, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15808:6:1", + "referencedDeclaration": 534, + "src": "15951:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1749, + "id": 1762, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1747, + "id": 1760, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15815:3:1", + "referencedDeclaration": 3390, + "src": "15958:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1748, + "id": 1761, "isConstant": false, "isLValue": false, "isPure": false, @@ -20099,7 +20271,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15815:10:1", + "src": "15958:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20110,21 +20282,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15808:18:1", + "src": "15951:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1750, + "id": 1763, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15808:29:1", + "referencedDeclaration": 489, + "src": "15951:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -20135,20 +20307,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:73:1", + "src": "15908:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1768, + "id": 1781, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1767, + "id": 1780, "isConstant": false, "isLValue": false, "isPure": false, @@ -20161,52 +20333,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1752, + "id": 1765, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15839:12:1", + "referencedDeclaration": 541, + "src": "15982:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1758, + "id": 1771, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1753, + "id": 1766, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15852:6:1", + "referencedDeclaration": 534, + "src": "15995:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1756, + "id": 1769, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1754, + "id": 1767, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15859:3:1", + "referencedDeclaration": 3390, + "src": "16002:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1755, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": false, @@ -20214,7 +20386,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15859:10:1", + "src": "16002:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20225,21 +20397,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15852:18:1", + "src": "15995:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1757, + "id": 1770, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15852:28:1", + "referencedDeclaration": 487, + "src": "15995:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -20250,47 +20422,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15839:42:1", + "src": "15982:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1764, + "id": 1777, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1759, + "id": 1772, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15882:6:1", + "referencedDeclaration": 534, + "src": "16025:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1762, + "id": 1775, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1760, + "id": 1773, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15889:3:1", + "referencedDeclaration": 3390, + "src": "16032:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1761, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -20298,7 +20470,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15889:10:1", + "src": "16032:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20309,21 +20481,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15882:18:1", + "src": "16025:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1763, + "id": 1776, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15882:29:1", + "referencedDeclaration": 489, + "src": "16025:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -20334,13 +20506,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15839:73:1", + "src": "15982:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1765, + "id": 1778, "isConstant": false, "isLValue": true, "isPure": false, @@ -20348,7 +20520,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15839:80:1", + "src": "15982:80:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20359,14 +20531,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1766, + "id": 1779, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15922:1:1", + "src": "16065:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -20374,7 +20546,7 @@ }, "value": "1" }, - "src": "15839:84:1", + "src": "15982:84:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20385,19 +20557,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:159:1", + "src": "15908:159:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "15744:180:1" + "src": "15887:180:1" }, { "expression": { "argumentTypes": null, - "id": 1786, + "id": 1799, "isConstant": false, "isLValue": false, "isPure": false, @@ -20410,52 +20582,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1770, + "id": 1783, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15930:12:1", + "referencedDeclaration": 541, + "src": "16073:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1782, + "id": 1795, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1771, + "id": 1784, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15943:6:1", + "referencedDeclaration": 534, + "src": "16086:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1774, + "id": 1787, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1772, + "id": 1785, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15950:3:1", + "referencedDeclaration": 3390, + "src": "16093:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1773, + "id": 1786, "isConstant": false, "isLValue": false, "isPure": false, @@ -20463,7 +20635,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15950:10:1", + "src": "16093:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20474,21 +20646,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15943:18:1", + "src": "16086:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1775, + "id": 1788, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15943:28:1", + "referencedDeclaration": 487, + "src": "16086:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -20499,47 +20671,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15930:42:1", + "src": "16073:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1783, + "id": 1796, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1776, + "id": 1789, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15973:6:1", + "referencedDeclaration": 534, + "src": "16116:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1779, + "id": 1792, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1777, + "id": 1790, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15980:3:1", + "referencedDeclaration": 3390, + "src": "16123:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1778, + "id": 1791, "isConstant": false, "isLValue": false, "isPure": false, @@ -20547,7 +20719,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15980:10:1", + "src": "16123:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20558,21 +20730,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15973:18:1", + "src": "16116:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1780, + "id": 1793, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15973:29:1", + "referencedDeclaration": 489, + "src": "16116:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -20583,21 +20755,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15930:73:1", + "src": "16073:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1784, + "id": 1797, "indexExpression": { "argumentTypes": null, - "id": 1781, + "id": 1794, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "16004:12:1", + "referencedDeclaration": 1743, + "src": "16147:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20608,7 +20780,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "15930:87:1", + "src": "16073:87:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20618,31 +20790,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1785, + "id": 1798, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "16020:10:1", + "referencedDeclaration": 1751, + "src": "16163:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "15930:100:1", + "src": "16073:100:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1787, + "id": 1800, "nodeType": "ExpressionStatement", - "src": "15930:100:1" + "src": "16073:100:1" }, { "expression": { "argumentTypes": null, - "id": 1793, + "id": 1806, "isConstant": false, "isLValue": false, "isPure": false, @@ -20653,26 +20825,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1788, + "id": 1801, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16036:6:1", + "referencedDeclaration": 534, + "src": "16179:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1790, + "id": 1803, "indexExpression": { "argumentTypes": null, - "id": 1789, + "id": 1802, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "16043:10:1", + "referencedDeclaration": 1751, + "src": "16186:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20683,21 +20855,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16036:18:1", + "src": "16179:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1791, + "id": 1804, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "16036:28:1", + "referencedDeclaration": 503, + "src": "16179:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20707,31 +20879,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1792, + "id": 1805, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "16067:12:1", + "referencedDeclaration": 1743, + "src": "16210:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16036:43:1", + "src": "16179:43:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1794, + "id": 1807, "nodeType": "ExpressionStatement", - "src": "16036:43:1" + "src": "16179:43:1" }, { "expression": { "argumentTypes": null, - "id": 1809, + "id": 1822, "isConstant": false, "isLValue": false, "isPure": false, @@ -20739,7 +20911,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "16085:82:1", + "src": "16228:82:1", "subExpression": { "argumentTypes": null, "expression": { @@ -20748,52 +20920,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1795, + "id": 1808, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16085:12:1", + "referencedDeclaration": 541, + "src": "16228:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1806, + "id": 1819, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1796, + "id": 1809, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16098:6:1", + "referencedDeclaration": 534, + "src": "16241:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1799, + "id": 1812, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1797, + "id": 1810, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16105:3:1", + "referencedDeclaration": 3390, + "src": "16248:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1798, + "id": 1811, "isConstant": false, "isLValue": false, "isPure": false, @@ -20801,7 +20973,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16105:10:1", + "src": "16248:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20812,21 +20984,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16098:18:1", + "src": "16241:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1800, + "id": 1813, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16098:28:1", + "referencedDeclaration": 487, + "src": "16241:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -20837,47 +21009,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16085:42:1", + "src": "16228:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1807, + "id": 1820, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1801, + "id": 1814, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16128:6:1", + "referencedDeclaration": 534, + "src": "16271:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1804, + "id": 1817, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1802, + "id": 1815, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16135:3:1", + "referencedDeclaration": 3390, + "src": "16278:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1803, + "id": 1816, "isConstant": false, "isLValue": false, "isPure": false, @@ -20885,7 +21057,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16135:10:1", + "src": "16278:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -20896,21 +21068,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16128:18:1", + "src": "16271:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1805, + "id": 1818, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16128:29:1", + "referencedDeclaration": 489, + "src": "16271:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -20921,13 +21093,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16085:73:1", + "src": "16228:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1808, + "id": 1821, "isConstant": false, "isLValue": true, "isPure": false, @@ -20935,7 +21107,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16085:80:1", + "src": "16228:80:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20946,22 +21118,22 @@ "typeString": "uint256" } }, - "id": 1810, + "id": 1823, "nodeType": "ExpressionStatement", - "src": "16085:82:1" + "src": "16228:82:1" }, { "assignments": [ - 1812 + 1825 ], "declarations": [ { "constant": false, - "id": 1812, + "id": 1825, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "16174:17:1", + "scope": 1885, + "src": "16317:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20969,10 +21141,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1811, + "id": 1824, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16174:4:1", + "src": "16317:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20982,41 +21154,41 @@ "visibility": "internal" } ], - "id": 1818, + "id": 1831, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1813, + "id": 1826, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16194:6:1", + "referencedDeclaration": 534, + "src": "16337:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1816, + "id": 1829, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1814, + "id": 1827, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16201:3:1", + "referencedDeclaration": 3390, + "src": "16344:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1815, + "id": 1828, "isConstant": false, "isLValue": false, "isPure": false, @@ -21024,7 +21196,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16201:10:1", + "src": "16344:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21035,41 +21207,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16194:18:1", + "src": "16337:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1817, + "id": 1830, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "16194:31:1", + "referencedDeclaration": 505, + "src": "16337:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16174:51:1" + "src": "16317:51:1" }, { "assignments": [ - 1820 + 1833 ], "declarations": [ { "constant": false, - "id": 1820, + "id": 1833, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "16231:18:1", + "scope": 1885, + "src": "16374:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21077,10 +21249,10 @@ "typeString": "address" }, "typeName": { - "id": 1819, + "id": 1832, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16231:7:1", + "src": "16374:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21090,30 +21262,30 @@ "visibility": "internal" } ], - "id": 1827, + "id": 1840, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1821, + "id": 1834, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16252:11:1", + "referencedDeclaration": 544, + "src": "16395:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1826, + "id": 1839, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1825, + "id": 1838, "isConstant": false, "isLValue": false, "isPure": false, @@ -21122,18 +21294,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1822, + "id": 1835, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16264:11:1", + "referencedDeclaration": 544, + "src": "16407:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1823, + "id": 1836, "isConstant": false, "isLValue": true, "isPure": false, @@ -21141,7 +21313,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16264:18:1", + "src": "16407:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21152,14 +21324,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1824, + "id": 1837, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16285:1:1", + "src": "16428:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -21167,7 +21339,7 @@ }, "value": "1" }, - "src": "16264:22:1", + "src": "16407:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21178,19 +21350,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16252:35:1", + "src": "16395:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "16231:56:1" + "src": "16374:56:1" }, { "expression": { "argumentTypes": null, - "id": 1832, + "id": 1845, "isConstant": false, "isLValue": false, "isPure": false, @@ -21199,26 +21371,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1828, + "id": 1841, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16293:11:1", + "referencedDeclaration": 544, + "src": "16436:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1830, + "id": 1843, "indexExpression": { "argumentTypes": null, - "id": 1829, + "id": 1842, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1812, - "src": "16305:12:1", + "referencedDeclaration": 1825, + "src": "16448:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21229,7 +21401,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16293:25:1", + "src": "16436:25:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21239,31 +21411,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1831, + "id": 1844, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1820, - "src": "16321:10:1", + "referencedDeclaration": 1833, + "src": "16464:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "16293:38:1", + "src": "16436:38:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1833, + "id": 1846, "nodeType": "ExpressionStatement", - "src": "16293:38:1" + "src": "16436:38:1" }, { "expression": { "argumentTypes": null, - "id": 1839, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -21274,26 +21446,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1834, + "id": 1847, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16337:6:1", + "referencedDeclaration": 534, + "src": "16480:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1836, + "id": 1849, "indexExpression": { "argumentTypes": null, - "id": 1835, + "id": 1848, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1820, - "src": "16344:10:1", + "referencedDeclaration": 1833, + "src": "16487:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21304,21 +21476,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16337:18:1", + "src": "16480:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1837, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "16337:31:1", + "referencedDeclaration": 505, + "src": "16480:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21328,31 +21500,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1838, + "id": 1851, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1812, - "src": "16371:12:1", + "referencedDeclaration": 1825, + "src": "16514:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16337:46:1", + "src": "16480:46:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1840, + "id": 1853, "nodeType": "ExpressionStatement", - "src": "16337:46:1" + "src": "16480:46:1" }, { "expression": { "argumentTypes": null, - "id": 1844, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -21360,23 +21532,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "16389:20:1", + "src": "16532:20:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1841, + "id": 1854, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16389:11:1", + "referencedDeclaration": 544, + "src": "16532:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1843, + "id": 1856, "isConstant": false, "isLValue": true, "isPure": false, @@ -21384,7 +21556,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16389:18:1", + "src": "16532:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21395,14 +21567,14 @@ "typeString": "uint256" } }, - "id": 1845, + "id": 1858, "nodeType": "ExpressionStatement", - "src": "16389:20:1" + "src": "16532:20:1" }, { "expression": { "argumentTypes": null, - "id": 1850, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": false, @@ -21410,39 +21582,39 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "16415:25:1", + "src": "16558:25:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1846, + "id": 1859, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16422:6:1", + "referencedDeclaration": 534, + "src": "16565:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1849, + "id": 1862, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1847, + "id": 1860, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16429:3:1", + "referencedDeclaration": 3390, + "src": "16572:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1848, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": false, @@ -21450,7 +21622,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16429:10:1", + "src": "16572:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21461,9 +21633,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16422:18:1", + "src": "16565:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, @@ -21472,9 +21644,9 @@ "typeString": "tuple()" } }, - "id": 1851, + "id": 1864, "nodeType": "ExpressionStatement", - "src": "16415:25:1" + "src": "16558:25:1" }, { "expression": { @@ -21484,18 +21656,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1855, + "id": 1868, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16469:3:1", + "referencedDeclaration": 3390, + "src": "16612:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1856, + "id": 1869, "isConstant": false, "isLValue": false, "isPure": false, @@ -21503,7 +21675,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16469:10:1", + "src": "16612:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21519,18 +21691,18 @@ ], "expression": { "argumentTypes": null, - "id": 1852, + "id": 1865, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "16446:4:1", + "referencedDeclaration": 479, + "src": "16589:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1854, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -21538,13 +21710,13 @@ "memberName": "withdrawDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 305, - "src": "16446:22:1", + "src": "16589:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 1857, + "id": 1870, "isConstant": false, "isLValue": false, "isPure": false, @@ -21552,15 +21724,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16446:34:1", + "src": "16589:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1858, + "id": 1871, "nodeType": "ExpressionStatement", - "src": "16446:34:1" + "src": "16589:34:1" }, { "expression": { @@ -21570,18 +21742,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1862, + "id": 1875, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16501:3:1", + "referencedDeclaration": 3390, + "src": "16644:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1863, + "id": 1876, "isConstant": false, "isLValue": false, "isPure": false, @@ -21589,7 +21761,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16501:10:1", + "src": "16644:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21605,18 +21777,18 @@ ], "expression": { "argumentTypes": null, - "id": 1859, + "id": 1872, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "16486:4:1", + "referencedDeclaration": 479, + "src": "16629:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1861, + "id": 1874, "isConstant": false, "isLValue": false, "isPure": false, @@ -21624,13 +21796,13 @@ "memberName": "refundEth", "nodeType": "MemberAccess", "referencedDeclaration": 354, - "src": "16486:14:1", + "src": "16629:14:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 1864, + "id": 1877, "isConstant": false, "isLValue": false, "isPure": false, @@ -21638,15 +21810,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16486:26:1", + "src": "16629:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1865, + "id": 1878, "nodeType": "ExpressionStatement", - "src": "16486:26:1" + "src": "16629:26:1" }, { "eventCall": { @@ -21656,18 +21828,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1867, + "id": 1880, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16536:3:1", + "referencedDeclaration": 3390, + "src": "16679:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1868, + "id": 1881, "isConstant": false, "isLValue": false, "isPure": false, @@ -21675,7 +21847,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16536:10:1", + "src": "16679:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21689,18 +21861,18 @@ "typeString": "address" } ], - "id": 1866, + "id": 1879, "name": "DeleteTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 405, - "src": "16523:12:1", + "referencedDeclaration": 411, + "src": "16666:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1869, + "id": 1882, "isConstant": false, "isLValue": false, "isPure": false, @@ -21708,20 +21880,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16523:24:1", + "src": "16666:24:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1870, + "id": 1883, "nodeType": "EmitStatement", - "src": "16518:29:1" + "src": "16661:29:1" } ] }, "documentation": null, - "id": 1872, + "id": 1885, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -21729,29 +21901,29 @@ "name": "deleteTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 1720, + "id": 1733, "nodeType": "ParameterList", "parameters": [], - "src": "15637:2:1" + "src": "15780:2:1" }, "payable": false, "returnParameters": { - "id": 1721, + "id": 1734, "nodeType": "ParameterList", "parameters": [], - "src": "15649:0:1" + "src": "15792:0:1" }, - "scope": 2659, - "src": "15616:936:1", + "scope": 2672, + "src": "15759:936:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2017, + "id": 2030, "nodeType": "Block", - "src": "16700:909:1", + "src": "16843:909:1", "statements": [ { "expression": { @@ -21762,12 +21934,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1883, + "id": 1896, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16723:9:1", + "referencedDeclaration": 1887, + "src": "16866:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21781,18 +21953,18 @@ "typeString": "address" } ], - "id": 1882, + "id": 1895, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "16714:8:1", + "referencedDeclaration": 2629, + "src": "16857:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1884, + "id": 1897, "isConstant": false, "isLValue": false, "isPure": false, @@ -21800,7 +21972,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16714:19:1", + "src": "16857:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21814,21 +21986,21 @@ "typeString": "bool" } ], - "id": 1881, + "id": 1894, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "16706:7:1", + "referencedDeclaration": 3393, + "src": "16849:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1885, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": false, @@ -21836,28 +22008,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16706:28:1", + "src": "16849:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1886, + "id": 1899, "nodeType": "ExpressionStatement", - "src": "16706:28:1" + "src": "16849:28:1" }, { "assignments": [ - 1888 + 1901 ], "declarations": [ { "constant": false, - "id": 1888, + "id": 1901, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16740:17:1", + "scope": 2031, + "src": "16883:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21865,10 +22037,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1887, + "id": 1900, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16740:4:1", + "src": "16883:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21878,33 +22050,33 @@ "visibility": "internal" } ], - "id": 1893, + "id": 1906, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1889, + "id": 1902, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16760:6:1", + "referencedDeclaration": 534, + "src": "16903:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1891, + "id": 1904, "indexExpression": { "argumentTypes": null, - "id": 1890, + "id": 1903, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16767:9:1", + "referencedDeclaration": 1887, + "src": "16910:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21915,41 +22087,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16760:17:1", + "src": "16903:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1892, + "id": 1905, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "16760:27:1", + "referencedDeclaration": 503, + "src": "16903:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16740:47:1" + "src": "16883:47:1" }, { "assignments": [ - 1895 + 1908 ], "declarations": [ { "constant": false, - "id": 1895, + "id": 1908, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16793:18:1", + "scope": 2031, + "src": "16936:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21957,10 +22129,10 @@ "typeString": "address" }, "typeName": { - "id": 1894, + "id": 1907, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16793:7:1", + "src": "16936:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21970,7 +22142,7 @@ "visibility": "internal" } ], - "id": 1922, + "id": 1935, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -21979,44 +22151,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1896, + "id": 1909, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16814:12:1", + "referencedDeclaration": 541, + "src": "16957:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1901, + "id": 1914, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1897, + "id": 1910, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16827:6:1", + "referencedDeclaration": 534, + "src": "16970:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1899, + "id": 1912, "indexExpression": { "argumentTypes": null, - "id": 1898, + "id": 1911, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16834:9:1", + "referencedDeclaration": 1887, + "src": "16977:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22027,21 +22199,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16827:17:1", + "src": "16970:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1900, + "id": 1913, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16827:27:1", + "referencedDeclaration": 487, + "src": "16970:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -22052,39 +22224,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:41:1", + "src": "16957:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1906, + "id": 1919, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1902, + "id": 1915, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16856:6:1", + "referencedDeclaration": 534, + "src": "16999:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1904, + "id": 1917, "indexExpression": { "argumentTypes": null, - "id": 1903, + "id": 1916, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16863:9:1", + "referencedDeclaration": 1887, + "src": "17006:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22095,21 +22267,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16856:17:1", + "src": "16999:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1905, + "id": 1918, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16856:28:1", + "referencedDeclaration": 489, + "src": "16999:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -22120,20 +22292,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:71:1", + "src": "16957:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1921, + "id": 1934, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1920, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -22146,44 +22318,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1907, + "id": 1920, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16886:12:1", + "referencedDeclaration": 541, + "src": "17029:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1912, + "id": 1925, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1908, + "id": 1921, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16899:6:1", + "referencedDeclaration": 534, + "src": "17042:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1910, + "id": 1923, "indexExpression": { "argumentTypes": null, - "id": 1909, + "id": 1922, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16906:9:1", + "referencedDeclaration": 1887, + "src": "17049:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22194,21 +22366,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16899:17:1", + "src": "17042:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1911, + "id": 1924, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16899:27:1", + "referencedDeclaration": 487, + "src": "17042:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -22219,39 +22391,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16886:41:1", + "src": "17029:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1917, + "id": 1930, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1913, + "id": 1926, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16928:6:1", + "referencedDeclaration": 534, + "src": "17071:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1915, + "id": 1928, "indexExpression": { "argumentTypes": null, - "id": 1914, + "id": 1927, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16935:9:1", + "referencedDeclaration": 1887, + "src": "17078:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22262,21 +22434,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16928:17:1", + "src": "17071:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1916, + "id": 1929, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16928:28:1", + "referencedDeclaration": 489, + "src": "17071:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -22287,13 +22459,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16886:71:1", + "src": "17029:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1918, + "id": 1931, "isConstant": false, "isLValue": true, "isPure": false, @@ -22301,7 +22473,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16886:78:1", + "src": "17029:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22312,14 +22484,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1919, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16967:1:1", + "src": "17110:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -22327,7 +22499,7 @@ }, "value": "1" }, - "src": "16886:82:1", + "src": "17029:82:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22338,19 +22510,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:155:1", + "src": "16957:155:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "16793:176:1" + "src": "16936:176:1" }, { "expression": { "argumentTypes": null, - "id": 1937, + "id": 1950, "isConstant": false, "isLValue": false, "isPure": false, @@ -22363,44 +22535,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1923, + "id": 1936, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16975:12:1", + "referencedDeclaration": 541, + "src": "17118:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1933, + "id": 1946, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1924, + "id": 1937, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16988:6:1", + "referencedDeclaration": 534, + "src": "17131:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1926, + "id": 1939, "indexExpression": { "argumentTypes": null, - "id": 1925, + "id": 1938, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16995:9:1", + "referencedDeclaration": 1887, + "src": "17138:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22411,21 +22583,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16988:17:1", + "src": "17131:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1927, + "id": 1940, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16988:27:1", + "referencedDeclaration": 487, + "src": "17131:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -22436,39 +22608,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16975:41:1", + "src": "17118:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1934, + "id": 1947, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1928, + "id": 1941, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17017:6:1", + "referencedDeclaration": 534, + "src": "17160:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1930, + "id": 1943, "indexExpression": { "argumentTypes": null, - "id": 1929, + "id": 1942, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17024:9:1", + "referencedDeclaration": 1887, + "src": "17167:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22479,21 +22651,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17017:17:1", + "src": "17160:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1931, + "id": 1944, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "17017:28:1", + "referencedDeclaration": 489, + "src": "17160:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -22504,21 +22676,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16975:71:1", + "src": "17118:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1935, + "id": 1948, "indexExpression": { "argumentTypes": null, - "id": 1932, + "id": 1945, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1888, - "src": "17047:12:1", + "referencedDeclaration": 1901, + "src": "17190:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22529,7 +22701,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16975:85:1", + "src": "17118:85:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22539,31 +22711,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1936, + "id": 1949, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "17063:10:1", + "referencedDeclaration": 1908, + "src": "17206:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "16975:98:1", + "src": "17118:98:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1938, + "id": 1951, "nodeType": "ExpressionStatement", - "src": "16975:98:1" + "src": "17118:98:1" }, { "expression": { "argumentTypes": null, - "id": 1944, + "id": 1957, "isConstant": false, "isLValue": false, "isPure": false, @@ -22574,26 +22746,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1939, + "id": 1952, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17079:6:1", + "referencedDeclaration": 534, + "src": "17222:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1941, + "id": 1954, "indexExpression": { "argumentTypes": null, - "id": 1940, + "id": 1953, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "17086:10:1", + "referencedDeclaration": 1908, + "src": "17229:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22604,21 +22776,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17079:18:1", + "src": "17222:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1942, + "id": 1955, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "17079:28:1", + "referencedDeclaration": 503, + "src": "17222:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22628,31 +22800,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1943, + "id": 1956, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1888, - "src": "17110:12:1", + "referencedDeclaration": 1901, + "src": "17253:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17079:43:1", + "src": "17222:43:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1945, + "id": 1958, "nodeType": "ExpressionStatement", - "src": "17079:43:1" + "src": "17222:43:1" }, { "expression": { "argumentTypes": null, - "id": 1958, + "id": 1971, "isConstant": false, "isLValue": false, "isPure": false, @@ -22660,7 +22832,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "17128:80:1", + "src": "17271:80:1", "subExpression": { "argumentTypes": null, "expression": { @@ -22669,44 +22841,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1946, + "id": 1959, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "17128:12:1", + "referencedDeclaration": 541, + "src": "17271:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1955, + "id": 1968, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1947, + "id": 1960, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17141:6:1", + "referencedDeclaration": 534, + "src": "17284:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1949, + "id": 1962, "indexExpression": { "argumentTypes": null, - "id": 1948, + "id": 1961, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17148:9:1", + "referencedDeclaration": 1887, + "src": "17291:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22717,21 +22889,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17141:17:1", + "src": "17284:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1950, + "id": 1963, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "17141:27:1", + "referencedDeclaration": 487, + "src": "17284:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -22742,39 +22914,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17128:41:1", + "src": "17271:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1956, + "id": 1969, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1951, + "id": 1964, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17170:6:1", + "referencedDeclaration": 534, + "src": "17313:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1953, + "id": 1966, "indexExpression": { "argumentTypes": null, - "id": 1952, + "id": 1965, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17177:9:1", + "referencedDeclaration": 1887, + "src": "17320:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22785,21 +22957,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17170:17:1", + "src": "17313:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1954, + "id": 1967, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "17170:28:1", + "referencedDeclaration": 489, + "src": "17313:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -22810,13 +22982,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17128:71:1", + "src": "17271:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1957, + "id": 1970, "isConstant": false, "isLValue": true, "isPure": false, @@ -22824,7 +22996,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17128:78:1", + "src": "17271:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22835,22 +23007,22 @@ "typeString": "uint256" } }, - "id": 1959, + "id": 1972, "nodeType": "ExpressionStatement", - "src": "17128:80:1" + "src": "17271:80:1" }, { "assignments": [ - 1961 + 1974 ], "declarations": [ { "constant": false, - "id": 1961, + "id": 1974, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "17215:17:1", + "scope": 2031, + "src": "17358:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22858,10 +23030,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1960, + "id": 1973, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17215:4:1", + "src": "17358:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22871,33 +23043,33 @@ "visibility": "internal" } ], - "id": 1966, + "id": 1979, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1962, + "id": 1975, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17235:6:1", + "referencedDeclaration": 534, + "src": "17378:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1964, + "id": 1977, "indexExpression": { "argumentTypes": null, - "id": 1963, + "id": 1976, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17242:9:1", + "referencedDeclaration": 1887, + "src": "17385:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22908,41 +23080,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17235:17:1", + "src": "17378:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1965, + "id": 1978, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "17235:30:1", + "referencedDeclaration": 505, + "src": "17378:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17215:50:1" + "src": "17358:50:1" }, { "assignments": [ - 1968 + 1981 ], "declarations": [ { "constant": false, - "id": 1968, + "id": 1981, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "17271:18:1", + "scope": 2031, + "src": "17414:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22950,10 +23122,10 @@ "typeString": "address" }, "typeName": { - "id": 1967, + "id": 1980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17271:7:1", + "src": "17414:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -22963,30 +23135,30 @@ "visibility": "internal" } ], - "id": 1975, + "id": 1988, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1969, + "id": 1982, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17292:11:1", + "referencedDeclaration": 544, + "src": "17435:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1974, + "id": 1987, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1973, + "id": 1986, "isConstant": false, "isLValue": false, "isPure": false, @@ -22995,18 +23167,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1970, + "id": 1983, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17304:11:1", + "referencedDeclaration": 544, + "src": "17447:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1971, + "id": 1984, "isConstant": false, "isLValue": true, "isPure": false, @@ -23014,7 +23186,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17304:18:1", + "src": "17447:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23025,14 +23197,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1972, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17325:1:1", + "src": "17468:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -23040,7 +23212,7 @@ }, "value": "1" }, - "src": "17304:22:1", + "src": "17447:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23051,19 +23223,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17292:35:1", + "src": "17435:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "17271:56:1" + "src": "17414:56:1" }, { "expression": { "argumentTypes": null, - "id": 1980, + "id": 1993, "isConstant": false, "isLValue": false, "isPure": false, @@ -23072,26 +23244,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1976, + "id": 1989, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17333:11:1", + "referencedDeclaration": 544, + "src": "17476:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1978, + "id": 1991, "indexExpression": { "argumentTypes": null, - "id": 1977, + "id": 1990, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, - "src": "17345:12:1", + "referencedDeclaration": 1974, + "src": "17488:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23102,7 +23274,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17333:25:1", + "src": "17476:25:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23112,31 +23284,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1979, + "id": 1992, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1968, - "src": "17361:10:1", + "referencedDeclaration": 1981, + "src": "17504:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "17333:38:1", + "src": "17476:38:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1981, + "id": 1994, "nodeType": "ExpressionStatement", - "src": "17333:38:1" + "src": "17476:38:1" }, { "expression": { "argumentTypes": null, - "id": 1987, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -23147,26 +23319,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1982, + "id": 1995, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17377:6:1", + "referencedDeclaration": 534, + "src": "17520:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1984, + "id": 1997, "indexExpression": { "argumentTypes": null, - "id": 1983, + "id": 1996, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1968, - "src": "17384:10:1", + "referencedDeclaration": 1981, + "src": "17527:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23177,21 +23349,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17377:18:1", + "src": "17520:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1985, + "id": 1998, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "17377:31:1", + "referencedDeclaration": 505, + "src": "17520:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23201,31 +23373,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1986, + "id": 1999, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, - "src": "17411:12:1", + "referencedDeclaration": 1974, + "src": "17554:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17377:46:1", + "src": "17520:46:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1988, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "17377:46:1" + "src": "17520:46:1" }, { "expression": { "argumentTypes": null, - "id": 1992, + "id": 2005, "isConstant": false, "isLValue": false, "isPure": false, @@ -23233,23 +23405,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "17429:20:1", + "src": "17572:20:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1989, + "id": 2002, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17429:11:1", + "referencedDeclaration": 544, + "src": "17572:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1991, + "id": 2004, "isConstant": false, "isLValue": true, "isPure": false, @@ -23257,7 +23429,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17429:18:1", + "src": "17572:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23268,14 +23440,14 @@ "typeString": "uint256" } }, - "id": 1993, + "id": 2006, "nodeType": "ExpressionStatement", - "src": "17429:20:1" + "src": "17572:20:1" }, { "expression": { "argumentTypes": null, - "id": 1997, + "id": 2010, "isConstant": false, "isLValue": false, "isPure": false, @@ -23283,31 +23455,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "17455:24:1", + "src": "17598:24:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1994, + "id": 2007, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17462:6:1", + "referencedDeclaration": 534, + "src": "17605:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1996, + "id": 2009, "indexExpression": { "argumentTypes": null, - "id": 1995, + "id": 2008, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17469:9:1", + "referencedDeclaration": 1887, + "src": "17612:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23318,9 +23490,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17462:17:1", + "src": "17605:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, @@ -23329,9 +23501,9 @@ "typeString": "tuple()" } }, - "id": 1998, + "id": 2011, "nodeType": "ExpressionStatement", - "src": "17455:24:1" + "src": "17598:24:1" }, { "expression": { @@ -23339,12 +23511,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2002, + "id": 2015, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17508:9:1", + "referencedDeclaration": 1887, + "src": "17651:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23360,18 +23532,18 @@ ], "expression": { "argumentTypes": null, - "id": 1999, + "id": 2012, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "17485:4:1", + "referencedDeclaration": 479, + "src": "17628:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2001, + "id": 2014, "isConstant": false, "isLValue": false, "isPure": false, @@ -23379,13 +23551,13 @@ "memberName": "withdrawDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 305, - "src": "17485:22:1", + "src": "17628:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2003, + "id": 2016, "isConstant": false, "isLValue": false, "isPure": false, @@ -23393,15 +23565,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17485:33:1", + "src": "17628:33:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2004, + "id": 2017, "nodeType": "ExpressionStatement", - "src": "17485:33:1" + "src": "17628:33:1" }, { "expression": { @@ -23409,12 +23581,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2008, + "id": 2021, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17539:9:1", + "referencedDeclaration": 1887, + "src": "17682:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23430,18 +23602,18 @@ ], "expression": { "argumentTypes": null, - "id": 2005, + "id": 2018, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "17524:4:1", + "referencedDeclaration": 479, + "src": "17667:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2007, + "id": 2020, "isConstant": false, "isLValue": false, "isPure": false, @@ -23449,13 +23621,13 @@ "memberName": "refundEth", "nodeType": "MemberAccess", "referencedDeclaration": 354, - "src": "17524:14:1", + "src": "17667:14:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2009, + "id": 2022, "isConstant": false, "isLValue": false, "isPure": false, @@ -23463,15 +23635,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17524:25:1", + "src": "17667:25:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2010, + "id": 2023, "nodeType": "ExpressionStatement", - "src": "17524:25:1" + "src": "17667:25:1" }, { "eventCall": { @@ -23481,18 +23653,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2012, + "id": 2025, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17582:3:1", + "referencedDeclaration": 3390, + "src": "17725:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2013, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": false, @@ -23500,7 +23672,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17582:10:1", + "src": "17725:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23508,12 +23680,12 @@ }, { "argumentTypes": null, - "id": 2014, + "id": 2027, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17594:9:1", + "referencedDeclaration": 1887, + "src": "17737:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23531,18 +23703,18 @@ "typeString": "address" } ], - "id": 2011, + "id": 2024, "name": "DeleteTellerModerator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 437, - "src": "17560:21:1", + "referencedDeclaration": 443, + "src": "17703:21:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 2015, + "id": 2028, "isConstant": false, "isLValue": false, "isPure": false, @@ -23550,20 +23722,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17560:44:1", + "src": "17703:44:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2016, + "id": 2029, "nodeType": "EmitStatement", - "src": "17555:49:1" + "src": "17698:49:1" } ] }, "documentation": null, - "id": 2018, + "id": 2031, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -23574,18 +23746,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1877, + "id": 1890, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16679:3:1", + "referencedDeclaration": 3390, + "src": "16822:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1878, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": false, @@ -23593,44 +23765,44 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16679:10:1", + "src": "16822:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 1879, + "id": 1892, "modifierName": { "argumentTypes": null, - "id": 1876, + "id": 1889, "name": "isTellerModerator", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 92, - "src": "16661:17:1", + "src": "16804:17:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "16661:29:1" + "src": "16804:29:1" } ], "name": "deleteTellerMods", "nodeType": "FunctionDefinition", "parameters": { - "id": 1875, + "id": 1888, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1887, "name": "_toDelete", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16642:17:1", + "scope": 2031, + "src": "16785:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23638,10 +23810,10 @@ "typeString": "address" }, "typeName": { - "id": 1873, + "id": 1886, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16642:7:1", + "src": "16785:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23651,26 +23823,26 @@ "visibility": "internal" } ], - "src": "16641:19:1" + "src": "16784:19:1" }, "payable": false, "returnParameters": { - "id": 1880, + "id": 1893, "nodeType": "ParameterList", "parameters": [], - "src": "16700:0:1" + "src": "16843:0:1" }, - "scope": 2659, - "src": "16616:993:1", + "scope": 2672, + "src": "16759:993:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2163, + "id": 2176, "nodeType": "Block", - "src": "17704:823:1", + "src": "17847:823:1", "statements": [ { "expression": { @@ -23683,18 +23855,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2023, + "id": 2036, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17725:3:1", + "referencedDeclaration": 3390, + "src": "17868:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2024, + "id": 2037, "isConstant": false, "isLValue": false, "isPure": false, @@ -23702,7 +23874,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17725:10:1", + "src": "17868:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23716,18 +23888,18 @@ "typeString": "address" } ], - "id": 2022, + "id": 2035, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "17718:6:1", + "referencedDeclaration": 2585, + "src": "17861:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 2025, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": false, @@ -23735,7 +23907,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17718:18:1", + "src": "17861:18:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23749,21 +23921,21 @@ "typeString": "bool" } ], - "id": 2021, + "id": 2034, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "17710:7:1", + "referencedDeclaration": 3393, + "src": "17853:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2026, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, @@ -23771,28 +23943,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17710:27:1", + "src": "17853:27:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2027, + "id": 2040, "nodeType": "ExpressionStatement", - "src": "17710:27:1" + "src": "17853:27:1" }, { "assignments": [ - 2029 + 2042 ], "declarations": [ { "constant": false, - "id": 2029, + "id": 2042, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "17743:17:1", + "scope": 2177, + "src": "17886:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23800,10 +23972,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2028, + "id": 2041, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17743:4:1", + "src": "17886:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23813,41 +23985,41 @@ "visibility": "internal" } ], - "id": 2035, + "id": 2048, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2030, + "id": 2043, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17763:4:1", + "referencedDeclaration": 574, + "src": "17906:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2033, + "id": 2046, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2031, + "id": 2044, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17768:3:1", + "referencedDeclaration": 3390, + "src": "17911:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2032, + "id": 2045, "isConstant": false, "isLValue": false, "isPure": false, @@ -23855,7 +24027,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17768:10:1", + "src": "17911:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23866,41 +24038,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17763:16:1", + "src": "17906:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2034, + "id": 2047, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "17763:26:1", + "referencedDeclaration": 565, + "src": "17906:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17743:46:1" + "src": "17886:46:1" }, { "assignments": [ - 2037 + 2050 ], "declarations": [ { "constant": false, - "id": 2037, + "id": 2050, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "17795:18:1", + "scope": 2177, + "src": "17938:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23908,10 +24080,10 @@ "typeString": "address" }, "typeName": { - "id": 2036, + "id": 2049, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17795:7:1", + "src": "17938:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23921,7 +24093,7 @@ "visibility": "internal" } ], - "id": 2068, + "id": 2081, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -23930,52 +24102,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2038, + "id": 2051, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17816:10:1", + "referencedDeclaration": 581, + "src": "17959:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2044, + "id": 2057, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2039, + "id": 2052, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17827:4:1", + "referencedDeclaration": 574, + "src": "17970:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2042, + "id": 2055, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2040, + "id": 2053, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17832:3:1", + "referencedDeclaration": 3390, + "src": "17975:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2041, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -23983,7 +24155,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17832:10:1", + "src": "17975:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -23994,21 +24166,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17827:16:1", + "src": "17970:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2043, + "id": 2056, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17827:26:1", + "referencedDeclaration": 553, + "src": "17970:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -24019,47 +24191,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:38:1", + "src": "17959:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2050, + "id": 2063, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2045, + "id": 2058, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17855:4:1", + "referencedDeclaration": 574, + "src": "17998:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2048, + "id": 2061, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2046, + "id": 2059, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17860:3:1", + "referencedDeclaration": 3390, + "src": "18003:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2047, + "id": 2060, "isConstant": false, "isLValue": false, "isPure": false, @@ -24067,7 +24239,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17860:10:1", + "src": "18003:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24078,21 +24250,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17855:16:1", + "src": "17998:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2049, + "id": 2062, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "17855:27:1", + "referencedDeclaration": 555, + "src": "17998:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -24103,20 +24275,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:67:1", + "src": "17959:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2067, + "id": 2080, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2066, + "id": 2079, "isConstant": false, "isLValue": false, "isPure": false, @@ -24129,52 +24301,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2051, + "id": 2064, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17884:10:1", + "referencedDeclaration": 581, + "src": "18027:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2057, + "id": 2070, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2052, + "id": 2065, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17895:4:1", + "referencedDeclaration": 574, + "src": "18038:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2055, + "id": 2068, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2053, + "id": 2066, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17900:3:1", + "referencedDeclaration": 3390, + "src": "18043:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2054, + "id": 2067, "isConstant": false, "isLValue": false, "isPure": false, @@ -24182,7 +24354,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17900:10:1", + "src": "18043:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24193,21 +24365,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17895:16:1", + "src": "18038:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2056, + "id": 2069, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17895:26:1", + "referencedDeclaration": 553, + "src": "18038:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -24218,47 +24390,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17884:38:1", + "src": "18027:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2063, + "id": 2076, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2058, + "id": 2071, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17923:4:1", + "referencedDeclaration": 574, + "src": "18066:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2061, + "id": 2074, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2059, + "id": 2072, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17928:3:1", + "referencedDeclaration": 3390, + "src": "18071:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2060, + "id": 2073, "isConstant": false, "isLValue": false, "isPure": false, @@ -24266,7 +24438,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17928:10:1", + "src": "18071:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24277,21 +24449,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17923:16:1", + "src": "18066:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2062, + "id": 2075, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "17923:27:1", + "referencedDeclaration": 555, + "src": "18066:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -24302,13 +24474,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17884:67:1", + "src": "18027:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2064, + "id": 2077, "isConstant": false, "isLValue": true, "isPure": false, @@ -24316,7 +24488,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17884:74:1", + "src": "18027:74:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24327,14 +24499,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2065, + "id": 2078, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17961:1:1", + "src": "18104:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -24342,7 +24514,7 @@ }, "value": "1" }, - "src": "17884:78:1", + "src": "18027:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24353,19 +24525,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:147:1", + "src": "17959:147:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "17795:168:1" + "src": "17938:168:1" }, { "expression": { "argumentTypes": null, - "id": 2085, + "id": 2098, "isConstant": false, "isLValue": false, "isPure": false, @@ -24378,52 +24550,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2069, + "id": 2082, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17969:10:1", + "referencedDeclaration": 581, + "src": "18112:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2081, + "id": 2094, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2070, + "id": 2083, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17980:4:1", + "referencedDeclaration": 574, + "src": "18123:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2073, + "id": 2086, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2071, + "id": 2084, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17985:3:1", + "referencedDeclaration": 3390, + "src": "18128:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2072, + "id": 2085, "isConstant": false, "isLValue": false, "isPure": false, @@ -24431,7 +24603,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17985:10:1", + "src": "18128:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24442,21 +24614,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17980:16:1", + "src": "18123:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2074, + "id": 2087, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17980:26:1", + "referencedDeclaration": 553, + "src": "18123:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -24467,47 +24639,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17969:38:1", + "src": "18112:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2082, + "id": 2095, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2075, + "id": 2088, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18008:4:1", + "referencedDeclaration": 574, + "src": "18151:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2078, + "id": 2091, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2076, + "id": 2089, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18013:3:1", + "referencedDeclaration": 3390, + "src": "18156:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2077, + "id": 2090, "isConstant": false, "isLValue": false, "isPure": false, @@ -24515,7 +24687,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18013:10:1", + "src": "18156:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24526,21 +24698,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18008:16:1", + "src": "18151:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2079, + "id": 2092, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18008:27:1", + "referencedDeclaration": 555, + "src": "18151:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -24551,21 +24723,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17969:67:1", + "src": "18112:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2083, + "id": 2096, "indexExpression": { "argumentTypes": null, - "id": 2080, + "id": 2093, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "18037:12:1", + "referencedDeclaration": 2042, + "src": "18180:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24576,7 +24748,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17969:81:1", + "src": "18112:81:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24586,31 +24758,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2084, + "id": 2097, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2037, - "src": "18053:10:1", + "referencedDeclaration": 2050, + "src": "18196:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "17969:94:1", + "src": "18112:94:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2086, + "id": 2099, "nodeType": "ExpressionStatement", - "src": "17969:94:1" + "src": "18112:94:1" }, { "expression": { "argumentTypes": null, - "id": 2092, + "id": 2105, "isConstant": false, "isLValue": false, "isPure": false, @@ -24621,26 +24793,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2087, + "id": 2100, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18069:4:1", + "referencedDeclaration": 574, + "src": "18212:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2089, + "id": 2102, "indexExpression": { "argumentTypes": null, - "id": 2088, + "id": 2101, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2037, - "src": "18074:10:1", + "referencedDeclaration": 2050, + "src": "18217:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24651,21 +24823,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18069:16:1", + "src": "18212:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2090, + "id": 2103, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18069:26:1", + "referencedDeclaration": 565, + "src": "18212:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24675,31 +24847,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2091, + "id": 2104, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "18098:12:1", + "referencedDeclaration": 2042, + "src": "18241:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18069:41:1", + "src": "18212:41:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2093, + "id": 2106, "nodeType": "ExpressionStatement", - "src": "18069:41:1" + "src": "18212:41:1" }, { "expression": { "argumentTypes": null, - "id": 2108, + "id": 2121, "isConstant": false, "isLValue": false, "isPure": false, @@ -24707,7 +24879,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18116:76:1", + "src": "18259:76:1", "subExpression": { "argumentTypes": null, "expression": { @@ -24716,52 +24888,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2094, + "id": 2107, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18116:10:1", + "referencedDeclaration": 581, + "src": "18259:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2105, + "id": 2118, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2095, + "id": 2108, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18127:4:1", + "referencedDeclaration": 574, + "src": "18270:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2098, + "id": 2111, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2096, + "id": 2109, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18132:3:1", + "referencedDeclaration": 3390, + "src": "18275:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2097, + "id": 2110, "isConstant": false, "isLValue": false, "isPure": false, @@ -24769,7 +24941,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18132:10:1", + "src": "18275:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24780,21 +24952,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18127:16:1", + "src": "18270:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2099, + "id": 2112, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18127:26:1", + "referencedDeclaration": 553, + "src": "18270:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -24805,47 +24977,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18116:38:1", + "src": "18259:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2106, + "id": 2119, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2100, + "id": 2113, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18155:4:1", + "referencedDeclaration": 574, + "src": "18298:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2103, + "id": 2116, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2101, + "id": 2114, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18160:3:1", + "referencedDeclaration": 3390, + "src": "18303:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2102, + "id": 2115, "isConstant": false, "isLValue": false, "isPure": false, @@ -24853,7 +25025,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18160:10:1", + "src": "18303:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -24864,21 +25036,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18155:16:1", + "src": "18298:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2104, + "id": 2117, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18155:27:1", + "referencedDeclaration": 555, + "src": "18298:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -24889,13 +25061,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18116:67:1", + "src": "18259:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2107, + "id": 2120, "isConstant": false, "isLValue": true, "isPure": false, @@ -24903,7 +25075,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18116:74:1", + "src": "18259:74:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24914,22 +25086,22 @@ "typeString": "uint256" } }, - "id": 2109, + "id": 2122, "nodeType": "ExpressionStatement", - "src": "18116:76:1" + "src": "18259:76:1" }, { "assignments": [ - 2111 + 2124 ], "declarations": [ { "constant": false, - "id": 2111, + "id": 2124, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "18199:17:1", + "scope": 2177, + "src": "18342:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24937,10 +25109,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2110, + "id": 2123, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "18199:4:1", + "src": "18342:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24950,41 +25122,41 @@ "visibility": "internal" } ], - "id": 2117, + "id": 2130, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2112, + "id": 2125, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18219:4:1", + "referencedDeclaration": 574, + "src": "18362:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2115, + "id": 2128, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2113, + "id": 2126, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18224:3:1", + "referencedDeclaration": 3390, + "src": "18367:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2114, + "id": 2127, "isConstant": false, "isLValue": false, "isPure": false, @@ -24992,7 +25164,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18224:10:1", + "src": "18367:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25003,41 +25175,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18219:16:1", + "src": "18362:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2116, + "id": 2129, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "18219:29:1", + "referencedDeclaration": 567, + "src": "18362:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18199:49:1" + "src": "18342:49:1" }, { "assignments": [ - 2119 + 2132 ], "declarations": [ { "constant": false, - "id": 2119, + "id": 2132, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "18254:18:1", + "scope": 2177, + "src": "18397:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25045,10 +25217,10 @@ "typeString": "address" }, "typeName": { - "id": 2118, + "id": 2131, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18254:7:1", + "src": "18397:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25058,30 +25230,30 @@ "visibility": "internal" } ], - "id": 2126, + "id": 2139, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2120, + "id": 2133, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18275:9:1", + "referencedDeclaration": 584, + "src": "18418:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2125, + "id": 2138, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2124, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, @@ -25090,18 +25262,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2121, + "id": 2134, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18285:9:1", + "referencedDeclaration": 584, + "src": "18428:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2122, + "id": 2135, "isConstant": false, "isLValue": true, "isPure": false, @@ -25109,7 +25281,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18285:16:1", + "src": "18428:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25120,14 +25292,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2123, + "id": 2136, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18304:1:1", + "src": "18447:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -25135,7 +25307,7 @@ }, "value": "1" }, - "src": "18285:20:1", + "src": "18428:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25146,19 +25318,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18275:31:1", + "src": "18418:31:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "18254:52:1" + "src": "18397:52:1" }, { "expression": { "argumentTypes": null, - "id": 2131, + "id": 2144, "isConstant": false, "isLValue": false, "isPure": false, @@ -25167,26 +25339,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2127, + "id": 2140, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18312:9:1", + "referencedDeclaration": 584, + "src": "18455:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2129, + "id": 2142, "indexExpression": { "argumentTypes": null, - "id": 2128, + "id": 2141, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2111, - "src": "18322:12:1", + "referencedDeclaration": 2124, + "src": "18465:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25197,7 +25369,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18312:23:1", + "src": "18455:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25207,31 +25379,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2130, + "id": 2143, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2119, - "src": "18338:10:1", + "referencedDeclaration": 2132, + "src": "18481:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "18312:36:1", + "src": "18455:36:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2132, + "id": 2145, "nodeType": "ExpressionStatement", - "src": "18312:36:1" + "src": "18455:36:1" }, { "expression": { "argumentTypes": null, - "id": 2138, + "id": 2151, "isConstant": false, "isLValue": false, "isPure": false, @@ -25242,26 +25414,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2133, + "id": 2146, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18354:4:1", + "referencedDeclaration": 574, + "src": "18497:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2135, + "id": 2148, "indexExpression": { "argumentTypes": null, - "id": 2134, + "id": 2147, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2119, - "src": "18359:10:1", + "referencedDeclaration": 2132, + "src": "18502:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25272,21 +25444,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18354:16:1", + "src": "18497:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2136, + "id": 2149, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "18354:29:1", + "referencedDeclaration": 567, + "src": "18497:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25296,31 +25468,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2137, + "id": 2150, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2111, - "src": "18386:12:1", + "referencedDeclaration": 2124, + "src": "18529:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18354:44:1", + "src": "18497:44:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2139, + "id": 2152, "nodeType": "ExpressionStatement", - "src": "18354:44:1" + "src": "18497:44:1" }, { "expression": { "argumentTypes": null, - "id": 2143, + "id": 2156, "isConstant": false, "isLValue": false, "isPure": false, @@ -25328,23 +25500,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18404:18:1", + "src": "18547:18:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2140, + "id": 2153, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18404:9:1", + "referencedDeclaration": 584, + "src": "18547:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2142, + "id": 2155, "isConstant": false, "isLValue": true, "isPure": false, @@ -25352,7 +25524,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18404:16:1", + "src": "18547:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25363,14 +25535,14 @@ "typeString": "uint256" } }, - "id": 2144, + "id": 2157, "nodeType": "ExpressionStatement", - "src": "18404:18:1" + "src": "18547:18:1" }, { "expression": { "argumentTypes": null, - "id": 2149, + "id": 2162, "isConstant": false, "isLValue": false, "isPure": false, @@ -25378,39 +25550,39 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "18428:23:1", + "src": "18571:23:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2145, + "id": 2158, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18435:4:1", + "referencedDeclaration": 574, + "src": "18578:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2148, + "id": 2161, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2146, + "id": 2159, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18440:3:1", + "referencedDeclaration": 3390, + "src": "18583:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2147, + "id": 2160, "isConstant": false, "isLValue": false, "isPure": false, @@ -25418,7 +25590,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18440:10:1", + "src": "18583:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25429,9 +25601,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18435:16:1", + "src": "18578:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, @@ -25440,9 +25612,9 @@ "typeString": "tuple()" } }, - "id": 2150, + "id": 2163, "nodeType": "ExpressionStatement", - "src": "18428:23:1" + "src": "18571:23:1" }, { "expression": { @@ -25452,18 +25624,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2154, + "id": 2167, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18478:3:1", + "referencedDeclaration": 3390, + "src": "18621:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2155, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": false, @@ -25471,7 +25643,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18478:10:1", + "src": "18621:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25487,18 +25659,18 @@ ], "expression": { "argumentTypes": null, - "id": 2151, + "id": 2164, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "18457:4:1", + "referencedDeclaration": 479, + "src": "18600:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2153, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": false, @@ -25506,13 +25678,13 @@ "memberName": "withdrawDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 310, - "src": "18457:20:1", + "src": "18600:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2156, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -25520,15 +25692,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18457:32:1", + "src": "18600:32:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2157, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "18457:32:1" + "src": "18600:32:1" }, { "eventCall": { @@ -25538,18 +25710,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2159, + "id": 2172, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18511:3:1", + "referencedDeclaration": 3390, + "src": "18654:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2160, + "id": 2173, "isConstant": false, "isLValue": false, "isPure": false, @@ -25557,7 +25729,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18511:10:1", + "src": "18654:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25571,18 +25743,18 @@ "typeString": "address" } ], - "id": 2158, + "id": 2171, "name": "DeleteShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 425, - "src": "18500:10:1", + "referencedDeclaration": 431, + "src": "18643:10:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 2161, + "id": 2174, "isConstant": false, "isLValue": false, "isPure": false, @@ -25590,20 +25762,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18500:22:1", + "src": "18643:22:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2162, + "id": 2175, "nodeType": "EmitStatement", - "src": "18495:27:1" + "src": "18638:27:1" } ] }, "documentation": null, - "id": 2164, + "id": 2177, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -25611,42 +25783,42 @@ "name": "deleteShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2019, + "id": 2032, "nodeType": "ParameterList", "parameters": [], - "src": "17692:2:1" + "src": "17835:2:1" }, "payable": false, "returnParameters": { - "id": 2020, + "id": 2033, "nodeType": "ParameterList", "parameters": [], - "src": "17704:0:1" + "src": "17847:0:1" }, - "scope": 2659, - "src": "17673:854:1", + "scope": 2672, + "src": "17816:854:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2310, + "id": 2323, "nodeType": "Block", - "src": "18670:902:1", + "src": "18813:902:1", "statements": [ { "assignments": [ - 2174 + 2187 ], "declarations": [ { "constant": false, - "id": 2174, + "id": 2187, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18676:17:1", + "scope": 2324, + "src": "18819:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25654,10 +25826,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2173, + "id": 2186, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "18676:4:1", + "src": "18819:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25667,33 +25839,33 @@ "visibility": "internal" } ], - "id": 2179, + "id": 2192, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2175, + "id": 2188, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18696:4:1", + "referencedDeclaration": 574, + "src": "18839:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2177, + "id": 2190, "indexExpression": { "argumentTypes": null, - "id": 2176, + "id": 2189, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18701:9:1", + "referencedDeclaration": 2179, + "src": "18844:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25704,41 +25876,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18696:15:1", + "src": "18839:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2178, + "id": 2191, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18696:25:1", + "referencedDeclaration": 565, + "src": "18839:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18676:45:1" + "src": "18819:45:1" }, { "assignments": [ - 2181 + 2194 ], "declarations": [ { "constant": false, - "id": 2181, + "id": 2194, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18727:18:1", + "scope": 2324, + "src": "18870:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25746,10 +25918,10 @@ "typeString": "address" }, "typeName": { - "id": 2180, + "id": 2193, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18727:7:1", + "src": "18870:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25759,7 +25931,7 @@ "visibility": "internal" } ], - "id": 2208, + "id": 2221, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -25768,44 +25940,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2182, + "id": 2195, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18748:10:1", + "referencedDeclaration": 581, + "src": "18891:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2187, + "id": 2200, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2183, + "id": 2196, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18759:4:1", + "referencedDeclaration": 574, + "src": "18902:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2185, + "id": 2198, "indexExpression": { "argumentTypes": null, - "id": 2184, + "id": 2197, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18764:9:1", + "referencedDeclaration": 2179, + "src": "18907:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25816,21 +25988,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18759:15:1", + "src": "18902:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2186, + "id": 2199, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18759:25:1", + "referencedDeclaration": 553, + "src": "18902:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -25841,39 +26013,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:37:1", + "src": "18891:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2192, + "id": 2205, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2188, + "id": 2201, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18786:4:1", + "referencedDeclaration": 574, + "src": "18929:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2190, + "id": 2203, "indexExpression": { "argumentTypes": null, - "id": 2189, + "id": 2202, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18791:9:1", + "referencedDeclaration": 2179, + "src": "18934:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25884,21 +26056,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18786:15:1", + "src": "18929:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2191, + "id": 2204, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18786:26:1", + "referencedDeclaration": 555, + "src": "18929:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -25909,20 +26081,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:65:1", + "src": "18891:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2207, + "id": 2220, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2206, + "id": 2219, "isConstant": false, "isLValue": false, "isPure": false, @@ -25935,44 +26107,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2193, + "id": 2206, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18814:10:1", + "referencedDeclaration": 581, + "src": "18957:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2198, + "id": 2211, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2194, + "id": 2207, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18825:4:1", + "referencedDeclaration": 574, + "src": "18968:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2196, + "id": 2209, "indexExpression": { "argumentTypes": null, - "id": 2195, + "id": 2208, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18830:9:1", + "referencedDeclaration": 2179, + "src": "18973:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -25983,21 +26155,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18825:15:1", + "src": "18968:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2197, + "id": 2210, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18825:25:1", + "referencedDeclaration": 553, + "src": "18968:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -26008,39 +26180,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18814:37:1", + "src": "18957:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2203, + "id": 2216, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2199, + "id": 2212, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18852:4:1", + "referencedDeclaration": 574, + "src": "18995:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2201, + "id": 2214, "indexExpression": { "argumentTypes": null, - "id": 2200, + "id": 2213, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18857:9:1", + "referencedDeclaration": 2179, + "src": "19000:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26051,21 +26223,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18852:15:1", + "src": "18995:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2202, + "id": 2215, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18852:26:1", + "referencedDeclaration": 555, + "src": "18995:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -26076,13 +26248,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18814:65:1", + "src": "18957:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2204, + "id": 2217, "isConstant": false, "isLValue": true, "isPure": false, @@ -26090,7 +26262,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18814:72:1", + "src": "18957:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26101,14 +26273,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2205, + "id": 2218, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18889:1:1", + "src": "19032:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -26116,7 +26288,7 @@ }, "value": "1" }, - "src": "18814:76:1", + "src": "18957:76:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26127,19 +26299,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:143:1", + "src": "18891:143:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "18727:164:1" + "src": "18870:164:1" }, { "expression": { "argumentTypes": null, - "id": 2223, + "id": 2236, "isConstant": false, "isLValue": false, "isPure": false, @@ -26152,44 +26324,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2209, + "id": 2222, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18897:10:1", + "referencedDeclaration": 581, + "src": "19040:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2219, + "id": 2232, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2210, + "id": 2223, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18908:4:1", + "referencedDeclaration": 574, + "src": "19051:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2212, + "id": 2225, "indexExpression": { "argumentTypes": null, - "id": 2211, + "id": 2224, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18913:9:1", + "referencedDeclaration": 2179, + "src": "19056:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26200,21 +26372,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18908:15:1", + "src": "19051:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2213, + "id": 2226, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18908:25:1", + "referencedDeclaration": 553, + "src": "19051:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -26225,39 +26397,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18897:37:1", + "src": "19040:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2220, + "id": 2233, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2214, + "id": 2227, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18935:4:1", + "referencedDeclaration": 574, + "src": "19078:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2216, + "id": 2229, "indexExpression": { "argumentTypes": null, - "id": 2215, + "id": 2228, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18940:9:1", + "referencedDeclaration": 2179, + "src": "19083:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26268,21 +26440,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18935:15:1", + "src": "19078:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2217, + "id": 2230, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18935:26:1", + "referencedDeclaration": 555, + "src": "19078:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -26293,21 +26465,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18897:65:1", + "src": "19040:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2221, + "id": 2234, "indexExpression": { "argumentTypes": null, - "id": 2218, + "id": 2231, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2174, - "src": "18963:12:1", + "referencedDeclaration": 2187, + "src": "19106:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26318,7 +26490,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18897:79:1", + "src": "19040:79:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26328,31 +26500,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2222, + "id": 2235, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2181, - "src": "18979:10:1", + "referencedDeclaration": 2194, + "src": "19122:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "18897:92:1", + "src": "19040:92:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2224, + "id": 2237, "nodeType": "ExpressionStatement", - "src": "18897:92:1" + "src": "19040:92:1" }, { "expression": { "argumentTypes": null, - "id": 2230, + "id": 2243, "isConstant": false, "isLValue": false, "isPure": false, @@ -26363,26 +26535,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2225, + "id": 2238, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18995:4:1", + "referencedDeclaration": 574, + "src": "19138:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2227, + "id": 2240, "indexExpression": { "argumentTypes": null, - "id": 2226, + "id": 2239, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2181, - "src": "19000:10:1", + "referencedDeclaration": 2194, + "src": "19143:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26393,21 +26565,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18995:16:1", + "src": "19138:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2228, + "id": 2241, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18995:26:1", + "referencedDeclaration": 565, + "src": "19138:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26417,31 +26589,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2229, + "id": 2242, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2174, - "src": "19024:12:1", + "referencedDeclaration": 2187, + "src": "19167:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18995:41:1", + "src": "19138:41:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2231, + "id": 2244, "nodeType": "ExpressionStatement", - "src": "18995:41:1" + "src": "19138:41:1" }, { "expression": { "argumentTypes": null, - "id": 2244, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": false, @@ -26449,7 +26621,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "19042:74:1", + "src": "19185:74:1", "subExpression": { "argumentTypes": null, "expression": { @@ -26458,44 +26630,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2232, + "id": 2245, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "19042:10:1", + "referencedDeclaration": 581, + "src": "19185:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2241, + "id": 2254, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2233, + "id": 2246, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19053:4:1", + "referencedDeclaration": 574, + "src": "19196:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2235, + "id": 2248, "indexExpression": { "argumentTypes": null, - "id": 2234, + "id": 2247, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19058:9:1", + "referencedDeclaration": 2179, + "src": "19201:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26506,21 +26678,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19053:15:1", + "src": "19196:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2236, + "id": 2249, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "19053:25:1", + "referencedDeclaration": 553, + "src": "19196:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -26531,39 +26703,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19042:37:1", + "src": "19185:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2242, + "id": 2255, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2237, + "id": 2250, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19080:4:1", + "referencedDeclaration": 574, + "src": "19223:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2239, + "id": 2252, "indexExpression": { "argumentTypes": null, - "id": 2238, + "id": 2251, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19085:9:1", + "referencedDeclaration": 2179, + "src": "19228:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26574,21 +26746,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19080:15:1", + "src": "19223:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2240, + "id": 2253, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "19080:26:1", + "referencedDeclaration": 555, + "src": "19223:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -26599,13 +26771,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19042:65:1", + "src": "19185:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2243, + "id": 2256, "isConstant": false, "isLValue": true, "isPure": false, @@ -26613,7 +26785,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19042:72:1", + "src": "19185:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26624,22 +26796,22 @@ "typeString": "uint256" } }, - "id": 2245, + "id": 2258, "nodeType": "ExpressionStatement", - "src": "19042:74:1" + "src": "19185:74:1" }, { "assignments": [ - 2247 + 2260 ], "declarations": [ { "constant": false, - "id": 2247, + "id": 2260, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "19123:17:1", + "scope": 2324, + "src": "19266:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26647,10 +26819,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2246, + "id": 2259, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19123:4:1", + "src": "19266:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26660,33 +26832,33 @@ "visibility": "internal" } ], - "id": 2252, + "id": 2265, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2248, + "id": 2261, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19143:4:1", + "referencedDeclaration": 574, + "src": "19286:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2250, + "id": 2263, "indexExpression": { "argumentTypes": null, - "id": 2249, + "id": 2262, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19148:9:1", + "referencedDeclaration": 2179, + "src": "19291:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26697,41 +26869,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19143:15:1", + "src": "19286:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2251, + "id": 2264, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "19143:28:1", + "referencedDeclaration": 567, + "src": "19286:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "19123:48:1" + "src": "19266:48:1" }, { "assignments": [ - 2254 + 2267 ], "declarations": [ { "constant": false, - "id": 2254, + "id": 2267, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "19177:18:1", + "scope": 2324, + "src": "19320:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26739,10 +26911,10 @@ "typeString": "address" }, "typeName": { - "id": 2253, + "id": 2266, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19177:7:1", + "src": "19320:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26752,30 +26924,30 @@ "visibility": "internal" } ], - "id": 2261, + "id": 2274, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2255, + "id": 2268, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19198:9:1", + "referencedDeclaration": 584, + "src": "19341:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2260, + "id": 2273, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2259, + "id": 2272, "isConstant": false, "isLValue": false, "isPure": false, @@ -26784,18 +26956,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2256, + "id": 2269, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19208:9:1", + "referencedDeclaration": 584, + "src": "19351:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2257, + "id": 2270, "isConstant": false, "isLValue": true, "isPure": false, @@ -26803,7 +26975,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19208:16:1", + "src": "19351:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26814,14 +26986,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2258, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19227:1:1", + "src": "19370:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -26829,7 +27001,7 @@ }, "value": "1" }, - "src": "19208:20:1", + "src": "19351:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26840,19 +27012,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19198:31:1", + "src": "19341:31:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "19177:52:1" + "src": "19320:52:1" }, { "expression": { "argumentTypes": null, - "id": 2266, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -26861,26 +27033,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2262, + "id": 2275, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19235:9:1", + "referencedDeclaration": 584, + "src": "19378:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2264, + "id": 2277, "indexExpression": { "argumentTypes": null, - "id": 2263, + "id": 2276, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, - "src": "19245:12:1", + "referencedDeclaration": 2260, + "src": "19388:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26891,7 +27063,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "19235:23:1", + "src": "19378:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26901,31 +27073,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2265, + "id": 2278, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2254, - "src": "19261:10:1", + "referencedDeclaration": 2267, + "src": "19404:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "19235:36:1", + "src": "19378:36:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2267, + "id": 2280, "nodeType": "ExpressionStatement", - "src": "19235:36:1" + "src": "19378:36:1" }, { "expression": { "argumentTypes": null, - "id": 2273, + "id": 2286, "isConstant": false, "isLValue": false, "isPure": false, @@ -26936,26 +27108,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2268, + "id": 2281, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19277:4:1", + "referencedDeclaration": 574, + "src": "19420:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2270, + "id": 2283, "indexExpression": { "argumentTypes": null, - "id": 2269, + "id": 2282, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2254, - "src": "19282:10:1", + "referencedDeclaration": 2267, + "src": "19425:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26966,21 +27138,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19277:16:1", + "src": "19420:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2271, + "id": 2284, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "19277:29:1", + "referencedDeclaration": 567, + "src": "19420:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26990,31 +27162,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2272, + "id": 2285, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, - "src": "19309:12:1", + "referencedDeclaration": 2260, + "src": "19452:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19277:44:1", + "src": "19420:44:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2274, + "id": 2287, "nodeType": "ExpressionStatement", - "src": "19277:44:1" + "src": "19420:44:1" }, { "expression": { "argumentTypes": null, - "id": 2278, + "id": 2291, "isConstant": false, "isLValue": false, "isPure": false, @@ -27022,23 +27194,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "19327:18:1", + "src": "19470:18:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2275, + "id": 2288, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19327:9:1", + "referencedDeclaration": 584, + "src": "19470:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2277, + "id": 2290, "isConstant": false, "isLValue": true, "isPure": false, @@ -27046,7 +27218,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19327:16:1", + "src": "19470:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27057,14 +27229,14 @@ "typeString": "uint256" } }, - "id": 2279, + "id": 2292, "nodeType": "ExpressionStatement", - "src": "19327:18:1" + "src": "19470:18:1" }, { "condition": { "argumentTypes": null, - "id": 2284, + "id": 2297, "isConstant": false, "isLValue": false, "isPure": false, @@ -27072,33 +27244,33 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "19355:27:1", + "src": "19498:27:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2280, + "id": 2293, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19356:4:1", + "referencedDeclaration": 574, + "src": "19499:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2282, + "id": 2295, "indexExpression": { "argumentTypes": null, - "id": 2281, + "id": 2294, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19361:9:1", + "referencedDeclaration": 2179, + "src": "19504:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27109,21 +27281,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19356:15:1", + "src": "19499:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2283, + "id": 2296, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "detherShop", "nodeType": "MemberAccess", - "referencedDeclaration": 563, - "src": "19356:26:1", + "referencedDeclaration": 569, + "src": "19499:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -27140,12 +27312,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2294, + "id": 2307, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19464:9:1", + "referencedDeclaration": 2179, + "src": "19607:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27153,12 +27325,12 @@ }, { "argumentTypes": null, - "id": 2295, + "id": 2308, "name": "csoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "19475:10:1", + "src": "19618:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27178,18 +27350,18 @@ ], "expression": { "argumentTypes": null, - "id": 2291, + "id": 2304, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "19438:4:1", + "referencedDeclaration": 479, + "src": "19581:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2293, + "id": 2306, "isConstant": false, "isLValue": false, "isPure": false, @@ -27197,13 +27369,13 @@ "memberName": "withdrawDthShopAdmin", "nodeType": "MemberAccess", "referencedDeclaration": 317, - "src": "19438:25:1", + "src": "19581:25:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address) external" } }, - "id": 2296, + "id": 2309, "isConstant": false, "isLValue": false, "isPure": false, @@ -27211,31 +27383,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19438:48:1", + "src": "19581:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2297, + "id": 2310, "nodeType": "ExpressionStatement", - "src": "19438:48:1" + "src": "19581:48:1" }, - "id": 2298, + "id": 2311, "nodeType": "IfStatement", - "src": "19351:135:1", + "src": "19494:135:1", "trueBody": { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2288, + "id": 2301, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19411:9:1", + "referencedDeclaration": 2179, + "src": "19554:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27251,18 +27423,18 @@ ], "expression": { "argumentTypes": null, - "id": 2285, + "id": 2298, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "19390:4:1", + "referencedDeclaration": 479, + "src": "19533:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2287, + "id": 2300, "isConstant": false, "isLValue": false, "isPure": false, @@ -27270,13 +27442,13 @@ "memberName": "withdrawDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 310, - "src": "19390:20:1", + "src": "19533:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2289, + "id": 2302, "isConstant": false, "isLValue": false, "isPure": false, @@ -27284,21 +27456,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19390:31:1", + "src": "19533:31:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2290, + "id": 2303, "nodeType": "ExpressionStatement", - "src": "19390:31:1" + "src": "19533:31:1" } }, { "expression": { "argumentTypes": null, - "id": 2302, + "id": 2315, "isConstant": false, "isLValue": false, "isPure": false, @@ -27306,31 +27478,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "19492:22:1", + "src": "19635:22:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2299, + "id": 2312, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19499:4:1", + "referencedDeclaration": 574, + "src": "19642:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2301, + "id": 2314, "indexExpression": { "argumentTypes": null, - "id": 2300, + "id": 2313, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19504:9:1", + "referencedDeclaration": 2179, + "src": "19647:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27341,9 +27513,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "19499:15:1", + "src": "19642:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, @@ -27352,9 +27524,9 @@ "typeString": "tuple()" } }, - "id": 2303, + "id": 2316, "nodeType": "ExpressionStatement", - "src": "19492:22:1" + "src": "19635:22:1" }, { "eventCall": { @@ -27364,18 +27536,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2305, + "id": 2318, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "19545:3:1", + "referencedDeclaration": 3390, + "src": "19688:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2306, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -27383,7 +27555,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19545:10:1", + "src": "19688:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27391,12 +27563,12 @@ }, { "argumentTypes": null, - "id": 2307, + "id": 2320, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19557:9:1", + "referencedDeclaration": 2179, + "src": "19700:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27414,18 +27586,18 @@ "typeString": "address" } ], - "id": 2304, + "id": 2317, "name": "DeleteShopModerator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "19525:19:1", + "referencedDeclaration": 437, + "src": "19668:19:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 2308, + "id": 2321, "isConstant": false, "isLValue": false, "isPure": false, @@ -27433,20 +27605,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19525:42:1", + "src": "19668:42:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2309, + "id": 2322, "nodeType": "EmitStatement", - "src": "19520:47:1" + "src": "19663:47:1" } ] }, "documentation": null, - "id": 2311, + "id": 2324, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -27457,18 +27629,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2169, + "id": 2182, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18649:3:1", + "referencedDeclaration": 3390, + "src": "18792:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2170, + "id": 2183, "isConstant": false, "isLValue": false, "isPure": false, @@ -27476,44 +27648,44 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18649:10:1", + "src": "18792:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 2171, + "id": 2184, "modifierName": { "argumentTypes": null, - "id": 2168, + "id": 2181, "name": "isShopModerator", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 80, - "src": "18633:15:1", + "src": "18776:15:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "18633:27:1" + "src": "18776:27:1" } ], "name": "deleteShopMods", "nodeType": "FunctionDefinition", "parameters": { - "id": 2167, + "id": 2180, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2166, + "id": 2179, "name": "_toDelete", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18614:17:1", + "scope": 2324, + "src": "18757:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27521,10 +27693,10 @@ "typeString": "address" }, "typeName": { - "id": 2165, + "id": 2178, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18614:7:1", + "src": "18757:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27534,54 +27706,54 @@ "visibility": "internal" } ], - "src": "18613:19:1" + "src": "18756:19:1" }, "payable": false, "returnParameters": { - "id": 2172, + "id": 2185, "nodeType": "ParameterList", "parameters": [], - "src": "18670:0:1" + "src": "18813:0:1" }, - "scope": 2659, - "src": "18590:982:1", + "scope": 2672, + "src": "18733:982:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2408, + "id": 2421, "nodeType": "Block", - "src": "19932:459:1", + "src": "20075:459:1", "statements": [ { "assignments": [ - 2341 + 2354 ], "declarations": [ { "constant": false, - "id": 2341, + "id": 2354, "name": "theTeller", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19938:24:1", + "scope": 2422, + "src": "20081:24:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" }, "typeName": { "contractScope": null, - "id": 2340, + "id": 2353, "name": "Teller", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 502, - "src": "19938:6:1", + "referencedDeclaration": 508, + "src": "20081:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" } }, @@ -27589,31 +27761,31 @@ "visibility": "internal" } ], - "id": 2345, + "id": 2358, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2342, + "id": 2355, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "19965:6:1", + "referencedDeclaration": 534, + "src": "20108:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 2344, + "id": 2357, "indexExpression": { "argumentTypes": null, - "id": 2343, + "id": 2356, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2313, - "src": "19972:7:1", + "referencedDeclaration": 2326, + "src": "20115:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27624,31 +27796,31 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19965:15:1", + "src": "20108:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "19938:42:1" + "src": "20081:42:1" }, { "expression": { "argumentTypes": null, - "id": 2349, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2346, + "id": 2359, "name": "lat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2316, - "src": "19986:3:1", + "referencedDeclaration": 2329, + "src": "20129:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -27660,57 +27832,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2347, + "id": 2360, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "19992:9:1", + "referencedDeclaration": 2354, + "src": "20135:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2348, + "id": 2361, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 477, - "src": "19992:13:1", + "referencedDeclaration": 483, + "src": "20135:13:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "19986:19:1", + "src": "20129:19:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2350, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "19986:19:1" + "src": "20129:19:1" }, { "expression": { "argumentTypes": null, - "id": 2354, + "id": 2367, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2351, + "id": 2364, "name": "lng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2318, - "src": "20011:3:1", + "referencedDeclaration": 2331, + "src": "20154:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -27722,57 +27894,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2352, + "id": 2365, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20017:9:1", + "referencedDeclaration": 2354, + "src": "20160:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2353, + "id": 2366, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 479, - "src": "20017:13:1", + "referencedDeclaration": 485, + "src": "20160:13:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20011:19:1", + "src": "20154:19:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2355, + "id": 2368, "nodeType": "ExpressionStatement", - "src": "20011:19:1" + "src": "20154:19:1" }, { "expression": { "argumentTypes": null, - "id": 2359, + "id": 2372, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2356, + "id": 2369, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2320, - "src": "20036:9:1", + "referencedDeclaration": 2333, + "src": "20179:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -27784,57 +27956,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2357, + "id": 2370, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20048:9:1", + "referencedDeclaration": 2354, + "src": "20191:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2358, + "id": 2371, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "20048:19:1", + "referencedDeclaration": 487, + "src": "20191:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "20036:31:1", + "src": "20179:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 2360, + "id": 2373, "nodeType": "ExpressionStatement", - "src": "20036:31:1" + "src": "20179:31:1" }, { "expression": { "argumentTypes": null, - "id": 2364, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2361, + "id": 2374, "name": "postalCode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2322, - "src": "20073:10:1", + "referencedDeclaration": 2335, + "src": "20216:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -27846,57 +28018,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2362, + "id": 2375, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20086:9:1", + "referencedDeclaration": 2354, + "src": "20229:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2363, + "id": 2376, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "20086:20:1", + "referencedDeclaration": 489, + "src": "20229:20:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20073:33:1", + "src": "20216:33:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2365, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "20073:33:1" + "src": "20216:33:1" }, { "expression": { "argumentTypes": null, - "id": 2369, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2366, + "id": 2379, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2324, - "src": "20112:10:1", + "referencedDeclaration": 2337, + "src": "20255:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -27908,57 +28080,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2367, + "id": 2380, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20125:9:1", + "referencedDeclaration": 2354, + "src": "20268:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2368, + "id": 2381, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "20125:20:1", + "referencedDeclaration": 491, + "src": "20268:20:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "20112:33:1", + "src": "20255:33:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 2370, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "20112:33:1" + "src": "20255:33:1" }, { "expression": { "argumentTypes": null, - "id": 2374, + "id": 2387, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2371, + "id": 2384, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2326, - "src": "20151:9:1", + "referencedDeclaration": 2339, + "src": "20294:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -27970,57 +28142,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2372, + "id": 2385, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20163:9:1", + "referencedDeclaration": 2354, + "src": "20306:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2373, + "id": 2386, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "20163:19:1", + "referencedDeclaration": 493, + "src": "20306:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20151:31:1", + "src": "20294:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2375, + "id": 2388, "nodeType": "ExpressionStatement", - "src": "20151:31:1" + "src": "20294:31:1" }, { "expression": { "argumentTypes": null, - "id": 2379, + "id": 2392, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2376, + "id": 2389, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2328, - "src": "20188:8:1", + "referencedDeclaration": 2341, + "src": "20331:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -28032,57 +28204,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2377, + "id": 2390, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20199:9:1", + "referencedDeclaration": 2354, + "src": "20342:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2378, + "id": 2391, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "20199:18:1", + "referencedDeclaration": 495, + "src": "20342:18:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "20188:29:1", + "src": "20331:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 2380, + "id": 2393, "nodeType": "ExpressionStatement", - "src": "20188:29:1" + "src": "20331:29:1" }, { "expression": { "argumentTypes": null, - "id": 2384, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2381, + "id": 2394, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2330, - "src": "20223:5:1", + "referencedDeclaration": 2343, + "src": "20366:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -28094,57 +28266,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2382, + "id": 2395, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20231:9:1", + "referencedDeclaration": 2354, + "src": "20374:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2383, + "id": 2396, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "20231:15:1", + "referencedDeclaration": 497, + "src": "20374:15:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "20223:23:1", + "src": "20366:23:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 2385, + "id": 2398, "nodeType": "ExpressionStatement", - "src": "20223:23:1" + "src": "20366:23:1" }, { "expression": { "argumentTypes": null, - "id": 2389, + "id": 2402, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2386, + "id": 2399, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2334, - "src": "20252:6:1", + "referencedDeclaration": 2347, + "src": "20395:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28156,57 +28328,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2387, + "id": 2400, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20261:9:1", + "referencedDeclaration": 2354, + "src": "20404:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2388, + "id": 2401, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "20261:16:1", + "referencedDeclaration": 507, + "src": "20404:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "20252:25:1", + "src": "20395:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2390, + "id": 2403, "nodeType": "ExpressionStatement", - "src": "20252:25:1" + "src": "20395:25:1" }, { "expression": { "argumentTypes": null, - "id": 2394, + "id": 2407, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2391, + "id": 2404, "name": "buyer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2336, - "src": "20283:5:1", + "referencedDeclaration": 2349, + "src": "20426:5:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28218,57 +28390,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2392, + "id": 2405, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20291:9:1", + "referencedDeclaration": 2354, + "src": "20434:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2393, + "id": 2406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "buyer", "nodeType": "MemberAccess", - "referencedDeclaration": 493, - "src": "20291:15:1", + "referencedDeclaration": 499, + "src": "20434:15:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "20283:23:1", + "src": "20426:23:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2395, + "id": 2408, "nodeType": "ExpressionStatement", - "src": "20283:23:1" + "src": "20426:23:1" }, { "expression": { "argumentTypes": null, - "id": 2399, + "id": 2412, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2396, + "id": 2409, "name": "buyRates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2338, - "src": "20312:8:1", + "referencedDeclaration": 2351, + "src": "20455:8:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -28280,57 +28452,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2397, + "id": 2410, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20323:9:1", + "referencedDeclaration": 2354, + "src": "20466:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2398, + "id": 2411, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "buyRates", "nodeType": "MemberAccess", - "referencedDeclaration": 495, - "src": "20323:18:1", + "referencedDeclaration": 501, + "src": "20466:18:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "20312:29:1", + "src": "20455:29:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 2400, + "id": 2413, "nodeType": "ExpressionStatement", - "src": "20312:29:1" + "src": "20455:29:1" }, { "expression": { "argumentTypes": null, - "id": 2406, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2401, + "id": 2414, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2332, - "src": "20347:7:1", + "referencedDeclaration": 2345, + "src": "20490:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28343,12 +28515,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2404, + "id": 2417, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2313, - "src": "20378:7:1", + "referencedDeclaration": 2326, + "src": "20521:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28364,18 +28536,18 @@ ], "expression": { "argumentTypes": null, - "id": 2402, + "id": 2415, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "20357:4:1", + "referencedDeclaration": 479, + "src": "20500:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2403, + "id": 2416, "isConstant": false, "isLValue": false, "isPure": false, @@ -28383,13 +28555,13 @@ "memberName": "getEthBalTeller", "nodeType": "MemberAccess", "referencedDeclaration": 375, - "src": "20357:20:1", + "src": "20500:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2405, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -28397,26 +28569,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20357:29:1", + "src": "20500:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20347:39:1", + "src": "20490:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2407, + "id": 2420, "nodeType": "ExpressionStatement", - "src": "20347:39:1" + "src": "20490:39:1" } ] }, "documentation": " GETTER", - "id": 2409, + "id": 2422, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -28424,16 +28596,16 @@ "name": "getTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2314, + "id": 2327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2313, + "id": 2326, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19661:15:1", + "scope": 2422, + "src": "19804:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28441,10 +28613,10 @@ "typeString": "address" }, "typeName": { - "id": 2312, + "id": 2325, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19661:7:1", + "src": "19804:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28454,20 +28626,20 @@ "visibility": "internal" } ], - "src": "19660:17:1" + "src": "19803:17:1" }, "payable": false, "returnParameters": { - "id": 2339, + "id": 2352, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2316, + "id": 2329, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19704:9:1", + "scope": 2422, + "src": "19847:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28475,10 +28647,10 @@ "typeString": "int32" }, "typeName": { - "id": 2315, + "id": 2328, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "19704:5:1", + "src": "19847:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -28489,11 +28661,11 @@ }, { "constant": false, - "id": 2318, + "id": 2331, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19719:9:1", + "scope": 2422, + "src": "19862:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28501,10 +28673,10 @@ "typeString": "int32" }, "typeName": { - "id": 2317, + "id": 2330, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "19719:5:1", + "src": "19862:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -28515,11 +28687,11 @@ }, { "constant": false, - "id": 2320, + "id": 2333, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19734:16:1", + "scope": 2422, + "src": "19877:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28527,10 +28699,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2319, + "id": 2332, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "19734:6:1", + "src": "19877:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -28541,11 +28713,11 @@ }, { "constant": false, - "id": 2322, + "id": 2335, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19756:18:1", + "scope": 2422, + "src": "19899:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28553,10 +28725,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2321, + "id": 2334, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "19756:7:1", + "src": "19899:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -28567,11 +28739,11 @@ }, { "constant": false, - "id": 2324, + "id": 2337, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19780:15:1", + "scope": 2422, + "src": "19923:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28579,10 +28751,10 @@ "typeString": "int8" }, "typeName": { - "id": 2323, + "id": 2336, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "19780:4:1", + "src": "19923:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -28593,11 +28765,11 @@ }, { "constant": false, - "id": 2326, + "id": 2339, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19801:17:1", + "scope": 2422, + "src": "19944:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28605,10 +28777,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2325, + "id": 2338, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "19801:7:1", + "src": "19944:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -28619,11 +28791,11 @@ }, { "constant": false, - "id": 2328, + "id": 2341, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19824:13:1", + "scope": 2422, + "src": "19967:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28631,10 +28803,10 @@ "typeString": "int8" }, "typeName": { - "id": 2327, + "id": 2340, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "19824:4:1", + "src": "19967:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -28645,11 +28817,11 @@ }, { "constant": false, - "id": 2330, + "id": 2343, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19843:11:1", + "scope": 2422, + "src": "19986:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28657,10 +28829,10 @@ "typeString": "int16" }, "typeName": { - "id": 2329, + "id": 2342, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "19843:5:1", + "src": "19986:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -28671,11 +28843,11 @@ }, { "constant": false, - "id": 2332, + "id": 2345, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19860:12:1", + "scope": 2422, + "src": "20003:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28683,10 +28855,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 2344, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19860:4:1", + "src": "20003:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28697,11 +28869,11 @@ }, { "constant": false, - "id": 2334, + "id": 2347, "name": "online", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19878:11:1", + "scope": 2422, + "src": "20021:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28709,10 +28881,10 @@ "typeString": "bool" }, "typeName": { - "id": 2333, + "id": 2346, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "19878:4:1", + "src": "20021:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28723,11 +28895,11 @@ }, { "constant": false, - "id": 2336, + "id": 2349, "name": "buyer", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19895:10:1", + "scope": 2422, + "src": "20038:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28735,10 +28907,10 @@ "typeString": "bool" }, "typeName": { - "id": 2335, + "id": 2348, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "19895:4:1", + "src": "20038:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28749,11 +28921,11 @@ }, { "constant": false, - "id": 2338, + "id": 2351, "name": "buyRates", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19911:14:1", + "scope": 2422, + "src": "20054:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28761,10 +28933,10 @@ "typeString": "int16" }, "typeName": { - "id": 2337, + "id": 2350, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "19911:5:1", + "src": "20054:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -28774,47 +28946,47 @@ "visibility": "internal" } ], - "src": "19698:233:1" + "src": "19841:233:1" }, - "scope": 2659, - "src": "19642:749:1", + "scope": 2672, + "src": "19785:749:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2476, + "id": 2489, "nodeType": "Block", - "src": "20681:282:1", + "src": "20824:282:1", "statements": [ { "assignments": [ - 2431 + 2444 ], "declarations": [ { "constant": false, - "id": 2431, + "id": 2444, "name": "theShop", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20687:20:1", + "scope": 2490, + "src": "20830:20:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" }, "typeName": { "contractScope": null, - "id": 2430, + "id": 2443, "name": "Shop", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 564, - "src": "20687:4:1", + "referencedDeclaration": 570, + "src": "20830:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" } }, @@ -28822,31 +28994,31 @@ "visibility": "internal" } ], - "id": 2435, + "id": 2448, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2432, + "id": 2445, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "20710:4:1", + "referencedDeclaration": 574, + "src": "20853:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2434, + "id": 2447, "indexExpression": { "argumentTypes": null, - "id": 2433, + "id": 2446, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2411, - "src": "20715:5:1", + "referencedDeclaration": 2424, + "src": "20858:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28857,31 +29029,31 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "20710:11:1", + "src": "20853:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "20687:34:1" + "src": "20830:34:1" }, { "expression": { "argumentTypes": null, - "id": 2439, + "id": 2452, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2436, + "id": 2449, "name": "lat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2414, - "src": "20727:3:1", + "referencedDeclaration": 2427, + "src": "20870:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -28893,57 +29065,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2437, + "id": 2450, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20733:7:1", + "referencedDeclaration": 2444, + "src": "20876:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2438, + "id": 2451, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "20733:11:1", + "referencedDeclaration": 549, + "src": "20876:11:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20727:17:1", + "src": "20870:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2440, + "id": 2453, "nodeType": "ExpressionStatement", - "src": "20727:17:1" + "src": "20870:17:1" }, { "expression": { "argumentTypes": null, - "id": 2444, + "id": 2457, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2441, + "id": 2454, "name": "lng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2416, - "src": "20750:3:1", + "referencedDeclaration": 2429, + "src": "20893:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -28955,57 +29127,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2442, + "id": 2455, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20756:7:1", + "referencedDeclaration": 2444, + "src": "20899:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2443, + "id": 2456, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "20756:11:1", + "referencedDeclaration": 551, + "src": "20899:11:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20750:17:1", + "src": "20893:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2445, + "id": 2458, "nodeType": "ExpressionStatement", - "src": "20750:17:1" + "src": "20893:17:1" }, { "expression": { "argumentTypes": null, - "id": 2449, + "id": 2462, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2446, + "id": 2459, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2418, - "src": "20773:9:1", + "referencedDeclaration": 2431, + "src": "20916:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -29017,57 +29189,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2447, + "id": 2460, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20785:7:1", + "referencedDeclaration": 2444, + "src": "20928:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2448, + "id": 2461, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "20785:17:1", + "referencedDeclaration": 553, + "src": "20928:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "20773:29:1", + "src": "20916:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 2450, + "id": 2463, "nodeType": "ExpressionStatement", - "src": "20773:29:1" + "src": "20916:29:1" }, { "expression": { "argumentTypes": null, - "id": 2454, + "id": 2467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2451, + "id": 2464, "name": "postalCode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2420, - "src": "20808:10:1", + "referencedDeclaration": 2433, + "src": "20951:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29079,57 +29251,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2452, + "id": 2465, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20821:7:1", + "referencedDeclaration": 2444, + "src": "20964:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2453, + "id": 2466, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "20821:18:1", + "referencedDeclaration": 555, + "src": "20964:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20808:31:1", + "src": "20951:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2455, + "id": 2468, "nodeType": "ExpressionStatement", - "src": "20808:31:1" + "src": "20951:31:1" }, { "expression": { "argumentTypes": null, - "id": 2459, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2456, + "id": 2469, "name": "cat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2422, - "src": "20845:3:1", + "referencedDeclaration": 2435, + "src": "20988:3:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29141,57 +29313,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2457, + "id": 2470, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20851:7:1", + "referencedDeclaration": 2444, + "src": "20994:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2458, + "id": 2471, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "20851:11:1", + "referencedDeclaration": 557, + "src": "20994:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20845:17:1", + "src": "20988:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2460, + "id": 2473, "nodeType": "ExpressionStatement", - "src": "20845:17:1" + "src": "20988:17:1" }, { "expression": { "argumentTypes": null, - "id": 2464, + "id": 2477, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2461, + "id": 2474, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2424, - "src": "20868:4:1", + "referencedDeclaration": 2437, + "src": "21011:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29203,57 +29375,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2462, + "id": 2475, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20875:7:1", + "referencedDeclaration": 2444, + "src": "21018:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2463, + "id": 2476, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "20875:12:1", + "referencedDeclaration": 559, + "src": "21018:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20868:19:1", + "src": "21011:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2465, + "id": 2478, "nodeType": "ExpressionStatement", - "src": "20868:19:1" + "src": "21011:19:1" }, { "expression": { "argumentTypes": null, - "id": 2469, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2466, + "id": 2479, "name": "description", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2426, - "src": "20893:11:1", + "referencedDeclaration": 2439, + "src": "21036:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -29265,57 +29437,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2467, + "id": 2480, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20907:7:1", + "referencedDeclaration": 2444, + "src": "21050:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2468, + "id": 2481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "20907:19:1", + "referencedDeclaration": 561, + "src": "21050:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "20893:33:1", + "src": "21036:33:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 2470, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "20893:33:1" + "src": "21036:33:1" }, { "expression": { "argumentTypes": null, - "id": 2474, + "id": 2487, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2471, + "id": 2484, "name": "opening", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2428, - "src": "20932:7:1", + "referencedDeclaration": 2441, + "src": "21075:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29327,45 +29499,45 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2472, + "id": 2485, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20942:7:1", + "referencedDeclaration": 2444, + "src": "21085:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2473, + "id": 2486, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "20942:15:1", + "referencedDeclaration": 563, + "src": "21085:15:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20932:25:1", + "src": "21075:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2475, + "id": 2488, "nodeType": "ExpressionStatement", - "src": "20932:25:1" + "src": "21075:25:1" } ] }, "documentation": null, - "id": 2477, + "id": 2490, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -29373,16 +29545,16 @@ "name": "getShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2412, + "id": 2425, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2411, + "id": 2424, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20491:13:1", + "scope": 2490, + "src": "20634:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29390,10 +29562,10 @@ "typeString": "address" }, "typeName": { - "id": 2410, + "id": 2423, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20491:7:1", + "src": "20634:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29403,20 +29575,20 @@ "visibility": "internal" } ], - "src": "20490:15:1" + "src": "20633:15:1" }, "payable": false, "returnParameters": { - "id": 2429, + "id": 2442, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2414, + "id": 2427, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20531:9:1", + "scope": 2490, + "src": "20674:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29424,10 +29596,10 @@ "typeString": "int32" }, "typeName": { - "id": 2413, + "id": 2426, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "20531:5:1", + "src": "20674:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -29438,11 +29610,11 @@ }, { "constant": false, - "id": 2416, + "id": 2429, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20545:9:1", + "scope": 2490, + "src": "20688:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29450,10 +29622,10 @@ "typeString": "int32" }, "typeName": { - "id": 2415, + "id": 2428, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "20545:5:1", + "src": "20688:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -29464,11 +29636,11 @@ }, { "constant": false, - "id": 2418, + "id": 2431, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20559:16:1", + "scope": 2490, + "src": "20702:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29476,10 +29648,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2417, + "id": 2430, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "20559:6:1", + "src": "20702:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -29490,11 +29662,11 @@ }, { "constant": false, - "id": 2420, + "id": 2433, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20580:18:1", + "scope": 2490, + "src": "20723:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29502,10 +29674,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2419, + "id": 2432, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20580:7:1", + "src": "20723:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29516,11 +29688,11 @@ }, { "constant": false, - "id": 2422, + "id": 2435, "name": "cat", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20603:11:1", + "scope": 2490, + "src": "20746:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29528,10 +29700,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2421, + "id": 2434, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20603:7:1", + "src": "20746:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29542,11 +29714,11 @@ }, { "constant": false, - "id": 2424, + "id": 2437, "name": "name", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20619:12:1", + "scope": 2490, + "src": "20762:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29554,10 +29726,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2423, + "id": 2436, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20619:7:1", + "src": "20762:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29568,11 +29740,11 @@ }, { "constant": false, - "id": 2426, + "id": 2439, "name": "description", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20636:19:1", + "scope": 2490, + "src": "20779:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29580,10 +29752,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2425, + "id": 2438, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "20636:7:1", + "src": "20779:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -29594,11 +29766,11 @@ }, { "constant": false, - "id": 2428, + "id": 2441, "name": "opening", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20660:15:1", + "scope": 2490, + "src": "20803:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29606,10 +29778,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2427, + "id": 2440, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20660:7:1", + "src": "20803:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -29619,36 +29791,36 @@ "visibility": "internal" } ], - "src": "20526:154:1" + "src": "20669:154:1" }, - "scope": 2659, - "src": "20474:489:1", + "scope": 2672, + "src": "20617:489:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2514, + "id": 2527, "nodeType": "Block", - "src": "21169:161:1", + "src": "21312:161:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2494, + "id": 2507, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2490, + "id": 2503, "name": "buyVolume", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2482, - "src": "21176:9:1", + "referencedDeclaration": 2495, + "src": "21319:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29660,26 +29832,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2491, + "id": 2504, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "21188:9:1", + "referencedDeclaration": 518, + "src": "21331:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2493, + "id": 2506, "indexExpression": { "argumentTypes": null, - "id": 2492, + "id": 2505, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21198:7:1", + "referencedDeclaration": 2492, + "src": "21341:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29690,38 +29862,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21188:18:1", + "src": "21331:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21176:30:1", + "src": "21319:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2495, + "id": 2508, "nodeType": "ExpressionStatement", - "src": "21176:30:1" + "src": "21319:30:1" }, { "expression": { "argumentTypes": null, - "id": 2500, + "id": 2513, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2496, + "id": 2509, "name": "sellVolume", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2484, - "src": "21213:10:1", + "referencedDeclaration": 2497, + "src": "21356:10:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29733,26 +29905,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2497, + "id": 2510, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "21226:10:1", + "referencedDeclaration": 522, + "src": "21369:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2499, + "id": 2512, "indexExpression": { "argumentTypes": null, - "id": 2498, + "id": 2511, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21237:7:1", + "referencedDeclaration": 2492, + "src": "21380:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29763,38 +29935,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21226:19:1", + "src": "21369:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21213:32:1", + "src": "21356:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2501, + "id": 2514, "nodeType": "ExpressionStatement", - "src": "21213:32:1" + "src": "21356:32:1" }, { "expression": { "argumentTypes": null, - "id": 2506, + "id": 2519, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2502, + "id": 2515, "name": "numTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2486, - "src": "21252:8:1", + "referencedDeclaration": 2499, + "src": "21395:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29806,26 +29978,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2503, + "id": 2516, "name": "nbTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "21263:7:1", + "referencedDeclaration": 526, + "src": "21406:7:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2505, + "id": 2518, "indexExpression": { "argumentTypes": null, - "id": 2504, + "id": 2517, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21271:7:1", + "referencedDeclaration": 2492, + "src": "21414:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29836,38 +30008,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21263:16:1", + "src": "21406:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21252:27:1", + "src": "21395:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2507, + "id": 2520, "nodeType": "ExpressionStatement", - "src": "21252:27:1" + "src": "21395:27:1" }, { "expression": { "argumentTypes": null, - "id": 2512, + "id": 2525, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2508, + "id": 2521, "name": "loyaltyPoints_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2488, - "src": "21286:14:1", + "referencedDeclaration": 2501, + "src": "21429:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29879,26 +30051,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2509, + "id": 2522, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "21303:13:1", + "referencedDeclaration": 530, + "src": "21446:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2511, + "id": 2524, "indexExpression": { "argumentTypes": null, - "id": 2510, + "id": 2523, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21317:7:1", + "referencedDeclaration": 2492, + "src": "21460:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29909,26 +30081,26 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21303:22:1", + "src": "21446:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21286:39:1", + "src": "21429:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2526, "nodeType": "ExpressionStatement", - "src": "21286:39:1" + "src": "21429:39:1" } ] }, "documentation": null, - "id": 2515, + "id": 2528, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -29936,16 +30108,16 @@ "name": "getReput", "nodeType": "FunctionDefinition", "parameters": { - "id": 2480, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2479, + "id": 2492, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21042:15:1", + "scope": 2528, + "src": "21185:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29953,10 +30125,10 @@ "typeString": "address" }, "typeName": { - "id": 2478, + "id": 2491, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21042:7:1", + "src": "21185:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29966,20 +30138,20 @@ "visibility": "internal" } ], - "src": "21041:17:1" + "src": "21184:17:1" }, "payable": false, "returnParameters": { - "id": 2489, + "id": 2502, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2482, + "id": 2495, "name": "buyVolume", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21084:14:1", + "scope": 2528, + "src": "21227:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29987,10 +30159,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2481, + "id": 2494, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21084:4:1", + "src": "21227:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30001,11 +30173,11 @@ }, { "constant": false, - "id": 2484, + "id": 2497, "name": "sellVolume", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21103:15:1", + "scope": 2528, + "src": "21246:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30013,10 +30185,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2483, + "id": 2496, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21103:4:1", + "src": "21246:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30027,11 +30199,11 @@ }, { "constant": false, - "id": 2486, + "id": 2499, "name": "numTrade", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21123:13:1", + "scope": 2528, + "src": "21266:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30039,10 +30211,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2485, + "id": 2498, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21123:4:1", + "src": "21266:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30053,11 +30225,11 @@ }, { "constant": false, - "id": 2488, + "id": 2501, "name": "loyaltyPoints_", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21141:22:1", + "scope": 2528, + "src": "21284:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30065,10 +30237,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2487, + "id": 2500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "21141:7:1", + "src": "21284:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30078,19 +30250,19 @@ "visibility": "internal" } ], - "src": "21079:89:1" + "src": "21222:89:1" }, - "scope": 2659, - "src": "21024:306:1", + "scope": 2672, + "src": "21167:306:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2527, + "id": 2540, "nodeType": "Block", - "src": "21447:47:1", + "src": "21590:47:1", "statements": [ { "expression": { @@ -30098,12 +30270,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2524, + "id": 2537, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "21481:7:1", + "referencedDeclaration": 2530, + "src": "21624:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30119,18 +30291,18 @@ ], "expression": { "argumentTypes": null, - "id": 2522, + "id": 2535, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "21460:4:1", + "referencedDeclaration": 479, + "src": "21603:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2523, + "id": 2536, "isConstant": false, "isLValue": false, "isPure": false, @@ -30138,13 +30310,13 @@ "memberName": "getEthBalTeller", "nodeType": "MemberAccess", "referencedDeclaration": 375, - "src": "21460:20:1", + "src": "21603:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2525, + "id": 2538, "isConstant": false, "isLValue": false, "isPure": false, @@ -30152,21 +30324,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21460:29:1", + "src": "21603:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2521, - "id": 2526, + "functionReturnParameters": 2534, + "id": 2539, "nodeType": "Return", - "src": "21453:36:1" + "src": "21596:36:1" } ] }, "documentation": null, - "id": 2528, + "id": 2541, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -30174,16 +30346,16 @@ "name": "getTellerBalance", "nodeType": "FunctionDefinition", "parameters": { - "id": 2518, + "id": 2531, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2517, + "id": 2530, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2528, - "src": "21403:15:1", + "scope": 2541, + "src": "21546:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30191,10 +30363,10 @@ "typeString": "address" }, "typeName": { - "id": 2516, + "id": 2529, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21403:7:1", + "src": "21546:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30204,20 +30376,20 @@ "visibility": "internal" } ], - "src": "21402:17:1" + "src": "21545:17:1" }, "payable": false, "returnParameters": { - "id": 2521, + "id": 2534, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2520, + "id": 2533, "name": "", "nodeType": "VariableDeclaration", - "scope": 2528, - "src": "21441:4:1", + "scope": 2541, + "src": "21584:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30225,10 +30397,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2519, + "id": 2532, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21441:4:1", + "src": "21584:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30238,19 +30410,19 @@ "visibility": "internal" } ], - "src": "21440:6:1" + "src": "21583:6:1" }, - "scope": 2659, - "src": "21377:117:1", + "scope": 2672, + "src": "21520:117:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2544, + "id": 2557, "nodeType": "Block", - "src": "21696:52:1", + "src": "21839:52:1", "statements": [ { "expression": { @@ -30259,26 +30431,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2538, + "id": 2551, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "21710:10:1", + "referencedDeclaration": 581, + "src": "21853:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2540, + "id": 2553, "indexExpression": { "argumentTypes": null, - "id": 2539, + "id": 2552, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2530, - "src": "21721:8:1", + "referencedDeclaration": 2543, + "src": "21864:8:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -30289,21 +30461,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21710:20:1", + "src": "21853:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2542, + "id": 2555, "indexExpression": { "argumentTypes": null, - "id": 2541, + "id": 2554, "name": "_postalcode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2532, - "src": "21731:11:1", + "referencedDeclaration": 2545, + "src": "21874:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30314,21 +30486,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21710:33:1", + "src": "21853:33:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2537, - "id": 2543, + "functionReturnParameters": 2550, + "id": 2556, "nodeType": "Return", - "src": "21703:40:1" + "src": "21846:40:1" } ] }, "documentation": null, - "id": 2545, + "id": 2558, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -30336,16 +30508,16 @@ "name": "getZoneShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2533, + "id": 2546, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2530, + "id": 2543, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21626:15:1", + "scope": 2558, + "src": "21769:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30353,10 +30525,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2529, + "id": 2542, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "21626:6:1", + "src": "21769:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -30367,11 +30539,11 @@ }, { "constant": false, - "id": 2532, + "id": 2545, "name": "_postalcode", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21643:19:1", + "scope": 2558, + "src": "21786:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30379,10 +30551,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2531, + "id": 2544, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "21643:7:1", + "src": "21786:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30392,20 +30564,20 @@ "visibility": "internal" } ], - "src": "21625:38:1" + "src": "21768:38:1" }, "payable": false, "returnParameters": { - "id": 2537, + "id": 2550, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2536, + "id": 2549, "name": "", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21685:9:1", + "scope": 2558, + "src": "21828:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30414,19 +30586,19 @@ }, "typeName": { "baseType": { - "id": 2534, + "id": 2547, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21685:7:1", + "src": "21828:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2535, + "id": 2548, "length": null, "nodeType": "ArrayTypeName", - "src": "21685:9:1", + "src": "21828:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -30436,43 +30608,43 @@ "visibility": "internal" } ], - "src": "21684:11:1" + "src": "21827:11:1" }, - "scope": 2659, - "src": "21605:143:1", + "scope": 2672, + "src": "21748:143:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2553, + "id": 2566, "nodeType": "Block", - "src": "21848:26:1", + "src": "21991:26:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2551, + "id": 2564, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "21860:9:1", + "referencedDeclaration": 584, + "src": "22003:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2550, - "id": 2552, + "functionReturnParameters": 2563, + "id": 2565, "nodeType": "Return", - "src": "21853:16:1" + "src": "21996:16:1" } ] }, "documentation": null, - "id": 2554, + "id": 2567, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -30480,23 +30652,23 @@ "name": "getAllShops", "nodeType": "FunctionDefinition", "parameters": { - "id": 2546, + "id": 2559, "nodeType": "ParameterList", "parameters": [], - "src": "21813:2:1" + "src": "21956:2:1" }, "payable": false, "returnParameters": { - "id": 2550, + "id": 2563, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2549, + "id": 2562, "name": "", "nodeType": "VariableDeclaration", - "scope": 2554, - "src": "21837:9:1", + "scope": 2567, + "src": "21980:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30505,19 +30677,19 @@ }, "typeName": { "baseType": { - "id": 2547, + "id": 2560, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21837:7:1", + "src": "21980:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2548, + "id": 2561, "length": null, "nodeType": "ArrayTypeName", - "src": "21837:9:1", + "src": "21980:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -30527,19 +30699,19 @@ "visibility": "internal" } ], - "src": "21836:11:1" + "src": "21979:11:1" }, - "scope": 2659, - "src": "21793:81:1", + "scope": 2672, + "src": "21936:81:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2571, + "id": 2584, "nodeType": "Block", - "src": "21936:55:1", + "src": "22079:55:1", "statements": [ { "expression": { @@ -30551,7 +30723,7 @@ "typeIdentifier": "t_bytes2", "typeString": "bytes2" }, - "id": 2568, + "id": 2581, "isConstant": false, "isLValue": false, "isPure": false, @@ -30562,26 +30734,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2561, + "id": 2574, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "21949:4:1", + "referencedDeclaration": 574, + "src": "22092:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2563, + "id": 2576, "indexExpression": { "argumentTypes": null, - "id": 2562, + "id": 2575, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "21954:5:1", + "referencedDeclaration": 2569, + "src": "22097:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30592,21 +30764,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21949:11:1", + "src": "22092:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2564, + "id": 2577, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "21949:21:1", + "referencedDeclaration": 553, + "src": "22092:21:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -30620,14 +30792,14 @@ { "argumentTypes": null, "hexValue": "307830", - "id": 2566, + "id": 2579, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21981:3:1", + "src": "22124:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -30643,20 +30815,20 @@ "typeString": "int_const 0" } ], - "id": 2565, + "id": 2578, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "21974:6:1", + "src": "22117:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes2_$", "typeString": "type(bytes2)" }, "typeName": "bytes2" }, - "id": 2567, + "id": 2580, "isConstant": false, "isLValue": false, "isPure": true, @@ -30664,41 +30836,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21974:11:1", + "src": "22117:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "21949:36:1", + "src": "22092:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2569, + "id": 2582, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "21948:38:1", + "src": "22091:38:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2560, - "id": 2570, + "functionReturnParameters": 2573, + "id": 2583, "nodeType": "Return", - "src": "21941:45:1" + "src": "22084:45:1" } ] }, "documentation": null, - "id": 2572, + "id": 2585, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -30706,16 +30878,16 @@ "name": "isShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2557, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2556, + "id": 2569, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "21894:13:1", + "scope": 2585, + "src": "22037:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30723,10 +30895,10 @@ "typeString": "address" }, "typeName": { - "id": 2555, + "id": 2568, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21894:7:1", + "src": "22037:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30736,20 +30908,20 @@ "visibility": "internal" } ], - "src": "21893:15:1" + "src": "22036:15:1" }, "payable": false, "returnParameters": { - "id": 2560, + "id": 2573, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2559, + "id": 2572, "name": "", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "21930:4:1", + "scope": 2585, + "src": "22073:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30757,10 +30929,10 @@ "typeString": "bool" }, "typeName": { - "id": 2558, + "id": 2571, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "21930:4:1", + "src": "22073:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30770,19 +30942,19 @@ "visibility": "internal" } ], - "src": "21929:7:1" + "src": "22072:7:1" }, - "scope": 2659, - "src": "21878:113:1", + "scope": 2672, + "src": "22021:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2588, + "id": 2601, "nodeType": "Block", - "src": "22197:54:1", + "src": "22340:54:1", "statements": [ { "expression": { @@ -30791,26 +30963,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2582, + "id": 2595, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "22211:12:1", + "referencedDeclaration": 541, + "src": "22354:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2584, + "id": 2597, "indexExpression": { "argumentTypes": null, - "id": 2583, + "id": 2596, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2574, - "src": "22224:8:1", + "referencedDeclaration": 2587, + "src": "22367:8:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -30821,21 +30993,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22211:22:1", + "src": "22354:22:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2586, + "id": 2599, "indexExpression": { "argumentTypes": null, - "id": 2585, + "id": 2598, "name": "_postalcode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2576, - "src": "22234:11:1", + "referencedDeclaration": 2589, + "src": "22377:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30846,21 +31018,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22211:35:1", + "src": "22354:35:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2581, - "id": 2587, + "functionReturnParameters": 2594, + "id": 2600, "nodeType": "Return", - "src": "22204:42:1" + "src": "22347:42:1" } ] }, "documentation": null, - "id": 2589, + "id": 2602, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -30868,16 +31040,16 @@ "name": "getZoneTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2577, + "id": 2590, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2574, + "id": 2587, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22127:15:1", + "scope": 2602, + "src": "22270:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30885,10 +31057,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2573, + "id": 2586, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "22127:6:1", + "src": "22270:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -30899,11 +31071,11 @@ }, { "constant": false, - "id": 2576, + "id": 2589, "name": "_postalcode", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22144:19:1", + "scope": 2602, + "src": "22287:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30911,10 +31083,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2575, + "id": 2588, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "22144:7:1", + "src": "22287:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -30924,20 +31096,20 @@ "visibility": "internal" } ], - "src": "22126:38:1" + "src": "22269:38:1" }, "payable": false, "returnParameters": { - "id": 2581, + "id": 2594, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2580, + "id": 2593, "name": "", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22186:9:1", + "scope": 2602, + "src": "22329:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30946,19 +31118,19 @@ }, "typeName": { "baseType": { - "id": 2578, + "id": 2591, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22186:7:1", + "src": "22329:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2579, + "id": 2592, "length": null, "nodeType": "ArrayTypeName", - "src": "22186:9:1", + "src": "22329:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -30968,43 +31140,43 @@ "visibility": "internal" } ], - "src": "22185:11:1" + "src": "22328:11:1" }, - "scope": 2659, - "src": "22104:147:1", + "scope": 2672, + "src": "22247:147:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2597, + "id": 2610, "nodeType": "Block", - "src": "22355:28:1", + "src": "22498:28:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2595, + "id": 2608, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "22367:11:1", + "referencedDeclaration": 544, + "src": "22510:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2594, - "id": 2596, + "functionReturnParameters": 2607, + "id": 2609, "nodeType": "Return", - "src": "22360:18:1" + "src": "22503:18:1" } ] }, "documentation": null, - "id": 2598, + "id": 2611, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -31012,23 +31184,23 @@ "name": "getAllTellers", "nodeType": "FunctionDefinition", "parameters": { - "id": 2590, + "id": 2603, "nodeType": "ParameterList", "parameters": [], - "src": "22320:2:1" + "src": "22463:2:1" }, "payable": false, "returnParameters": { - "id": 2594, + "id": 2607, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2593, + "id": 2606, "name": "", "nodeType": "VariableDeclaration", - "scope": 2598, - "src": "22344:9:1", + "scope": 2611, + "src": "22487:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31037,19 +31209,19 @@ }, "typeName": { "baseType": { - "id": 2591, + "id": 2604, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22344:7:1", + "src": "22487:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2592, + "id": 2605, "length": null, "nodeType": "ArrayTypeName", - "src": "22344:9:1", + "src": "22487:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -31059,19 +31231,19 @@ "visibility": "internal" } ], - "src": "22343:11:1" + "src": "22486:11:1" }, - "scope": 2659, - "src": "22298:85:1", + "scope": 2672, + "src": "22441:85:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2615, + "id": 2628, "nodeType": "Block", - "src": "22478:60:1", + "src": "22621:60:1", "statements": [ { "expression": { @@ -31083,7 +31255,7 @@ "typeIdentifier": "t_bytes2", "typeString": "bytes2" }, - "id": 2612, + "id": 2625, "isConstant": false, "isLValue": false, "isPure": false, @@ -31094,26 +31266,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2605, + "id": 2618, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "22492:6:1", + "referencedDeclaration": 534, + "src": "22635:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 2607, + "id": 2620, "indexExpression": { "argumentTypes": null, - "id": 2606, + "id": 2619, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "22499:7:1", + "referencedDeclaration": 2613, + "src": "22642:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31124,21 +31296,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22492:15:1", + "src": "22635:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 2608, + "id": 2621, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "22492:25:1", + "referencedDeclaration": 487, + "src": "22635:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -31152,14 +31324,14 @@ { "argumentTypes": null, "hexValue": "307830", - "id": 2610, + "id": 2623, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "22528:3:1", + "src": "22671:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -31175,20 +31347,20 @@ "typeString": "int_const 0" } ], - "id": 2609, + "id": 2622, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22521:6:1", + "src": "22664:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes2_$", "typeString": "type(bytes2)" }, "typeName": "bytes2" }, - "id": 2611, + "id": 2624, "isConstant": false, "isLValue": false, "isPure": true, @@ -31196,41 +31368,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22521:11:1", + "src": "22664:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "22492:40:1", + "src": "22635:40:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2613, + "id": 2626, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "22491:42:1", + "src": "22634:42:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2604, - "id": 2614, + "functionReturnParameters": 2617, + "id": 2627, "nodeType": "Return", - "src": "22484:49:1" + "src": "22627:49:1" } ] }, "documentation": null, - "id": 2616, + "id": 2629, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -31238,16 +31410,16 @@ "name": "isTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2601, + "id": 2614, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2600, + "id": 2613, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2616, - "src": "22434:15:1", + "scope": 2629, + "src": "22577:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31255,10 +31427,10 @@ "typeString": "address" }, "typeName": { - "id": 2599, + "id": 2612, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22434:7:1", + "src": "22577:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31268,20 +31440,20 @@ "visibility": "internal" } ], - "src": "22433:17:1" + "src": "22576:17:1" }, "payable": false, "returnParameters": { - "id": 2604, + "id": 2617, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2603, + "id": 2616, "name": "", "nodeType": "VariableDeclaration", - "scope": 2616, - "src": "22472:4:1", + "scope": 2629, + "src": "22615:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31289,10 +31461,10 @@ "typeString": "bool" }, "typeName": { - "id": 2602, + "id": 2615, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22472:4:1", + "src": "22615:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31302,19 +31474,19 @@ "visibility": "internal" } ], - "src": "22471:7:1" + "src": "22614:7:1" }, - "scope": 2659, - "src": "22416:122:1", + "scope": 2672, + "src": "22559:122:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2628, + "id": 2641, "nodeType": "Block", - "src": "22685:40:1", + "src": "22828:40:1", "statements": [ { "expression": { @@ -31322,12 +31494,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2625, + "id": 2638, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2618, - "src": "22714:5:1", + "referencedDeclaration": 2631, + "src": "22857:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31343,18 +31515,18 @@ ], "expression": { "argumentTypes": null, - "id": 2623, + "id": 2636, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "22698:4:1", + "referencedDeclaration": 479, + "src": "22841:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2624, + "id": 2637, "isConstant": false, "isLValue": false, "isPure": false, @@ -31362,13 +31534,13 @@ "memberName": "getDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 368, - "src": "22698:15:1", + "src": "22841:15:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2626, + "id": 2639, "isConstant": false, "isLValue": false, "isPure": false, @@ -31376,21 +31548,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22698:22:1", + "src": "22841:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2622, - "id": 2627, + "functionReturnParameters": 2635, + "id": 2640, "nodeType": "Return", - "src": "22691:29:1" + "src": "22834:29:1" } ] }, "documentation": null, - "id": 2629, + "id": 2642, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -31398,16 +31570,16 @@ "name": "getStakedShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2619, + "id": 2632, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2618, + "id": 2631, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2629, - "src": "22643:13:1", + "scope": 2642, + "src": "22786:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31415,10 +31587,10 @@ "typeString": "address" }, "typeName": { - "id": 2617, + "id": 2630, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22643:7:1", + "src": "22786:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31428,20 +31600,20 @@ "visibility": "internal" } ], - "src": "22642:15:1" + "src": "22785:15:1" }, "payable": false, "returnParameters": { - "id": 2622, + "id": 2635, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2621, + "id": 2634, "name": "", "nodeType": "VariableDeclaration", - "scope": 2629, - "src": "22679:4:1", + "scope": 2642, + "src": "22822:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31449,10 +31621,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2620, + "id": 2633, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22679:4:1", + "src": "22822:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31462,19 +31634,19 @@ "visibility": "internal" } ], - "src": "22678:6:1" + "src": "22821:6:1" }, - "scope": 2659, - "src": "22620:105:1", + "scope": 2672, + "src": "22763:105:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2641, + "id": 2654, "nodeType": "Block", - "src": "22855:44:1", + "src": "22998:44:1", "statements": [ { "expression": { @@ -31482,12 +31654,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2638, + "id": 2651, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "22886:7:1", + "referencedDeclaration": 2644, + "src": "23029:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31503,18 +31675,18 @@ ], "expression": { "argumentTypes": null, - "id": 2636, + "id": 2649, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "22868:4:1", + "referencedDeclaration": 479, + "src": "23011:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2637, + "id": 2650, "isConstant": false, "isLValue": false, "isPure": false, @@ -31522,13 +31694,13 @@ "memberName": "getDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 361, - "src": "22868:17:1", + "src": "23011:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2639, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": false, @@ -31536,21 +31708,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22868:26:1", + "src": "23011:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2635, - "id": 2640, + "functionReturnParameters": 2648, + "id": 2653, "nodeType": "Return", - "src": "22861:33:1" + "src": "23004:33:1" } ] }, "documentation": null, - "id": 2642, + "id": 2655, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -31558,16 +31730,16 @@ "name": "getStakedTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2632, + "id": 2645, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2631, + "id": 2644, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2642, - "src": "22811:15:1", + "scope": 2655, + "src": "22954:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31575,10 +31747,10 @@ "typeString": "address" }, "typeName": { - "id": 2630, + "id": 2643, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22811:7:1", + "src": "22954:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31588,20 +31760,20 @@ "visibility": "internal" } ], - "src": "22810:17:1" + "src": "22953:17:1" }, "payable": false, "returnParameters": { - "id": 2635, + "id": 2648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2647, "name": "", "nodeType": "VariableDeclaration", - "scope": 2642, - "src": "22849:4:1", + "scope": 2655, + "src": "22992:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31609,10 +31781,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2633, + "id": 2646, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22849:4:1", + "src": "22992:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31622,19 +31794,19 @@ "visibility": "internal" } ], - "src": "22848:6:1" + "src": "22991:6:1" }, - "scope": 2659, - "src": "22786:113:1", + "scope": 2672, + "src": "22929:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2657, + "id": 2670, "nodeType": "Block", - "src": "23025:48:1", + "src": "23168:48:1", "statements": [ { "expression": { @@ -31642,12 +31814,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2654, + "id": 2667, "name": "_newbankowner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2644, - "src": "23054:13:1", + "referencedDeclaration": 2657, + "src": "23197:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31663,18 +31835,18 @@ ], "expression": { "argumentTypes": null, - "id": 2651, + "id": 2664, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "23031:4:1", + "referencedDeclaration": 479, + "src": "23174:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2653, + "id": 2666, "isConstant": false, "isLValue": false, "isPure": false, @@ -31682,13 +31854,13 @@ "memberName": "transferOwnership", "nodeType": "MemberAccess", "referencedDeclaration": 387, - "src": "23031:22:1", + "src": "23174:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2655, + "id": 2668, "isConstant": false, "isLValue": false, "isPure": false, @@ -31696,76 +31868,76 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23031:37:1", + "src": "23174:37:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2656, + "id": 2669, "nodeType": "ExpressionStatement", - "src": "23031:37:1" + "src": "23174:37:1" } ] }, "documentation": null, - "id": 2658, + "id": 2671, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2647, + "id": 2660, "modifierName": { "argumentTypes": null, - "id": 2646, + "id": 2659, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 35, - "src": "23006:7:1", + "src": "23149:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "23006:7:1" + "src": "23149:7:1" }, { "arguments": null, - "id": 2649, + "id": 2662, "modifierName": { "argumentTypes": null, - "id": 2648, + "id": 2661, "name": "whenPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 261, - "src": "23014:10:1", + "src": "23157:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "23014:10:1" + "src": "23157:10:1" } ], "name": "transferBankOwnership", "nodeType": "FunctionDefinition", "parameters": { - "id": 2645, + "id": 2658, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2644, + "id": 2657, "name": "_newbankowner", "nodeType": "VariableDeclaration", - "scope": 2658, - "src": "22974:21:1", + "scope": 2671, + "src": "23117:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31773,10 +31945,10 @@ "typeString": "address" }, "typeName": { - "id": 2643, + "id": 2656, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22974:7:1", + "src": "23117:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -31786,27 +31958,27 @@ "visibility": "internal" } ], - "src": "22973:23:1" + "src": "23116:23:1" }, "payable": false, "returnParameters": { - "id": 2650, + "id": 2663, "nodeType": "ParameterList", "parameters": [], - "src": "23025:0:1" + "src": "23168:0:1" }, - "scope": 2659, - "src": "22943:130:1", + "scope": 2672, + "src": "23086:130:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], - "scope": 2660, - "src": "1272:21803:1" + "scope": 2673, + "src": "1272:21946:1" } ], - "src": "0:23076:1" + "src": "0:23219:1" }, "legacyAST": { "absolutePath": "/Users/mehdi/code/dether/detherContracts/contracts/DetherCore.sol", @@ -31815,13 +31987,13 @@ 388 ], "DetherCore": [ - 2659 + 2672 ], "ExchangeRateOracle": [ 300 ] }, - "id": 2660, + "id": 2673, "nodeType": "SourceUnit", "nodes": [ { @@ -31830,7 +32002,7 @@ "solidity", "^", "0.4", - ".21" + ".23" ], "nodeType": "PragmaDirective", "src": "0:24:1" @@ -31840,8 +32012,8 @@ "file": "./DetherSetup.sol", "id": 289, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2904, + "scope": 2673, + "sourceUnit": 2917, "src": "26:27:1", "symbolAliases": [], "unitAlias": "" @@ -31851,8 +32023,8 @@ "file": "./dth/tokenfoundry/ERC223ReceivingContract.sol", "id": 290, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2961, + "scope": 2673, + "sourceUnit": 2974, "src": "54:56:1", "symbolAliases": [], "unitAlias": "" @@ -31862,8 +32034,8 @@ "file": "./zepellin/SafeMath.sol", "id": 291, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 3059, + "scope": 2673, + "sourceUnit": 3072, "src": "111:33:1", "symbolAliases": [], "unitAlias": "" @@ -31873,8 +32045,8 @@ "file": "./dth/tokenfoundry/ERC223Basic.sol", "id": 292, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 2949, + "scope": 2673, + "sourceUnit": 2962, "src": "145:44:1", "symbolAliases": [], "unitAlias": "" @@ -31884,7 +32056,7 @@ "file": "./DetherAccessControl.sol", "id": 293, "nodeType": "ImportDirective", - "scope": 2660, + "scope": 2673, "sourceUnit": 287, "src": "190:35:1", "symbolAliases": [], @@ -31895,8 +32067,8 @@ "file": "bytes/BytesLib.sol", "id": 294, "nodeType": "ImportDirective", - "scope": 2660, - "sourceUnit": 3331, + "scope": 2673, + "sourceUnit": 3344, "src": "226:28:1", "symbolAliases": [], "unitAlias": "" @@ -31971,7 +32143,7 @@ "visibility": "external" } ], - "scope": 2660, + "scope": 2673, "src": "256:94:1" }, { @@ -33007,7 +33179,7 @@ "visibility": "public" } ], - "scope": 2660, + "scope": 2673, "src": "382:888:1" }, { @@ -33019,10 +33191,10 @@ "id": 389, "name": "DetherSetup", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2903, + "referencedDeclaration": 2916, "src": "1295:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_DetherSetup_$2903", + "typeIdentifier": "t_contract$_DetherSetup_$2916", "typeString": "contract DetherSetup" } }, @@ -33037,10 +33209,10 @@ "id": 391, "name": "ERC223ReceivingContract", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2960, + "referencedDeclaration": 2973, "src": "1308:23:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223ReceivingContract_$2960", + "typeIdentifier": "t_contract$_ERC223ReceivingContract_$2973", "typeString": "contract ERC223ReceivingContract" } }, @@ -33055,10 +33227,10 @@ "id": 393, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3058, + "referencedDeclaration": 3071, "src": "1333:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$3058", + "typeIdentifier": "t_contract$_SafeMath_$3071", "typeString": "contract SafeMath" } }, @@ -33069,19 +33241,19 @@ ], "contractDependencies": [ 286, - 2903, - 2960, - 3058 + 2916, + 2973, + 3071 ], "contractKind": "contract", "documentation": null, "fullyImplemented": true, - "id": 2659, + "id": 2672, "linearizedBaseContracts": [ - 2659, - 3058, - 2960, - 2903, + 2672, + 3071, + 2973, + 2916, 286 ], "name": "DetherCore", @@ -33094,10 +33266,10 @@ "id": 395, "name": "BytesLib", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3330, + "referencedDeclaration": 3343, "src": "1352:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_BytesLib_$3330", + "typeIdentifier": "t_contract$_BytesLib_$3343", "typeString": "library BytesLib" } }, @@ -33159,11 +33331,11 @@ { "anonymous": false, "documentation": null, - "id": 405, - "name": "DeleteTeller", + "id": 407, + "name": "AddFunds", "nodeType": "EventDefinition", "parameters": { - "id": 404, + "id": 406, "nodeType": "ParameterList", "parameters": [ { @@ -33172,8 +33344,8 @@ "indexed": true, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 405, - "src": "1533:29:1", + "scope": 407, + "src": "1538:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33184,7 +33356,7 @@ "id": 402, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1533:7:1", + "src": "1538:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33192,30 +33364,57 @@ }, "value": null, "visibility": "internal" + }, + { + "constant": false, + "id": 405, + "indexed": false, + "name": "amount", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "1569:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 404, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1569:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": null, + "visibility": "internal" } ], - "src": "1532:31:1" + "src": "1537:44:1" }, - "src": "1514:50:1" + "src": "1523:59:1" }, { "anonymous": false, "documentation": null, - "id": 409, - "name": "UpdateTeller", + "id": 411, + "name": "DeleteTeller", "nodeType": "EventDefinition", "parameters": { - "id": 408, + "id": 410, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 407, + "id": 409, "indexed": true, "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 409, - "src": "1610:29:1", + "scope": 411, + "src": "1634:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33223,10 +33422,10 @@ "typeString": "address" }, "typeName": { - "id": 406, + "id": 408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1610:7:1", + "src": "1634:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33236,28 +33435,28 @@ "visibility": "internal" } ], - "src": "1609:31:1" + "src": "1633:31:1" }, - "src": "1591:50:1" + "src": "1615:50:1" }, { "anonymous": false, "documentation": null, - "id": 417, - "name": "Sent", + "id": 415, + "name": "UpdateTeller", "nodeType": "EventDefinition", "parameters": { - "id": 416, + "id": 414, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 411, + "id": 413, "indexed": true, - "name": "_from", + "name": "tellerAddress", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1690:21:1", + "scope": 415, + "src": "1711:29:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33265,10 +33464,10 @@ "typeString": "address" }, "typeName": { - "id": 410, + "id": 412, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1690:7:1", + "src": "1711:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33276,15 +33475,30 @@ }, "value": null, "visibility": "internal" - }, + } + ], + "src": "1710:31:1" + }, + "src": "1692:50:1" + }, + { + "anonymous": false, + "documentation": null, + "id": 423, + "name": "Sent", + "nodeType": "EventDefinition", + "parameters": { + "id": 422, + "nodeType": "ParameterList", + "parameters": [ { "constant": false, - "id": 413, + "id": 417, "indexed": true, - "name": "_to", + "name": "_from", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1713:19:1", + "scope": 423, + "src": "1791:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33292,10 +33506,10 @@ "typeString": "address" }, "typeName": { - "id": 412, + "id": 416, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1713:7:1", + "src": "1791:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33306,96 +33520,81 @@ }, { "constant": false, - "id": 415, - "indexed": false, - "name": "amount", + "id": 419, + "indexed": true, + "name": "_to", "nodeType": "VariableDeclaration", - "scope": 417, - "src": "1734:11:1", + "scope": 423, + "src": "1814:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" }, "typeName": { - "id": 414, - "name": "uint", + "id": 418, + "name": "address", "nodeType": "ElementaryTypeName", - "src": "1734:4:1", + "src": "1814:7:1", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_address", + "typeString": "address" } }, "value": null, "visibility": "internal" - } - ], - "src": "1689:57:1" - }, - "src": "1679:68:1" - }, - { - "anonymous": false, - "documentation": null, - "id": 421, - "name": "RegisterShop", - "nodeType": "EventDefinition", - "parameters": { - "id": 420, - "nodeType": "ParameterList", - "parameters": [ + }, { "constant": false, - "id": 419, + "id": 421, "indexed": false, - "name": "shopAddress", + "name": "amount", "nodeType": "VariableDeclaration", - "scope": 421, - "src": "1795:19:1", + "scope": 423, + "src": "1835:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" }, "typeName": { - "id": 418, - "name": "address", + "id": 420, + "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1795:7:1", + "src": "1835:4:1", "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" + "typeIdentifier": "t_uint256", + "typeString": "uint256" } }, "value": null, "visibility": "internal" } ], - "src": "1794:21:1" + "src": "1790:57:1" }, - "src": "1776:40:1" + "src": "1780:68:1" }, { "anonymous": false, "documentation": null, - "id": 425, - "name": "DeleteShop", + "id": 427, + "name": "RegisterShop", "nodeType": "EventDefinition", "parameters": { - "id": 424, + "id": 426, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 423, + "id": 425, "indexed": false, "name": "shopAddress", "nodeType": "VariableDeclaration", - "scope": 425, - "src": "1860:19:1", + "scope": 427, + "src": "1896:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33403,10 +33602,10 @@ "typeString": "address" }, "typeName": { - "id": 422, + "id": 424, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1860:7:1", + "src": "1896:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33416,47 +33615,20 @@ "visibility": "internal" } ], - "src": "1859:21:1" + "src": "1895:21:1" }, - "src": "1843:38:1" + "src": "1877:40:1" }, { "anonymous": false, "documentation": null, "id": 431, - "name": "DeleteShopModerator", + "name": "DeleteShop", "nodeType": "EventDefinition", "parameters": { "id": 430, "nodeType": "ParameterList", "parameters": [ - { - "constant": false, - "id": 427, - "indexed": true, - "name": "moderator", - "nodeType": "VariableDeclaration", - "scope": 431, - "src": "1946:25:1", - "stateVariable": false, - "storageLocation": "default", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - }, - "typeName": { - "id": 426, - "name": "address", - "nodeType": "ElementaryTypeName", - "src": "1946:7:1", - "typeDescriptions": { - "typeIdentifier": "t_address", - "typeString": "address" - } - }, - "value": null, - "visibility": "internal" - }, { "constant": false, "id": 429, @@ -33464,7 +33636,7 @@ "name": "shopAddress", "nodeType": "VariableDeclaration", "scope": 431, - "src": "1973:19:1", + "src": "1961:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33475,7 +33647,7 @@ "id": 428, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1973:7:1", + "src": "1961:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33485,15 +33657,15 @@ "visibility": "internal" } ], - "src": "1945:48:1" + "src": "1960:21:1" }, - "src": "1920:74:1" + "src": "1944:38:1" }, { "anonymous": false, "documentation": null, "id": 437, - "name": "DeleteTellerModerator", + "name": "DeleteShopModerator", "nodeType": "EventDefinition", "parameters": { "id": 436, @@ -33506,7 +33678,7 @@ "name": "moderator", "nodeType": "VariableDeclaration", "scope": 437, - "src": "2063:25:1", + "src": "2047:25:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33517,7 +33689,7 @@ "id": 432, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2063:7:1", + "src": "2047:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33530,10 +33702,10 @@ "constant": false, "id": 435, "indexed": false, - "name": "tellerAddress", + "name": "shopAddress", "nodeType": "VariableDeclaration", "scope": 437, - "src": "2090:21:1", + "src": "2074:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33544,7 +33716,7 @@ "id": 434, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2090:7:1", + "src": "2074:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33554,15 +33726,84 @@ "visibility": "internal" } ], - "src": "2062:50:1" + "src": "2046:48:1" }, - "src": "2035:78:1" + "src": "2021:74:1" + }, + { + "anonymous": false, + "documentation": null, + "id": 443, + "name": "DeleteTellerModerator", + "nodeType": "EventDefinition", + "parameters": { + "id": 442, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 439, + "indexed": true, + "name": "moderator", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "2164:25:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 438, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2164:7:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + }, + { + "constant": false, + "id": 441, + "indexed": false, + "name": "tellerAddress", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "2191:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 440, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2191:7:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2163:50:1" + }, + "src": "2136:78:1" }, { "body": { - "id": 452, + "id": 458, "nodeType": "Block", - "src": "2221:66:1", + "src": "2322:66:1", "statements": [ { "expression": { @@ -33574,7 +33815,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 448, + "id": 454, "isConstant": false, "isLValue": false, "isPure": false, @@ -33586,18 +33827,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 444, + "id": 450, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "2253:3:1", + "referencedDeclaration": 3390, + "src": "2354:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 445, + "id": 451, "isConstant": false, "isLValue": false, "isPure": false, @@ -33605,7 +33846,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2253:10:1", + "src": "2354:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33621,18 +33862,18 @@ ], "expression": { "argumentTypes": null, - "id": 442, + "id": 448, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "2235:4:1", + "referencedDeclaration": 479, + "src": "2336:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 443, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -33640,13 +33881,13 @@ "memberName": "getDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 361, - "src": "2235:17:1", + "src": "2336:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 446, + "id": 452, "isConstant": false, "isLValue": false, "isPure": false, @@ -33654,7 +33895,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2235:29:1", + "src": "2336:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33664,18 +33905,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 447, + "id": 453, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 439, - "src": "2268:6:1", + "referencedDeclaration": 445, + "src": "2369:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2235:39:1", + "src": "2336:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33689,21 +33930,21 @@ "typeString": "bool" } ], - "id": 441, + "id": 447, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "2227:7:1", + "referencedDeclaration": 3393, + "src": "2328:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 449, + "id": 455, "isConstant": false, "isLValue": false, "isPure": false, @@ -33711,38 +33952,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2227:48:1", + "src": "2328:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 450, + "id": 456, "nodeType": "ExpressionStatement", - "src": "2227:48:1" + "src": "2328:48:1" }, { - "id": 451, + "id": 457, "nodeType": "PlaceholderStatement", - "src": "2281:1:1" + "src": "2382:1:1" } ] }, "documentation": "Modifier", - "id": 453, + "id": 459, "name": "tellerHasStaked", "nodeType": "ModifierDefinition", "parameters": { - "id": 440, + "id": 446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 439, + "id": 445, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 453, - "src": "2208:11:1", + "scope": 459, + "src": "2309:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33750,10 +33991,10 @@ "typeString": "uint256" }, "typeName": { - "id": 438, + "id": 444, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2208:4:1", + "src": "2309:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33763,16 +34004,16 @@ "visibility": "internal" } ], - "src": "2207:13:1" + "src": "2308:13:1" }, - "src": "2183:104:1", + "src": "2284:104:1", "visibility": "internal" }, { "body": { - "id": 468, + "id": 474, "nodeType": "Block", - "src": "2364:64:1", + "src": "2465:64:1", "statements": [ { "expression": { @@ -33784,7 +34025,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 464, + "id": 470, "isConstant": false, "isLValue": false, "isPure": false, @@ -33796,18 +34037,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 460, + "id": 466, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "2394:3:1", + "referencedDeclaration": 3390, + "src": "2495:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 461, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, @@ -33815,7 +34056,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "2394:10:1", + "src": "2495:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33831,18 +34072,18 @@ ], "expression": { "argumentTypes": null, - "id": 458, + "id": 464, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "2378:4:1", + "referencedDeclaration": 479, + "src": "2479:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 459, + "id": 465, "isConstant": false, "isLValue": false, "isPure": false, @@ -33850,13 +34091,13 @@ "memberName": "getDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 368, - "src": "2378:15:1", + "src": "2479:15:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 462, + "id": 468, "isConstant": false, "isLValue": false, "isPure": false, @@ -33864,7 +34105,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2378:27:1", + "src": "2479:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33874,18 +34115,18 @@ "operator": ">=", "rightExpression": { "argumentTypes": null, - "id": 463, + "id": 469, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 455, - "src": "2409:6:1", + "referencedDeclaration": 461, + "src": "2510:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2378:37:1", + "src": "2479:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33899,21 +34140,21 @@ "typeString": "bool" } ], - "id": 457, + "id": 463, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "2370:7:1", + "referencedDeclaration": 3393, + "src": "2471:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 465, + "id": 471, "isConstant": false, "isLValue": false, "isPure": false, @@ -33921,38 +34162,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2370:46:1", + "src": "2471:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 466, + "id": 472, "nodeType": "ExpressionStatement", - "src": "2370:46:1" + "src": "2471:46:1" }, { - "id": 467, + "id": 473, "nodeType": "PlaceholderStatement", - "src": "2422:1:1" + "src": "2523:1:1" } ] }, "documentation": null, - "id": 469, + "id": 475, "name": "shopHasStaked", "nodeType": "ModifierDefinition", "parameters": { - "id": 456, + "id": 462, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 455, + "id": 461, "name": "amount", "nodeType": "VariableDeclaration", - "scope": 469, - "src": "2351:11:1", + "scope": 475, + "src": "2452:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33960,10 +34201,10 @@ "typeString": "uint256" }, "typeName": { - "id": 454, + "id": 460, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "2351:4:1", + "src": "2452:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33973,33 +34214,33 @@ "visibility": "internal" } ], - "src": "2350:13:1" + "src": "2451:13:1" }, - "src": "2328:100:1", + "src": "2429:100:1", "visibility": "internal" }, { "constant": false, - "id": 471, + "id": 477, "name": "dth", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2484:22:1", + "scope": 2672, + "src": "2585:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" }, "typeName": { "contractScope": null, - "id": 470, + "id": 476, "name": "ERC223Basic", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2948, - "src": "2484:11:1", + "referencedDeclaration": 2961, + "src": "2585:11:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, @@ -34008,11 +34249,11 @@ }, { "constant": false, - "id": 473, + "id": 479, "name": "bank", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2558:22:1", + "scope": 2672, + "src": "2659:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34021,11 +34262,11 @@ }, "typeName": { "contractScope": null, - "id": 472, + "id": 478, "name": "DetherBank", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 388, - "src": "2558:10:1", + "src": "2659:10:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -34036,11 +34277,11 @@ }, { "constant": false, - "id": 475, + "id": 481, "name": "priceOracle", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "2585:37:1", + "scope": 2672, + "src": "2686:37:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34049,11 +34290,11 @@ }, "typeName": { "contractScope": null, - "id": 474, + "id": 480, "name": "ExchangeRateOracle", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 300, - "src": "2585:18:1", + "src": "2686:18:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" @@ -34064,15 +34305,15 @@ }, { "canonicalName": "DetherCore.Teller", - "id": 502, + "id": 508, "members": [ { "constant": false, - "id": 477, + "id": 483, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2666:9:1", + "scope": 508, + "src": "2767:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34080,10 +34321,10 @@ "typeString": "int32" }, "typeName": { - "id": 476, + "id": 482, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2666:5:1", + "src": "2767:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -34094,11 +34335,11 @@ }, { "constant": false, - "id": 479, + "id": 485, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2704:9:1", + "scope": 508, + "src": "2805:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34106,10 +34347,10 @@ "typeString": "int32" }, "typeName": { - "id": 478, + "id": 484, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "2704:5:1", + "src": "2805:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -34120,11 +34361,11 @@ }, { "constant": false, - "id": 481, + "id": 487, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2743:16:1", + "scope": 508, + "src": "2844:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34132,10 +34373,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 480, + "id": 486, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "2743:6:1", + "src": "2844:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -34146,11 +34387,11 @@ }, { "constant": false, - "id": 483, + "id": 489, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2854:18:1", + "scope": 508, + "src": "2955:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34158,10 +34399,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 482, + "id": 488, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "2854:7:1", + "src": "2955:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -34172,11 +34413,11 @@ }, { "constant": false, - "id": 485, + "id": 491, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "2966:15:1", + "scope": 508, + "src": "3067:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34184,10 +34425,10 @@ "typeString": "int8" }, "typeName": { - "id": 484, + "id": 490, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "2966:4:1", + "src": "3067:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -34198,11 +34439,11 @@ }, { "constant": false, - "id": 487, + "id": 493, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3015:17:1", + "scope": 508, + "src": "3116:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34210,10 +34451,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 486, + "id": 492, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "3015:7:1", + "src": "3116:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -34224,11 +34465,11 @@ }, { "constant": false, - "id": 489, + "id": 495, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3063:13:1", + "scope": 508, + "src": "3164:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34236,10 +34477,10 @@ "typeString": "int8" }, "typeName": { - "id": 488, + "id": 494, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "3063:4:1", + "src": "3164:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -34250,11 +34491,11 @@ }, { "constant": false, - "id": 491, + "id": 497, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3138:11:1", + "scope": 508, + "src": "3239:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34262,10 +34503,10 @@ "typeString": "int16" }, "typeName": { - "id": 490, + "id": 496, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "3138:5:1", + "src": "3239:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -34276,11 +34517,11 @@ }, { "constant": false, - "id": 493, + "id": 499, "name": "buyer", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3246:10:1", + "scope": 508, + "src": "3347:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34288,10 +34529,10 @@ "typeString": "bool" }, "typeName": { - "id": 492, + "id": 498, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3246:4:1", + "src": "3347:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34302,11 +34543,11 @@ }, { "constant": false, - "id": 495, + "id": 501, "name": "buyRates", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3312:14:1", + "scope": 508, + "src": "3413:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34314,10 +34555,10 @@ "typeString": "int16" }, "typeName": { - "id": 494, + "id": 500, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "3312:5:1", + "src": "3413:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -34328,11 +34569,11 @@ }, { "constant": false, - "id": 497, + "id": 503, "name": "zoneIndex", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3365:14:1", + "scope": 508, + "src": "3466:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34340,10 +34581,10 @@ "typeString": "uint256" }, "typeName": { - "id": 496, + "id": 502, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3365:4:1", + "src": "3466:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34354,11 +34595,11 @@ }, { "constant": false, - "id": 499, + "id": 505, "name": "generalIndex", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3420:17:1", + "scope": 508, + "src": "3521:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34366,10 +34607,10 @@ "typeString": "uint256" }, "typeName": { - "id": 498, + "id": 504, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3420:4:1", + "src": "3521:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34380,11 +34621,11 @@ }, { "constant": false, - "id": 501, + "id": 507, "name": "online", "nodeType": "VariableDeclaration", - "scope": 502, - "src": "3474:11:1", + "scope": 508, + "src": "3575:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34392,10 +34633,10 @@ "typeString": "bool" }, "typeName": { - "id": 500, + "id": 506, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3474:4:1", + "src": "3575:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34407,17 +34648,17 @@ ], "name": "Teller", "nodeType": "StructDefinition", - "scope": 2659, - "src": "2646:941:1", + "scope": 2672, + "src": "2747:941:1", "visibility": "public" }, { "constant": false, - "id": 508, + "id": 514, "name": "pairSellsLoyaltyPerc", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3591:74:1", + "scope": 2672, + "src": "3692:74:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34425,46 +34666,46 @@ "typeString": "mapping(address => mapping(address => uint256))" }, "typeName": { - "id": 507, + "id": 513, "keyType": { - "id": 503, + "id": 509, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3599:7:1", + "src": "3700:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3591:44:1", + "src": "3692:44:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" }, "valueType": { - "id": 506, + "id": 512, "keyType": { - "id": 504, + "id": 510, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3618:7:1", + "src": "3719:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3610:24:1", + "src": "3711:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 505, + "id": 511, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3629:4:1", + "src": "3730:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34477,11 +34718,11 @@ }, { "constant": false, - "id": 512, + "id": 518, "name": "volumeBuy", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3866:34:1", + "scope": 2672, + "src": "3967:34:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34489,28 +34730,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 511, + "id": 517, "keyType": { - "id": 509, + "id": 515, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3874:7:1", + "src": "3975:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3866:24:1", + "src": "3967:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 510, + "id": 516, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3885:4:1", + "src": "3986:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34522,11 +34763,11 @@ }, { "constant": false, - "id": 516, + "id": 522, "name": "volumeSell", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3904:35:1", + "scope": 2672, + "src": "4005:35:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34534,28 +34775,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 515, + "id": 521, "keyType": { - "id": 513, + "id": 519, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3912:7:1", + "src": "4013:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3904:24:1", + "src": "4005:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 514, + "id": 520, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3923:4:1", + "src": "4024:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34567,11 +34808,11 @@ }, { "constant": false, - "id": 520, + "id": 526, "name": "nbTrade", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3943:32:1", + "scope": 2672, + "src": "4044:32:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34579,28 +34820,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 519, + "id": 525, "keyType": { - "id": 517, + "id": 523, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3951:7:1", + "src": "4052:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3943:24:1", + "src": "4044:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 518, + "id": 524, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "3962:4:1", + "src": "4063:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34612,11 +34853,11 @@ }, { "constant": false, - "id": 524, + "id": 530, "name": "loyaltyPoints", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "3979:41:1", + "scope": 2672, + "src": "4080:41:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34624,28 +34865,28 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 523, + "id": 529, "keyType": { - "id": 521, + "id": 527, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3987:7:1", + "src": "4088:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "3979:27:1", + "src": "4080:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" }, "valueType": { - "id": 522, + "id": 528, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3998:7:1", + "src": "4099:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34657,44 +34898,44 @@ }, { "constant": false, - "id": 528, + "id": 534, "name": "teller", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4056:33:1", + "scope": 2672, + "src": "4157:33:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller)" }, "typeName": { - "id": 527, + "id": 533, "keyType": { - "id": 525, + "id": 531, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4064:7:1", + "src": "4165:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "4056:26:1", + "src": "4157:26:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller)" }, "valueType": { "contractScope": null, - "id": 526, + "id": 532, "name": "Teller", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 502, - "src": "4075:6:1", + "referencedDeclaration": 508, + "src": "4176:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" } } @@ -34704,11 +34945,11 @@ }, { "constant": false, - "id": 535, + "id": 541, "name": "tellerInZone", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4146:61:1", + "scope": 2672, + "src": "4247:61:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34716,56 +34957,56 @@ "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "typeName": { - "id": 534, + "id": 540, "keyType": { - "id": 529, + "id": 535, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "4154:6:1", + "src": "4255:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "4146:48:1", + "src": "4247:48:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "valueType": { - "id": 533, + "id": 539, "keyType": { - "id": 530, + "id": 536, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4172:7:1", + "src": "4273:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, "nodeType": "Mapping", - "src": "4164:29:1", + "src": "4265:29:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[])" }, "valueType": { "baseType": { - "id": 531, + "id": 537, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4183:7:1", + "src": "4284:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 532, + "id": 538, "length": null, "nodeType": "ArrayTypeName", - "src": "4183:9:1", + "src": "4284:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -34778,11 +35019,11 @@ }, { "constant": false, - "id": 538, + "id": 544, "name": "tellerIndex", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4250:28:1", + "scope": 2672, + "src": "4351:28:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34791,19 +35032,19 @@ }, "typeName": { "baseType": { - "id": 536, + "id": 542, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4250:7:1", + "src": "4351:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 537, + "id": 543, "length": null, "nodeType": "ArrayTypeName", - "src": "4250:9:1", + "src": "4351:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -34814,11 +35055,11 @@ }, { "constant": false, - "id": 541, + "id": 547, "name": "isStarted", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "4325:22:1", + "scope": 2672, + "src": "4426:22:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -34826,10 +35067,10 @@ "typeString": "bool" }, "typeName": { - "id": 539, + "id": 545, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "4325:4:1", + "src": "4426:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34838,14 +35079,14 @@ "value": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 540, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "4342:5:1", + "src": "4443:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -34857,15 +35098,15 @@ }, { "canonicalName": "DetherCore.Shop", - "id": 564, + "id": 570, "members": [ { "constant": false, - "id": 543, + "id": 549, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4386:9:1", + "scope": 570, + "src": "4487:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34873,10 +35114,10 @@ "typeString": "int32" }, "typeName": { - "id": 542, + "id": 548, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "4386:5:1", + "src": "4487:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -34887,11 +35128,11 @@ }, { "constant": false, - "id": 545, + "id": 551, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4424:9:1", + "scope": 570, + "src": "4525:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34899,10 +35140,10 @@ "typeString": "int32" }, "typeName": { - "id": 544, + "id": 550, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "4424:5:1", + "src": "4525:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -34913,11 +35154,11 @@ }, { "constant": false, - "id": 547, + "id": 553, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4463:16:1", + "scope": 570, + "src": "4564:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34925,10 +35166,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 546, + "id": 552, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "4463:6:1", + "src": "4564:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -34939,11 +35180,11 @@ }, { "constant": false, - "id": 549, + "id": 555, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4579:18:1", + "scope": 570, + "src": "4680:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34951,10 +35192,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 548, + "id": 554, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4579:7:1", + "src": "4680:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -34965,11 +35206,11 @@ }, { "constant": false, - "id": 551, + "id": 557, "name": "cat", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4705:11:1", + "scope": 570, + "src": "4806:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34977,10 +35218,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 550, + "id": 556, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4705:7:1", + "src": "4806:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -34991,11 +35232,11 @@ }, { "constant": false, - "id": 553, + "id": 559, "name": "name", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4827:12:1", + "scope": 570, + "src": "4928:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35003,10 +35244,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 552, + "id": 558, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4928:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -35017,11 +35258,11 @@ }, { "constant": false, - "id": 555, + "id": 561, "name": "description", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4887:19:1", + "scope": 570, + "src": "4988:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35029,10 +35270,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 554, + "id": 560, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "4887:7:1", + "src": "4988:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -35043,11 +35284,11 @@ }, { "constant": false, - "id": 557, + "id": 563, "name": "opening", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "4940:15:1", + "scope": 570, + "src": "5041:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35055,10 +35296,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 556, + "id": 562, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "4940:7:1", + "src": "5041:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -35069,11 +35310,11 @@ }, { "constant": false, - "id": 559, + "id": 565, "name": "zoneIndex", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5010:14:1", + "scope": 570, + "src": "5111:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35081,10 +35322,10 @@ "typeString": "uint256" }, "typeName": { - "id": 558, + "id": 564, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5010:4:1", + "src": "5111:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35095,11 +35336,11 @@ }, { "constant": false, - "id": 561, + "id": 567, "name": "generalIndex", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5065:17:1", + "scope": 570, + "src": "5166:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35107,10 +35348,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 566, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "5065:4:1", + "src": "5166:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35121,11 +35362,11 @@ }, { "constant": false, - "id": 563, + "id": 569, "name": "detherShop", "nodeType": "VariableDeclaration", - "scope": 564, - "src": "5119:15:1", + "scope": 570, + "src": "5220:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35133,10 +35374,10 @@ "typeString": "bool" }, "typeName": { - "id": 562, + "id": 568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5119:4:1", + "src": "5220:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35148,50 +35389,50 @@ ], "name": "Shop", "nodeType": "StructDefinition", - "scope": 2659, - "src": "4368:861:1", + "scope": 2672, + "src": "4469:861:1", "visibility": "public" }, { "constant": false, - "id": 568, + "id": 574, "name": "shop", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5262:29:1", + "scope": 2672, + "src": "5363:29:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop)" }, "typeName": { - "id": 567, + "id": 573, "keyType": { - "id": 565, + "id": 571, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5270:7:1", + "src": "5371:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "5262:24:1", + "src": "5363:24:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop)" }, "valueType": { "contractScope": null, - "id": 566, + "id": 572, "name": "Shop", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 564, - "src": "5281:4:1", + "referencedDeclaration": 570, + "src": "5382:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" } } @@ -35201,11 +35442,11 @@ }, { "constant": false, - "id": 575, + "id": 581, "name": "shopInZone", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5347:59:1", + "scope": 2672, + "src": "5448:59:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -35213,56 +35454,56 @@ "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "typeName": { - "id": 574, + "id": 580, "keyType": { - "id": 569, + "id": 575, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "5355:6:1", + "src": "5456:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "5347:48:1", + "src": "5448:48:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[]))" }, "valueType": { - "id": 573, + "id": 579, "keyType": { - "id": 570, + "id": 576, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "5373:7:1", + "src": "5474:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, "nodeType": "Mapping", - "src": "5365:29:1", + "src": "5466:29:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[])" }, "valueType": { "baseType": { - "id": 571, + "id": 577, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5384:7:1", + "src": "5485:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 572, + "id": 578, "length": null, "nodeType": "ArrayTypeName", - "src": "5384:9:1", + "src": "5485:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -35275,11 +35516,11 @@ }, { "constant": false, - "id": 578, + "id": 584, "name": "shopIndex", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "5447:26:1", + "scope": 2672, + "src": "5548:26:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -35288,19 +35529,19 @@ }, "typeName": { "baseType": { - "id": 576, + "id": 582, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5447:7:1", + "src": "5548:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 577, + "id": 583, "length": null, "nodeType": "ArrayTypeName", - "src": "5447:9:1", + "src": "5548:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -35311,26 +35552,26 @@ }, { "body": { - "id": 586, + "id": 592, "nodeType": "Block", - "src": "5571:33:1", + "src": "5672:33:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 584, + "id": 590, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 581, + "id": 587, "name": "ceoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7, - "src": "5576:10:1", + "src": "5677:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35342,18 +35583,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 582, + "id": 588, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "5589:3:1", + "referencedDeclaration": 3390, + "src": "5690:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 583, + "id": 589, "isConstant": false, "isLValue": false, "isPure": false, @@ -35361,26 +35602,26 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "5589:10:1", + "src": "5690:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "5576:23:1", + "src": "5677:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 585, + "id": 591, "nodeType": "ExpressionStatement", - "src": "5576:23:1" + "src": "5677:23:1" } ] }, "documentation": null, - "id": 587, + "id": 593, "implemented": true, "isConstructor": true, "isDeclaredConst": false, @@ -35388,29 +35629,29 @@ "name": "DetherCore", "nodeType": "FunctionDefinition", "parameters": { - "id": 579, + "id": 585, "nodeType": "ParameterList", "parameters": [], - "src": "5568:2:1" + "src": "5669:2:1" }, "payable": false, "returnParameters": { - "id": 580, + "id": 586, "nodeType": "ParameterList", "parameters": [], - "src": "5571:0:1" + "src": "5672:0:1" }, - "scope": 2659, - "src": "5549:55:1", + "scope": 2672, + "src": "5650:55:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 617, + "id": 623, "nodeType": "Block", - "src": "5676:111:1", + "src": "5777:111:1", "statements": [ { "expression": { @@ -35418,7 +35659,7 @@ "arguments": [ { "argumentTypes": null, - "id": 598, + "id": 604, "isConstant": false, "isLValue": false, "isPure": false, @@ -35426,15 +35667,15 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "5690:10:1", + "src": "5791:10:1", "subExpression": { "argumentTypes": null, - "id": 597, + "id": 603, "name": "isStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 541, - "src": "5691:9:1", + "referencedDeclaration": 547, + "src": "5792:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35453,21 +35694,21 @@ "typeString": "bool" } ], - "id": 596, + "id": 602, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "5682:7:1", + "referencedDeclaration": 3393, + "src": "5783:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 599, + "id": 605, "isConstant": false, "isLValue": false, "isPure": false, @@ -35475,34 +35716,34 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5682:19:1", + "src": "5783:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 600, + "id": 606, "nodeType": "ExpressionStatement", - "src": "5682:19:1" + "src": "5783:19:1" }, { "expression": { "argumentTypes": null, - "id": 605, + "id": 611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 601, + "id": 607, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "5707:3:1", + "referencedDeclaration": 477, + "src": "5808:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, @@ -35513,12 +35754,12 @@ "arguments": [ { "argumentTypes": null, - "id": 603, + "id": 609, "name": "_dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 589, - "src": "5725:4:1", + "referencedDeclaration": 595, + "src": "5826:4:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35532,18 +35773,18 @@ "typeString": "address" } ], - "id": 602, + "id": 608, "name": "ERC223Basic", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2948, - "src": "5713:11:1", + "referencedDeclaration": 2961, + "src": "5814:11:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC223Basic_$2948_$", + "typeIdentifier": "t_type$_t_contract$_ERC223Basic_$2961_$", "typeString": "type(contract ERC223Basic)" } }, - "id": 604, + "id": 610, "isConstant": false, "isLValue": false, "isPure": false, @@ -35551,38 +35792,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5713:17:1", + "src": "5814:17:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "src": "5707:23:1", + "src": "5808:23:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 606, + "id": 612, "nodeType": "ExpressionStatement", - "src": "5707:23:1" + "src": "5808:23:1" }, { "expression": { "argumentTypes": null, - "id": 611, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 607, + "id": 613, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "5736:4:1", + "referencedDeclaration": 479, + "src": "5837:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -35595,12 +35836,12 @@ "arguments": [ { "argumentTypes": null, - "id": 609, + "id": 615, "name": "_bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 591, - "src": "5754:5:1", + "referencedDeclaration": 597, + "src": "5855:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35614,18 +35855,18 @@ "typeString": "address" } ], - "id": 608, + "id": 614, "name": "DetherBank", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 388, - "src": "5743:10:1", + "src": "5844:10:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_DetherBank_$388_$", "typeString": "type(contract DetherBank)" } }, - "id": 610, + "id": 616, "isConstant": false, "isLValue": false, "isPure": false, @@ -35633,38 +35874,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5743:17:1", + "src": "5844:17:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "src": "5736:24:1", + "src": "5837:24:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 612, + "id": 618, "nodeType": "ExpressionStatement", - "src": "5736:24:1" + "src": "5837:24:1" }, { "expression": { "argumentTypes": null, - "id": 615, + "id": 621, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 613, + "id": 619, "name": "isStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 541, - "src": "5766:9:1", + "referencedDeclaration": 547, + "src": "5867:9:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35675,14 +35916,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 614, + "id": 620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5778:4:1", + "src": "5879:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35690,57 +35931,57 @@ }, "value": "true" }, - "src": "5766:16:1", + "src": "5867:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 616, + "id": 622, "nodeType": "ExpressionStatement", - "src": "5766:16:1" + "src": "5867:16:1" } ] }, "documentation": null, - "id": 618, + "id": 624, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 594, + "id": 600, "modifierName": { "argumentTypes": null, - "id": 593, + "id": 599, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 35, - "src": "5668:7:1", + "src": "5769:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5668:7:1" + "src": "5769:7:1" } ], "name": "initContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 592, + "id": 598, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 589, + "id": 595, "name": "_dth", "nodeType": "VariableDeclaration", - "scope": 618, - "src": "5630:12:1", + "scope": 624, + "src": "5731:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35748,10 +35989,10 @@ "typeString": "address" }, "typeName": { - "id": 588, + "id": 594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5630:7:1", + "src": "5731:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35762,11 +36003,11 @@ }, { "constant": false, - "id": 591, + "id": 597, "name": "_bank", "nodeType": "VariableDeclaration", - "scope": 618, - "src": "5644:13:1", + "scope": 624, + "src": "5745:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35774,10 +36015,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 596, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5644:7:1", + "src": "5745:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35787,43 +36028,43 @@ "visibility": "internal" } ], - "src": "5629:29:1" + "src": "5730:29:1" }, "payable": false, "returnParameters": { - "id": 595, + "id": 601, "nodeType": "ParameterList", "parameters": [], - "src": "5676:0:1" + "src": "5777:0:1" }, - "scope": 2659, - "src": "5607:180:1", + "scope": 2672, + "src": "5708:180:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 631, + "id": 637, "nodeType": "Block", - "src": "5855:57:1", + "src": "5956:57:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 629, + "id": 635, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 625, + "id": 631, "name": "priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 475, - "src": "5861:11:1", + "referencedDeclaration": 481, + "src": "5962:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" @@ -35836,12 +36077,12 @@ "arguments": [ { "argumentTypes": null, - "id": 627, + "id": 633, "name": "_priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 620, - "src": "5894:12:1", + "referencedDeclaration": 626, + "src": "5995:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35855,18 +36096,18 @@ "typeString": "address" } ], - "id": 626, + "id": 632, "name": "ExchangeRateOracle", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 300, - "src": "5875:18:1", + "src": "5976:18:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_ExchangeRateOracle_$300_$", "typeString": "type(contract ExchangeRateOracle)" } }, - "id": 628, + "id": 634, "isConstant": false, "isLValue": false, "isPure": false, @@ -35874,63 +36115,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "5875:32:1", + "src": "5976:32:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "src": "5861:46:1", + "src": "5962:46:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "id": 630, + "id": 636, "nodeType": "ExpressionStatement", - "src": "5861:46:1" + "src": "5962:46:1" } ] }, "documentation": null, - "id": 632, + "id": 638, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 623, + "id": 629, "modifierName": { "argumentTypes": null, - "id": 622, + "id": 628, "name": "onlyCFO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "5847:7:1", + "src": "5948:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "5847:7:1" + "src": "5948:7:1" } ], "name": "setPriceOracle", "nodeType": "FunctionDefinition", "parameters": { - "id": 621, + "id": 627, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 620, + "id": 626, "name": "_priceOracle", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5816:20:1", + "scope": 638, + "src": "5917:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35938,10 +36179,10 @@ "typeString": "address" }, "typeName": { - "id": 619, + "id": 625, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5816:7:1", + "src": "5917:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35951,26 +36192,26 @@ "visibility": "internal" } ], - "src": "5815:22:1" + "src": "5916:22:1" }, "payable": false, "returnParameters": { - "id": 624, + "id": 630, "nodeType": "ParameterList", "parameters": [], - "src": "5855:0:1" + "src": "5956:0:1" }, - "scope": 2659, - "src": "5791:121:1", + "scope": 2672, + "src": "5892:121:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1269, + "id": 1275, "nodeType": "Block", - "src": "6651:4338:1", + "src": "6752:4338:1", "statements": [ { "expression": { @@ -35982,7 +36223,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 652, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -35991,18 +36232,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 647, + "id": 653, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "6745:3:1", + "referencedDeclaration": 3390, + "src": "6846:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 648, + "id": 654, "isConstant": false, "isLValue": false, "isPure": false, @@ -36010,7 +36251,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "6745:10:1", + "src": "6846:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36023,14 +36264,14 @@ "arguments": [ { "argumentTypes": null, - "id": 650, + "id": 656, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "6767:3:1", + "referencedDeclaration": 477, + "src": "6868:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } } @@ -36038,24 +36279,24 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } ], - "id": 649, + "id": 655, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6759:7:1", + "src": "6860:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 651, + "id": 657, "isConstant": false, "isLValue": false, "isPure": false, @@ -36063,13 +36304,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6759:12:1", + "src": "6860:12:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "6745:26:1", + "src": "6846:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36083,21 +36324,21 @@ "typeString": "bool" } ], - "id": 646, + "id": 652, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "6737:7:1", + "referencedDeclaration": 3393, + "src": "6838:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 653, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, @@ -36105,28 +36346,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6737:35:1", + "src": "6838:35:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 654, + "id": 660, "nodeType": "ExpressionStatement", - "src": "6737:35:1" + "src": "6838:35:1" }, { "assignments": [ - 656 + 662 ], "declarations": [ { "constant": false, - "id": 656, + "id": 662, "name": "_func", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6889:12:1", + "scope": 1276, + "src": "6990:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36134,10 +36375,10 @@ "typeString": "bytes1" }, "typeName": { - "id": 655, + "id": 661, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "6889:6:1", + "src": "6990:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -36147,21 +36388,21 @@ "visibility": "internal" } ], - "id": 661, + "id": 667, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "30", - "id": 659, + "id": 665, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6919:1:1", + "src": "7020:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -36179,32 +36420,32 @@ ], "expression": { "argumentTypes": null, - "id": 657, + "id": 663, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6904:5:1", + "referencedDeclaration": 644, + "src": "7005:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 658, + "id": 664, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "6904:14:1", + "referencedDeclaration": 3308, + "src": "7005:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 660, + "id": 666, "isConstant": false, "isLValue": false, "isPure": false, @@ -36212,27 +36453,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6904:17:1", + "src": "7005:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, "nodeType": "VariableDeclarationStatement", - "src": "6889:32:1" + "src": "6990:32:1" }, { "assignments": [ - 663 + 669 ], "declarations": [ { "constant": false, - "id": 663, + "id": 669, "name": "posLat", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6927:12:1", + "scope": 1276, + "src": "7028:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36240,10 +36481,10 @@ "typeString": "int32" }, "typeName": { - "id": 662, + "id": 668, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "6927:5:1", + "src": "7028:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -36253,7 +36494,7 @@ "visibility": "internal" } ], - "id": 688, + "id": 694, "initialValue": { "argumentTypes": null, "condition": { @@ -36262,7 +36503,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 671, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -36273,14 +36514,14 @@ { "argumentTypes": null, "hexValue": "31", - "id": 666, + "id": 672, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6957:1:1", + "src": "7058:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -36298,32 +36539,32 @@ ], "expression": { "argumentTypes": null, - "id": 664, + "id": 670, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6942:5:1", + "referencedDeclaration": 644, + "src": "7043:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 665, + "id": 671, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "6942:14:1", + "referencedDeclaration": 3308, + "src": "7043:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 667, + "id": 673, "isConstant": false, "isLValue": false, "isPure": false, @@ -36331,7 +36572,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6942:17:1", + "src": "7043:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -36345,14 +36586,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 669, + "id": 675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6970:4:1", + "src": "7071:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -36368,20 +36609,20 @@ "typeString": "int_const 1" } ], - "id": 668, + "id": 674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6963:6:1", + "src": "7064:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 670, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, @@ -36389,13 +36630,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6963:12:1", + "src": "7064:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "6942:33:1", + "src": "7043:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36410,14 +36651,14 @@ { "argumentTypes": null, "hexValue": "32", - "id": 684, + "id": 690, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7031:1:1", + "src": "7132:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -36435,32 +36676,32 @@ ], "expression": { "argumentTypes": null, - "id": 682, + "id": 688, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7016:5:1", + "referencedDeclaration": 644, + "src": "7117:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 683, + "id": 689, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7016:14:1", + "referencedDeclaration": 3282, + "src": "7117:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 685, + "id": 691, "isConstant": false, "isLValue": false, "isPure": false, @@ -36468,7 +36709,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7016:17:1", + "src": "7117:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36482,20 +36723,20 @@ "typeString": "bytes4" } ], - "id": 681, + "id": 687, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7010:5:1", + "src": "7111:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 686, + "id": 692, "isConstant": false, "isLValue": false, "isPure": false, @@ -36503,26 +36744,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7010:24:1", + "src": "7111:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 687, + "id": 693, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "6942:92:1", + "src": "7043:92:1", "trueExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_int32", "typeString": "int32" }, - "id": 680, + "id": 686, "isConstant": false, "isLValue": false, "isPure": false, @@ -36536,14 +36777,14 @@ { "argumentTypes": null, "hexValue": "32", - "id": 675, + "id": 681, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "6999:1:1", + "src": "7100:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -36561,32 +36802,32 @@ ], "expression": { "argumentTypes": null, - "id": 673, + "id": 679, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "6984:5:1", + "referencedDeclaration": 644, + "src": "7085:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 674, + "id": 680, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "6984:14:1", + "referencedDeclaration": 3282, + "src": "7085:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 676, + "id": 682, "isConstant": false, "isLValue": false, "isPure": false, @@ -36594,7 +36835,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6984:17:1", + "src": "7085:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36608,20 +36849,20 @@ "typeString": "bytes4" } ], - "id": 672, + "id": 678, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6978:5:1", + "src": "7079:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 677, + "id": 683, "isConstant": false, "isLValue": false, "isPure": false, @@ -36629,7 +36870,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "6978:24:1", + "src": "7079:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -36639,7 +36880,7 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 679, + "id": 685, "isConstant": false, "isLValue": false, "isPure": true, @@ -36647,18 +36888,18 @@ "nodeType": "UnaryOperation", "operator": "-", "prefix": true, - "src": "7005:2:1", + "src": "7106:2:1", "subExpression": { "argumentTypes": null, "hexValue": "31", - "id": 678, + "id": 684, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7006:1:1", + "src": "7107:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -36671,7 +36912,7 @@ "typeString": "int_const -1" } }, - "src": "6978:29:1", + "src": "7079:29:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -36683,20 +36924,20 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "6927:107:1" + "src": "7028:107:1" }, { "assignments": [ - 690 + 696 ], "declarations": [ { "constant": false, - "id": 690, + "id": 696, "name": "posLng", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "7040:12:1", + "scope": 1276, + "src": "7141:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36704,10 +36945,10 @@ "typeString": "int32" }, "typeName": { - "id": 689, + "id": 695, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "7040:5:1", + "src": "7141:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -36717,7 +36958,7 @@ "visibility": "internal" } ], - "id": 715, + "id": 721, "initialValue": { "argumentTypes": null, "condition": { @@ -36726,7 +36967,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 698, + "id": 704, "isConstant": false, "isLValue": false, "isPure": false, @@ -36737,14 +36978,14 @@ { "argumentTypes": null, "hexValue": "36", - "id": 693, + "id": 699, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7070:1:1", + "src": "7171:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_6_by_1", @@ -36762,32 +37003,32 @@ ], "expression": { "argumentTypes": null, - "id": 691, + "id": 697, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7055:5:1", + "referencedDeclaration": 644, + "src": "7156:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 692, + "id": 698, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "7055:14:1", + "referencedDeclaration": 3308, + "src": "7156:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 694, + "id": 700, "isConstant": false, "isLValue": false, "isPure": false, @@ -36795,7 +37036,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7055:17:1", + "src": "7156:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -36809,14 +37050,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 696, + "id": 702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7083:4:1", + "src": "7184:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -36832,20 +37073,20 @@ "typeString": "int_const 1" } ], - "id": 695, + "id": 701, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7076:6:1", + "src": "7177:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 697, + "id": 703, "isConstant": false, "isLValue": false, "isPure": true, @@ -36853,13 +37094,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7076:12:1", + "src": "7177:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "7055:33:1", + "src": "7156:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36874,14 +37115,14 @@ { "argumentTypes": null, "hexValue": "37", - "id": 711, + "id": 717, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7144:1:1", + "src": "7245:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_7_by_1", @@ -36899,32 +37140,32 @@ ], "expression": { "argumentTypes": null, - "id": 709, + "id": 715, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7129:5:1", + "referencedDeclaration": 644, + "src": "7230:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 710, + "id": 716, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7129:14:1", + "referencedDeclaration": 3282, + "src": "7230:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 712, + "id": 718, "isConstant": false, "isLValue": false, "isPure": false, @@ -36932,7 +37173,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7129:17:1", + "src": "7230:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36946,20 +37187,20 @@ "typeString": "bytes4" } ], - "id": 708, + "id": 714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7123:5:1", + "src": "7224:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 713, + "id": 719, "isConstant": false, "isLValue": false, "isPure": false, @@ -36967,26 +37208,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7123:24:1", + "src": "7224:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 714, + "id": 720, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "7055:92:1", + "src": "7156:92:1", "trueExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_int32", "typeString": "int32" }, - "id": 707, + "id": 713, "isConstant": false, "isLValue": false, "isPure": false, @@ -37000,14 +37241,14 @@ { "argumentTypes": null, "hexValue": "37", - "id": 702, + "id": 708, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7112:1:1", + "src": "7213:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_7_by_1", @@ -37025,32 +37266,32 @@ ], "expression": { "argumentTypes": null, - "id": 700, + "id": 706, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7097:5:1", + "referencedDeclaration": 644, + "src": "7198:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 701, + "id": 707, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes4", "nodeType": "MemberAccess", - "referencedDeclaration": 3269, - "src": "7097:14:1", + "referencedDeclaration": 3282, + "src": "7198:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes4_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes4)" } }, - "id": 703, + "id": 709, "isConstant": false, "isLValue": false, "isPure": false, @@ -37058,7 +37299,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7097:17:1", + "src": "7198:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -37072,20 +37313,20 @@ "typeString": "bytes4" } ], - "id": 699, + "id": 705, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7091:5:1", + "src": "7192:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int32_$", "typeString": "type(int32)" }, "typeName": "int32" }, - "id": 704, + "id": 710, "isConstant": false, "isLValue": false, "isPure": false, @@ -37093,7 +37334,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7091:24:1", + "src": "7192:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -37103,7 +37344,7 @@ "operator": "*", "rightExpression": { "argumentTypes": null, - "id": 706, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, @@ -37111,18 +37352,18 @@ "nodeType": "UnaryOperation", "operator": "-", "prefix": true, - "src": "7118:2:1", + "src": "7219:2:1", "subExpression": { "argumentTypes": null, "hexValue": "31", - "id": 705, + "id": 711, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7119:1:1", + "src": "7220:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -37135,7 +37376,7 @@ "typeString": "int_const -1" } }, - "src": "7091:29:1", + "src": "7192:29:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -37147,7 +37388,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "7040:107:1" + "src": "7141:107:1" }, { "condition": { @@ -37156,19 +37397,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 720, + "id": 726, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 716, + "id": 722, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "7157:5:1", + "referencedDeclaration": 662, + "src": "7258:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -37182,14 +37423,14 @@ { "argumentTypes": null, "hexValue": "30783331", - "id": 718, + "id": 724, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7173:4:1", + "src": "7274:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", @@ -37205,20 +37446,20 @@ "typeString": "int_const 49" } ], - "id": 717, + "id": 723, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "7166:6:1", + "src": "7267:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 719, + "id": 725, "isConstant": false, "isLValue": false, "isPure": true, @@ -37226,13 +37467,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7166:12:1", + "src": "7267:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "7157:21:1", + "src": "7258:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37245,19 +37486,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 881, + "id": 887, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 877, + "id": 883, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "8132:5:1", + "referencedDeclaration": 662, + "src": "8233:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -37271,14 +37512,14 @@ { "argumentTypes": null, "hexValue": "30783332", - "id": 879, + "id": 885, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8148:4:1", + "src": "8249:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", @@ -37294,20 +37535,20 @@ "typeString": "int_const 50" } ], - "id": 878, + "id": 884, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8141:6:1", + "src": "8242:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 880, + "id": 886, "isConstant": false, "isLValue": false, "isPure": true, @@ -37315,13 +37556,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8141:12:1", + "src": "8242:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "8132:21:1", + "src": "8233:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37334,19 +37575,19 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 1084, + "id": 1090, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1080, + "id": 1086, "name": "_func", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 656, - "src": "9342:5:1", + "referencedDeclaration": 662, + "src": "9443:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -37360,14 +37601,14 @@ { "argumentTypes": null, "hexValue": "30783333", - "id": 1082, + "id": 1088, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9358:4:1", + "src": "9459:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_51_by_1", @@ -37383,20 +37624,20 @@ "typeString": "int_const 51" } ], - "id": 1081, + "id": 1087, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "9351:6:1", + "src": "9452:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 1083, + "id": 1089, "isConstant": false, "isLValue": false, "isPure": true, @@ -37404,26 +37645,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9351:12:1", + "src": "9452:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "9342:21:1", + "src": "9443:21:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1266, + "id": 1272, "nodeType": "IfStatement", - "src": "9338:1647:1", + "src": "9439:1647:1", "trueBody": { - "id": 1265, + "id": 1271, "nodeType": "Block", - "src": "9365:1620:1", + "src": "9466:1620:1", "statements": [ { "expression": { @@ -37435,19 +37676,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1088, + "id": 1094, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1086, + "id": 1092, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9803:5:1", + "referencedDeclaration": 640, + "src": "9904:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37457,18 +37698,18 @@ "operator": "==", "rightExpression": { "argumentTypes": null, - "id": 1087, + "id": 1093, "name": "csoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "9812:10:1", + "src": "9913:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "9803:19:1", + "src": "9904:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37482,21 +37723,21 @@ "typeString": "bool" } ], - "id": 1085, + "id": 1091, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9795:7:1", + "referencedDeclaration": 3393, + "src": "9896:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1089, + "id": 1095, "isConstant": false, "isLValue": false, "isPure": false, @@ -37504,15 +37745,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9795:28:1", + "src": "9896:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1090, + "id": 1096, "nodeType": "ExpressionStatement", - "src": "9795:28:1" + "src": "9896:28:1" }, { "expression": { @@ -37524,19 +37765,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1099, + "id": 1105, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1092, + "id": 1098, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9885:6:1", + "referencedDeclaration": 642, + "src": "9986:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37548,32 +37789,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1093, + "id": 1099, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, - "src": "9895:11:1", + "referencedDeclaration": 2701, + "src": "9996:11:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1098, + "id": 1104, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1096, + "id": 1102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9922:2:1", + "src": "10023:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -37591,32 +37832,32 @@ ], "expression": { "argumentTypes": null, - "id": 1094, + "id": 1100, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9907:5:1", + "referencedDeclaration": 644, + "src": "10008:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1095, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "9907:14:1", + "referencedDeclaration": 3256, + "src": "10008:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1097, + "id": 1103, "isConstant": false, "isLValue": false, "isPure": false, @@ -37624,7 +37865,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9907:18:1", + "src": "10008:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -37635,13 +37876,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9895:31:1", + "src": "9996:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9885:41:1", + "src": "9986:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37655,21 +37896,21 @@ "typeString": "bool" } ], - "id": 1091, + "id": 1097, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9877:7:1", + "referencedDeclaration": 3393, + "src": "9978:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1100, + "id": 1106, "isConstant": false, "isLValue": false, "isPure": false, @@ -37677,15 +37918,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9877:50:1", + "src": "9978:50:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1101, + "id": 1107, "nodeType": "ExpressionStatement", - "src": "9877:50:1" + "src": "9978:50:1" }, { "expression": { @@ -37693,7 +37934,7 @@ "arguments": [ { "argumentTypes": null, - "id": 1111, + "id": 1117, "isConstant": false, "isLValue": false, "isPure": false, @@ -37701,7 +37942,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "9997:38:1", + "src": "10098:38:1", "subExpression": { "argumentTypes": null, "arguments": [ @@ -37714,14 +37955,14 @@ { "argumentTypes": null, "hexValue": "313039", - "id": 1107, + "id": 1113, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10029:3:1", + "src": "10130:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109_by_1", @@ -37739,32 +37980,32 @@ ], "expression": { "argumentTypes": null, - "id": 1105, + "id": 1111, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10013:5:1", + "referencedDeclaration": 644, + "src": "10114:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1106, + "id": 1112, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3139, - "src": "10013:15:1", + "referencedDeclaration": 3152, + "src": "10114:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (address)" } }, - "id": 1108, + "id": 1114, "isConstant": false, "isLValue": false, "isPure": false, @@ -37772,7 +38013,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10013:20:1", + "src": "10114:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37786,20 +38027,20 @@ "typeString": "address" } ], - "id": 1104, + "id": 1110, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10005:7:1", + "src": "10106:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1109, + "id": 1115, "isConstant": false, "isLValue": false, "isPure": false, @@ -37807,7 +38048,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10005:29:1", + "src": "10106:29:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37821,18 +38062,18 @@ "typeString": "address" } ], - "id": 1103, + "id": 1109, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "9998:6:1", + "referencedDeclaration": 2585, + "src": "10099:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1110, + "id": 1116, "isConstant": false, "isLValue": false, "isPure": false, @@ -37840,7 +38081,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9998:37:1", + "src": "10099:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37859,21 +38100,21 @@ "typeString": "bool" } ], - "id": 1102, + "id": 1108, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "9989:7:1", + "referencedDeclaration": 3393, + "src": "10090:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1112, + "id": 1118, "isConstant": false, "isLValue": false, "isPure": false, @@ -37881,15 +38122,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9989:47:1", + "src": "10090:47:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1113, + "id": 1119, "nodeType": "ExpressionStatement", - "src": "9989:47:1" + "src": "10090:47:1" }, { "expression": { @@ -37899,32 +38140,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1115, + "id": 1121, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "10082:17:1", + "referencedDeclaration": 2693, + "src": "10183:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 1120, + "id": 1126, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1118, + "id": 1124, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10115:2:1", + "src": "10216:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -37942,32 +38183,32 @@ ], "expression": { "argumentTypes": null, - "id": 1116, + "id": 1122, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10100:5:1", + "referencedDeclaration": 644, + "src": "10201:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1117, + "id": 1123, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10100:14:1", + "referencedDeclaration": 3256, + "src": "10201:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1119, + "id": 1125, "isConstant": false, "isLValue": false, "isPure": false, @@ -37975,7 +38216,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10100:18:1", + "src": "10201:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -37986,7 +38227,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10082:37:1", + "src": "10183:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -38000,21 +38241,21 @@ "typeString": "bool" } ], - "id": 1114, + "id": 1120, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "10074:7:1", + "referencedDeclaration": 3393, + "src": "10175:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1121, + "id": 1127, "isConstant": false, "isLValue": false, "isPure": false, @@ -38022,28 +38263,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10074:46:1", + "src": "10175:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1122, + "id": 1128, "nodeType": "ExpressionStatement", - "src": "10074:46:1" + "src": "10175:46:1" }, { "assignments": [ - 1124 + 1130 ], "declarations": [ { "constant": false, - "id": 1124, + "id": 1130, "name": "newShopAddress", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "10128:22:1", + "scope": 1276, + "src": "10229:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -38051,10 +38292,10 @@ "typeString": "address" }, "typeName": { - "id": 1123, + "id": 1129, "name": "address", "nodeType": "ElementaryTypeName", - "src": "10128:7:1", + "src": "10229:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -38064,21 +38305,21 @@ "visibility": "internal" } ], - "id": 1129, + "id": 1135, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "313039", - "id": 1127, + "id": 1133, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10169:3:1", + "src": "10270:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_109_by_1", @@ -38096,32 +38337,32 @@ ], "expression": { "argumentTypes": null, - "id": 1125, + "id": 1131, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10153:5:1", + "referencedDeclaration": 644, + "src": "10254:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1126, + "id": 1132, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 3139, - "src": "10153:15:1", + "referencedDeclaration": 3152, + "src": "10254:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_address_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (address)" } }, - "id": 1128, + "id": 1134, "isConstant": false, "isLValue": false, "isPure": false, @@ -38129,19 +38370,19 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10153:20:1", + "src": "10254:20:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "10128:45:1" + "src": "10229:45:1" }, { "expression": { "argumentTypes": null, - "id": 1135, + "id": 1141, "isConstant": false, "isLValue": false, "isPure": false, @@ -38152,26 +38393,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1130, + "id": 1136, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10181:4:1", + "referencedDeclaration": 574, + "src": "10282:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1132, + "id": 1138, "indexExpression": { "argumentTypes": null, - "id": 1131, + "id": 1137, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10186:14:1", + "referencedDeclaration": 1130, + "src": "10287:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -38182,21 +38423,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10181:20:1", + "src": "10282:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1133, + "id": 1139, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "10181:24:1", + "referencedDeclaration": 549, + "src": "10282:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -38206,31 +38447,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1134, + "id": 1140, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "10208:6:1", + "referencedDeclaration": 669, + "src": "10309:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "10181:33:1", + "src": "10282:33:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 1136, + "id": 1142, "nodeType": "ExpressionStatement", - "src": "10181:33:1" + "src": "10282:33:1" }, { "expression": { "argumentTypes": null, - "id": 1142, + "id": 1148, "isConstant": false, "isLValue": false, "isPure": false, @@ -38241,26 +38482,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1137, + "id": 1143, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10222:4:1", + "referencedDeclaration": 574, + "src": "10323:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1139, + "id": 1145, "indexExpression": { "argumentTypes": null, - "id": 1138, + "id": 1144, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10227:14:1", + "referencedDeclaration": 1130, + "src": "10328:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -38271,21 +38512,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10222:20:1", + "src": "10323:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1140, + "id": 1146, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "10222:24:1", + "referencedDeclaration": 551, + "src": "10323:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -38295,31 +38536,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1141, + "id": 1147, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "10249:6:1", + "referencedDeclaration": 696, + "src": "10350:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "10222:33:1", + "src": "10323:33:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 1143, + "id": 1149, "nodeType": "ExpressionStatement", - "src": "10222:33:1" + "src": "10323:33:1" }, { "expression": { "argumentTypes": null, - "id": 1152, + "id": 1158, "isConstant": false, "isLValue": false, "isPure": false, @@ -38330,26 +38571,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1144, + "id": 1150, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10263:4:1", + "referencedDeclaration": 574, + "src": "10364:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1146, + "id": 1152, "indexExpression": { "argumentTypes": null, - "id": 1145, + "id": 1151, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10268:14:1", + "referencedDeclaration": 1130, + "src": "10369:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -38360,21 +38601,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10263:20:1", + "src": "10364:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1147, + "id": 1153, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "10263:30:1", + "referencedDeclaration": 553, + "src": "10364:30:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -38388,14 +38629,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 1150, + "id": 1156, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10311:2:1", + "src": "10412:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -38413,32 +38654,32 @@ ], "expression": { "argumentTypes": null, - "id": 1148, + "id": 1154, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10296:5:1", + "referencedDeclaration": 644, + "src": "10397:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1149, + "id": 1155, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10296:14:1", + "referencedDeclaration": 3256, + "src": "10397:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1151, + "id": 1157, "isConstant": false, "isLValue": false, "isPure": false, @@ -38446,26 +38687,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10296:18:1", + "src": "10397:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "10263:51:1", + "src": "10364:51:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 1153, + "id": 1159, "nodeType": "ExpressionStatement", - "src": "10263:51:1" + "src": "10364:51:1" }, { "expression": { "argumentTypes": null, - "id": 1162, + "id": 1168, "isConstant": false, "isLValue": false, "isPure": false, @@ -38476,26 +38717,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1154, + "id": 1160, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10322:4:1", + "referencedDeclaration": 574, + "src": "10423:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1156, + "id": 1162, "indexExpression": { "argumentTypes": null, - "id": 1155, + "id": 1161, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10327:14:1", + "referencedDeclaration": 1130, + "src": "10428:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -38506,21 +38747,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10322:20:1", + "src": "10423:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1157, + "id": 1163, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "10322:31:1", + "referencedDeclaration": 555, + "src": "10423:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -38534,14 +38775,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 1160, + "id": 1166, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10372:2:1", + "src": "10473:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -38559,32 +38800,32 @@ ], "expression": { "argumentTypes": null, - "id": 1158, + "id": 1164, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10356:5:1", + "referencedDeclaration": 644, + "src": "10457:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1159, + "id": 1165, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10356:15:1", + "referencedDeclaration": 3230, + "src": "10457:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1161, + "id": 1167, "isConstant": false, "isLValue": false, "isPure": false, @@ -38592,26 +38833,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10356:19:1", + "src": "10457:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10322:53:1", + "src": "10423:53:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1163, + "id": 1169, "nodeType": "ExpressionStatement", - "src": "10322:53:1" + "src": "10423:53:1" }, { "expression": { "argumentTypes": null, - "id": 1172, + "id": 1178, "isConstant": false, "isLValue": false, "isPure": false, @@ -38622,26 +38863,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1164, + "id": 1170, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10383:4:1", + "referencedDeclaration": 574, + "src": "10484:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1166, + "id": 1172, "indexExpression": { "argumentTypes": null, - "id": 1165, + "id": 1171, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10388:14:1", + "referencedDeclaration": 1130, + "src": "10489:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -38652,21 +38893,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10383:20:1", + "src": "10484:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1167, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "10383:24:1", + "referencedDeclaration": 557, + "src": "10484:24:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -38680,14 +38921,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 1170, + "id": 1176, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10426:2:1", + "src": "10527:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -38705,32 +38946,32 @@ ], "expression": { "argumentTypes": null, - "id": 1168, + "id": 1174, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10410:5:1", + "referencedDeclaration": 644, + "src": "10511:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1169, + "id": 1175, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10410:15:1", + "referencedDeclaration": 3230, + "src": "10511:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1171, + "id": 1177, "isConstant": false, "isLValue": false, "isPure": false, @@ -38738,26 +38979,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10410:19:1", + "src": "10511:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10383:46:1", + "src": "10484:46:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1173, + "id": 1179, "nodeType": "ExpressionStatement", - "src": "10383:46:1" + "src": "10484:46:1" }, { "expression": { "argumentTypes": null, - "id": 1182, + "id": 1188, "isConstant": false, "isLValue": false, "isPure": false, @@ -38768,26 +39009,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1174, + "id": 1180, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10437:4:1", + "referencedDeclaration": 574, + "src": "10538:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1176, + "id": 1182, "indexExpression": { "argumentTypes": null, - "id": 1175, + "id": 1181, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10442:14:1", + "referencedDeclaration": 1130, + "src": "10543:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -38798,21 +39039,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10437:20:1", + "src": "10538:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1177, + "id": 1183, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "10437:25:1", + "referencedDeclaration": 559, + "src": "10538:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -38826,14 +39067,14 @@ { "argumentTypes": null, "hexValue": "3435", - "id": 1180, + "id": 1186, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10481:2:1", + "src": "10582:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_45_by_1", @@ -38851,32 +39092,32 @@ ], "expression": { "argumentTypes": null, - "id": 1178, + "id": 1184, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10465:5:1", + "referencedDeclaration": 644, + "src": "10566:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1179, + "id": 1185, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10465:15:1", + "referencedDeclaration": 3230, + "src": "10566:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1181, + "id": 1187, "isConstant": false, "isLValue": false, "isPure": false, @@ -38884,26 +39125,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10465:19:1", + "src": "10566:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10437:47:1", + "src": "10538:47:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1183, + "id": 1189, "nodeType": "ExpressionStatement", - "src": "10437:47:1" + "src": "10538:47:1" }, { "expression": { "argumentTypes": null, - "id": 1192, + "id": 1198, "isConstant": false, "isLValue": false, "isPure": false, @@ -38914,26 +39155,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1184, + "id": 1190, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10492:4:1", + "referencedDeclaration": 574, + "src": "10593:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1186, + "id": 1192, "indexExpression": { "argumentTypes": null, - "id": 1185, + "id": 1191, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10497:14:1", + "referencedDeclaration": 1130, + "src": "10598:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -38944,21 +39185,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10492:20:1", + "src": "10593:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1187, + "id": 1193, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "10492:32:1", + "referencedDeclaration": 561, + "src": "10593:32:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -38972,14 +39213,14 @@ { "argumentTypes": null, "hexValue": "3631", - "id": 1190, + "id": 1196, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10543:2:1", + "src": "10644:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_61_by_1", @@ -38997,32 +39238,32 @@ ], "expression": { "argumentTypes": null, - "id": 1188, + "id": 1194, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10527:5:1", + "referencedDeclaration": 644, + "src": "10628:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1189, + "id": 1195, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes32", "nodeType": "MemberAccess", - "referencedDeclaration": 3191, - "src": "10527:15:1", + "referencedDeclaration": 3204, + "src": "10628:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes32)" } }, - "id": 1191, + "id": 1197, "isConstant": false, "isLValue": false, "isPure": false, @@ -39030,26 +39271,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10527:19:1", + "src": "10628:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "10492:54:1", + "src": "10593:54:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1193, + "id": 1199, "nodeType": "ExpressionStatement", - "src": "10492:54:1" + "src": "10593:54:1" }, { "expression": { "argumentTypes": null, - "id": 1202, + "id": 1208, "isConstant": false, "isLValue": false, "isPure": false, @@ -39060,26 +39301,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1194, + "id": 1200, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10554:4:1", + "referencedDeclaration": 574, + "src": "10655:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1196, + "id": 1202, "indexExpression": { "argumentTypes": null, - "id": 1195, + "id": 1201, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10559:14:1", + "referencedDeclaration": 1130, + "src": "10660:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39090,21 +39331,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10554:20:1", + "src": "10655:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1197, + "id": 1203, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "10554:28:1", + "referencedDeclaration": 563, + "src": "10655:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -39118,14 +39359,14 @@ { "argumentTypes": null, "hexValue": "3933", - "id": 1200, + "id": 1206, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10601:2:1", + "src": "10702:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_93_by_1", @@ -39143,32 +39384,32 @@ ], "expression": { "argumentTypes": null, - "id": 1198, + "id": 1204, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10585:5:1", + "referencedDeclaration": 644, + "src": "10686:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1199, + "id": 1205, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10585:15:1", + "referencedDeclaration": 3230, + "src": "10686:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1201, + "id": 1207, "isConstant": false, "isLValue": false, "isPure": false, @@ -39176,26 +39417,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10585:19:1", + "src": "10686:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "10554:50:1", + "src": "10655:50:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1203, + "id": 1209, "nodeType": "ExpressionStatement", - "src": "10554:50:1" + "src": "10655:50:1" }, { "expression": { "argumentTypes": null, - "id": 1214, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -39206,26 +39447,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1204, + "id": 1210, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10612:4:1", + "referencedDeclaration": 574, + "src": "10713:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1206, + "id": 1212, "indexExpression": { "argumentTypes": null, - "id": 1205, + "id": 1211, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10617:14:1", + "referencedDeclaration": 1130, + "src": "10718:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39236,21 +39477,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10612:20:1", + "src": "10713:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1207, + "id": 1213, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "10612:33:1", + "referencedDeclaration": 567, + "src": "10713:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -39264,7 +39505,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1213, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -39274,12 +39515,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1210, + "id": 1216, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10663:14:1", + "referencedDeclaration": 1130, + "src": "10764:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39295,18 +39536,18 @@ ], "expression": { "argumentTypes": null, - "id": 1208, + "id": 1214, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "10648:9:1", + "referencedDeclaration": 584, + "src": "10749:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1209, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": false, @@ -39314,13 +39555,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10648:14:1", + "src": "10749:14:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1211, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -39328,7 +39569,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10648:30:1", + "src": "10749:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -39339,14 +39580,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1212, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10681:1:1", + "src": "10782:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -39354,26 +39595,26 @@ }, "value": "1" }, - "src": "10648:34:1", + "src": "10749:34:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10612:70:1", + "src": "10713:70:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1215, + "id": 1221, "nodeType": "ExpressionStatement", - "src": "10612:70:1" + "src": "10713:70:1" }, { "expression": { "argumentTypes": null, - "id": 1236, + "id": 1242, "isConstant": false, "isLValue": false, "isPure": false, @@ -39384,26 +39625,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1216, + "id": 1222, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10690:4:1", + "referencedDeclaration": 574, + "src": "10791:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1218, + "id": 1224, "indexExpression": { "argumentTypes": null, - "id": 1217, + "id": 1223, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10695:14:1", + "referencedDeclaration": 1130, + "src": "10796:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39414,21 +39655,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10690:20:1", + "src": "10791:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1219, + "id": 1225, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "10690:30:1", + "referencedDeclaration": 565, + "src": "10791:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -39442,7 +39683,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1235, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": false, @@ -39452,12 +39693,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1232, + "id": 1238, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10780:14:1", + "referencedDeclaration": 1130, + "src": "10881:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39477,32 +39718,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1220, + "id": 1226, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "10723:10:1", + "referencedDeclaration": 581, + "src": "10824:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1225, + "id": 1231, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1223, + "id": 1229, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10749:2:1", + "src": "10850:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -39520,32 +39761,32 @@ ], "expression": { "argumentTypes": null, - "id": 1221, + "id": 1227, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10734:5:1", + "referencedDeclaration": 644, + "src": "10835:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1222, + "id": 1228, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "10734:14:1", + "referencedDeclaration": 3256, + "src": "10835:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1224, + "id": 1230, "isConstant": false, "isLValue": false, "isPure": false, @@ -39553,7 +39794,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10734:18:1", + "src": "10835:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -39564,27 +39805,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10723:30:1", + "src": "10824:30:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1230, + "id": 1236, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 1228, + "id": 1234, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10770:2:1", + "src": "10871:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -39602,32 +39843,32 @@ ], "expression": { "argumentTypes": null, - "id": 1226, + "id": 1232, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "10754:5:1", + "referencedDeclaration": 644, + "src": "10855:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1227, + "id": 1233, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "10754:15:1", + "referencedDeclaration": 3230, + "src": "10855:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1229, + "id": 1235, "isConstant": false, "isLValue": false, "isPure": false, @@ -39635,7 +39876,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10754:19:1", + "src": "10855:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -39646,13 +39887,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10723:51:1", + "src": "10824:51:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1231, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": false, @@ -39660,13 +39901,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "10723:56:1", + "src": "10824:56:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1233, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": false, @@ -39674,7 +39915,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10723:72:1", + "src": "10824:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -39685,14 +39926,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1234, + "id": 1240, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10798:1:1", + "src": "10899:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -39700,26 +39941,26 @@ }, "value": "1" }, - "src": "10723:76:1", + "src": "10824:76:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "10690:109:1", + "src": "10791:109:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1237, + "id": 1243, "nodeType": "ExpressionStatement", - "src": "10690:109:1" + "src": "10791:109:1" }, { "expression": { "argumentTypes": null, - "id": 1243, + "id": 1249, "isConstant": false, "isLValue": false, "isPure": false, @@ -39730,26 +39971,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1238, + "id": 1244, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "10807:4:1", + "referencedDeclaration": 574, + "src": "10908:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 1240, + "id": 1246, "indexExpression": { "argumentTypes": null, - "id": 1239, + "id": 1245, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10812:14:1", + "referencedDeclaration": 1130, + "src": "10913:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39760,21 +40001,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10807:20:1", + "src": "10908:20:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 1241, + "id": 1247, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "detherShop", "nodeType": "MemberAccess", - "referencedDeclaration": 563, - "src": "10807:31:1", + "referencedDeclaration": 569, + "src": "10908:31:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -39785,14 +40026,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 1242, + "id": 1248, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10841:4:1", + "src": "10942:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -39800,15 +40041,15 @@ }, "value": "true" }, - "src": "10807:38:1", + "src": "10908:38:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1244, + "id": 1250, "nodeType": "ExpressionStatement", - "src": "10807:38:1" + "src": "10908:38:1" }, { "eventCall": { @@ -39816,12 +40057,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1246, + "id": 1252, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10871:14:1", + "referencedDeclaration": 1130, + "src": "10972:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39835,18 +40076,18 @@ "typeString": "address" } ], - "id": 1245, + "id": 1251, "name": "RegisterShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 421, - "src": "10858:12:1", + "referencedDeclaration": 427, + "src": "10959:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1247, + "id": 1253, "isConstant": false, "isLValue": false, "isPure": false, @@ -39854,15 +40095,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10858:28:1", + "src": "10959:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1248, + "id": 1254, "nodeType": "EmitStatement", - "src": "10853:33:1" + "src": "10954:33:1" }, { "expression": { @@ -39870,12 +40111,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1252, + "id": 1258, "name": "newShopAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1124, - "src": "10912:14:1", + "referencedDeclaration": 1130, + "src": "11013:14:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -39883,12 +40124,12 @@ }, { "argumentTypes": null, - "id": 1253, + "id": 1259, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "10928:6:1", + "referencedDeclaration": 642, + "src": "11029:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -39908,18 +40149,18 @@ ], "expression": { "argumentTypes": null, - "id": 1249, + "id": 1255, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "10894:4:1", + "referencedDeclaration": 479, + "src": "10995:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1251, + "id": 1257, "isConstant": false, "isLValue": false, "isPure": false, @@ -39927,13 +40168,13 @@ "memberName": "addTokenShop", "nodeType": "MemberAccess", "referencedDeclaration": 324, - "src": "10894:17:1", + "src": "10995:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 1254, + "id": 1260, "isConstant": false, "isLValue": false, "isPure": false, @@ -39941,15 +40182,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10894:41:1", + "src": "10995:41:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1255, + "id": 1261, "nodeType": "ExpressionStatement", - "src": "10894:41:1" + "src": "10995:41:1" }, { "expression": { @@ -39960,12 +40201,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1260, + "id": 1266, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "10964:4:1", + "referencedDeclaration": 479, + "src": "11065:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -39979,20 +40220,20 @@ "typeString": "contract DetherBank" } ], - "id": 1259, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "10956:7:1", + "src": "11057:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1261, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": false, @@ -40000,7 +40241,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10956:13:1", + "src": "11057:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40008,12 +40249,12 @@ }, { "argumentTypes": null, - "id": 1262, + "id": 1268, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "10971:6:1", + "referencedDeclaration": 642, + "src": "11072:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -40033,32 +40274,32 @@ ], "expression": { "argumentTypes": null, - "id": 1256, + "id": 1262, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "10943:3:1", + "referencedDeclaration": 477, + "src": "11044:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 1258, + "id": 1264, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "10943:12:1", + "referencedDeclaration": 3366, + "src": "11044:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 1263, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -40066,26 +40307,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10943:35:1", + "src": "11044:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1264, + "id": 1270, "nodeType": "ExpressionStatement", - "src": "10943:35:1" + "src": "11044:35:1" } ] } }, - "id": 1267, + "id": 1273, "nodeType": "IfStatement", - "src": "8128:2857:1", + "src": "8229:2857:1", "trueBody": { - "id": 1079, + "id": 1085, "nodeType": "Block", - "src": "8155:1177:1", + "src": "8256:1177:1", "statements": [ { "expression": { @@ -40097,19 +40338,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 890, + "id": 896, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 883, + "id": 889, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8264:6:1", + "referencedDeclaration": 642, + "src": "8365:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -40121,32 +40362,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 884, + "id": 890, "name": "licenceTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2692, - "src": "8274:13:1", + "referencedDeclaration": 2705, + "src": "8375:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 889, + "id": 895, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 887, + "id": 893, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8303:2:1", + "src": "8404:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -40164,32 +40405,32 @@ ], "expression": { "argumentTypes": null, - "id": 885, + "id": 891, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8288:5:1", + "referencedDeclaration": 644, + "src": "8389:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 886, + "id": 892, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8288:14:1", + "referencedDeclaration": 3256, + "src": "8389:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 888, + "id": 894, "isConstant": false, "isLValue": false, "isPure": false, @@ -40197,7 +40438,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8288:18:1", + "src": "8389:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -40208,13 +40449,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8274:33:1", + "src": "8375:33:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "8264:43:1", + "src": "8365:43:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -40228,21 +40469,21 @@ "typeString": "bool" } ], - "id": 882, + "id": 888, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8256:7:1", + "referencedDeclaration": 3393, + "src": "8357:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 891, + "id": 897, "isConstant": false, "isLValue": false, "isPure": false, @@ -40250,15 +40491,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8256:52:1", + "src": "8357:52:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 892, + "id": 898, "nodeType": "ExpressionStatement", - "src": "8256:52:1" + "src": "8357:52:1" }, { "expression": { @@ -40266,7 +40507,7 @@ "arguments": [ { "argumentTypes": null, - "id": 897, + "id": 903, "isConstant": false, "isLValue": false, "isPure": false, @@ -40274,18 +40515,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "8365:16:1", + "src": "8466:16:1", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 895, + "id": 901, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8375:5:1", + "referencedDeclaration": 640, + "src": "8476:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40299,18 +40540,18 @@ "typeString": "address" } ], - "id": 894, + "id": 900, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "8366:8:1", + "referencedDeclaration": 2629, + "src": "8467:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 896, + "id": 902, "isConstant": false, "isLValue": false, "isPure": false, @@ -40318,7 +40559,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8366:15:1", + "src": "8467:15:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -40337,21 +40578,21 @@ "typeString": "bool" } ], - "id": 893, + "id": 899, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8357:7:1", + "referencedDeclaration": 3393, + "src": "8458:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 898, + "id": 904, "isConstant": false, "isLValue": false, "isPure": false, @@ -40359,15 +40600,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8357:25:1", + "src": "8458:25:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 899, + "id": 905, "nodeType": "ExpressionStatement", - "src": "8357:25:1" + "src": "8458:25:1" }, { "expression": { @@ -40377,32 +40618,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 901, + "id": 907, "name": "openedCountryTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2684, - "src": "8428:19:1", + "referencedDeclaration": 2697, + "src": "8529:19:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 906, + "id": 912, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 904, + "id": 910, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8463:2:1", + "src": "8564:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -40420,32 +40661,32 @@ ], "expression": { "argumentTypes": null, - "id": 902, + "id": 908, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8448:5:1", + "referencedDeclaration": 644, + "src": "8549:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 903, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8448:14:1", + "referencedDeclaration": 3256, + "src": "8549:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 905, + "id": 911, "isConstant": false, "isLValue": false, "isPure": false, @@ -40453,7 +40694,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8448:18:1", + "src": "8549:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -40464,7 +40705,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8428:39:1", + "src": "8529:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -40478,21 +40719,21 @@ "typeString": "bool" } ], - "id": 900, + "id": 906, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "8420:7:1", + "referencedDeclaration": 3393, + "src": "8521:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 907, + "id": 913, "isConstant": false, "isLValue": false, "isPure": false, @@ -40500,20 +40741,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8420:48:1", + "src": "8521:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 908, + "id": 914, "nodeType": "ExpressionStatement", - "src": "8420:48:1" + "src": "8521:48:1" }, { "expression": { "argumentTypes": null, - "id": 914, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, @@ -40524,26 +40765,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 909, + "id": 915, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8477:6:1", + "referencedDeclaration": 534, + "src": "8578:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 911, + "id": 917, "indexExpression": { "argumentTypes": null, - "id": 910, + "id": 916, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8484:5:1", + "referencedDeclaration": 640, + "src": "8585:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40554,21 +40795,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8477:13:1", + "src": "8578:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 912, + "id": 918, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 477, - "src": "8477:17:1", + "referencedDeclaration": 483, + "src": "8578:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -40578,31 +40819,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 913, + "id": 919, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "8497:6:1", + "referencedDeclaration": 669, + "src": "8598:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "8477:26:1", + "src": "8578:26:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 915, + "id": 921, "nodeType": "ExpressionStatement", - "src": "8477:26:1" + "src": "8578:26:1" }, { "expression": { "argumentTypes": null, - "id": 921, + "id": 927, "isConstant": false, "isLValue": false, "isPure": false, @@ -40613,26 +40854,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 916, + "id": 922, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8511:6:1", + "referencedDeclaration": 534, + "src": "8612:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 918, + "id": 924, "indexExpression": { "argumentTypes": null, - "id": 917, + "id": 923, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8518:5:1", + "referencedDeclaration": 640, + "src": "8619:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40643,21 +40884,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8511:13:1", + "src": "8612:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 919, + "id": 925, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 479, - "src": "8511:17:1", + "referencedDeclaration": 485, + "src": "8612:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -40667,31 +40908,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 920, + "id": 926, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "8531:6:1", + "referencedDeclaration": 696, + "src": "8632:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "8511:26:1", + "src": "8612:26:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 922, + "id": 928, "nodeType": "ExpressionStatement", - "src": "8511:26:1" + "src": "8612:26:1" }, { "expression": { "argumentTypes": null, - "id": 931, + "id": 937, "isConstant": false, "isLValue": false, "isPure": false, @@ -40702,26 +40943,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 923, + "id": 929, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8545:6:1", + "referencedDeclaration": 534, + "src": "8646:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 925, + "id": 931, "indexExpression": { "argumentTypes": null, - "id": 924, + "id": 930, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8552:5:1", + "referencedDeclaration": 640, + "src": "8653:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40732,21 +40973,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8545:13:1", + "src": "8646:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 926, + "id": 932, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "8545:23:1", + "referencedDeclaration": 487, + "src": "8646:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -40760,14 +41001,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 929, + "id": 935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8586:2:1", + "src": "8687:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -40785,32 +41026,32 @@ ], "expression": { "argumentTypes": null, - "id": 927, + "id": 933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8571:5:1", + "referencedDeclaration": 644, + "src": "8672:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 928, + "id": 934, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8571:14:1", + "referencedDeclaration": 3256, + "src": "8672:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 930, + "id": 936, "isConstant": false, "isLValue": false, "isPure": false, @@ -40818,26 +41059,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8571:18:1", + "src": "8672:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "8545:44:1", + "src": "8646:44:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 932, + "id": 938, "nodeType": "ExpressionStatement", - "src": "8545:44:1" + "src": "8646:44:1" }, { "expression": { "argumentTypes": null, - "id": 941, + "id": 947, "isConstant": false, "isLValue": false, "isPure": false, @@ -40848,26 +41089,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 933, + "id": 939, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8597:6:1", + "referencedDeclaration": 534, + "src": "8698:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 935, + "id": 941, "indexExpression": { "argumentTypes": null, - "id": 934, + "id": 940, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8604:5:1", + "referencedDeclaration": 640, + "src": "8705:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -40878,21 +41119,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8597:13:1", + "src": "8698:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 936, + "id": 942, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "8597:24:1", + "referencedDeclaration": 489, + "src": "8698:24:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -40906,14 +41147,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 939, + "id": 945, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8640:2:1", + "src": "8741:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -40931,32 +41172,32 @@ ], "expression": { "argumentTypes": null, - "id": 937, + "id": 943, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8624:5:1", + "referencedDeclaration": 644, + "src": "8725:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 938, + "id": 944, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "8624:15:1", + "referencedDeclaration": 3230, + "src": "8725:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 940, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -40964,26 +41205,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8624:19:1", + "src": "8725:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "8597:46:1", + "src": "8698:46:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 942, + "id": 948, "nodeType": "ExpressionStatement", - "src": "8597:46:1" + "src": "8698:46:1" }, { "expression": { "argumentTypes": null, - "id": 953, + "id": 959, "isConstant": false, "isLValue": false, "isPure": false, @@ -40994,26 +41235,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 943, + "id": 949, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8651:6:1", + "referencedDeclaration": 534, + "src": "8752:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 945, + "id": 951, "indexExpression": { "argumentTypes": null, - "id": 944, + "id": 950, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8658:5:1", + "referencedDeclaration": 640, + "src": "8759:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41024,21 +41265,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8651:13:1", + "src": "8752:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 946, + "id": 952, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "8651:22:1", + "referencedDeclaration": 495, + "src": "8752:22:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -41055,14 +41296,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 950, + "id": 956, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8696:2:1", + "src": "8797:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -41080,32 +41321,32 @@ ], "expression": { "argumentTypes": null, - "id": 948, + "id": 954, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8681:5:1", + "referencedDeclaration": 644, + "src": "8782:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 949, + "id": 955, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8681:14:1", + "referencedDeclaration": 3308, + "src": "8782:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 951, + "id": 957, "isConstant": false, "isLValue": false, "isPure": false, @@ -41113,7 +41354,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8681:18:1", + "src": "8782:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -41127,20 +41368,20 @@ "typeString": "bytes1" } ], - "id": 947, + "id": 953, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8676:4:1", + "src": "8777:4:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int8_$", "typeString": "type(int8)" }, "typeName": "int8" }, - "id": 952, + "id": 958, "isConstant": false, "isLValue": false, "isPure": false, @@ -41148,26 +41389,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8676:24:1", + "src": "8777:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "8651:49:1", + "src": "8752:49:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 954, + "id": 960, "nodeType": "ExpressionStatement", - "src": "8651:49:1" + "src": "8752:49:1" }, { "expression": { "argumentTypes": null, - "id": 965, + "id": 971, "isConstant": false, "isLValue": false, "isPure": false, @@ -41178,26 +41419,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 955, + "id": 961, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8708:6:1", + "referencedDeclaration": 534, + "src": "8809:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 957, + "id": 963, "indexExpression": { "argumentTypes": null, - "id": 956, + "id": 962, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8715:5:1", + "referencedDeclaration": 640, + "src": "8816:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41208,21 +41449,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8708:13:1", + "src": "8809:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 958, + "id": 964, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "8708:24:1", + "referencedDeclaration": 491, + "src": "8809:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -41239,14 +41480,14 @@ { "argumentTypes": null, "hexValue": "3330", - "id": 962, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8755:2:1", + "src": "8856:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_30_by_1", @@ -41264,32 +41505,32 @@ ], "expression": { "argumentTypes": null, - "id": 960, + "id": 966, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8740:5:1", + "referencedDeclaration": 644, + "src": "8841:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 961, + "id": 967, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8740:14:1", + "referencedDeclaration": 3308, + "src": "8841:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 963, + "id": 969, "isConstant": false, "isLValue": false, "isPure": false, @@ -41297,7 +41538,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8740:18:1", + "src": "8841:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -41311,20 +41552,20 @@ "typeString": "bytes1" } ], - "id": 959, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8735:4:1", + "src": "8836:4:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int8_$", "typeString": "type(int8)" }, "typeName": "int8" }, - "id": 964, + "id": 970, "isConstant": false, "isLValue": false, "isPure": false, @@ -41332,26 +41573,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8735:24:1", + "src": "8836:24:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "8708:51:1", + "src": "8809:51:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 966, + "id": 972, "nodeType": "ExpressionStatement", - "src": "8708:51:1" + "src": "8809:51:1" }, { "expression": { "argumentTypes": null, - "id": 975, + "id": 981, "isConstant": false, "isLValue": false, "isPure": false, @@ -41362,26 +41603,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 967, + "id": 973, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8767:6:1", + "referencedDeclaration": 534, + "src": "8868:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 969, + "id": 975, "indexExpression": { "argumentTypes": null, - "id": 968, + "id": 974, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8774:5:1", + "referencedDeclaration": 640, + "src": "8875:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41392,21 +41633,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8767:13:1", + "src": "8868:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 970, + "id": 976, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "8767:23:1", + "referencedDeclaration": 493, + "src": "8868:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -41420,14 +41661,14 @@ { "argumentTypes": null, "hexValue": "3331", - "id": 973, + "id": 979, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8809:2:1", + "src": "8910:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_31_by_1", @@ -41445,32 +41686,32 @@ ], "expression": { "argumentTypes": null, - "id": 971, + "id": 977, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8793:5:1", + "referencedDeclaration": 644, + "src": "8894:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 972, + "id": 978, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "8793:15:1", + "referencedDeclaration": 3230, + "src": "8894:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 974, + "id": 980, "isConstant": false, "isLValue": false, "isPure": false, @@ -41478,26 +41719,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8793:19:1", + "src": "8894:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "8767:45:1", + "src": "8868:45:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 976, + "id": 982, "nodeType": "ExpressionStatement", - "src": "8767:45:1" + "src": "8868:45:1" }, { "expression": { "argumentTypes": null, - "id": 987, + "id": 993, "isConstant": false, "isLValue": false, "isPure": false, @@ -41508,26 +41749,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 977, + "id": 983, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8820:6:1", + "referencedDeclaration": 534, + "src": "8921:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 979, + "id": 985, "indexExpression": { "argumentTypes": null, - "id": 978, + "id": 984, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8827:5:1", + "referencedDeclaration": 640, + "src": "8928:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41538,21 +41779,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8820:13:1", + "src": "8921:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 980, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "8820:19:1", + "referencedDeclaration": 497, + "src": "8921:19:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -41569,14 +41810,14 @@ { "argumentTypes": null, "hexValue": "3437", - "id": 984, + "id": 990, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8863:2:1", + "src": "8964:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_47_by_1", @@ -41594,32 +41835,32 @@ ], "expression": { "argumentTypes": null, - "id": 982, + "id": 988, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8848:5:1", + "referencedDeclaration": 644, + "src": "8949:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 983, + "id": 989, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8848:14:1", + "referencedDeclaration": 3256, + "src": "8949:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 985, + "id": 991, "isConstant": false, "isLValue": false, "isPure": false, @@ -41627,7 +41868,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8848:18:1", + "src": "8949:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -41641,20 +41882,20 @@ "typeString": "bytes2" } ], - "id": 981, + "id": 987, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8842:5:1", + "src": "8943:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int16_$", "typeString": "type(int16)" }, "typeName": "int16" }, - "id": 986, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, @@ -41662,26 +41903,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8842:25:1", + "src": "8943:25:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "8820:47:1", + "src": "8921:47:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 988, + "id": 994, "nodeType": "ExpressionStatement", - "src": "8820:47:1" + "src": "8921:47:1" }, { "expression": { "argumentTypes": null, - "id": 1004, + "id": 1010, "isConstant": false, "isLValue": false, "isPure": false, @@ -41692,26 +41933,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 989, + "id": 995, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8875:6:1", + "referencedDeclaration": 534, + "src": "8976:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 991, + "id": 997, "indexExpression": { "argumentTypes": null, - "id": 990, + "id": 996, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8882:5:1", + "referencedDeclaration": 640, + "src": "8983:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41722,21 +41963,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8875:13:1", + "src": "8976:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 992, + "id": 998, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "buyer", "nodeType": "MemberAccess", - "referencedDeclaration": 493, - "src": "8875:19:1", + "referencedDeclaration": 499, + "src": "8976:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -41752,7 +41993,7 @@ "typeIdentifier": "t_bytes1", "typeString": "bytes1" }, - "id": 1000, + "id": 1006, "isConstant": false, "isLValue": false, "isPure": false, @@ -41763,14 +42004,14 @@ { "argumentTypes": null, "hexValue": "3439", - "id": 995, + "id": 1001, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8912:2:1", + "src": "9013:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", @@ -41788,32 +42029,32 @@ ], "expression": { "argumentTypes": null, - "id": 993, + "id": 999, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8897:5:1", + "referencedDeclaration": 644, + "src": "8998:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 994, + "id": 1000, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes1", "nodeType": "MemberAccess", - "referencedDeclaration": 3295, - "src": "8897:14:1", + "referencedDeclaration": 3308, + "src": "8998:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes1_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes1)" } }, - "id": 996, + "id": 1002, "isConstant": false, "isLValue": false, "isPure": false, @@ -41821,7 +42062,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8897:18:1", + "src": "8998:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -41835,14 +42076,14 @@ { "argumentTypes": null, "hexValue": "30783031", - "id": 998, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8926:4:1", + "src": "9027:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -41858,20 +42099,20 @@ "typeString": "int_const 1" } ], - "id": 997, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8919:6:1", + "src": "9020:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": "bytes1" }, - "id": 999, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": true, @@ -41879,13 +42120,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8919:12:1", + "src": "9020:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "8897:34:1", + "src": "8998:34:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -41894,14 +42135,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "66616c7365", - "id": 1002, + "id": 1008, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8941:5:1", + "src": "9042:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -41909,24 +42150,24 @@ }, "value": "false" }, - "id": 1003, + "id": 1009, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "8897:49:1", + "src": "8998:49:1", "trueExpression": { "argumentTypes": null, "hexValue": "74727565", - "id": 1001, + "id": 1007, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "8934:4:1", + "src": "9035:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -41939,20 +42180,20 @@ "typeString": "bool" } }, - "src": "8875:71:1", + "src": "8976:71:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1005, + "id": 1011, "nodeType": "ExpressionStatement", - "src": "8875:71:1" + "src": "8976:71:1" }, { "expression": { "argumentTypes": null, - "id": 1016, + "id": 1022, "isConstant": false, "isLValue": false, "isPure": false, @@ -41963,26 +42204,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1006, + "id": 1012, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "8954:6:1", + "referencedDeclaration": 534, + "src": "9055:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1008, + "id": 1014, "indexExpression": { "argumentTypes": null, - "id": 1007, + "id": 1013, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8961:5:1", + "referencedDeclaration": 640, + "src": "9062:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -41993,21 +42234,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "8954:13:1", + "src": "9055:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1009, + "id": 1015, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "buyRates", "nodeType": "MemberAccess", - "referencedDeclaration": 495, - "src": "8954:22:1", + "referencedDeclaration": 501, + "src": "9055:22:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -42024,14 +42265,14 @@ { "argumentTypes": null, "hexValue": "3530", - "id": 1013, + "id": 1019, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9000:2:1", + "src": "9101:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", @@ -42049,32 +42290,32 @@ ], "expression": { "argumentTypes": null, - "id": 1011, + "id": 1017, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "8985:5:1", + "referencedDeclaration": 644, + "src": "9086:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1012, + "id": 1018, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "8985:14:1", + "referencedDeclaration": 3256, + "src": "9086:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1014, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -42082,7 +42323,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8985:18:1", + "src": "9086:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -42096,20 +42337,20 @@ "typeString": "bytes2" } ], - "id": 1010, + "id": 1016, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8979:5:1", + "src": "9080:5:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_int16_$", "typeString": "type(int16)" }, "typeName": "int16" }, - "id": 1015, + "id": 1021, "isConstant": false, "isLValue": false, "isPure": false, @@ -42117,26 +42358,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8979:25:1", + "src": "9080:25:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "8954:50:1", + "src": "9055:50:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 1017, + "id": 1023, "nodeType": "ExpressionStatement", - "src": "8954:50:1" + "src": "9055:50:1" }, { "expression": { "argumentTypes": null, - "id": 1028, + "id": 1034, "isConstant": false, "isLValue": false, "isPure": false, @@ -42147,26 +42388,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1018, + "id": 1024, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9012:6:1", + "referencedDeclaration": 534, + "src": "9113:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1020, + "id": 1026, "indexExpression": { "argumentTypes": null, - "id": 1019, + "id": 1025, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9019:5:1", + "referencedDeclaration": 640, + "src": "9120:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42177,21 +42418,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9012:13:1", + "src": "9113:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1021, + "id": 1027, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "9012:26:1", + "referencedDeclaration": 505, + "src": "9113:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -42205,7 +42446,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1027, + "id": 1033, "isConstant": false, "isLValue": false, "isPure": false, @@ -42215,12 +42456,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1024, + "id": 1030, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9058:5:1", + "referencedDeclaration": 640, + "src": "9159:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42236,18 +42477,18 @@ ], "expression": { "argumentTypes": null, - "id": 1022, + "id": 1028, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "9041:11:1", + "referencedDeclaration": 544, + "src": "9142:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1023, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, @@ -42255,13 +42496,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9041:16:1", + "src": "9142:16:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1025, + "id": 1031, "isConstant": false, "isLValue": false, "isPure": false, @@ -42269,7 +42510,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9041:23:1", + "src": "9142:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -42280,14 +42521,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1026, + "id": 1032, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9067:1:1", + "src": "9168:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -42295,26 +42536,26 @@ }, "value": "1" }, - "src": "9041:27:1", + "src": "9142:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9012:56:1", + "src": "9113:56:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1029, + "id": 1035, "nodeType": "ExpressionStatement", - "src": "9012:56:1" + "src": "9113:56:1" }, { "expression": { "argumentTypes": null, - "id": 1050, + "id": 1056, "isConstant": false, "isLValue": false, "isPure": false, @@ -42325,26 +42566,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1030, + "id": 1036, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9076:6:1", + "referencedDeclaration": 534, + "src": "9177:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1032, + "id": 1038, "indexExpression": { "argumentTypes": null, - "id": 1031, + "id": 1037, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9083:5:1", + "referencedDeclaration": 640, + "src": "9184:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42355,21 +42596,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9076:13:1", + "src": "9177:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1033, + "id": 1039, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "9076:23:1", + "referencedDeclaration": 503, + "src": "9177:23:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -42383,7 +42624,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1049, + "id": 1055, "isConstant": false, "isLValue": false, "isPure": false, @@ -42393,12 +42634,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1046, + "id": 1052, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9161:5:1", + "referencedDeclaration": 640, + "src": "9262:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42418,32 +42659,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1034, + "id": 1040, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "9102:12:1", + "referencedDeclaration": 541, + "src": "9203:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1039, + "id": 1045, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 1037, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9130:2:1", + "src": "9231:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -42461,32 +42702,32 @@ ], "expression": { "argumentTypes": null, - "id": 1035, + "id": 1041, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9115:5:1", + "referencedDeclaration": 644, + "src": "9216:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1036, + "id": 1042, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "9115:14:1", + "referencedDeclaration": 3256, + "src": "9216:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 1038, + "id": 1044, "isConstant": false, "isLValue": false, "isPure": false, @@ -42494,7 +42735,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9115:18:1", + "src": "9216:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -42505,27 +42746,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9102:32:1", + "src": "9203:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1044, + "id": 1050, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 1042, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9151:2:1", + "src": "9252:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -42543,32 +42784,32 @@ ], "expression": { "argumentTypes": null, - "id": 1040, + "id": 1046, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "9135:5:1", + "referencedDeclaration": 644, + "src": "9236:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1041, + "id": 1047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "9135:15:1", + "referencedDeclaration": 3230, + "src": "9236:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 1043, + "id": 1049, "isConstant": false, "isLValue": false, "isPure": false, @@ -42576,7 +42817,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9135:19:1", + "src": "9236:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -42587,13 +42828,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9102:53:1", + "src": "9203:53:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1045, + "id": 1051, "isConstant": false, "isLValue": false, "isPure": false, @@ -42601,13 +42842,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "9102:58:1", + "src": "9203:58:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 1047, + "id": 1053, "isConstant": false, "isLValue": false, "isPure": false, @@ -42615,7 +42856,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9102:65:1", + "src": "9203:65:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -42626,14 +42867,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1048, + "id": 1054, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9170:1:1", + "src": "9271:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -42641,26 +42882,26 @@ }, "value": "1" }, - "src": "9102:69:1", + "src": "9203:69:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "9076:95:1", + "src": "9177:95:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1051, + "id": 1057, "nodeType": "ExpressionStatement", - "src": "9076:95:1" + "src": "9177:95:1" }, { "expression": { "argumentTypes": null, - "id": 1057, + "id": 1063, "isConstant": false, "isLValue": false, "isPure": false, @@ -42671,26 +42912,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1052, + "id": 1058, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "9179:6:1", + "referencedDeclaration": 534, + "src": "9280:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1054, + "id": 1060, "indexExpression": { "argumentTypes": null, - "id": 1053, + "id": 1059, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9186:5:1", + "referencedDeclaration": 640, + "src": "9287:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42701,21 +42942,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "9179:13:1", + "src": "9280:13:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1055, + "id": 1061, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "9179:20:1", + "referencedDeclaration": 507, + "src": "9280:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -42726,14 +42967,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "74727565", - "id": 1056, + "id": 1062, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "9202:4:1", + "src": "9303:4:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -42741,15 +42982,15 @@ }, "value": "true" }, - "src": "9179:27:1", + "src": "9280:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1058, + "id": 1064, "nodeType": "ExpressionStatement", - "src": "9179:27:1" + "src": "9280:27:1" }, { "eventCall": { @@ -42757,12 +42998,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1060, + "id": 1066, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9234:5:1", + "referencedDeclaration": 640, + "src": "9335:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42776,18 +43017,18 @@ "typeString": "address" } ], - "id": 1059, + "id": 1065, "name": "RegisterTeller", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 401, - "src": "9219:14:1", + "src": "9320:14:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1061, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": false, @@ -42795,15 +43036,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9219:21:1", + "src": "9320:21:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1062, + "id": 1068, "nodeType": "EmitStatement", - "src": "9214:26:1" + "src": "9315:26:1" }, { "expression": { @@ -42811,12 +43052,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1066, + "id": 1072, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "9268:5:1", + "referencedDeclaration": 640, + "src": "9369:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42824,12 +43065,12 @@ }, { "argumentTypes": null, - "id": 1067, + "id": 1073, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9275:6:1", + "referencedDeclaration": 642, + "src": "9376:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -42849,18 +43090,18 @@ ], "expression": { "argumentTypes": null, - "id": 1063, + "id": 1069, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "9248:4:1", + "referencedDeclaration": 479, + "src": "9349:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1065, + "id": 1071, "isConstant": false, "isLValue": false, "isPure": false, @@ -42868,13 +43109,13 @@ "memberName": "addTokenTeller", "nodeType": "MemberAccess", "referencedDeclaration": 331, - "src": "9248:19:1", + "src": "9349:19:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 1068, + "id": 1074, "isConstant": false, "isLValue": false, "isPure": false, @@ -42882,15 +43123,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9248:34:1", + "src": "9349:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1069, + "id": 1075, "nodeType": "ExpressionStatement", - "src": "9248:34:1" + "src": "9349:34:1" }, { "expression": { @@ -42901,12 +43142,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1074, + "id": 1080, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "9311:4:1", + "referencedDeclaration": 479, + "src": "9412:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -42920,20 +43161,20 @@ "typeString": "contract DetherBank" } ], - "id": 1073, + "id": 1079, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "9303:7:1", + "src": "9404:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 1075, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, @@ -42941,7 +43182,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9303:13:1", + "src": "9404:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -42949,12 +43190,12 @@ }, { "argumentTypes": null, - "id": 1076, + "id": 1082, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "9318:6:1", + "referencedDeclaration": 642, + "src": "9419:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -42974,32 +43215,32 @@ ], "expression": { "argumentTypes": null, - "id": 1070, + "id": 1076, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "9290:3:1", + "referencedDeclaration": 477, + "src": "9391:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 1072, + "id": 1078, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "9290:12:1", + "referencedDeclaration": 3366, + "src": "9391:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 1077, + "id": 1083, "isConstant": false, "isLValue": false, "isPure": false, @@ -43007,26 +43248,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9290:35:1", + "src": "9391:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1078, + "id": 1084, "nodeType": "ExpressionStatement", - "src": "9290:35:1" + "src": "9391:35:1" } ] } }, - "id": 1268, + "id": 1274, "nodeType": "IfStatement", - "src": "7153:3832:1", + "src": "7254:3832:1", "trueBody": { - "id": 876, + "id": 882, "nodeType": "Block", - "src": "7180:942:1", + "src": "7281:942:1", "statements": [ { "expression": { @@ -43038,19 +43279,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 729, + "id": 735, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 722, + "id": 728, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "7287:6:1", + "referencedDeclaration": 642, + "src": "7388:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -43062,32 +43303,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 723, + "id": 729, "name": "licenceShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2688, - "src": "7297:11:1", + "referencedDeclaration": 2701, + "src": "7398:11:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 728, + "id": 734, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 726, + "id": 732, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7324:2:1", + "src": "7425:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -43105,32 +43346,32 @@ ], "expression": { "argumentTypes": null, - "id": 724, + "id": 730, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7309:5:1", + "referencedDeclaration": 644, + "src": "7410:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 725, + "id": 731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7309:14:1", + "referencedDeclaration": 3256, + "src": "7410:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 727, + "id": 733, "isConstant": false, "isLValue": false, "isPure": false, @@ -43138,7 +43379,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7309:18:1", + "src": "7410:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -43149,13 +43390,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7297:31:1", + "src": "7398:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7287:41:1", + "src": "7388:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -43169,21 +43410,21 @@ "typeString": "bool" } ], - "id": 721, + "id": 727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7279:7:1", + "referencedDeclaration": 3393, + "src": "7380:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 730, + "id": 736, "isConstant": false, "isLValue": false, "isPure": false, @@ -43191,15 +43432,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7279:50:1", + "src": "7380:50:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 731, + "id": 737, "nodeType": "ExpressionStatement", - "src": "7279:50:1" + "src": "7380:50:1" }, { "expression": { @@ -43207,7 +43448,7 @@ "arguments": [ { "argumentTypes": null, - "id": 736, + "id": 742, "isConstant": false, "isLValue": false, "isPure": false, @@ -43215,18 +43456,18 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "7383:14:1", + "src": "7484:14:1", "subExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 734, + "id": 740, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7391:5:1", + "referencedDeclaration": 640, + "src": "7492:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43240,18 +43481,18 @@ "typeString": "address" } ], - "id": 733, + "id": 739, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "7384:6:1", + "referencedDeclaration": 2585, + "src": "7485:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 735, + "id": 741, "isConstant": false, "isLValue": false, "isPure": false, @@ -43259,7 +43500,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7384:13:1", + "src": "7485:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -43278,21 +43519,21 @@ "typeString": "bool" } ], - "id": 732, + "id": 738, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7375:7:1", + "referencedDeclaration": 3393, + "src": "7476:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 737, + "id": 743, "isConstant": false, "isLValue": false, "isPure": false, @@ -43300,15 +43541,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7375:23:1", + "src": "7476:23:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 738, + "id": 744, "nodeType": "ExpressionStatement", - "src": "7375:23:1" + "src": "7476:23:1" }, { "expression": { @@ -43318,32 +43559,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 740, + "id": 746, "name": "openedCountryShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2680, - "src": "7444:17:1", + "referencedDeclaration": 2693, + "src": "7545:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_bool_$", "typeString": "mapping(bytes2 => bool)" } }, - "id": 745, + "id": 751, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 743, + "id": 749, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7477:2:1", + "src": "7578:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -43361,32 +43602,32 @@ ], "expression": { "argumentTypes": null, - "id": 741, + "id": 747, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7462:5:1", + "referencedDeclaration": 644, + "src": "7563:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 742, + "id": 748, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7462:14:1", + "referencedDeclaration": 3256, + "src": "7563:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 744, + "id": 750, "isConstant": false, "isLValue": false, "isPure": false, @@ -43394,7 +43635,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7462:18:1", + "src": "7563:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -43405,7 +43646,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7444:37:1", + "src": "7545:37:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -43419,21 +43660,21 @@ "typeString": "bool" } ], - "id": 739, + "id": 745, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "7436:7:1", + "referencedDeclaration": 3393, + "src": "7537:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 746, + "id": 752, "isConstant": false, "isLValue": false, "isPure": false, @@ -43441,20 +43682,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7436:46:1", + "src": "7537:46:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 747, + "id": 753, "nodeType": "ExpressionStatement", - "src": "7436:46:1" + "src": "7537:46:1" }, { "expression": { "argumentTypes": null, - "id": 753, + "id": 759, "isConstant": false, "isLValue": false, "isPure": false, @@ -43465,26 +43706,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 748, + "id": 754, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7491:4:1", + "referencedDeclaration": 574, + "src": "7592:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 750, + "id": 756, "indexExpression": { "argumentTypes": null, - "id": 749, + "id": 755, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7496:5:1", + "referencedDeclaration": 640, + "src": "7597:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43495,21 +43736,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7491:11:1", + "src": "7592:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 751, + "id": 757, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "7491:15:1", + "referencedDeclaration": 549, + "src": "7592:15:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -43519,31 +43760,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 752, + "id": 758, "name": "posLat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 663, - "src": "7509:6:1", + "referencedDeclaration": 669, + "src": "7610:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "7491:24:1", + "src": "7592:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 754, + "id": 760, "nodeType": "ExpressionStatement", - "src": "7491:24:1" + "src": "7592:24:1" }, { "expression": { "argumentTypes": null, - "id": 760, + "id": 766, "isConstant": false, "isLValue": false, "isPure": false, @@ -43554,26 +43795,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 755, + "id": 761, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7523:4:1", + "referencedDeclaration": 574, + "src": "7624:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 757, + "id": 763, "indexExpression": { "argumentTypes": null, - "id": 756, + "id": 762, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7528:5:1", + "referencedDeclaration": 640, + "src": "7629:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43584,21 +43825,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7523:11:1", + "src": "7624:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 758, + "id": 764, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "7523:15:1", + "referencedDeclaration": 551, + "src": "7624:15:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -43608,31 +43849,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 759, + "id": 765, "name": "posLng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 690, - "src": "7541:6:1", + "referencedDeclaration": 696, + "src": "7642:6:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "7523:24:1", + "src": "7624:24:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 761, + "id": 767, "nodeType": "ExpressionStatement", - "src": "7523:24:1" + "src": "7624:24:1" }, { "expression": { "argumentTypes": null, - "id": 770, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -43643,26 +43884,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 762, + "id": 768, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7555:4:1", + "referencedDeclaration": 574, + "src": "7656:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 764, + "id": 770, "indexExpression": { "argumentTypes": null, - "id": 763, + "id": 769, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7560:5:1", + "referencedDeclaration": 640, + "src": "7661:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43673,21 +43914,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7555:11:1", + "src": "7656:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 765, + "id": 771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "7555:21:1", + "referencedDeclaration": 553, + "src": "7656:21:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -43701,14 +43942,14 @@ { "argumentTypes": null, "hexValue": "3131", - "id": 768, + "id": 774, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7594:2:1", + "src": "7695:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -43726,32 +43967,32 @@ ], "expression": { "argumentTypes": null, - "id": 766, + "id": 772, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7579:5:1", + "referencedDeclaration": 644, + "src": "7680:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 767, + "id": 773, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7579:14:1", + "referencedDeclaration": 3256, + "src": "7680:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 769, + "id": 775, "isConstant": false, "isLValue": false, "isPure": false, @@ -43759,26 +44000,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7579:18:1", + "src": "7680:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "7555:42:1", + "src": "7656:42:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 771, + "id": 777, "nodeType": "ExpressionStatement", - "src": "7555:42:1" + "src": "7656:42:1" }, { "expression": { "argumentTypes": null, - "id": 780, + "id": 786, "isConstant": false, "isLValue": false, "isPure": false, @@ -43789,26 +44030,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 772, + "id": 778, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7605:4:1", + "referencedDeclaration": 574, + "src": "7706:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 774, + "id": 780, "indexExpression": { "argumentTypes": null, - "id": 773, + "id": 779, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7610:5:1", + "referencedDeclaration": 640, + "src": "7711:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43819,21 +44060,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7605:11:1", + "src": "7706:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 775, + "id": 781, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "7605:22:1", + "referencedDeclaration": 555, + "src": "7706:22:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -43847,14 +44088,14 @@ { "argumentTypes": null, "hexValue": "3133", - "id": 778, + "id": 784, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7646:2:1", + "src": "7747:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -43872,32 +44113,32 @@ ], "expression": { "argumentTypes": null, - "id": 776, + "id": 782, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7630:5:1", + "referencedDeclaration": 644, + "src": "7731:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 777, + "id": 783, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7630:15:1", + "referencedDeclaration": 3230, + "src": "7731:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 779, + "id": 785, "isConstant": false, "isLValue": false, "isPure": false, @@ -43905,26 +44146,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7630:19:1", + "src": "7731:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7605:44:1", + "src": "7706:44:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 781, + "id": 787, "nodeType": "ExpressionStatement", - "src": "7605:44:1" + "src": "7706:44:1" }, { "expression": { "argumentTypes": null, - "id": 790, + "id": 796, "isConstant": false, "isLValue": false, "isPure": false, @@ -43935,26 +44176,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 782, + "id": 788, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7657:4:1", + "referencedDeclaration": 574, + "src": "7758:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 784, + "id": 790, "indexExpression": { "argumentTypes": null, - "id": 783, + "id": 789, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7662:5:1", + "referencedDeclaration": 640, + "src": "7763:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -43965,21 +44206,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7657:11:1", + "src": "7758:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 785, + "id": 791, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "7657:15:1", + "referencedDeclaration": 557, + "src": "7758:15:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -43993,14 +44234,14 @@ { "argumentTypes": null, "hexValue": "3239", - "id": 788, + "id": 794, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7691:2:1", + "src": "7792:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_29_by_1", @@ -44018,32 +44259,32 @@ ], "expression": { "argumentTypes": null, - "id": 786, + "id": 792, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7675:5:1", + "referencedDeclaration": 644, + "src": "7776:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 787, + "id": 793, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7675:15:1", + "referencedDeclaration": 3230, + "src": "7776:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 789, + "id": 795, "isConstant": false, "isLValue": false, "isPure": false, @@ -44051,26 +44292,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7675:19:1", + "src": "7776:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7657:37:1", + "src": "7758:37:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 791, + "id": 797, "nodeType": "ExpressionStatement", - "src": "7657:37:1" + "src": "7758:37:1" }, { "expression": { "argumentTypes": null, - "id": 800, + "id": 806, "isConstant": false, "isLValue": false, "isPure": false, @@ -44081,26 +44322,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 792, + "id": 798, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7702:4:1", + "referencedDeclaration": 574, + "src": "7803:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 794, + "id": 800, "indexExpression": { "argumentTypes": null, - "id": 793, + "id": 799, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7707:5:1", + "referencedDeclaration": 640, + "src": "7808:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44111,21 +44352,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7702:11:1", + "src": "7803:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 795, + "id": 801, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "7702:16:1", + "referencedDeclaration": 559, + "src": "7803:16:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -44139,14 +44380,14 @@ { "argumentTypes": null, "hexValue": "3435", - "id": 798, + "id": 804, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7737:2:1", + "src": "7838:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_45_by_1", @@ -44164,32 +44405,32 @@ ], "expression": { "argumentTypes": null, - "id": 796, + "id": 802, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7721:5:1", + "referencedDeclaration": 644, + "src": "7822:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 797, + "id": 803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7721:15:1", + "referencedDeclaration": 3230, + "src": "7822:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 799, + "id": 805, "isConstant": false, "isLValue": false, "isPure": false, @@ -44197,26 +44438,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7721:19:1", + "src": "7822:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7702:38:1", + "src": "7803:38:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 801, + "id": 807, "nodeType": "ExpressionStatement", - "src": "7702:38:1" + "src": "7803:38:1" }, { "expression": { "argumentTypes": null, - "id": 810, + "id": 816, "isConstant": false, "isLValue": false, "isPure": false, @@ -44227,26 +44468,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 802, + "id": 808, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7748:4:1", + "referencedDeclaration": 574, + "src": "7849:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 804, + "id": 810, "indexExpression": { "argumentTypes": null, - "id": 803, + "id": 809, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7753:5:1", + "referencedDeclaration": 640, + "src": "7854:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44257,21 +44498,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7748:11:1", + "src": "7849:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 805, + "id": 811, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "7748:23:1", + "referencedDeclaration": 561, + "src": "7849:23:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -44285,14 +44526,14 @@ { "argumentTypes": null, "hexValue": "3631", - "id": 808, + "id": 814, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7790:2:1", + "src": "7891:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_61_by_1", @@ -44310,32 +44551,32 @@ ], "expression": { "argumentTypes": null, - "id": 806, + "id": 812, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7774:5:1", + "referencedDeclaration": 644, + "src": "7875:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 807, + "id": 813, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes32", "nodeType": "MemberAccess", - "referencedDeclaration": 3191, - "src": "7774:15:1", + "referencedDeclaration": 3204, + "src": "7875:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes32)" } }, - "id": 809, + "id": 815, "isConstant": false, "isLValue": false, "isPure": false, @@ -44343,26 +44584,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7774:19:1", + "src": "7875:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "7748:45:1", + "src": "7849:45:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 811, + "id": 817, "nodeType": "ExpressionStatement", - "src": "7748:45:1" + "src": "7849:45:1" }, { "expression": { "argumentTypes": null, - "id": 820, + "id": 826, "isConstant": false, "isLValue": false, "isPure": false, @@ -44373,26 +44614,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 812, + "id": 818, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7801:4:1", + "referencedDeclaration": 574, + "src": "7902:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 814, + "id": 820, "indexExpression": { "argumentTypes": null, - "id": 813, + "id": 819, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7806:5:1", + "referencedDeclaration": 640, + "src": "7907:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44403,21 +44644,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7801:11:1", + "src": "7902:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 815, + "id": 821, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "7801:19:1", + "referencedDeclaration": 563, + "src": "7902:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -44431,14 +44672,14 @@ { "argumentTypes": null, "hexValue": "3933", - "id": 818, + "id": 824, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7839:2:1", + "src": "7940:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_93_by_1", @@ -44456,32 +44697,32 @@ ], "expression": { "argumentTypes": null, - "id": 816, + "id": 822, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7823:5:1", + "referencedDeclaration": 644, + "src": "7924:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 817, + "id": 823, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7823:15:1", + "referencedDeclaration": 3230, + "src": "7924:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 819, + "id": 825, "isConstant": false, "isLValue": false, "isPure": false, @@ -44489,26 +44730,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7823:19:1", + "src": "7924:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "7801:41:1", + "src": "7902:41:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 821, + "id": 827, "nodeType": "ExpressionStatement", - "src": "7801:41:1" + "src": "7902:41:1" }, { "expression": { "argumentTypes": null, - "id": 832, + "id": 838, "isConstant": false, "isLValue": false, "isPure": false, @@ -44519,26 +44760,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 822, + "id": 828, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7850:4:1", + "referencedDeclaration": 574, + "src": "7951:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 824, + "id": 830, "indexExpression": { "argumentTypes": null, - "id": 823, + "id": 829, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7855:5:1", + "referencedDeclaration": 640, + "src": "7956:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44549,21 +44790,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7850:11:1", + "src": "7951:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 825, + "id": 831, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "7850:24:1", + "referencedDeclaration": 567, + "src": "7951:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -44577,7 +44818,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 831, + "id": 837, "isConstant": false, "isLValue": false, "isPure": false, @@ -44587,12 +44828,12 @@ "arguments": [ { "argumentTypes": null, - "id": 828, + "id": 834, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7892:5:1", + "referencedDeclaration": 640, + "src": "7993:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44608,18 +44849,18 @@ ], "expression": { "argumentTypes": null, - "id": 826, + "id": 832, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "7877:9:1", + "referencedDeclaration": 584, + "src": "7978:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 827, + "id": 833, "isConstant": false, "isLValue": false, "isPure": false, @@ -44627,13 +44868,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7877:14:1", + "src": "7978:14:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 829, + "id": 835, "isConstant": false, "isLValue": false, "isPure": false, @@ -44641,7 +44882,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7877:21:1", + "src": "7978:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -44652,14 +44893,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 830, + "id": 836, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7901:1:1", + "src": "8002:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -44667,26 +44908,26 @@ }, "value": "1" }, - "src": "7877:25:1", + "src": "7978:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7850:52:1", + "src": "7951:52:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 833, + "id": 839, "nodeType": "ExpressionStatement", - "src": "7850:52:1" + "src": "7951:52:1" }, { "expression": { "argumentTypes": null, - "id": 854, + "id": 860, "isConstant": false, "isLValue": false, "isPure": false, @@ -44697,26 +44938,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 834, + "id": 840, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "7910:4:1", + "referencedDeclaration": 574, + "src": "8011:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 836, + "id": 842, "indexExpression": { "argumentTypes": null, - "id": 835, + "id": 841, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7915:5:1", + "referencedDeclaration": 640, + "src": "8016:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44727,21 +44968,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7910:11:1", + "src": "8011:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 837, + "id": 843, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "7910:21:1", + "referencedDeclaration": 565, + "src": "8011:21:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -44755,7 +44996,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 853, + "id": 859, "isConstant": false, "isLValue": false, "isPure": false, @@ -44765,12 +45006,12 @@ "arguments": [ { "argumentTypes": null, - "id": 850, + "id": 856, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "7991:5:1", + "referencedDeclaration": 640, + "src": "8092:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -44790,32 +45031,32 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 838, + "id": 844, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "7934:10:1", + "referencedDeclaration": 581, + "src": "8035:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 843, + "id": 849, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3131", - "id": 841, + "id": 847, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7960:2:1", + "src": "8061:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_11_by_1", @@ -44833,32 +45074,32 @@ ], "expression": { "argumentTypes": null, - "id": 839, + "id": 845, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7945:5:1", + "referencedDeclaration": 644, + "src": "8046:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 840, + "id": 846, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes2", "nodeType": "MemberAccess", - "referencedDeclaration": 3243, - "src": "7945:14:1", + "referencedDeclaration": 3256, + "src": "8046:14:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes2_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes2)" } }, - "id": 842, + "id": 848, "isConstant": false, "isLValue": false, "isPure": false, @@ -44866,7 +45107,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7945:18:1", + "src": "8046:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -44877,27 +45118,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7934:30:1", + "src": "8035:30:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 848, + "id": 854, "indexExpression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, "hexValue": "3133", - "id": 846, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7981:2:1", + "src": "8082:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_13_by_1", @@ -44915,32 +45156,32 @@ ], "expression": { "argumentTypes": null, - "id": 844, + "id": 850, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 638, - "src": "7965:5:1", + "referencedDeclaration": 644, + "src": "8066:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 845, + "id": 851, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toBytes16", "nodeType": "MemberAccess", - "referencedDeclaration": 3217, - "src": "7965:15:1", + "referencedDeclaration": 3230, + "src": "8066:15:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes16_$bound_to$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory,uint256) pure returns (bytes16)" } }, - "id": 847, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -44948,7 +45189,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7965:19:1", + "src": "8066:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -44959,13 +45200,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7934:51:1", + "src": "8035:51:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 849, + "id": 855, "isConstant": false, "isLValue": false, "isPure": false, @@ -44973,13 +45214,13 @@ "memberName": "push", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "7934:56:1", + "src": "8035:56:1", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_address_$returns$_t_uint256_$", "typeString": "function (address) returns (uint256)" } }, - "id": 851, + "id": 857, "isConstant": false, "isLValue": false, "isPure": false, @@ -44987,7 +45228,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "7934:63:1", + "src": "8035:63:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -44998,14 +45239,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 852, + "id": 858, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "8000:1:1", + "src": "8101:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -45013,21 +45254,21 @@ }, "value": "1" }, - "src": "7934:67:1", + "src": "8035:67:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "7910:91:1", + "src": "8011:91:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 855, + "id": 861, "nodeType": "ExpressionStatement", - "src": "7910:91:1" + "src": "8011:91:1" }, { "eventCall": { @@ -45035,12 +45276,12 @@ "arguments": [ { "argumentTypes": null, - "id": 857, + "id": 863, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8027:5:1", + "referencedDeclaration": 640, + "src": "8128:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45054,18 +45295,18 @@ "typeString": "address" } ], - "id": 856, + "id": 862, "name": "RegisterShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 421, - "src": "8014:12:1", + "referencedDeclaration": 427, + "src": "8115:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 858, + "id": 864, "isConstant": false, "isLValue": false, "isPure": false, @@ -45073,15 +45314,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8014:19:1", + "src": "8115:19:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 859, + "id": 865, "nodeType": "EmitStatement", - "src": "8009:24:1" + "src": "8110:24:1" }, { "expression": { @@ -45089,12 +45330,12 @@ "arguments": [ { "argumentTypes": null, - "id": 863, + "id": 869, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "8059:5:1", + "referencedDeclaration": 640, + "src": "8160:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45102,12 +45343,12 @@ }, { "argumentTypes": null, - "id": 864, + "id": 870, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8065:6:1", + "referencedDeclaration": 642, + "src": "8166:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -45127,18 +45368,18 @@ ], "expression": { "argumentTypes": null, - "id": 860, + "id": 866, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "8041:4:1", + "referencedDeclaration": 479, + "src": "8142:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 862, + "id": 868, "isConstant": false, "isLValue": false, "isPure": false, @@ -45146,13 +45387,13 @@ "memberName": "addTokenShop", "nodeType": "MemberAccess", "referencedDeclaration": 324, - "src": "8041:17:1", + "src": "8142:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256) external" } }, - "id": 865, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -45160,15 +45401,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8041:31:1", + "src": "8142:31:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 866, + "id": 872, "nodeType": "ExpressionStatement", - "src": "8041:31:1" + "src": "8142:31:1" }, { "expression": { @@ -45179,12 +45420,12 @@ "arguments": [ { "argumentTypes": null, - "id": 871, + "id": 877, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "8101:4:1", + "referencedDeclaration": 479, + "src": "8202:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" @@ -45198,20 +45439,20 @@ "typeString": "contract DetherBank" } ], - "id": 870, + "id": 876, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "8093:7:1", + "src": "8194:7:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": "address" }, - "id": 872, + "id": 878, "isConstant": false, "isLValue": false, "isPure": false, @@ -45219,7 +45460,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8093:13:1", + "src": "8194:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45227,12 +45468,12 @@ }, { "argumentTypes": null, - "id": 873, + "id": 879, "name": "_value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 636, - "src": "8108:6:1", + "referencedDeclaration": 642, + "src": "8209:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -45252,32 +45493,32 @@ ], "expression": { "argumentTypes": null, - "id": 867, + "id": 873, "name": "dth", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 471, - "src": "8080:3:1", + "referencedDeclaration": 477, + "src": "8181:3:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC223Basic_$2948", + "typeIdentifier": "t_contract$_ERC223Basic_$2961", "typeString": "contract ERC223Basic" } }, - "id": 869, + "id": 875, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 3353, - "src": "8080:12:1", + "referencedDeclaration": 3366, + "src": "8181:12:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 874, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, @@ -45285,15 +45526,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "8080:35:1", + "src": "8181:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 875, + "id": 881, "nodeType": "ExpressionStatement", - "src": "8080:35:1" + "src": "8181:35:1" } ] } @@ -45301,77 +45542,77 @@ ] }, "documentation": "@dev Standard ERC223 function that will handle incoming token transfers.\nThis is the main function to register SHOP or TELLER, its calling when you\nsend token to the DTH contract and by passing data as bytes on the third\nparameter.\nIts not supposed to be use on its own but will only handle incoming DTH\ntransaction.\nThe _data will wait for\n[1st byte] 1 (0x31) for shop OR 2 (0x32) for teller\nFOR SHOP AND TELLER:\n2sd to 5th bytes lat\n6th to 9th bytes lng\n...\nModifier tier1: Check if address is whitelisted with the sms verification", - "id": 1270, + "id": 1276, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 641, + "id": 647, "modifierName": { "argumentTypes": null, - "id": 640, + "id": 646, "name": "whenNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 253, - "src": "6623:13:1", + "src": "6724:13:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "6623:13:1" + "src": "6724:13:1" }, { "arguments": [ { "argumentTypes": null, - "id": 643, + "id": 649, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 634, - "src": "6643:5:1", + "referencedDeclaration": 640, + "src": "6744:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 644, + "id": 650, "modifierName": { "argumentTypes": null, - "id": 642, + "id": 648, "name": "tier1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2705, - "src": "6637:5:1", + "referencedDeclaration": 2718, + "src": "6738:5:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "6637:13:1" + "src": "6738:13:1" } ], "name": "tokenFallback", "nodeType": "FunctionDefinition", "parameters": { - "id": 639, + "id": 645, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 634, + "id": 640, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6582:13:1", + "scope": 1276, + "src": "6683:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -45379,10 +45620,10 @@ "typeString": "address" }, "typeName": { - "id": 633, + "id": 639, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6582:7:1", + "src": "6683:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45393,11 +45634,11 @@ }, { "constant": false, - "id": 636, + "id": 642, "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6597:11:1", + "scope": 1276, + "src": "6698:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -45405,10 +45646,10 @@ "typeString": "uint256" }, "typeName": { - "id": 635, + "id": 641, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "6597:4:1", + "src": "6698:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -45419,11 +45660,11 @@ }, { "constant": false, - "id": 638, + "id": 644, "name": "_data", "nodeType": "VariableDeclaration", - "scope": 1270, - "src": "6610:11:1", + "scope": 1276, + "src": "6711:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -45431,10 +45672,10 @@ "typeString": "bytes" }, "typeName": { - "id": 637, + "id": 643, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6610:5:1", + "src": "6711:5:1", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -45444,26 +45685,26 @@ "visibility": "internal" } ], - "src": "6581:41:1" + "src": "6682:41:1" }, "payable": false, "returnParameters": { - "id": 645, + "id": 651, "nodeType": "ParameterList", "parameters": [], - "src": "6651:0:1" + "src": "6752:0:1" }, - "scope": 2659, - "src": "6559:4430:1", + "scope": 2672, + "src": "6660:4430:1", "stateMutability": "nonpayable", - "superFunction": 2959, + "superFunction": 2972, "visibility": "public" }, { "body": { - "id": 1395, + "id": 1401, "nodeType": "Block", - "src": "11281:633:1", + "src": "11382:633:1", "statements": [ { "expression": { @@ -45476,18 +45717,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1285, + "id": 1291, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11304:3:1", + "referencedDeclaration": 3390, + "src": "11405:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1286, + "id": 1292, "isConstant": false, "isLValue": false, "isPure": false, @@ -45495,7 +45736,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11304:10:1", + "src": "11405:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45509,18 +45750,18 @@ "typeString": "address" } ], - "id": 1284, + "id": 1290, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "11295:8:1", + "referencedDeclaration": 2629, + "src": "11396:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1287, + "id": 1293, "isConstant": false, "isLValue": false, "isPure": false, @@ -45528,7 +45769,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11295:20:1", + "src": "11396:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -45542,21 +45783,21 @@ "typeString": "bool" } ], - "id": 1283, + "id": 1289, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "11287:7:1", + "referencedDeclaration": 3393, + "src": "11388:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1288, + "id": 1294, "isConstant": false, "isLValue": false, "isPure": false, @@ -45564,15 +45805,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11287:29:1", + "src": "11388:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1289, + "id": 1295, "nodeType": "ExpressionStatement", - "src": "11287:29:1" + "src": "11388:29:1" }, { "condition": { @@ -45581,19 +45822,19 @@ "typeIdentifier": "t_int8", "typeString": "int8" }, - "id": 1296, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1290, + "id": 1296, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1272, - "src": "11326:10:1", + "referencedDeclaration": 1278, + "src": "11427:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -45607,34 +45848,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1291, + "id": 1297, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11340:6:1", + "referencedDeclaration": 534, + "src": "11441:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1294, + "id": 1300, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1292, + "id": 1298, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11347:3:1", + "referencedDeclaration": 3390, + "src": "11448:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1293, + "id": 1299, "isConstant": false, "isLValue": false, "isPure": false, @@ -45642,7 +45883,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11347:10:1", + "src": "11448:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45653,40 +45894,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11340:18:1", + "src": "11441:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1295, + "id": 1301, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "11340:29:1", + "referencedDeclaration": 491, + "src": "11441:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11326:43:1", + "src": "11427:43:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1305, + "id": 1311, "nodeType": "IfStatement", - "src": "11322:95:1", + "src": "11423:95:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1303, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -45697,34 +45938,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1297, + "id": 1303, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11375:6:1", + "referencedDeclaration": 534, + "src": "11476:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1300, + "id": 1306, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1298, + "id": 1304, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11382:3:1", + "referencedDeclaration": 3390, + "src": "11483:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1299, + "id": 1305, "isConstant": false, "isLValue": false, "isPure": false, @@ -45732,7 +45973,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11382:10:1", + "src": "11483:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45743,21 +45984,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11375:18:1", + "src": "11476:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1301, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "11375:29:1", + "referencedDeclaration": 491, + "src": "11476:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -45767,26 +46008,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1302, + "id": 1308, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1272, - "src": "11407:10:1", + "referencedDeclaration": 1278, + "src": "11508:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11375:42:1", + "src": "11476:42:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 1304, + "id": 1310, "nodeType": "ExpressionStatement", - "src": "11375:42:1" + "src": "11476:42:1" } }, { @@ -45796,7 +46037,7 @@ "typeIdentifier": "t_bytes16", "typeString": "bytes16" }, - "id": 1312, + "id": 1318, "isConstant": false, "isLValue": false, "isPure": false, @@ -45807,34 +46048,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1306, + "id": 1312, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11427:6:1", + "referencedDeclaration": 534, + "src": "11528:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1309, + "id": 1315, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1307, + "id": 1313, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11434:3:1", + "referencedDeclaration": 3390, + "src": "11535:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1308, + "id": 1314, "isConstant": false, "isLValue": false, "isPure": false, @@ -45842,7 +46083,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11434:10:1", + "src": "11535:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45853,21 +46094,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11427:18:1", + "src": "11528:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1310, + "id": 1316, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "11427:28:1", + "referencedDeclaration": 493, + "src": "11528:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -45877,31 +46118,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1311, + "id": 1317, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "11459:9:1", + "referencedDeclaration": 1280, + "src": "11560:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "11427:41:1", + "src": "11528:41:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1321, + "id": 1327, "nodeType": "IfStatement", - "src": "11423:92:1", + "src": "11524:92:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1319, + "id": 1325, "isConstant": false, "isLValue": false, "isPure": false, @@ -45912,34 +46153,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1313, + "id": 1319, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11475:6:1", + "referencedDeclaration": 534, + "src": "11576:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1316, + "id": 1322, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1314, + "id": 1320, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11482:3:1", + "referencedDeclaration": 3390, + "src": "11583:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1315, + "id": 1321, "isConstant": false, "isLValue": false, "isPure": false, @@ -45947,7 +46188,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11482:10:1", + "src": "11583:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -45958,21 +46199,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11475:18:1", + "src": "11576:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1317, + "id": 1323, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "11475:28:1", + "referencedDeclaration": 493, + "src": "11576:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -45982,26 +46223,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1318, + "id": 1324, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1274, - "src": "11506:9:1", + "referencedDeclaration": 1280, + "src": "11607:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "11475:40:1", + "src": "11576:40:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 1320, + "id": 1326, "nodeType": "ExpressionStatement", - "src": "11475:40:1" + "src": "11576:40:1" } }, { @@ -46011,7 +46252,7 @@ "typeIdentifier": "t_int8", "typeString": "int8" }, - "id": 1328, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -46022,34 +46263,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1322, + "id": 1328, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11525:6:1", + "referencedDeclaration": 534, + "src": "11626:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1325, + "id": 1331, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1323, + "id": 1329, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11532:3:1", + "referencedDeclaration": 3390, + "src": "11633:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1324, + "id": 1330, "isConstant": false, "isLValue": false, "isPure": false, @@ -46057,7 +46298,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11532:10:1", + "src": "11633:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46068,21 +46309,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11525:18:1", + "src": "11626:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1326, + "id": 1332, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "11525:27:1", + "referencedDeclaration": 495, + "src": "11626:27:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -46092,31 +46333,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1327, + "id": 1333, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1276, - "src": "11556:8:1", + "referencedDeclaration": 1282, + "src": "11657:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11525:39:1", + "src": "11626:39:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1337, + "id": 1343, "nodeType": "IfStatement", - "src": "11521:88:1", + "src": "11622:88:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1335, + "id": 1341, "isConstant": false, "isLValue": false, "isPure": false, @@ -46127,34 +46368,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1329, + "id": 1335, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11571:6:1", + "referencedDeclaration": 534, + "src": "11672:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1332, + "id": 1338, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1330, + "id": 1336, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11578:3:1", + "referencedDeclaration": 3390, + "src": "11679:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1331, + "id": 1337, "isConstant": false, "isLValue": false, "isPure": false, @@ -46162,7 +46403,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11578:10:1", + "src": "11679:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46173,21 +46414,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11571:18:1", + "src": "11672:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1333, + "id": 1339, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "11571:27:1", + "referencedDeclaration": 495, + "src": "11672:27:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -46197,26 +46438,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1334, + "id": 1340, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1276, - "src": "11601:8:1", + "referencedDeclaration": 1282, + "src": "11702:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "11571:38:1", + "src": "11672:38:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 1336, + "id": 1342, "nodeType": "ExpressionStatement", - "src": "11571:38:1" + "src": "11672:38:1" } }, { @@ -46226,7 +46467,7 @@ "typeIdentifier": "t_int16", "typeString": "int16" }, - "id": 1344, + "id": 1350, "isConstant": false, "isLValue": false, "isPure": false, @@ -46237,34 +46478,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1338, + "id": 1344, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11619:6:1", + "referencedDeclaration": 534, + "src": "11720:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1341, + "id": 1347, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1339, + "id": 1345, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11626:3:1", + "referencedDeclaration": 3390, + "src": "11727:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1340, + "id": 1346, "isConstant": false, "isLValue": false, "isPure": false, @@ -46272,7 +46513,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11626:10:1", + "src": "11727:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46283,21 +46524,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11619:18:1", + "src": "11720:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1342, + "id": 1348, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "11619:24:1", + "referencedDeclaration": 497, + "src": "11720:24:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -46307,31 +46548,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1343, + "id": 1349, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "11647:5:1", + "referencedDeclaration": 1284, + "src": "11748:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "11619:33:1", + "src": "11720:33:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1353, + "id": 1359, "nodeType": "IfStatement", - "src": "11615:76:1", + "src": "11716:76:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1351, + "id": 1357, "isConstant": false, "isLValue": false, "isPure": false, @@ -46342,34 +46583,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1345, + "id": 1351, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11659:6:1", + "referencedDeclaration": 534, + "src": "11760:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1348, + "id": 1354, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1346, + "id": 1352, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11666:3:1", + "referencedDeclaration": 3390, + "src": "11767:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1347, + "id": 1353, "isConstant": false, "isLValue": false, "isPure": false, @@ -46377,7 +46618,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11666:10:1", + "src": "11767:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46388,21 +46629,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11659:18:1", + "src": "11760:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1349, + "id": 1355, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "11659:24:1", + "referencedDeclaration": 497, + "src": "11760:24:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -46412,26 +46653,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1350, + "id": 1356, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "11686:5:1", + "referencedDeclaration": 1284, + "src": "11787:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "11659:32:1", + "src": "11760:32:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 1352, + "id": 1358, "nodeType": "ExpressionStatement", - "src": "11659:32:1" + "src": "11760:32:1" } }, { @@ -46441,7 +46682,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1360, + "id": 1366, "isConstant": false, "isLValue": false, "isPure": false, @@ -46452,34 +46693,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1354, + "id": 1360, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11701:6:1", + "referencedDeclaration": 534, + "src": "11802:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1357, + "id": 1363, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1355, + "id": 1361, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11708:3:1", + "referencedDeclaration": 3390, + "src": "11809:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1356, + "id": 1362, "isConstant": false, "isLValue": false, "isPure": false, @@ -46487,7 +46728,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11708:10:1", + "src": "11809:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46498,21 +46739,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11701:18:1", + "src": "11802:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1358, + "id": 1364, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "11701:25:1", + "referencedDeclaration": 507, + "src": "11802:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -46522,31 +46763,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1359, + "id": 1365, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "11730:6:1", + "referencedDeclaration": 1286, + "src": "11831:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "11701:35:1", + "src": "11802:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1369, + "id": 1375, "nodeType": "IfStatement", - "src": "11697:81:1", + "src": "11798:81:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1367, + "id": 1373, "isConstant": false, "isLValue": false, "isPure": false, @@ -46557,34 +46798,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1361, + "id": 1367, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "11744:6:1", + "referencedDeclaration": 534, + "src": "11845:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1364, + "id": 1370, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1362, + "id": 1368, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11751:3:1", + "referencedDeclaration": 3390, + "src": "11852:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1363, + "id": 1369, "isConstant": false, "isLValue": false, "isPure": false, @@ -46592,7 +46833,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11751:10:1", + "src": "11852:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46603,21 +46844,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "11744:18:1", + "src": "11845:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1365, + "id": 1371, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "11744:25:1", + "referencedDeclaration": 507, + "src": "11845:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -46627,26 +46868,26 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1366, + "id": 1372, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "11772:6:1", + "referencedDeclaration": 1286, + "src": "11873:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "11744:34:1", + "src": "11845:34:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1368, + "id": 1374, "nodeType": "ExpressionStatement", - "src": "11744:34:1" + "src": "11845:34:1" } }, { @@ -46656,7 +46897,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1373, + "id": 1379, "isConstant": false, "isLValue": false, "isPure": false, @@ -46665,18 +46906,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1370, + "id": 1376, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11788:3:1", + "referencedDeclaration": 3390, + "src": "11889:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1371, + "id": 1377, "isConstant": false, "isLValue": false, "isPure": false, @@ -46684,7 +46925,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11788:9:1", + "src": "11889:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -46695,14 +46936,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1372, + "id": 1378, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11800:1:1", + "src": "11901:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -46710,20 +46951,20 @@ }, "value": "0" }, - "src": "11788:13:1", + "src": "11889:13:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1389, + "id": 1395, "nodeType": "IfStatement", - "src": "11784:91:1", + "src": "11885:91:1", "trueBody": { - "id": 1388, + "id": 1394, "nodeType": "Block", - "src": "11803:72:1", + "src": "11904:72:1", "statements": [ { "expression": { @@ -46733,18 +46974,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1382, + "id": 1388, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11846:3:1", + "referencedDeclaration": 3390, + "src": "11947:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1383, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -46752,7 +46993,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11846:10:1", + "src": "11947:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46762,18 +47003,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1384, + "id": 1390, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11858:3:1", + "referencedDeclaration": 3390, + "src": "11959:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1385, + "id": 1391, "isConstant": false, "isLValue": false, "isPure": false, @@ -46781,7 +47022,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11858:9:1", + "src": "11959:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -46804,18 +47045,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1379, + "id": 1385, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11835:3:1", + "referencedDeclaration": 3390, + "src": "11936:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1380, + "id": 1386, "isConstant": false, "isLValue": false, "isPure": false, @@ -46823,7 +47064,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11835:9:1", + "src": "11936:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -46841,18 +47082,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1374, + "id": 1380, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "11811:4:1", + "referencedDeclaration": 479, + "src": "11912:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1377, + "id": 1383, "isConstant": false, "isLValue": false, "isPure": false, @@ -46860,13 +47101,13 @@ "memberName": "addEthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 340, - "src": "11811:17:1", + "src": "11912:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1378, + "id": 1384, "isConstant": false, "isLValue": false, "isPure": false, @@ -46874,13 +47115,13 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11811:23:1", + "src": "11912:23:1", "typeDescriptions": { "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value_$", "typeString": "function (uint256) returns (function (address,uint256) payable external returns (bool))" } }, - "id": 1381, + "id": 1387, "isConstant": false, "isLValue": false, "isPure": false, @@ -46888,13 +47129,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11811:34:1", + "src": "11912:34:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1386, + "id": 1392, "isConstant": false, "isLValue": false, "isPure": false, @@ -46902,15 +47143,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11811:57:1", + "src": "11912:57:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1387, + "id": 1393, "nodeType": "ExpressionStatement", - "src": "11811:57:1" + "src": "11912:57:1" } ] } @@ -46923,18 +47164,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1391, + "id": 1397, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "11898:3:1", + "referencedDeclaration": 3390, + "src": "11999:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1392, + "id": 1398, "isConstant": false, "isLValue": false, "isPure": false, @@ -46942,7 +47183,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "11898:10:1", + "src": "11999:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -46956,18 +47197,18 @@ "typeString": "address" } ], - "id": 1390, + "id": 1396, "name": "UpdateTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 409, - "src": "11885:12:1", + "referencedDeclaration": 415, + "src": "11986:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1393, + "id": 1399, "isConstant": false, "isLValue": false, "isPure": false, @@ -46975,20 +47216,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "11885:24:1", + "src": "11986:24:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1394, + "id": 1400, "nodeType": "EmitStatement", - "src": "11880:29:1" + "src": "11981:29:1" } ] }, "documentation": "a teller can update his profile\nIf a teller want to change his location, he would need to delete and recreate\na new point", - "id": 1396, + "id": 1402, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -46996,16 +47237,16 @@ "name": "updateTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 1281, + "id": 1287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1272, + "id": 1278, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11169:15:1", + "scope": 1402, + "src": "11270:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47013,10 +47254,10 @@ "typeString": "int8" }, "typeName": { - "id": 1271, + "id": 1277, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "11169:4:1", + "src": "11270:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -47027,11 +47268,11 @@ }, { "constant": false, - "id": 1274, + "id": 1280, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11190:17:1", + "scope": 1402, + "src": "11291:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47039,10 +47280,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 1273, + "id": 1279, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "11190:7:1", + "src": "11291:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -47053,11 +47294,11 @@ }, { "constant": false, - "id": 1276, + "id": 1282, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11213:13:1", + "scope": 1402, + "src": "11314:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47065,10 +47306,10 @@ "typeString": "int8" }, "typeName": { - "id": 1275, + "id": 1281, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "11213:4:1", + "src": "11314:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -47079,11 +47320,11 @@ }, { "constant": false, - "id": 1278, + "id": 1284, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11232:11:1", + "scope": 1402, + "src": "11333:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47091,10 +47332,10 @@ "typeString": "int16" }, "typeName": { - "id": 1277, + "id": 1283, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "11232:5:1", + "src": "11333:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -47105,11 +47346,11 @@ }, { "constant": false, - "id": 1280, + "id": 1286, "name": "online", "nodeType": "VariableDeclaration", - "scope": 1396, - "src": "11249:11:1", + "scope": 1402, + "src": "11350:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47117,10 +47358,10 @@ "typeString": "bool" }, "typeName": { - "id": 1279, + "id": 1285, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11249:4:1", + "src": "11350:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -47130,28 +47371,28 @@ "visibility": "internal" } ], - "src": "11163:102:1" + "src": "11264:102:1" }, "payable": true, "returnParameters": { - "id": 1282, + "id": 1288, "nodeType": "ParameterList", "parameters": [], - "src": "11281:0:1" + "src": "11382:0:1" }, - "scope": 2659, - "src": "11142:772:1", + "scope": 2672, + "src": "11243:772:1", "stateMutability": "payable", "superFunction": null, "visibility": "public" }, { "constant": false, - "id": 1402, + "id": 1408, "name": "limitTier", "nodeType": "VariableDeclaration", - "scope": 2659, - "src": "12011:51:1", + "scope": 2672, + "src": "12112:51:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -47159,46 +47400,46 @@ "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" }, "typeName": { - "id": 1401, + "id": 1407, "keyType": { - "id": 1397, + "id": 1403, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12019:4:1", + "src": "12120:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "12011:41:1", + "src": "12112:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" }, "valueType": { - "id": 1400, + "id": 1406, "keyType": { - "id": 1398, + "id": 1404, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12036:6:1", + "src": "12137:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "Mapping", - "src": "12027:24:1", + "src": "12128:24:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" }, "valueType": { - "id": 1399, + "id": 1405, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12046:4:1", + "src": "12147:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47211,14 +47452,14 @@ }, { "body": { - "id": 1421, + "id": 1427, "nodeType": "Block", - "src": "12159:51:1", + "src": "12260:51:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1419, + "id": 1425, "isConstant": false, "isLValue": false, "isPure": false, @@ -47229,26 +47470,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1413, + "id": 1419, "name": "limitTier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "12165:9:1", + "referencedDeclaration": 1408, + "src": "12266:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" } }, - "id": 1416, + "id": 1422, "indexExpression": { "argumentTypes": null, - "id": 1414, + "id": 1420, "name": "_tier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1404, - "src": "12175:5:1", + "referencedDeclaration": 1410, + "src": "12276:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47259,21 +47500,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12165:16:1", + "src": "12266:16:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1417, + "id": 1423, "indexExpression": { "argumentTypes": null, - "id": 1415, + "id": 1421, "name": "_countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1406, - "src": "12182:10:1", + "referencedDeclaration": 1412, + "src": "12283:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -47284,7 +47525,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "12165:28:1", + "src": "12266:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47294,68 +47535,68 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1418, + "id": 1424, "name": "_limitUsd", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1408, - "src": "12196:9:1", + "referencedDeclaration": 1414, + "src": "12297:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12165:40:1", + "src": "12266:40:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1420, + "id": 1426, "nodeType": "ExpressionStatement", - "src": "12165:40:1" + "src": "12266:40:1" } ] }, "documentation": null, - "id": 1422, + "id": 1428, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1411, + "id": 1417, "modifierName": { "argumentTypes": null, - "id": 1410, + "id": 1416, "name": "onlyCFO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "12151:7:1", + "src": "12252:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "12151:7:1" + "src": "12252:7:1" } ], "name": "setSellDailyLimit", "nodeType": "FunctionDefinition", "parameters": { - "id": 1409, + "id": 1415, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1404, + "id": 1410, "name": "_tier", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12094:10:1", + "scope": 1428, + "src": "12195:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47363,10 +47604,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1403, + "id": 1409, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12094:4:1", + "src": "12195:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47377,11 +47618,11 @@ }, { "constant": false, - "id": 1406, + "id": 1412, "name": "_countryId", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12106:17:1", + "scope": 1428, + "src": "12207:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47389,10 +47630,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1405, + "id": 1411, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12106:6:1", + "src": "12207:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -47403,11 +47644,11 @@ }, { "constant": false, - "id": 1408, + "id": 1414, "name": "_limitUsd", "nodeType": "VariableDeclaration", - "scope": 1422, - "src": "12125:17:1", + "scope": 1428, + "src": "12226:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47415,10 +47656,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1407, + "id": 1413, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12125:7:1", + "src": "12226:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47428,43 +47669,43 @@ "visibility": "internal" } ], - "src": "12093:50:1" + "src": "12194:50:1" }, "payable": false, "returnParameters": { - "id": 1412, + "id": 1418, "nodeType": "ParameterList", "parameters": [], - "src": "12159:0:1" + "src": "12260:0:1" }, - "scope": 2659, - "src": "12067:143:1", + "scope": 2672, + "src": "12168:143:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1439, + "id": 1445, "nodeType": "Block", - "src": "12309:50:1", + "src": "12410:50:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1437, + "id": 1443, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1431, + "id": 1437, "name": "limitUsd", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "12315:8:1", + "referencedDeclaration": 1435, + "src": "12416:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47478,26 +47719,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1432, + "id": 1438, "name": "limitTier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "12326:9:1", + "referencedDeclaration": 1408, + "src": "12427:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_mapping$_t_bytes2_$_t_uint256_$_$", "typeString": "mapping(uint256 => mapping(bytes2 => uint256))" } }, - "id": 1434, + "id": 1440, "indexExpression": { "argumentTypes": null, - "id": 1433, + "id": 1439, "name": "_tier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1424, - "src": "12336:5:1", + "referencedDeclaration": 1430, + "src": "12437:5:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47508,21 +47749,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12326:16:1", + "src": "12427:16:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_uint256_$", "typeString": "mapping(bytes2 => uint256)" } }, - "id": 1436, + "id": 1442, "indexExpression": { "argumentTypes": null, - "id": 1435, + "id": 1441, "name": "_countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1426, - "src": "12343:10:1", + "referencedDeclaration": 1432, + "src": "12444:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -47533,26 +47774,26 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12326:28:1", + "src": "12427:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12315:39:1", + "src": "12416:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1438, + "id": 1444, "nodeType": "ExpressionStatement", - "src": "12315:39:1" + "src": "12416:39:1" } ] }, "documentation": null, - "id": 1440, + "id": 1446, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -47560,16 +47801,16 @@ "name": "getSellDailyLimit", "nodeType": "FunctionDefinition", "parameters": { - "id": 1427, + "id": 1433, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1424, + "id": 1430, "name": "_tier", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12240:10:1", + "scope": 1446, + "src": "12341:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47577,10 +47818,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1423, + "id": 1429, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "12240:4:1", + "src": "12341:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47591,11 +47832,11 @@ }, { "constant": false, - "id": 1426, + "id": 1432, "name": "_countryId", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12252:17:1", + "scope": 1446, + "src": "12353:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47603,10 +47844,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1425, + "id": 1431, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12252:6:1", + "src": "12353:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -47616,20 +47857,20 @@ "visibility": "internal" } ], - "src": "12239:31:1" + "src": "12340:31:1" }, "payable": false, "returnParameters": { - "id": 1430, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1429, + "id": 1435, "name": "limitUsd", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "12291:16:1", + "scope": 1446, + "src": "12392:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47637,10 +47878,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1428, + "id": 1434, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12291:7:1", + "src": "12392:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47650,32 +47891,32 @@ "visibility": "internal" } ], - "src": "12290:18:1" + "src": "12391:18:1" }, - "scope": 2659, - "src": "12213:146:1", + "scope": 2672, + "src": "12314:146:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1497, + "id": 1503, "nodeType": "Block", - "src": "12441:726:1", + "src": "12542:726:1", "statements": [ { "assignments": [ - 1447 + 1453 ], "declarations": [ { "constant": false, - "id": 1447, + "id": 1453, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12481:16:1", + "scope": 1504, + "src": "12582:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47683,10 +47924,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 1446, + "id": 1452, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "12481:6:1", + "src": "12582:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -47696,33 +47937,33 @@ "visibility": "internal" } ], - "id": 1452, + "id": 1458, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1448, + "id": 1454, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "12500:6:1", + "referencedDeclaration": 534, + "src": "12601:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1450, + "id": 1456, "indexExpression": { "argumentTypes": null, - "id": 1449, + "id": 1455, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12507:7:1", + "referencedDeclaration": 1448, + "src": "12608:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47733,41 +47974,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "12500:15:1", + "src": "12601:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1451, + "id": 1457, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "12500:25:1", + "referencedDeclaration": 487, + "src": "12601:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, "nodeType": "VariableDeclarationStatement", - "src": "12481:44:1" + "src": "12582:44:1" }, { "assignments": [ - 1454 + 1460 ], "declarations": [ { "constant": false, - "id": 1454, + "id": 1460, "name": "usdDailyLimit", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12580:21:1", + "scope": 1504, + "src": "12681:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47775,10 +48016,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1453, + "id": 1459, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12580:7:1", + "src": "12681:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47788,7 +48029,7 @@ "visibility": "internal" } ], - "id": 1464, + "id": 1470, "initialValue": { "argumentTypes": null, "arguments": [ @@ -47799,12 +48040,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1457, + "id": 1463, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12630:7:1", + "referencedDeclaration": 1448, + "src": "12731:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -47818,18 +48059,18 @@ "typeString": "address" } ], - "id": 1456, + "id": 1462, "name": "isTier2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2768, - "src": "12622:7:1", + "referencedDeclaration": 2781, + "src": "12723:7:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1458, + "id": 1464, "isConstant": false, "isLValue": false, "isPure": false, @@ -47837,7 +48078,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12622:16:1", + "src": "12723:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -47846,14 +48087,14 @@ "falseExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1460, + "id": 1466, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12645:1:1", + "src": "12746:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -47861,24 +48102,24 @@ }, "value": "1" }, - "id": 1461, + "id": 1467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "Conditional", - "src": "12622:24:1", + "src": "12723:24:1", "trueExpression": { "argumentTypes": null, "hexValue": "32", - "id": 1459, + "id": 1465, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12641:1:1", + "src": "12742:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_2_by_1", @@ -47893,12 +48134,12 @@ }, { "argumentTypes": null, - "id": 1462, + "id": 1468, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1447, - "src": "12648:9:1", + "referencedDeclaration": 1453, + "src": "12749:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -47916,18 +48157,18 @@ "typeString": "bytes2" } ], - "id": 1455, + "id": 1461, "name": "getSellDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1440, - "src": "12604:17:1", + "referencedDeclaration": 1446, + "src": "12705:17:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_bytes2_$returns$_t_uint256_$", "typeString": "function (uint256,bytes2) view returns (uint256)" } }, - "id": 1463, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -47935,27 +48176,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12604:54:1", + "src": "12705:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12580:78:1" + "src": "12681:78:1" }, { "assignments": [ - 1466 + 1472 ], "declarations": [ { "constant": false, - "id": 1466, + "id": 1472, "name": "weiDailyLimit", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12743:21:1", + "scope": 1504, + "src": "12844:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -47963,10 +48204,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1465, + "id": 1471, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12743:7:1", + "src": "12844:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -47976,7 +48217,7 @@ "visibility": "internal" } ], - "id": 1474, + "id": 1480, "initialValue": { "argumentTypes": null, "arguments": [ @@ -47987,18 +48228,18 @@ "argumentTypes": [], "expression": { "argumentTypes": null, - "id": 1469, + "id": 1475, "name": "priceOracle", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 475, - "src": "12780:11:1", + "referencedDeclaration": 481, + "src": "12881:11:1", "typeDescriptions": { "typeIdentifier": "t_contract$_ExchangeRateOracle_$300", "typeString": "contract ExchangeRateOracle" } }, - "id": 1470, + "id": 1476, "isConstant": false, "isLValue": false, "isPure": false, @@ -48006,13 +48247,13 @@ "memberName": "getWeiPriceOneUsd", "nodeType": "MemberAccess", "referencedDeclaration": 299, - "src": "12780:29:1", + "src": "12881:29:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", "typeString": "function () view external returns (uint256)" } }, - "id": 1471, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": false, @@ -48020,7 +48261,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12780:31:1", + "src": "12881:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48028,12 +48269,12 @@ }, { "argumentTypes": null, - "id": 1472, + "id": 1478, "name": "usdDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1454, - "src": "12813:13:1", + "referencedDeclaration": 1460, + "src": "12914:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48053,32 +48294,32 @@ ], "expression": { "argumentTypes": null, - "id": 1467, + "id": 1473, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "12767:8:1", + "referencedDeclaration": 3071, + "src": "12868:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1468, + "id": 1474, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "12767:12:1", + "referencedDeclaration": 3008, + "src": "12868:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1473, + "id": 1479, "isConstant": false, "isLValue": false, "isPure": false, @@ -48086,27 +48327,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12767:60:1", + "src": "12868:60:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12743:84:1" + "src": "12844:84:1" }, { "assignments": [ - 1476 + 1482 ], "declarations": [ { "constant": false, - "id": 1476, + "id": 1482, "name": "weiSoldToday", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12920:20:1", + "scope": 1504, + "src": "13021:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48114,10 +48355,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1475, + "id": 1481, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12920:7:1", + "src": "13021:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48127,18 +48368,18 @@ "visibility": "internal" } ], - "id": 1481, + "id": 1487, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1479, + "id": 1485, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1442, - "src": "12964:7:1", + "referencedDeclaration": 1448, + "src": "13065:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48154,18 +48395,18 @@ ], "expression": { "argumentTypes": null, - "id": 1477, + "id": 1483, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "12943:4:1", + "referencedDeclaration": 479, + "src": "13044:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1478, + "id": 1484, "isConstant": false, "isLValue": false, "isPure": false, @@ -48173,13 +48414,13 @@ "memberName": "getWeiSoldToday", "nodeType": "MemberAccess", "referencedDeclaration": 382, - "src": "12943:20:1", + "src": "13044:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 1480, + "id": 1486, "isConstant": false, "isLValue": false, "isPure": false, @@ -48187,27 +48428,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "12943:29:1", + "src": "13044:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12920:52:1" + "src": "13021:52:1" }, { "assignments": [ - 1483 + 1489 ], "declarations": [ { "constant": false, - "id": 1483, + "id": 1489, "name": "newWeiSoldToday", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12979:23:1", + "scope": 1504, + "src": "13080:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48215,10 +48456,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1482, + "id": 1488, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12979:7:1", + "src": "13080:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48228,18 +48469,18 @@ "visibility": "internal" } ], - "id": 1489, + "id": 1495, "initialValue": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 1486, + "id": 1492, "name": "weiSoldToday", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1476, - "src": "13018:12:1", + "referencedDeclaration": 1482, + "src": "13119:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48247,12 +48488,12 @@ }, { "argumentTypes": null, - "id": 1487, + "id": 1493, "name": "_weiSellAmount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1444, - "src": "13032:14:1", + "referencedDeclaration": 1450, + "src": "13133:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48272,32 +48513,32 @@ ], "expression": { "argumentTypes": null, - "id": 1484, + "id": 1490, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "13005:8:1", + "referencedDeclaration": 3071, + "src": "13106:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1485, + "id": 1491, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "13005:12:1", + "referencedDeclaration": 3070, + "src": "13106:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1488, + "id": 1494, "isConstant": false, "isLValue": false, "isPure": false, @@ -48305,14 +48546,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13005:42:1", + "src": "13106:42:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12979:68:1" + "src": "13080:68:1" }, { "expression": { @@ -48324,19 +48565,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1493, + "id": 1499, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1491, + "id": 1497, "name": "newWeiSoldToday", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1483, - "src": "13122:15:1", + "referencedDeclaration": 1489, + "src": "13223:15:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48346,18 +48587,18 @@ "operator": "<=", "rightExpression": { "argumentTypes": null, - "id": 1492, + "id": 1498, "name": "weiDailyLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1466, - "src": "13141:13:1", + "referencedDeclaration": 1472, + "src": "13242:13:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13122:32:1", + "src": "13223:32:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -48371,21 +48612,21 @@ "typeString": "bool" } ], - "id": 1490, + "id": 1496, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13114:7:1", + "referencedDeclaration": 3393, + "src": "13215:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1494, + "id": 1500, "isConstant": false, "isLValue": false, "isPure": false, @@ -48393,38 +48634,38 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13114:41:1", + "src": "13215:41:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1495, + "id": 1501, "nodeType": "ExpressionStatement", - "src": "13114:41:1" + "src": "13215:41:1" }, { - "id": 1496, + "id": 1502, "nodeType": "PlaceholderStatement", - "src": "13161:1:1" + "src": "13262:1:1" } ] }, "documentation": null, - "id": 1498, + "id": 1504, "name": "doesNotExceedDailySellLimit", "nodeType": "ModifierDefinition", "parameters": { - "id": 1445, + "id": 1451, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1442, + "id": 1448, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12400:15:1", + "scope": 1504, + "src": "12501:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48432,10 +48673,10 @@ "typeString": "address" }, "typeName": { - "id": 1441, + "id": 1447, "name": "address", "nodeType": "ElementaryTypeName", - "src": "12400:7:1", + "src": "12501:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48446,11 +48687,11 @@ }, { "constant": false, - "id": 1444, + "id": 1450, "name": "_weiSellAmount", "nodeType": "VariableDeclaration", - "scope": 1498, - "src": "12417:22:1", + "scope": 1504, + "src": "12518:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48458,10 +48699,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1443, + "id": 1449, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12417:7:1", + "src": "12518:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48471,16 +48712,16 @@ "visibility": "internal" } ], - "src": "12399:41:1" + "src": "12500:41:1" }, - "src": "12363:804:1", + "src": "12464:804:1", "visibility": "internal" }, { "body": { - "id": 1513, + "id": 1519, "nodeType": "Block", - "src": "13260:50:1", + "src": "13361:50:1", "statements": [ { "expression": { @@ -48489,26 +48730,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1507, + "id": 1513, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "13273:20:1", + "referencedDeclaration": 514, + "src": "13374:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1509, + "id": 1515, "indexExpression": { "argumentTypes": null, - "id": 1508, + "id": 1514, "name": "_from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1500, - "src": "13294:5:1", + "referencedDeclaration": 1506, + "src": "13395:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48519,21 +48760,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13273:27:1", + "src": "13374:27:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1511, + "id": 1517, "indexExpression": { "argumentTypes": null, - "id": 1510, + "id": 1516, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "13301:3:1", + "referencedDeclaration": 1508, + "src": "13402:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48544,21 +48785,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13273:32:1", + "src": "13374:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1506, - "id": 1512, + "functionReturnParameters": 1512, + "id": 1518, "nodeType": "Return", - "src": "13266:39:1" + "src": "13367:39:1" } ] }, "documentation": null, - "id": 1514, + "id": 1520, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -48566,16 +48807,16 @@ "name": "getPairSellLoyaltyPerc", "nodeType": "FunctionDefinition", "parameters": { - "id": 1503, + "id": 1509, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1500, + "id": 1506, "name": "_from", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13203:13:1", + "scope": 1520, + "src": "13304:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48583,10 +48824,10 @@ "typeString": "address" }, "typeName": { - "id": 1499, + "id": 1505, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13203:7:1", + "src": "13304:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48597,11 +48838,11 @@ }, { "constant": false, - "id": 1502, + "id": 1508, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13218:11:1", + "scope": 1520, + "src": "13319:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48609,10 +48850,10 @@ "typeString": "address" }, "typeName": { - "id": 1501, + "id": 1507, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13218:7:1", + "src": "13319:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48622,20 +48863,20 @@ "visibility": "internal" } ], - "src": "13202:28:1" + "src": "13303:28:1" }, "payable": false, "returnParameters": { - "id": 1506, + "id": 1512, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1505, + "id": 1511, "name": "", "nodeType": "VariableDeclaration", - "scope": 1514, - "src": "13251:7:1", + "scope": 1520, + "src": "13352:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48643,10 +48884,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1504, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13251:7:1", + "src": "13352:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48656,45 +48897,45 @@ "visibility": "internal" } ], - "src": "13250:9:1" + "src": "13351:9:1" }, - "scope": 2659, - "src": "13171:139:1", + "scope": 2672, + "src": "13272:139:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1525, + "id": 1531, "nodeType": "Block", - "src": "13383:36:1", + "src": "13484:36:1", "statements": [ { "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1521, + "id": 1527, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "13396:13:1", + "referencedDeclaration": 530, + "src": "13497:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1523, + "id": 1529, "indexExpression": { "argumentTypes": null, - "id": 1522, + "id": 1528, "name": "who", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "13410:3:1", + "referencedDeclaration": 1522, + "src": "13511:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48705,21 +48946,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "13396:18:1", + "src": "13497:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1520, - "id": 1524, + "functionReturnParameters": 1526, + "id": 1530, "nodeType": "Return", - "src": "13389:25:1" + "src": "13490:25:1" } ] }, "documentation": null, - "id": 1526, + "id": 1532, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -48727,16 +48968,16 @@ "name": "getLoyaltyPoints", "nodeType": "FunctionDefinition", "parameters": { - "id": 1517, + "id": 1523, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1516, + "id": 1522, "name": "who", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "13340:11:1", + "scope": 1532, + "src": "13441:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48744,10 +48985,10 @@ "typeString": "address" }, "typeName": { - "id": 1515, + "id": 1521, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13340:7:1", + "src": "13441:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48757,20 +48998,20 @@ "visibility": "internal" } ], - "src": "13339:13:1" + "src": "13440:13:1" }, "payable": false, "returnParameters": { - "id": 1520, + "id": 1526, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1519, + "id": 1525, "name": "", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "13374:7:1", + "scope": 1532, + "src": "13475:7:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -48778,10 +49019,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1518, + "id": 1524, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13374:7:1", + "src": "13475:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -48791,19 +49032,19 @@ "visibility": "internal" } ], - "src": "13373:9:1" + "src": "13474:9:1" }, - "scope": 2659, - "src": "13314:105:1", + "scope": 2672, + "src": "13415:105:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 1671, + "id": 1677, "nodeType": "Block", - "src": "13698:1427:1", + "src": "13799:1427:1", "statements": [ { "expression": { @@ -48816,18 +49057,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1542, + "id": 1548, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13721:3:1", + "referencedDeclaration": 3390, + "src": "13822:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1543, + "id": 1549, "isConstant": false, "isLValue": false, "isPure": false, @@ -48835,7 +49076,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13721:10:1", + "src": "13822:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48849,18 +49090,18 @@ "typeString": "address" } ], - "id": 1541, + "id": 1547, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "13712:8:1", + "referencedDeclaration": 2629, + "src": "13813:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1544, + "id": 1550, "isConstant": false, "isLValue": false, "isPure": false, @@ -48868,7 +49109,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13712:20:1", + "src": "13813:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -48882,21 +49123,21 @@ "typeString": "bool" } ], - "id": 1540, + "id": 1546, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13704:7:1", + "referencedDeclaration": 3393, + "src": "13805:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1545, + "id": 1551, "isConstant": false, "isLValue": false, "isPure": false, @@ -48904,15 +49145,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13704:29:1", + "src": "13805:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1552, "nodeType": "ExpressionStatement", - "src": "13704:29:1" + "src": "13805:29:1" }, { "expression": { @@ -48924,19 +49165,19 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1551, + "id": 1557, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1548, + "id": 1554, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "13747:3:1", + "referencedDeclaration": 1534, + "src": "13848:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -48948,18 +49189,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1549, + "id": 1555, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13754:3:1", + "referencedDeclaration": 3390, + "src": "13855:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1550, + "id": 1556, "isConstant": false, "isLValue": false, "isPure": false, @@ -48967,13 +49208,13 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13754:10:1", + "src": "13855:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "13747:17:1", + "src": "13848:17:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -48987,21 +49228,21 @@ "typeString": "bool" } ], - "id": 1547, + "id": 1553, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "13739:7:1", + "referencedDeclaration": 3393, + "src": "13840:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1552, + "id": 1558, "isConstant": false, "isLValue": false, "isPure": false, @@ -49009,15 +49250,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13739:26:1", + "src": "13840:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1553, + "id": 1559, "nodeType": "ExpressionStatement", - "src": "13739:26:1" + "src": "13840:26:1" }, { "expression": { @@ -49027,18 +49268,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1557, + "id": 1563, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13910:3:1", + "referencedDeclaration": 3390, + "src": "14011:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1558, + "id": 1564, "isConstant": false, "isLValue": false, "isPure": false, @@ -49046,7 +49287,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13910:10:1", + "src": "14011:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49054,12 +49295,12 @@ }, { "argumentTypes": null, - "id": 1559, + "id": 1565, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "13922:3:1", + "referencedDeclaration": 1534, + "src": "14023:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49067,12 +49308,12 @@ }, { "argumentTypes": null, - "id": 1560, + "id": 1566, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "13927:7:1", + "referencedDeclaration": 1536, + "src": "14028:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49096,18 +49337,18 @@ ], "expression": { "argumentTypes": null, - "id": 1554, + "id": 1560, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "13893:4:1", + "referencedDeclaration": 479, + "src": "13994:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1556, + "id": 1562, "isConstant": false, "isLValue": false, "isPure": false, @@ -49115,13 +49356,13 @@ "memberName": "withdrawEth", "nodeType": "MemberAccess", "referencedDeclaration": 349, - "src": "13893:16:1", + "src": "13994:16:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256) external" } }, - "id": 1561, + "id": 1567, "isConstant": false, "isLValue": false, "isPure": false, @@ -49129,15 +49370,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13893:42:1", + "src": "13994:42:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1562, + "id": 1568, "nodeType": "ExpressionStatement", - "src": "13893:42:1" + "src": "13994:42:1" }, { "condition": { @@ -49145,12 +49386,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1565, + "id": 1571, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14118:3:1", + "referencedDeclaration": 1534, + "src": "14219:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49166,32 +49407,32 @@ ], "expression": { "argumentTypes": null, - "id": 1563, + "id": 1569, "name": "smsCertifier", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2674, - "src": "14095:12:1", + "referencedDeclaration": 2687, + "src": "14196:12:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Certifier_$2921", + "typeIdentifier": "t_contract$_Certifier_$2934", "typeString": "contract Certifier" } }, - "id": 1564, + "id": 1570, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "certified", "nodeType": "MemberAccess", - "referencedDeclaration": 2920, - "src": "14095:22:1", + "referencedDeclaration": 2933, + "src": "14196:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view external returns (bool)" } }, - "id": 1566, + "id": 1572, "isConstant": false, "isLValue": false, "isPure": false, @@ -49199,33 +49440,33 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14095:27:1", + "src": "14196:27:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1663, + "id": 1669, "nodeType": "IfStatement", - "src": "14091:989:1", + "src": "14192:989:1", "trueBody": { - "id": 1662, + "id": 1668, "nodeType": "Block", - "src": "14124:956:1", + "src": "14225:956:1", "statements": [ { "assignments": [ - 1568 + 1574 ], "declarations": [ { "constant": false, - "id": 1568, + "id": 1574, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "14132:35:1", + "scope": 1678, + "src": "14233:35:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -49233,10 +49474,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1567, + "id": 1573, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "14132:4:1", + "src": "14233:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49246,41 +49487,41 @@ "visibility": "internal" } ], - "id": 1575, + "id": 1581, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1569, + "id": 1575, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14170:20:1", + "referencedDeclaration": 514, + "src": "14271:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1572, + "id": 1578, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1570, + "id": 1576, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14191:3:1", + "referencedDeclaration": 3390, + "src": "14292:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1571, + "id": 1577, "isConstant": false, "isLValue": false, "isPure": false, @@ -49288,7 +49529,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14191:10:1", + "src": "14292:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49299,21 +49540,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14170:32:1", + "src": "14271:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1574, + "id": 1580, "indexExpression": { "argumentTypes": null, - "id": 1573, + "id": 1579, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14203:3:1", + "referencedDeclaration": 1534, + "src": "14304:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49324,14 +49565,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14170:37:1", + "src": "14271:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14132:75:1" + "src": "14233:75:1" }, { "condition": { @@ -49340,19 +49581,19 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1578, + "id": 1584, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "argumentTypes": null, - "id": 1576, + "id": 1582, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14219:30:1", + "referencedDeclaration": 1574, + "src": "14320:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49363,14 +49604,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "30", - "id": 1577, + "id": 1583, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14253:1:1", + "src": "14354:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -49378,25 +49619,25 @@ }, "value": "0" }, - "src": "14219:35:1", + "src": "14320:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1593, + "id": 1599, "nodeType": "IfStatement", - "src": "14215:225:1", + "src": "14316:225:1", "trueBody": { - "id": 1592, + "id": 1598, "nodeType": "Block", - "src": "14256:184:1", + "src": "14357:184:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 1586, + "id": 1592, "isConstant": false, "isLValue": false, "isPure": false, @@ -49407,34 +49648,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1579, + "id": 1585, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14338:20:1", + "referencedDeclaration": 514, + "src": "14439:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1583, + "id": 1589, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1580, + "id": 1586, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14359:3:1", + "referencedDeclaration": 3390, + "src": "14460:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1581, + "id": 1587, "isConstant": false, "isLValue": false, "isPure": false, @@ -49442,7 +49683,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14359:10:1", + "src": "14460:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49453,21 +49694,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14338:32:1", + "src": "14439:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1584, + "id": 1590, "indexExpression": { "argumentTypes": null, - "id": 1582, + "id": 1588, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14371:3:1", + "referencedDeclaration": 1534, + "src": "14472:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49478,7 +49719,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14338:37:1", + "src": "14439:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49489,14 +49730,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1585, + "id": 1591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14378:5:1", + "src": "14479:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -49504,32 +49745,32 @@ }, "value": "10000" }, - "src": "14338:45:1", + "src": "14439:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1587, + "id": 1593, "nodeType": "ExpressionStatement", - "src": "14338:45:1" + "src": "14439:45:1" }, { "expression": { "argumentTypes": null, - "id": 1590, + "id": 1596, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 1588, + "id": 1594, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14393:30:1", + "referencedDeclaration": 1574, + "src": "14494:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49540,14 +49781,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1589, + "id": 1595, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14426:5:1", + "src": "14527:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -49555,15 +49796,15 @@ }, "value": "10000" }, - "src": "14393:38:1", + "src": "14494:38:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1591, + "id": 1597, "nodeType": "ExpressionStatement", - "src": "14393:38:1" + "src": "14494:38:1" } ] } @@ -49571,7 +49812,7 @@ { "expression": { "argumentTypes": null, - "id": 1612, + "id": 1618, "isConstant": false, "isLValue": false, "isPure": false, @@ -49580,34 +49821,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1594, + "id": 1600, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "14528:13:1", + "referencedDeclaration": 530, + "src": "14629:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1597, + "id": 1603, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1595, + "id": 1601, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14542:3:1", + "referencedDeclaration": 3390, + "src": "14643:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1596, + "id": 1602, "isConstant": false, "isLValue": false, "isPure": false, @@ -49615,7 +49856,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14542:10:1", + "src": "14643:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49626,7 +49867,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14528:25:1", + "src": "14629:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49641,34 +49882,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1600, + "id": 1606, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "14569:13:1", + "referencedDeclaration": 530, + "src": "14670:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1603, + "id": 1609, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1601, + "id": 1607, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14583:3:1", + "referencedDeclaration": 3390, + "src": "14684:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1602, + "id": 1608, "isConstant": false, "isLValue": false, "isPure": false, @@ -49676,7 +49917,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14583:10:1", + "src": "14684:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49687,7 +49928,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14569:25:1", + "src": "14670:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49699,7 +49940,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1610, + "id": 1616, "isConstant": false, "isLValue": false, "isPure": false, @@ -49709,12 +49950,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1606, + "id": 1612, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "14609:7:1", + "referencedDeclaration": 1536, + "src": "14710:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49722,12 +49963,12 @@ }, { "argumentTypes": null, - "id": 1607, + "id": 1613, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14618:30:1", + "referencedDeclaration": 1574, + "src": "14719:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49747,32 +49988,32 @@ ], "expression": { "argumentTypes": null, - "id": 1604, + "id": 1610, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14596:8:1", + "referencedDeclaration": 3071, + "src": "14697:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1605, + "id": 1611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "14596:12:1", + "referencedDeclaration": 3008, + "src": "14697:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1608, + "id": 1614, "isConstant": false, "isLValue": false, "isPure": false, @@ -49780,7 +50021,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14596:53:1", + "src": "14697:53:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49791,14 +50032,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "3130303030", - "id": 1609, + "id": 1615, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14652:5:1", + "src": "14753:5:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_10000_by_1", @@ -49806,7 +50047,7 @@ }, "value": "10000" }, - "src": "14596:61:1", + "src": "14697:61:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49826,32 +50067,32 @@ ], "expression": { "argumentTypes": null, - "id": 1598, + "id": 1604, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14556:8:1", + "referencedDeclaration": 3071, + "src": "14657:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1599, + "id": 1605, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14556:12:1", + "referencedDeclaration": 3070, + "src": "14657:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1611, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, @@ -49859,26 +50100,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14556:102:1", + "src": "14657:102:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14528:130:1", + "src": "14629:130:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1613, + "id": 1619, "nodeType": "ExpressionStatement", - "src": "14528:130:1" + "src": "14629:130:1" }, { "expression": { "argumentTypes": null, - "id": 1627, + "id": 1633, "isConstant": false, "isLValue": false, "isPure": false, @@ -49889,34 +50130,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1614, + "id": 1620, "name": "pairSellsLoyaltyPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 508, - "src": "14806:20:1", + "referencedDeclaration": 514, + "src": "14907:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", "typeString": "mapping(address => mapping(address => uint256))" } }, - "id": 1618, + "id": 1624, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1615, + "id": 1621, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14827:3:1", + "referencedDeclaration": 3390, + "src": "14928:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1616, + "id": 1622, "isConstant": false, "isLValue": false, "isPure": false, @@ -49924,7 +50165,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14827:10:1", + "src": "14928:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49935,21 +50176,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14806:32:1", + "src": "14907:32:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1619, + "id": 1625, "indexExpression": { "argumentTypes": null, - "id": 1617, + "id": 1623, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14839:3:1", + "referencedDeclaration": 1534, + "src": "14940:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -49960,7 +50201,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14806:37:1", + "src": "14907:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49974,7 +50215,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1626, + "id": 1632, "isConstant": false, "isLValue": false, "isPure": false, @@ -49984,12 +50225,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1622, + "id": 1628, "name": "currentSellerLoyaltyPointsPerc", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1568, - "src": "14859:30:1", + "referencedDeclaration": 1574, + "src": "14960:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -49998,14 +50239,14 @@ { "argumentTypes": null, "hexValue": "3739", - "id": 1623, + "id": 1629, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14891:2:1", + "src": "14992:2:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_79_by_1", @@ -50027,32 +50268,32 @@ ], "expression": { "argumentTypes": null, - "id": 1620, + "id": 1626, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14846:8:1", + "referencedDeclaration": 3071, + "src": "14947:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1621, + "id": 1627, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "mul", "nodeType": "MemberAccess", - "referencedDeclaration": 2995, - "src": "14846:12:1", + "referencedDeclaration": 3008, + "src": "14947:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1624, + "id": 1630, "isConstant": false, "isLValue": false, "isPure": false, @@ -50060,7 +50301,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14846:48:1", + "src": "14947:48:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50071,14 +50312,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "313030", - "id": 1625, + "id": 1631, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14897:3:1", + "src": "14998:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_100_by_1", @@ -50086,26 +50327,26 @@ }, "value": "100" }, - "src": "14846:54:1", + "src": "14947:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14806:94:1", + "src": "14907:94:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1628, + "id": 1634, "nodeType": "ExpressionStatement", - "src": "14806:94:1" + "src": "14907:94:1" }, { "expression": { "argumentTypes": null, - "id": 1639, + "id": 1645, "isConstant": false, "isLValue": false, "isPure": false, @@ -50114,26 +50355,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1629, + "id": 1635, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "14909:9:1", + "referencedDeclaration": 518, + "src": "15010:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1631, + "id": 1637, "indexExpression": { "argumentTypes": null, - "id": 1630, + "id": 1636, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14919:3:1", + "referencedDeclaration": 1534, + "src": "15020:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50144,7 +50385,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14909:14:1", + "src": "15010:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50159,26 +50400,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1634, + "id": 1640, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "14939:9:1", + "referencedDeclaration": 518, + "src": "15040:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1636, + "id": 1642, "indexExpression": { "argumentTypes": null, - "id": 1635, + "id": 1641, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "14949:3:1", + "referencedDeclaration": 1534, + "src": "15050:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50189,7 +50430,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "14939:14:1", + "src": "15040:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50197,12 +50438,12 @@ }, { "argumentTypes": null, - "id": 1637, + "id": 1643, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "14955:7:1", + "referencedDeclaration": 1536, + "src": "15056:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50222,32 +50463,32 @@ ], "expression": { "argumentTypes": null, - "id": 1632, + "id": 1638, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14926:8:1", + "referencedDeclaration": 3071, + "src": "15027:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1633, + "id": 1639, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14926:12:1", + "referencedDeclaration": 3070, + "src": "15027:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1638, + "id": 1644, "isConstant": false, "isLValue": false, "isPure": false, @@ -50255,26 +50496,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14926:37:1", + "src": "15027:37:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14909:54:1", + "src": "15010:54:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1640, + "id": 1646, "nodeType": "ExpressionStatement", - "src": "14909:54:1" + "src": "15010:54:1" }, { "expression": { "argumentTypes": null, - "id": 1653, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": false, @@ -50283,34 +50524,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1641, + "id": 1647, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "14971:10:1", + "referencedDeclaration": 522, + "src": "15072:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1644, + "id": 1650, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1642, + "id": 1648, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "14982:3:1", + "referencedDeclaration": 3390, + "src": "15083:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1643, + "id": 1649, "isConstant": false, "isLValue": false, "isPure": false, @@ -50318,7 +50559,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "14982:10:1", + "src": "15083:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50329,7 +50570,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "14971:22:1", + "src": "15072:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50344,34 +50585,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1647, + "id": 1653, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "15009:10:1", + "referencedDeclaration": 522, + "src": "15110:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1650, + "id": 1656, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1648, + "id": 1654, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15020:3:1", + "referencedDeclaration": 3390, + "src": "15121:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1649, + "id": 1655, "isConstant": false, "isLValue": false, "isPure": false, @@ -50379,7 +50620,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15020:10:1", + "src": "15121:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50390,7 +50631,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15009:22:1", + "src": "15110:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50398,12 +50639,12 @@ }, { "argumentTypes": null, - "id": 1651, + "id": 1657, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "15033:7:1", + "referencedDeclaration": 1536, + "src": "15134:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50423,32 +50664,32 @@ ], "expression": { "argumentTypes": null, - "id": 1645, + "id": 1651, "name": "SafeMath", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3058, - "src": "14996:8:1", + "referencedDeclaration": 3071, + "src": "15097:8:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_SafeMath_$3058_$", + "typeIdentifier": "t_type$_t_contract$_SafeMath_$3071_$", "typeString": "type(contract SafeMath)" } }, - "id": 1646, + "id": 1652, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 3057, - "src": "14996:12:1", + "referencedDeclaration": 3070, + "src": "15097:12:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$", "typeString": "function (uint256,uint256) pure returns (uint256)" } }, - "id": 1652, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, @@ -50456,26 +50697,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14996:45:1", + "src": "15097:45:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14971:70:1", + "src": "15072:70:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1654, + "id": 1660, "nodeType": "ExpressionStatement", - "src": "14971:70:1" + "src": "15072:70:1" }, { "expression": { "argumentTypes": null, - "id": 1660, + "id": 1666, "isConstant": false, "isLValue": false, "isPure": false, @@ -50484,34 +50725,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1655, + "id": 1661, "name": "nbTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "15049:7:1", + "referencedDeclaration": 526, + "src": "15150:7:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 1658, + "id": 1664, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1656, + "id": 1662, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15057:3:1", + "referencedDeclaration": 3390, + "src": "15158:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1657, + "id": 1663, "isConstant": false, "isLValue": false, "isPure": false, @@ -50519,7 +50760,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15057:10:1", + "src": "15158:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50530,7 +50771,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "15049:19:1", + "src": "15150:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50541,14 +50782,14 @@ "rightHandSide": { "argumentTypes": null, "hexValue": "31", - "id": 1659, + "id": 1665, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15072:1:1", + "src": "15173:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -50556,15 +50797,15 @@ }, "value": "1" }, - "src": "15049:24:1", + "src": "15150:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1661, + "id": 1667, "nodeType": "ExpressionStatement", - "src": "15049:24:1" + "src": "15150:24:1" } ] } @@ -50577,18 +50818,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1665, + "id": 1671, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15095:3:1", + "referencedDeclaration": 3390, + "src": "15196:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1666, + "id": 1672, "isConstant": false, "isLValue": false, "isPure": false, @@ -50596,7 +50837,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15095:10:1", + "src": "15196:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50604,12 +50845,12 @@ }, { "argumentTypes": null, - "id": 1667, + "id": 1673, "name": "_to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1528, - "src": "15107:3:1", + "referencedDeclaration": 1534, + "src": "15208:3:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50617,12 +50858,12 @@ }, { "argumentTypes": null, - "id": 1668, + "id": 1674, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "15112:7:1", + "referencedDeclaration": 1536, + "src": "15213:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50644,18 +50885,18 @@ "typeString": "uint256" } ], - "id": 1664, + "id": 1670, "name": "Sent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 417, - "src": "15090:4:1", + "referencedDeclaration": 423, + "src": "15191:4:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 1669, + "id": 1675, "isConstant": false, "isLValue": false, "isPure": false, @@ -50663,42 +50904,42 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15090:30:1", + "src": "15191:30:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1670, + "id": 1676, "nodeType": "EmitStatement", - "src": "15085:35:1" + "src": "15186:35:1" } ] }, "documentation": "SellEth\naverage gas cost: 123173\n@param _to -> the address for the receiver\n@param _amount -> the amount to send", - "id": 1672, + "id": 1678, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 1533, + "id": 1539, "modifierName": { "argumentTypes": null, - "id": 1532, + "id": 1538, "name": "whenNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 253, - "src": "13616:13:1", + "src": "13717:13:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "13616:13:1" + "src": "13717:13:1" }, { "arguments": [ @@ -50706,18 +50947,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1535, + "id": 1541, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "13662:3:1", + "referencedDeclaration": 3390, + "src": "13763:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1536, + "id": 1542, "isConstant": false, "isLValue": false, "isPure": false, @@ -50725,7 +50966,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "13662:10:1", + "src": "13763:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50733,49 +50974,49 @@ }, { "argumentTypes": null, - "id": 1537, + "id": 1543, "name": "_amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1530, - "src": "13674:7:1", + "referencedDeclaration": 1536, + "src": "13775:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 1538, + "id": 1544, "modifierName": { "argumentTypes": null, - "id": 1534, + "id": 1540, "name": "doesNotExceedDailySellLimit", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1498, - "src": "13634:27:1", + "referencedDeclaration": 1504, + "src": "13735:27:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$_t_uint256_$", "typeString": "modifier (address,uint256)" } }, "nodeType": "ModifierInvocation", - "src": "13634:48:1" + "src": "13735:48:1" } ], "name": "sellEth", "nodeType": "FunctionDefinition", "parameters": { - "id": 1531, + "id": 1537, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1528, + "id": 1534, "name": "_to", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "13585:11:1", + "scope": 1678, + "src": "13686:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -50783,10 +51024,10 @@ "typeString": "address" }, "typeName": { - "id": 1527, + "id": 1533, "name": "address", "nodeType": "ElementaryTypeName", - "src": "13585:7:1", + "src": "13686:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50797,11 +51038,11 @@ }, { "constant": false, - "id": 1530, + "id": 1536, "name": "_amount", "nodeType": "VariableDeclaration", - "scope": 1672, - "src": "13598:12:1", + "scope": 1678, + "src": "13699:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -50809,10 +51050,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1529, + "id": 1535, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "13598:4:1", + "src": "13699:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -50822,26 +51063,26 @@ "visibility": "internal" } ], - "src": "13584:27:1" + "src": "13685:27:1" }, "payable": false, "returnParameters": { - "id": 1539, + "id": 1545, "nodeType": "ParameterList", "parameters": [], - "src": "13698:0:1" + "src": "13799:0:1" }, - "scope": 2659, - "src": "13568:1557:1", + "scope": 2672, + "src": "13669:1557:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1693, + "id": 1699, "nodeType": "Block", - "src": "15235:93:1", + "src": "15336:93:1", "statements": [ { "condition": { @@ -50850,7 +51091,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1683, + "id": 1689, "isConstant": false, "isLValue": false, "isPure": false, @@ -50861,34 +51102,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1677, + "id": 1683, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15245:6:1", + "referencedDeclaration": 534, + "src": "15346:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1680, + "id": 1686, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1678, + "id": 1684, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15252:3:1", + "referencedDeclaration": 3390, + "src": "15353:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1679, + "id": 1685, "isConstant": false, "isLValue": false, "isPure": false, @@ -50896,7 +51137,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15252:10:1", + "src": "15353:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -50907,21 +51148,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15245:18:1", + "src": "15346:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1681, + "id": 1687, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "15245:25:1", + "referencedDeclaration": 507, + "src": "15346:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -50931,31 +51172,31 @@ "operator": "!=", "rightExpression": { "argumentTypes": null, - "id": 1682, + "id": 1688, "name": "_status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "15274:7:1", + "referencedDeclaration": 1680, + "src": "15375:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "15245:36:1", + "src": "15346:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": null, - "id": 1692, + "id": 1698, "nodeType": "IfStatement", - "src": "15241:82:1", + "src": "15342:82:1", "trueBody": { "expression": { "argumentTypes": null, - "id": 1690, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": false, @@ -50966,34 +51207,34 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1684, + "id": 1690, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15288:6:1", + "referencedDeclaration": 534, + "src": "15389:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1687, + "id": 1693, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1685, + "id": 1691, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15295:3:1", + "referencedDeclaration": 3390, + "src": "15396:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1686, + "id": 1692, "isConstant": false, "isLValue": false, "isPure": false, @@ -51001,7 +51242,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15295:10:1", + "src": "15396:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51012,21 +51253,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15288:18:1", + "src": "15389:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1688, + "id": 1694, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "15288:25:1", + "referencedDeclaration": 507, + "src": "15389:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -51036,32 +51277,32 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1689, + "id": 1695, "name": "_status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "15316:7:1", + "referencedDeclaration": 1680, + "src": "15417:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "15288:35:1", + "src": "15389:35:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1691, + "id": 1697, "nodeType": "ExpressionStatement", - "src": "15288:35:1" + "src": "15389:35:1" } } ] }, "documentation": "switchStatus\nTurn status teller on/off", - "id": 1694, + "id": 1700, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -51069,16 +51310,16 @@ "name": "switchStatus", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1680, "name": "_status", "nodeType": "VariableDeclaration", - "scope": 1694, - "src": "15212:12:1", + "scope": 1700, + "src": "15313:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -51086,10 +51327,10 @@ "typeString": "bool" }, "typeName": { - "id": 1673, + "id": 1679, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "15212:4:1", + "src": "15313:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -51099,26 +51340,26 @@ "visibility": "internal" } ], - "src": "15211:14:1" + "src": "15312:14:1" }, "payable": false, "returnParameters": { - "id": 1676, + "id": 1682, "nodeType": "ParameterList", "parameters": [], - "src": "15235:0:1" + "src": "15336:0:1" }, - "scope": 2659, - "src": "15190:138:1", + "scope": 2672, + "src": "15291:138:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1718, + "id": 1731, "nodeType": "Block", - "src": "15443:112:1", + "src": "15544:154:1", "statements": [ { "expression": { @@ -51131,18 +51372,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1699, + "id": 1705, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15466:3:1", + "referencedDeclaration": 3390, + "src": "15567:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1700, + "id": 1706, "isConstant": false, "isLValue": false, "isPure": false, @@ -51150,7 +51391,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15466:10:1", + "src": "15567:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51164,18 +51405,18 @@ "typeString": "address" } ], - "id": 1698, + "id": 1704, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "15457:8:1", + "referencedDeclaration": 2629, + "src": "15558:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1701, + "id": 1707, "isConstant": false, "isLValue": false, "isPure": false, @@ -51183,7 +51424,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15457:20:1", + "src": "15558:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -51197,21 +51438,21 @@ "typeString": "bool" } ], - "id": 1697, + "id": 1703, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15449:7:1", + "referencedDeclaration": 3393, + "src": "15550:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1702, + "id": 1708, "isConstant": false, "isLValue": false, "isPure": false, @@ -51219,15 +51460,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15449:29:1", + "src": "15550:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1703, + "id": 1709, "nodeType": "ExpressionStatement", - "src": "15449:29:1" + "src": "15550:29:1" }, { "expression": { @@ -51240,18 +51481,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1711, + "id": 1717, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15527:3:1", + "referencedDeclaration": 3390, + "src": "15628:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1712, + "id": 1718, "isConstant": false, "isLValue": false, "isPure": false, @@ -51259,7 +51500,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15527:10:1", + "src": "15628:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51269,18 +51510,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1713, + "id": 1719, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15539:3:1", + "referencedDeclaration": 3390, + "src": "15640:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1714, + "id": 1720, "isConstant": false, "isLValue": false, "isPure": false, @@ -51288,7 +51529,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15539:9:1", + "src": "15640:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51311,18 +51552,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1708, + "id": 1714, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15516:3:1", + "referencedDeclaration": 3390, + "src": "15617:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1709, + "id": 1715, "isConstant": false, "isLValue": false, "isPure": false, @@ -51330,7 +51571,7 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15516:9:1", + "src": "15617:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51348,18 +51589,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1705, + "id": 1711, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "15492:4:1", + "referencedDeclaration": 479, + "src": "15593:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1706, + "id": 1712, "isConstant": false, "isLValue": false, "isPure": false, @@ -51367,13 +51608,13 @@ "memberName": "addEthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 340, - "src": "15492:17:1", + "src": "15593:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1707, + "id": 1713, "isConstant": false, "isLValue": false, "isPure": false, @@ -51381,13 +51622,13 @@ "memberName": "value", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15492:23:1", + "src": "15593:23:1", "typeDescriptions": { "typeIdentifier": "t_function_setvalue_nonpayable$_t_uint256_$returns$_t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value_$", "typeString": "function (uint256) returns (function (address,uint256) payable external returns (bool))" } }, - "id": 1710, + "id": 1716, "isConstant": false, "isLValue": false, "isPure": false, @@ -51395,13 +51636,13 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15492:34:1", + "src": "15593:34:1", "typeDescriptions": { "typeIdentifier": "t_function_external_payable$_t_address_$_t_uint256_$returns$_t_bool_$value", "typeString": "function (address,uint256) payable external returns (bool)" } }, - "id": 1715, + "id": 1721, "isConstant": false, "isLValue": false, "isPure": false, @@ -51409,7 +51650,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15492:57:1", + "src": "15593:57:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -51423,21 +51664,21 @@ "typeString": "bool" } ], - "id": 1704, + "id": 1710, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15484:7:1", + "referencedDeclaration": 3393, + "src": "15585:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1716, + "id": 1722, "isConstant": false, "isLValue": false, "isPure": false, @@ -51445,20 +51686,123 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15484:66:1", + "src": "15585:66:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1717, + "id": 1723, "nodeType": "ExpressionStatement", - "src": "15484:66:1" + "src": "15585:66:1" + }, + { + "eventCall": { + "argumentTypes": null, + "arguments": [ + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1725, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3390, + "src": "15671:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1726, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "15671:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "argumentTypes": null, + "expression": { + "argumentTypes": null, + "id": 1727, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3390, + "src": "15683:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1728, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "referencedDeclaration": null, + "src": "15683:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1724, + "name": "AddFunds", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 407, + "src": "15662:8:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "15662:31:1", + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1730, + "nodeType": "EmitStatement", + "src": "15657:36:1" } ] }, "documentation": "addFunds\nteller can add more funds on his sellpoint", - "id": 1719, + "id": 1732, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -51466,29 +51810,29 @@ "name": "addFunds", "nodeType": "FunctionDefinition", "parameters": { - "id": 1695, + "id": 1701, "nodeType": "ParameterList", "parameters": [], - "src": "15423:2:1" + "src": "15524:2:1" }, "payable": true, "returnParameters": { - "id": 1696, + "id": 1702, "nodeType": "ParameterList", "parameters": [], - "src": "15443:0:1" + "src": "15544:0:1" }, - "scope": 2659, - "src": "15406:149:1", + "scope": 2672, + "src": "15507:191:1", "stateMutability": "payable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 1871, + "id": 1884, "nodeType": "Block", - "src": "15649:903:1", + "src": "15792:903:1", "statements": [ { "expression": { @@ -51501,18 +51845,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1724, + "id": 1737, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15672:3:1", + "referencedDeclaration": 3390, + "src": "15815:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1725, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, @@ -51520,7 +51864,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15672:10:1", + "src": "15815:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51534,18 +51878,18 @@ "typeString": "address" } ], - "id": 1723, + "id": 1736, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "15663:8:1", + "referencedDeclaration": 2629, + "src": "15806:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1726, + "id": 1739, "isConstant": false, "isLValue": false, "isPure": false, @@ -51553,7 +51897,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15663:20:1", + "src": "15806:20:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -51567,21 +51911,21 @@ "typeString": "bool" } ], - "id": 1722, + "id": 1735, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "15655:7:1", + "referencedDeclaration": 3393, + "src": "15798:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1727, + "id": 1740, "isConstant": false, "isLValue": false, "isPure": false, @@ -51589,28 +51933,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15655:29:1", + "src": "15798:29:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1728, + "id": 1741, "nodeType": "ExpressionStatement", - "src": "15655:29:1" + "src": "15798:29:1" }, { "assignments": [ - 1730 + 1743 ], "declarations": [ { "constant": false, - "id": 1730, + "id": 1743, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "15690:17:1", + "scope": 1885, + "src": "15833:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -51618,10 +51962,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1729, + "id": 1742, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "15690:4:1", + "src": "15833:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -51631,41 +51975,41 @@ "visibility": "internal" } ], - "id": 1736, + "id": 1749, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1731, + "id": 1744, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15710:6:1", + "referencedDeclaration": 534, + "src": "15853:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1734, + "id": 1747, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1732, + "id": 1745, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15717:3:1", + "referencedDeclaration": 3390, + "src": "15860:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1733, + "id": 1746, "isConstant": false, "isLValue": false, "isPure": false, @@ -51673,7 +52017,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15717:10:1", + "src": "15860:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51684,41 +52028,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15710:18:1", + "src": "15853:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1735, + "id": 1748, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "15710:28:1", + "referencedDeclaration": 503, + "src": "15853:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "15690:48:1" + "src": "15833:48:1" }, { "assignments": [ - 1738 + 1751 ], "declarations": [ { "constant": false, - "id": 1738, + "id": 1751, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "15744:18:1", + "scope": 1885, + "src": "15887:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -51726,10 +52070,10 @@ "typeString": "address" }, "typeName": { - "id": 1737, + "id": 1750, "name": "address", "nodeType": "ElementaryTypeName", - "src": "15744:7:1", + "src": "15887:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51739,7 +52083,7 @@ "visibility": "internal" } ], - "id": 1769, + "id": 1782, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -51748,52 +52092,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1739, + "id": 1752, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15765:12:1", + "referencedDeclaration": 541, + "src": "15908:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1745, + "id": 1758, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1740, + "id": 1753, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15778:6:1", + "referencedDeclaration": 534, + "src": "15921:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1743, + "id": 1756, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1741, + "id": 1754, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15785:3:1", + "referencedDeclaration": 3390, + "src": "15928:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1742, + "id": 1755, "isConstant": false, "isLValue": false, "isPure": false, @@ -51801,7 +52145,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15785:10:1", + "src": "15928:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51812,21 +52156,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15778:18:1", + "src": "15921:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1744, + "id": 1757, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15778:28:1", + "referencedDeclaration": 487, + "src": "15921:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -51837,47 +52181,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:42:1", + "src": "15908:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1751, + "id": 1764, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1746, + "id": 1759, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15808:6:1", + "referencedDeclaration": 534, + "src": "15951:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1749, + "id": 1762, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1747, + "id": 1760, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15815:3:1", + "referencedDeclaration": 3390, + "src": "15958:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1748, + "id": 1761, "isConstant": false, "isLValue": false, "isPure": false, @@ -51885,7 +52229,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15815:10:1", + "src": "15958:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -51896,21 +52240,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15808:18:1", + "src": "15951:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1750, + "id": 1763, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15808:29:1", + "referencedDeclaration": 489, + "src": "15951:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -51921,20 +52265,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:73:1", + "src": "15908:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1768, + "id": 1781, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1767, + "id": 1780, "isConstant": false, "isLValue": false, "isPure": false, @@ -51947,52 +52291,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1752, + "id": 1765, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15839:12:1", + "referencedDeclaration": 541, + "src": "15982:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1758, + "id": 1771, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1753, + "id": 1766, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15852:6:1", + "referencedDeclaration": 534, + "src": "15995:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1756, + "id": 1769, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1754, + "id": 1767, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15859:3:1", + "referencedDeclaration": 3390, + "src": "16002:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1755, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": false, @@ -52000,7 +52344,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15859:10:1", + "src": "16002:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52011,21 +52355,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15852:18:1", + "src": "15995:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1757, + "id": 1770, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15852:28:1", + "referencedDeclaration": 487, + "src": "15995:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -52036,47 +52380,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15839:42:1", + "src": "15982:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1764, + "id": 1777, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1759, + "id": 1772, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15882:6:1", + "referencedDeclaration": 534, + "src": "16025:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1762, + "id": 1775, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1760, + "id": 1773, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15889:3:1", + "referencedDeclaration": 3390, + "src": "16032:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1761, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -52084,7 +52428,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15889:10:1", + "src": "16032:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52095,21 +52439,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15882:18:1", + "src": "16025:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1763, + "id": 1776, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15882:29:1", + "referencedDeclaration": 489, + "src": "16025:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -52120,13 +52464,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15839:73:1", + "src": "15982:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1765, + "id": 1778, "isConstant": false, "isLValue": true, "isPure": false, @@ -52134,7 +52478,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15839:80:1", + "src": "15982:80:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52145,14 +52489,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1766, + "id": 1779, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15922:1:1", + "src": "16065:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -52160,7 +52504,7 @@ }, "value": "1" }, - "src": "15839:84:1", + "src": "15982:84:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52171,19 +52515,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15765:159:1", + "src": "15908:159:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "15744:180:1" + "src": "15887:180:1" }, { "expression": { "argumentTypes": null, - "id": 1786, + "id": 1799, "isConstant": false, "isLValue": false, "isPure": false, @@ -52196,52 +52540,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1770, + "id": 1783, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "15930:12:1", + "referencedDeclaration": 541, + "src": "16073:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1782, + "id": 1795, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1771, + "id": 1784, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15943:6:1", + "referencedDeclaration": 534, + "src": "16086:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1774, + "id": 1787, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1772, + "id": 1785, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15950:3:1", + "referencedDeclaration": 3390, + "src": "16093:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1773, + "id": 1786, "isConstant": false, "isLValue": false, "isPure": false, @@ -52249,7 +52593,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15950:10:1", + "src": "16093:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52260,21 +52604,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15943:18:1", + "src": "16086:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1775, + "id": 1788, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "15943:28:1", + "referencedDeclaration": 487, + "src": "16086:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -52285,47 +52629,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15930:42:1", + "src": "16073:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1783, + "id": 1796, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1776, + "id": 1789, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "15973:6:1", + "referencedDeclaration": 534, + "src": "16116:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1779, + "id": 1792, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1777, + "id": 1790, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "15980:3:1", + "referencedDeclaration": 3390, + "src": "16123:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1778, + "id": 1791, "isConstant": false, "isLValue": false, "isPure": false, @@ -52333,7 +52677,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "15980:10:1", + "src": "16123:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52344,21 +52688,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15973:18:1", + "src": "16116:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1780, + "id": 1793, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "15973:29:1", + "referencedDeclaration": 489, + "src": "16116:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -52369,21 +52713,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "15930:73:1", + "src": "16073:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1784, + "id": 1797, "indexExpression": { "argumentTypes": null, - "id": 1781, + "id": 1794, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "16004:12:1", + "referencedDeclaration": 1743, + "src": "16147:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52394,7 +52738,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "15930:87:1", + "src": "16073:87:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52404,31 +52748,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1785, + "id": 1798, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "16020:10:1", + "referencedDeclaration": 1751, + "src": "16163:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "15930:100:1", + "src": "16073:100:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1787, + "id": 1800, "nodeType": "ExpressionStatement", - "src": "15930:100:1" + "src": "16073:100:1" }, { "expression": { "argumentTypes": null, - "id": 1793, + "id": 1806, "isConstant": false, "isLValue": false, "isPure": false, @@ -52439,26 +52783,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1788, + "id": 1801, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16036:6:1", + "referencedDeclaration": 534, + "src": "16179:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1790, + "id": 1803, "indexExpression": { "argumentTypes": null, - "id": 1789, + "id": 1802, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "16043:10:1", + "referencedDeclaration": 1751, + "src": "16186:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52469,21 +52813,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16036:18:1", + "src": "16179:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1791, + "id": 1804, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "16036:28:1", + "referencedDeclaration": 503, + "src": "16179:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52493,31 +52837,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1792, + "id": 1805, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "16067:12:1", + "referencedDeclaration": 1743, + "src": "16210:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16036:43:1", + "src": "16179:43:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1794, + "id": 1807, "nodeType": "ExpressionStatement", - "src": "16036:43:1" + "src": "16179:43:1" }, { "expression": { "argumentTypes": null, - "id": 1809, + "id": 1822, "isConstant": false, "isLValue": false, "isPure": false, @@ -52525,7 +52869,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "16085:82:1", + "src": "16228:82:1", "subExpression": { "argumentTypes": null, "expression": { @@ -52534,52 +52878,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1795, + "id": 1808, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16085:12:1", + "referencedDeclaration": 541, + "src": "16228:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1806, + "id": 1819, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1796, + "id": 1809, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16098:6:1", + "referencedDeclaration": 534, + "src": "16241:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1799, + "id": 1812, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1797, + "id": 1810, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16105:3:1", + "referencedDeclaration": 3390, + "src": "16248:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1798, + "id": 1811, "isConstant": false, "isLValue": false, "isPure": false, @@ -52587,7 +52931,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16105:10:1", + "src": "16248:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52598,21 +52942,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16098:18:1", + "src": "16241:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1800, + "id": 1813, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16098:28:1", + "referencedDeclaration": 487, + "src": "16241:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -52623,47 +52967,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16085:42:1", + "src": "16228:42:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1807, + "id": 1820, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1801, + "id": 1814, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16128:6:1", + "referencedDeclaration": 534, + "src": "16271:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1804, + "id": 1817, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1802, + "id": 1815, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16135:3:1", + "referencedDeclaration": 3390, + "src": "16278:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1803, + "id": 1816, "isConstant": false, "isLValue": false, "isPure": false, @@ -52671,7 +53015,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16135:10:1", + "src": "16278:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52682,21 +53026,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16128:18:1", + "src": "16271:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1805, + "id": 1818, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16128:29:1", + "referencedDeclaration": 489, + "src": "16271:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -52707,13 +53051,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16085:73:1", + "src": "16228:73:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1808, + "id": 1821, "isConstant": false, "isLValue": true, "isPure": false, @@ -52721,7 +53065,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16085:80:1", + "src": "16228:80:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52732,22 +53076,22 @@ "typeString": "uint256" } }, - "id": 1810, + "id": 1823, "nodeType": "ExpressionStatement", - "src": "16085:82:1" + "src": "16228:82:1" }, { "assignments": [ - 1812 + 1825 ], "declarations": [ { "constant": false, - "id": 1812, + "id": 1825, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "16174:17:1", + "scope": 1885, + "src": "16317:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -52755,10 +53099,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1811, + "id": 1824, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16174:4:1", + "src": "16317:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52768,41 +53112,41 @@ "visibility": "internal" } ], - "id": 1818, + "id": 1831, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1813, + "id": 1826, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16194:6:1", + "referencedDeclaration": 534, + "src": "16337:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1816, + "id": 1829, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1814, + "id": 1827, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16201:3:1", + "referencedDeclaration": 3390, + "src": "16344:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1815, + "id": 1828, "isConstant": false, "isLValue": false, "isPure": false, @@ -52810,7 +53154,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16201:10:1", + "src": "16344:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52821,41 +53165,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16194:18:1", + "src": "16337:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1817, + "id": 1830, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "16194:31:1", + "referencedDeclaration": 505, + "src": "16337:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16174:51:1" + "src": "16317:51:1" }, { "assignments": [ - 1820 + 1833 ], "declarations": [ { "constant": false, - "id": 1820, + "id": 1833, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 1872, - "src": "16231:18:1", + "scope": 1885, + "src": "16374:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -52863,10 +53207,10 @@ "typeString": "address" }, "typeName": { - "id": 1819, + "id": 1832, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16231:7:1", + "src": "16374:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -52876,30 +53220,30 @@ "visibility": "internal" } ], - "id": 1827, + "id": 1840, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1821, + "id": 1834, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16252:11:1", + "referencedDeclaration": 544, + "src": "16395:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1826, + "id": 1839, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1825, + "id": 1838, "isConstant": false, "isLValue": false, "isPure": false, @@ -52908,18 +53252,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1822, + "id": 1835, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16264:11:1", + "referencedDeclaration": 544, + "src": "16407:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1823, + "id": 1836, "isConstant": false, "isLValue": true, "isPure": false, @@ -52927,7 +53271,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16264:18:1", + "src": "16407:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52938,14 +53282,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1824, + "id": 1837, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16285:1:1", + "src": "16428:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -52953,7 +53297,7 @@ }, "value": "1" }, - "src": "16264:22:1", + "src": "16407:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -52964,19 +53308,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16252:35:1", + "src": "16395:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "16231:56:1" + "src": "16374:56:1" }, { "expression": { "argumentTypes": null, - "id": 1832, + "id": 1845, "isConstant": false, "isLValue": false, "isPure": false, @@ -52985,26 +53329,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1828, + "id": 1841, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16293:11:1", + "referencedDeclaration": 544, + "src": "16436:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1830, + "id": 1843, "indexExpression": { "argumentTypes": null, - "id": 1829, + "id": 1842, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1812, - "src": "16305:12:1", + "referencedDeclaration": 1825, + "src": "16448:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -53015,7 +53359,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16293:25:1", + "src": "16436:25:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53025,31 +53369,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1831, + "id": 1844, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1820, - "src": "16321:10:1", + "referencedDeclaration": 1833, + "src": "16464:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "16293:38:1", + "src": "16436:38:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1833, + "id": 1846, "nodeType": "ExpressionStatement", - "src": "16293:38:1" + "src": "16436:38:1" }, { "expression": { "argumentTypes": null, - "id": 1839, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -53060,26 +53404,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1834, + "id": 1847, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16337:6:1", + "referencedDeclaration": 534, + "src": "16480:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1836, + "id": 1849, "indexExpression": { "argumentTypes": null, - "id": 1835, + "id": 1848, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1820, - "src": "16344:10:1", + "referencedDeclaration": 1833, + "src": "16487:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53090,21 +53434,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16337:18:1", + "src": "16480:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1837, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "16337:31:1", + "referencedDeclaration": 505, + "src": "16480:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -53114,31 +53458,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1838, + "id": 1851, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1812, - "src": "16371:12:1", + "referencedDeclaration": 1825, + "src": "16514:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16337:46:1", + "src": "16480:46:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1840, + "id": 1853, "nodeType": "ExpressionStatement", - "src": "16337:46:1" + "src": "16480:46:1" }, { "expression": { "argumentTypes": null, - "id": 1844, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -53146,23 +53490,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "16389:20:1", + "src": "16532:20:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1841, + "id": 1854, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "16389:11:1", + "referencedDeclaration": 544, + "src": "16532:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1843, + "id": 1856, "isConstant": false, "isLValue": true, "isPure": false, @@ -53170,7 +53514,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16389:18:1", + "src": "16532:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -53181,14 +53525,14 @@ "typeString": "uint256" } }, - "id": 1845, + "id": 1858, "nodeType": "ExpressionStatement", - "src": "16389:20:1" + "src": "16532:20:1" }, { "expression": { "argumentTypes": null, - "id": 1850, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": false, @@ -53196,39 +53540,39 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "16415:25:1", + "src": "16558:25:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1846, + "id": 1859, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16422:6:1", + "referencedDeclaration": 534, + "src": "16565:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1849, + "id": 1862, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1847, + "id": 1860, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16429:3:1", + "referencedDeclaration": 3390, + "src": "16572:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1848, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": false, @@ -53236,7 +53580,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16429:10:1", + "src": "16572:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53247,9 +53591,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16422:18:1", + "src": "16565:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, @@ -53258,9 +53602,9 @@ "typeString": "tuple()" } }, - "id": 1851, + "id": 1864, "nodeType": "ExpressionStatement", - "src": "16415:25:1" + "src": "16558:25:1" }, { "expression": { @@ -53270,18 +53614,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1855, + "id": 1868, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16469:3:1", + "referencedDeclaration": 3390, + "src": "16612:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1856, + "id": 1869, "isConstant": false, "isLValue": false, "isPure": false, @@ -53289,7 +53633,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16469:10:1", + "src": "16612:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53305,18 +53649,18 @@ ], "expression": { "argumentTypes": null, - "id": 1852, + "id": 1865, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "16446:4:1", + "referencedDeclaration": 479, + "src": "16589:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1854, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -53324,13 +53668,13 @@ "memberName": "withdrawDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 305, - "src": "16446:22:1", + "src": "16589:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 1857, + "id": 1870, "isConstant": false, "isLValue": false, "isPure": false, @@ -53338,15 +53682,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16446:34:1", + "src": "16589:34:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1858, + "id": 1871, "nodeType": "ExpressionStatement", - "src": "16446:34:1" + "src": "16589:34:1" }, { "expression": { @@ -53356,18 +53700,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1862, + "id": 1875, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16501:3:1", + "referencedDeclaration": 3390, + "src": "16644:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1863, + "id": 1876, "isConstant": false, "isLValue": false, "isPure": false, @@ -53375,7 +53719,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16501:10:1", + "src": "16644:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53391,18 +53735,18 @@ ], "expression": { "argumentTypes": null, - "id": 1859, + "id": 1872, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "16486:4:1", + "referencedDeclaration": 479, + "src": "16629:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 1861, + "id": 1874, "isConstant": false, "isLValue": false, "isPure": false, @@ -53410,13 +53754,13 @@ "memberName": "refundEth", "nodeType": "MemberAccess", "referencedDeclaration": 354, - "src": "16486:14:1", + "src": "16629:14:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 1864, + "id": 1877, "isConstant": false, "isLValue": false, "isPure": false, @@ -53424,15 +53768,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16486:26:1", + "src": "16629:26:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1865, + "id": 1878, "nodeType": "ExpressionStatement", - "src": "16486:26:1" + "src": "16629:26:1" }, { "eventCall": { @@ -53442,18 +53786,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1867, + "id": 1880, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16536:3:1", + "referencedDeclaration": 3390, + "src": "16679:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1868, + "id": 1881, "isConstant": false, "isLValue": false, "isPure": false, @@ -53461,7 +53805,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16536:10:1", + "src": "16679:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53475,18 +53819,18 @@ "typeString": "address" } ], - "id": 1866, + "id": 1879, "name": "DeleteTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 405, - "src": "16523:12:1", + "referencedDeclaration": 411, + "src": "16666:12:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1869, + "id": 1882, "isConstant": false, "isLValue": false, "isPure": false, @@ -53494,20 +53838,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16523:24:1", + "src": "16666:24:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1870, + "id": 1883, "nodeType": "EmitStatement", - "src": "16518:29:1" + "src": "16661:29:1" } ] }, "documentation": null, - "id": 1872, + "id": 1885, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -53515,29 +53859,29 @@ "name": "deleteTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 1720, + "id": 1733, "nodeType": "ParameterList", "parameters": [], - "src": "15637:2:1" + "src": "15780:2:1" }, "payable": false, "returnParameters": { - "id": 1721, + "id": 1734, "nodeType": "ParameterList", "parameters": [], - "src": "15649:0:1" + "src": "15792:0:1" }, - "scope": 2659, - "src": "15616:936:1", + "scope": 2672, + "src": "15759:936:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2017, + "id": 2030, "nodeType": "Block", - "src": "16700:909:1", + "src": "16843:909:1", "statements": [ { "expression": { @@ -53548,12 +53892,12 @@ "arguments": [ { "argumentTypes": null, - "id": 1883, + "id": 1896, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16723:9:1", + "referencedDeclaration": 1887, + "src": "16866:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53567,18 +53911,18 @@ "typeString": "address" } ], - "id": 1882, + "id": 1895, "name": "isTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "16714:8:1", + "referencedDeclaration": 2629, + "src": "16857:8:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1884, + "id": 1897, "isConstant": false, "isLValue": false, "isPure": false, @@ -53586,7 +53930,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16714:19:1", + "src": "16857:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -53600,21 +53944,21 @@ "typeString": "bool" } ], - "id": 1881, + "id": 1894, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "16706:7:1", + "referencedDeclaration": 3393, + "src": "16849:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 1885, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": false, @@ -53622,28 +53966,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16706:28:1", + "src": "16849:28:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1886, + "id": 1899, "nodeType": "ExpressionStatement", - "src": "16706:28:1" + "src": "16849:28:1" }, { "assignments": [ - 1888 + 1901 ], "declarations": [ { "constant": false, - "id": 1888, + "id": 1901, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16740:17:1", + "scope": 2031, + "src": "16883:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -53651,10 +53995,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1887, + "id": 1900, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "16740:4:1", + "src": "16883:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -53664,33 +54008,33 @@ "visibility": "internal" } ], - "id": 1893, + "id": 1906, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1889, + "id": 1902, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16760:6:1", + "referencedDeclaration": 534, + "src": "16903:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1891, + "id": 1904, "indexExpression": { "argumentTypes": null, - "id": 1890, + "id": 1903, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16767:9:1", + "referencedDeclaration": 1887, + "src": "16910:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53701,41 +54045,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16760:17:1", + "src": "16903:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1892, + "id": 1905, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "16760:27:1", + "referencedDeclaration": 503, + "src": "16903:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "16740:47:1" + "src": "16883:47:1" }, { "assignments": [ - 1895 + 1908 ], "declarations": [ { "constant": false, - "id": 1895, + "id": 1908, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16793:18:1", + "scope": 2031, + "src": "16936:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -53743,10 +54087,10 @@ "typeString": "address" }, "typeName": { - "id": 1894, + "id": 1907, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16793:7:1", + "src": "16936:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53756,7 +54100,7 @@ "visibility": "internal" } ], - "id": 1922, + "id": 1935, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -53765,44 +54109,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1896, + "id": 1909, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16814:12:1", + "referencedDeclaration": 541, + "src": "16957:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1901, + "id": 1914, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1897, + "id": 1910, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16827:6:1", + "referencedDeclaration": 534, + "src": "16970:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1899, + "id": 1912, "indexExpression": { "argumentTypes": null, - "id": 1898, + "id": 1911, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16834:9:1", + "referencedDeclaration": 1887, + "src": "16977:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53813,21 +54157,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16827:17:1", + "src": "16970:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1900, + "id": 1913, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16827:27:1", + "referencedDeclaration": 487, + "src": "16970:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -53838,39 +54182,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:41:1", + "src": "16957:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1906, + "id": 1919, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1902, + "id": 1915, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16856:6:1", + "referencedDeclaration": 534, + "src": "16999:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1904, + "id": 1917, "indexExpression": { "argumentTypes": null, - "id": 1903, + "id": 1916, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16863:9:1", + "referencedDeclaration": 1887, + "src": "17006:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53881,21 +54225,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16856:17:1", + "src": "16999:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1905, + "id": 1918, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16856:28:1", + "referencedDeclaration": 489, + "src": "16999:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -53906,20 +54250,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:71:1", + "src": "16957:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1921, + "id": 1934, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1920, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -53932,44 +54276,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1907, + "id": 1920, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16886:12:1", + "referencedDeclaration": 541, + "src": "17029:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1912, + "id": 1925, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1908, + "id": 1921, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16899:6:1", + "referencedDeclaration": 534, + "src": "17042:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1910, + "id": 1923, "indexExpression": { "argumentTypes": null, - "id": 1909, + "id": 1922, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16906:9:1", + "referencedDeclaration": 1887, + "src": "17049:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -53980,21 +54324,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16899:17:1", + "src": "17042:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1911, + "id": 1924, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16899:27:1", + "referencedDeclaration": 487, + "src": "17042:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -54005,39 +54349,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16886:41:1", + "src": "17029:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1917, + "id": 1930, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1913, + "id": 1926, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16928:6:1", + "referencedDeclaration": 534, + "src": "17071:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1915, + "id": 1928, "indexExpression": { "argumentTypes": null, - "id": 1914, + "id": 1927, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16935:9:1", + "referencedDeclaration": 1887, + "src": "17078:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54048,21 +54392,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16928:17:1", + "src": "17071:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1916, + "id": 1929, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "16928:28:1", + "referencedDeclaration": 489, + "src": "17071:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -54073,13 +54417,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16886:71:1", + "src": "17029:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1918, + "id": 1931, "isConstant": false, "isLValue": true, "isPure": false, @@ -54087,7 +54431,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16886:78:1", + "src": "17029:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54098,14 +54442,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1919, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "16967:1:1", + "src": "17110:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -54113,7 +54457,7 @@ }, "value": "1" }, - "src": "16886:82:1", + "src": "17029:82:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54124,19 +54468,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16814:155:1", + "src": "16957:155:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "16793:176:1" + "src": "16936:176:1" }, { "expression": { "argumentTypes": null, - "id": 1937, + "id": 1950, "isConstant": false, "isLValue": false, "isPure": false, @@ -54149,44 +54493,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1923, + "id": 1936, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "16975:12:1", + "referencedDeclaration": 541, + "src": "17118:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1933, + "id": 1946, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1924, + "id": 1937, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "16988:6:1", + "referencedDeclaration": 534, + "src": "17131:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1926, + "id": 1939, "indexExpression": { "argumentTypes": null, - "id": 1925, + "id": 1938, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "16995:9:1", + "referencedDeclaration": 1887, + "src": "17138:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54197,21 +54541,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16988:17:1", + "src": "17131:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1927, + "id": 1940, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "16988:27:1", + "referencedDeclaration": 487, + "src": "17131:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -54222,39 +54566,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16975:41:1", + "src": "17118:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1934, + "id": 1947, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1928, + "id": 1941, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17017:6:1", + "referencedDeclaration": 534, + "src": "17160:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1930, + "id": 1943, "indexExpression": { "argumentTypes": null, - "id": 1929, + "id": 1942, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17024:9:1", + "referencedDeclaration": 1887, + "src": "17167:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54265,21 +54609,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17017:17:1", + "src": "17160:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1931, + "id": 1944, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "17017:28:1", + "referencedDeclaration": 489, + "src": "17160:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -54290,21 +54634,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "16975:71:1", + "src": "17118:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1935, + "id": 1948, "indexExpression": { "argumentTypes": null, - "id": 1932, + "id": 1945, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1888, - "src": "17047:12:1", + "referencedDeclaration": 1901, + "src": "17190:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54315,7 +54659,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "16975:85:1", + "src": "17118:85:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54325,31 +54669,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1936, + "id": 1949, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "17063:10:1", + "referencedDeclaration": 1908, + "src": "17206:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "16975:98:1", + "src": "17118:98:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1938, + "id": 1951, "nodeType": "ExpressionStatement", - "src": "16975:98:1" + "src": "17118:98:1" }, { "expression": { "argumentTypes": null, - "id": 1944, + "id": 1957, "isConstant": false, "isLValue": false, "isPure": false, @@ -54360,26 +54704,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1939, + "id": 1952, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17079:6:1", + "referencedDeclaration": 534, + "src": "17222:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1941, + "id": 1954, "indexExpression": { "argumentTypes": null, - "id": 1940, + "id": 1953, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1895, - "src": "17086:10:1", + "referencedDeclaration": 1908, + "src": "17229:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54390,21 +54734,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17079:18:1", + "src": "17222:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1942, + "id": 1955, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 497, - "src": "17079:28:1", + "referencedDeclaration": 503, + "src": "17222:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54414,31 +54758,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1943, + "id": 1956, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1888, - "src": "17110:12:1", + "referencedDeclaration": 1901, + "src": "17253:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17079:43:1", + "src": "17222:43:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1945, + "id": 1958, "nodeType": "ExpressionStatement", - "src": "17079:43:1" + "src": "17222:43:1" }, { "expression": { "argumentTypes": null, - "id": 1958, + "id": 1971, "isConstant": false, "isLValue": false, "isPure": false, @@ -54446,7 +54790,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "17128:80:1", + "src": "17271:80:1", "subExpression": { "argumentTypes": null, "expression": { @@ -54455,44 +54799,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1946, + "id": 1959, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "17128:12:1", + "referencedDeclaration": 541, + "src": "17271:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 1955, + "id": 1968, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1947, + "id": 1960, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17141:6:1", + "referencedDeclaration": 534, + "src": "17284:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1949, + "id": 1962, "indexExpression": { "argumentTypes": null, - "id": 1948, + "id": 1961, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17148:9:1", + "referencedDeclaration": 1887, + "src": "17291:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54503,21 +54847,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17141:17:1", + "src": "17284:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1950, + "id": 1963, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "17141:27:1", + "referencedDeclaration": 487, + "src": "17284:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -54528,39 +54872,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17128:41:1", + "src": "17271:41:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 1956, + "id": 1969, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1951, + "id": 1964, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17170:6:1", + "referencedDeclaration": 534, + "src": "17313:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1953, + "id": 1966, "indexExpression": { "argumentTypes": null, - "id": 1952, + "id": 1965, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17177:9:1", + "referencedDeclaration": 1887, + "src": "17320:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54571,21 +54915,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17170:17:1", + "src": "17313:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1954, + "id": 1967, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "17170:28:1", + "referencedDeclaration": 489, + "src": "17313:28:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -54596,13 +54940,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17128:71:1", + "src": "17271:71:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1957, + "id": 1970, "isConstant": false, "isLValue": true, "isPure": false, @@ -54610,7 +54954,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17128:78:1", + "src": "17271:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54621,22 +54965,22 @@ "typeString": "uint256" } }, - "id": 1959, + "id": 1972, "nodeType": "ExpressionStatement", - "src": "17128:80:1" + "src": "17271:80:1" }, { "assignments": [ - 1961 + 1974 ], "declarations": [ { "constant": false, - "id": 1961, + "id": 1974, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "17215:17:1", + "scope": 2031, + "src": "17358:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -54644,10 +54988,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1960, + "id": 1973, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17215:4:1", + "src": "17358:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54657,33 +55001,33 @@ "visibility": "internal" } ], - "id": 1966, + "id": 1979, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1962, + "id": 1975, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17235:6:1", + "referencedDeclaration": 534, + "src": "17378:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1964, + "id": 1977, "indexExpression": { "argumentTypes": null, - "id": 1963, + "id": 1976, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17242:9:1", + "referencedDeclaration": 1887, + "src": "17385:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54694,41 +55038,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17235:17:1", + "src": "17378:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1965, + "id": 1978, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "17235:30:1", + "referencedDeclaration": 505, + "src": "17378:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17215:50:1" + "src": "17358:50:1" }, { "assignments": [ - 1968 + 1981 ], "declarations": [ { "constant": false, - "id": 1968, + "id": 1981, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "17271:18:1", + "scope": 2031, + "src": "17414:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -54736,10 +55080,10 @@ "typeString": "address" }, "typeName": { - "id": 1967, + "id": 1980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17271:7:1", + "src": "17414:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54749,30 +55093,30 @@ "visibility": "internal" } ], - "id": 1975, + "id": 1988, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1969, + "id": 1982, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17292:11:1", + "referencedDeclaration": 544, + "src": "17435:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1974, + "id": 1987, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1973, + "id": 1986, "isConstant": false, "isLValue": false, "isPure": false, @@ -54781,18 +55125,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1970, + "id": 1983, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17304:11:1", + "referencedDeclaration": 544, + "src": "17447:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1971, + "id": 1984, "isConstant": false, "isLValue": true, "isPure": false, @@ -54800,7 +55144,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17304:18:1", + "src": "17447:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54811,14 +55155,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 1972, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17325:1:1", + "src": "17468:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -54826,7 +55170,7 @@ }, "value": "1" }, - "src": "17304:22:1", + "src": "17447:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54837,19 +55181,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17292:35:1", + "src": "17435:35:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "17271:56:1" + "src": "17414:56:1" }, { "expression": { "argumentTypes": null, - "id": 1980, + "id": 1993, "isConstant": false, "isLValue": false, "isPure": false, @@ -54858,26 +55202,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1976, + "id": 1989, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17333:11:1", + "referencedDeclaration": 544, + "src": "17476:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1978, + "id": 1991, "indexExpression": { "argumentTypes": null, - "id": 1977, + "id": 1990, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, - "src": "17345:12:1", + "referencedDeclaration": 1974, + "src": "17488:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54888,7 +55232,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17333:25:1", + "src": "17476:25:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54898,31 +55242,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1979, + "id": 1992, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1968, - "src": "17361:10:1", + "referencedDeclaration": 1981, + "src": "17504:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "17333:38:1", + "src": "17476:38:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1981, + "id": 1994, "nodeType": "ExpressionStatement", - "src": "17333:38:1" + "src": "17476:38:1" }, { "expression": { "argumentTypes": null, - "id": 1987, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -54933,26 +55277,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1982, + "id": 1995, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17377:6:1", + "referencedDeclaration": 534, + "src": "17520:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1984, + "id": 1997, "indexExpression": { "argumentTypes": null, - "id": 1983, + "id": 1996, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1968, - "src": "17384:10:1", + "referencedDeclaration": 1981, + "src": "17527:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -54963,21 +55307,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17377:18:1", + "src": "17520:18:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 1985, + "id": 1998, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 499, - "src": "17377:31:1", + "referencedDeclaration": 505, + "src": "17520:31:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -54987,31 +55331,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 1986, + "id": 1999, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1961, - "src": "17411:12:1", + "referencedDeclaration": 1974, + "src": "17554:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17377:46:1", + "src": "17520:46:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1988, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "17377:46:1" + "src": "17520:46:1" }, { "expression": { "argumentTypes": null, - "id": 1992, + "id": 2005, "isConstant": false, "isLValue": false, "isPure": false, @@ -55019,23 +55363,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "17429:20:1", + "src": "17572:20:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1989, + "id": 2002, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "17429:11:1", + "referencedDeclaration": 544, + "src": "17572:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 1991, + "id": 2004, "isConstant": false, "isLValue": true, "isPure": false, @@ -55043,7 +55387,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17429:18:1", + "src": "17572:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -55054,14 +55398,14 @@ "typeString": "uint256" } }, - "id": 1993, + "id": 2006, "nodeType": "ExpressionStatement", - "src": "17429:20:1" + "src": "17572:20:1" }, { "expression": { "argumentTypes": null, - "id": 1997, + "id": 2010, "isConstant": false, "isLValue": false, "isPure": false, @@ -55069,31 +55413,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "17455:24:1", + "src": "17598:24:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 1994, + "id": 2007, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "17462:6:1", + "referencedDeclaration": 534, + "src": "17605:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 1996, + "id": 2009, "indexExpression": { "argumentTypes": null, - "id": 1995, + "id": 2008, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17469:9:1", + "referencedDeclaration": 1887, + "src": "17612:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55104,9 +55448,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17462:17:1", + "src": "17605:17:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, @@ -55115,9 +55459,9 @@ "typeString": "tuple()" } }, - "id": 1998, + "id": 2011, "nodeType": "ExpressionStatement", - "src": "17455:24:1" + "src": "17598:24:1" }, { "expression": { @@ -55125,12 +55469,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2002, + "id": 2015, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17508:9:1", + "referencedDeclaration": 1887, + "src": "17651:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55146,18 +55490,18 @@ ], "expression": { "argumentTypes": null, - "id": 1999, + "id": 2012, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "17485:4:1", + "referencedDeclaration": 479, + "src": "17628:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2001, + "id": 2014, "isConstant": false, "isLValue": false, "isPure": false, @@ -55165,13 +55509,13 @@ "memberName": "withdrawDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 305, - "src": "17485:22:1", + "src": "17628:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2003, + "id": 2016, "isConstant": false, "isLValue": false, "isPure": false, @@ -55179,15 +55523,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17485:33:1", + "src": "17628:33:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2004, + "id": 2017, "nodeType": "ExpressionStatement", - "src": "17485:33:1" + "src": "17628:33:1" }, { "expression": { @@ -55195,12 +55539,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2008, + "id": 2021, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17539:9:1", + "referencedDeclaration": 1887, + "src": "17682:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55216,18 +55560,18 @@ ], "expression": { "argumentTypes": null, - "id": 2005, + "id": 2018, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "17524:4:1", + "referencedDeclaration": 479, + "src": "17667:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2007, + "id": 2020, "isConstant": false, "isLValue": false, "isPure": false, @@ -55235,13 +55579,13 @@ "memberName": "refundEth", "nodeType": "MemberAccess", "referencedDeclaration": 354, - "src": "17524:14:1", + "src": "17667:14:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2009, + "id": 2022, "isConstant": false, "isLValue": false, "isPure": false, @@ -55249,15 +55593,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17524:25:1", + "src": "17667:25:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2010, + "id": 2023, "nodeType": "ExpressionStatement", - "src": "17524:25:1" + "src": "17667:25:1" }, { "eventCall": { @@ -55267,18 +55611,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2012, + "id": 2025, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17582:3:1", + "referencedDeclaration": 3390, + "src": "17725:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2013, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": false, @@ -55286,7 +55630,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17582:10:1", + "src": "17725:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55294,12 +55638,12 @@ }, { "argumentTypes": null, - "id": 2014, + "id": 2027, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1874, - "src": "17594:9:1", + "referencedDeclaration": 1887, + "src": "17737:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55317,18 +55661,18 @@ "typeString": "address" } ], - "id": 2011, + "id": 2024, "name": "DeleteTellerModerator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 437, - "src": "17560:21:1", + "referencedDeclaration": 443, + "src": "17703:21:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 2015, + "id": 2028, "isConstant": false, "isLValue": false, "isPure": false, @@ -55336,20 +55680,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17560:44:1", + "src": "17703:44:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2016, + "id": 2029, "nodeType": "EmitStatement", - "src": "17555:49:1" + "src": "17698:49:1" } ] }, "documentation": null, - "id": 2018, + "id": 2031, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -55360,18 +55704,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 1877, + "id": 1890, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "16679:3:1", + "referencedDeclaration": 3390, + "src": "16822:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1878, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": false, @@ -55379,44 +55723,44 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "16679:10:1", + "src": "16822:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 1879, + "id": 1892, "modifierName": { "argumentTypes": null, - "id": 1876, + "id": 1889, "name": "isTellerModerator", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 92, - "src": "16661:17:1", + "src": "16804:17:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "16661:29:1" + "src": "16804:29:1" } ], "name": "deleteTellerMods", "nodeType": "FunctionDefinition", "parameters": { - "id": 1875, + "id": 1888, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1887, "name": "_toDelete", "nodeType": "VariableDeclaration", - "scope": 2018, - "src": "16642:17:1", + "scope": 2031, + "src": "16785:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -55424,10 +55768,10 @@ "typeString": "address" }, "typeName": { - "id": 1873, + "id": 1886, "name": "address", "nodeType": "ElementaryTypeName", - "src": "16642:7:1", + "src": "16785:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55437,26 +55781,26 @@ "visibility": "internal" } ], - "src": "16641:19:1" + "src": "16784:19:1" }, "payable": false, "returnParameters": { - "id": 1880, + "id": 1893, "nodeType": "ParameterList", "parameters": [], - "src": "16700:0:1" + "src": "16843:0:1" }, - "scope": 2659, - "src": "16616:993:1", + "scope": 2672, + "src": "16759:993:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2163, + "id": 2176, "nodeType": "Block", - "src": "17704:823:1", + "src": "17847:823:1", "statements": [ { "expression": { @@ -55469,18 +55813,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2023, + "id": 2036, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17725:3:1", + "referencedDeclaration": 3390, + "src": "17868:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2024, + "id": 2037, "isConstant": false, "isLValue": false, "isPure": false, @@ -55488,7 +55832,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17725:10:1", + "src": "17868:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55502,18 +55846,18 @@ "typeString": "address" } ], - "id": 2022, + "id": 2035, "name": "isShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2572, - "src": "17718:6:1", + "referencedDeclaration": 2585, + "src": "17861:6:1", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 2025, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": false, @@ -55521,7 +55865,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17718:18:1", + "src": "17861:18:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -55535,21 +55879,21 @@ "typeString": "bool" } ], - "id": 2021, + "id": 2034, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ - 3380, - 3381 + 3393, + 3394 ], - "referencedDeclaration": 3380, - "src": "17710:7:1", + "referencedDeclaration": 3393, + "src": "17853:7:1", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" } }, - "id": 2026, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, @@ -55557,28 +55901,28 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17710:27:1", + "src": "17853:27:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2027, + "id": 2040, "nodeType": "ExpressionStatement", - "src": "17710:27:1" + "src": "17853:27:1" }, { "assignments": [ - 2029 + 2042 ], "declarations": [ { "constant": false, - "id": 2029, + "id": 2042, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "17743:17:1", + "scope": 2177, + "src": "17886:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -55586,10 +55930,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2028, + "id": 2041, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "17743:4:1", + "src": "17886:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -55599,41 +55943,41 @@ "visibility": "internal" } ], - "id": 2035, + "id": 2048, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2030, + "id": 2043, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17763:4:1", + "referencedDeclaration": 574, + "src": "17906:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2033, + "id": 2046, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2031, + "id": 2044, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17768:3:1", + "referencedDeclaration": 3390, + "src": "17911:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2032, + "id": 2045, "isConstant": false, "isLValue": false, "isPure": false, @@ -55641,7 +55985,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17768:10:1", + "src": "17911:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55652,41 +55996,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17763:16:1", + "src": "17906:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2034, + "id": 2047, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "17763:26:1", + "referencedDeclaration": 565, + "src": "17906:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "17743:46:1" + "src": "17886:46:1" }, { "assignments": [ - 2037 + 2050 ], "declarations": [ { "constant": false, - "id": 2037, + "id": 2050, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "17795:18:1", + "scope": 2177, + "src": "17938:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -55694,10 +56038,10 @@ "typeString": "address" }, "typeName": { - "id": 2036, + "id": 2049, "name": "address", "nodeType": "ElementaryTypeName", - "src": "17795:7:1", + "src": "17938:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55707,7 +56051,7 @@ "visibility": "internal" } ], - "id": 2068, + "id": 2081, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -55716,52 +56060,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2038, + "id": 2051, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17816:10:1", + "referencedDeclaration": 581, + "src": "17959:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2044, + "id": 2057, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2039, + "id": 2052, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17827:4:1", + "referencedDeclaration": 574, + "src": "17970:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2042, + "id": 2055, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2040, + "id": 2053, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17832:3:1", + "referencedDeclaration": 3390, + "src": "17975:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2041, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -55769,7 +56113,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17832:10:1", + "src": "17975:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55780,21 +56124,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17827:16:1", + "src": "17970:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2043, + "id": 2056, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17827:26:1", + "referencedDeclaration": 553, + "src": "17970:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -55805,47 +56149,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:38:1", + "src": "17959:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2050, + "id": 2063, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2045, + "id": 2058, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17855:4:1", + "referencedDeclaration": 574, + "src": "17998:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2048, + "id": 2061, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2046, + "id": 2059, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17860:3:1", + "referencedDeclaration": 3390, + "src": "18003:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2047, + "id": 2060, "isConstant": false, "isLValue": false, "isPure": false, @@ -55853,7 +56197,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17860:10:1", + "src": "18003:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55864,21 +56208,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17855:16:1", + "src": "17998:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2049, + "id": 2062, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "17855:27:1", + "referencedDeclaration": 555, + "src": "17998:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -55889,20 +56233,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:67:1", + "src": "17959:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2067, + "id": 2080, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2066, + "id": 2079, "isConstant": false, "isLValue": false, "isPure": false, @@ -55915,52 +56259,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2051, + "id": 2064, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17884:10:1", + "referencedDeclaration": 581, + "src": "18027:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2057, + "id": 2070, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2052, + "id": 2065, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17895:4:1", + "referencedDeclaration": 574, + "src": "18038:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2055, + "id": 2068, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2053, + "id": 2066, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17900:3:1", + "referencedDeclaration": 3390, + "src": "18043:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2054, + "id": 2067, "isConstant": false, "isLValue": false, "isPure": false, @@ -55968,7 +56312,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17900:10:1", + "src": "18043:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -55979,21 +56323,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17895:16:1", + "src": "18038:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2056, + "id": 2069, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17895:26:1", + "referencedDeclaration": 553, + "src": "18038:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -56004,47 +56348,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17884:38:1", + "src": "18027:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2063, + "id": 2076, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2058, + "id": 2071, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17923:4:1", + "referencedDeclaration": 574, + "src": "18066:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2061, + "id": 2074, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2059, + "id": 2072, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17928:3:1", + "referencedDeclaration": 3390, + "src": "18071:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2060, + "id": 2073, "isConstant": false, "isLValue": false, "isPure": false, @@ -56052,7 +56396,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17928:10:1", + "src": "18071:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56063,21 +56407,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17923:16:1", + "src": "18066:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2062, + "id": 2075, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "17923:27:1", + "referencedDeclaration": 555, + "src": "18066:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -56088,13 +56432,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17884:67:1", + "src": "18027:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2064, + "id": 2077, "isConstant": false, "isLValue": true, "isPure": false, @@ -56102,7 +56446,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17884:74:1", + "src": "18027:74:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56113,14 +56457,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2065, + "id": 2078, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17961:1:1", + "src": "18104:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -56128,7 +56472,7 @@ }, "value": "1" }, - "src": "17884:78:1", + "src": "18027:78:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56139,19 +56483,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17816:147:1", + "src": "17959:147:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "17795:168:1" + "src": "17938:168:1" }, { "expression": { "argumentTypes": null, - "id": 2085, + "id": 2098, "isConstant": false, "isLValue": false, "isPure": false, @@ -56164,52 +56508,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2069, + "id": 2082, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "17969:10:1", + "referencedDeclaration": 581, + "src": "18112:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2081, + "id": 2094, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2070, + "id": 2083, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "17980:4:1", + "referencedDeclaration": 574, + "src": "18123:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2073, + "id": 2086, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2071, + "id": 2084, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "17985:3:1", + "referencedDeclaration": 3390, + "src": "18128:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2072, + "id": 2085, "isConstant": false, "isLValue": false, "isPure": false, @@ -56217,7 +56561,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "17985:10:1", + "src": "18128:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56228,21 +56572,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17980:16:1", + "src": "18123:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2074, + "id": 2087, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "17980:26:1", + "referencedDeclaration": 553, + "src": "18123:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -56253,47 +56597,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17969:38:1", + "src": "18112:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2082, + "id": 2095, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2075, + "id": 2088, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18008:4:1", + "referencedDeclaration": 574, + "src": "18151:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2078, + "id": 2091, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2076, + "id": 2089, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18013:3:1", + "referencedDeclaration": 3390, + "src": "18156:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2077, + "id": 2090, "isConstant": false, "isLValue": false, "isPure": false, @@ -56301,7 +56645,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18013:10:1", + "src": "18156:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56312,21 +56656,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18008:16:1", + "src": "18151:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2079, + "id": 2092, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18008:27:1", + "referencedDeclaration": 555, + "src": "18151:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -56337,21 +56681,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "17969:67:1", + "src": "18112:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2083, + "id": 2096, "indexExpression": { "argumentTypes": null, - "id": 2080, + "id": 2093, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "18037:12:1", + "referencedDeclaration": 2042, + "src": "18180:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56362,7 +56706,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "17969:81:1", + "src": "18112:81:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56372,31 +56716,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2084, + "id": 2097, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2037, - "src": "18053:10:1", + "referencedDeclaration": 2050, + "src": "18196:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "17969:94:1", + "src": "18112:94:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2086, + "id": 2099, "nodeType": "ExpressionStatement", - "src": "17969:94:1" + "src": "18112:94:1" }, { "expression": { "argumentTypes": null, - "id": 2092, + "id": 2105, "isConstant": false, "isLValue": false, "isPure": false, @@ -56407,26 +56751,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2087, + "id": 2100, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18069:4:1", + "referencedDeclaration": 574, + "src": "18212:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2089, + "id": 2102, "indexExpression": { "argumentTypes": null, - "id": 2088, + "id": 2101, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2037, - "src": "18074:10:1", + "referencedDeclaration": 2050, + "src": "18217:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56437,21 +56781,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18069:16:1", + "src": "18212:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2090, + "id": 2103, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18069:26:1", + "referencedDeclaration": 565, + "src": "18212:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56461,31 +56805,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2091, + "id": 2104, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2029, - "src": "18098:12:1", + "referencedDeclaration": 2042, + "src": "18241:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18069:41:1", + "src": "18212:41:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2093, + "id": 2106, "nodeType": "ExpressionStatement", - "src": "18069:41:1" + "src": "18212:41:1" }, { "expression": { "argumentTypes": null, - "id": 2108, + "id": 2121, "isConstant": false, "isLValue": false, "isPure": false, @@ -56493,7 +56837,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18116:76:1", + "src": "18259:76:1", "subExpression": { "argumentTypes": null, "expression": { @@ -56502,52 +56846,52 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2094, + "id": 2107, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18116:10:1", + "referencedDeclaration": 581, + "src": "18259:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2105, + "id": 2118, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2095, + "id": 2108, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18127:4:1", + "referencedDeclaration": 574, + "src": "18270:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2098, + "id": 2111, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2096, + "id": 2109, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18132:3:1", + "referencedDeclaration": 3390, + "src": "18275:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2097, + "id": 2110, "isConstant": false, "isLValue": false, "isPure": false, @@ -56555,7 +56899,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18132:10:1", + "src": "18275:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56566,21 +56910,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18127:16:1", + "src": "18270:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2099, + "id": 2112, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18127:26:1", + "referencedDeclaration": 553, + "src": "18270:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -56591,47 +56935,47 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18116:38:1", + "src": "18259:38:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2106, + "id": 2119, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2100, + "id": 2113, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18155:4:1", + "referencedDeclaration": 574, + "src": "18298:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2103, + "id": 2116, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2101, + "id": 2114, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18160:3:1", + "referencedDeclaration": 3390, + "src": "18303:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2102, + "id": 2115, "isConstant": false, "isLValue": false, "isPure": false, @@ -56639,7 +56983,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18160:10:1", + "src": "18303:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56650,21 +56994,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18155:16:1", + "src": "18298:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2104, + "id": 2117, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18155:27:1", + "referencedDeclaration": 555, + "src": "18298:27:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -56675,13 +57019,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18116:67:1", + "src": "18259:67:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2107, + "id": 2120, "isConstant": false, "isLValue": true, "isPure": false, @@ -56689,7 +57033,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18116:74:1", + "src": "18259:74:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56700,22 +57044,22 @@ "typeString": "uint256" } }, - "id": 2109, + "id": 2122, "nodeType": "ExpressionStatement", - "src": "18116:76:1" + "src": "18259:76:1" }, { "assignments": [ - 2111 + 2124 ], "declarations": [ { "constant": false, - "id": 2111, + "id": 2124, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "18199:17:1", + "scope": 2177, + "src": "18342:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -56723,10 +57067,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2110, + "id": 2123, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "18199:4:1", + "src": "18342:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56736,41 +57080,41 @@ "visibility": "internal" } ], - "id": 2117, + "id": 2130, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2112, + "id": 2125, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18219:4:1", + "referencedDeclaration": 574, + "src": "18362:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2115, + "id": 2128, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2113, + "id": 2126, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18224:3:1", + "referencedDeclaration": 3390, + "src": "18367:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2114, + "id": 2127, "isConstant": false, "isLValue": false, "isPure": false, @@ -56778,7 +57122,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18224:10:1", + "src": "18367:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56789,41 +57133,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18219:16:1", + "src": "18362:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2116, + "id": 2129, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "18219:29:1", + "referencedDeclaration": 567, + "src": "18362:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18199:49:1" + "src": "18342:49:1" }, { "assignments": [ - 2119 + 2132 ], "declarations": [ { "constant": false, - "id": 2119, + "id": 2132, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2164, - "src": "18254:18:1", + "scope": 2177, + "src": "18397:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -56831,10 +57175,10 @@ "typeString": "address" }, "typeName": { - "id": 2118, + "id": 2131, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18254:7:1", + "src": "18397:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56844,30 +57188,30 @@ "visibility": "internal" } ], - "id": 2126, + "id": 2139, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2120, + "id": 2133, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18275:9:1", + "referencedDeclaration": 584, + "src": "18418:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2125, + "id": 2138, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2124, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, @@ -56876,18 +57220,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2121, + "id": 2134, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18285:9:1", + "referencedDeclaration": 584, + "src": "18428:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2122, + "id": 2135, "isConstant": false, "isLValue": true, "isPure": false, @@ -56895,7 +57239,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18285:16:1", + "src": "18428:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56906,14 +57250,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2123, + "id": 2136, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18304:1:1", + "src": "18447:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -56921,7 +57265,7 @@ }, "value": "1" }, - "src": "18285:20:1", + "src": "18428:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56932,19 +57276,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18275:31:1", + "src": "18418:31:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "18254:52:1" + "src": "18397:52:1" }, { "expression": { "argumentTypes": null, - "id": 2131, + "id": 2144, "isConstant": false, "isLValue": false, "isPure": false, @@ -56953,26 +57297,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2127, + "id": 2140, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18312:9:1", + "referencedDeclaration": 584, + "src": "18455:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2129, + "id": 2142, "indexExpression": { "argumentTypes": null, - "id": 2128, + "id": 2141, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2111, - "src": "18322:12:1", + "referencedDeclaration": 2124, + "src": "18465:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -56983,7 +57327,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18312:23:1", + "src": "18455:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -56993,31 +57337,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2130, + "id": 2143, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2119, - "src": "18338:10:1", + "referencedDeclaration": 2132, + "src": "18481:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "18312:36:1", + "src": "18455:36:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2132, + "id": 2145, "nodeType": "ExpressionStatement", - "src": "18312:36:1" + "src": "18455:36:1" }, { "expression": { "argumentTypes": null, - "id": 2138, + "id": 2151, "isConstant": false, "isLValue": false, "isPure": false, @@ -57028,26 +57372,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2133, + "id": 2146, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18354:4:1", + "referencedDeclaration": 574, + "src": "18497:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2135, + "id": 2148, "indexExpression": { "argumentTypes": null, - "id": 2134, + "id": 2147, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2119, - "src": "18359:10:1", + "referencedDeclaration": 2132, + "src": "18502:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57058,21 +57402,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18354:16:1", + "src": "18497:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2136, + "id": 2149, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "18354:29:1", + "referencedDeclaration": 567, + "src": "18497:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -57082,31 +57426,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2137, + "id": 2150, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2111, - "src": "18386:12:1", + "referencedDeclaration": 2124, + "src": "18529:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18354:44:1", + "src": "18497:44:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2139, + "id": 2152, "nodeType": "ExpressionStatement", - "src": "18354:44:1" + "src": "18497:44:1" }, { "expression": { "argumentTypes": null, - "id": 2143, + "id": 2156, "isConstant": false, "isLValue": false, "isPure": false, @@ -57114,23 +57458,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "18404:18:1", + "src": "18547:18:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2140, + "id": 2153, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "18404:9:1", + "referencedDeclaration": 584, + "src": "18547:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2142, + "id": 2155, "isConstant": false, "isLValue": true, "isPure": false, @@ -57138,7 +57482,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18404:16:1", + "src": "18547:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -57149,14 +57493,14 @@ "typeString": "uint256" } }, - "id": 2144, + "id": 2157, "nodeType": "ExpressionStatement", - "src": "18404:18:1" + "src": "18547:18:1" }, { "expression": { "argumentTypes": null, - "id": 2149, + "id": 2162, "isConstant": false, "isLValue": false, "isPure": false, @@ -57164,39 +57508,39 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "18428:23:1", + "src": "18571:23:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2145, + "id": 2158, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18435:4:1", + "referencedDeclaration": 574, + "src": "18578:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2148, + "id": 2161, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2146, + "id": 2159, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18440:3:1", + "referencedDeclaration": 3390, + "src": "18583:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2147, + "id": 2160, "isConstant": false, "isLValue": false, "isPure": false, @@ -57204,7 +57548,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18440:10:1", + "src": "18583:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57215,9 +57559,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18435:16:1", + "src": "18578:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, @@ -57226,9 +57570,9 @@ "typeString": "tuple()" } }, - "id": 2150, + "id": 2163, "nodeType": "ExpressionStatement", - "src": "18428:23:1" + "src": "18571:23:1" }, { "expression": { @@ -57238,18 +57582,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2154, + "id": 2167, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18478:3:1", + "referencedDeclaration": 3390, + "src": "18621:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2155, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": false, @@ -57257,7 +57601,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18478:10:1", + "src": "18621:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57273,18 +57617,18 @@ ], "expression": { "argumentTypes": null, - "id": 2151, + "id": 2164, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "18457:4:1", + "referencedDeclaration": 479, + "src": "18600:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2153, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": false, @@ -57292,13 +57636,13 @@ "memberName": "withdrawDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 310, - "src": "18457:20:1", + "src": "18600:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2156, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -57306,15 +57650,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18457:32:1", + "src": "18600:32:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2157, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "18457:32:1" + "src": "18600:32:1" }, { "eventCall": { @@ -57324,18 +57668,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2159, + "id": 2172, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18511:3:1", + "referencedDeclaration": 3390, + "src": "18654:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2160, + "id": 2173, "isConstant": false, "isLValue": false, "isPure": false, @@ -57343,7 +57687,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18511:10:1", + "src": "18654:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57357,18 +57701,18 @@ "typeString": "address" } ], - "id": 2158, + "id": 2171, "name": "DeleteShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 425, - "src": "18500:10:1", + "referencedDeclaration": 431, + "src": "18643:10:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 2161, + "id": 2174, "isConstant": false, "isLValue": false, "isPure": false, @@ -57376,20 +57720,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "18500:22:1", + "src": "18643:22:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2162, + "id": 2175, "nodeType": "EmitStatement", - "src": "18495:27:1" + "src": "18638:27:1" } ] }, "documentation": null, - "id": 2164, + "id": 2177, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -57397,42 +57741,42 @@ "name": "deleteShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2019, + "id": 2032, "nodeType": "ParameterList", "parameters": [], - "src": "17692:2:1" + "src": "17835:2:1" }, "payable": false, "returnParameters": { - "id": 2020, + "id": 2033, "nodeType": "ParameterList", "parameters": [], - "src": "17704:0:1" + "src": "17847:0:1" }, - "scope": 2659, - "src": "17673:854:1", + "scope": 2672, + "src": "17816:854:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2310, + "id": 2323, "nodeType": "Block", - "src": "18670:902:1", + "src": "18813:902:1", "statements": [ { "assignments": [ - 2174 + 2187 ], "declarations": [ { "constant": false, - "id": 2174, + "id": 2187, "name": "rowToDelete1", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18676:17:1", + "scope": 2324, + "src": "18819:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -57440,10 +57784,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2173, + "id": 2186, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "18676:4:1", + "src": "18819:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -57453,33 +57797,33 @@ "visibility": "internal" } ], - "id": 2179, + "id": 2192, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2175, + "id": 2188, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18696:4:1", + "referencedDeclaration": 574, + "src": "18839:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2177, + "id": 2190, "indexExpression": { "argumentTypes": null, - "id": 2176, + "id": 2189, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18701:9:1", + "referencedDeclaration": 2179, + "src": "18844:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57490,41 +57834,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18696:15:1", + "src": "18839:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2178, + "id": 2191, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18696:25:1", + "referencedDeclaration": 565, + "src": "18839:25:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "18676:45:1" + "src": "18819:45:1" }, { "assignments": [ - 2181 + 2194 ], "declarations": [ { "constant": false, - "id": 2181, + "id": 2194, "name": "keyToMove1", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18727:18:1", + "scope": 2324, + "src": "18870:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -57532,10 +57876,10 @@ "typeString": "address" }, "typeName": { - "id": 2180, + "id": 2193, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18727:7:1", + "src": "18870:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57545,7 +57889,7 @@ "visibility": "internal" } ], - "id": 2208, + "id": 2221, "initialValue": { "argumentTypes": null, "baseExpression": { @@ -57554,44 +57898,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2182, + "id": 2195, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18748:10:1", + "referencedDeclaration": 581, + "src": "18891:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2187, + "id": 2200, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2183, + "id": 2196, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18759:4:1", + "referencedDeclaration": 574, + "src": "18902:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2185, + "id": 2198, "indexExpression": { "argumentTypes": null, - "id": 2184, + "id": 2197, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18764:9:1", + "referencedDeclaration": 2179, + "src": "18907:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57602,21 +57946,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18759:15:1", + "src": "18902:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2186, + "id": 2199, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18759:25:1", + "referencedDeclaration": 553, + "src": "18902:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -57627,39 +57971,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:37:1", + "src": "18891:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2192, + "id": 2205, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2188, + "id": 2201, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18786:4:1", + "referencedDeclaration": 574, + "src": "18929:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2190, + "id": 2203, "indexExpression": { "argumentTypes": null, - "id": 2189, + "id": 2202, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18791:9:1", + "referencedDeclaration": 2179, + "src": "18934:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57670,21 +58014,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18786:15:1", + "src": "18929:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2191, + "id": 2204, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18786:26:1", + "referencedDeclaration": 555, + "src": "18929:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -57695,20 +58039,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:65:1", + "src": "18891:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2207, + "id": 2220, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2206, + "id": 2219, "isConstant": false, "isLValue": false, "isPure": false, @@ -57721,44 +58065,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2193, + "id": 2206, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18814:10:1", + "referencedDeclaration": 581, + "src": "18957:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2198, + "id": 2211, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2194, + "id": 2207, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18825:4:1", + "referencedDeclaration": 574, + "src": "18968:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2196, + "id": 2209, "indexExpression": { "argumentTypes": null, - "id": 2195, + "id": 2208, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18830:9:1", + "referencedDeclaration": 2179, + "src": "18973:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57769,21 +58113,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18825:15:1", + "src": "18968:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2197, + "id": 2210, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18825:25:1", + "referencedDeclaration": 553, + "src": "18968:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -57794,39 +58138,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18814:37:1", + "src": "18957:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2203, + "id": 2216, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2199, + "id": 2212, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18852:4:1", + "referencedDeclaration": 574, + "src": "18995:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2201, + "id": 2214, "indexExpression": { "argumentTypes": null, - "id": 2200, + "id": 2213, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18857:9:1", + "referencedDeclaration": 2179, + "src": "19000:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57837,21 +58181,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18852:15:1", + "src": "18995:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2202, + "id": 2215, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18852:26:1", + "referencedDeclaration": 555, + "src": "18995:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -57862,13 +58206,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18814:65:1", + "src": "18957:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2204, + "id": 2217, "isConstant": false, "isLValue": true, "isPure": false, @@ -57876,7 +58220,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18814:72:1", + "src": "18957:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -57887,14 +58231,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2205, + "id": 2218, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "18889:1:1", + "src": "19032:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -57902,7 +58246,7 @@ }, "value": "1" }, - "src": "18814:76:1", + "src": "18957:76:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -57913,19 +58257,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18748:143:1", + "src": "18891:143:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "18727:164:1" + "src": "18870:164:1" }, { "expression": { "argumentTypes": null, - "id": 2223, + "id": 2236, "isConstant": false, "isLValue": false, "isPure": false, @@ -57938,44 +58282,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2209, + "id": 2222, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "18897:10:1", + "referencedDeclaration": 581, + "src": "19040:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2219, + "id": 2232, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2210, + "id": 2223, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18908:4:1", + "referencedDeclaration": 574, + "src": "19051:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2212, + "id": 2225, "indexExpression": { "argumentTypes": null, - "id": 2211, + "id": 2224, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18913:9:1", + "referencedDeclaration": 2179, + "src": "19056:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -57986,21 +58330,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18908:15:1", + "src": "19051:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2213, + "id": 2226, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "18908:25:1", + "referencedDeclaration": 553, + "src": "19051:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -58011,39 +58355,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18897:37:1", + "src": "19040:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2220, + "id": 2233, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2214, + "id": 2227, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18935:4:1", + "referencedDeclaration": 574, + "src": "19078:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2216, + "id": 2229, "indexExpression": { "argumentTypes": null, - "id": 2215, + "id": 2228, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "18940:9:1", + "referencedDeclaration": 2179, + "src": "19083:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58054,21 +58398,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18935:15:1", + "src": "19078:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2217, + "id": 2230, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "18935:26:1", + "referencedDeclaration": 555, + "src": "19078:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -58079,21 +58423,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18897:65:1", + "src": "19040:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2221, + "id": 2234, "indexExpression": { "argumentTypes": null, - "id": 2218, + "id": 2231, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2174, - "src": "18963:12:1", + "referencedDeclaration": 2187, + "src": "19106:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58104,7 +58448,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "18897:79:1", + "src": "19040:79:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58114,31 +58458,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2222, + "id": 2235, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2181, - "src": "18979:10:1", + "referencedDeclaration": 2194, + "src": "19122:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "18897:92:1", + "src": "19040:92:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2224, + "id": 2237, "nodeType": "ExpressionStatement", - "src": "18897:92:1" + "src": "19040:92:1" }, { "expression": { "argumentTypes": null, - "id": 2230, + "id": 2243, "isConstant": false, "isLValue": false, "isPure": false, @@ -58149,26 +58493,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2225, + "id": 2238, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "18995:4:1", + "referencedDeclaration": 574, + "src": "19138:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2227, + "id": 2240, "indexExpression": { "argumentTypes": null, - "id": 2226, + "id": 2239, "name": "keyToMove1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2181, - "src": "19000:10:1", + "referencedDeclaration": 2194, + "src": "19143:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58179,21 +58523,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "18995:16:1", + "src": "19138:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2228, + "id": 2241, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "zoneIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 559, - "src": "18995:26:1", + "referencedDeclaration": 565, + "src": "19138:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58203,31 +58547,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2229, + "id": 2242, "name": "rowToDelete1", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2174, - "src": "19024:12:1", + "referencedDeclaration": 2187, + "src": "19167:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "18995:41:1", + "src": "19138:41:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2231, + "id": 2244, "nodeType": "ExpressionStatement", - "src": "18995:41:1" + "src": "19138:41:1" }, { "expression": { "argumentTypes": null, - "id": 2244, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": false, @@ -58235,7 +58579,7 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "19042:74:1", + "src": "19185:74:1", "subExpression": { "argumentTypes": null, "expression": { @@ -58244,44 +58588,44 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2232, + "id": 2245, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "19042:10:1", + "referencedDeclaration": 581, + "src": "19185:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2241, + "id": 2254, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2233, + "id": 2246, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19053:4:1", + "referencedDeclaration": 574, + "src": "19196:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2235, + "id": 2248, "indexExpression": { "argumentTypes": null, - "id": 2234, + "id": 2247, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19058:9:1", + "referencedDeclaration": 2179, + "src": "19201:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58292,21 +58636,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19053:15:1", + "src": "19196:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2236, + "id": 2249, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "19053:25:1", + "referencedDeclaration": 553, + "src": "19196:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -58317,39 +58661,39 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19042:37:1", + "src": "19185:37:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2242, + "id": 2255, "indexExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2237, + "id": 2250, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19080:4:1", + "referencedDeclaration": 574, + "src": "19223:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2239, + "id": 2252, "indexExpression": { "argumentTypes": null, - "id": 2238, + "id": 2251, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19085:9:1", + "referencedDeclaration": 2179, + "src": "19228:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58360,21 +58704,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19080:15:1", + "src": "19223:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2240, + "id": 2253, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "19080:26:1", + "referencedDeclaration": 555, + "src": "19223:26:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -58385,13 +58729,13 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19042:65:1", + "src": "19185:65:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2243, + "id": 2256, "isConstant": false, "isLValue": true, "isPure": false, @@ -58399,7 +58743,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19042:72:1", + "src": "19185:72:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58410,22 +58754,22 @@ "typeString": "uint256" } }, - "id": 2245, + "id": 2258, "nodeType": "ExpressionStatement", - "src": "19042:74:1" + "src": "19185:74:1" }, { "assignments": [ - 2247 + 2260 ], "declarations": [ { "constant": false, - "id": 2247, + "id": 2260, "name": "rowToDelete2", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "19123:17:1", + "scope": 2324, + "src": "19266:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -58433,10 +58777,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2246, + "id": 2259, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19123:4:1", + "src": "19266:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58446,33 +58790,33 @@ "visibility": "internal" } ], - "id": 2252, + "id": 2265, "initialValue": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2248, + "id": 2261, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19143:4:1", + "referencedDeclaration": 574, + "src": "19286:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2250, + "id": 2263, "indexExpression": { "argumentTypes": null, - "id": 2249, + "id": 2262, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19148:9:1", + "referencedDeclaration": 2179, + "src": "19291:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58483,41 +58827,41 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19143:15:1", + "src": "19286:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2251, + "id": 2264, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "19143:28:1", + "referencedDeclaration": 567, + "src": "19286:28:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "19123:48:1" + "src": "19266:48:1" }, { "assignments": [ - 2254 + 2267 ], "declarations": [ { "constant": false, - "id": 2254, + "id": 2267, "name": "keyToMove2", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "19177:18:1", + "scope": 2324, + "src": "19320:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -58525,10 +58869,10 @@ "typeString": "address" }, "typeName": { - "id": 2253, + "id": 2266, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19177:7:1", + "src": "19320:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58538,30 +58882,30 @@ "visibility": "internal" } ], - "id": 2261, + "id": 2274, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2255, + "id": 2268, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19198:9:1", + "referencedDeclaration": 584, + "src": "19341:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2260, + "id": 2273, "indexExpression": { "argumentTypes": null, "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2259, + "id": 2272, "isConstant": false, "isLValue": false, "isPure": false, @@ -58570,18 +58914,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2256, + "id": 2269, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19208:9:1", + "referencedDeclaration": 584, + "src": "19351:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2257, + "id": 2270, "isConstant": false, "isLValue": true, "isPure": false, @@ -58589,7 +58933,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19208:16:1", + "src": "19351:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58600,14 +58944,14 @@ "rightExpression": { "argumentTypes": null, "hexValue": "31", - "id": 2258, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19227:1:1", + "src": "19370:1:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", @@ -58615,7 +58959,7 @@ }, "value": "1" }, - "src": "19208:20:1", + "src": "19351:20:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58626,19 +58970,19 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19198:31:1", + "src": "19341:31:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "19177:52:1" + "src": "19320:52:1" }, { "expression": { "argumentTypes": null, - "id": 2266, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -58647,26 +58991,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2262, + "id": 2275, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19235:9:1", + "referencedDeclaration": 584, + "src": "19378:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2264, + "id": 2277, "indexExpression": { "argumentTypes": null, - "id": 2263, + "id": 2276, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, - "src": "19245:12:1", + "referencedDeclaration": 2260, + "src": "19388:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58677,7 +59021,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "19235:23:1", + "src": "19378:23:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58687,31 +59031,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2265, + "id": 2278, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2254, - "src": "19261:10:1", + "referencedDeclaration": 2267, + "src": "19404:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "19235:36:1", + "src": "19378:36:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2267, + "id": 2280, "nodeType": "ExpressionStatement", - "src": "19235:36:1" + "src": "19378:36:1" }, { "expression": { "argumentTypes": null, - "id": 2273, + "id": 2286, "isConstant": false, "isLValue": false, "isPure": false, @@ -58722,26 +59066,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2268, + "id": 2281, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19277:4:1", + "referencedDeclaration": 574, + "src": "19420:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2270, + "id": 2283, "indexExpression": { "argumentTypes": null, - "id": 2269, + "id": 2282, "name": "keyToMove2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2254, - "src": "19282:10:1", + "referencedDeclaration": 2267, + "src": "19425:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58752,21 +59096,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19277:16:1", + "src": "19420:16:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2271, + "id": 2284, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "generalIndex", "nodeType": "MemberAccess", - "referencedDeclaration": 561, - "src": "19277:29:1", + "referencedDeclaration": 567, + "src": "19420:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58776,31 +59120,31 @@ "operator": "=", "rightHandSide": { "argumentTypes": null, - "id": 2272, + "id": 2285, "name": "rowToDelete2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2247, - "src": "19309:12:1", + "referencedDeclaration": 2260, + "src": "19452:12:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "19277:44:1", + "src": "19420:44:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2274, + "id": 2287, "nodeType": "ExpressionStatement", - "src": "19277:44:1" + "src": "19420:44:1" }, { "expression": { "argumentTypes": null, - "id": 2278, + "id": 2291, "isConstant": false, "isLValue": false, "isPure": false, @@ -58808,23 +59152,23 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "19327:18:1", + "src": "19470:18:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2275, + "id": 2288, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "19327:9:1", + "referencedDeclaration": 584, + "src": "19470:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "id": 2277, + "id": 2290, "isConstant": false, "isLValue": true, "isPure": false, @@ -58832,7 +59176,7 @@ "memberName": "length", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19327:16:1", + "src": "19470:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -58843,14 +59187,14 @@ "typeString": "uint256" } }, - "id": 2279, + "id": 2292, "nodeType": "ExpressionStatement", - "src": "19327:18:1" + "src": "19470:18:1" }, { "condition": { "argumentTypes": null, - "id": 2284, + "id": 2297, "isConstant": false, "isLValue": false, "isPure": false, @@ -58858,33 +59202,33 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "19355:27:1", + "src": "19498:27:1", "subExpression": { "argumentTypes": null, "expression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2280, + "id": 2293, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19356:4:1", + "referencedDeclaration": 574, + "src": "19499:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2282, + "id": 2295, "indexExpression": { "argumentTypes": null, - "id": 2281, + "id": 2294, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19361:9:1", + "referencedDeclaration": 2179, + "src": "19504:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58895,21 +59239,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19356:15:1", + "src": "19499:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2283, + "id": 2296, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "detherShop", "nodeType": "MemberAccess", - "referencedDeclaration": 563, - "src": "19356:26:1", + "referencedDeclaration": 569, + "src": "19499:26:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -58926,12 +59270,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2294, + "id": 2307, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19464:9:1", + "referencedDeclaration": 2179, + "src": "19607:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58939,12 +59283,12 @@ }, { "argumentTypes": null, - "id": 2295, + "id": 2308, "name": "csoAddress", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "19475:10:1", + "src": "19618:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -58964,18 +59308,18 @@ ], "expression": { "argumentTypes": null, - "id": 2291, + "id": 2304, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "19438:4:1", + "referencedDeclaration": 479, + "src": "19581:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2293, + "id": 2306, "isConstant": false, "isLValue": false, "isPure": false, @@ -58983,13 +59327,13 @@ "memberName": "withdrawDthShopAdmin", "nodeType": "MemberAccess", "referencedDeclaration": 317, - "src": "19438:25:1", + "src": "19581:25:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address) external" } }, - "id": 2296, + "id": 2309, "isConstant": false, "isLValue": false, "isPure": false, @@ -58997,31 +59341,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19438:48:1", + "src": "19581:48:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2297, + "id": 2310, "nodeType": "ExpressionStatement", - "src": "19438:48:1" + "src": "19581:48:1" }, - "id": 2298, + "id": 2311, "nodeType": "IfStatement", - "src": "19351:135:1", + "src": "19494:135:1", "trueBody": { "expression": { "argumentTypes": null, "arguments": [ { "argumentTypes": null, - "id": 2288, + "id": 2301, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19411:9:1", + "referencedDeclaration": 2179, + "src": "19554:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59037,18 +59381,18 @@ ], "expression": { "argumentTypes": null, - "id": 2285, + "id": 2298, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "19390:4:1", + "referencedDeclaration": 479, + "src": "19533:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2287, + "id": 2300, "isConstant": false, "isLValue": false, "isPure": false, @@ -59056,13 +59400,13 @@ "memberName": "withdrawDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 310, - "src": "19390:20:1", + "src": "19533:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2289, + "id": 2302, "isConstant": false, "isLValue": false, "isPure": false, @@ -59070,21 +59414,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19390:31:1", + "src": "19533:31:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2290, + "id": 2303, "nodeType": "ExpressionStatement", - "src": "19390:31:1" + "src": "19533:31:1" } }, { "expression": { "argumentTypes": null, - "id": 2302, + "id": 2315, "isConstant": false, "isLValue": false, "isPure": false, @@ -59092,31 +59436,31 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "19492:22:1", + "src": "19635:22:1", "subExpression": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2299, + "id": 2312, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "19499:4:1", + "referencedDeclaration": 574, + "src": "19642:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2301, + "id": 2314, "indexExpression": { "argumentTypes": null, - "id": 2300, + "id": 2313, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19504:9:1", + "referencedDeclaration": 2179, + "src": "19647:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59127,9 +59471,9 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "19499:15:1", + "src": "19642:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, @@ -59138,9 +59482,9 @@ "typeString": "tuple()" } }, - "id": 2303, + "id": 2316, "nodeType": "ExpressionStatement", - "src": "19492:22:1" + "src": "19635:22:1" }, { "eventCall": { @@ -59150,18 +59494,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2305, + "id": 2318, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "19545:3:1", + "referencedDeclaration": 3390, + "src": "19688:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2306, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -59169,7 +59513,7 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "19545:10:1", + "src": "19688:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59177,12 +59521,12 @@ }, { "argumentTypes": null, - "id": 2307, + "id": 2320, "name": "_toDelete", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2166, - "src": "19557:9:1", + "referencedDeclaration": 2179, + "src": "19700:9:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59200,18 +59544,18 @@ "typeString": "address" } ], - "id": 2304, + "id": 2317, "name": "DeleteShopModerator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "19525:19:1", + "referencedDeclaration": 437, + "src": "19668:19:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 2308, + "id": 2321, "isConstant": false, "isLValue": false, "isPure": false, @@ -59219,20 +59563,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "19525:42:1", + "src": "19668:42:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2309, + "id": 2322, "nodeType": "EmitStatement", - "src": "19520:47:1" + "src": "19663:47:1" } ] }, "documentation": null, - "id": 2311, + "id": 2324, "implemented": true, "isConstructor": false, "isDeclaredConst": false, @@ -59243,18 +59587,18 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2169, + "id": 2182, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3377, - "src": "18649:3:1", + "referencedDeclaration": 3390, + "src": "18792:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 2170, + "id": 2183, "isConstant": false, "isLValue": false, "isPure": false, @@ -59262,44 +59606,44 @@ "memberName": "sender", "nodeType": "MemberAccess", "referencedDeclaration": null, - "src": "18649:10:1", + "src": "18792:10:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } } ], - "id": 2171, + "id": 2184, "modifierName": { "argumentTypes": null, - "id": 2168, + "id": 2181, "name": "isShopModerator", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 80, - "src": "18633:15:1", + "src": "18776:15:1", "typeDescriptions": { "typeIdentifier": "t_modifier$_t_address_$", "typeString": "modifier (address)" } }, "nodeType": "ModifierInvocation", - "src": "18633:27:1" + "src": "18776:27:1" } ], "name": "deleteShopMods", "nodeType": "FunctionDefinition", "parameters": { - "id": 2167, + "id": 2180, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2166, + "id": 2179, "name": "_toDelete", "nodeType": "VariableDeclaration", - "scope": 2311, - "src": "18614:17:1", + "scope": 2324, + "src": "18757:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -59307,10 +59651,10 @@ "typeString": "address" }, "typeName": { - "id": 2165, + "id": 2178, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18614:7:1", + "src": "18757:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59320,54 +59664,54 @@ "visibility": "internal" } ], - "src": "18613:19:1" + "src": "18756:19:1" }, "payable": false, "returnParameters": { - "id": 2172, + "id": 2185, "nodeType": "ParameterList", "parameters": [], - "src": "18670:0:1" + "src": "18813:0:1" }, - "scope": 2659, - "src": "18590:982:1", + "scope": 2672, + "src": "18733:982:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" }, { "body": { - "id": 2408, + "id": 2421, "nodeType": "Block", - "src": "19932:459:1", + "src": "20075:459:1", "statements": [ { "assignments": [ - 2341 + 2354 ], "declarations": [ { "constant": false, - "id": 2341, + "id": 2354, "name": "theTeller", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19938:24:1", + "scope": 2422, + "src": "20081:24:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" }, "typeName": { "contractScope": null, - "id": 2340, + "id": 2353, "name": "Teller", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 502, - "src": "19938:6:1", + "referencedDeclaration": 508, + "src": "20081:6:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller" } }, @@ -59375,31 +59719,31 @@ "visibility": "internal" } ], - "id": 2345, + "id": 2358, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2342, + "id": 2355, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "19965:6:1", + "referencedDeclaration": 534, + "src": "20108:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 2344, + "id": 2357, "indexExpression": { "argumentTypes": null, - "id": 2343, + "id": 2356, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2313, - "src": "19972:7:1", + "referencedDeclaration": 2326, + "src": "20115:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -59410,31 +59754,31 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "19965:15:1", + "src": "20108:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "19938:42:1" + "src": "20081:42:1" }, { "expression": { "argumentTypes": null, - "id": 2349, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2346, + "id": 2359, "name": "lat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2316, - "src": "19986:3:1", + "referencedDeclaration": 2329, + "src": "20129:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -59446,57 +59790,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2347, + "id": 2360, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "19992:9:1", + "referencedDeclaration": 2354, + "src": "20135:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2348, + "id": 2361, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 477, - "src": "19992:13:1", + "referencedDeclaration": 483, + "src": "20135:13:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "19986:19:1", + "src": "20129:19:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2350, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "19986:19:1" + "src": "20129:19:1" }, { "expression": { "argumentTypes": null, - "id": 2354, + "id": 2367, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2351, + "id": 2364, "name": "lng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2318, - "src": "20011:3:1", + "referencedDeclaration": 2331, + "src": "20154:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -59508,57 +59852,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2352, + "id": 2365, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20017:9:1", + "referencedDeclaration": 2354, + "src": "20160:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2353, + "id": 2366, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 479, - "src": "20017:13:1", + "referencedDeclaration": 485, + "src": "20160:13:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20011:19:1", + "src": "20154:19:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2355, + "id": 2368, "nodeType": "ExpressionStatement", - "src": "20011:19:1" + "src": "20154:19:1" }, { "expression": { "argumentTypes": null, - "id": 2359, + "id": 2372, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2356, + "id": 2369, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2320, - "src": "20036:9:1", + "referencedDeclaration": 2333, + "src": "20179:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -59570,57 +59914,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2357, + "id": 2370, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20048:9:1", + "referencedDeclaration": 2354, + "src": "20191:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2358, + "id": 2371, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "20048:19:1", + "referencedDeclaration": 487, + "src": "20191:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "20036:31:1", + "src": "20179:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 2360, + "id": 2373, "nodeType": "ExpressionStatement", - "src": "20036:31:1" + "src": "20179:31:1" }, { "expression": { "argumentTypes": null, - "id": 2364, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2361, + "id": 2374, "name": "postalCode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2322, - "src": "20073:10:1", + "referencedDeclaration": 2335, + "src": "20216:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -59632,57 +59976,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2362, + "id": 2375, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20086:9:1", + "referencedDeclaration": 2354, + "src": "20229:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2363, + "id": 2376, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 483, - "src": "20086:20:1", + "referencedDeclaration": 489, + "src": "20229:20:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20073:33:1", + "src": "20216:33:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2365, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "20073:33:1" + "src": "20216:33:1" }, { "expression": { "argumentTypes": null, - "id": 2369, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2366, + "id": 2379, "name": "currencyId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2324, - "src": "20112:10:1", + "referencedDeclaration": 2337, + "src": "20255:10:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -59694,57 +60038,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2367, + "id": 2380, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20125:9:1", + "referencedDeclaration": 2354, + "src": "20268:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2368, + "id": 2381, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "currencyId", "nodeType": "MemberAccess", - "referencedDeclaration": 485, - "src": "20125:20:1", + "referencedDeclaration": 491, + "src": "20268:20:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "20112:33:1", + "src": "20255:33:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 2370, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "20112:33:1" + "src": "20255:33:1" }, { "expression": { "argumentTypes": null, - "id": 2374, + "id": 2387, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2371, + "id": 2384, "name": "messenger", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2326, - "src": "20151:9:1", + "referencedDeclaration": 2339, + "src": "20294:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -59756,57 +60100,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2372, + "id": 2385, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20163:9:1", + "referencedDeclaration": 2354, + "src": "20306:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2373, + "id": 2386, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "messenger", "nodeType": "MemberAccess", - "referencedDeclaration": 487, - "src": "20163:19:1", + "referencedDeclaration": 493, + "src": "20306:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20151:31:1", + "src": "20294:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2375, + "id": 2388, "nodeType": "ExpressionStatement", - "src": "20151:31:1" + "src": "20294:31:1" }, { "expression": { "argumentTypes": null, - "id": 2379, + "id": 2392, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2376, + "id": 2389, "name": "avatarId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2328, - "src": "20188:8:1", + "referencedDeclaration": 2341, + "src": "20331:8:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -59818,57 +60162,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2377, + "id": 2390, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20199:9:1", + "referencedDeclaration": 2354, + "src": "20342:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2378, + "id": 2391, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "avatarId", "nodeType": "MemberAccess", - "referencedDeclaration": 489, - "src": "20199:18:1", + "referencedDeclaration": 495, + "src": "20342:18:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "src": "20188:29:1", + "src": "20331:29:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" } }, - "id": 2380, + "id": 2393, "nodeType": "ExpressionStatement", - "src": "20188:29:1" + "src": "20331:29:1" }, { "expression": { "argumentTypes": null, - "id": 2384, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2381, + "id": 2394, "name": "rates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2330, - "src": "20223:5:1", + "referencedDeclaration": 2343, + "src": "20366:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -59880,57 +60224,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2382, + "id": 2395, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20231:9:1", + "referencedDeclaration": 2354, + "src": "20374:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2383, + "id": 2396, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "rates", "nodeType": "MemberAccess", - "referencedDeclaration": 491, - "src": "20231:15:1", + "referencedDeclaration": 497, + "src": "20374:15:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "20223:23:1", + "src": "20366:23:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 2385, + "id": 2398, "nodeType": "ExpressionStatement", - "src": "20223:23:1" + "src": "20366:23:1" }, { "expression": { "argumentTypes": null, - "id": 2389, + "id": 2402, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2386, + "id": 2399, "name": "online", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2334, - "src": "20252:6:1", + "referencedDeclaration": 2347, + "src": "20395:6:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -59942,57 +60286,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2387, + "id": 2400, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20261:9:1", + "referencedDeclaration": 2354, + "src": "20404:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2388, + "id": 2401, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "online", "nodeType": "MemberAccess", - "referencedDeclaration": 501, - "src": "20261:16:1", + "referencedDeclaration": 507, + "src": "20404:16:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "20252:25:1", + "src": "20395:25:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2390, + "id": 2403, "nodeType": "ExpressionStatement", - "src": "20252:25:1" + "src": "20395:25:1" }, { "expression": { "argumentTypes": null, - "id": 2394, + "id": 2407, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2391, + "id": 2404, "name": "buyer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2336, - "src": "20283:5:1", + "referencedDeclaration": 2349, + "src": "20426:5:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -60004,57 +60348,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2392, + "id": 2405, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20291:9:1", + "referencedDeclaration": 2354, + "src": "20434:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2393, + "id": 2406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "buyer", "nodeType": "MemberAccess", - "referencedDeclaration": 493, - "src": "20291:15:1", + "referencedDeclaration": 499, + "src": "20434:15:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "20283:23:1", + "src": "20426:23:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2395, + "id": 2408, "nodeType": "ExpressionStatement", - "src": "20283:23:1" + "src": "20426:23:1" }, { "expression": { "argumentTypes": null, - "id": 2399, + "id": 2412, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2396, + "id": 2409, "name": "buyRates", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2338, - "src": "20312:8:1", + "referencedDeclaration": 2351, + "src": "20455:8:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -60066,57 +60410,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2397, + "id": 2410, "name": "theTeller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2341, - "src": "20323:9:1", + "referencedDeclaration": 2354, + "src": "20466:9:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage_ptr", + "typeIdentifier": "t_struct$_Teller_$508_storage_ptr", "typeString": "struct DetherCore.Teller storage pointer" } }, - "id": 2398, + "id": 2411, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "buyRates", "nodeType": "MemberAccess", - "referencedDeclaration": 495, - "src": "20323:18:1", + "referencedDeclaration": 501, + "src": "20466:18:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "src": "20312:29:1", + "src": "20455:29:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" } }, - "id": 2400, + "id": 2413, "nodeType": "ExpressionStatement", - "src": "20312:29:1" + "src": "20455:29:1" }, { "expression": { "argumentTypes": null, - "id": 2406, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2401, + "id": 2414, "name": "balance", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2332, - "src": "20347:7:1", + "referencedDeclaration": 2345, + "src": "20490:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60129,12 +60473,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2404, + "id": 2417, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2313, - "src": "20378:7:1", + "referencedDeclaration": 2326, + "src": "20521:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60150,18 +60494,18 @@ ], "expression": { "argumentTypes": null, - "id": 2402, + "id": 2415, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "20357:4:1", + "referencedDeclaration": 479, + "src": "20500:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2403, + "id": 2416, "isConstant": false, "isLValue": false, "isPure": false, @@ -60169,13 +60513,13 @@ "memberName": "getEthBalTeller", "nodeType": "MemberAccess", "referencedDeclaration": 375, - "src": "20357:20:1", + "src": "20500:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2405, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -60183,26 +60527,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20357:29:1", + "src": "20500:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20347:39:1", + "src": "20490:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2407, + "id": 2420, "nodeType": "ExpressionStatement", - "src": "20347:39:1" + "src": "20490:39:1" } ] }, "documentation": " GETTER", - "id": 2409, + "id": 2422, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -60210,16 +60554,16 @@ "name": "getTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2314, + "id": 2327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2313, + "id": 2326, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19661:15:1", + "scope": 2422, + "src": "19804:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60227,10 +60571,10 @@ "typeString": "address" }, "typeName": { - "id": 2312, + "id": 2325, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19661:7:1", + "src": "19804:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60240,20 +60584,20 @@ "visibility": "internal" } ], - "src": "19660:17:1" + "src": "19803:17:1" }, "payable": false, "returnParameters": { - "id": 2339, + "id": 2352, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2316, + "id": 2329, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19704:9:1", + "scope": 2422, + "src": "19847:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60261,10 +60605,10 @@ "typeString": "int32" }, "typeName": { - "id": 2315, + "id": 2328, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "19704:5:1", + "src": "19847:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -60275,11 +60619,11 @@ }, { "constant": false, - "id": 2318, + "id": 2331, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19719:9:1", + "scope": 2422, + "src": "19862:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60287,10 +60631,10 @@ "typeString": "int32" }, "typeName": { - "id": 2317, + "id": 2330, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "19719:5:1", + "src": "19862:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -60301,11 +60645,11 @@ }, { "constant": false, - "id": 2320, + "id": 2333, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19734:16:1", + "scope": 2422, + "src": "19877:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60313,10 +60657,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2319, + "id": 2332, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "19734:6:1", + "src": "19877:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -60327,11 +60671,11 @@ }, { "constant": false, - "id": 2322, + "id": 2335, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19756:18:1", + "scope": 2422, + "src": "19899:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60339,10 +60683,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2321, + "id": 2334, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "19756:7:1", + "src": "19899:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -60353,11 +60697,11 @@ }, { "constant": false, - "id": 2324, + "id": 2337, "name": "currencyId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19780:15:1", + "scope": 2422, + "src": "19923:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60365,10 +60709,10 @@ "typeString": "int8" }, "typeName": { - "id": 2323, + "id": 2336, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "19780:4:1", + "src": "19923:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -60379,11 +60723,11 @@ }, { "constant": false, - "id": 2326, + "id": 2339, "name": "messenger", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19801:17:1", + "scope": 2422, + "src": "19944:17:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60391,10 +60735,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2325, + "id": 2338, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "19801:7:1", + "src": "19944:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -60405,11 +60749,11 @@ }, { "constant": false, - "id": 2328, + "id": 2341, "name": "avatarId", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19824:13:1", + "scope": 2422, + "src": "19967:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60417,10 +60761,10 @@ "typeString": "int8" }, "typeName": { - "id": 2327, + "id": 2340, "name": "int8", "nodeType": "ElementaryTypeName", - "src": "19824:4:1", + "src": "19967:4:1", "typeDescriptions": { "typeIdentifier": "t_int8", "typeString": "int8" @@ -60431,11 +60775,11 @@ }, { "constant": false, - "id": 2330, + "id": 2343, "name": "rates", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19843:11:1", + "scope": 2422, + "src": "19986:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60443,10 +60787,10 @@ "typeString": "int16" }, "typeName": { - "id": 2329, + "id": 2342, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "19843:5:1", + "src": "19986:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -60457,11 +60801,11 @@ }, { "constant": false, - "id": 2332, + "id": 2345, "name": "balance", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19860:12:1", + "scope": 2422, + "src": "20003:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60469,10 +60813,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 2344, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "19860:4:1", + "src": "20003:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -60483,11 +60827,11 @@ }, { "constant": false, - "id": 2334, + "id": 2347, "name": "online", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19878:11:1", + "scope": 2422, + "src": "20021:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60495,10 +60839,10 @@ "typeString": "bool" }, "typeName": { - "id": 2333, + "id": 2346, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "19878:4:1", + "src": "20021:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -60509,11 +60853,11 @@ }, { "constant": false, - "id": 2336, + "id": 2349, "name": "buyer", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19895:10:1", + "scope": 2422, + "src": "20038:10:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60521,10 +60865,10 @@ "typeString": "bool" }, "typeName": { - "id": 2335, + "id": 2348, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "19895:4:1", + "src": "20038:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -60535,11 +60879,11 @@ }, { "constant": false, - "id": 2338, + "id": 2351, "name": "buyRates", "nodeType": "VariableDeclaration", - "scope": 2409, - "src": "19911:14:1", + "scope": 2422, + "src": "20054:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -60547,10 +60891,10 @@ "typeString": "int16" }, "typeName": { - "id": 2337, + "id": 2350, "name": "int16", "nodeType": "ElementaryTypeName", - "src": "19911:5:1", + "src": "20054:5:1", "typeDescriptions": { "typeIdentifier": "t_int16", "typeString": "int16" @@ -60560,47 +60904,47 @@ "visibility": "internal" } ], - "src": "19698:233:1" + "src": "19841:233:1" }, - "scope": 2659, - "src": "19642:749:1", + "scope": 2672, + "src": "19785:749:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2476, + "id": 2489, "nodeType": "Block", - "src": "20681:282:1", + "src": "20824:282:1", "statements": [ { "assignments": [ - 2431 + 2444 ], "declarations": [ { "constant": false, - "id": 2431, + "id": 2444, "name": "theShop", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20687:20:1", + "scope": 2490, + "src": "20830:20:1", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" }, "typeName": { "contractScope": null, - "id": 2430, + "id": 2443, "name": "Shop", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 564, - "src": "20687:4:1", + "referencedDeclaration": 570, + "src": "20830:4:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop" } }, @@ -60608,31 +60952,31 @@ "visibility": "internal" } ], - "id": 2435, + "id": 2448, "initialValue": { "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2432, + "id": 2445, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "20710:4:1", + "referencedDeclaration": 574, + "src": "20853:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2434, + "id": 2447, "indexExpression": { "argumentTypes": null, - "id": 2433, + "id": 2446, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2411, - "src": "20715:5:1", + "referencedDeclaration": 2424, + "src": "20858:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -60643,31 +60987,31 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "20710:11:1", + "src": "20853:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "20687:34:1" + "src": "20830:34:1" }, { "expression": { "argumentTypes": null, - "id": 2439, + "id": 2452, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2436, + "id": 2449, "name": "lat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2414, - "src": "20727:3:1", + "referencedDeclaration": 2427, + "src": "20870:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -60679,57 +61023,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2437, + "id": 2450, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20733:7:1", + "referencedDeclaration": 2444, + "src": "20876:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2438, + "id": 2451, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lat", "nodeType": "MemberAccess", - "referencedDeclaration": 543, - "src": "20733:11:1", + "referencedDeclaration": 549, + "src": "20876:11:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20727:17:1", + "src": "20870:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2440, + "id": 2453, "nodeType": "ExpressionStatement", - "src": "20727:17:1" + "src": "20870:17:1" }, { "expression": { "argumentTypes": null, - "id": 2444, + "id": 2457, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2441, + "id": 2454, "name": "lng", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2416, - "src": "20750:3:1", + "referencedDeclaration": 2429, + "src": "20893:3:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -60741,57 +61085,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2442, + "id": 2455, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20756:7:1", + "referencedDeclaration": 2444, + "src": "20899:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2443, + "id": 2456, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "lng", "nodeType": "MemberAccess", - "referencedDeclaration": 545, - "src": "20756:11:1", + "referencedDeclaration": 551, + "src": "20899:11:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "src": "20750:17:1", + "src": "20893:17:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" } }, - "id": 2445, + "id": 2458, "nodeType": "ExpressionStatement", - "src": "20750:17:1" + "src": "20893:17:1" }, { "expression": { "argumentTypes": null, - "id": 2449, + "id": 2462, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2446, + "id": 2459, "name": "countryId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2418, - "src": "20773:9:1", + "referencedDeclaration": 2431, + "src": "20916:9:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -60803,57 +61147,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2447, + "id": 2460, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20785:7:1", + "referencedDeclaration": 2444, + "src": "20928:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2448, + "id": 2461, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "20785:17:1", + "referencedDeclaration": 553, + "src": "20928:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "20773:29:1", + "src": "20916:29:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "id": 2450, + "id": 2463, "nodeType": "ExpressionStatement", - "src": "20773:29:1" + "src": "20916:29:1" }, { "expression": { "argumentTypes": null, - "id": 2454, + "id": 2467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2451, + "id": 2464, "name": "postalCode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2420, - "src": "20808:10:1", + "referencedDeclaration": 2433, + "src": "20951:10:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -60865,57 +61209,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2452, + "id": 2465, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20821:7:1", + "referencedDeclaration": 2444, + "src": "20964:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2453, + "id": 2466, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "postalCode", "nodeType": "MemberAccess", - "referencedDeclaration": 549, - "src": "20821:18:1", + "referencedDeclaration": 555, + "src": "20964:18:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20808:31:1", + "src": "20951:31:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2455, + "id": 2468, "nodeType": "ExpressionStatement", - "src": "20808:31:1" + "src": "20951:31:1" }, { "expression": { "argumentTypes": null, - "id": 2459, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2456, + "id": 2469, "name": "cat", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2422, - "src": "20845:3:1", + "referencedDeclaration": 2435, + "src": "20988:3:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -60927,57 +61271,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2457, + "id": 2470, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20851:7:1", + "referencedDeclaration": 2444, + "src": "20994:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2458, + "id": 2471, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "cat", "nodeType": "MemberAccess", - "referencedDeclaration": 551, - "src": "20851:11:1", + "referencedDeclaration": 557, + "src": "20994:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20845:17:1", + "src": "20988:17:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2460, + "id": 2473, "nodeType": "ExpressionStatement", - "src": "20845:17:1" + "src": "20988:17:1" }, { "expression": { "argumentTypes": null, - "id": 2464, + "id": 2477, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2461, + "id": 2474, "name": "name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2424, - "src": "20868:4:1", + "referencedDeclaration": 2437, + "src": "21011:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -60989,57 +61333,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2462, + "id": 2475, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20875:7:1", + "referencedDeclaration": 2444, + "src": "21018:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2463, + "id": 2476, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "name", "nodeType": "MemberAccess", - "referencedDeclaration": 553, - "src": "20875:12:1", + "referencedDeclaration": 559, + "src": "21018:12:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20868:19:1", + "src": "21011:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2465, + "id": 2478, "nodeType": "ExpressionStatement", - "src": "20868:19:1" + "src": "21011:19:1" }, { "expression": { "argumentTypes": null, - "id": 2469, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2466, + "id": 2479, "name": "description", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2426, - "src": "20893:11:1", + "referencedDeclaration": 2439, + "src": "21036:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -61051,57 +61395,57 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2467, + "id": 2480, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20907:7:1", + "referencedDeclaration": 2444, + "src": "21050:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2468, + "id": 2481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "description", "nodeType": "MemberAccess", - "referencedDeclaration": 555, - "src": "20907:19:1", + "referencedDeclaration": 561, + "src": "21050:19:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "20893:33:1", + "src": "21036:33:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 2470, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "20893:33:1" + "src": "21036:33:1" }, { "expression": { "argumentTypes": null, - "id": 2474, + "id": 2487, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2471, + "id": 2484, "name": "opening", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2428, - "src": "20932:7:1", + "referencedDeclaration": 2441, + "src": "21075:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -61113,45 +61457,45 @@ "argumentTypes": null, "expression": { "argumentTypes": null, - "id": 2472, + "id": 2485, "name": "theShop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2431, - "src": "20942:7:1", + "referencedDeclaration": 2444, + "src": "21085:7:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage_ptr", + "typeIdentifier": "t_struct$_Shop_$570_storage_ptr", "typeString": "struct DetherCore.Shop storage pointer" } }, - "id": 2473, + "id": 2486, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "opening", "nodeType": "MemberAccess", - "referencedDeclaration": 557, - "src": "20942:15:1", + "referencedDeclaration": 563, + "src": "21085:15:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "src": "20932:25:1", + "src": "21075:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" } }, - "id": 2475, + "id": 2488, "nodeType": "ExpressionStatement", - "src": "20932:25:1" + "src": "21075:25:1" } ] }, "documentation": null, - "id": 2477, + "id": 2490, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -61159,16 +61503,16 @@ "name": "getShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2412, + "id": 2425, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2411, + "id": 2424, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20491:13:1", + "scope": 2490, + "src": "20634:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61176,10 +61520,10 @@ "typeString": "address" }, "typeName": { - "id": 2410, + "id": 2423, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20491:7:1", + "src": "20634:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61189,20 +61533,20 @@ "visibility": "internal" } ], - "src": "20490:15:1" + "src": "20633:15:1" }, "payable": false, "returnParameters": { - "id": 2429, + "id": 2442, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2414, + "id": 2427, "name": "lat", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20531:9:1", + "scope": 2490, + "src": "20674:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61210,10 +61554,10 @@ "typeString": "int32" }, "typeName": { - "id": 2413, + "id": 2426, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "20531:5:1", + "src": "20674:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -61224,11 +61568,11 @@ }, { "constant": false, - "id": 2416, + "id": 2429, "name": "lng", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20545:9:1", + "scope": 2490, + "src": "20688:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61236,10 +61580,10 @@ "typeString": "int32" }, "typeName": { - "id": 2415, + "id": 2428, "name": "int32", "nodeType": "ElementaryTypeName", - "src": "20545:5:1", + "src": "20688:5:1", "typeDescriptions": { "typeIdentifier": "t_int32", "typeString": "int32" @@ -61250,11 +61594,11 @@ }, { "constant": false, - "id": 2418, + "id": 2431, "name": "countryId", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20559:16:1", + "scope": 2490, + "src": "20702:16:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61262,10 +61606,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2417, + "id": 2430, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "20559:6:1", + "src": "20702:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -61276,11 +61620,11 @@ }, { "constant": false, - "id": 2420, + "id": 2433, "name": "postalCode", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20580:18:1", + "scope": 2490, + "src": "20723:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61288,10 +61632,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2419, + "id": 2432, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20580:7:1", + "src": "20723:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -61302,11 +61646,11 @@ }, { "constant": false, - "id": 2422, + "id": 2435, "name": "cat", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20603:11:1", + "scope": 2490, + "src": "20746:11:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61314,10 +61658,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2421, + "id": 2434, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20603:7:1", + "src": "20746:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -61328,11 +61672,11 @@ }, { "constant": false, - "id": 2424, + "id": 2437, "name": "name", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20619:12:1", + "scope": 2490, + "src": "20762:12:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61340,10 +61684,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2423, + "id": 2436, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20619:7:1", + "src": "20762:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -61354,11 +61698,11 @@ }, { "constant": false, - "id": 2426, + "id": 2439, "name": "description", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20636:19:1", + "scope": 2490, + "src": "20779:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61366,10 +61710,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2425, + "id": 2438, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "20636:7:1", + "src": "20779:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -61380,11 +61724,11 @@ }, { "constant": false, - "id": 2428, + "id": 2441, "name": "opening", "nodeType": "VariableDeclaration", - "scope": 2477, - "src": "20660:15:1", + "scope": 2490, + "src": "20803:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61392,10 +61736,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2427, + "id": 2440, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "20660:7:1", + "src": "20803:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -61405,36 +61749,36 @@ "visibility": "internal" } ], - "src": "20526:154:1" + "src": "20669:154:1" }, - "scope": 2659, - "src": "20474:489:1", + "scope": 2672, + "src": "20617:489:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2514, + "id": 2527, "nodeType": "Block", - "src": "21169:161:1", + "src": "21312:161:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2494, + "id": 2507, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2490, + "id": 2503, "name": "buyVolume", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2482, - "src": "21176:9:1", + "referencedDeclaration": 2495, + "src": "21319:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61446,26 +61790,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2491, + "id": 2504, "name": "volumeBuy", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 512, - "src": "21188:9:1", + "referencedDeclaration": 518, + "src": "21331:9:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2493, + "id": 2506, "indexExpression": { "argumentTypes": null, - "id": 2492, + "id": 2505, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21198:7:1", + "referencedDeclaration": 2492, + "src": "21341:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61476,38 +61820,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21188:18:1", + "src": "21331:18:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21176:30:1", + "src": "21319:30:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2495, + "id": 2508, "nodeType": "ExpressionStatement", - "src": "21176:30:1" + "src": "21319:30:1" }, { "expression": { "argumentTypes": null, - "id": 2500, + "id": 2513, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2496, + "id": 2509, "name": "sellVolume", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2484, - "src": "21213:10:1", + "referencedDeclaration": 2497, + "src": "21356:10:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61519,26 +61863,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2497, + "id": 2510, "name": "volumeSell", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 516, - "src": "21226:10:1", + "referencedDeclaration": 522, + "src": "21369:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2499, + "id": 2512, "indexExpression": { "argumentTypes": null, - "id": 2498, + "id": 2511, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21237:7:1", + "referencedDeclaration": 2492, + "src": "21380:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61549,38 +61893,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21226:19:1", + "src": "21369:19:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21213:32:1", + "src": "21356:32:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2501, + "id": 2514, "nodeType": "ExpressionStatement", - "src": "21213:32:1" + "src": "21356:32:1" }, { "expression": { "argumentTypes": null, - "id": 2506, + "id": 2519, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2502, + "id": 2515, "name": "numTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2486, - "src": "21252:8:1", + "referencedDeclaration": 2499, + "src": "21395:8:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61592,26 +61936,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2503, + "id": 2516, "name": "nbTrade", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 520, - "src": "21263:7:1", + "referencedDeclaration": 526, + "src": "21406:7:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2505, + "id": 2518, "indexExpression": { "argumentTypes": null, - "id": 2504, + "id": 2517, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21271:7:1", + "referencedDeclaration": 2492, + "src": "21414:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61622,38 +61966,38 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21263:16:1", + "src": "21406:16:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21252:27:1", + "src": "21395:27:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2507, + "id": 2520, "nodeType": "ExpressionStatement", - "src": "21252:27:1" + "src": "21395:27:1" }, { "expression": { "argumentTypes": null, - "id": 2512, + "id": 2525, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "argumentTypes": null, - "id": 2508, + "id": 2521, "name": "loyaltyPoints_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2488, - "src": "21286:14:1", + "referencedDeclaration": 2501, + "src": "21429:14:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61665,26 +62009,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2509, + "id": 2522, "name": "loyaltyPoints", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 524, - "src": "21303:13:1", + "referencedDeclaration": 530, + "src": "21446:13:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 2511, + "id": 2524, "indexExpression": { "argumentTypes": null, - "id": 2510, + "id": 2523, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2479, - "src": "21317:7:1", + "referencedDeclaration": 2492, + "src": "21460:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61695,26 +62039,26 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21303:22:1", + "src": "21446:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "21286:39:1", + "src": "21429:39:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2526, "nodeType": "ExpressionStatement", - "src": "21286:39:1" + "src": "21429:39:1" } ] }, "documentation": null, - "id": 2515, + "id": 2528, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -61722,16 +62066,16 @@ "name": "getReput", "nodeType": "FunctionDefinition", "parameters": { - "id": 2480, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2479, + "id": 2492, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21042:15:1", + "scope": 2528, + "src": "21185:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61739,10 +62083,10 @@ "typeString": "address" }, "typeName": { - "id": 2478, + "id": 2491, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21042:7:1", + "src": "21185:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61752,20 +62096,20 @@ "visibility": "internal" } ], - "src": "21041:17:1" + "src": "21184:17:1" }, "payable": false, "returnParameters": { - "id": 2489, + "id": 2502, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2482, + "id": 2495, "name": "buyVolume", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21084:14:1", + "scope": 2528, + "src": "21227:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61773,10 +62117,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2481, + "id": 2494, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21084:4:1", + "src": "21227:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61787,11 +62131,11 @@ }, { "constant": false, - "id": 2484, + "id": 2497, "name": "sellVolume", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21103:15:1", + "scope": 2528, + "src": "21246:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61799,10 +62143,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2483, + "id": 2496, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21103:4:1", + "src": "21246:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61813,11 +62157,11 @@ }, { "constant": false, - "id": 2486, + "id": 2499, "name": "numTrade", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21123:13:1", + "scope": 2528, + "src": "21266:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61825,10 +62169,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2485, + "id": 2498, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21123:4:1", + "src": "21266:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61839,11 +62183,11 @@ }, { "constant": false, - "id": 2488, + "id": 2501, "name": "loyaltyPoints_", "nodeType": "VariableDeclaration", - "scope": 2515, - "src": "21141:22:1", + "scope": 2528, + "src": "21284:22:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61851,10 +62195,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2487, + "id": 2500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "21141:7:1", + "src": "21284:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -61864,19 +62208,19 @@ "visibility": "internal" } ], - "src": "21079:89:1" + "src": "21222:89:1" }, - "scope": 2659, - "src": "21024:306:1", + "scope": 2672, + "src": "21167:306:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2527, + "id": 2540, "nodeType": "Block", - "src": "21447:47:1", + "src": "21590:47:1", "statements": [ { "expression": { @@ -61884,12 +62228,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2524, + "id": 2537, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "21481:7:1", + "referencedDeclaration": 2530, + "src": "21624:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61905,18 +62249,18 @@ ], "expression": { "argumentTypes": null, - "id": 2522, + "id": 2535, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "21460:4:1", + "referencedDeclaration": 479, + "src": "21603:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2523, + "id": 2536, "isConstant": false, "isLValue": false, "isPure": false, @@ -61924,13 +62268,13 @@ "memberName": "getEthBalTeller", "nodeType": "MemberAccess", "referencedDeclaration": 375, - "src": "21460:20:1", + "src": "21603:20:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2525, + "id": 2538, "isConstant": false, "isLValue": false, "isPure": false, @@ -61938,21 +62282,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21460:29:1", + "src": "21603:29:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2521, - "id": 2526, + "functionReturnParameters": 2534, + "id": 2539, "nodeType": "Return", - "src": "21453:36:1" + "src": "21596:36:1" } ] }, "documentation": null, - "id": 2528, + "id": 2541, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -61960,16 +62304,16 @@ "name": "getTellerBalance", "nodeType": "FunctionDefinition", "parameters": { - "id": 2518, + "id": 2531, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2517, + "id": 2530, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2528, - "src": "21403:15:1", + "scope": 2541, + "src": "21546:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -61977,10 +62321,10 @@ "typeString": "address" }, "typeName": { - "id": 2516, + "id": 2529, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21403:7:1", + "src": "21546:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -61990,20 +62334,20 @@ "visibility": "internal" } ], - "src": "21402:17:1" + "src": "21545:17:1" }, "payable": false, "returnParameters": { - "id": 2521, + "id": 2534, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2520, + "id": 2533, "name": "", "nodeType": "VariableDeclaration", - "scope": 2528, - "src": "21441:4:1", + "scope": 2541, + "src": "21584:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62011,10 +62355,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2519, + "id": 2532, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "21441:4:1", + "src": "21584:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -62024,19 +62368,19 @@ "visibility": "internal" } ], - "src": "21440:6:1" + "src": "21583:6:1" }, - "scope": 2659, - "src": "21377:117:1", + "scope": 2672, + "src": "21520:117:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2544, + "id": 2557, "nodeType": "Block", - "src": "21696:52:1", + "src": "21839:52:1", "statements": [ { "expression": { @@ -62045,26 +62389,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2538, + "id": 2551, "name": "shopInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 575, - "src": "21710:10:1", + "referencedDeclaration": 581, + "src": "21853:10:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2540, + "id": 2553, "indexExpression": { "argumentTypes": null, - "id": 2539, + "id": 2552, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2530, - "src": "21721:8:1", + "referencedDeclaration": 2543, + "src": "21864:8:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -62075,21 +62419,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21710:20:1", + "src": "21853:20:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2542, + "id": 2555, "indexExpression": { "argumentTypes": null, - "id": 2541, + "id": 2554, "name": "_postalcode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2532, - "src": "21731:11:1", + "referencedDeclaration": 2545, + "src": "21874:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62100,21 +62444,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21710:33:1", + "src": "21853:33:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2537, - "id": 2543, + "functionReturnParameters": 2550, + "id": 2556, "nodeType": "Return", - "src": "21703:40:1" + "src": "21846:40:1" } ] }, "documentation": null, - "id": 2545, + "id": 2558, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -62122,16 +62466,16 @@ "name": "getZoneShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2533, + "id": 2546, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2530, + "id": 2543, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21626:15:1", + "scope": 2558, + "src": "21769:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62139,10 +62483,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2529, + "id": 2542, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "21626:6:1", + "src": "21769:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -62153,11 +62497,11 @@ }, { "constant": false, - "id": 2532, + "id": 2545, "name": "_postalcode", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21643:19:1", + "scope": 2558, + "src": "21786:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62165,10 +62509,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2531, + "id": 2544, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "21643:7:1", + "src": "21786:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62178,20 +62522,20 @@ "visibility": "internal" } ], - "src": "21625:38:1" + "src": "21768:38:1" }, "payable": false, "returnParameters": { - "id": 2537, + "id": 2550, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2536, + "id": 2549, "name": "", "nodeType": "VariableDeclaration", - "scope": 2545, - "src": "21685:9:1", + "scope": 2558, + "src": "21828:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62200,19 +62544,19 @@ }, "typeName": { "baseType": { - "id": 2534, + "id": 2547, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21685:7:1", + "src": "21828:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2535, + "id": 2548, "length": null, "nodeType": "ArrayTypeName", - "src": "21685:9:1", + "src": "21828:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -62222,43 +62566,43 @@ "visibility": "internal" } ], - "src": "21684:11:1" + "src": "21827:11:1" }, - "scope": 2659, - "src": "21605:143:1", + "scope": 2672, + "src": "21748:143:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2553, + "id": 2566, "nodeType": "Block", - "src": "21848:26:1", + "src": "21991:26:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2551, + "id": 2564, "name": "shopIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 578, - "src": "21860:9:1", + "referencedDeclaration": 584, + "src": "22003:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2550, - "id": 2552, + "functionReturnParameters": 2563, + "id": 2565, "nodeType": "Return", - "src": "21853:16:1" + "src": "21996:16:1" } ] }, "documentation": null, - "id": 2554, + "id": 2567, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -62266,23 +62610,23 @@ "name": "getAllShops", "nodeType": "FunctionDefinition", "parameters": { - "id": 2546, + "id": 2559, "nodeType": "ParameterList", "parameters": [], - "src": "21813:2:1" + "src": "21956:2:1" }, "payable": false, "returnParameters": { - "id": 2550, + "id": 2563, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2549, + "id": 2562, "name": "", "nodeType": "VariableDeclaration", - "scope": 2554, - "src": "21837:9:1", + "scope": 2567, + "src": "21980:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62291,19 +62635,19 @@ }, "typeName": { "baseType": { - "id": 2547, + "id": 2560, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21837:7:1", + "src": "21980:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2548, + "id": 2561, "length": null, "nodeType": "ArrayTypeName", - "src": "21837:9:1", + "src": "21980:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -62313,19 +62657,19 @@ "visibility": "internal" } ], - "src": "21836:11:1" + "src": "21979:11:1" }, - "scope": 2659, - "src": "21793:81:1", + "scope": 2672, + "src": "21936:81:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2571, + "id": 2584, "nodeType": "Block", - "src": "21936:55:1", + "src": "22079:55:1", "statements": [ { "expression": { @@ -62337,7 +62681,7 @@ "typeIdentifier": "t_bytes2", "typeString": "bytes2" }, - "id": 2568, + "id": 2581, "isConstant": false, "isLValue": false, "isPure": false, @@ -62348,26 +62692,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2561, + "id": 2574, "name": "shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 568, - "src": "21949:4:1", + "referencedDeclaration": 574, + "src": "22092:4:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$564_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Shop_$570_storage_$", "typeString": "mapping(address => struct DetherCore.Shop storage ref)" } }, - "id": 2563, + "id": 2576, "indexExpression": { "argumentTypes": null, - "id": 2562, + "id": 2575, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2556, - "src": "21954:5:1", + "referencedDeclaration": 2569, + "src": "22097:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -62378,21 +62722,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "21949:11:1", + "src": "22092:11:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Shop_$564_storage", + "typeIdentifier": "t_struct$_Shop_$570_storage", "typeString": "struct DetherCore.Shop storage ref" } }, - "id": 2564, + "id": 2577, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 547, - "src": "21949:21:1", + "referencedDeclaration": 553, + "src": "22092:21:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -62406,14 +62750,14 @@ { "argumentTypes": null, "hexValue": "307830", - "id": 2566, + "id": 2579, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21981:3:1", + "src": "22124:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -62429,20 +62773,20 @@ "typeString": "int_const 0" } ], - "id": 2565, + "id": 2578, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "21974:6:1", + "src": "22117:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes2_$", "typeString": "type(bytes2)" }, "typeName": "bytes2" }, - "id": 2567, + "id": 2580, "isConstant": false, "isLValue": false, "isPure": true, @@ -62450,41 +62794,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21974:11:1", + "src": "22117:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "21949:36:1", + "src": "22092:36:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2569, + "id": 2582, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "21948:38:1", + "src": "22091:38:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2560, - "id": 2570, + "functionReturnParameters": 2573, + "id": 2583, "nodeType": "Return", - "src": "21941:45:1" + "src": "22084:45:1" } ] }, "documentation": null, - "id": 2572, + "id": 2585, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -62492,16 +62836,16 @@ "name": "isShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2557, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2556, + "id": 2569, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "21894:13:1", + "scope": 2585, + "src": "22037:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62509,10 +62853,10 @@ "typeString": "address" }, "typeName": { - "id": 2555, + "id": 2568, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21894:7:1", + "src": "22037:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -62522,20 +62866,20 @@ "visibility": "internal" } ], - "src": "21893:15:1" + "src": "22036:15:1" }, "payable": false, "returnParameters": { - "id": 2560, + "id": 2573, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2559, + "id": 2572, "name": "", "nodeType": "VariableDeclaration", - "scope": 2572, - "src": "21930:4:1", + "scope": 2585, + "src": "22073:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62543,10 +62887,10 @@ "typeString": "bool" }, "typeName": { - "id": 2558, + "id": 2571, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "21930:4:1", + "src": "22073:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -62556,19 +62900,19 @@ "visibility": "internal" } ], - "src": "21929:7:1" + "src": "22072:7:1" }, - "scope": 2659, - "src": "21878:113:1", + "scope": 2672, + "src": "22021:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2588, + "id": 2601, "nodeType": "Block", - "src": "22197:54:1", + "src": "22340:54:1", "statements": [ { "expression": { @@ -62577,26 +62921,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2582, + "id": 2595, "name": "tellerInZone", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "22211:12:1", + "referencedDeclaration": 541, + "src": "22354:12:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes2_$_t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$_$", "typeString": "mapping(bytes2 => mapping(bytes16 => address[] storage ref))" } }, - "id": 2584, + "id": 2597, "indexExpression": { "argumentTypes": null, - "id": 2583, + "id": 2596, "name": "_country", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2574, - "src": "22224:8:1", + "referencedDeclaration": 2587, + "src": "22367:8:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -62607,21 +62951,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22211:22:1", + "src": "22354:22:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes16_$_t_array$_t_address_$dyn_storage_$", "typeString": "mapping(bytes16 => address[] storage ref)" } }, - "id": 2586, + "id": 2599, "indexExpression": { "argumentTypes": null, - "id": 2585, + "id": 2598, "name": "_postalcode", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2576, - "src": "22234:11:1", + "referencedDeclaration": 2589, + "src": "22377:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62632,21 +62976,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22211:35:1", + "src": "22354:35:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2581, - "id": 2587, + "functionReturnParameters": 2594, + "id": 2600, "nodeType": "Return", - "src": "22204:42:1" + "src": "22347:42:1" } ] }, "documentation": null, - "id": 2589, + "id": 2602, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -62654,16 +62998,16 @@ "name": "getZoneTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2577, + "id": 2590, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2574, + "id": 2587, "name": "_country", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22127:15:1", + "scope": 2602, + "src": "22270:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62671,10 +63015,10 @@ "typeString": "bytes2" }, "typeName": { - "id": 2573, + "id": 2586, "name": "bytes2", "nodeType": "ElementaryTypeName", - "src": "22127:6:1", + "src": "22270:6:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -62685,11 +63029,11 @@ }, { "constant": false, - "id": 2576, + "id": 2589, "name": "_postalcode", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22144:19:1", + "scope": 2602, + "src": "22287:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62697,10 +63041,10 @@ "typeString": "bytes16" }, "typeName": { - "id": 2575, + "id": 2588, "name": "bytes16", "nodeType": "ElementaryTypeName", - "src": "22144:7:1", + "src": "22287:7:1", "typeDescriptions": { "typeIdentifier": "t_bytes16", "typeString": "bytes16" @@ -62710,20 +63054,20 @@ "visibility": "internal" } ], - "src": "22126:38:1" + "src": "22269:38:1" }, "payable": false, "returnParameters": { - "id": 2581, + "id": 2594, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2580, + "id": 2593, "name": "", "nodeType": "VariableDeclaration", - "scope": 2589, - "src": "22186:9:1", + "scope": 2602, + "src": "22329:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62732,19 +63076,19 @@ }, "typeName": { "baseType": { - "id": 2578, + "id": 2591, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22186:7:1", + "src": "22329:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2579, + "id": 2592, "length": null, "nodeType": "ArrayTypeName", - "src": "22186:9:1", + "src": "22329:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -62754,43 +63098,43 @@ "visibility": "internal" } ], - "src": "22185:11:1" + "src": "22328:11:1" }, - "scope": 2659, - "src": "22104:147:1", + "scope": 2672, + "src": "22247:147:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2597, + "id": 2610, "nodeType": "Block", - "src": "22355:28:1", + "src": "22498:28:1", "statements": [ { "expression": { "argumentTypes": null, - "id": 2595, + "id": 2608, "name": "tellerIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 538, - "src": "22367:11:1", + "referencedDeclaration": 544, + "src": "22510:11:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage", "typeString": "address[] storage ref" } }, - "functionReturnParameters": 2594, - "id": 2596, + "functionReturnParameters": 2607, + "id": 2609, "nodeType": "Return", - "src": "22360:18:1" + "src": "22503:18:1" } ] }, "documentation": null, - "id": 2598, + "id": 2611, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -62798,23 +63142,23 @@ "name": "getAllTellers", "nodeType": "FunctionDefinition", "parameters": { - "id": 2590, + "id": 2603, "nodeType": "ParameterList", "parameters": [], - "src": "22320:2:1" + "src": "22463:2:1" }, "payable": false, "returnParameters": { - "id": 2594, + "id": 2607, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2593, + "id": 2606, "name": "", "nodeType": "VariableDeclaration", - "scope": 2598, - "src": "22344:9:1", + "scope": 2611, + "src": "22487:9:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -62823,19 +63167,19 @@ }, "typeName": { "baseType": { - "id": 2591, + "id": 2604, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22344:7:1", + "src": "22487:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 2592, + "id": 2605, "length": null, "nodeType": "ArrayTypeName", - "src": "22344:9:1", + "src": "22487:9:1", "typeDescriptions": { "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", "typeString": "address[]" @@ -62845,19 +63189,19 @@ "visibility": "internal" } ], - "src": "22343:11:1" + "src": "22486:11:1" }, - "scope": 2659, - "src": "22298:85:1", + "scope": 2672, + "src": "22441:85:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2615, + "id": 2628, "nodeType": "Block", - "src": "22478:60:1", + "src": "22621:60:1", "statements": [ { "expression": { @@ -62869,7 +63213,7 @@ "typeIdentifier": "t_bytes2", "typeString": "bytes2" }, - "id": 2612, + "id": 2625, "isConstant": false, "isLValue": false, "isPure": false, @@ -62880,26 +63224,26 @@ "argumentTypes": null, "baseExpression": { "argumentTypes": null, - "id": 2605, + "id": 2618, "name": "teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 528, - "src": "22492:6:1", + "referencedDeclaration": 534, + "src": "22635:6:1", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$502_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_Teller_$508_storage_$", "typeString": "mapping(address => struct DetherCore.Teller storage ref)" } }, - "id": 2607, + "id": 2620, "indexExpression": { "argumentTypes": null, - "id": 2606, + "id": 2619, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "22499:7:1", + "referencedDeclaration": 2613, + "src": "22642:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -62910,21 +63254,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "22492:15:1", + "src": "22635:15:1", "typeDescriptions": { - "typeIdentifier": "t_struct$_Teller_$502_storage", + "typeIdentifier": "t_struct$_Teller_$508_storage", "typeString": "struct DetherCore.Teller storage ref" } }, - "id": 2608, + "id": 2621, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "countryId", "nodeType": "MemberAccess", - "referencedDeclaration": 481, - "src": "22492:25:1", + "referencedDeclaration": 487, + "src": "22635:25:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" @@ -62938,14 +63282,14 @@ { "argumentTypes": null, "hexValue": "307830", - "id": 2610, + "id": 2623, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "22528:3:1", + "src": "22671:3:1", "subdenomination": null, "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", @@ -62961,20 +63305,20 @@ "typeString": "int_const 0" } ], - "id": 2609, + "id": 2622, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22521:6:1", + "src": "22664:6:1", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes2_$", "typeString": "type(bytes2)" }, "typeName": "bytes2" }, - "id": 2611, + "id": 2624, "isConstant": false, "isLValue": false, "isPure": true, @@ -62982,41 +63326,41 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22521:11:1", + "src": "22664:11:1", "typeDescriptions": { "typeIdentifier": "t_bytes2", "typeString": "bytes2" } }, - "src": "22492:40:1", + "src": "22635:40:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 2613, + "id": 2626, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "22491:42:1", + "src": "22634:42:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2604, - "id": 2614, + "functionReturnParameters": 2617, + "id": 2627, "nodeType": "Return", - "src": "22484:49:1" + "src": "22627:49:1" } ] }, "documentation": null, - "id": 2616, + "id": 2629, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -63024,16 +63368,16 @@ "name": "isTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2601, + "id": 2614, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2600, + "id": 2613, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2616, - "src": "22434:15:1", + "scope": 2629, + "src": "22577:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63041,10 +63385,10 @@ "typeString": "address" }, "typeName": { - "id": 2599, + "id": 2612, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22434:7:1", + "src": "22577:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63054,20 +63398,20 @@ "visibility": "internal" } ], - "src": "22433:17:1" + "src": "22576:17:1" }, "payable": false, "returnParameters": { - "id": 2604, + "id": 2617, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2603, + "id": 2616, "name": "", "nodeType": "VariableDeclaration", - "scope": 2616, - "src": "22472:4:1", + "scope": 2629, + "src": "22615:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63075,10 +63419,10 @@ "typeString": "bool" }, "typeName": { - "id": 2602, + "id": 2615, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22472:4:1", + "src": "22615:4:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -63088,19 +63432,19 @@ "visibility": "internal" } ], - "src": "22471:7:1" + "src": "22614:7:1" }, - "scope": 2659, - "src": "22416:122:1", + "scope": 2672, + "src": "22559:122:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2628, + "id": 2641, "nodeType": "Block", - "src": "22685:40:1", + "src": "22828:40:1", "statements": [ { "expression": { @@ -63108,12 +63452,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2625, + "id": 2638, "name": "_shop", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2618, - "src": "22714:5:1", + "referencedDeclaration": 2631, + "src": "22857:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63129,18 +63473,18 @@ ], "expression": { "argumentTypes": null, - "id": 2623, + "id": 2636, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "22698:4:1", + "referencedDeclaration": 479, + "src": "22841:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2624, + "id": 2637, "isConstant": false, "isLValue": false, "isPure": false, @@ -63148,13 +63492,13 @@ "memberName": "getDthShop", "nodeType": "MemberAccess", "referencedDeclaration": 368, - "src": "22698:15:1", + "src": "22841:15:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2626, + "id": 2639, "isConstant": false, "isLValue": false, "isPure": false, @@ -63162,21 +63506,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22698:22:1", + "src": "22841:22:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2622, - "id": 2627, + "functionReturnParameters": 2635, + "id": 2640, "nodeType": "Return", - "src": "22691:29:1" + "src": "22834:29:1" } ] }, "documentation": null, - "id": 2629, + "id": 2642, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -63184,16 +63528,16 @@ "name": "getStakedShop", "nodeType": "FunctionDefinition", "parameters": { - "id": 2619, + "id": 2632, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2618, + "id": 2631, "name": "_shop", "nodeType": "VariableDeclaration", - "scope": 2629, - "src": "22643:13:1", + "scope": 2642, + "src": "22786:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63201,10 +63545,10 @@ "typeString": "address" }, "typeName": { - "id": 2617, + "id": 2630, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22643:7:1", + "src": "22786:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63214,20 +63558,20 @@ "visibility": "internal" } ], - "src": "22642:15:1" + "src": "22785:15:1" }, "payable": false, "returnParameters": { - "id": 2622, + "id": 2635, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2621, + "id": 2634, "name": "", "nodeType": "VariableDeclaration", - "scope": 2629, - "src": "22679:4:1", + "scope": 2642, + "src": "22822:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63235,10 +63579,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2620, + "id": 2633, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22679:4:1", + "src": "22822:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -63248,19 +63592,19 @@ "visibility": "internal" } ], - "src": "22678:6:1" + "src": "22821:6:1" }, - "scope": 2659, - "src": "22620:105:1", + "scope": 2672, + "src": "22763:105:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2641, + "id": 2654, "nodeType": "Block", - "src": "22855:44:1", + "src": "22998:44:1", "statements": [ { "expression": { @@ -63268,12 +63612,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2638, + "id": 2651, "name": "_teller", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "22886:7:1", + "referencedDeclaration": 2644, + "src": "23029:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63289,18 +63633,18 @@ ], "expression": { "argumentTypes": null, - "id": 2636, + "id": 2649, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "22868:4:1", + "referencedDeclaration": 479, + "src": "23011:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2637, + "id": 2650, "isConstant": false, "isLValue": false, "isPure": false, @@ -63308,13 +63652,13 @@ "memberName": "getDthTeller", "nodeType": "MemberAccess", "referencedDeclaration": 361, - "src": "22868:17:1", + "src": "23011:17:1", "typeDescriptions": { "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view external returns (uint256)" } }, - "id": 2639, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": false, @@ -63322,21 +63666,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22868:26:1", + "src": "23011:26:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2635, - "id": 2640, + "functionReturnParameters": 2648, + "id": 2653, "nodeType": "Return", - "src": "22861:33:1" + "src": "23004:33:1" } ] }, "documentation": null, - "id": 2642, + "id": 2655, "implemented": true, "isConstructor": false, "isDeclaredConst": true, @@ -63344,16 +63688,16 @@ "name": "getStakedTeller", "nodeType": "FunctionDefinition", "parameters": { - "id": 2632, + "id": 2645, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2631, + "id": 2644, "name": "_teller", "nodeType": "VariableDeclaration", - "scope": 2642, - "src": "22811:15:1", + "scope": 2655, + "src": "22954:15:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63361,10 +63705,10 @@ "typeString": "address" }, "typeName": { - "id": 2630, + "id": 2643, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22811:7:1", + "src": "22954:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63374,20 +63718,20 @@ "visibility": "internal" } ], - "src": "22810:17:1" + "src": "22953:17:1" }, "payable": false, "returnParameters": { - "id": 2635, + "id": 2648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2647, "name": "", "nodeType": "VariableDeclaration", - "scope": 2642, - "src": "22849:4:1", + "scope": 2655, + "src": "22992:4:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63395,10 +63739,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2633, + "id": 2646, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "22849:4:1", + "src": "22992:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -63408,19 +63752,19 @@ "visibility": "internal" } ], - "src": "22848:6:1" + "src": "22991:6:1" }, - "scope": 2659, - "src": "22786:113:1", + "scope": 2672, + "src": "22929:113:1", "stateMutability": "view", "superFunction": null, "visibility": "public" }, { "body": { - "id": 2657, + "id": 2670, "nodeType": "Block", - "src": "23025:48:1", + "src": "23168:48:1", "statements": [ { "expression": { @@ -63428,12 +63772,12 @@ "arguments": [ { "argumentTypes": null, - "id": 2654, + "id": 2667, "name": "_newbankowner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2644, - "src": "23054:13:1", + "referencedDeclaration": 2657, + "src": "23197:13:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63449,18 +63793,18 @@ ], "expression": { "argumentTypes": null, - "id": 2651, + "id": 2664, "name": "bank", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 473, - "src": "23031:4:1", + "referencedDeclaration": 479, + "src": "23174:4:1", "typeDescriptions": { "typeIdentifier": "t_contract$_DetherBank_$388", "typeString": "contract DetherBank" } }, - "id": 2653, + "id": 2666, "isConstant": false, "isLValue": false, "isPure": false, @@ -63468,13 +63812,13 @@ "memberName": "transferOwnership", "nodeType": "MemberAccess", "referencedDeclaration": 387, - "src": "23031:22:1", + "src": "23174:22:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$returns$__$", "typeString": "function (address) external" } }, - "id": 2655, + "id": 2668, "isConstant": false, "isLValue": false, "isPure": false, @@ -63482,76 +63826,76 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23031:37:1", + "src": "23174:37:1", "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2656, + "id": 2669, "nodeType": "ExpressionStatement", - "src": "23031:37:1" + "src": "23174:37:1" } ] }, "documentation": null, - "id": 2658, + "id": 2671, "implemented": true, "isConstructor": false, "isDeclaredConst": false, "modifiers": [ { "arguments": null, - "id": 2647, + "id": 2660, "modifierName": { "argumentTypes": null, - "id": 2646, + "id": 2659, "name": "onlyCEO", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 35, - "src": "23006:7:1", + "src": "23149:7:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "23006:7:1" + "src": "23149:7:1" }, { "arguments": null, - "id": 2649, + "id": 2662, "modifierName": { "argumentTypes": null, - "id": 2648, + "id": 2661, "name": "whenPaused", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 261, - "src": "23014:10:1", + "src": "23157:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "23014:10:1" + "src": "23157:10:1" } ], "name": "transferBankOwnership", "nodeType": "FunctionDefinition", "parameters": { - "id": 2645, + "id": 2658, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2644, + "id": 2657, "name": "_newbankowner", "nodeType": "VariableDeclaration", - "scope": 2658, - "src": "22974:21:1", + "scope": 2671, + "src": "23117:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -63559,10 +63903,10 @@ "typeString": "address" }, "typeName": { - "id": 2643, + "id": 2656, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22974:7:1", + "src": "23117:7:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -63572,27 +63916,27 @@ "visibility": "internal" } ], - "src": "22973:23:1" + "src": "23116:23:1" }, "payable": false, "returnParameters": { - "id": 2650, + "id": 2663, "nodeType": "ParameterList", "parameters": [], - "src": "23025:0:1" + "src": "23168:0:1" }, - "scope": 2659, - "src": "22943:130:1", + "scope": 2672, + "src": "23086:130:1", "stateMutability": "nonpayable", "superFunction": null, "visibility": "external" } ], - "scope": 2660, - "src": "1272:21803:1" + "scope": 2673, + "src": "1272:21946:1" } ], - "src": "0:23076:1" + "src": "0:23219:1" }, "compiler": { "name": "solc", @@ -63612,5 +63956,5 @@ } }, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T16:32:21.644Z" + "updatedAt": "2018-08-07T13:18:48.762Z" } \ No newline at end of file diff --git a/build/contracts/FakeExchangeRateOracle.json b/build/contracts/FakeExchangeRateOracle.json index e337810..493c54d 100644 --- a/build/contracts/FakeExchangeRateOracle.json +++ b/build/contracts/FakeExchangeRateOracle.json @@ -2975,5 +2975,5 @@ } }, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T16:32:21.572Z" + "updatedAt": "2018-08-07T13:18:48.743Z" } \ No newline at end of file diff --git a/build/contracts/KycCertifier.json b/build/contracts/KycCertifier.json index 99170d5..cdb41b3 100644 --- a/build/contracts/KycCertifier.json +++ b/build/contracts/KycCertifier.json @@ -5780,7 +5780,7 @@ "1": { "events": {}, "links": {}, - "address": "0xa1faf2488dc9c1d4f53b305095e30d9449a9c0ec" + "address": "0x2f22308a82f9f2037e32436465d450af1c69373c" }, "3": { "events": {}, @@ -5800,5 +5800,5 @@ } }, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T16:32:21.569Z" -} \ No newline at end of file + "updatedAt": "2018-08-07T13:18:48.693Z" +} diff --git a/build/contracts/Migrations.json b/build/contracts/Migrations.json index 3dce0ba..b5c325b 100644 --- a/build/contracts/Migrations.json +++ b/build/contracts/Migrations.json @@ -1378,8 +1378,8 @@ "1": { "events": {}, "links": {}, - "address": "0x8aea9b4f6659c51a6a867b819afb3c85d7674b6c", - "transactionHash": "0xfbfb97de9d1a2cc69987e17ff1f5968a73ae4cd649006e75eea323519a86ded3" + "address": "0x4f516f85343254c36496b5af260cdcc21baa595b", + "transactionHash": "0x6eea92c02b50dac3a875545e7ee045e8ce7c57092b98e4c04d045dce4d9332e6" }, "3": { "events": {}, @@ -1430,5 +1430,5 @@ } }, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T16:32:21.573Z" + "updatedAt": "2018-08-07T13:18:48.702Z" } \ No newline at end of file diff --git a/build/contracts/Ownable.json b/build/contracts/Ownable.json index 3e5cf27..ed752f4 100644 --- a/build/contracts/Ownable.json +++ b/build/contracts/Ownable.json @@ -1455,5 +1455,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:06:59.300Z" + "updatedAt": "2018-08-07T13:06:25.498Z" } \ No newline at end of file diff --git a/build/contracts/SafeMath.json b/build/contracts/SafeMath.json index 76a2c8b..a24a83c 100644 --- a/build/contracts/SafeMath.json +++ b/build/contracts/SafeMath.json @@ -2471,5 +2471,5 @@ }, "networks": {}, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T15:06:59.301Z" + "updatedAt": "2018-08-07T13:06:25.482Z" } \ No newline at end of file diff --git a/build/contracts/SmsCertifier.json b/build/contracts/SmsCertifier.json index cc079ce..0a84bcd 100644 --- a/build/contracts/SmsCertifier.json +++ b/build/contracts/SmsCertifier.json @@ -5780,7 +5780,7 @@ "1": { "events": {}, "links": {}, - "address": "0x7220e734c524e8938a1553ae18e3c68aec8bf955" + "address": "0x9e282120e0820787085fd9914c6f36cc73631476" }, "3": { "events": {}, @@ -5800,5 +5800,5 @@ } }, "schemaVersion": "2.0.0", - "updatedAt": "2018-06-27T16:32:21.565Z" -} \ No newline at end of file + "updatedAt": "2018-08-07T13:18:48.689Z" +} diff --git a/build/package.json b/build/package.json index 9768d0e..6e78deb 100644 --- a/build/package.json +++ b/build/package.json @@ -1,6 +1,6 @@ { "name": "dethercontract", "description": "Dether contract", - "version": "3.5.2", + "version": "3.6.0", "author": "dether.io" } diff --git a/contracts/DetherCore.sol b/contracts/DetherCore.sol index 75490e6..b2dc7b4 100644 --- a/contracts/DetherCore.sol +++ b/contracts/DetherCore.sol @@ -1,4 +1,4 @@ -pragma solidity ^0.4.21; +pragma solidity ^0.4.23; import './DetherSetup.sol'; import './dth/tokenfoundry/ERC223ReceivingContract.sol'; @@ -36,6 +36,8 @@ contract DetherCore is DetherSetup, ERC223ReceivingContract, SafeMath { */ // when a Teller is registered event RegisterTeller(address indexed tellerAddress); + // when a teller add funds for trade + event AddFunds(address indexed tellerAddress, uint amount); // when a teller is deleted event DeleteTeller(address indexed tellerAddress); // when teller update @@ -382,6 +384,7 @@ contract DetherCore is DetherSetup, ERC223ReceivingContract, SafeMath { function addFunds() external payable { require(isTeller(msg.sender)); require(bank.addEthTeller.value(msg.value)(msg.sender, msg.value)); + emit AddFunds(msg.sender, msg.value); } // gas used 67841 diff --git a/migrations/2_deploy_contracts.js b/migrations/2_deploy_contracts.js index d511a98..6a90884 100644 --- a/migrations/2_deploy_contracts.js +++ b/migrations/2_deploy_contracts.js @@ -20,52 +20,52 @@ const CONTRACT_ADDRESSES = { module.exports = async (deployer, network) => { // await delay(60000); // gas 1,161,360 - // await deployer.deploy(DetherToken, { gas: 4700000, gasPrice: 27000000000 }); + // await deployer.deploy(DetherToken, { gas: 6000000, gasPrice: 27000000000 }); - // // gas: 4,873,314 - // await deployer.deploy(DetherCore, { gas: 7000000}); - // console.log('delay'); - - // // gas 1,477,280 - // await deployer.deploy(DetherBank, { gas: 7000000}); - // console.log('delay'); - // // await delay(60000); + // gas: 4,873,314 + await deployer.deploy(DetherCore, { gas: 6500000}); + console.log('delay'); + await delay(60000); + // gas 1,477,280 + await deployer.deploy(DetherBank, { gas: 6500000}); + console.log('delay'); + await delay(60000); - // // gas 552,780 - // await deployer.deploy(SmsCertifier, { gas: 7000000}); - // console.log('delay'); - // await delay(60000); - // // // gas 552,780 - await deployer.deploy(KycCertifier, { gas: 7000000 }); + // gas 552,780 + await deployer.deploy(SmsCertifier, { gas: 6500000}); console.log('delay'); + await delay(60000); + // // // gas 552,780 + await deployer.deploy(KycCertifier, { gas: 6500000 }); + // console.log('delay'); // await delay(60000); - // switch (network) { - // case 'develop': - // // use a fake instance to test locally using truffle develop - // case 'rinkeby': - // // use a fake instance to test locally using truffle develop - // case 'development': - // // use a fake instance to test locally using ganache - // // fall through - // case 'ropsten': - // // Maker doesn't test on ropsten so we use a fake instance - // await deployer.deploy(FakeExchangeRateOracle, { gas: 7000000 }); - // break; - // - // case 'kovan': - // // fall through - // - // case 'mainnet': - // // await deployer.deploy( - // // ExchangeRateOracle, - // // // pass int he address of the Maker price feed contract on the blockchain - // // CONTRACT_ADDRESSES[network].mkrPriceFeed, - // // { gas: 7000000}, - // // ); - // // break; - // - // default: - // throw new Error(`did not specify how to deploy ExchangeRateOracle on this network (${network})`); - // } + switch (network) { + case 'develop': + // use a fake instance to test locally using truffle develop + case 'rinkeby': + // use a fake instance to test locally using truffle develop + case 'development': + // use a fake instance to test locally using ganache + // fall through + case 'ropsten': + // Maker doesn't test on ropsten so we use a fake instance + await deployer.deploy(FakeExchangeRateOracle, { gas: 6000000 }); + break; + + case 'kovan': + // fall through + + case 'mainnet': + await deployer.deploy( + ExchangeRateOracle, + // pass int he address of the Maker price feed contract on the blockchain + CONTRACT_ADDRESSES[network].mkrPriceFeed, + { gas: 7000000}, + ); + break; + + default: + throw new Error(`did not specify how to deploy ExchangeRateOracle on this network (${network})`); + } }; diff --git a/package-lock.json b/package-lock.json index 256605a..3f96207 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,12 +4,6 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@sindresorhus/is": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.7.0.tgz", - "integrity": "sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow==", - "dev": true - }, "abi-decoder": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/abi-decoder/-/abi-decoder-1.1.0.tgz", @@ -146,14 +140,12 @@ "ansi-styles": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" }, - "any-observable": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/any-observable/-/any-observable-0.2.0.tgz", - "integrity": "sha1-xnhwBYADV5AJCD9UrAq6+1wz0kI=", - "dev": true + "any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8=" }, "anymatch": { "version": "2.0.0", @@ -192,12 +184,6 @@ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", "dev": true }, - "array-differ": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", - "integrity": "sha1-7/UuN1gknTO+QCuLuOVkuytdQDE=", - "dev": true - }, "array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", @@ -239,7 +225,6 @@ "version": "4.10.1", "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", - "dev": true, "requires": { "bn.js": "4.11.8", "inherits": "2.0.3", @@ -272,12 +257,6 @@ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", "dev": true }, - "ast-types": { - "version": "0.11.3", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.11.3.tgz", - "integrity": "sha512-XA5o5dsNw8MhyW0Q7MWXJWc4oOzZKbdsEJq45h7c8q/d9DwWZ5F2ugUc1PuMLPGsUnphCt/cNDHu8JeBbxf1qA==", - "dev": true - }, "async": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", @@ -330,7 +309,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", - "dev": true, "requires": { "chalk": "1.1.3", "esutils": "2.0.2", @@ -341,7 +319,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz", "integrity": "sha1-rzL3izGm/O8RnIew/Y2XU/A6C7g=", - "dev": true, "requires": { "babel-code-frame": "6.26.0", "babel-generator": "6.26.1", @@ -368,7 +345,6 @@ "version": "6.26.1", "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", - "dev": true, "requires": { "babel-messages": "6.23.0", "babel-runtime": "6.26.0", @@ -380,22 +356,10 @@ "trim-right": "1.0.1" } }, - "babel-helper-bindify-decorators": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz", - "integrity": "sha1-FMGeXxQte0fxmlJDHlKxzLxAozA=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } - }, "babel-helper-builder-binary-assignment-operator-visitor": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", - "dev": true, "requires": { "babel-helper-explode-assignable-expression": "6.24.1", "babel-runtime": "6.26.0", @@ -406,7 +370,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", - "dev": true, "requires": { "babel-helper-hoist-variables": "6.24.1", "babel-runtime": "6.26.0", @@ -418,7 +381,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", - "dev": true, "requires": { "babel-helper-function-name": "6.24.1", "babel-runtime": "6.26.0", @@ -430,20 +392,7 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", - "dev": true, - "requires": { - "babel-runtime": "6.26.0", - "babel-traverse": "6.26.0", - "babel-types": "6.26.0" - } - }, - "babel-helper-explode-class": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz", - "integrity": "sha1-fcKjkQ3uAHBW4eMdZAztPVTqqes=", - "dev": true, "requires": { - "babel-helper-bindify-decorators": "6.24.1", "babel-runtime": "6.26.0", "babel-traverse": "6.26.0", "babel-types": "6.26.0" @@ -453,7 +402,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", - "dev": true, "requires": { "babel-helper-get-function-arity": "6.24.1", "babel-runtime": "6.26.0", @@ -466,7 +414,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-types": "6.26.0" @@ -476,7 +423,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-types": "6.26.0" @@ -486,7 +432,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-types": "6.26.0" @@ -496,7 +441,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-types": "6.26.0", @@ -507,7 +451,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", - "dev": true, "requires": { "babel-helper-function-name": "6.24.1", "babel-runtime": "6.26.0", @@ -520,7 +463,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", - "dev": true, "requires": { "babel-helper-optimise-call-expression": "6.24.1", "babel-messages": "6.23.0", @@ -534,7 +476,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-template": "6.26.0" @@ -556,7 +497,6 @@ "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -571,7 +511,6 @@ "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -579,132 +518,32 @@ "babel-plugin-syntax-async-functions": { "version": "6.13.0", "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", - "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=", - "dev": true - }, - "babel-plugin-syntax-async-generators": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz", - "integrity": "sha1-a8lj67FuzLrmuStZbrfzXDQqi5o=", - "dev": true - }, - "babel-plugin-syntax-class-constructor-call": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-constructor-call/-/babel-plugin-syntax-class-constructor-call-6.18.0.tgz", - "integrity": "sha1-nLnTn+Q8hgC+yBRkVt3L1OGnZBY=", - "dev": true - }, - "babel-plugin-syntax-class-properties": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", - "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=", - "dev": true - }, - "babel-plugin-syntax-decorators": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz", - "integrity": "sha1-MSVjtNvePMgGzuPkFszurd0RrAs=", - "dev": true - }, - "babel-plugin-syntax-dynamic-import": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", - "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=", - "dev": true + "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=" }, "babel-plugin-syntax-exponentiation-operator": { "version": "6.13.0", "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", - "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=", - "dev": true - }, - "babel-plugin-syntax-export-extensions": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz", - "integrity": "sha1-cKFITw+QiaToStRLrDU8lbmxJyE=", - "dev": true - }, - "babel-plugin-syntax-flow": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz", - "integrity": "sha1-TDqyCiryaqIM0lmVw5jE63AxDI0=", - "dev": true - }, - "babel-plugin-syntax-object-rest-spread": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", - "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=", - "dev": true + "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=" }, "babel-plugin-syntax-trailing-function-commas": { "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", - "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=", - "dev": true - }, - "babel-plugin-transform-async-generator-functions": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz", - "integrity": "sha1-8FiQAUX9PpkHpt3yjaWfIVJYpds=", - "dev": true, - "requires": { - "babel-helper-remap-async-to-generator": "6.24.1", - "babel-plugin-syntax-async-generators": "6.13.0", - "babel-runtime": "6.26.0" - } + "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=" }, "babel-plugin-transform-async-to-generator": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", - "dev": true, "requires": { "babel-helper-remap-async-to-generator": "6.24.1", "babel-plugin-syntax-async-functions": "6.13.0", "babel-runtime": "6.26.0" } }, - "babel-plugin-transform-class-constructor-call": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz", - "integrity": "sha1-gNwoVQWsBn3LjWxl4vbxGrd2Xvk=", - "dev": true, - "requires": { - "babel-plugin-syntax-class-constructor-call": "6.18.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } - }, - "babel-plugin-transform-class-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz", - "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=", - "dev": true, - "requires": { - "babel-helper-function-name": "6.24.1", - "babel-plugin-syntax-class-properties": "6.13.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0" - } - }, - "babel-plugin-transform-decorators": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz", - "integrity": "sha1-eIAT2PjGtSIr33s0Q5Df13Vp4k0=", - "dev": true, - "requires": { - "babel-helper-explode-class": "6.24.1", - "babel-plugin-syntax-decorators": "6.13.0", - "babel-runtime": "6.26.0", - "babel-template": "6.26.0", - "babel-types": "6.26.0" - } - }, "babel-plugin-transform-es2015-arrow-functions": { "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -713,7 +552,6 @@ "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -722,7 +560,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-template": "6.26.0", @@ -735,7 +572,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", - "dev": true, "requires": { "babel-helper-define-map": "6.26.0", "babel-helper-function-name": "6.24.1", @@ -752,7 +588,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-template": "6.26.0" @@ -762,7 +597,6 @@ "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -771,7 +605,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-types": "6.26.0" @@ -781,7 +614,6 @@ "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -790,7 +622,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", - "dev": true, "requires": { "babel-helper-function-name": "6.24.1", "babel-runtime": "6.26.0", @@ -801,7 +632,6 @@ "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -810,7 +640,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", - "dev": true, "requires": { "babel-plugin-transform-es2015-modules-commonjs": "6.26.0", "babel-runtime": "6.26.0", @@ -821,7 +650,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz", "integrity": "sha1-DYOUApt9xqvhqX7xgeAHWN0uXYo=", - "dev": true, "requires": { "babel-plugin-transform-strict-mode": "6.24.1", "babel-runtime": "6.26.0", @@ -833,7 +661,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", - "dev": true, "requires": { "babel-helper-hoist-variables": "6.24.1", "babel-runtime": "6.26.0", @@ -844,7 +671,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", - "dev": true, "requires": { "babel-plugin-transform-es2015-modules-amd": "6.24.1", "babel-runtime": "6.26.0", @@ -855,7 +681,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", - "dev": true, "requires": { "babel-helper-replace-supers": "6.24.1", "babel-runtime": "6.26.0" @@ -865,7 +690,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", - "dev": true, "requires": { "babel-helper-call-delegate": "6.24.1", "babel-helper-get-function-arity": "6.24.1", @@ -879,7 +703,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-types": "6.26.0" @@ -889,7 +712,6 @@ "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -898,7 +720,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", - "dev": true, "requires": { "babel-helper-regex": "6.26.0", "babel-runtime": "6.26.0", @@ -909,7 +730,6 @@ "version": "6.22.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -918,7 +738,6 @@ "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", - "dev": true, "requires": { "babel-runtime": "6.26.0" } @@ -927,7 +746,6 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", - "dev": true, "requires": { "babel-helper-regex": "6.26.0", "babel-runtime": "6.26.0", @@ -938,48 +756,16 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", - "dev": true, "requires": { "babel-helper-builder-binary-assignment-operator-visitor": "6.24.1", "babel-plugin-syntax-exponentiation-operator": "6.13.0", "babel-runtime": "6.26.0" } }, - "babel-plugin-transform-export-extensions": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz", - "integrity": "sha1-U3OLR+deghhYnuqUbLvTkQm75lM=", - "dev": true, - "requires": { - "babel-plugin-syntax-export-extensions": "6.13.0", - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-flow-strip-types": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz", - "integrity": "sha1-hMtnKTXUNxT9wyvOhFaNh0Qc988=", - "dev": true, - "requires": { - "babel-plugin-syntax-flow": "6.18.0", - "babel-runtime": "6.26.0" - } - }, - "babel-plugin-transform-object-rest-spread": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", - "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=", - "dev": true, - "requires": { - "babel-plugin-syntax-object-rest-spread": "6.13.0", - "babel-runtime": "6.26.0" - } - }, "babel-plugin-transform-regenerator": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", - "dev": true, "requires": { "regenerator-transform": "0.10.1" } @@ -997,12 +783,48 @@ "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-types": "6.26.0" } }, + "babel-preset-env": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", + "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", + "requires": { + "babel-plugin-check-es2015-constants": "6.22.0", + "babel-plugin-syntax-trailing-function-commas": "6.22.0", + "babel-plugin-transform-async-to-generator": "6.24.1", + "babel-plugin-transform-es2015-arrow-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", + "babel-plugin-transform-es2015-block-scoping": "6.26.0", + "babel-plugin-transform-es2015-classes": "6.24.1", + "babel-plugin-transform-es2015-computed-properties": "6.24.1", + "babel-plugin-transform-es2015-destructuring": "6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "6.24.1", + "babel-plugin-transform-es2015-for-of": "6.23.0", + "babel-plugin-transform-es2015-function-name": "6.24.1", + "babel-plugin-transform-es2015-literals": "6.22.0", + "babel-plugin-transform-es2015-modules-amd": "6.24.1", + "babel-plugin-transform-es2015-modules-commonjs": "6.26.0", + "babel-plugin-transform-es2015-modules-systemjs": "6.24.1", + "babel-plugin-transform-es2015-modules-umd": "6.24.1", + "babel-plugin-transform-es2015-object-super": "6.24.1", + "babel-plugin-transform-es2015-parameters": "6.24.1", + "babel-plugin-transform-es2015-shorthand-properties": "6.24.1", + "babel-plugin-transform-es2015-spread": "6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "6.24.1", + "babel-plugin-transform-es2015-template-literals": "6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "6.24.1", + "babel-plugin-transform-exponentiation-operator": "6.24.1", + "babel-plugin-transform-regenerator": "6.26.0", + "browserslist": "3.2.8", + "invariant": "2.2.4", + "semver": "5.4.1" + } + }, "babel-preset-es2015": { "version": "6.24.1", "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz", @@ -1035,47 +857,10 @@ "babel-plugin-transform-regenerator": "6.26.0" } }, - "babel-preset-stage-1": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz", - "integrity": "sha1-dpLNfc1oSZB+auSgqFWJz7niv7A=", - "dev": true, - "requires": { - "babel-plugin-transform-class-constructor-call": "6.24.1", - "babel-plugin-transform-export-extensions": "6.22.0", - "babel-preset-stage-2": "6.24.1" - } - }, - "babel-preset-stage-2": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz", - "integrity": "sha1-2eKWD7PXEYfw5k7sYrwHdnIZvcE=", - "dev": true, - "requires": { - "babel-plugin-syntax-dynamic-import": "6.18.0", - "babel-plugin-transform-class-properties": "6.24.1", - "babel-plugin-transform-decorators": "6.24.1", - "babel-preset-stage-3": "6.24.1" - } - }, - "babel-preset-stage-3": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz", - "integrity": "sha1-g2raCp56f6N8sTj7kyb4eTSkg5U=", - "dev": true, - "requires": { - "babel-plugin-syntax-trailing-function-commas": "6.22.0", - "babel-plugin-transform-async-generator-functions": "6.24.1", - "babel-plugin-transform-async-to-generator": "6.24.1", - "babel-plugin-transform-exponentiation-operator": "6.24.1", - "babel-plugin-transform-object-rest-spread": "6.26.0" - } - }, "babel-register": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", - "dev": true, "requires": { "babel-core": "6.26.0", "babel-runtime": "6.26.0", @@ -1090,7 +875,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dev": true, "requires": { "core-js": "2.5.5", "regenerator-runtime": "0.11.1" @@ -1100,7 +884,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-traverse": "6.26.0", @@ -1113,7 +896,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", - "dev": true, "requires": { "babel-code-frame": "6.26.0", "babel-messages": "6.23.0", @@ -1130,7 +912,6 @@ "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", - "dev": true, "requires": { "babel-runtime": "6.26.0", "esutils": "2.0.2", @@ -1138,11 +919,27 @@ "to-fast-properties": "1.0.3" } }, + "babelify": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/babelify/-/babelify-7.3.0.tgz", + "integrity": "sha1-qlau3nBn/XvVSWZu4W3ChQh+iOU=", + "requires": { + "babel-core": "6.26.0", + "object-assign": "4.1.1" + } + }, "babylon": { "version": "6.18.0", "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "dev": true + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==" + }, + "backoff": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz", + "integrity": "sha1-9hbtqdPktmuMp/ynn2lXIsX44m8=", + "requires": { + "precond": "0.2.3" + } }, "balanced-match": { "version": "1.0.0", @@ -1218,8 +1015,7 @@ "base64-js": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.3.tgz", - "integrity": "sha512-MsAhsUW1GxCdgYSO6tAfZrNapmUKk7mWx/k5mFY/A1gBtkaCaNapTg+FExCw1r9yeaZhqx/xPg43xgTFH6KL5w==", - "dev": true + "integrity": "sha512-MsAhsUW1GxCdgYSO6tAfZrNapmUKk7mWx/k5mFY/A1gBtkaCaNapTg+FExCw1r9yeaZhqx/xPg43xgTFH6KL5w==" }, "bcrypt-pbkdf": { "version": "1.0.1", @@ -1245,12 +1041,6 @@ "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=", "dev": true }, - "binaryextensions": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/binaryextensions/-/binaryextensions-2.1.1.tgz", - "integrity": "sha512-XBaoWE9RW8pPdPQNibZsW2zh8TW6gcarXp1FZPwT8Uop8ScSNldJEWf2k9l3HeTqdrEwsOsFcq74RiJECW34yA==", - "dev": true - }, "bindings": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.0.tgz", @@ -1276,6 +1066,28 @@ "safe-buffer": "5.1.1" } }, + "bl": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz", + "integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==", + "requires": { + "readable-stream": "2.3.5", + "safe-buffer": "5.1.1" + } + }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "requires": { + "inherits": "2.0.3" + } + }, + "bluebird": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", + "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" + }, "bn.js": { "version": "4.11.8", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", @@ -1372,7 +1184,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", - "dev": true, "requires": { "browserify-aes": "1.1.1", "browserify-des": "1.0.1", @@ -1383,7 +1194,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.1.tgz", "integrity": "sha512-zy0Cobe3hhgpiOM32Tj7KQ3Vl91m0njwsjzZQK1L+JDf11dzP9qIvjreVinsvXrgfjhStXwUWAEpB9D7Gwmayw==", - "dev": true, "requires": { "cipher-base": "1.0.4", "des.js": "1.0.0", @@ -1394,7 +1204,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", - "dev": true, "requires": { "bn.js": "4.11.8", "randombytes": "2.0.6" @@ -1412,7 +1221,6 @@ "version": "4.0.4", "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", - "dev": true, "requires": { "bn.js": "4.11.8", "browserify-rsa": "4.0.1", @@ -1432,6 +1240,15 @@ "pako": "1.0.6" } }, + "browserslist": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", + "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", + "requires": { + "caniuse-lite": "1.0.30000865", + "electron-to-chromium": "1.3.52" + } + }, "bs58": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/bs58/-/bs58-3.1.0.tgz", @@ -1468,11 +1285,34 @@ } } }, + "buffer-alloc": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz", + "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==", + "requires": { + "buffer-alloc-unsafe": "1.1.0", + "buffer-fill": "1.0.0" + } + }, + "buffer-alloc-unsafe": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz", + "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==" + }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=" + }, + "buffer-fill": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz", + "integrity": "sha1-+PeLdniYiO858gXNY39o5wISKyw=" + }, "buffer-from": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.0.0.tgz", - "integrity": "sha512-83apNb8KK0Se60UE1+4Ukbe3HbfELJ6UlI4ldtOGs7So4KD26orJM8hIY9lxdzP+UpItH1Yh/Y8GUvNFWFFRxA==", - "dev": true + "integrity": "sha512-83apNb8KK0Se60UE1+4Ukbe3HbfELJ6UlI4ldtOGs7So4KD26orJM8hIY9lxdzP+UpItH1Yh/Y8GUvNFWFFRxA==" }, "buffer-to-arraybuffer": { "version": "0.0.5", @@ -1517,29 +1357,6 @@ "unset-value": "1.0.0" } }, - "cacheable-request": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-2.1.4.tgz", - "integrity": "sha1-DYCIAbY0KtM8kd+dC0TcCbkeXD0=", - "dev": true, - "requires": { - "clone-response": "1.0.2", - "get-stream": "3.0.0", - "http-cache-semantics": "3.8.1", - "keyv": "3.0.0", - "lowercase-keys": "1.0.0", - "normalize-url": "2.0.1", - "responselike": "1.0.2" - }, - "dependencies": { - "lowercase-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz", - "integrity": "sha1-TjNms55/VFfjXxMkvfb4jQv8cwY=", - "dev": true - } - } - }, "caller-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", @@ -1560,6 +1377,11 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=" }, + "caniuse-lite": { + "version": "1.0.30000865", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000865.tgz", + "integrity": "sha512-vs79o1mOSKRGv/1pSkp4EXgl4ZviWeYReXw60XfacPU64uQWZwJT6vZNmxRF9O+6zu71sJwMxLK5JXxbzuVrLw==" + }, "caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", @@ -1590,7 +1412,6 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "dev": true, "requires": { "ansi-styles": "2.2.1", "escape-string-regexp": "1.0.5", @@ -1602,8 +1423,7 @@ "supports-color": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "dev": true + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" } } }, @@ -1688,29 +1508,6 @@ "restore-cursor": "2.0.0" } }, - "cli-spinners": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-0.1.2.tgz", - "integrity": "sha1-u3ZNiOGF+54eaiofGXcjGPYF4xw=", - "dev": true - }, - "cli-table": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz", - "integrity": "sha1-9TsFJmqLGguTSz0IIebi3FkUriM=", - "dev": true, - "requires": { - "colors": "1.0.3" - }, - "dependencies": { - "colors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", - "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=", - "dev": true - } - } - }, "cli-table2": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/cli-table2/-/cli-table2-0.2.0.tgz", @@ -1730,24 +1527,6 @@ } } }, - "cli-truncate": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", - "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=", - "dev": true, - "requires": { - "slice-ansi": "0.0.4", - "string-width": "1.0.2" - }, - "dependencies": { - "slice-ansi": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", - "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", - "dev": true - } - } - }, "cli-width": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", @@ -1769,38 +1548,6 @@ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" }, - "clone-buffer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz", - "integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg=", - "dev": true - }, - "clone-response": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz", - "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=", - "dev": true, - "requires": { - "mimic-response": "1.0.0" - } - }, - "clone-stats": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz", - "integrity": "sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=", - "dev": true - }, - "cloneable-readable": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/cloneable-readable/-/cloneable-readable-1.1.2.tgz", - "integrity": "sha512-Bq6+4t+lbM8vhTs/Bef5c5AdEMtapp/iFb6+s4/Hh9MVTt8OLKH7ZOOZSCT+Ys7hsHvqv0GuMPJ1lnQJVHvxpg==", - "dev": true, - "requires": { - "inherits": "2.0.3", - "process-nextick-args": "2.0.0", - "readable-stream": "2.3.5" - } - }, "co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -1870,7 +1617,6 @@ "version": "2.9.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=", - "dev": true, "requires": { "graceful-readlink": "1.0.1" } @@ -1896,7 +1642,6 @@ "version": "1.6.2", "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "dev": true, "requires": { "buffer-from": "1.0.0", "inherits": "2.0.3", @@ -1938,8 +1683,7 @@ "convert-source-map": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", - "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", - "dev": true + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=" }, "cookie": { "version": "0.3.1", @@ -1960,8 +1704,7 @@ "core-js": { "version": "2.5.5", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.5.tgz", - "integrity": "sha1-sU3ek2xkDAV5prUMq8wTLdYSfjs=", - "dev": true + "integrity": "sha1-sU3ek2xkDAV5prUMq8wTLdYSfjs=" }, "core-util-is": { "version": "1.0.2", @@ -1981,7 +1724,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.1.tgz", "integrity": "sha512-iZvCCg8XqHQZ1ioNBTzXS/cQSkqkqcPs8xSX4upNB+DAk9Ht3uzQf2J32uAHNCne8LDmKr29AgZrEs4oIrwLuQ==", - "dev": true, "requires": { "bn.js": "4.11.8", "elliptic": "6.4.0" @@ -2011,6 +1753,27 @@ "sha.js": "2.4.11" } }, + "cross-fetch": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-2.2.2.tgz", + "integrity": "sha1-pH/09/xxLauo9qaVoRyUhEDUVyM=", + "requires": { + "node-fetch": "2.1.2", + "whatwg-fetch": "2.0.4" + }, + "dependencies": { + "node-fetch": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz", + "integrity": "sha1-q4hOjn5X44qUR1POxwb3iNF2i7U=" + }, + "whatwg-fetch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz", + "integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng==" + } + } + }, "cross-spawn": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", @@ -2044,7 +1807,6 @@ "version": "3.12.0", "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", - "dev": true, "requires": { "browserify-cipher": "1.0.1", "browserify-sign": "4.0.4", @@ -2064,12 +1826,6 @@ "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.1.8.tgz", "integrity": "sha1-cV8HC/YBTyrpkqmLOSkli3E/CNU=" }, - "dargs": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-5.1.0.tgz", - "integrity": "sha1-7H6lDHhWTNNsnV7Bj2Yyn63ieCk=", - "dev": true - }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", @@ -2078,24 +1834,12 @@ "assert-plus": "1.0.0" } }, - "date-fns": { - "version": "1.29.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.29.0.tgz", - "integrity": "sha512-lbTXWZ6M20cWH8N9S6afb0SBm6tMk+uUg6z3MqHPKE9atmsY3kJkTm8vKe93izJ2B2+q5MV990sM2CHgtAZaOw==", - "dev": true - }, "date-now": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=", "dev": true }, - "dateformat": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", - "dev": true - }, "debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", @@ -2114,6 +1858,21 @@ "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" }, + "decompress": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/decompress/-/decompress-4.2.0.tgz", + "integrity": "sha1-eu3YVCflqS2s/lVnSnxQXpbQH50=", + "requires": { + "decompress-tar": "4.1.1", + "decompress-tarbz2": "4.1.1", + "decompress-targz": "4.1.1", + "decompress-unzip": "4.0.1", + "graceful-fs": "4.1.11", + "make-dir": "1.3.0", + "pify": "2.3.0", + "strip-dirs": "2.1.0" + } + }, "decompress-response": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", @@ -2122,6 +1881,72 @@ "mimic-response": "1.0.0" } }, + "decompress-tar": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz", + "integrity": "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==", + "requires": { + "file-type": "5.2.0", + "is-stream": "1.1.0", + "tar-stream": "1.6.1" + } + }, + "decompress-tarbz2": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz", + "integrity": "sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A==", + "requires": { + "decompress-tar": "4.1.1", + "file-type": "6.2.0", + "is-stream": "1.1.0", + "seek-bzip": "1.0.5", + "unbzip2-stream": "1.2.5" + }, + "dependencies": { + "file-type": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-6.2.0.tgz", + "integrity": "sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg==" + } + } + }, + "decompress-targz": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz", + "integrity": "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==", + "requires": { + "decompress-tar": "4.1.1", + "file-type": "5.2.0", + "is-stream": "1.1.0" + } + }, + "decompress-unzip": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-4.0.1.tgz", + "integrity": "sha1-3qrM39FK6vhVePczroIQ+bSEj2k=", + "requires": { + "file-type": "3.9.0", + "get-stream": "2.3.1", + "pify": "2.3.0", + "yauzl": "2.10.0" + }, + "dependencies": { + "file-type": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz", + "integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=" + }, + "get-stream": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz", + "integrity": "sha1-Xzj5PzRgCWZu4BUKBUFn+Rvdld4=", + "requires": { + "object-assign": "4.1.1", + "pinkie-promise": "2.0.1" + } + } + } + }, "deep-eql": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-0.1.3.tgz", @@ -2144,12 +1969,6 @@ "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=" }, - "deep-extend": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz", - "integrity": "sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=", - "dev": true - }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", @@ -2261,7 +2080,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz", "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=", - "dev": true, "requires": { "inherits": "2.0.3", "minimalistic-assert": "1.0.0" @@ -2272,32 +2090,18 @@ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" }, - "detect-conflict": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/detect-conflict/-/detect-conflict-1.0.1.tgz", - "integrity": "sha1-CIZXpmqWHAUBnbfEIwiDsca0F24=", - "dev": true - }, "detect-indent": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", - "dev": true, "requires": { "repeating": "2.0.1" } }, - "diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", - "dev": true - }, "diffie-hellman": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", - "dev": true, "requires": { "bn.js": "4.11.8", "miller-rabin": "4.0.1", @@ -2385,8 +2189,7 @@ "duplexer3": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", - "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", - "dev": true + "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" }, "ecc-jsbn": { "version": "0.1.1", @@ -2397,28 +2200,15 @@ "jsbn": "0.1.1" } }, - "editions": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/editions/-/editions-1.3.4.tgz", - "integrity": "sha512-gzao+mxnYDzIysXKMQi/+M1mjy/rjestjg6OPoYTtI+3Izp23oiGZitsl9lPDPiTGXbcSIk1iJWhliSaglxnUg==", - "dev": true - }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, - "ejs": { - "version": "2.5.8", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.5.8.tgz", - "integrity": "sha512-QIDZL54fyV8MDcAsO91BMH1ft2qGGaHIJsJIA/+t+7uvXol1dm413fPcUgUb4k8F/9457rx4/KFE4XfDifrQxQ==", - "dev": true - }, - "elegant-spinner": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz", - "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=", - "dev": true + "electron-to-chromium": { + "version": "1.3.52", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.52.tgz", + "integrity": "sha1-0tnxJwuko7lnuDHEDvcftNmrXOA=" }, "elliptic": { "version": "6.4.0", @@ -2453,6 +2243,14 @@ "iconv-lite": "0.4.19" } }, + "end-of-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", + "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", + "requires": { + "once": "1.4.0" + } + }, "enhanced-resolve": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz", @@ -2471,12 +2269,6 @@ "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=", "dev": true }, - "envinfo": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-4.4.2.tgz", - "integrity": "sha512-5rfRs+m+6pwoKRCFqpsA5+qsLngFms1aWPrxfKbrObCzQaPc3M3yPloZx+BL9UE3dK58cxw36XVQbFRSCCfGSQ==", - "dev": true - }, "errno": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", @@ -2485,16 +2277,6 @@ "prr": "1.0.1" } }, - "error": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/error/-/error-7.0.2.tgz", - "integrity": "sha1-pfdf/02ZJhJt2sDqXcOOaJFTywI=", - "dev": true, - "requires": { - "string-template": "0.2.1", - "xtend": "4.0.1" - } - }, "error-ex": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", @@ -2533,8 +2315,7 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "eslint": { "version": "4.19.1", @@ -2855,14 +2636,43 @@ "esutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=" }, "etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" }, + "eth-block-tracker": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz", + "integrity": "sha512-WUVxWLuhMmsfenfZvFO5sbl1qFY2IqUlw/FPVmjjdElpqLsZtSG+wPe9Dz7W/sB6e80HgFKknOmKk2eNlznHug==", + "requires": { + "eth-query": "2.1.2", + "ethereumjs-tx": "1.3.4", + "ethereumjs-util": "5.2.0", + "ethjs-util": "0.1.4", + "json-rpc-engine": "3.7.3", + "pify": "2.3.0", + "tape": "4.9.0" + }, + "dependencies": { + "ethereumjs-util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", + "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", + "requires": { + "bn.js": "4.11.8", + "create-hash": "1.1.3", + "ethjs-util": "0.1.4", + "keccak": "1.4.0", + "rlp": "2.0.0", + "safe-buffer": "5.1.1", + "secp256k1": "3.5.0" + } + } + } + }, "eth-gas-reporter": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/eth-gas-reporter/-/eth-gas-reporter-0.1.1.tgz", @@ -2879,6 +2689,54 @@ "shelljs": "0.7.8" } }, + "eth-json-rpc-infura": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/eth-json-rpc-infura/-/eth-json-rpc-infura-3.1.2.tgz", + "integrity": "sha512-IuK5Iowfs6taluA/3Okmu6EfZcFMq6MQuyrUL1PrCoJstuuBr3TvVeSy3keDyxfbrjFB34nCo538I8G+qMtsbw==", + "requires": { + "cross-fetch": "2.2.2", + "eth-json-rpc-middleware": "1.6.0", + "json-rpc-engine": "3.7.3", + "json-rpc-error": "2.0.0", + "tape": "4.9.0" + } + }, + "eth-json-rpc-middleware": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz", + "integrity": "sha512-tDVCTlrUvdqHKqivYMjtFZsdD7TtpNLBCfKAcOpaVs7orBMS/A8HWro6dIzNtTZIR05FAbJ3bioFOnZpuCew9Q==", + "requires": { + "async": "2.6.0", + "eth-query": "2.1.2", + "eth-tx-summary": "3.2.3", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.4", + "ethereumjs-util": "5.2.0", + "ethereumjs-vm": "2.3.3", + "fetch-ponyfill": "4.1.0", + "json-rpc-engine": "3.7.3", + "json-rpc-error": "2.0.0", + "json-stable-stringify": "1.0.1", + "promise-to-callback": "1.0.0", + "tape": "4.9.0" + }, + "dependencies": { + "ethereumjs-util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", + "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", + "requires": { + "bn.js": "4.11.8", + "create-hash": "1.1.3", + "ethjs-util": "0.1.4", + "keccak": "1.4.0", + "rlp": "2.0.0", + "safe-buffer": "5.1.1", + "secp256k1": "3.5.0" + } + } + } + }, "eth-lib": { "version": "0.1.27", "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.27.tgz", @@ -2893,6 +2751,150 @@ "xhr-request-promise": "0.1.2" } }, + "eth-query": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/eth-query/-/eth-query-2.1.2.tgz", + "integrity": "sha1-1nQdkAAQa1FRDHLbktY2VFam2l4=", + "requires": { + "json-rpc-random-id": "1.0.1", + "xtend": "4.0.1" + } + }, + "eth-sig-util": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-1.4.2.tgz", + "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=", + "requires": { + "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", + "ethereumjs-util": "5.2.0" + }, + "dependencies": { + "ethereumjs-abi": { + "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", + "requires": { + "bn.js": "4.11.8", + "ethereumjs-util": "5.2.0" + } + }, + "ethereumjs-util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", + "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", + "requires": { + "bn.js": "4.11.8", + "create-hash": "1.1.3", + "ethjs-util": "0.1.4", + "keccak": "1.4.0", + "rlp": "2.0.0", + "safe-buffer": "5.1.1", + "secp256k1": "3.5.0" + } + } + } + }, + "eth-tx-summary": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/eth-tx-summary/-/eth-tx-summary-3.2.3.tgz", + "integrity": "sha512-1gZpA5fKarJOVSb5OUlPnhDQuIazqAkI61zlVvf5LdG47nEgw+/qhyZnuj3CUdE/TLTKuRzPLeyXLjaB4qWTRQ==", + "requires": { + "async": "2.6.0", + "bn.js": "4.11.8", + "clone": "2.1.2", + "concat-stream": "1.6.2", + "end-of-stream": "1.4.1", + "eth-query": "2.1.2", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.4", + "ethereumjs-util": "5.2.0", + "ethereumjs-vm": "2.3.4", + "through2": "2.0.3", + "treeify": "1.1.0", + "web3-provider-engine": "13.8.0" + }, + "dependencies": { + "eth-block-tracker": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/eth-block-tracker/-/eth-block-tracker-2.3.1.tgz", + "integrity": "sha512-NamWuMBIl8kmkJFVj8WzGatySTzQPQag4Xr677yFxdVtIxACFbL/dQowk0MzEqIKk93U1TwY3MjVU6mOcwZnKA==", + "requires": { + "async-eventemitter": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", + "eth-query": "2.1.2", + "ethereumjs-tx": "1.3.4", + "ethereumjs-util": "5.2.0", + "ethjs-util": "0.1.4", + "json-rpc-engine": "3.7.3", + "pify": "2.3.0", + "tape": "4.9.0" + }, + "dependencies": { + "async-eventemitter": { + "version": "github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c", + "requires": { + "async": "2.6.0" + } + } + } + }, + "ethereumjs-util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", + "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", + "requires": { + "bn.js": "4.11.8", + "create-hash": "1.1.3", + "ethjs-util": "0.1.4", + "keccak": "1.4.0", + "rlp": "2.0.0", + "safe-buffer": "5.1.1", + "secp256k1": "3.5.0" + } + }, + "ethereumjs-vm": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.3.4.tgz", + "integrity": "sha512-Y4SlzNDqxrCO58jhp98HdnZVdjOqB+HC0hoU+N/DEp1aU+hFkRX/nru5F7/HkQRPIlA6aJlQp/xIA6xZs1kspw==", + "requires": { + "async": "2.6.0", + "async-eventemitter": "0.2.4", + "ethereum-common": "0.2.0", + "ethereumjs-account": "2.0.4", + "ethereumjs-block": "1.7.1", + "ethereumjs-util": "5.2.0", + "fake-merkle-patricia-tree": "1.0.1", + "functional-red-black-tree": "1.0.1", + "merkle-patricia-tree": "2.3.1", + "rustbn.js": "0.1.2", + "safe-buffer": "5.1.1" + } + }, + "web3-provider-engine": { + "version": "13.8.0", + "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-13.8.0.tgz", + "integrity": "sha512-fZXhX5VWwWpoFfrfocslyg6P7cN3YWPG/ASaevNfeO80R+nzgoPUBXcWQekSGSsNDkeRTis4aMmpmofYf1TNtQ==", + "requires": { + "async": "2.6.0", + "clone": "2.1.2", + "eth-block-tracker": "2.3.1", + "eth-sig-util": "1.4.2", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.4", + "ethereumjs-util": "5.2.0", + "ethereumjs-vm": "2.3.4", + "fetch-ponyfill": "4.1.0", + "json-rpc-error": "2.0.0", + "json-stable-stringify": "1.0.1", + "promise-to-callback": "1.0.0", + "readable-stream": "2.3.5", + "request": "2.85.0", + "semaphore": "1.1.0", + "solc": "0.4.21", + "tape": "4.9.0", + "xhr": "2.4.1", + "xtend": "4.0.1" + } + } + } + }, "ethereum-common": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.2.0.tgz", @@ -3187,6 +3189,11 @@ "strip-hex-prefix": "1.0.0" } }, + "eventemitter3": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.1.1.tgz", + "integrity": "sha1-R3hr2qCHyvext15zq8XH1UAVjNA=" + }, "events": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", @@ -3202,27 +3209,6 @@ "safe-buffer": "5.1.1" } }, - "execa": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", - "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", - "dev": true, - "requires": { - "cross-spawn": "5.1.0", - "get-stream": "3.0.0", - "is-stream": "1.1.0", - "npm-run-path": "2.0.2", - "p-finally": "1.0.0", - "signal-exit": "3.0.2", - "strip-eof": "1.0.0" - } - }, - "exit-hook": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", - "integrity": "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g=", - "dev": true - }, "expand-brackets": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", @@ -3258,63 +3244,6 @@ } } }, - "expand-range": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", - "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", - "dev": true, - "requires": { - "fill-range": "2.2.3" - }, - "dependencies": { - "fill-range": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", - "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", - "dev": true, - "requires": { - "is-number": "2.1.0", - "isobject": "2.1.0", - "randomatic": "1.1.7", - "repeat-element": "1.1.2", - "repeat-string": "1.6.1" - } - }, - "is-number": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", - "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - } - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dev": true, - "requires": { - "isarray": "1.0.0" - } - } - } - }, - "expand-tilde": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", - "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", - "dev": true, - "requires": { - "homedir-polyfill": "1.0.1" - } - }, "express": { "version": "4.16.3", "resolved": "https://registry.npmjs.org/express/-/express-4.16.3.tgz", @@ -3501,6 +3430,22 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", + "requires": { + "pend": "1.2.0" + } + }, + "fetch-ponyfill": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz", + "integrity": "sha1-rjzl9zLGReq4fkroeTQUcJsjmJM=", + "requires": { + "node-fetch": "1.7.3" + } + }, "figures": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", @@ -3520,11 +3465,10 @@ "object-assign": "4.1.1" } }, - "filename-regex": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", - "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", - "dev": true + "file-type": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz", + "integrity": "sha1-LdvqfHP/42No365J3DOMBYwritY=" }, "fill-range": { "version": "4.0.0", @@ -3590,15 +3534,6 @@ "pinkie-promise": "2.0.1" } }, - "first-chunk-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-2.0.0.tgz", - "integrity": "sha1-G97NuOCDwGZLkZRVgVd6Q6nzHXA=", - "dev": true, - "requires": { - "readable-stream": "2.3.5" - } - }, "flat-cache": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz", @@ -3611,12 +3546,6 @@ "write": "0.2.1" } }, - "flow-parser": { - "version": "0.70.0", - "resolved": "https://registry.npmjs.org/flow-parser/-/flow-parser-0.70.0.tgz", - "integrity": "sha512-gGdyVUZWswG5jcINrVDHd3RY4nJptBTAx9mR9thGsrGGmAUR7omgJXQSpR+fXrLtxSTAea3HpAZNU/yzRJc2Cg==", - "dev": true - }, "for-each": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.2.tgz", @@ -3631,15 +3560,6 @@ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", "dev": true }, - "for-own": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", - "dev": true, - "requires": { - "for-in": "1.0.2" - } - }, "foreach": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", @@ -3679,21 +3599,16 @@ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" }, - "from2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", - "dev": true, - "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.5" - } - }, "fs": { "version": "0.0.1-security", "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" }, + "fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" + }, "fs-extra": { "version": "0.30.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", @@ -3706,6 +3621,28 @@ "rimraf": "2.6.2" } }, + "fs-promise": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/fs-promise/-/fs-promise-2.0.3.tgz", + "integrity": "sha1-9k5PhUvPaJqovdy6JokW2z20aFQ=", + "requires": { + "any-promise": "1.3.0", + "fs-extra": "2.1.2", + "mz": "2.7.0", + "thenify-all": "1.6.0" + }, + "dependencies": { + "fs-extra": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", + "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=", + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "2.4.0" + } + } + } + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -4615,6 +4552,17 @@ } } }, + "fstream": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", + "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "requires": { + "graceful-fs": "4.1.11", + "inherits": "2.0.3", + "mkdirp": "0.5.1", + "rimraf": "2.6.2" + } + }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", @@ -4625,33 +4573,6 @@ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" }, - "ganache-cli": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ganache-cli/-/ganache-cli-6.1.0.tgz", - "integrity": "sha512-FdTeyk4uLRHGeFiMe+Qnh4Hc5KiTVqvRVVvLDFJEVVKC1P1yHhEgZeh9sp1KhuvxSrxToxgJS25UapYQwH4zHw==", - "dev": true, - "requires": { - "source-map-support": "0.5.4", - "webpack-cli": "2.0.14" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, - "source-map-support": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.4.tgz", - "integrity": "sha512-PETSPG6BjY1AHs2t64vS2aqAgu6dMIMXJULWFBGbh2Gr8nVLbCFDo6i/RMMvviIQ2h1Z8+5gQhVKSn2je9nmdg==", - "dev": true, - "requires": { - "source-map": "0.6.1" - } - } - } - }, "get-caller-file": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", @@ -4660,8 +4581,7 @@ "get-stream": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", - "dev": true + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" }, "get-value": { "version": "2.0.6", @@ -4677,79 +4597,6 @@ "assert-plus": "1.0.0" } }, - "gh-got": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/gh-got/-/gh-got-6.0.0.tgz", - "integrity": "sha512-F/mS+fsWQMo1zfgG9MD8KWvTWPPzzhuVwY++fhQ5Ggd+0P+CAMHtzMZhNxG+TqGfHDChJKsbh6otfMGqO2AKBw==", - "dev": true, - "requires": { - "got": "7.1.0", - "is-plain-obj": "1.1.0" - }, - "dependencies": { - "got": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz", - "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==", - "dev": true, - "requires": { - "decompress-response": "3.3.0", - "duplexer3": "0.1.4", - "get-stream": "3.0.0", - "is-plain-obj": "1.1.0", - "is-retry-allowed": "1.1.0", - "is-stream": "1.1.0", - "isurl": "1.0.0", - "lowercase-keys": "1.0.1", - "p-cancelable": "0.3.0", - "p-timeout": "1.2.1", - "safe-buffer": "5.1.1", - "timed-out": "4.0.1", - "url-parse-lax": "1.0.0", - "url-to-options": "1.0.1" - } - }, - "p-cancelable": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz", - "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==", - "dev": true - }, - "p-timeout": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz", - "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=", - "dev": true, - "requires": { - "p-finally": "1.0.0" - } - }, - "prepend-http": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", - "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", - "dev": true - }, - "url-parse-lax": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", - "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", - "dev": true, - "requires": { - "prepend-http": "1.0.4" - } - } - } - }, - "github-username": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/github-username/-/github-username-4.1.0.tgz", - "integrity": "sha1-y+KABBiDIG2kISrp5LXxacML9Bc=", - "dev": true, - "requires": { - "gh-got": "6.0.0" - } - }, "glob": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", @@ -4763,69 +4610,6 @@ "path-is-absolute": "1.0.1" } }, - "glob-all": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-all/-/glob-all-3.1.0.tgz", - "integrity": "sha1-iRPd+17hrHgSZWJBsD1SF8ZLAqs=", - "dev": true, - "requires": { - "glob": "7.1.2", - "yargs": "1.2.6" - }, - "dependencies": { - "minimist": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.1.0.tgz", - "integrity": "sha1-md9lelJXTCHJBXSX33QnkLK0wN4=", - "dev": true - }, - "yargs": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-1.2.6.tgz", - "integrity": "sha1-nHtKgv1dWVsr8Xq23MQxNUMv40s=", - "dev": true, - "requires": { - "minimist": "0.1.0" - } - } - } - }, - "glob-base": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", - "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", - "dev": true, - "requires": { - "glob-parent": "2.0.0", - "is-glob": "2.0.1" - }, - "dependencies": { - "glob-parent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", - "dev": true, - "requires": { - "is-glob": "2.0.1" - } - }, - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "dev": true - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dev": true, - "requires": { - "is-extglob": "1.0.0" - } - } - } - }, "glob-parent": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", @@ -4856,35 +4640,10 @@ "process": "0.5.2" } }, - "global-modules": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", - "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", - "dev": true, - "requires": { - "global-prefix": "1.0.2", - "is-windows": "1.0.2", - "resolve-dir": "1.0.1" - } - }, - "global-prefix": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", - "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", - "dev": true, - "requires": { - "expand-tilde": "2.0.2", - "homedir-polyfill": "1.0.1", - "ini": "1.3.5", - "is-windows": "1.0.2", - "which": "1.3.0" - } - }, "globals": { "version": "9.18.0", "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", - "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", - "dev": true + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==" }, "globby": { "version": "5.0.0", @@ -4901,36 +4660,24 @@ } }, "got": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/got/-/got-8.3.0.tgz", - "integrity": "sha512-kBNy/S2CGwrYgDSec5KTWGKUvupwkkTVAjIsVFF2shXO13xpZdFP4d4kxa//CLX2tN/rV0aYwK8vY6UKWGn2vQ==", - "dev": true, + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz", + "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==", "requires": { - "@sindresorhus/is": "0.7.0", - "cacheable-request": "2.1.4", "decompress-response": "3.3.0", "duplexer3": "0.1.4", "get-stream": "3.0.0", - "into-stream": "3.1.0", + "is-plain-obj": "1.1.0", "is-retry-allowed": "1.1.0", + "is-stream": "1.1.0", "isurl": "1.0.0", "lowercase-keys": "1.0.1", - "mimic-response": "1.0.0", - "p-cancelable": "0.4.1", - "p-timeout": "2.0.1", - "pify": "3.0.0", + "p-cancelable": "0.3.0", + "p-timeout": "1.2.1", "safe-buffer": "5.1.1", "timed-out": "4.0.1", - "url-parse-lax": "3.0.0", + "url-parse-lax": "1.0.0", "url-to-options": "1.0.1" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } } }, "graceful-fs": { @@ -4941,17 +4688,7 @@ "graceful-readlink": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=", - "dev": true - }, - "grouped-queue": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/grouped-queue/-/grouped-queue-0.3.3.tgz", - "integrity": "sha1-wWfSpTGcWg4JZO9qJbfC34mWyFw=", - "dev": true, - "requires": { - "lodash": "4.17.5" - } + "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=" }, "growl": { "version": "1.9.2", @@ -4985,17 +4722,10 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "dev": true, "requires": { "ansi-regex": "2.1.1" } }, - "has-color": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz", - "integrity": "sha1-ZxRKUmDDT8PMpnfQQdr1L+e3iy8=", - "dev": true - }, "has-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", @@ -5005,14 +4735,12 @@ "has-symbol-support-x": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz", - "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==", - "dev": true + "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==" }, "has-to-string-tag-x": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz", "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==", - "dev": true, "requires": { "has-symbol-support-x": "1.4.2" } @@ -5111,21 +4839,11 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", - "dev": true, "requires": { "os-homedir": "1.0.2", "os-tmpdir": "1.0.2" } }, - "homedir-polyfill": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz", - "integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=", - "dev": true, - "requires": { - "parse-passwd": "1.0.0" - } - }, "hosted-git-info": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz", @@ -5145,12 +4863,6 @@ "readable-stream": "2.3.5" } }, - "http-cache-semantics": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz", - "integrity": "sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==", - "dev": true - }, "http-errors": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", @@ -5169,6 +4881,11 @@ } } }, + "http-https": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/http-https/-/http-https-1.0.0.tgz", + "integrity": "sha1-L5CN1fHbQGjAWM1ubUzjkskTOJs=" + }, "http-signature": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", @@ -5193,8 +4910,7 @@ "ieee754": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.11.tgz", - "integrity": "sha512-VhDzCKN7K8ufStx/CLj5/PDTMgph+qwN5Pkd5i0sGnVwk56zJ0lkT8Qzi1xqWLS0Wp29DgDtNeS7v8/wMoZeHg==", - "dev": true + "integrity": "sha512-VhDzCKN7K8ufStx/CLj5/PDTMgph+qwN5Pkd5i0sGnVwk56zJ0lkT8Qzi1xqWLS0Wp29DgDtNeS7v8/wMoZeHg==" }, "ignore": { "version": "3.3.7", @@ -5207,51 +4923,12 @@ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz", "integrity": "sha1-0UD6j2FGWb1lQSMwl92qwlzdmRw=" }, - "import-local": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz", - "integrity": "sha512-vAaZHieK9qjGo58agRBg+bhHX3hoTZU/Oa3GESWLz7t1U62fk63aHuDJJEteXoDeTCcPmUT+z38gkHPZkkmpmQ==", - "dev": true, - "requires": { - "pkg-dir": "2.0.0", - "resolve-cwd": "2.0.0" - }, - "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "2.0.0" - } - }, - "pkg-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", - "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", - "dev": true, - "requires": { - "find-up": "2.1.0" - } - } - } - }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true }, - "indent-string": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", - "dev": true, - "requires": { - "repeating": "2.0.1" - } - }, "indexof": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", @@ -5272,12 +4949,6 @@ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" }, - "ini": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", - "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", - "dev": true - }, "inquirer": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", @@ -5374,21 +5045,10 @@ "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", "dev": true }, - "into-stream": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz", - "integrity": "sha1-lvsKk2wSur1v8XUqF9BWFqvQlMY=", - "dev": true, - "requires": { - "from2": "2.3.0", - "p-is-promise": "1.1.0" - } - }, "invariant": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", - "dev": true, "requires": { "loose-envify": "1.3.1" } @@ -5478,21 +5138,6 @@ } } }, - "is-dotfile": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", - "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", - "dev": true - }, - "is-equal-shallow": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", - "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", - "dev": true, - "requires": { - "is-primitive": "2.0.0" - } - }, "is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", @@ -5509,11 +5154,15 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", - "dev": true, "requires": { "number-is-nan": "1.0.1" } }, + "is-fn": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fn/-/is-fn-1.0.0.tgz", + "integrity": "sha1-lUPV3nvPWwiiLsiiC65uKG1RDYw=" + }, "is-fullwidth-code-point": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", @@ -5541,6 +5190,11 @@ "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz", "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=" }, + "is-natural-number": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-natural-number/-/is-natural-number-4.0.1.tgz", + "integrity": "sha1-q5124dtM7VHjXeDHLr7PCfc0zeg=" + }, "is-number": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", @@ -5553,25 +5207,7 @@ "is-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz", - "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA=", - "dev": true - }, - "is-observable": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-0.2.0.tgz", - "integrity": "sha1-s2ExHYPG5dcmyr9eJQsCNxBvWuI=", - "dev": true, - "requires": { - "symbol-observable": "0.2.4" - }, - "dependencies": { - "symbol-observable": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-0.2.4.tgz", - "integrity": "sha1-lag9smGG1q9+ehjb2XYKL4bQj0A=", - "dev": true - } - } + "integrity": "sha1-iVJojF7C/9awPsyF52ngKQMINHA=" }, "is-odd": { "version": "2.0.0", @@ -5617,8 +5253,7 @@ "is-plain-obj": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", - "dev": true + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" }, "is-plain-object": { "version": "2.0.4", @@ -5629,18 +5264,6 @@ "isobject": "3.0.1" } }, - "is-posix-bracket": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", - "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", - "dev": true - }, - "is-primitive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", - "dev": true - }, "is-promise": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", @@ -5664,17 +5287,7 @@ "is-retry-allowed": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", - "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=", - "dev": true - }, - "is-scoped": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-scoped/-/is-scoped-1.0.0.tgz", - "integrity": "sha1-RJypgpnnEwOCViieyytUDcQ3yzA=", - "dev": true, - "requires": { - "scoped-regex": "1.0.0" - } + "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=" }, "is-stream": { "version": "1.1.0", @@ -5733,22 +5346,10 @@ "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" }, - "istextorbinary": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/istextorbinary/-/istextorbinary-2.2.1.tgz", - "integrity": "sha512-TS+hoFl8Z5FAFMK38nhBkdLt44CclNRgDHWeMgsV8ko3nDlr/9UI2Sf839sW7enijf8oKsZYXRvM8g0it9Zmcw==", - "dev": true, - "requires": { - "binaryextensions": "2.1.1", - "editions": "1.3.4", - "textextensions": "2.2.0" - } - }, "isurl": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz", "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==", - "dev": true, "requires": { "has-to-string-tag-x": "1.4.1", "is-object": "1.0.1" @@ -5762,8 +5363,7 @@ "js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" }, "js-yaml": { "version": "3.11.0", @@ -5781,128 +5381,10 @@ "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", "optional": true }, - "jscodeshift": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-0.5.0.tgz", - "integrity": "sha512-JAcQINNMFpdzzpKJN8k5xXjF3XDuckB1/48uScSzcnNyK199iWEc9AxKL9OoX5144M2w5zEx9Qs4/E/eBZZUlw==", - "dev": true, - "requires": { - "babel-plugin-transform-flow-strip-types": "6.22.0", - "babel-preset-es2015": "6.24.1", - "babel-preset-stage-1": "6.24.1", - "babel-register": "6.26.0", - "babylon": "7.0.0-beta.44", - "colors": "1.2.1", - "flow-parser": "0.70.0", - "lodash": "4.17.5", - "micromatch": "2.3.11", - "neo-async": "2.5.1", - "node-dir": "0.1.8", - "nomnom": "1.8.1", - "recast": "0.14.7", - "temp": "0.8.3", - "write-file-atomic": "1.3.4" - }, - "dependencies": { - "arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dev": true, - "requires": { - "arr-flatten": "1.1.0" - } - }, - "array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "dev": true - }, - "babylon": { - "version": "7.0.0-beta.44", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.44.tgz", - "integrity": "sha512-5Hlm13BJVAioCHpImtFqNOF2H3ieTOHd0fmFGMxOJ9jgeFqeAwsv3u5P5cR7CSeFrkgHsT19DgFJkHV0/Mcd8g==", - "dev": true - }, - "braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dev": true, - "requires": { - "expand-range": "1.8.2", - "preserve": "0.2.0", - "repeat-element": "1.1.2" - } - }, - "expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dev": true, - "requires": { - "is-posix-bracket": "0.1.1" - } - }, - "extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dev": true, - "requires": { - "is-extglob": "1.0.0" - } - }, - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "dev": true - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dev": true, - "requires": { - "is-extglob": "1.0.0" - } - }, - "micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dev": true, - "requires": { - "arr-diff": "2.0.0", - "array-unique": "0.2.1", - "braces": "1.8.5", - "expand-brackets": "0.1.5", - "extglob": "0.3.2", - "filename-regex": "2.0.1", - "is-extglob": "1.0.0", - "is-glob": "2.0.1", - "kind-of": "3.2.2", - "normalize-path": "2.1.1", - "object.omit": "2.0.1", - "parse-glob": "3.0.4", - "regex-cache": "0.4.4" - } - } - } - }, "jsesc": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", - "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", - "dev": true - }, - "json-buffer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", - "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg=", - "dev": true + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=" }, "json-loader": { "version": "0.5.7", @@ -5910,11 +5392,31 @@ "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==", "dev": true }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true + "json-rpc-engine": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/json-rpc-engine/-/json-rpc-engine-3.7.3.tgz", + "integrity": "sha512-+FO3UWu/wafh/+MZ6BXy0HZU+f5plwUn82FgxpC0scJkEh5snOjFrAAtqCITPDfvfLHRUFOG5pQDUx2pspfERQ==", + "requires": { + "async": "2.6.0", + "babel-preset-env": "1.7.0", + "babelify": "7.3.0", + "clone": "2.1.2", + "json-rpc-error": "2.0.0", + "promise-to-callback": "1.0.0" + } + }, + "json-rpc-error": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/json-rpc-error/-/json-rpc-error-2.0.0.tgz", + "integrity": "sha1-p6+cICg4tekFxyUOVH8a/3cligI=", + "requires": { + "inherits": "2.0.3" + } + }, + "json-rpc-random-id": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz", + "integrity": "sha1-uknZat7RRE27jaPSA3SKy7zeyMg=" }, "json-schema": { "version": "0.2.3", @@ -5930,7 +5432,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", - "dev": true, "requires": { "jsonify": "0.0.0" } @@ -5955,8 +5456,7 @@ "json5": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", - "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", - "dev": true + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=" }, "jsonfile": { "version": "2.4.0", @@ -5969,8 +5469,7 @@ "jsonify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", - "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=", - "dev": true + "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=" }, "jsprim": { "version": "1.4.1", @@ -6003,15 +5502,6 @@ "sha3": "1.2.0" } }, - "keyv": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.0.0.tgz", - "integrity": "sha512-eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA==", - "dev": true, - "requires": { - "json-buffer": "3.0.0" - } - }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", @@ -6134,150 +5624,6 @@ "type-check": "0.3.2" } }, - "listr": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/listr/-/listr-0.13.0.tgz", - "integrity": "sha1-ILsLowuuZg7oTMBQPfS+PVYjiH0=", - "dev": true, - "requires": { - "chalk": "1.1.3", - "cli-truncate": "0.2.1", - "figures": "1.7.0", - "indent-string": "2.1.0", - "is-observable": "0.2.0", - "is-promise": "2.1.0", - "is-stream": "1.1.0", - "listr-silent-renderer": "1.1.1", - "listr-update-renderer": "0.4.0", - "listr-verbose-renderer": "0.4.1", - "log-symbols": "1.0.2", - "log-update": "1.0.2", - "ora": "0.2.3", - "p-map": "1.2.0", - "rxjs": "5.5.10", - "stream-to-observable": "0.2.0", - "strip-ansi": "3.0.1" - }, - "dependencies": { - "figures": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", - "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", - "dev": true, - "requires": { - "escape-string-regexp": "1.0.5", - "object-assign": "4.1.1" - } - }, - "log-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", - "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", - "dev": true, - "requires": { - "chalk": "1.1.3" - } - } - } - }, - "listr-silent-renderer": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz", - "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=", - "dev": true - }, - "listr-update-renderer": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.4.0.tgz", - "integrity": "sha1-NE2YDaLKLosUW6MFkI8yrj9MyKc=", - "dev": true, - "requires": { - "chalk": "1.1.3", - "cli-truncate": "0.2.1", - "elegant-spinner": "1.0.1", - "figures": "1.7.0", - "indent-string": "3.2.0", - "log-symbols": "1.0.2", - "log-update": "1.0.2", - "strip-ansi": "3.0.1" - }, - "dependencies": { - "figures": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", - "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", - "dev": true, - "requires": { - "escape-string-regexp": "1.0.5", - "object-assign": "4.1.1" - } - }, - "indent-string": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", - "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", - "dev": true - }, - "log-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", - "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", - "dev": true, - "requires": { - "chalk": "1.1.3" - } - } - } - }, - "listr-verbose-renderer": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz", - "integrity": "sha1-ggb0z21S3cWCfl/RSYng6WWTOjU=", - "dev": true, - "requires": { - "chalk": "1.1.3", - "cli-cursor": "1.0.2", - "date-fns": "1.29.0", - "figures": "1.7.0" - }, - "dependencies": { - "cli-cursor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", - "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", - "dev": true, - "requires": { - "restore-cursor": "1.0.1" - } - }, - "figures": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", - "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", - "dev": true, - "requires": { - "escape-string-regexp": "1.0.5", - "object-assign": "4.1.1" - } - }, - "onetime": { - "version": "1.1.0", - "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", - "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", - "dev": true - }, - "restore-cursor": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", - "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", - "dev": true, - "requires": { - "exit-hook": "1.1.1", - "onetime": "1.1.0" - } - } - } - }, "load-json-file": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", @@ -6404,95 +5750,6 @@ "lodash.isarray": "3.0.4" } }, - "log-symbols": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", - "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", - "dev": true, - "requires": { - "chalk": "2.3.2" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } - }, - "chalk": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz", - "integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==", - "dev": true, - "requires": { - "ansi-styles": "3.2.1", - "escape-string-regexp": "1.0.5", - "supports-color": "5.3.0" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "supports-color": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz", - "integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==", - "dev": true, - "requires": { - "has-flag": "3.0.0" - } - } - } - }, - "log-update": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/log-update/-/log-update-1.0.2.tgz", - "integrity": "sha1-GZKfZMQJPS0ucHWh2tivWcKWuNE=", - "dev": true, - "requires": { - "ansi-escapes": "1.4.0", - "cli-cursor": "1.0.2" - }, - "dependencies": { - "ansi-escapes": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", - "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4=", - "dev": true - }, - "cli-cursor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", - "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", - "dev": true, - "requires": { - "restore-cursor": "1.0.1" - } - }, - "onetime": { - "version": "1.1.0", - "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", - "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", - "dev": true - }, - "restore-cursor": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", - "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", - "dev": true, - "requires": { - "exit-hook": "1.1.1", - "onetime": "1.1.0" - } - } - } - }, "longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", @@ -6503,7 +5760,6 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "dev": true, "requires": { "js-tokens": "3.0.2" } @@ -6511,8 +5767,7 @@ "lowercase-keys": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", - "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", - "dev": true + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" }, "lru-cache": { "version": "4.1.2", @@ -6530,10 +5785,9 @@ "integrity": "sha1-tlul/LNJopkkyOMz98alVi8uSEI=" }, "make-dir": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.2.0.tgz", - "integrity": "sha512-aNUAa4UMg/UougV25bbrU4ZaaKNjJ/3/xnvg/twpmKROPdKZPZ9wGgI0opdZzO8q/zUFawoUuixuOv33eZ61Iw==", - "dev": true, + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", + "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", "requires": { "pify": "3.0.0" }, @@ -6541,8 +5795,7 @@ "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" } } }, @@ -6586,85 +5839,6 @@ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=" }, - "mem": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", - "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", - "dev": true, - "requires": { - "mimic-fn": "1.2.0" - } - }, - "mem-fs": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/mem-fs/-/mem-fs-1.1.3.tgz", - "integrity": "sha1-uK6NLj/Lb10/kWXBLUVRoGXZicw=", - "dev": true, - "requires": { - "through2": "2.0.3", - "vinyl": "1.2.0", - "vinyl-file": "2.0.0" - } - }, - "mem-fs-editor": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/mem-fs-editor/-/mem-fs-editor-3.0.2.tgz", - "integrity": "sha1-3Qpuryu4prN3QAZ6pUnrUwEFr58=", - "dev": true, - "requires": { - "commondir": "1.0.1", - "deep-extend": "0.4.2", - "ejs": "2.5.8", - "glob": "7.1.2", - "globby": "6.1.0", - "mkdirp": "0.5.1", - "multimatch": "2.1.0", - "rimraf": "2.6.2", - "through2": "2.0.3", - "vinyl": "2.1.0" - }, - "dependencies": { - "clone-stats": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz", - "integrity": "sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=", - "dev": true - }, - "globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "dev": true, - "requires": { - "array-union": "1.0.2", - "glob": "7.1.2", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - } - }, - "replace-ext": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz", - "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs=", - "dev": true - }, - "vinyl": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.1.0.tgz", - "integrity": "sha1-Ah+cLPlR1rk5lDyJ617lrdT9kkw=", - "dev": true, - "requires": { - "clone": "2.1.2", - "clone-buffer": "1.0.0", - "clone-stats": "1.0.0", - "cloneable-readable": "1.1.2", - "remove-trailing-separator": "1.1.0", - "replace-ext": "1.0.0" - } - } - } - }, "memdown": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/memdown/-/memdown-1.4.1.tgz", @@ -6782,7 +5956,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "dev": true, "requires": { "bn.js": "4.11.8", "brorand": "1.1.0" @@ -6873,7 +6046,6 @@ "version": "0.5.1", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "dev": true, "requires": { "minimist": "0.0.8" }, @@ -6881,11 +6053,18 @@ "minimist": { "version": "0.0.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" } } }, + "mkdirp-promise": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz", + "integrity": "sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=", + "requires": { + "mkdirp": "0.5.1" + } + }, "mocha": { "version": "3.5.3", "resolved": "https://registry.npmjs.org/mocha/-/mocha-3.5.3.tgz", @@ -6937,29 +6116,37 @@ } } }, + "mock-fs": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.5.0.tgz", + "integrity": "sha512-qqudNfOX7ZmX9vm1WIAU+gWlmxVNAnwY6UG3RkFutNywmRCUGP83tujP6IxX2DS1TmcaEZBOhYwDuYEmJYE+3w==" + }, + "mout": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/mout/-/mout-0.11.1.tgz", + "integrity": "sha1-ujYR318OWx/7/QEWa48C0fX6K5k=" + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, - "multimatch": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", - "integrity": "sha1-nHkGoi+0wCkZ4vX3UWG0zb1LKis=", - "dev": true, - "requires": { - "array-differ": "1.0.0", - "array-union": "1.0.2", - "arrify": "1.0.1", - "minimatch": "3.0.4" - } - }, "mute-stream": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", "dev": true }, + "mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "requires": { + "any-promise": "1.3.0", + "object-assign": "4.1.1", + "thenify-all": "1.6.0" + } + }, "nan": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/nan/-/nan-2.10.0.tgz", @@ -7015,18 +6202,6 @@ "integrity": "sha512-3KL3fvuRkZ7s4IFOMfztb7zJp3QaVWnBeGoJlgB38XnCRPj/0tLzzLG5IB8NYOHbJ8g8UGrgZv44GLDk6CxTxA==", "dev": true }, - "nice-try": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.4.tgz", - "integrity": "sha512-2NpiFHqC87y/zFke0fC0spBXL3bBsoh/p5H1EFhshxjCR5+0g2d6BiXbUFz9v1sAcxsk2htp2eQnNIci2dIYcA==", - "dev": true - }, - "node-dir": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.8.tgz", - "integrity": "sha1-VfuN62mQcHB/tn+RpGDwRIKUx30=", - "dev": true - }, "node-fetch": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", @@ -7084,47 +6259,6 @@ } } }, - "nomnom": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/nomnom/-/nomnom-1.8.1.tgz", - "integrity": "sha1-IVH3Ikcrp55Qp2/BJbuMjy5Nwqc=", - "dev": true, - "requires": { - "chalk": "0.4.0", - "underscore": "1.6.0" - }, - "dependencies": { - "ansi-styles": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz", - "integrity": "sha1-yxAt8cVvUSPquLZ817mAJ6AnkXg=", - "dev": true - }, - "chalk": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz", - "integrity": "sha1-UZmj3c0MHv4jvAjBsCewYXbgxk8=", - "dev": true, - "requires": { - "ansi-styles": "1.0.0", - "has-color": "0.1.7", - "strip-ansi": "0.1.1" - } - }, - "strip-ansi": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz", - "integrity": "sha1-OeipjQRNFQZgq+SmgIrPcLt7yZE=", - "dev": true - }, - "underscore": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", - "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=", - "dev": true - } - } - }, "normalize-package-data": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", @@ -7145,26 +6279,6 @@ "remove-trailing-separator": "1.1.0" } }, - "normalize-url": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz", - "integrity": "sha512-D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw==", - "dev": true, - "requires": { - "prepend-http": "2.0.0", - "query-string": "5.1.1", - "sort-keys": "2.0.0" - } - }, - "npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "dev": true, - "requires": { - "path-key": "2.0.1" - } - }, "number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", @@ -7237,16 +6351,6 @@ "isobject": "3.0.1" } }, - "object.omit": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", - "dev": true, - "requires": { - "for-own": "0.1.5", - "is-extendable": "0.1.1" - } - }, "object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -7256,6 +6360,14 @@ "isobject": "3.0.1" } }, + "oboe": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.3.tgz", + "integrity": "sha1-K0hl29Rr6BIlcT9Om/5Lz09oCk8=", + "requires": { + "http-https": "1.0.0" + } + }, "on-finished": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", @@ -7303,45 +6415,6 @@ } } }, - "ora": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/ora/-/ora-0.2.3.tgz", - "integrity": "sha1-N1J9Igrc1Tw5tzVx11QVbV22V6Q=", - "dev": true, - "requires": { - "chalk": "1.1.3", - "cli-cursor": "1.0.2", - "cli-spinners": "0.1.2", - "object-assign": "4.1.1" - }, - "dependencies": { - "cli-cursor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", - "integrity": "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc=", - "dev": true, - "requires": { - "restore-cursor": "1.0.1" - } - }, - "onetime": { - "version": "1.1.0", - "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", - "integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=", - "dev": true - }, - "restore-cursor": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", - "integrity": "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE=", - "dev": true, - "requires": { - "exit-hook": "1.1.1", - "onetime": "1.1.0" - } - } - } - }, "original-require": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/original-require/-/original-require-1.0.1.tgz", @@ -7357,8 +6430,7 @@ "os-homedir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "dev": true + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" }, "os-locale": { "version": "1.4.0", @@ -7371,41 +6443,17 @@ "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" }, "p-cancelable": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.4.1.tgz", - "integrity": "sha512-HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ==", - "dev": true - }, - "p-each-series": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-1.0.0.tgz", - "integrity": "sha1-kw89Et0fUOdDRFeiLNbwSsatf3E=", - "dev": true, - "requires": { - "p-reduce": "1.0.0" - } + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz", + "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==" }, "p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true - }, - "p-is-promise": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz", - "integrity": "sha1-nJRWmJ6fZYgBewQ01WCXZ1w9oF4=", - "dev": true - }, - "p-lazy": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-lazy/-/p-lazy-1.0.0.tgz", - "integrity": "sha1-7FPIAvLuOsKPFmzILQsrAt4nqDU=", - "dev": true + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" }, "p-limit": { "version": "1.2.0", @@ -7425,23 +6473,10 @@ "p-limit": "1.2.0" } }, - "p-map": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", - "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", - "dev": true - }, - "p-reduce": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz", - "integrity": "sha1-GMKw3ZNqRpClKfgjH1ig/bakffo=", - "dev": true - }, "p-timeout": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-2.0.1.tgz", - "integrity": "sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA==", - "dev": true, + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz", + "integrity": "sha1-XrOzU7f86Z8QGhA4iAuwVOu+o4Y=", "requires": { "p-finally": "1.0.0" } @@ -7467,7 +6502,6 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz", "integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==", - "dev": true, "requires": { "asn1.js": "4.10.1", "browserify-aes": "1.1.1", @@ -7476,35 +6510,6 @@ "pbkdf2": "3.0.14" } }, - "parse-glob": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", - "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", - "dev": true, - "requires": { - "glob-base": "0.3.0", - "is-dotfile": "1.0.3", - "is-extglob": "1.0.0", - "is-glob": "2.0.1" - }, - "dependencies": { - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "dev": true - }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dev": true, - "requires": { - "is-extglob": "1.0.0" - } - } - } - }, "parse-headers": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.1.tgz", @@ -7522,12 +6527,6 @@ "error-ex": "1.3.1" } }, - "parse-passwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", - "dev": true - }, "parseurl": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", @@ -7570,12 +6569,6 @@ "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", "dev": true }, - "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "dev": true - }, "path-parse": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", @@ -7608,6 +6601,11 @@ "sha.js": "2.4.11" } }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + }, "performance-now": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", @@ -7652,6 +6650,11 @@ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", "dev": true }, + "precond": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/precond/-/precond-0.2.3.tgz", + "integrity": "sha1-qpWRvKokkj8eD0hJ0kD0fvwQdaw=" + }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -7659,34 +6662,14 @@ "dev": true }, "prepend-http": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", - "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", - "dev": true - }, - "preserve": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", - "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", - "dev": true - }, - "prettier": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.12.0.tgz", - "integrity": "sha512-Wz0SMncgaglBzDcohH3ZIAi4nVpzOIEweFzCOmgVEoRSeO72b4dcKGfgxoRGVMaFlh1r7dlVaJ+f3CIHfeH6xg==", - "dev": true - }, - "pretty-bytes": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz", - "integrity": "sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk=", - "dev": true + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=" }, "private": { "version": "0.1.8", "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", - "dev": true + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" }, "process": { "version": "0.5.2", @@ -7704,6 +6687,15 @@ "integrity": "sha1-ihvjZr+Pwj2yvSPxDG/pILQ4nR8=", "dev": true }, + "promise-to-callback": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/promise-to-callback/-/promise-to-callback-1.0.0.tgz", + "integrity": "sha1-XSp0kBC/tn2WNZj805YHRqaP7vc=", + "requires": { + "is-fn": "1.0.0", + "set-immediate-shim": "1.0.1" + } + }, "proxy-addr": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.3.tgz", @@ -7728,7 +6720,6 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.2.tgz", "integrity": "sha512-4kJ5Esocg8X3h8YgJsKAuoesBgB7mqH3eowiDzMUPKiRDDE7E/BqqZD1hnTByIaAFiwAw246YEltSq7tdrOH0Q==", - "dev": true, "requires": { "bn.js": "4.11.8", "browserify-rsa": "4.0.1", @@ -7769,27 +6760,6 @@ "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", "dev": true }, - "randomatic": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz", - "integrity": "sha512-D5JUjPyJbaJDkuAazpVnSfVkLlpeO3wDlPROTMLGKG1zMFNFRgrciKo1ltz/AzNTkqE0HzDx655QOL51N06how==", - "dev": true, - "requires": { - "is-number": "3.0.0", - "kind-of": "4.0.0" - }, - "dependencies": { - "kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dev": true, - "requires": { - "is-buffer": "1.1.6" - } - } - } - }, "randombytes": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz", @@ -7802,7 +6772,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", - "dev": true, "requires": { "randombytes": "2.0.6", "safe-buffer": "5.1.1" @@ -7829,24 +6798,6 @@ "unpipe": "1.0.0" } }, - "read-chunk": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/read-chunk/-/read-chunk-2.1.0.tgz", - "integrity": "sha1-agTAkoAF7Z1C4aasVgDhnLx/9lU=", - "dev": true, - "requires": { - "pify": "3.0.0", - "safe-buffer": "5.1.1" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } - } - }, "read-pkg": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", @@ -7907,26 +6858,6 @@ "set-immediate-shim": "1.0.1" } }, - "recast": { - "version": "0.14.7", - "resolved": "https://registry.npmjs.org/recast/-/recast-0.14.7.tgz", - "integrity": "sha512-/nwm9pkrcWagN40JeJhkPaRxiHXBRkXyRh/hgU088Z/v+qCy+zIHHY6bC6o7NaKAxPqtE6nD8zBH1LfU0/Wx6A==", - "dev": true, - "requires": { - "ast-types": "0.11.3", - "esprima": "4.0.0", - "private": "0.1.8", - "source-map": "0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } - } - }, "rechoir": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", @@ -7939,35 +6870,23 @@ "regenerate": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.3.tgz", - "integrity": "sha512-jVpo1GadrDAK59t/0jRx5VxYWQEDkkEKi6+HjE3joFVLfDOh9Xrdh0dF1eSq+BI/SwvTQ44gSscJ8N5zYL61sg==", - "dev": true + "integrity": "sha512-jVpo1GadrDAK59t/0jRx5VxYWQEDkkEKi6+HjE3joFVLfDOh9Xrdh0dF1eSq+BI/SwvTQ44gSscJ8N5zYL61sg==" }, "regenerator-runtime": { "version": "0.11.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", - "dev": true + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" }, "regenerator-transform": { "version": "0.10.1", "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", - "dev": true, "requires": { "babel-runtime": "6.26.0", "babel-types": "6.26.0", "private": "0.1.8" } }, - "regex-cache": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", - "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", - "dev": true, - "requires": { - "is-equal-shallow": "0.1.3" - } - }, "regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", @@ -7988,7 +6907,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", - "dev": true, "requires": { "regenerate": "1.3.3", "regjsgen": "0.2.0", @@ -7998,14 +6916,12 @@ "regjsgen": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", - "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=", - "dev": true + "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=" }, "regjsparser": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", - "dev": true, "requires": { "jsesc": "0.5.0" }, @@ -8013,8 +6929,7 @@ "jsesc": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "dev": true + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" } } }, @@ -8040,17 +6955,10 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "dev": true, "requires": { "is-finite": "1.0.2" } }, - "replace-ext": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz", - "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=", - "dev": true - }, "req-cwd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/req-cwd/-/req-cwd-2.0.0.tgz", @@ -8166,25 +7074,6 @@ "path-parse": "1.0.5" } }, - "resolve-cwd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", - "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", - "dev": true, - "requires": { - "resolve-from": "3.0.0" - } - }, - "resolve-dir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", - "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", - "dev": true, - "requires": { - "expand-tilde": "2.0.2", - "global-modules": "1.0.0" - } - }, "resolve-from": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", @@ -8197,15 +7086,6 @@ "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", "dev": true }, - "responselike": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", - "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=", - "dev": true, - "requires": { - "lowercase-keys": "1.0.1" - } - }, "restore-cursor": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", @@ -8290,15 +7170,6 @@ "rx-lite": "4.0.8" } }, - "rxjs": { - "version": "5.5.10", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.10.tgz", - "integrity": "sha512-SRjimIDUHJkon+2hFo7xnvNC4ZEHGzCRwh9P7nzX3zPkCGFEg/tuElrNR7L/rZMagnK2JeH2jQwPRpmyXyLB6A==", - "dev": true, - "requires": { - "symbol-observable": "1.0.1" - } - }, "safe-buffer": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", @@ -8313,12 +7184,6 @@ "ret": "0.1.15" } }, - "scoped-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/scoped-regex/-/scoped-regex-1.0.0.tgz", - "integrity": "sha1-o0a7Gs1CB65wvXwMfKnlZra63bg=", - "dev": true - }, "scrypt": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/scrypt/-/scrypt-6.0.3.tgz", @@ -8365,6 +7230,24 @@ "safe-buffer": "5.1.1" } }, + "seek-bzip": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz", + "integrity": "sha1-z+kXyz0nS8/6x5J1ivUxc+sfq9w=", + "requires": { + "commander": "2.8.1" + }, + "dependencies": { + "commander": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", + "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", + "requires": { + "graceful-readlink": "1.0.1" + } + } + } + }, "semaphore": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/semaphore/-/semaphore-1.1.0.tgz", @@ -8433,8 +7316,7 @@ "set-immediate-shim": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", - "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=", - "dev": true + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=" }, "set-value": { "version": "2.0.0", @@ -8537,8 +7419,7 @@ "slash": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", - "dev": true + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=" }, "slice-ansi": { "version": "1.0.0", @@ -8557,12 +7438,6 @@ } } }, - "slide": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz", - "integrity": "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=", - "dev": true - }, "snapdragon": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", @@ -8685,15 +7560,6 @@ "yargs": "4.8.1" } }, - "sort-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", - "integrity": "sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=", - "dev": true, - "requires": { - "is-plain-obj": "1.1.0" - } - }, "source-list-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", @@ -8703,8 +7569,7 @@ "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" }, "source-map-resolve": { "version": "0.5.1", @@ -8723,7 +7588,6 @@ "version": "0.4.18", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "dev": true, "requires": { "source-map": "0.5.7" } @@ -8847,26 +7711,11 @@ "xtend": "4.0.1" } }, - "stream-to-observable": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/stream-to-observable/-/stream-to-observable-0.2.0.tgz", - "integrity": "sha1-WdbqOT2HwsDdrBCqDVYbxrpvDhA=", - "dev": true, - "requires": { - "any-observable": "0.2.0" - } - }, "strict-uri-encode": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=" }, - "string-template": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/string-template/-/string-template-0.2.1.tgz", - "integrity": "sha1-QpMuWYo1LQH8IuwzZ9nYTuxsmt0=", - "dev": true - }, "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", @@ -8913,22 +7762,14 @@ "is-utf8": "0.2.1" } }, - "strip-bom-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz", - "integrity": "sha1-+H217yYT9paKpUWr/h7HKLaoKco=", - "dev": true, + "strip-dirs": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz", + "integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==", "requires": { - "first-chunk-stream": "2.0.0", - "strip-bom": "2.0.0" + "is-natural-number": "4.0.1" } }, - "strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "dev": true - }, "strip-hex-prefix": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", @@ -8952,11 +7793,50 @@ "has-flag": "1.0.0" } }, - "symbol-observable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", - "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", - "dev": true + "swarm-js": { + "version": "0.1.37", + "resolved": "https://registry.npmjs.org/swarm-js/-/swarm-js-0.1.37.tgz", + "integrity": "sha512-G8gi5fcXP/2upwiuOShJ258sIufBVztekgobr3cVgYXObZwJ5AXLqZn52AI+/ffft29pJexF9WNdUxjlkVehoQ==", + "requires": { + "bluebird": "3.5.1", + "buffer": "5.1.0", + "decompress": "4.2.0", + "eth-lib": "0.1.27", + "fs-extra": "2.1.2", + "fs-promise": "2.0.3", + "got": "7.1.0", + "mime-types": "2.1.18", + "mkdirp-promise": "5.0.1", + "mock-fs": "4.5.0", + "setimmediate": "1.0.5", + "tar.gz": "1.0.7", + "xhr-request-promise": "0.1.2" + }, + "dependencies": { + "buffer": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.1.0.tgz", + "integrity": "sha512-YkIRgwsZwJWTnyQrsBTWefizHh+8GYj3kbL1BTiAQ/9pwpino0G7B2gp5tx/FUBqUlvtxV85KNR3mwfAtv15Yw==", + "requires": { + "base64-js": "1.2.3", + "ieee754": "1.1.11" + } + }, + "fs-extra": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-2.1.2.tgz", + "integrity": "sha1-BGxwFjzvmq1GsOSn+kZ/si1x3jU=", + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "2.4.0" + } + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + } + } }, "table": { "version": "4.0.2", @@ -9072,21 +7952,46 @@ "through": "2.3.8" } }, - "temp": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/temp/-/temp-0.8.3.tgz", - "integrity": "sha1-4Ma8TSa5AxJEEOT+2BEDAU38H1k=", - "dev": true, + "tar": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", + "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", + "requires": { + "block-stream": "0.0.9", + "fstream": "1.0.11", + "inherits": "2.0.3" + } + }, + "tar-stream": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.1.tgz", + "integrity": "sha512-IFLM5wp3QrJODQFPm6/to3LJZrONdBY/otxcvDIQzu217zKye6yVR3hhi9lAjrC2Z+m/j5oDxMPb1qcd8cIvpA==", + "requires": { + "bl": "1.2.2", + "buffer-alloc": "1.2.0", + "end-of-stream": "1.4.1", + "fs-constants": "1.0.0", + "readable-stream": "2.3.5", + "to-buffer": "1.1.1", + "xtend": "4.0.1" + } + }, + "tar.gz": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/tar.gz/-/tar.gz-1.0.7.tgz", + "integrity": "sha512-uhGatJvds/3diZrETqMj4RxBR779LKlIE74SsMcn5JProZsfs9j0QBwWO1RW+IWNJxS2x8Zzra1+AW6OQHWphg==", "requires": { - "os-tmpdir": "1.0.2", - "rimraf": "2.2.8" + "bluebird": "2.11.0", + "commander": "2.9.0", + "fstream": "1.0.11", + "mout": "0.11.1", + "tar": "2.2.1" }, "dependencies": { - "rimraf": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz", - "integrity": "sha1-5Dm+Kq7jJzIZUnMPmaiSnk/FBYI=", - "dev": true + "bluebird": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-2.11.0.tgz", + "integrity": "sha1-U0uQM8AiyVecVro7Plpcqvu2UOE=" } } }, @@ -9096,11 +8001,21 @@ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", "dev": true }, - "textextensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/textextensions/-/textextensions-2.2.0.tgz", - "integrity": "sha512-j5EMxnryTvKxwH2Cq+Pb43tsf6sdEgw6Pdwxk83mPaq0ToeFJt6WE4J3s5BqY7vmjlLgkgXvhtXUxo80FyBhCA==", - "dev": true + "thenify": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.0.tgz", + "integrity": "sha1-5p44obq+lpsBCCB5eLn2K4hgSDk=", + "requires": { + "any-promise": "1.3.0" + } + }, + "thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY=", + "requires": { + "thenify": "3.3.0" + } }, "through": { "version": "2.3.8", @@ -9111,7 +8026,6 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", - "dev": true, "requires": { "readable-stream": "2.3.5", "xtend": "4.0.1" @@ -9146,11 +8060,15 @@ "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", "dev": true }, + "to-buffer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz", + "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==" + }, "to-fast-properties": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", - "dev": true + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=" }, "to-object-path": { "version": "0.3.0", @@ -9191,6 +8109,11 @@ "punycode": "1.4.1" } }, + "treeify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/treeify/-/treeify-1.1.0.tgz", + "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==" + }, "trim": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", @@ -9199,8 +8122,7 @@ "trim-right": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", - "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", - "dev": true + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=" }, "truffle": { "version": "4.1.5", @@ -9238,6 +8160,86 @@ } } }, + "truffle-privatekey-provider": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/truffle-privatekey-provider/-/truffle-privatekey-provider-0.1.0.tgz", + "integrity": "sha512-PGYFIv3n/RfMyJeiw7vxIz8VjsZxduvyVwg8OhsQodeAc/0aWbNJom4Og4rh9XWYB5kBg1bZ1rgNnpZbsZKWFw==", + "requires": { + "ethereumjs-wallet": "0.6.0", + "web3": "1.0.0-beta.34", + "web3-provider-engine": "14.0.6" + }, + "dependencies": { + "ethereumjs-util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz", + "integrity": "sha512-CJAKdI0wgMbQFLlLRtZKGcy/L6pzVRgelIZqRqNbuVFM3K9VEnyfbcvz0ncWMRNCe4kaHWjwRYQcYMucmwsnWA==", + "requires": { + "bn.js": "4.11.8", + "create-hash": "1.1.3", + "ethjs-util": "0.1.4", + "keccak": "1.4.0", + "rlp": "2.0.0", + "safe-buffer": "5.1.1", + "secp256k1": "3.5.0" + } + }, + "ethereumjs-vm": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/ethereumjs-vm/-/ethereumjs-vm-2.3.5.tgz", + "integrity": "sha512-AJ7x44+xqyE5+UO3Nns19WkTdZfyqFZ+sEjIEpvme7Ipbe3iBU1uwCcHEdiu/yY9bdhr3IfSa/NfIKNeXPaRVQ==", + "requires": { + "async": "2.6.0", + "async-eventemitter": "0.2.4", + "ethereum-common": "0.2.0", + "ethereumjs-account": "2.0.4", + "ethereumjs-block": "1.7.1", + "ethereumjs-util": "5.2.0", + "fake-merkle-patricia-tree": "1.0.1", + "functional-red-black-tree": "1.0.1", + "merkle-patricia-tree": "2.3.1", + "rustbn.js": "0.1.2", + "safe-buffer": "5.1.1" + } + }, + "web3-provider-engine": { + "version": "14.0.6", + "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-14.0.6.tgz", + "integrity": "sha512-tr5cGSyxfSC/JqiUpBlJtfZpwQf1yAA8L/zy1C6fDFm0ntR974pobJ4v4676atpZne4Ze5VFy3kPPahHe9gQiQ==", + "requires": { + "async": "2.6.0", + "backoff": "2.5.0", + "clone": "2.1.2", + "cross-fetch": "2.2.2", + "eth-block-tracker": "3.0.1", + "eth-json-rpc-infura": "3.1.2", + "eth-sig-util": "1.4.2", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.4", + "ethereumjs-util": "5.2.0", + "ethereumjs-vm": "2.3.5", + "json-rpc-error": "2.0.0", + "json-stable-stringify": "1.0.1", + "promise-to-callback": "1.0.0", + "readable-stream": "2.3.5", + "request": "2.85.0", + "semaphore": "1.1.0", + "tape": "4.9.0", + "ws": "5.2.2", + "xhr": "2.4.1", + "xtend": "4.0.1" + } + }, + "ws": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", + "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", + "requires": { + "async-limiter": "1.0.0" + } + } + } + }, "tty-browserify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", @@ -9285,8 +8287,15 @@ "typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", - "dev": true + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "requires": { + "is-typedarray": "1.0.0" + } }, "uglify-js": { "version": "2.8.29", @@ -9348,6 +8357,37 @@ "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==" }, + "unbzip2-stream": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.2.5.tgz", + "integrity": "sha512-izD3jxT8xkzwtXRUZjtmRwKnZoeECrfZ8ra/ketwOcusbZEp4mjULMnJOCfTDZBgGQAAY1AJ/IgxcwkavcX9Og==", + "requires": { + "buffer": "3.6.0", + "through": "2.3.8" + }, + "dependencies": { + "base64-js": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + }, + "buffer": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-3.6.0.tgz", + "integrity": "sha1-pyyTb3e5a/UvX357RnGAYoVR3vs=", + "requires": { + "base64-js": "0.0.8", + "ieee754": "1.1.11", + "isarray": "1.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + } + } + }, "underscore": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", @@ -9444,12 +8484,6 @@ } } }, - "untildify": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/untildify/-/untildify-3.0.2.tgz", - "integrity": "sha1-fx8wIFWz/qDz6B3HjrNnZstl4/E=", - "dev": true - }, "upath": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/upath/-/upath-1.0.4.tgz", @@ -9481,12 +8515,11 @@ } }, "url-parse-lax": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", - "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=", - "dev": true, + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", + "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", "requires": { - "prepend-http": "2.0.0" + "prepend-http": "1.0.4" } }, "url-set-query": { @@ -9497,8 +8530,7 @@ "url-to-options": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz", - "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=", - "dev": true + "integrity": "sha1-FQWgOiiaSMvXpDTvuu7FBV9WM6k=" }, "use": { "version": "3.1.0", @@ -9554,12 +8586,6 @@ "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz", "integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=" }, - "v8-compile-cache": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-1.1.2.tgz", - "integrity": "sha512-ejdrifsIydN1XDH7EuR2hn8ZrkRKUYF7tUcBjBy/lhrCvs2K+zRlbW9UHc0IQ9RsYFZJFqJrieoIHfkCa0DBRA==", - "dev": true - }, "validate-npm-package-license": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz", @@ -9584,39 +8610,6 @@ "extsprintf": "1.3.0" } }, - "vinyl": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz", - "integrity": "sha1-XIgDbPVl5d8FVYv8kR+GVt8hiIQ=", - "dev": true, - "requires": { - "clone": "1.0.4", - "clone-stats": "0.0.1", - "replace-ext": "0.0.1" - }, - "dependencies": { - "clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", - "dev": true - } - } - }, - "vinyl-file": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/vinyl-file/-/vinyl-file-2.0.0.tgz", - "integrity": "sha1-p+v1/779obfRjRQPyweyI++2dRo=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "pify": "2.3.0", - "pinkie-promise": "2.0.1", - "strip-bom": "2.0.0", - "strip-bom-stream": "2.0.0", - "vinyl": "1.2.0" - } - }, "vm-browserify": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", @@ -9638,118 +8631,197 @@ } }, "web3": { - "version": "1.0.0-beta2", - "resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta2.tgz", - "integrity": "sha1-vek+K4jEMWc/JdgSmCIaHsKxqe8=", - "dev": true - }, - "web3-core-helpers": { - "version": "1.0.0-beta.33", - "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.33.tgz", - "integrity": "sha1-Kvcz5QTbBefDZIwdrPV3sOwV3EM=", - "requires": { - "underscore": "1.8.3", - "web3-eth-iban": "1.0.0-beta.33", - "web3-utils": "1.0.0-beta.33" - } - }, - "web3-eth-abi": { - "version": "1.0.0-beta.33", - "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.33.tgz", - "integrity": "sha1-IiH3FRZDZgAypN80D2EjSRaMgko=", - "requires": { - "bn.js": "4.11.6", - "underscore": "1.8.3", - "web3-core-helpers": "1.0.0-beta.33", - "web3-utils": "1.0.0-beta.33" + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta.34.tgz", + "integrity": "sha1-NH5WG3hAmMtVYzFfSQR5odkfKrE=", + "requires": { + "web3-bzz": "1.0.0-beta.34", + "web3-core": "1.0.0-beta.34", + "web3-eth": "1.0.0-beta.34", + "web3-eth-personal": "1.0.0-beta.34", + "web3-net": "1.0.0-beta.34", + "web3-shh": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + }, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", + "requires": { + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" + } } } }, - "web3-eth-iban": { - "version": "1.0.0-beta.33", - "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.33.tgz", - "integrity": "sha1-HXPQxSiKRWWxdUp1tfs+oLd6Uy8=", + "web3-bzz": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.0.0-beta.34.tgz", + "integrity": "sha1-Bo03d3q2Xlxg+OyLmlDP5FJ3kpw=", "requires": { - "bn.js": "4.11.6", - "web3-utils": "1.0.0-beta.33" + "got": "7.1.0", + "swarm-js": "0.1.37", + "underscore": "1.8.3" + } + }, + "web3-core": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.0.0-beta.34.tgz", + "integrity": "sha1-EhvoVV6fsA0sXQXd0zgdDJ5GmH4=", + "requires": { + "web3-core-helpers": "1.0.0-beta.34", + "web3-core-method": "1.0.0-beta.34", + "web3-core-requestmanager": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" }, "dependencies": { "bn.js": { "version": "4.11.6", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + }, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", + "requires": { + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" + } + }, + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", + "requires": { + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" + } + }, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", + "requires": { + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" + } } } }, - "web3-provider-engine": { - "version": "8.6.1", - "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-8.6.1.tgz", - "integrity": "sha1-TYbhnjDKr5ffNRUR7A9gE25bMOs=", + "web3-core-helpers": { + "version": "1.0.0-beta.33", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.33.tgz", + "integrity": "sha1-Kvcz5QTbBefDZIwdrPV3sOwV3EM=", "requires": { - "async": "2.6.0", - "clone": "2.1.2", - "ethereumjs-block": "1.7.1", - "ethereumjs-tx": "1.3.4", - "ethereumjs-util": "5.1.5", - "ethereumjs-vm": "2.3.3", - "isomorphic-fetch": "2.2.1", - "request": "2.85.0", - "semaphore": "1.1.0", - "solc": "0.4.21", - "tape": "4.9.0", - "web3": "0.16.0", - "xhr": "2.4.1", - "xtend": "4.0.1" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.33", + "web3-utils": "1.0.0-beta.33" + } + }, + "web3-core-method": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.0.0-beta.34.tgz", + "integrity": "sha1-7BY8iixJD6AqfsFVWfpzB/x8xt0=", + "requires": { + "underscore": "1.8.3", + "web3-core-helpers": "1.0.0-beta.34", + "web3-core-promievent": "1.0.0-beta.34", + "web3-core-subscriptions": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" }, "dependencies": { - "bignumber.js": { - "version": "git+https://github.com/debris/bignumber.js.git#c7a38de919ed75e6fb6ba38051986e294b328df9" + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" }, - "ethereumjs-util": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.1.5.tgz", - "integrity": "sha512-xPaSEATYJpMTCGowIt0oMZwFP4R1bxd6QsWgkcDvFL0JtXsr39p32WEcD14RscCjfP41YXZPCVWA4yAg0nrJmw==", + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", "requires": { - "bn.js": "4.11.8", - "create-hash": "1.1.3", - "ethjs-util": "0.1.4", - "keccak": "1.4.0", - "rlp": "2.0.0", - "safe-buffer": "5.1.1", - "secp256k1": "3.5.0" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "web3": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/web3/-/web3-0.16.0.tgz", - "integrity": "sha1-pFVBdc1GKUMDWx8dOUMvdBxrYBk=", + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", "requires": { - "bignumber.js": "git+https://github.com/debris/bignumber.js.git#c7a38de919ed75e6fb6ba38051986e294b328df9", - "crypto-js": "3.1.8", - "utf8": "2.1.2", - "xmlhttprequest": "1.8.0" + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" + } + }, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", + "requires": { + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" } } } }, - "web3-utils": { - "version": "1.0.0-beta.33", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.33.tgz", - "integrity": "sha1-4JG3mU8JtxSwGYpAV9OtLrjL4jg=", + "web3-core-promievent": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.0.0-beta.34.tgz", + "integrity": "sha1-pPT6Z4S7KT6CxglgrltWqUzQPtw=", + "requires": { + "any-promise": "1.3.0", + "eventemitter3": "1.1.1" + } + }, + "web3-core-requestmanager": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.0.0-beta.34.tgz", + "integrity": "sha1-Afj2zyrmtvC3DDi64e90G1urIVw=", "requires": { - "bn.js": "4.11.6", - "eth-lib": "0.1.27", - "ethjs-unit": "0.1.6", - "number-to-bn": "1.7.0", - "randomhex": "0.1.5", "underscore": "1.8.3", - "utf8": "2.1.1" + "web3-core-helpers": "1.0.0-beta.34", + "web3-providers-http": "1.0.0-beta.34", + "web3-providers-ipc": "1.0.0-beta.34", + "web3-providers-ws": "1.0.0-beta.34" }, "dependencies": { "bn.js": { @@ -9761,463 +8833,789 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", + "requires": { + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" + } + }, + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", + "requires": { + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" + } + }, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", + "requires": { + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" + } } } }, - "webpack": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-2.7.0.tgz", - "integrity": "sha512-MjAA0ZqO1ba7ZQJRnoCdbM56mmFpipOPUv/vQpwwfSI42p5PVDdoiuK2AL2FwFUVgT859Jr43bFZXRg/LNsqvg==", - "dev": true, + "web3-core-subscriptions": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.0.0-beta.34.tgz", + "integrity": "sha1-n+0UQDPyIcPPIQYDAv/a9e8t4t4=", "requires": { - "acorn": "5.5.3", - "acorn-dynamic-import": "2.0.2", - "ajv": "4.11.8", - "ajv-keywords": "1.5.1", - "async": "2.6.0", - "enhanced-resolve": "3.4.1", - "interpret": "1.1.0", - "json-loader": "0.5.7", - "json5": "0.5.1", - "loader-runner": "2.3.0", - "loader-utils": "0.2.17", - "memory-fs": "0.4.1", - "mkdirp": "0.5.1", - "node-libs-browser": "2.1.0", - "source-map": "0.5.7", - "supports-color": "3.1.2", - "tapable": "0.2.8", - "uglify-js": "2.8.29", - "watchpack": "1.5.0", - "webpack-sources": "1.1.0", - "yargs": "6.6.0" + "eventemitter3": "1.1.1", + "underscore": "1.8.3", + "web3-core-helpers": "1.0.0-beta.34" }, "dependencies": { - "ajv": { - "version": "4.11.8", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", - "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", - "dev": true, + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + }, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", "requires": { - "co": "4.6.0", - "json-stable-stringify": "1.0.1" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "yargs": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz", - "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=", - "dev": true, + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", "requires": { - "camelcase": "3.0.0", - "cliui": "3.2.0", - "decamelize": "1.2.0", - "get-caller-file": "1.0.2", - "os-locale": "1.4.0", - "read-pkg-up": "1.0.1", - "require-directory": "2.1.1", - "require-main-filename": "1.0.1", - "set-blocking": "2.0.0", - "string-width": "1.0.2", - "which-module": "1.0.0", - "y18n": "3.2.1", - "yargs-parser": "4.2.1" + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" } }, - "yargs-parser": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz", - "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=", - "dev": true, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", "requires": { - "camelcase": "3.0.0" + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" } } } }, - "webpack-addons": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/webpack-addons/-/webpack-addons-1.1.5.tgz", - "integrity": "sha512-MGO0nVniCLFAQz1qv22zM02QPjcpAoJdy7ED0i3Zy7SY1IecgXCm460ib7H/Wq7e9oL5VL6S2BxaObxwIcag0g==", - "dev": true, + "web3-eth": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.0.0-beta.34.tgz", + "integrity": "sha1-dAhgAIUMb+b1Ne9Jg31tS7YRMmg=", "requires": { - "jscodeshift": "0.4.1" + "underscore": "1.8.3", + "web3-core": "1.0.0-beta.34", + "web3-core-helpers": "1.0.0-beta.34", + "web3-core-method": "1.0.0-beta.34", + "web3-core-subscriptions": "1.0.0-beta.34", + "web3-eth-abi": "1.0.0-beta.34", + "web3-eth-accounts": "1.0.0-beta.34", + "web3-eth-contract": "1.0.0-beta.34", + "web3-eth-iban": "1.0.0-beta.34", + "web3-eth-personal": "1.0.0-beta.34", + "web3-net": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" }, "dependencies": { - "arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dev": true, + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + }, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", "requires": { - "arr-flatten": "1.1.0" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "dev": true + "web3-eth-abi": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.34.tgz", + "integrity": "sha1-A0Uz46ovfln/MXk+rqaFwO1a9no=", + "requires": { + "bn.js": "4.11.6", + "underscore": "1.8.3", + "web3-core-helpers": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" + } }, - "ast-types": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.10.1.tgz", - "integrity": "sha512-UY7+9DPzlJ9VM8eY0b2TUZcZvF+1pO0hzMtAyjBYKhOmnvRlqYNYnWdtsMj0V16CGaMlpL0G1jnLbLo4AyotuQ==", - "dev": true + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", + "requires": { + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" + } }, - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", - "dev": true + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", + "requires": { + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" + } + } + } + }, + "web3-eth-abi": { + "version": "1.0.0-beta.33", + "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.33.tgz", + "integrity": "sha1-IiH3FRZDZgAypN80D2EjSRaMgko=", + "requires": { + "bn.js": "4.11.6", + "underscore": "1.8.3", + "web3-core-helpers": "1.0.0-beta.33", + "web3-utils": "1.0.0-beta.33" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + } + } + }, + "web3-eth-accounts": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.0.0-beta.34.tgz", + "integrity": "sha1-4JFC7uzHl6w0WbdemyOUbTaV8zM=", + "requires": { + "any-promise": "1.3.0", + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.7", + "scrypt.js": "0.2.0", + "underscore": "1.8.3", + "uuid": "2.0.1", + "web3-core": "1.0.0-beta.34", + "web3-core-helpers": "1.0.0-beta.34", + "web3-core-method": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" + }, + "dependencies": { + "eth-lib": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.7.tgz", + "integrity": "sha1-L5Pxex4jrsN1nNSj/iDBKGo/wco=", + "requires": { + "bn.js": "4.11.8", + "elliptic": "6.4.0", + "xhr-request-promise": "0.1.2" + } }, - "braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dev": true, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "uuid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", + "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" + }, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", "requires": { - "expand-range": "1.8.2", - "preserve": "0.2.0", - "repeat-element": "1.1.2" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dev": true, + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", "requires": { - "is-posix-bracket": "0.1.1" + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + } } }, - "extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dev": true, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", "requires": { - "is-extglob": "1.0.0" + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + }, + "eth-lib": { + "version": "0.1.27", + "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.1.27.tgz", + "integrity": "sha512-B8czsfkJYzn2UIEMwjc7Mbj+Cy72V+/OXH/tb44LV8jhrjizQJJ325xMOMyk3+ETa6r6oi0jsUY14+om8mQMWA==", + "requires": { + "bn.js": "4.11.6", + "elliptic": "6.4.0", + "keccakjs": "0.2.1", + "nano-json-stream-parser": "0.1.2", + "servify": "0.1.12", + "ws": "3.3.3", + "xhr-request-promise": "0.1.2" + } + } } + } + } + }, + "web3-eth-contract": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.0.0-beta.34.tgz", + "integrity": "sha1-nbs4+udkOoCEJ6IBgEcOx0FckeY=", + "requires": { + "underscore": "1.8.3", + "web3-core": "1.0.0-beta.34", + "web3-core-helpers": "1.0.0-beta.34", + "web3-core-method": "1.0.0-beta.34", + "web3-core-promievent": "1.0.0-beta.34", + "web3-core-subscriptions": "1.0.0-beta.34", + "web3-eth-abi": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" }, - "is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "dev": true + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" }, - "is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dev": true, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", "requires": { - "is-extglob": "1.0.0" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "jscodeshift": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/jscodeshift/-/jscodeshift-0.4.1.tgz", - "integrity": "sha512-iOX6If+hsw0q99V3n31t4f5VlD1TQZddH08xbT65ZqA7T4Vkx68emrDZMUOLVvCEAJ6NpAk7DECe3fjC/t52AQ==", - "dev": true, + "web3-eth-abi": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.34.tgz", + "integrity": "sha1-A0Uz46ovfln/MXk+rqaFwO1a9no=", "requires": { - "async": "1.5.2", - "babel-plugin-transform-flow-strip-types": "6.22.0", - "babel-preset-es2015": "6.24.1", - "babel-preset-stage-1": "6.24.1", - "babel-register": "6.26.0", - "babylon": "6.18.0", - "colors": "1.2.1", - "flow-parser": "0.70.0", - "lodash": "4.17.5", - "micromatch": "2.3.11", - "node-dir": "0.1.8", - "nomnom": "1.8.1", - "recast": "0.12.9", - "temp": "0.8.3", - "write-file-atomic": "1.3.4" + "bn.js": "4.11.6", + "underscore": "1.8.3", + "web3-core-helpers": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dev": true, + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", "requires": { - "arr-diff": "2.0.0", - "array-unique": "0.2.1", - "braces": "1.8.5", - "expand-brackets": "0.1.5", - "extglob": "0.3.2", - "filename-regex": "2.0.1", - "is-extglob": "1.0.0", - "is-glob": "2.0.1", - "kind-of": "3.2.2", - "normalize-path": "2.1.1", - "object.omit": "2.0.1", - "parse-glob": "3.0.4", - "regex-cache": "0.4.4" + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" } }, - "recast": { - "version": "0.12.9", - "resolved": "https://registry.npmjs.org/recast/-/recast-0.12.9.tgz", - "integrity": "sha512-y7ANxCWmMW8xLOaiopiRDlyjQ9ajKRENBH+2wjntIbk3A6ZR1+BLQttkmSHMY7Arl+AAZFwJ10grg2T6f1WI8A==", - "dev": true, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", "requires": { - "ast-types": "0.10.1", - "core-js": "2.5.5", - "esprima": "4.0.0", - "private": "0.1.8", - "source-map": "0.6.1" + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" } - }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true } } }, - "webpack-cli": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-2.0.14.tgz", - "integrity": "sha512-gRoWaxSi2JWiYsn1QgOTb6ENwIeSvN1YExZ+kJ0STsTZK7bWPElW+BBBv1UnTbvcPC3v7E17mK8hlFX8DOYSGw==", - "dev": true, + "web3-eth-iban": { + "version": "1.0.0-beta.33", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.33.tgz", + "integrity": "sha1-HXPQxSiKRWWxdUp1tfs+oLd6Uy8=", "requires": { - "chalk": "2.3.2", - "cross-spawn": "6.0.5", - "diff": "3.5.0", - "enhanced-resolve": "4.0.0", - "envinfo": "4.4.2", - "glob-all": "3.1.0", - "global-modules": "1.0.0", - "got": "8.3.0", - "import-local": "1.0.0", - "inquirer": "5.2.0", - "interpret": "1.1.0", - "jscodeshift": "0.5.0", - "listr": "0.13.0", - "loader-utils": "1.1.0", - "lodash": "4.17.5", - "log-symbols": "2.2.0", - "mkdirp": "0.5.1", - "p-each-series": "1.0.0", - "p-lazy": "1.0.0", - "prettier": "1.12.0", - "supports-color": "5.3.0", - "v8-compile-cache": "1.1.2", - "webpack-addons": "1.1.5", - "yargs": "11.1.0", - "yeoman-environment": "2.0.6", - "yeoman-generator": "2.0.4" + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.33" }, "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + } + } + }, + "web3-eth-personal": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.0.0-beta.34.tgz", + "integrity": "sha1-mvuhZzQuveVCC81YlcP2w0OI8gU=", + "requires": { + "web3-core": "1.0.0-beta.34", + "web3-core-helpers": "1.0.0-beta.34", + "web3-core-method": "1.0.0-beta.34", + "web3-net": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", "requires": { - "color-convert": "1.9.1" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", - "dev": true + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", + "requires": { + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" + } }, - "chalk": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz", - "integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==", - "dev": true, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", "requires": { - "ansi-styles": "3.2.1", - "escape-string-regexp": "1.0.5", - "supports-color": "5.3.0" + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" } + } + } + }, + "web3-net": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.0.0-beta.34.tgz", + "integrity": "sha1-QnzqL0MYgUScjjjVIykPFz+f9j0=", + "requires": { + "web3-core": "1.0.0-beta.34", + "web3-core-method": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" }, - "cliui": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.0.0.tgz", - "integrity": "sha512-nY3W5Gu2racvdDk//ELReY+dHjb9PlIcVDFXP72nVIhq2Gy3LuVXYwJoPVudwQnv1shtohpgkdCKT2YaKY0CKw==", - "dev": true, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", "requires": { - "string-width": "2.1.1", - "strip-ansi": "4.0.0", - "wrap-ansi": "2.1.0" + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" } + } + } + }, + "web3-provider-engine": { + "version": "8.6.1", + "resolved": "https://registry.npmjs.org/web3-provider-engine/-/web3-provider-engine-8.6.1.tgz", + "integrity": "sha1-TYbhnjDKr5ffNRUR7A9gE25bMOs=", + "requires": { + "async": "2.6.0", + "clone": "2.1.2", + "ethereumjs-block": "1.7.1", + "ethereumjs-tx": "1.3.4", + "ethereumjs-util": "5.1.5", + "ethereumjs-vm": "2.3.3", + "isomorphic-fetch": "2.2.1", + "request": "2.85.0", + "semaphore": "1.1.0", + "solc": "0.4.21", + "tape": "4.9.0", + "web3": "0.16.0", + "xhr": "2.4.1", + "xtend": "4.0.1" + }, + "dependencies": { + "bignumber.js": { + "version": "git+https://github.com/debris/bignumber.js.git#c7a38de919ed75e6fb6ba38051986e294b328df9" }, - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, + "ethereumjs-util": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.1.5.tgz", + "integrity": "sha512-xPaSEATYJpMTCGowIt0oMZwFP4R1bxd6QsWgkcDvFL0JtXsr39p32WEcD14RscCjfP41YXZPCVWA4yAg0nrJmw==", "requires": { - "nice-try": "1.0.4", - "path-key": "2.0.1", - "semver": "5.5.0", - "shebang-command": "1.2.0", - "which": "1.3.0" + "bn.js": "4.11.8", + "create-hash": "1.1.3", + "ethjs-util": "0.1.4", + "keccak": "1.4.0", + "rlp": "2.0.0", + "safe-buffer": "5.1.1", + "secp256k1": "3.5.0" } }, - "enhanced-resolve": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.0.0.tgz", - "integrity": "sha512-jox/62b2GofV1qTUQTMPEJSDIGycS43evqYzD/KVtEb9OCoki9cnacUPxCrZa7JfPzZSYOCZhu9O9luaMxAX8g==", - "dev": true, + "web3": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/web3/-/web3-0.16.0.tgz", + "integrity": "sha1-pFVBdc1GKUMDWx8dOUMvdBxrYBk=", "requires": { - "graceful-fs": "4.1.11", - "memory-fs": "0.4.1", - "tapable": "1.0.0" + "bignumber.js": "git+https://github.com/debris/bignumber.js.git#c7a38de919ed75e6fb6ba38051986e294b328df9", + "crypto-js": "3.1.8", + "utf8": "2.1.2", + "xmlhttprequest": "1.8.0" } + } + } + }, + "web3-providers-http": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.0.0-beta.34.tgz", + "integrity": "sha1-5WG1K7tDdmKCAH1AKFv+NVDCfno=", + "requires": { + "web3-core-helpers": "1.0.0-beta.34", + "xhr2": "0.1.4" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", "requires": { - "locate-path": "2.0.0" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", + "requires": { + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" + } }, - "inquirer": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-5.2.0.tgz", - "integrity": "sha512-E9BmnJbAKLPGonz0HeWHtbKf+EeSP93paWO3ZYoUpq/aowXvYGjjCSuashhXPpzbArIjBbji39THkxTz9ZeEUQ==", - "dev": true, + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", "requires": { - "ansi-escapes": "3.1.0", - "chalk": "2.3.2", - "cli-cursor": "2.1.0", - "cli-width": "2.2.0", - "external-editor": "2.2.0", - "figures": "2.0.0", - "lodash": "4.17.5", - "mute-stream": "0.0.7", - "run-async": "2.3.0", - "rxjs": "5.5.10", - "string-width": "2.1.1", - "strip-ansi": "4.0.0", - "through": "2.3.8" + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" } + } + } + }, + "web3-providers-ipc": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.0.0-beta.34.tgz", + "integrity": "sha1-obd/GjBtc2SanAOQUuQMtxMo0Ao=", + "requires": { + "oboe": "2.1.3", + "underscore": "1.8.3", + "web3-core-helpers": "1.0.0-beta.34" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" }, - "loader-utils": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", - "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", - "dev": true, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", "requires": { - "big.js": "3.2.0", - "emojis-list": "2.1.0", - "json5": "0.5.1" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "os-locale": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", - "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", - "dev": true, + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", "requires": { - "execa": "0.7.0", - "lcid": "1.0.0", - "mem": "1.1.0" + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" } }, - "semver": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", - "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", - "dev": true + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", + "requires": { + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" + } + } + } + }, + "web3-providers-ws": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.0.0-beta.34.tgz", + "integrity": "sha1-fecPG4Py3jZHZ3IVa+z+9uNRbrM=", + "requires": { + "underscore": "1.8.3", + "web3-core-helpers": "1.0.0-beta.34", + "websocket": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" }, - "string-width": { + "utf8": { "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + }, + "web3-core-helpers": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.34.tgz", + "integrity": "sha1-sWjaANPhnhVrwVriAyA91N/uLQM=", "requires": { - "is-fullwidth-code-point": "2.0.0", - "strip-ansi": "4.0.0" + "underscore": "1.8.3", + "web3-eth-iban": "1.0.0-beta.34", + "web3-utils": "1.0.0-beta.34" } }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, + "web3-eth-iban": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.34.tgz", + "integrity": "sha1-mvRYYFhnzPdOqXmq8yazi6alugw=", "requires": { - "ansi-regex": "3.0.0" + "bn.js": "4.11.6", + "web3-utils": "1.0.0-beta.34" } }, - "supports-color": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz", - "integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==", + "web3-utils": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.34.tgz", + "integrity": "sha1-lBH8OarvOcpOBhafdiKX2f8CCXA=", + "requires": { + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" + } + } + } + }, + "web3-shh": { + "version": "1.0.0-beta.34", + "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.0.0-beta.34.tgz", + "integrity": "sha1-l1Bh1x6uxCzO5Xb3vY9w8DhEr+A=", + "requires": { + "web3-core": "1.0.0-beta.34", + "web3-core-method": "1.0.0-beta.34", + "web3-core-subscriptions": "1.0.0-beta.34", + "web3-net": "1.0.0-beta.34" + } + }, + "web3-utils": { + "version": "1.0.0-beta.33", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.33.tgz", + "integrity": "sha1-4JG3mU8JtxSwGYpAV9OtLrjL4jg=", + "requires": { + "bn.js": "4.11.6", + "eth-lib": "0.1.27", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randomhex": "0.1.5", + "underscore": "1.8.3", + "utf8": "2.1.1" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" + }, + "utf8": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", + "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" + } + } + }, + "webpack": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-2.7.0.tgz", + "integrity": "sha512-MjAA0ZqO1ba7ZQJRnoCdbM56mmFpipOPUv/vQpwwfSI42p5PVDdoiuK2AL2FwFUVgT859Jr43bFZXRg/LNsqvg==", + "dev": true, + "requires": { + "acorn": "5.5.3", + "acorn-dynamic-import": "2.0.2", + "ajv": "4.11.8", + "ajv-keywords": "1.5.1", + "async": "2.6.0", + "enhanced-resolve": "3.4.1", + "interpret": "1.1.0", + "json-loader": "0.5.7", + "json5": "0.5.1", + "loader-runner": "2.3.0", + "loader-utils": "0.2.17", + "memory-fs": "0.4.1", + "mkdirp": "0.5.1", + "node-libs-browser": "2.1.0", + "source-map": "0.5.7", + "supports-color": "3.1.2", + "tapable": "0.2.8", + "uglify-js": "2.8.29", + "watchpack": "1.5.0", + "webpack-sources": "1.1.0", + "yargs": "6.6.0" + }, + "dependencies": { + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", "dev": true, "requires": { - "has-flag": "3.0.0" + "co": "4.6.0", + "json-stable-stringify": "1.0.1" } }, - "tapable": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.0.0.tgz", - "integrity": "sha512-dQRhbNQkRnaqauC7WqSJ21EEksgT0fYZX2lqXzGkpo8JNig9zGZTYoMGvyI2nWmXlE2VSVXVDu7wLVGu/mQEsg==", - "dev": true - }, - "which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", - "dev": true - }, "yargs": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-11.1.0.tgz", - "integrity": "sha512-NwW69J42EsCSanF8kyn5upxvjp5ds+t3+udGBeTbFnERA+lF541DDpMawzo4z6W/QrzNM18D+BPMiOBibnFV5A==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz", + "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=", "dev": true, "requires": { - "cliui": "4.0.0", + "camelcase": "3.0.0", + "cliui": "3.2.0", "decamelize": "1.2.0", - "find-up": "2.1.0", "get-caller-file": "1.0.2", - "os-locale": "2.1.0", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", "require-directory": "2.1.1", "require-main-filename": "1.0.1", "set-blocking": "2.0.0", - "string-width": "2.1.1", - "which-module": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", "y18n": "3.2.1", - "yargs-parser": "9.0.2" + "yargs-parser": "4.2.1" } }, "yargs-parser": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz", - "integrity": "sha1-nM9qQ0YP5O1Aqbto9I1DuKaMwHc=", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz", + "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=", "dev": true, "requires": { - "camelcase": "4.1.0" + "camelcase": "3.0.0" } } } @@ -10240,6 +9638,15 @@ } } }, + "websocket": { + "version": "git://github.com/frozeman/WebSocket-Node.git#6c72925e3f8aaaea8dc8450f97627e85263999f2", + "requires": { + "debug": "2.6.9", + "nan": "2.10.0", + "typedarray-to-buffer": "3.1.5", + "yaeti": "0.0.6" + } + }, "whatwg-fetch": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz", @@ -10293,17 +9700,6 @@ "mkdirp": "0.5.1" } }, - "write-file-atomic": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.3.4.tgz", - "integrity": "sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "imurmurhash": "0.1.4", - "slide": "1.1.6" - } - }, "ws": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", @@ -10367,6 +9763,11 @@ "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" }, + "yaeti": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", + "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" + }, "yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", @@ -10403,247 +9804,13 @@ "lodash.assign": "4.2.0" } }, - "yeoman-environment": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/yeoman-environment/-/yeoman-environment-2.0.6.tgz", - "integrity": "sha512-jzHBTTy8EPI4ImV8dpUMt+Q5zELkSU5xvGpndHcHudQ4tqN6YgIWaCGmRFl+HDchwRUkcgyjQ+n6/w5zlJBCPg==", - "dev": true, - "requires": { - "chalk": "2.3.2", - "debug": "3.1.0", - "diff": "3.5.0", - "escape-string-regexp": "1.0.5", - "globby": "6.1.0", - "grouped-queue": "0.3.3", - "inquirer": "3.3.0", - "is-scoped": "1.0.0", - "lodash": "4.17.5", - "log-symbols": "2.2.0", - "mem-fs": "1.1.3", - "text-table": "0.2.0", - "untildify": "3.0.2" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } - }, - "chalk": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz", - "integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==", - "dev": true, - "requires": { - "ansi-styles": "3.2.1", - "escape-string-regexp": "1.0.5", - "supports-color": "5.3.0" - } - }, - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "dev": true, - "requires": { - "array-union": "1.0.2", - "glob": "7.1.2", - "object-assign": "4.1.1", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "supports-color": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz", - "integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==", - "dev": true, - "requires": { - "has-flag": "3.0.0" - } - } - } - }, - "yeoman-generator": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/yeoman-generator/-/yeoman-generator-2.0.4.tgz", - "integrity": "sha512-Sgvz3MAkOpEIobcpW3rjEl6bOTNnl8SkibP9z7hYKfIGIlw0QDC2k0MAeXvyE2pLqc2M0Duql+6R7/W9GrJojg==", - "dev": true, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", "requires": { - "async": "2.6.0", - "chalk": "2.3.2", - "cli-table": "0.3.1", - "cross-spawn": "5.1.0", - "dargs": "5.1.0", - "dateformat": "3.0.3", - "debug": "3.1.0", - "detect-conflict": "1.0.1", - "error": "7.0.2", - "find-up": "2.1.0", - "github-username": "4.1.0", - "istextorbinary": "2.2.1", - "lodash": "4.17.5", - "make-dir": "1.2.0", - "mem-fs-editor": "3.0.2", - "minimist": "1.2.0", - "pretty-bytes": "4.0.2", - "read-chunk": "2.1.0", - "read-pkg-up": "3.0.0", - "rimraf": "2.6.2", - "run-async": "2.3.0", - "shelljs": "0.8.1", - "text-table": "0.2.0", - "through2": "2.0.3", - "yeoman-environment": "2.0.6" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } - }, - "chalk": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz", - "integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==", - "dev": true, - "requires": { - "ansi-styles": "3.2.1", - "escape-string-regexp": "1.0.5", - "supports-color": "5.3.0" - } - }, - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "2.0.0" - } - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true - }, - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "dev": true, - "requires": { - "graceful-fs": "4.1.11", - "parse-json": "4.0.0", - "pify": "3.0.0", - "strip-bom": "3.0.0" - } - }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "requires": { - "error-ex": "1.3.1", - "json-parse-better-errors": "1.0.2" - } - }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "requires": { - "pify": "3.0.0" - } - }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - }, - "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", - "dev": true, - "requires": { - "load-json-file": "4.0.0", - "normalize-package-data": "2.4.0", - "path-type": "3.0.0" - } - }, - "read-pkg-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", - "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", - "dev": true, - "requires": { - "find-up": "2.1.0", - "read-pkg": "3.0.0" - } - }, - "shelljs": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.1.tgz", - "integrity": "sha512-YA/iYtZpzFe5HyWVGrb02FjPxc4EMCfpoU/Phg9fQoyMC72u9598OUBrsU8IrtwAKG0tO8IYaqbaLIw+k3IRGA==", - "dev": true, - "requires": { - "glob": "7.1.2", - "interpret": "1.1.0", - "rechoir": "0.6.2" - } - }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "dev": true - }, - "supports-color": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz", - "integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==", - "dev": true, - "requires": { - "has-flag": "3.0.0" - } - } + "buffer-crc32": "0.2.13", + "fd-slicer": "1.1.0" } }, "zeppelin-solidity": { diff --git a/package.json b/package.json index 1f21956..ad96bc3 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,8 @@ "fs": "0.0.1-security", "papaparse": "^4.3.7", "truffle-hdwallet-provider": "0.0.3", + "truffle-privatekey-provider": "^0.1.0", + "web3": "^1.0.0-beta.34", "web3-eth-abi": "^1.0.0-beta.33", "zeppelin-solidity": "1.6.0" }, @@ -43,7 +45,6 @@ "eth-gas-reporter": "^0.1.1", "ethereumjs-abi": "^0.6.4", "ethers": "^2.1.3", - "truffle": "^4.1.5", - "web3": "^1.0.0-beta2" + "truffle": "^4.1.5" } } diff --git a/scripts/setupKovan.js b/scripts/setupKovan.js index 8309125..ddb6d58 100644 --- a/scripts/setupKovan.js +++ b/scripts/setupKovan.js @@ -15,7 +15,6 @@ const csoDether = "0xC5F8a06ed1CfB17d0366eF03FEDF37568B0ce246"; const kycDelegateTestnet = '0x32BedF6609f002A591f871009C8e66D84F98d48E'; const initScript = '0x391edA1b8D31f891d1653B131779751BdeDA24D3'; - const ownerdeploy = "0x6AAb2B0913B70270E840B14c2b23B716C0a43522" module.exports = async (callback) => { diff --git a/scripts/setupMainnet.js b/scripts/setupMainnet.js index a8a7d50..1889704 100644 --- a/scripts/setupMainnet.js +++ b/scripts/setupMainnet.js @@ -7,13 +7,12 @@ const KycCertifier = artifacts.require('./certifier/KycCertifier.sol'); const ExchangeRateOracle = artifacts.require('./ExchangeRateOracle.sol'); const ceoDether = "0x2C0Da9671c8021E48DA17aC3fAbc680d6839f3cf"; -const ownerCertifier = "0x2C0Da9671c8021E48DA17aC3fAbc680d6839f3cf"; -const cmoDether = "0x2C0Da9671c8021E48DA17aC3fAbc680d6839f3cf"; -const cfoDether = "0x2C0Da9671c8021E48DA17aC3fAbc680d6839f3cf"; -const csoDether = "0x2C0Da9671c8021E48DA17aC3fAbc680d6839f3cf"; +const cmoDether = "0x83290383aD087ca79FE13C251949B2964F5BA5da"; +const cfoDether = "0x83290383aD087ca79FE13C251949B2964F5BA5da"; +const csoDether = "0x83290383aD087ca79FE13C251949B2964F5BA5da"; const kycDelegate = '0xE7dFb797D9A18D62029a0EA2db40d12073928152'; -const initScript = '0x2C0Da9671c8021E48DA17aC3fAbc680d6839f3cf'; +const initScript = '0xE384850C8B9f1009d81C7657db179172b6C648D8'; const delay = ms => new Promise(resolve => setTimeout(resolve, ms)); @@ -31,8 +30,8 @@ module.exports = async (callback) => { console.log('address DetherToken => ', detherToken.address); const smsCertifier = await SmsCertifier.deployed(); console.log('address SmsCertifer => ', smsCertifier.address); - // const kycCertifier = await KycCertifier.deployed(); - // console.log('address KycCertifer => ', kycCertifier.address); + const kycCertifier = await KycCertifier.deployed(); + console.log('address KycCertifer => ', kycCertifier.address); const exchangeRateOracle = await ExchangeRateOracle.deployed(); console.log('Address ExchangeRateOracle => ', exchangeRateOracle.address); @@ -42,25 +41,25 @@ module.exports = async (callback) => { await detherCore.initContract(detherToken.address, detherBank.address); console.log('bank should be => ', detherBank.address, await detherCore.bank.call()); console.log('dth should be => ', detherToken.address, await detherCore.dth.call()); - await delay(30000); + await delay(42000); // // [DetherCore] set initial user roles (will be updated at the very last step down below) // - await detherCore.setCEO(ownerdeploy); - console.log('ceo should be => ', ownerdeploy, await detherCore.ceoAddress.call()); - await delay(30000); + // await detherCore.setCEO(ownerdeploy); + // console.log('ceo should be => ', ownerdeploy, await detherCore.ceoAddress.call()); + // await delay(42000); await detherCore.setCFO(ownerdeploy); console.log('cfo should be => ', ownerdeploy, await detherCore.cfoAddress.call()); console.log('delay'); - await delay(30000); + await delay(42000); await detherCore.setCSO(ownerdeploy); console.log('cso should be => ', ownerdeploy, await detherCore.csoAddress.call()); console.log('delay'); - await delay(30000); + await delay(42000); await detherCore.setCMO(ownerdeploy); console.log('cmo should be => ', ownerdeploy, await detherCore.cmoAddress.call()); console.log('delay'); - await delay(30000); + await delay(42000); // // // // // [DetherCore] set references (addresses) to other contracts @@ -68,15 +67,15 @@ module.exports = async (callback) => { await detherCore.setPriceOracle(exchangeRateOracle.address); console.log('priceOralce should be => ', exchangeRateOracle.address, await detherCore.priceOracle.call()); console.log('delay'); - await delay(30000); + await delay(42000); await detherCore.setSmsCertifier(smsCertifier.address); console.log('sms certifier should be => ', smsCertifier.address, await detherCore.smsCertifier.call()); console.log('delay'); - await delay(30000); - // await detherCore.setKycCertifier(kycCertifier.address); - // console.log('kyc certifier should be => ', kycCertifier.address, await detherCore.kycCertifier.call()); - // console.log('delay'); - // await delay(30000); + await delay(42000); + await detherCore.setKycCertifier(kycCertifier.address); + console.log('kyc certifier should be => ', kycCertifier.address, await detherCore.kycCertifier.call()); + console.log('delay'); + await delay(42000); // // [DetherCore] set moderator of shop/teller @@ -84,7 +83,7 @@ module.exports = async (callback) => { await detherCore.setTellerModerator(kycDelegate); // console.log('teller moderator should be => ', ceoDether, await detherCore.tellerModerators.call(ceoDether)); console.log('delay'); - await delay(30000); + await delay(42000); // // [DetherBank] set DetherToken address + set owner to the be the DetherCore contract @@ -92,11 +91,11 @@ module.exports = async (callback) => { await detherBank.setDth(detherToken.address); // console.log('dth inside detherBank should be => ', detherToken.address, await detherBank.detherToken.call()); console.log('delay'); - await delay(30000); + await delay(42000); await detherBank.transferOwnership(detherCore.address); console.log('owner bank should be => ', detherCore.address, await detherBank.owner.call()); console.log('delay'); - await delay(30000); + await delay(42000); // [SmsCertifier + KycCertifier] set person who can 'certify' users @@ -104,90 +103,40 @@ module.exports = async (callback) => { await smsCertifier.addDelegate(kycDelegate, 'smsDelegate'); console.log('kycDelegate should be a sms delegate => ', await smsCertifier.isDelegate.call(kycDelegate)); console.log('delay'); - await delay(30000); - // // - // // [DetherCore] set license prices - // // - await detherCore.setLicenceTellerPrice(web3.toHex('FR'), web3.toWei('50')); - console.log('licenceteller should be => ', '10', web3.fromWei(await detherCore.licenceTeller.call(web3.toHex('FR')))); - console.log('delay'); - await delay(30000); - await detherCore.setLicenceShopPrice(web3.toHex('FR'), web3.toWei('50')); - console.log('licenceshop should be => ', '10', web3.fromWei(await detherCore.licenceShop.call(web3.toHex('FR')))); - console.log('delay'); - await delay(30000); - await detherCore.setLicenceTellerPrice(web3.toHex('GI'), web3.toWei('50')); - console.log('licenceteller should be => ', '10', web3.fromWei(await detherCore.licenceTeller.call(web3.toHex('FR')))); - console.log('delay'); - await delay(30000); - await detherCore.setLicenceShopPrice(web3.toHex('GI'), web3.toWei('50')); - console.log('licenceshop should be => ', '10', web3.fromWei(await detherCore.licenceShop.call(web3.toHex('FR')))); - console.log('delay'); - await delay(30000); - // // - // // [DetherCore] set tier1 + tier2 daily sell limit (in usd) - // // - await detherCore.setSellDailyLimit(1, web3.toHex('FR'), 1000); - console.log('getSellDailyLimit tier1 FR should be => ', '1000', (await detherCore.getSellDailyLimit(1, web3.toHex('FR')))); - console.log('delay'); - await delay(30000); - await detherCore.setSellDailyLimit(2, web3.toHex('FR'), 5000); - console.log('getSellDailyLimit tier2 FR should be => ', '5000', (await detherCore.getSellDailyLimit(2, web3.toHex('FR')))); - console.log('delay'); - await delay(30000); - await detherCore.setSellDailyLimit(1, web3.toHex('GI'), 1000); - console.log('getSellDailyLimit tier1 GI should be => ', '1000', (await detherCore.getSellDailyLimit(1, web3.toHex('GI')))); + await delay(42000); + await smsCertifier.transferOwnership(ceoDether); + console.log('owner sms should be => ', ceoDether, await smsCertifier.owner.call()); console.log('delay'); - await delay(30000); - await detherCore.setSellDailyLimit(2, web3.toHex('GI'), 5000); - console.log('getSellDailyLimit tier2 GI should be => ', '5000', (await detherCore.getSellDailyLimit(2, web3.toHex('GI')))); - console.log('delay'); - await delay(30000); - // // - // // [DetherCore] open specific zones(=countries) for shops/tellers - // // - await detherCore.openZoneShop(web3.toHex('FR')); - console.log('zone FR for shop should be open', await detherCore.openedCountryShop.call(web3.toHex('FR'))); - console.log('delay'); - await delay(30000); - await detherCore.openZoneShop(web3.toHex('GI')); - console.log('zone AU for shop should be open', await detherCore.openedCountryShop.call(web3.toHex('AU'))); - console.log('delay'); - await delay(30000); - await detherCore.openZoneTeller(web3.toHex('GI')); - console.log('zone FR for teller should be open', await detherCore.openedCountryTeller.call(web3.toHex('FR'))); - console.log('delay'); - await delay(30000); - await detherCore.openZoneTeller(web3.toHex('FR')); - console.log('zone FR for teller should be open', await detherCore.openedCountryTeller.call(web3.toHex('FR'))); + await delay(42000); + + await kycCertifier.transferOwnership(ceoDether); + console.log('owner sms should be => ', ceoDether, await kycCertifier.owner.call()); console.log('delay'); - await delay(30000); + await delay(42000); + // // // + // // // [DetherCore] set license prices + // // // + // // [DetherCore] set roles to correct addresses // - await detherCore.setCFO(ceoDether); + await detherCore.setCFO(cfoDether); console.log('cfo should be => ', cfoDether, await detherCore.cfoAddress.call()); console.log('delay'); - await delay(30000); - await detherCore.setCSO(ceoDether); + await delay(42000); + await detherCore.setCSO(csoDether); console.log('cso should be => ', csoDether, await detherCore.csoAddress.call()); console.log('delay'); - await delay(30000); - await detherCore.setCMO(ceoDether); + await delay(42000); + await detherCore.setCMO(cmoDether); console.log('cmo should be => ', cmoDether, await detherCore.cmoAddress.call()); console.log('delay'); - await delay(30000); + await delay(42000); await detherCore.setCEO(ceoDether); console.log('ceo should be => ', ceoDether, await detherCore.ceoAddress.call()); console.log('delay'); - await delay(30000); - - // [DetherToken] mint some tokens - // - // await detherToken.mint(ceoDether, web3.toWei(10000000, 'ether')); - // await detherToken.finishMinting(); - // console.log('balance should be 10000000 => ', await detherToken.balanceOf.call(ceoDether)); + await delay(42000); callback(); }; diff --git a/test/detherCore.spec.js b/test/detherCore.spec.js index 26870f9..629210e 100644 --- a/test/detherCore.spec.js +++ b/test/detherCore.spec.js @@ -189,14 +189,14 @@ contract('Dether Dth', () => { }); beforeEach(async () => { - dthToken = await Dth.new({ gas: 7800000, gasPrice: 10000000000, from: owner }); - dether = await DetherCore.new({ gas: 7800000, gasPrice: 10000000000, from: owner }); - smsCertifier = await SmsCertifier.new({ gas: 7800000, gasPrice: 10000000000, from: owner }); - kycCertifier = await KycCertifier.new({ gas: 7800000, gasPrice: 10000000000, from: owner }); - detherBank = await DetherBank.new({ gas: 7800000, gasPrice: 10000000000, from: owner }); - - // uses the FakeExchangeRateOracle.sol contract during testing - priceOracle = await ExchangeRateOracle.new({ gas: 7800000, gasPrice: 25000000000, from: owner }); + dthToken = await Dth.new({ gas: 6500000, gasPrice: 10000000000, from: owner }); + dether = await DetherCore.new({ gas: 6500000, gasPrice: 10000000000, from: owner }); + smsCertifier = await SmsCertifier.new({ gas: 6500000, gasPrice: 10000000000, from: owner }); + kycCertifier = await KycCertifier.new({ gas: 6500000, gasPrice: 10000000000, from: owner }); + detherBank = await DetherBank.new({ gas: 6500000, gasPrice: 10000000000, from: owner }); + // + // // uses the FakeExchangeRateOracle.sol contract during testing + priceOracle = await ExchangeRateOracle.new({ gas: 6500000, gasPrice: 25000000000, from: owner }); await dether.initContract(dthToken.address, detherBank.address); await dether.setCSO(moderator); @@ -250,13 +250,12 @@ contract('Dether Dth', () => { overloadedTransferAbi, [dether.address, 20, shopToContractBulk(shop1)], ); - await web3.eth.sendTransaction({ from: moderator, to: dthToken.address, data: transferMethodTransactionDataShop1, value: 0, - gas: 5000000, + gas: 4700000, }); const shop1value = await dether.getShop('0x0000000000000000000000000000000000000001'); @@ -266,8 +265,8 @@ contract('Dether Dth', () => { true, 'should be true since shop is now online', ); - const formatedValueShop1 = shopFromContract(shop1value); + console.log('test 4 formated value => ', formatedValueShop1); assert.equal(formatedValueShop1.lat, shop1.lat, 'lat did not match'); assert.equal(formatedValueShop1.lng, shop1.lng, 'lng did not match'); assert.equal(formatedValueShop1.countryId, shop1.countryId, 'countryId did not match'); @@ -289,7 +288,7 @@ contract('Dether Dth', () => { to: dthToken.address, data: transferMethodTransactionDataShop2, value: 0, - gas: 5000000, + gas: 4700000, }); const shop2value = await dether.getShop('0x0000000000000000000000000000000000000002'); @@ -301,6 +300,7 @@ contract('Dether Dth', () => { ); const formatedValueShop2 = shopFromContract(shop2value); + assert.equal(formatedValueShop2.lat, shop2.lat, 'lat did not match'); assert.equal(formatedValueShop2.lng, shop2.lng, 'lng did not match'); assert.equal(formatedValueShop2.countryId, shop2.countryId, 'countryId did not match'); @@ -344,7 +344,7 @@ contract('Dether Dth', () => { to: dthToken.address, data: transferMethodTransactionData, value: 0, - gas: 5000000, + gas: 4700000, }); const shop8value = await dether.getShop(user1address); @@ -377,7 +377,7 @@ contract('Dether Dth', () => { to: dthToken.address, data: transferMethodTransactionData, value: 0, - gas: 5000000, + gas: 4700000, }); } catch (err) { // nothing @@ -404,7 +404,7 @@ contract('Dether Dth', () => { to: dthToken.address, data: transferMethodTransactionData, value: 0, - gas: 5000000, + gas: 4700000, }); const transferMethodTransactionData2 = web3Abi.encodeFunctionCall( diff --git a/test/mock.json b/test/mock.json index 5aeeda9..d892d45 100644 --- a/test/mock.json +++ b/test/mock.json @@ -71,15 +71,15 @@ "buyer": true, "buyRates": 10 }, - "shop1": { - "lat": "48.87167", - "lng": "2.31099", - "countryId": "FR", - "postalCode": "75008", - "cat": "coworking", - "name": "Wework", - "description": "Do what you love! (with ETH)", - "opening": "qNqNqNqNqN00" + "shop1": { + "lat": "50.3693903822", + "lng": "30.45217037", + "countryId": "UA", + "postalCode": "02000", + "cat": "Business", + "name": "Nirvana Club", + "description": "Business", + "opening": "qqOqOqOqOqOqOqO" }, "shop2": { "lat": "48.86977", diff --git a/truffle.js b/truffle.js index 906e8a8..84bea93 100644 --- a/truffle.js +++ b/truffle.js @@ -1,13 +1,14 @@ require('dotenv').config({ path: '.env' }); -const { MNEMONIC, MNEMONIC_MAIN } = process.env; +const { MNEMONIC, MNEMONIC_MAIN, PRIVKEY_MAIN } = process.env; const HDWalletProvider = require('truffle-hdwallet-provider'); +const PKWalletProvider = require('truffle-privatekey-provider'); module.exports = { networks: { development: { host: 'localhost', - port: 8545, + port: 8645, network_id: '*', // Match any network id gasPrice: 25000000000, }, @@ -36,9 +37,10 @@ module.exports = { mainnet: { // provider: () => new HDWalletProvider(MNEMONIC_MAIN, 'http://localhost:8545'), provider: () => new HDWalletProvider(MNEMONIC_MAIN, 'https://mainnet.infura.io/'), + // provider: () => new PKWalletProvider(PRIVKEY_MAIN, 'http://localhost:8545'), network_id: 1, - gasPrice: 50000000000, - gas: 5000000, + gasPrice: 20000000000, + gas: 6500000, // gasPrice: 25000000000, }, }, diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..ce5bd6b --- /dev/null +++ b/yarn.lock @@ -0,0 +1,5154 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@types/concat-stream@^1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@types/concat-stream/-/concat-stream-1.6.0.tgz#394dbe0bb5fee46b38d896735e8b68ef2390d00d" + dependencies: + "@types/node" "*" + +"@types/form-data@0.0.33": + version "0.0.33" + resolved "https://registry.yarnpkg.com/@types/form-data/-/form-data-0.0.33.tgz#c9ac85b2a5fd18435b8c85d9ecb50e6d6c893ff8" + dependencies: + "@types/node" "*" + +"@types/node@*": + version "10.5.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-10.5.2.tgz#f19f05314d5421fe37e74153254201a7bf00a707" + +"@types/node@^8.0.0": + version "8.10.21" + resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.21.tgz#12b3f2359b27aa05a45d886c8ba1eb8d1a77e285" + +"@types/node@^9.3.0", "@types/node@^9.4.1": + version "9.6.23" + resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.23.tgz#fc429962c1b75f32bd66214a3997f660e8434f0d" + +"@types/qs@^6.2.31": + version "6.5.1" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.5.1.tgz#a38f69c62528d56ba7bd1f91335a8004988d72f7" + +abbrev@1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" + +abi-decoder@^1.0.8: + version "1.1.0" + resolved "https://registry.yarnpkg.com/abi-decoder/-/abi-decoder-1.1.0.tgz#07f063e2a8f0ca1750fe4cd0dd112f6103ce3455" + dependencies: + babel-core "^6.23.1" + babel-loader "^6.3.2" + babel-plugin-add-module-exports "^0.2.1" + babel-plugin-transform-es2015-modules-amd "^6.22.0" + babel-plugin-transform-runtime "^6.23.0" + babel-preset-es2015 "^6.22.0" + chai "^3.5.0" + web3 "^0.18.4" + webpack "^2.7.0" + +abstract-leveldown@~2.6.0: + version "2.6.3" + resolved "https://registry.yarnpkg.com/abstract-leveldown/-/abstract-leveldown-2.6.3.tgz#1c5e8c6a5ef965ae8c35dfb3a8770c476b82c4b8" + dependencies: + xtend "~4.0.0" + +abstract-leveldown@~2.7.1: + version "2.7.2" + resolved "https://registry.yarnpkg.com/abstract-leveldown/-/abstract-leveldown-2.7.2.tgz#87a44d7ebebc341d59665204834c8b7e0932cc93" + dependencies: + xtend "~4.0.0" + +acorn-dynamic-import@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz#c752bd210bef679501b6c6cb7fc84f8f47158cc4" + dependencies: + acorn "^4.0.3" + +acorn-jsx@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" + dependencies: + acorn "^3.0.4" + +acorn@^3.0.4: + version "3.3.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" + +acorn@^4.0.3: + version "4.0.13" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" + +acorn@^5.0.0, acorn@^5.5.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.1.tgz#f095829297706a7c9776958c0afc8930a9b9d9d8" + +aes-js@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" + +aes-js@^0.2.3: + version "0.2.4" + resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-0.2.4.tgz#94b881ab717286d015fa219e08fb66709dda5a3d" + +ajv-keywords@^1.1.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c" + +ajv-keywords@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762" + +ajv@^4.7.0: + version "4.11.8" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" + dependencies: + co "^4.6.0" + json-stable-stringify "^1.0.1" + +ajv@^5.1.0, ajv@^5.2.3, ajv@^5.3.0: + version "5.5.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" + dependencies: + co "^4.6.0" + fast-deep-equal "^1.0.0" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.3.0" + +align-text@^0.1.1, align-text@^0.1.3: + version "0.1.4" + resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" + dependencies: + kind-of "^3.0.2" + longest "^1.0.1" + repeat-string "^1.5.2" + +ansi-escapes@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30" + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" + +ansi-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" + +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + dependencies: + color-convert "^1.9.0" + +anymatch@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" + dependencies: + micromatch "^3.1.4" + normalize-path "^2.1.1" + +aproba@^1.0.3: + version "1.2.0" + resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" + +are-we-there-yet@~1.1.2: + version "1.1.5" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" + dependencies: + delegates "^1.0.0" + readable-stream "^2.0.6" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + dependencies: + sprintf-js "~1.0.2" + +arr-diff@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" + +arr-flatten@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" + +arr-union@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" + +array-union@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" + dependencies: + array-uniq "^1.0.1" + +array-uniq@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" + +array-unique@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" + +arrify@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" + +asap@~2.0.3: + version "2.0.6" + resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" + +asn1.js@^4.0.0: + version "4.10.1" + resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0" + dependencies: + bn.js "^4.0.0" + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + +asn1@~0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" + +assert-plus@1.0.0, assert-plus@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" + +assert@^1.1.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" + dependencies: + util "0.10.3" + +assertion-error@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" + +assign-symbols@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" + +async-each@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" + +async-eventemitter@^0.2.2: + version "0.2.4" + resolved "https://registry.yarnpkg.com/async-eventemitter/-/async-eventemitter-0.2.4.tgz#f5e7c8ca7d3e46aab9ec40a292baf686a0bafaca" + dependencies: + async "^2.4.0" + +"async-eventemitter@github:ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c": + version "0.2.3" + resolved "https://codeload.github.com/ahultgren/async-eventemitter/tar.gz/fa06e39e56786ba541c180061dbf2c0a5bbf951c" + dependencies: + async "^2.4.0" + +async-limiter@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" + +async@^1.4.2: + version "1.5.2" + resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" + +async@^2.0.1, async@^2.1.2, async@^2.4.0, async@^2.5.0: + version "2.6.1" + resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" + dependencies: + lodash "^4.17.10" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + +atob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.1.tgz#ae2d5a729477f289d60dd7f96a6314a22dd6c22a" + +aws-sign2@~0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" + +aws4@^1.6.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.7.0.tgz#d4d0e9b9dbfca77bf08eeb0a8a471550fe39e289" + +babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" + dependencies: + chalk "^1.1.3" + esutils "^2.0.2" + js-tokens "^3.0.2" + +babel-core@^6.0.14, babel-core@^6.23.1, babel-core@^6.26.0: + version "6.26.3" + resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" + dependencies: + babel-code-frame "^6.26.0" + babel-generator "^6.26.0" + babel-helpers "^6.24.1" + babel-messages "^6.23.0" + babel-register "^6.26.0" + babel-runtime "^6.26.0" + babel-template "^6.26.0" + babel-traverse "^6.26.0" + babel-types "^6.26.0" + babylon "^6.18.0" + convert-source-map "^1.5.1" + debug "^2.6.9" + json5 "^0.5.1" + lodash "^4.17.4" + minimatch "^3.0.4" + path-is-absolute "^1.0.1" + private "^0.1.8" + slash "^1.0.0" + source-map "^0.5.7" + +babel-generator@^6.26.0: + version "6.26.1" + resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" + dependencies: + babel-messages "^6.23.0" + babel-runtime "^6.26.0" + babel-types "^6.26.0" + detect-indent "^4.0.0" + jsesc "^1.3.0" + lodash "^4.17.4" + source-map "^0.5.7" + trim-right "^1.0.1" + +babel-helper-builder-binary-assignment-operator-visitor@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664" + dependencies: + babel-helper-explode-assignable-expression "^6.24.1" + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-helper-call-delegate@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz#ece6aacddc76e41c3461f88bfc575bd0daa2df8d" + dependencies: + babel-helper-hoist-variables "^6.24.1" + babel-runtime "^6.22.0" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + +babel-helper-define-map@^6.24.1: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz#a5f56dab41a25f97ecb498c7ebaca9819f95be5f" + dependencies: + babel-helper-function-name "^6.24.1" + babel-runtime "^6.26.0" + babel-types "^6.26.0" + lodash "^4.17.4" + +babel-helper-explode-assignable-expression@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa" + dependencies: + babel-runtime "^6.22.0" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + +babel-helper-function-name@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9" + dependencies: + babel-helper-get-function-arity "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + +babel-helper-get-function-arity@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz#8f7782aa93407c41d3aa50908f89b031b1b6853d" + dependencies: + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-helper-hoist-variables@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz#1ecb27689c9d25513eadbc9914a73f5408be7a76" + dependencies: + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-helper-optimise-call-expression@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz#f7a13427ba9f73f8f4fa993c54a97882d1244257" + dependencies: + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-helper-regex@^6.24.1: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz#325c59f902f82f24b74faceed0363954f6495e72" + dependencies: + babel-runtime "^6.26.0" + babel-types "^6.26.0" + lodash "^4.17.4" + +babel-helper-remap-async-to-generator@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b" + dependencies: + babel-helper-function-name "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + +babel-helper-replace-supers@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz#bf6dbfe43938d17369a213ca8a8bf74b6a90ab1a" + dependencies: + babel-helper-optimise-call-expression "^6.24.1" + babel-messages "^6.23.0" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + +babel-helpers@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" + dependencies: + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-loader@^6.3.2: + version "6.4.1" + resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-6.4.1.tgz#0b34112d5b0748a8dcdbf51acf6f9bd42d50b8ca" + dependencies: + find-cache-dir "^0.1.1" + loader-utils "^0.2.16" + mkdirp "^0.5.1" + object-assign "^4.0.1" + +babel-messages@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-add-module-exports@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/babel-plugin-add-module-exports/-/babel-plugin-add-module-exports-0.2.1.tgz#9ae9a1f4a8dc67f0cdec4f4aeda1e43a5ff65e25" + +babel-plugin-check-es2015-constants@^6.22.0: + version "6.22.0" + resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-syntax-async-functions@^6.8.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" + +babel-plugin-syntax-exponentiation-operator@^6.8.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de" + +babel-plugin-syntax-trailing-function-commas@^6.22.0: + version "6.22.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" + +babel-plugin-transform-async-to-generator@^6.22.0: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761" + dependencies: + babel-helper-remap-async-to-generator "^6.24.1" + babel-plugin-syntax-async-functions "^6.8.0" + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-arrow-functions@^6.22.0: + version "6.22.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-block-scoped-functions@^6.22.0: + version "6.22.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.24.1: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f" + dependencies: + babel-runtime "^6.26.0" + babel-template "^6.26.0" + babel-traverse "^6.26.0" + babel-types "^6.26.0" + lodash "^4.17.4" + +babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-classes@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db" + dependencies: + babel-helper-define-map "^6.24.1" + babel-helper-function-name "^6.24.1" + babel-helper-optimise-call-expression "^6.24.1" + babel-helper-replace-supers "^6.24.1" + babel-messages "^6.23.0" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + +babel-plugin-transform-es2015-computed-properties@^6.22.0, babel-plugin-transform-es2015-computed-properties@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3" + dependencies: + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-plugin-transform-es2015-destructuring@^6.22.0, babel-plugin-transform-es2015-destructuring@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-duplicate-keys@^6.22.0, babel-plugin-transform-es2015-duplicate-keys@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz#73eb3d310ca969e3ef9ec91c53741a6f1576423e" + dependencies: + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-plugin-transform-es2015-for-of@^6.22.0, babel-plugin-transform-es2015-for-of@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-function-name@^6.22.0, babel-plugin-transform-es2015-function-name@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b" + dependencies: + babel-helper-function-name "^6.24.1" + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-plugin-transform-es2015-literals@^6.22.0: + version "6.22.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz#4f54a02d6cd66cf915280019a31d31925377ca2e" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015-modules-amd@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz#3b3e54017239842d6d19c3011c4bd2f00a00d154" + dependencies: + babel-plugin-transform-es2015-modules-commonjs "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1: + version "6.26.2" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz#58a793863a9e7ca870bdc5a881117ffac27db6f3" + dependencies: + babel-plugin-transform-strict-mode "^6.24.1" + babel-runtime "^6.26.0" + babel-template "^6.26.0" + babel-types "^6.26.0" + +babel-plugin-transform-es2015-modules-systemjs@^6.23.0, babel-plugin-transform-es2015-modules-systemjs@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23" + dependencies: + babel-helper-hoist-variables "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-plugin-transform-es2015-modules-umd@^6.23.0, babel-plugin-transform-es2015-modules-umd@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz#ac997e6285cd18ed6176adb607d602344ad38468" + dependencies: + babel-plugin-transform-es2015-modules-amd "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-plugin-transform-es2015-object-super@^6.22.0, babel-plugin-transform-es2015-object-super@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d" + dependencies: + babel-helper-replace-supers "^6.24.1" + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-parameters@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" + dependencies: + babel-helper-call-delegate "^6.24.1" + babel-helper-get-function-arity "^6.24.1" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + babel-traverse "^6.24.1" + babel-types "^6.24.1" + +babel-plugin-transform-es2015-shorthand-properties@^6.22.0, babel-plugin-transform-es2015-shorthand-properties@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0" + dependencies: + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-plugin-transform-es2015-spread@^6.22.0: + version "6.22.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-sticky-regex@^6.22.0, babel-plugin-transform-es2015-sticky-regex@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc" + dependencies: + babel-helper-regex "^6.24.1" + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-plugin-transform-es2015-template-literals@^6.22.0: + version "6.22.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-typeof-symbol@^6.22.0, babel-plugin-transform-es2015-typeof-symbol@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-es2015-unicode-regex@^6.22.0, babel-plugin-transform-es2015-unicode-regex@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9" + dependencies: + babel-helper-regex "^6.24.1" + babel-runtime "^6.22.0" + regexpu-core "^2.0.0" + +babel-plugin-transform-exponentiation-operator@^6.22.0: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e" + dependencies: + babel-helper-builder-binary-assignment-operator-visitor "^6.24.1" + babel-plugin-syntax-exponentiation-operator "^6.8.0" + babel-runtime "^6.22.0" + +babel-plugin-transform-regenerator@^6.22.0, babel-plugin-transform-regenerator@^6.24.1: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f" + dependencies: + regenerator-transform "^0.10.0" + +babel-plugin-transform-runtime@^6.23.0: + version "6.23.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz#88490d446502ea9b8e7efb0fe09ec4d99479b1ee" + dependencies: + babel-runtime "^6.22.0" + +babel-plugin-transform-strict-mode@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758" + dependencies: + babel-runtime "^6.22.0" + babel-types "^6.24.1" + +babel-preset-env@^1.3.2: + version "1.7.0" + resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.7.0.tgz#dea79fa4ebeb883cd35dab07e260c1c9c04df77a" + dependencies: + babel-plugin-check-es2015-constants "^6.22.0" + babel-plugin-syntax-trailing-function-commas "^6.22.0" + babel-plugin-transform-async-to-generator "^6.22.0" + babel-plugin-transform-es2015-arrow-functions "^6.22.0" + babel-plugin-transform-es2015-block-scoped-functions "^6.22.0" + babel-plugin-transform-es2015-block-scoping "^6.23.0" + babel-plugin-transform-es2015-classes "^6.23.0" + babel-plugin-transform-es2015-computed-properties "^6.22.0" + babel-plugin-transform-es2015-destructuring "^6.23.0" + babel-plugin-transform-es2015-duplicate-keys "^6.22.0" + babel-plugin-transform-es2015-for-of "^6.23.0" + babel-plugin-transform-es2015-function-name "^6.22.0" + babel-plugin-transform-es2015-literals "^6.22.0" + babel-plugin-transform-es2015-modules-amd "^6.22.0" + babel-plugin-transform-es2015-modules-commonjs "^6.23.0" + babel-plugin-transform-es2015-modules-systemjs "^6.23.0" + babel-plugin-transform-es2015-modules-umd "^6.23.0" + babel-plugin-transform-es2015-object-super "^6.22.0" + babel-plugin-transform-es2015-parameters "^6.23.0" + babel-plugin-transform-es2015-shorthand-properties "^6.22.0" + babel-plugin-transform-es2015-spread "^6.22.0" + babel-plugin-transform-es2015-sticky-regex "^6.22.0" + babel-plugin-transform-es2015-template-literals "^6.22.0" + babel-plugin-transform-es2015-typeof-symbol "^6.23.0" + babel-plugin-transform-es2015-unicode-regex "^6.22.0" + babel-plugin-transform-exponentiation-operator "^6.22.0" + babel-plugin-transform-regenerator "^6.22.0" + browserslist "^3.2.6" + invariant "^2.2.2" + semver "^5.3.0" + +babel-preset-es2015@^6.22.0: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz#d44050d6bc2c9feea702aaf38d727a0210538939" + dependencies: + babel-plugin-check-es2015-constants "^6.22.0" + babel-plugin-transform-es2015-arrow-functions "^6.22.0" + babel-plugin-transform-es2015-block-scoped-functions "^6.22.0" + babel-plugin-transform-es2015-block-scoping "^6.24.1" + babel-plugin-transform-es2015-classes "^6.24.1" + babel-plugin-transform-es2015-computed-properties "^6.24.1" + babel-plugin-transform-es2015-destructuring "^6.22.0" + babel-plugin-transform-es2015-duplicate-keys "^6.24.1" + babel-plugin-transform-es2015-for-of "^6.22.0" + babel-plugin-transform-es2015-function-name "^6.24.1" + babel-plugin-transform-es2015-literals "^6.22.0" + babel-plugin-transform-es2015-modules-amd "^6.24.1" + babel-plugin-transform-es2015-modules-commonjs "^6.24.1" + babel-plugin-transform-es2015-modules-systemjs "^6.24.1" + babel-plugin-transform-es2015-modules-umd "^6.24.1" + babel-plugin-transform-es2015-object-super "^6.24.1" + babel-plugin-transform-es2015-parameters "^6.24.1" + babel-plugin-transform-es2015-shorthand-properties "^6.24.1" + babel-plugin-transform-es2015-spread "^6.22.0" + babel-plugin-transform-es2015-sticky-regex "^6.24.1" + babel-plugin-transform-es2015-template-literals "^6.22.0" + babel-plugin-transform-es2015-typeof-symbol "^6.22.0" + babel-plugin-transform-es2015-unicode-regex "^6.24.1" + babel-plugin-transform-regenerator "^6.24.1" + +babel-register@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" + dependencies: + babel-core "^6.26.0" + babel-runtime "^6.26.0" + core-js "^2.5.0" + home-or-tmp "^2.0.0" + lodash "^4.17.4" + mkdirp "^0.5.1" + source-map-support "^0.4.15" + +babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" + dependencies: + core-js "^2.4.0" + regenerator-runtime "^0.11.0" + +babel-template@^6.24.1, babel-template@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" + dependencies: + babel-runtime "^6.26.0" + babel-traverse "^6.26.0" + babel-types "^6.26.0" + babylon "^6.18.0" + lodash "^4.17.4" + +babel-traverse@^6.24.1, babel-traverse@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" + dependencies: + babel-code-frame "^6.26.0" + babel-messages "^6.23.0" + babel-runtime "^6.26.0" + babel-types "^6.26.0" + babylon "^6.18.0" + debug "^2.6.8" + globals "^9.18.0" + invariant "^2.2.2" + lodash "^4.17.4" + +babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" + dependencies: + babel-runtime "^6.26.0" + esutils "^2.0.2" + lodash "^4.17.4" + to-fast-properties "^1.0.3" + +babelify@^7.3.0: + version "7.3.0" + resolved "https://registry.yarnpkg.com/babelify/-/babelify-7.3.0.tgz#aa56aede7067fd7bd549666ee16dc285087e88e5" + dependencies: + babel-core "^6.0.14" + object-assign "^4.0.0" + +babylon@^6.18.0: + version "6.18.0" + resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" + +backoff@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/backoff/-/backoff-2.5.0.tgz#f616eda9d3e4b66b8ca7fca79f695722c5f8e26f" + dependencies: + precond "0.2" + +balanced-match@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" + +base-x@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/base-x/-/base-x-1.1.0.tgz#42d3d717474f9ea02207f6d1aa1f426913eeb7ac" + +base64-js@^1.0.2: + version "1.3.0" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.0.tgz#cab1e6118f051095e58b5281aea8c1cd22bfc0e3" + +base@^0.11.1: + version "0.11.2" + resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" + dependencies: + cache-base "^1.0.1" + class-utils "^0.3.5" + component-emitter "^1.2.1" + define-property "^1.0.0" + isobject "^3.0.1" + mixin-deep "^1.2.0" + pascalcase "^0.1.1" + +bases@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/bases/-/bases-0.2.1.tgz#c0294a3f86d403d79b82ec4997b27caf90f44570" + +bcrypt-pbkdf@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" + dependencies: + tweetnacl "^0.14.3" + +big.js@^3.1.3: + version "3.2.0" + resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e" + +"bignumber.js@git+https://github.com/debris/bignumber.js#master": + version "2.0.7" + resolved "git+https://github.com/debris/bignumber.js#c7a38de919ed75e6fb6ba38051986e294b328df9" + +"bignumber.js@git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2": + version "2.0.7" + resolved "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + +binary-extensions@^1.0.0: + version "1.11.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" + +bindings@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.3.0.tgz#b346f6ecf6a95f5a815c5839fc7cdb22502f1ed7" + +bip39@^2.2.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/bip39/-/bip39-2.5.0.tgz#51cbd5179460504a63ea3c000db3f787ca051235" + dependencies: + create-hash "^1.1.0" + pbkdf2 "^3.0.9" + randombytes "^2.0.1" + safe-buffer "^5.0.1" + unorm "^1.3.3" + +bip66@^1.1.3: + version "1.1.5" + resolved "https://registry.yarnpkg.com/bip66/-/bip66-1.1.5.tgz#01fa8748785ca70955d5011217d1b3139969ca22" + dependencies: + safe-buffer "^5.0.1" + +bn.js@4.11.6: + version "4.11.6" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" + +bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.10.0, bn.js@^4.11.0, bn.js@^4.11.3, bn.js@^4.11.6, bn.js@^4.11.8, bn.js@^4.4.0, bn.js@^4.8.0: + version "4.11.8" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +braces@^2.3.0, braces@^2.3.1: + version "2.3.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" + dependencies: + arr-flatten "^1.1.0" + array-unique "^0.3.2" + extend-shallow "^2.0.1" + fill-range "^4.0.0" + isobject "^3.0.1" + repeat-element "^1.1.2" + snapdragon "^0.8.1" + snapdragon-node "^2.0.1" + split-string "^3.0.2" + to-regex "^3.0.1" + +brorand@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + +browser-stdout@1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" + +browserify-aes@^1.0.0, browserify-aes@^1.0.4, browserify-aes@^1.0.6: + version "1.2.0" + resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" + dependencies: + buffer-xor "^1.0.3" + cipher-base "^1.0.0" + create-hash "^1.1.0" + evp_bytestokey "^1.0.3" + inherits "^2.0.1" + safe-buffer "^5.0.1" + +browserify-cipher@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" + dependencies: + browserify-aes "^1.0.4" + browserify-des "^1.0.0" + evp_bytestokey "^1.0.0" + +browserify-des@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" + dependencies: + cipher-base "^1.0.1" + des.js "^1.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +browserify-rsa@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" + dependencies: + bn.js "^4.1.0" + randombytes "^2.0.1" + +browserify-sha3@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/browserify-sha3/-/browserify-sha3-0.0.1.tgz#3ff34a3006ef15c0fb3567e541b91a2340123d11" + dependencies: + js-sha3 "^0.3.1" + +browserify-sign@^4.0.0: + version "4.0.4" + resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298" + dependencies: + bn.js "^4.1.1" + browserify-rsa "^4.0.0" + create-hash "^1.1.0" + create-hmac "^1.1.2" + elliptic "^6.0.0" + inherits "^2.0.1" + parse-asn1 "^5.0.0" + +browserify-zlib@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f" + dependencies: + pako "~1.0.5" + +browserslist@^3.2.6: + version "3.2.8" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-3.2.8.tgz#b0005361d6471f0f5952797a76fc985f1f978fc6" + dependencies: + caniuse-lite "^1.0.30000844" + electron-to-chromium "^1.3.47" + +bs58@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/bs58/-/bs58-2.0.1.tgz#55908d58f1982aba2008fa1bed8f91998a29bf8d" + +bs58@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/bs58/-/bs58-3.1.0.tgz#d4c26388bf4804cac714141b1945aa47e5eb248e" + dependencies: + base-x "^1.1.0" + +bs58check@^1.0.8: + version "1.3.4" + resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-1.3.4.tgz#c52540073749117714fa042c3047eb8f9151cbf8" + dependencies: + bs58 "^3.1.0" + create-hash "^1.1.0" + +buffer-from@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.0.tgz#87fcaa3a298358e0ade6e442cfce840740d1ad04" + +buffer-xor@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" + +buffer@^4.3.0: + version "4.9.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + isarray "^1.0.0" + +builtin-modules@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" + +builtin-status-codes@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" + +cache-base@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" + dependencies: + collection-visit "^1.0.0" + component-emitter "^1.2.1" + get-value "^2.0.6" + has-value "^1.0.0" + isobject "^3.0.1" + set-value "^2.0.0" + to-object-path "^0.3.0" + union-value "^1.0.0" + unset-value "^1.0.0" + +caller-path@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" + dependencies: + callsites "^0.2.0" + +callsites@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca" + +camelcase@^1.0.2: + version "1.2.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" + +camelcase@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" + +caniuse-lite@^1.0.30000844: + version "1.0.30000865" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000865.tgz#70026616e8afe6e1442f8bb4e1092987d81a2f25" + +caseless@~0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" + +center-align@^0.1.1: + version "0.1.3" + resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" + dependencies: + align-text "^0.1.3" + lazy-cache "^1.0.3" + +chai@^3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247" + dependencies: + assertion-error "^1.0.1" + deep-eql "^0.1.3" + type-detect "^1.0.0" + +chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + +chalk@^2.0.0, chalk@^2.1.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chardet@^0.4.0: + version "0.4.2" + resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" + +checkpoint-store@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/checkpoint-store/-/checkpoint-store-1.1.0.tgz#04e4cb516b91433893581e6d4601a78e9552ea06" + dependencies: + functional-red-black-tree "^1.0.1" + +chokidar@^2.0.2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.4.tgz#356ff4e2b0e8e43e322d18a372460bbcf3accd26" + dependencies: + anymatch "^2.0.0" + async-each "^1.0.0" + braces "^2.3.0" + glob-parent "^3.1.0" + inherits "^2.0.1" + is-binary-path "^1.0.0" + is-glob "^4.0.0" + lodash.debounce "^4.0.8" + normalize-path "^2.1.1" + path-is-absolute "^1.0.0" + readdirp "^2.0.0" + upath "^1.0.5" + optionalDependencies: + fsevents "^1.2.2" + +chownr@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" + +cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +circular-json@^0.3.1: + version "0.3.3" + resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66" + +class-utils@^0.3.5: + version "0.3.6" + resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" + dependencies: + arr-union "^3.1.0" + define-property "^0.2.5" + isobject "^3.0.0" + static-extend "^0.1.1" + +cli-cursor@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" + dependencies: + restore-cursor "^2.0.0" + +cli-table3@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.5.0.tgz#adb2f025715f4466e67629783c8d73e9030eb4bd" + dependencies: + object-assign "^4.1.0" + string-width "^2.1.1" + optionalDependencies: + colors "^1.1.2" + +cli-width@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" + +cliui@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" + dependencies: + center-align "^0.1.1" + right-align "^0.1.1" + wordwrap "0.0.2" + +cliui@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" + dependencies: + string-width "^1.0.1" + strip-ansi "^3.0.1" + wrap-ansi "^2.0.0" + +clone@^2.0.0, clone@^2.1.1: + version "2.1.2" + resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" + +co@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" + +code-point-at@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" + +coinstring@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/coinstring/-/coinstring-2.3.0.tgz#cdb63363a961502404a25afb82c2e26d5ff627a4" + dependencies: + bs58 "^2.0.1" + create-hash "^1.1.1" + +collection-visit@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" + dependencies: + map-visit "^1.0.0" + object-visit "^1.0.0" + +color-convert@^1.9.0: + version "1.9.2" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.2.tgz#49881b8fba67df12a96bdf3f56c0aab9e7913147" + dependencies: + color-name "1.1.1" + +color-name@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.1.tgz#4b1415304cf50028ea81643643bd82ea05803689" + +colors@^1.1.2: + version "1.3.0" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.3.0.tgz#5f20c9fef6945cb1134260aab33bfbdc8295e04e" + +combined-stream@1.0.6, combined-stream@~1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818" + dependencies: + delayed-stream "~1.0.0" + +commander@2.11.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" + +commander@2.9.0: + version "2.9.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" + dependencies: + graceful-readlink ">= 1.0.0" + +commondir@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" + +component-emitter@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + +concat-stream@^1.4.6, concat-stream@^1.5.1, concat-stream@^1.6.0: + version "1.6.2" + resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" + dependencies: + buffer-from "^1.0.0" + inherits "^2.0.3" + readable-stream "^2.2.2" + typedarray "^0.0.6" + +console-browserify@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" + dependencies: + date-now "^0.1.4" + +console-control-strings@^1.0.0, console-control-strings@~1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" + +constants-browserify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" + +contains-path@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a" + +convert-source-map@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" + +copy-descriptor@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" + +core-js@^2.4.0, core-js@^2.5.0: + version "2.5.7" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.7.tgz#f972608ff0cead68b841a16a932d0b183791814e" + +core-util-is@1.0.2, core-util-is@~1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" + +create-ecdh@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" + dependencies: + bn.js "^4.1.0" + elliptic "^6.0.0" + +create-hash@^1.1.0, create-hash@^1.1.1, create-hash@^1.1.2: + version "1.2.0" + resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: + version "1.1.7" + resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +cross-fetch@^2.1.0, cross-fetch@^2.1.1: + version "2.2.2" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-2.2.2.tgz#a47ff4f7fc712daba8f6a695a11c948440d45723" + dependencies: + node-fetch "2.1.2" + whatwg-fetch "2.0.4" + +cross-spawn@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" + dependencies: + lru-cache "^4.0.1" + shebang-command "^1.2.0" + which "^1.2.9" + +crypto-browserify@^3.11.0: + version "3.12.0" + resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" + dependencies: + browserify-cipher "^1.0.0" + browserify-sign "^4.0.0" + create-ecdh "^4.0.0" + create-hash "^1.1.0" + create-hmac "^1.1.0" + diffie-hellman "^5.0.0" + inherits "^2.0.1" + pbkdf2 "^3.0.3" + public-encrypt "^4.0.0" + randombytes "^2.0.0" + randomfill "^1.0.3" + +crypto-js@^3.1.4: + version "3.1.8" + resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-3.1.8.tgz#715f070bf6014f2ae992a98b3929258b713f08d5" + +dashdash@^1.12.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" + dependencies: + assert-plus "^1.0.0" + +date-now@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" + +debug@2.6.8: + version "2.6.8" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" + dependencies: + ms "2.0.0" + +debug@3.1.0, debug@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" + dependencies: + ms "2.0.0" + +debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.9: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + dependencies: + ms "2.0.0" + +decamelize@^1.0.0, decamelize@^1.1.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" + +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + +deep-eql@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2" + dependencies: + type-detect "0.1.1" + +deep-equal@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" + +deep-extend@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" + +deep-is@~0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" + +deferred-leveldown@~1.2.1: + version "1.2.2" + resolved "https://registry.yarnpkg.com/deferred-leveldown/-/deferred-leveldown-1.2.2.tgz#3acd2e0b75d1669924bc0a4b642851131173e1eb" + dependencies: + abstract-leveldown "~2.6.0" + +define-properties@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" + dependencies: + foreach "^2.0.5" + object-keys "^1.0.8" + +define-property@^0.2.5: + version "0.2.5" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" + dependencies: + is-descriptor "^0.1.0" + +define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" + dependencies: + is-descriptor "^1.0.0" + +define-property@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" + dependencies: + is-descriptor "^1.0.2" + isobject "^3.0.1" + +defined@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" + +del@^2.0.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" + dependencies: + globby "^5.0.0" + is-path-cwd "^1.0.0" + is-path-in-cwd "^1.0.0" + object-assign "^4.0.1" + pify "^2.0.0" + pinkie-promise "^2.0.0" + rimraf "^2.2.8" + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + +delegates@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" + +des.js@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" + dependencies: + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + +detect-indent@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" + dependencies: + repeating "^2.0.0" + +detect-libc@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" + +diff@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" + +diff@3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.1.tgz#aa8567a6eed03c531fc89d3f711cd0e5259dec75" + +diffie-hellman@^5.0.0: + version "5.0.3" + resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" + dependencies: + bn.js "^4.1.0" + miller-rabin "^4.0.0" + randombytes "^2.0.0" + +doctrine@1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" + dependencies: + esutils "^2.0.2" + isarray "^1.0.0" + +doctrine@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" + dependencies: + esutils "^2.0.2" + +dom-serializer@0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82" + dependencies: + domelementtype "~1.1.1" + entities "~1.1.1" + +dom-walk@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018" + +domain-browser@^1.1.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" + +domelementtype@1, domelementtype@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2" + +domelementtype@~1.1.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b" + +domhandler@^2.3.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803" + dependencies: + domelementtype "1" + +domutils@^1.5.1: + version "1.7.0" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a" + dependencies: + dom-serializer "0" + domelementtype "1" + +dotenv@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-4.0.0.tgz#864ef1379aced55ce6f95debecdce179f7a0cd1d" + +drbg.js@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/drbg.js/-/drbg.js-1.0.1.tgz#3e36b6c42b37043823cdbc332d58f31e2445480b" + dependencies: + browserify-aes "^1.0.6" + create-hash "^1.1.2" + create-hmac "^1.1.4" + +ecc-jsbn@~0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" + dependencies: + jsbn "~0.1.0" + +electron-to-chromium@^1.3.47: + version "1.3.52" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.52.tgz#d2d9f1270ba4a3b967b831c40ef71fb4d9ab5ce0" + +elliptic@6.3.3: + version "6.3.3" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.3.3.tgz#5482d9646d54bcb89fd7d994fc9e2e9568876e3f" + dependencies: + bn.js "^4.4.0" + brorand "^1.0.1" + hash.js "^1.0.0" + inherits "^2.0.1" + +elliptic@^6.0.0, elliptic@^6.2.3: + version "6.4.0" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.0.tgz#cac9af8762c85836187003c8dfe193e5e2eae5df" + dependencies: + bn.js "^4.4.0" + brorand "^1.0.1" + hash.js "^1.0.0" + hmac-drbg "^1.0.0" + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.0" + +emojis-list@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" + +encoding@^0.1.11: + version "0.1.12" + resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" + dependencies: + iconv-lite "~0.4.13" + +end-of-stream@^1.1.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43" + dependencies: + once "^1.4.0" + +enhanced-resolve@^3.3.0: + version "3.4.1" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz#0421e339fd71419b3da13d129b3979040230476e" + dependencies: + graceful-fs "^4.1.2" + memory-fs "^0.4.0" + object-assign "^4.0.1" + tapable "^0.2.7" + +entities@^1.1.1, entities@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" + +errno@^0.1.3, errno@~0.1.1: + version "0.1.7" + resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" + dependencies: + prr "~1.0.1" + +error-ex@^1.2.0: + version "1.3.2" + resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + dependencies: + is-arrayish "^0.2.1" + +es-abstract@^1.5.0: + version "1.12.0" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.12.0.tgz#9dbbdd27c6856f0001421ca18782d786bf8a6165" + dependencies: + es-to-primitive "^1.1.1" + function-bind "^1.1.1" + has "^1.0.1" + is-callable "^1.1.3" + is-regex "^1.0.4" + +es-to-primitive@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" + dependencies: + is-callable "^1.1.1" + is-date-object "^1.0.1" + is-symbol "^1.0.1" + +escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + +eslint-config-airbnb-base@^12.1.0: + version "12.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-12.1.0.tgz#386441e54a12ccd957b0a92564a4bafebd747944" + dependencies: + eslint-restricted-globals "^0.1.1" + +eslint-import-resolver-node@^0.3.1: + version "0.3.2" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a" + dependencies: + debug "^2.6.9" + resolve "^1.5.0" + +eslint-module-utils@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.2.0.tgz#b270362cd88b1a48ad308976ce7fa54e98411746" + dependencies: + debug "^2.6.8" + pkg-dir "^1.0.0" + +eslint-plugin-html@^3.0.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/eslint-plugin-html/-/eslint-plugin-html-3.2.2.tgz#ef7093621d3a93de3206fd1f92f347ea9a1a4dfa" + dependencies: + htmlparser2 "^3.8.2" + semver "^5.4.1" + +eslint-plugin-import@^2.7.0: + version "2.13.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.13.0.tgz#df24f241175e312d91662dc91ca84064caec14ed" + dependencies: + contains-path "^0.1.0" + debug "^2.6.8" + doctrine "1.5.0" + eslint-import-resolver-node "^0.3.1" + eslint-module-utils "^2.2.0" + has "^1.0.1" + lodash "^4.17.4" + minimatch "^3.0.3" + read-pkg-up "^2.0.0" + resolve "^1.6.0" + +eslint-restricted-globals@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/eslint-restricted-globals/-/eslint-restricted-globals-0.1.1.tgz#35f0d5cbc64c2e3ed62e93b4b1a7af05ba7ed4d7" + +eslint-scope@^3.7.1: + version "3.7.3" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.3.tgz#bb507200d3d17f60247636160b4826284b108535" + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + +eslint-visitor-keys@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" + +eslint@^4.3.0: + version "4.19.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.19.1.tgz#32d1d653e1d90408854bfb296f076ec7e186a300" + dependencies: + ajv "^5.3.0" + babel-code-frame "^6.22.0" + chalk "^2.1.0" + concat-stream "^1.6.0" + cross-spawn "^5.1.0" + debug "^3.1.0" + doctrine "^2.1.0" + eslint-scope "^3.7.1" + eslint-visitor-keys "^1.0.0" + espree "^3.5.4" + esquery "^1.0.0" + esutils "^2.0.2" + file-entry-cache "^2.0.0" + functional-red-black-tree "^1.0.1" + glob "^7.1.2" + globals "^11.0.1" + ignore "^3.3.3" + imurmurhash "^0.1.4" + inquirer "^3.0.6" + is-resolvable "^1.0.0" + js-yaml "^3.9.1" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.3.0" + lodash "^4.17.4" + minimatch "^3.0.2" + mkdirp "^0.5.1" + natural-compare "^1.4.0" + optionator "^0.8.2" + path-is-inside "^1.0.2" + pluralize "^7.0.0" + progress "^2.0.0" + regexpp "^1.0.1" + require-uncached "^1.0.3" + semver "^5.3.0" + strip-ansi "^4.0.0" + strip-json-comments "~2.0.1" + table "4.0.2" + text-table "~0.2.0" + +espree@^3.5.4: + version "3.5.4" + resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" + dependencies: + acorn "^5.5.0" + acorn-jsx "^3.0.0" + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + +esquery@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" + dependencies: + estraverse "^4.0.0" + +esrecurse@^4.1.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" + dependencies: + estraverse "^4.1.0" + +estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1: + version "4.2.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" + +esutils@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" + +eth-block-tracker@^2.2.2: + version "2.3.1" + resolved "https://registry.yarnpkg.com/eth-block-tracker/-/eth-block-tracker-2.3.1.tgz#ab6d177e5b50128fa06d7ae9e0489c7484bac95e" + dependencies: + async-eventemitter ahultgren/async-eventemitter#fa06e39e56786ba541c180061dbf2c0a5bbf951c + eth-query "^2.1.0" + ethereumjs-tx "^1.3.3" + ethereumjs-util "^5.1.3" + ethjs-util "^0.1.3" + json-rpc-engine "^3.6.0" + pify "^2.3.0" + tape "^4.6.3" + +eth-block-tracker@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/eth-block-tracker/-/eth-block-tracker-3.0.1.tgz#95cd5e763c7293e0b1b2790a2a39ac2ac188a5e1" + dependencies: + eth-query "^2.1.0" + ethereumjs-tx "^1.3.3" + ethereumjs-util "^5.1.3" + ethjs-util "^0.1.3" + json-rpc-engine "^3.6.0" + pify "^2.3.0" + tape "^4.6.3" + +eth-gas-reporter@^0.1.1: + version "0.1.9" + resolved "https://registry.yarnpkg.com/eth-gas-reporter/-/eth-gas-reporter-0.1.9.tgz#a608fc618bf24e971338f3cb10b65e9a707f5092" + dependencies: + abi-decoder "^1.0.8" + cli-table3 "^0.5.0" + colors "^1.1.2" + lodash "^4.17.4" + mocha "^3.5.3" + req-cwd "^2.0.0" + request "^2.83.0" + request-promise-native "^1.0.5" + shelljs "^0.7.8" + solidity-parser-antlr "^0.2.10" + sync-request "^6.0.0" + +eth-json-rpc-infura@^3.1.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/eth-json-rpc-infura/-/eth-json-rpc-infura-3.1.2.tgz#04c5d0cee98619e93ba8a9842492b771b316e83a" + dependencies: + cross-fetch "^2.1.1" + eth-json-rpc-middleware "^1.5.0" + json-rpc-engine "^3.4.0" + json-rpc-error "^2.0.0" + tape "^4.8.0" + +eth-json-rpc-middleware@^1.5.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/eth-json-rpc-middleware/-/eth-json-rpc-middleware-1.6.0.tgz#5c9d4c28f745ccb01630f0300ba945f4bef9593f" + dependencies: + async "^2.5.0" + eth-query "^2.1.2" + eth-tx-summary "^3.1.2" + ethereumjs-block "^1.6.0" + ethereumjs-tx "^1.3.3" + ethereumjs-util "^5.1.2" + ethereumjs-vm "^2.1.0" + fetch-ponyfill "^4.0.0" + json-rpc-engine "^3.6.0" + json-rpc-error "^2.0.0" + json-stable-stringify "^1.0.1" + promise-to-callback "^1.0.0" + tape "^4.6.3" + +eth-query@^2.0.2, eth-query@^2.1.0, eth-query@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/eth-query/-/eth-query-2.1.2.tgz#d6741d9000106b51510c72db92d6365456a6da5e" + dependencies: + json-rpc-random-id "^1.0.0" + xtend "^4.0.1" + +eth-sig-util@^1.4.2: + version "1.4.2" + resolved "https://registry.yarnpkg.com/eth-sig-util/-/eth-sig-util-1.4.2.tgz#8d958202c7edbaae839707fba6f09ff327606210" + dependencies: + ethereumjs-abi "git+https://github.com/ethereumjs/ethereumjs-abi.git" + ethereumjs-util "^5.1.1" + +eth-tx-summary@^3.1.2: + version "3.2.3" + resolved "https://registry.yarnpkg.com/eth-tx-summary/-/eth-tx-summary-3.2.3.tgz#a52d7215616888e012fbc083b3eacd28f3e64764" + dependencies: + async "^2.1.2" + bn.js "^4.11.8" + clone "^2.0.0" + concat-stream "^1.5.1" + end-of-stream "^1.1.0" + eth-query "^2.0.2" + ethereumjs-block "^1.4.1" + ethereumjs-tx "^1.1.1" + ethereumjs-util "^5.0.1" + ethereumjs-vm "2.3.4" + through2 "^2.0.3" + treeify "^1.0.1" + web3-provider-engine "^13.3.2" + +ethereum-common@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/ethereum-common/-/ethereum-common-0.2.0.tgz#13bf966131cce1eeade62a1b434249bb4cb120ca" + +ethereum-common@^0.0.18: + version "0.0.18" + resolved "https://registry.yarnpkg.com/ethereum-common/-/ethereum-common-0.0.18.tgz#2fdc3576f232903358976eb39da783213ff9523f" + +ethereum-datetime@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/ethereum-datetime/-/ethereum-datetime-1.0.0.tgz#689264fb324b9f9c97abc41173ea42e242f2d99e" + +ethereumjs-abi@^0.6.4: + version "0.6.5" + resolved "https://registry.yarnpkg.com/ethereumjs-abi/-/ethereumjs-abi-0.6.5.tgz#5a637ef16ab43473fa72a29ad90871405b3f5241" + dependencies: + bn.js "^4.10.0" + ethereumjs-util "^4.3.0" + +"ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git": + version "0.6.5" + resolved "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7" + dependencies: + bn.js "^4.10.0" + ethereumjs-util "^5.0.0" + +ethereumjs-account@^2.0.3: + version "2.0.5" + resolved "https://registry.yarnpkg.com/ethereumjs-account/-/ethereumjs-account-2.0.5.tgz#eeafc62de544cb07b0ee44b10f572c9c49e00a84" + dependencies: + ethereumjs-util "^5.0.0" + rlp "^2.0.0" + safe-buffer "^5.1.1" + +ethereumjs-block@^1.2.2, ethereumjs-block@^1.4.1, ethereumjs-block@^1.6.0, ethereumjs-block@~1.7.0: + version "1.7.1" + resolved "https://registry.yarnpkg.com/ethereumjs-block/-/ethereumjs-block-1.7.1.tgz#78b88e6cc56de29a6b4884ee75379b6860333c3f" + dependencies: + async "^2.0.1" + ethereum-common "0.2.0" + ethereumjs-tx "^1.2.2" + ethereumjs-util "^5.0.0" + merkle-patricia-tree "^2.1.2" + +ethereumjs-tx@^1.1.1, ethereumjs-tx@^1.2.0, ethereumjs-tx@^1.2.2, ethereumjs-tx@^1.3.3: + version "1.3.6" + resolved "https://registry.yarnpkg.com/ethereumjs-tx/-/ethereumjs-tx-1.3.6.tgz#d581c1703b7b250b2e54892031626534d53e0a79" + dependencies: + ethereum-common "^0.0.18" + ethereumjs-util "^5.0.0" + +ethereumjs-util@^4.3.0, ethereumjs-util@^4.4.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-4.5.0.tgz#3e9428b317eebda3d7260d854fddda954b1f1bc6" + dependencies: + bn.js "^4.8.0" + create-hash "^1.1.2" + keccakjs "^0.2.0" + rlp "^2.0.0" + secp256k1 "^3.0.1" + +ethereumjs-util@^5.0.0, ethereumjs-util@^5.0.1, ethereumjs-util@^5.1.1, ethereumjs-util@^5.1.2, ethereumjs-util@^5.1.3, ethereumjs-util@^5.1.5: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-5.2.0.tgz#3e0c0d1741471acf1036052d048623dee54ad642" + dependencies: + bn.js "^4.11.0" + create-hash "^1.1.2" + ethjs-util "^0.1.3" + keccak "^1.0.2" + rlp "^2.0.0" + safe-buffer "^5.1.1" + secp256k1 "^3.0.1" + +ethereumjs-vm@2.3.4: + version "2.3.4" + resolved "https://registry.yarnpkg.com/ethereumjs-vm/-/ethereumjs-vm-2.3.4.tgz#f635d7cb047571a1840a6e9a74d29de4488f8ad6" + dependencies: + async "^2.1.2" + async-eventemitter "^0.2.2" + ethereum-common "0.2.0" + ethereumjs-account "^2.0.3" + ethereumjs-block "~1.7.0" + ethereumjs-util "^5.1.3" + fake-merkle-patricia-tree "^1.0.1" + functional-red-black-tree "^1.0.1" + merkle-patricia-tree "^2.1.2" + rustbn.js "~0.1.1" + safe-buffer "^5.1.1" + +ethereumjs-vm@^2.0.2, ethereumjs-vm@^2.1.0, ethereumjs-vm@^2.3.4: + version "2.3.5" + resolved "https://registry.yarnpkg.com/ethereumjs-vm/-/ethereumjs-vm-2.3.5.tgz#e69306737b8a7ea80c633ceb9b7dd561897007de" + dependencies: + async "^2.1.2" + async-eventemitter "^0.2.2" + ethereum-common "0.2.0" + ethereumjs-account "^2.0.3" + ethereumjs-block "~1.7.0" + ethereumjs-util "^5.1.3" + fake-merkle-patricia-tree "^1.0.1" + functional-red-black-tree "^1.0.1" + merkle-patricia-tree "^2.1.2" + rustbn.js "~0.1.1" + safe-buffer "^5.1.1" + +ethereumjs-wallet@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/ethereumjs-wallet/-/ethereumjs-wallet-0.6.0.tgz#82763b1697ee7a796be7155da9dfb49b2f98cfdb" + dependencies: + aes-js "^0.2.3" + bs58check "^1.0.8" + ethereumjs-util "^4.4.0" + hdkey "^0.7.0" + scrypt.js "^0.2.0" + utf8 "^2.1.1" + uuid "^2.0.1" + +ethers-contracts@2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ethers-contracts/-/ethers-contracts-2.2.1.tgz#e2bf5dd5e157313ba454b50c646c8472fcd0a8b3" + dependencies: + ethers-utils "^2.1.0" + +ethers-providers@2.1.19: + version "2.1.19" + resolved "https://registry.yarnpkg.com/ethers-providers/-/ethers-providers-2.1.19.tgz#d597e298f70cfbf8da207c303af0a5cbed5b4cd2" + dependencies: + ethers-utils "^2.1.0" + inherits "2.0.1" + xmlhttprequest "1.8.0" + +ethers-utils@2.1.11, ethers-utils@^2.1.0: + version "2.1.11" + resolved "https://registry.yarnpkg.com/ethers-utils/-/ethers-utils-2.1.11.tgz#b27535ca3226118be300211c39c896b1e5e21641" + dependencies: + bn.js "^4.4.0" + hash.js "^1.0.0" + js-sha3 "0.5.7" + xmlhttprequest "1.8.0" + +ethers-wallet@2.1.8: + version "2.1.8" + resolved "https://registry.yarnpkg.com/ethers-wallet/-/ethers-wallet-2.1.8.tgz#2819a51d439525ddedeec84992b0b83f59da3cef" + dependencies: + aes-js "3.0.0" + elliptic "6.3.3" + ethers-utils "^2.1.0" + scrypt-js "2.0.3" + setimmediate "1.0.4" + uuid "2.0.1" + +ethers@^2.1.3: + version "2.2.6" + resolved "https://registry.yarnpkg.com/ethers/-/ethers-2.2.6.tgz#d1081c3e132930686fa7a3b508ae4d0ef8bd986a" + dependencies: + ethers-contracts "2.2.1" + ethers-providers "2.1.19" + ethers-utils "2.1.11" + ethers-wallet "2.1.8" + +ethjs-abi@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/ethjs-abi/-/ethjs-abi-0.2.1.tgz#e0a7a93a7e81163a94477bad56ede524ab6de533" + dependencies: + bn.js "4.11.6" + js-sha3 "0.5.5" + number-to-bn "1.7.0" + +ethjs-util@^0.1.3: + version "0.1.6" + resolved "https://registry.yarnpkg.com/ethjs-util/-/ethjs-util-0.1.6.tgz#f308b62f185f9fe6237132fb2a9818866a5cd536" + dependencies: + is-hex-prefixed "1.0.0" + strip-hex-prefix "1.0.0" + +events@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" + +evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" + dependencies: + md5.js "^1.3.4" + safe-buffer "^5.1.1" + +expand-brackets@^2.1.4: + version "2.1.4" + resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" + dependencies: + debug "^2.3.3" + define-property "^0.2.5" + extend-shallow "^2.0.1" + posix-character-classes "^0.1.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + +extend-shallow@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" + dependencies: + is-extendable "^0.1.0" + +extend-shallow@^3.0.0, extend-shallow@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" + dependencies: + assign-symbols "^1.0.0" + is-extendable "^1.0.1" + +extend@~3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" + +external-editor@^2.0.4: + version "2.2.0" + resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" + dependencies: + chardet "^0.4.0" + iconv-lite "^0.4.17" + tmp "^0.0.33" + +extglob@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" + dependencies: + array-unique "^0.3.2" + define-property "^1.0.0" + expand-brackets "^2.1.4" + extend-shallow "^2.0.1" + fragment-cache "^0.2.1" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + +extsprintf@1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" + +extsprintf@^1.2.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" + +fake-merkle-patricia-tree@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/fake-merkle-patricia-tree/-/fake-merkle-patricia-tree-1.0.1.tgz#4b8c3acfb520afadf9860b1f14cd8ce3402cddd3" + dependencies: + checkpoint-store "^1.1.0" + +fast-deep-equal@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz#c053477817c86b51daa853c81e059b733d023614" + +fast-json-stable-stringify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" + +fast-levenshtein@~2.0.4: + version "2.0.6" + resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" + +fetch-ponyfill@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz#ae3ce5f732c645eab87e4ae8793414709b239893" + dependencies: + node-fetch "~1.7.1" + +figures@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" + dependencies: + escape-string-regexp "^1.0.5" + +file-entry-cache@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" + dependencies: + flat-cache "^1.2.1" + object-assign "^4.0.1" + +fill-range@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" + dependencies: + extend-shallow "^2.0.1" + is-number "^3.0.0" + repeat-string "^1.6.1" + to-regex-range "^2.1.0" + +find-cache-dir@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-0.1.1.tgz#c8defae57c8a52a8a784f9e31c57c742e993a0b9" + dependencies: + commondir "^1.0.1" + mkdirp "^0.5.1" + pkg-dir "^1.0.0" + +find-up@^1.0.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" + dependencies: + path-exists "^2.0.0" + pinkie-promise "^2.0.0" + +find-up@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" + dependencies: + locate-path "^2.0.0" + +flat-cache@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481" + dependencies: + circular-json "^0.3.1" + del "^2.0.2" + graceful-fs "^4.1.2" + write "^0.2.1" + +for-each@^0.3.2, for-each@~0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" + dependencies: + is-callable "^1.1.3" + +for-in@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" + +foreach@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" + +forever-agent@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" + +form-data@^2.2.0, form-data@~2.3.1: + version "2.3.2" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.2.tgz#4970498be604c20c005d4f5c23aecd21d6b49099" + dependencies: + asynckit "^0.4.0" + combined-stream "1.0.6" + mime-types "^2.1.12" + +fragment-cache@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" + dependencies: + map-cache "^0.2.2" + +fs-extra@^0.30.0: + version "0.30.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0" + dependencies: + graceful-fs "^4.1.2" + jsonfile "^2.1.0" + klaw "^1.0.0" + path-is-absolute "^1.0.0" + rimraf "^2.2.8" + +fs-minipass@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.5.tgz#06c277218454ec288df77ada54a03b8702aacb9d" + dependencies: + minipass "^2.2.1" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + +fs@0.0.1-security: + version "0.0.1-security" + resolved "https://registry.yarnpkg.com/fs/-/fs-0.0.1-security.tgz#8a7bd37186b6dddf3813f23858b57ecaaf5e41d4" + +fsevents@^1.2.2: + version "1.2.4" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.4.tgz#f41dcb1af2582af3692da36fc55cbd8e1041c426" + dependencies: + nan "^2.9.2" + node-pre-gyp "^0.10.0" + +function-bind@^1.0.2, function-bind@^1.1.1, function-bind@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + +functional-red-black-tree@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" + +gauge@~2.7.3: + version "2.7.4" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" + dependencies: + aproba "^1.0.3" + console-control-strings "^1.0.0" + has-unicode "^2.0.0" + object-assign "^4.1.0" + signal-exit "^3.0.0" + string-width "^1.0.1" + strip-ansi "^3.0.1" + wide-align "^1.1.0" + +get-caller-file@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" + +get-port@^3.1.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/get-port/-/get-port-3.2.0.tgz#dd7ce7de187c06c8bf353796ac71e099f0980ebc" + +get-value@^2.0.3, get-value@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" + +getpass@^0.1.1: + version "0.1.7" + resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" + dependencies: + assert-plus "^1.0.0" + +glob-parent@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" + dependencies: + is-glob "^3.1.0" + path-dirname "^1.0.0" + +glob@7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.2" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@7.1.2, glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.2, glob@~7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +global@~4.3.0: + version "4.3.2" + resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f" + dependencies: + min-document "^2.19.0" + process "~0.5.1" + +globals@^11.0.1: + version "11.7.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.7.0.tgz#a583faa43055b1aca771914bf68258e2fc125673" + +globals@^9.18.0: + version "9.18.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" + +globby@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" + dependencies: + array-union "^1.0.1" + arrify "^1.0.0" + glob "^7.0.3" + object-assign "^4.0.1" + pify "^2.0.0" + pinkie-promise "^2.0.0" + +graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: + version "4.1.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" + +"graceful-readlink@>= 1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" + +growl@1.10.3: + version "1.10.3" + resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.3.tgz#1926ba90cf3edfe2adb4927f5880bc22c66c790f" + +growl@1.9.2: + version "1.9.2" + resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" + +har-schema@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" + +har-validator@~5.0.3: + version "5.0.3" + resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" + dependencies: + ajv "^5.1.0" + har-schema "^2.0.0" + +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" + dependencies: + ansi-regex "^2.0.0" + +has-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" + +has-flag@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + +has-unicode@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" + +has-value@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" + dependencies: + get-value "^2.0.3" + has-values "^0.1.4" + isobject "^2.0.0" + +has-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" + dependencies: + get-value "^2.0.6" + has-values "^1.0.0" + isobject "^3.0.0" + +has-values@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" + +has-values@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" + dependencies: + is-number "^3.0.0" + kind-of "^4.0.0" + +has@^1.0.1, has@~1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918" + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +hash.js@^1.0.0, hash.js@^1.0.3: + version "1.1.5" + resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.5.tgz#e38ab4b85dfb1e0c40fe9265c0e9b54854c23812" + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hdkey@^0.7.0: + version "0.7.1" + resolved "https://registry.yarnpkg.com/hdkey/-/hdkey-0.7.1.tgz#caee4be81aa77921e909b8d228dd0f29acaee632" + dependencies: + coinstring "^2.0.0" + secp256k1 "^3.0.1" + +he@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" + +hmac-drbg@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + +home-or-tmp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" + dependencies: + os-homedir "^1.0.0" + os-tmpdir "^1.0.1" + +hosted-git-info@^2.1.4: + version "2.7.1" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" + +htmlparser2@^3.8.2: + version "3.9.2" + resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.9.2.tgz#1bdf87acca0f3f9e53fa4fcceb0f4b4cbb00b338" + dependencies: + domelementtype "^1.3.0" + domhandler "^2.3.0" + domutils "^1.5.1" + entities "^1.1.1" + inherits "^2.0.1" + readable-stream "^2.0.2" + +http-basic@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/http-basic/-/http-basic-7.0.0.tgz#82f0a506be942732ec8deebee80e746ef5736dba" + dependencies: + "@types/concat-stream" "^1.6.0" + "@types/node" "^9.4.1" + caseless "~0.12.0" + concat-stream "^1.4.6" + http-response-object "^3.0.1" + parse-cache-control "^1.0.1" + +http-response-object@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/http-response-object/-/http-response-object-3.0.1.tgz#90174d44c27b5e797cf6efe51a043bc889ae64bf" + dependencies: + "@types/node" "^9.3.0" + +http-signature@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" + dependencies: + assert-plus "^1.0.0" + jsprim "^1.2.2" + sshpk "^1.7.0" + +https-browserify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" + +iconv-lite@^0.4.17, iconv-lite@^0.4.4, iconv-lite@~0.4.13: + version "0.4.23" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" + dependencies: + safer-buffer ">= 2.1.2 < 3" + +ieee754@^1.1.4: + version "1.1.12" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.12.tgz#50bf24e5b9c8bb98af4964c941cdb0918da7b60b" + +ignore-walk@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" + dependencies: + minimatch "^3.0.4" + +ignore@^3.3.3: + version "3.3.10" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" + +immediate@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.2.3.tgz#d140fa8f614659bd6541233097ddaac25cdd991c" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + +indexof@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + +inherits@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" + +ini@~1.3.0: + version "1.3.5" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" + +inquirer@^3.0.6: + version "3.3.0" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9" + dependencies: + ansi-escapes "^3.0.0" + chalk "^2.0.0" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^2.0.4" + figures "^2.0.0" + lodash "^4.3.0" + mute-stream "0.0.7" + run-async "^2.2.0" + rx-lite "^4.0.8" + rx-lite-aggregates "^4.0.8" + string-width "^2.1.0" + strip-ansi "^4.0.0" + through "^2.3.6" + +interpret@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" + +invariant@^2.2.2: + version "2.2.4" + resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + dependencies: + loose-envify "^1.0.0" + +invert-kv@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" + +is-accessor-descriptor@^0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" + dependencies: + kind-of "^3.0.2" + +is-accessor-descriptor@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" + dependencies: + kind-of "^6.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + +is-binary-path@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" + dependencies: + binary-extensions "^1.0.0" + +is-buffer@^1.1.5: + version "1.1.6" + resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" + +is-builtin-module@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" + dependencies: + builtin-modules "^1.0.0" + +is-callable@^1.1.1, is-callable@^1.1.3: + version "1.1.4" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75" + +is-data-descriptor@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" + dependencies: + kind-of "^3.0.2" + +is-data-descriptor@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" + dependencies: + kind-of "^6.0.0" + +is-date-object@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" + +is-descriptor@^0.1.0: + version "0.1.6" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" + dependencies: + is-accessor-descriptor "^0.1.6" + is-data-descriptor "^0.1.4" + kind-of "^5.0.0" + +is-descriptor@^1.0.0, is-descriptor@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" + dependencies: + is-accessor-descriptor "^1.0.0" + is-data-descriptor "^1.0.0" + kind-of "^6.0.2" + +is-extendable@^0.1.0, is-extendable@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" + +is-extendable@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" + dependencies: + is-plain-object "^2.0.4" + +is-extglob@^2.1.0, is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + +is-finite@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" + dependencies: + number-is-nan "^1.0.0" + +is-fn@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-fn/-/is-fn-1.0.0.tgz#9543d5de7bcf5b08a22ec8a20bae6e286d510d8c" + +is-fullwidth-code-point@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" + dependencies: + number-is-nan "^1.0.0" + +is-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" + +is-function@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.1.tgz#12cfb98b65b57dd3d193a3121f5f6e2f437602b5" + +is-glob@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" + dependencies: + is-extglob "^2.1.0" + +is-glob@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" + dependencies: + is-extglob "^2.1.1" + +is-hex-prefixed@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" + +is-number@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" + dependencies: + kind-of "^3.0.2" + +is-path-cwd@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" + +is-path-in-cwd@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" + dependencies: + is-path-inside "^1.0.0" + +is-path-inside@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" + dependencies: + path-is-inside "^1.0.1" + +is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" + dependencies: + isobject "^3.0.1" + +is-promise@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" + +is-regex@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" + dependencies: + has "^1.0.1" + +is-resolvable@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" + +is-stream@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" + +is-symbol@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" + +is-typedarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + +is-utf8@^0.2.0: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" + +is-windows@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" + +isarray@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" + +isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + +isobject@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" + dependencies: + isarray "1.0.0" + +isobject@^3.0.0, isobject@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" + +isomorphic-fetch@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9" + dependencies: + node-fetch "^1.0.1" + whatwg-fetch ">=0.10.0" + +isstream@~0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" + +js-sha3@0.5.5: + version "0.5.5" + resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.5.tgz#baf0c0e8c54ad5903447df96ade7a4a1bca79a4a" + +js-sha3@0.5.7: + version "0.5.7" + resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7" + +js-sha3@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.3.1.tgz#86122802142f0828502a0d1dee1d95e253bb0243" + +"js-tokens@^3.0.0 || ^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + +js-tokens@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" + +js-yaml@^3.9.1: + version "3.12.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1" + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jsbn@~0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" + +jsesc@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" + +jsesc@~0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" + +json-loader@^0.5.4: + version "0.5.7" + resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d" + +json-rpc-engine@^3.4.0, json-rpc-engine@^3.6.0: + version "3.7.3" + resolved "https://registry.yarnpkg.com/json-rpc-engine/-/json-rpc-engine-3.7.3.tgz#81dcabdb4f1ba5f79f99f04f560d20817908e4b5" + dependencies: + async "^2.0.1" + babel-preset-env "^1.3.2" + babelify "^7.3.0" + clone "^2.1.1" + json-rpc-error "^2.0.0" + promise-to-callback "^1.0.0" + +json-rpc-error@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/json-rpc-error/-/json-rpc-error-2.0.0.tgz#a7af9c202838b5e905c7250e547f1aff77258a02" + dependencies: + inherits "^2.0.1" + +json-rpc-random-id@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz#ba49d96aded1444dbb8da3d203748acbbcdec8c8" + +json-schema-traverse@^0.3.0: + version "0.3.1" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" + +json-schema@0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" + +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" + +json-stable-stringify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" + dependencies: + jsonify "~0.0.0" + +json-stringify-safe@~5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" + +json3@3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" + +json5@^0.5.0, json5@^0.5.1: + version "0.5.1" + resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" + +jsonfile@^2.1.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" + optionalDependencies: + graceful-fs "^4.1.6" + +jsonify@~0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" + +jsprim@^1.2.2: + version "1.4.1" + resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" + dependencies: + assert-plus "1.0.0" + extsprintf "1.3.0" + json-schema "0.2.3" + verror "1.10.0" + +keccak@^1.0.2: + version "1.4.0" + resolved "https://registry.yarnpkg.com/keccak/-/keccak-1.4.0.tgz#572f8a6dbee8e7b3aa421550f9e6408ca2186f80" + dependencies: + bindings "^1.2.1" + inherits "^2.0.3" + nan "^2.2.1" + safe-buffer "^5.1.0" + +keccakjs@^0.2.0: + version "0.2.1" + resolved "https://registry.yarnpkg.com/keccakjs/-/keccakjs-0.2.1.tgz#1d633af907ef305bbf9f2fa616d56c44561dfa4d" + dependencies: + browserify-sha3 "^0.0.1" + sha3 "^1.1.0" + +kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" + dependencies: + is-buffer "^1.1.5" + +kind-of@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" + dependencies: + is-buffer "^1.1.5" + +kind-of@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" + +kind-of@^6.0.0, kind-of@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" + +klaw@^1.0.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" + optionalDependencies: + graceful-fs "^4.1.9" + +lazy-cache@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" + +lcid@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" + dependencies: + invert-kv "^1.0.0" + +level-codec@~7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/level-codec/-/level-codec-7.0.1.tgz#341f22f907ce0f16763f24bddd681e395a0fb8a7" + +level-errors@^1.0.3: + version "1.1.2" + resolved "https://registry.yarnpkg.com/level-errors/-/level-errors-1.1.2.tgz#4399c2f3d3ab87d0625f7e3676e2d807deff404d" + dependencies: + errno "~0.1.1" + +level-errors@~1.0.3: + version "1.0.5" + resolved "https://registry.yarnpkg.com/level-errors/-/level-errors-1.0.5.tgz#83dbfb12f0b8a2516bdc9a31c4876038e227b859" + dependencies: + errno "~0.1.1" + +level-iterator-stream@~1.3.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/level-iterator-stream/-/level-iterator-stream-1.3.1.tgz#e43b78b1a8143e6fa97a4f485eb8ea530352f2ed" + dependencies: + inherits "^2.0.1" + level-errors "^1.0.3" + readable-stream "^1.0.33" + xtend "^4.0.0" + +level-ws@0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/level-ws/-/level-ws-0.0.0.tgz#372e512177924a00424b0b43aef2bb42496d228b" + dependencies: + readable-stream "~1.0.15" + xtend "~2.1.1" + +levelup@^1.2.1: + version "1.3.9" + resolved "https://registry.yarnpkg.com/levelup/-/levelup-1.3.9.tgz#2dbcae845b2bb2b6bea84df334c475533bbd82ab" + dependencies: + deferred-leveldown "~1.2.1" + level-codec "~7.0.0" + level-errors "~1.0.3" + level-iterator-stream "~1.3.0" + prr "~1.0.1" + semver "~5.4.1" + xtend "~4.0.0" + +levn@^0.3.0, levn@~0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" + dependencies: + prelude-ls "~1.1.2" + type-check "~0.3.2" + +load-json-file@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" + dependencies: + graceful-fs "^4.1.2" + parse-json "^2.2.0" + pify "^2.0.0" + pinkie-promise "^2.0.0" + strip-bom "^2.0.0" + +load-json-file@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8" + dependencies: + graceful-fs "^4.1.2" + parse-json "^2.2.0" + pify "^2.0.0" + strip-bom "^3.0.0" + +loader-runner@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2" + +loader-utils@^0.2.16: + version "0.2.17" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" + dependencies: + big.js "^3.1.3" + emojis-list "^2.0.0" + json5 "^0.5.0" + object-assign "^4.0.1" + +locate-path@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" + dependencies: + p-locate "^2.0.0" + path-exists "^3.0.0" + +lodash._baseassign@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" + dependencies: + lodash._basecopy "^3.0.0" + lodash.keys "^3.0.0" + +lodash._basecopy@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" + +lodash._basecreate@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" + +lodash._getnative@^3.0.0: + version "3.9.1" + resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" + +lodash._isiterateecall@^3.0.0: + version "3.0.9" + resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" + +lodash.assign@^4.0.3, lodash.assign@^4.0.6: + version "4.2.0" + resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" + +lodash.create@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" + dependencies: + lodash._baseassign "^3.0.0" + lodash._basecreate "^3.0.0" + lodash._isiterateecall "^3.0.0" + +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + +lodash.isarguments@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" + +lodash.isarray@^3.0.0: + version "3.0.4" + resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" + +lodash.keys@^3.0.0: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" + dependencies: + lodash._getnative "^3.0.0" + lodash.isarguments "^3.0.0" + lodash.isarray "^3.0.0" + +lodash@^4.13.1, lodash@^4.17.10, lodash@^4.17.4, lodash@^4.3.0: + version "4.17.10" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" + +longest@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" + +loose-envify@^1.0.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^4.0.1: + version "4.1.3" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.3.tgz#a1175cf3496dfc8436c156c334b4955992bce69c" + dependencies: + pseudomap "^1.0.2" + yallist "^2.1.2" + +ltgt@~2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ltgt/-/ltgt-2.2.1.tgz#f35ca91c493f7b73da0e07495304f17b31f87ee5" + +map-cache@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" + +map-visit@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" + dependencies: + object-visit "^1.0.0" + +md5.js@^1.3.4: + version "1.3.4" + resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.4.tgz#e9bdbde94a20a5ac18b04340fc5764d5b09d901d" + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +memdown@^1.0.0: + version "1.4.1" + resolved "https://registry.yarnpkg.com/memdown/-/memdown-1.4.1.tgz#b4e4e192174664ffbae41361aa500f3119efe215" + dependencies: + abstract-leveldown "~2.7.1" + functional-red-black-tree "^1.0.1" + immediate "^3.2.3" + inherits "~2.0.1" + ltgt "~2.2.0" + safe-buffer "~5.1.1" + +memory-fs@^0.4.0, memory-fs@~0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" + dependencies: + errno "^0.1.3" + readable-stream "^2.0.1" + +memorystream@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" + +merkle-patricia-tree@^2.1.2: + version "2.3.1" + resolved "https://registry.yarnpkg.com/merkle-patricia-tree/-/merkle-patricia-tree-2.3.1.tgz#7d4e7263a9c85c1679187cad4a6d71f48d524c71" + dependencies: + async "^1.4.2" + ethereumjs-util "^5.0.0" + level-ws "0.0.0" + levelup "^1.2.1" + memdown "^1.0.0" + readable-stream "^2.0.0" + rlp "^2.0.0" + semaphore ">=1.0.1" + +micromatch@^3.1.4: + version "3.1.10" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" + dependencies: + arr-diff "^4.0.0" + array-unique "^0.3.2" + braces "^2.3.1" + define-property "^2.0.2" + extend-shallow "^3.0.2" + extglob "^2.0.4" + fragment-cache "^0.2.1" + kind-of "^6.0.2" + nanomatch "^1.2.9" + object.pick "^1.3.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.2" + +miller-rabin@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" + dependencies: + bn.js "^4.0.0" + brorand "^1.0.1" + +mime-db@~1.33.0: + version "1.33.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" + +mime-types@^2.1.12, mime-types@~2.1.17: + version "2.1.18" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" + dependencies: + mime-db "~1.33.0" + +mimic-fn@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" + +min-document@^2.19.0: + version "2.19.0" + resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685" + dependencies: + dom-walk "^0.1.0" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + +minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + +minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + dependencies: + brace-expansion "^1.1.7" + +minimist@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" + +minimist@^1.2.0, minimist@~1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" + +minipass@^2.2.1, minipass@^2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.3.tgz#a7dcc8b7b833f5d368759cce544dccb55f50f233" + dependencies: + safe-buffer "^5.1.2" + yallist "^3.0.0" + +minizlib@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.1.0.tgz#11e13658ce46bc3a70a267aac58359d1e0c29ceb" + dependencies: + minipass "^2.2.1" + +mixin-deep@^1.2.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" + dependencies: + for-in "^1.0.2" + is-extendable "^1.0.1" + +mkdirp@0.5.1, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0: + version "0.5.1" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" + dependencies: + minimist "0.0.8" + +mocha@^3.5.3: + version "3.5.3" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.5.3.tgz#1e0480fe36d2da5858d1eb6acc38418b26eaa20d" + dependencies: + browser-stdout "1.3.0" + commander "2.9.0" + debug "2.6.8" + diff "3.2.0" + escape-string-regexp "1.0.5" + glob "7.1.1" + growl "1.9.2" + he "1.1.1" + json3 "3.3.2" + lodash.create "3.1.1" + mkdirp "0.5.1" + supports-color "3.1.2" + +mocha@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-4.1.0.tgz#7d86cfbcf35cb829e2754c32e17355ec05338794" + dependencies: + browser-stdout "1.3.0" + commander "2.11.0" + debug "3.1.0" + diff "3.3.1" + escape-string-regexp "1.0.5" + glob "7.1.2" + growl "1.10.3" + he "1.1.1" + mkdirp "0.5.1" + supports-color "4.4.0" + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + +mute-stream@0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" + +nan@2.10.0, nan@^2.0.8, nan@^2.2.1, nan@^2.9.2: + version "2.10.0" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" + +nanomatch@^1.2.9: + version "1.2.13" + resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" + dependencies: + arr-diff "^4.0.0" + array-unique "^0.3.2" + define-property "^2.0.2" + extend-shallow "^3.0.2" + fragment-cache "^0.2.1" + is-windows "^1.0.2" + kind-of "^6.0.2" + object.pick "^1.3.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + +needle@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.1.tgz#b5e325bd3aae8c2678902fa296f729455d1d3a7d" + dependencies: + debug "^2.1.2" + iconv-lite "^0.4.4" + sax "^1.2.4" + +neo-async@^2.5.0: + version "2.5.1" + resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.5.1.tgz#acb909e327b1e87ec9ef15f41b8a269512ad41ee" + +node-fetch@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.1.2.tgz#ab884e8e7e57e38a944753cec706f788d1768bb5" + +node-fetch@^1.0.1, node-fetch@~1.7.1: + version "1.7.3" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" + dependencies: + encoding "^0.1.11" + is-stream "^1.0.1" + +node-libs-browser@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.1.0.tgz#5f94263d404f6e44767d726901fff05478d600df" + dependencies: + assert "^1.1.1" + browserify-zlib "^0.2.0" + buffer "^4.3.0" + console-browserify "^1.1.0" + constants-browserify "^1.0.0" + crypto-browserify "^3.11.0" + domain-browser "^1.1.1" + events "^1.0.0" + https-browserify "^1.0.0" + os-browserify "^0.3.0" + path-browserify "0.0.0" + process "^0.11.10" + punycode "^1.2.4" + querystring-es3 "^0.2.0" + readable-stream "^2.3.3" + stream-browserify "^2.0.1" + stream-http "^2.7.2" + string_decoder "^1.0.0" + timers-browserify "^2.0.4" + tty-browserify "0.0.0" + url "^0.11.0" + util "^0.10.3" + vm-browserify "0.0.4" + +node-pre-gyp@^0.10.0: + version "0.10.3" + resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.3.tgz#3070040716afdc778747b61b6887bf78880b80fc" + dependencies: + detect-libc "^1.0.2" + mkdirp "^0.5.1" + needle "^2.2.1" + nopt "^4.0.1" + npm-packlist "^1.1.6" + npmlog "^4.0.2" + rc "^1.2.7" + rimraf "^2.6.1" + semver "^5.3.0" + tar "^4" + +nopt@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" + dependencies: + abbrev "1" + osenv "^0.1.4" + +normalize-package-data@^2.3.2: + version "2.4.0" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" + dependencies: + hosted-git-info "^2.1.4" + is-builtin-module "^1.0.0" + semver "2 || 3 || 4 || 5" + validate-npm-package-license "^3.0.1" + +normalize-path@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" + dependencies: + remove-trailing-separator "^1.0.1" + +npm-bundled@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.3.tgz#7e71703d973af3370a9591bafe3a63aca0be2308" + +npm-packlist@^1.1.6: + version "1.1.10" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.1.10.tgz#1039db9e985727e464df066f4cf0ab6ef85c398a" + dependencies: + ignore-walk "^3.0.1" + npm-bundled "^1.0.1" + +npmlog@^4.0.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" + dependencies: + are-we-there-yet "~1.1.2" + console-control-strings "~1.1.0" + gauge "~2.7.3" + set-blocking "~2.0.0" + +number-is-nan@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" + +number-to-bn@1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" + dependencies: + bn.js "4.11.6" + strip-hex-prefix "1.0.0" + +oauth-sign@~0.8.2: + version "0.8.2" + resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" + +object-assign@^4.0.0, object-assign@^4.0.1, object-assign@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + +object-copy@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" + dependencies: + copy-descriptor "^0.1.0" + define-property "^0.2.5" + kind-of "^3.0.3" + +object-inspect@~1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b" + +object-keys@^1.0.8: + version "1.0.12" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.12.tgz#09c53855377575310cca62f55bb334abff7b3ed2" + +object-keys@~0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-0.4.0.tgz#28a6aae7428dd2c3a92f3d95f21335dd204e0336" + +object-visit@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" + dependencies: + isobject "^3.0.0" + +object.pick@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" + dependencies: + isobject "^3.0.1" + +once@^1.3.0, once@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + dependencies: + wrappy "1" + +onetime@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" + dependencies: + mimic-fn "^1.0.0" + +optionator@^0.8.2: + version "0.8.2" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" + dependencies: + deep-is "~0.1.3" + fast-levenshtein "~2.0.4" + levn "~0.3.0" + prelude-ls "~1.1.2" + type-check "~0.3.2" + wordwrap "~1.0.0" + +original-require@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/original-require/-/original-require-1.0.1.tgz#0f130471584cd33511c5ec38c8d59213f9ac5e20" + +os-browserify@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" + +os-homedir@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" + +os-locale@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" + dependencies: + lcid "^1.0.0" + +os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + +osenv@^0.1.4: + version "0.1.5" + resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" + dependencies: + os-homedir "^1.0.0" + os-tmpdir "^1.0.0" + +p-limit@^1.1.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" + dependencies: + p-try "^1.0.0" + +p-locate@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" + dependencies: + p-limit "^1.1.0" + +p-try@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" + +pako@~1.0.5: + version "1.0.6" + resolved "https://registry.yarnpkg.com/pako/-/pako-1.0.6.tgz#0101211baa70c4bca4a0f63f2206e97b7dfaf258" + +papaparse@^4.3.7: + version "4.5.0" + resolved "https://registry.yarnpkg.com/papaparse/-/papaparse-4.5.0.tgz#fb625d390b6e5d544db20658ce3665002c3d8e80" + +parse-asn1@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.1.tgz#f6bf293818332bd0dab54efb16087724745e6ca8" + dependencies: + asn1.js "^4.0.0" + browserify-aes "^1.0.0" + create-hash "^1.1.0" + evp_bytestokey "^1.0.0" + pbkdf2 "^3.0.3" + +parse-cache-control@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/parse-cache-control/-/parse-cache-control-1.0.1.tgz#8eeab3e54fa56920fe16ba38f77fa21aacc2d74e" + +parse-headers@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/parse-headers/-/parse-headers-2.0.1.tgz#6ae83a7aa25a9d9b700acc28698cd1f1ed7e9536" + dependencies: + for-each "^0.3.2" + trim "0.0.1" + +parse-json@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" + dependencies: + error-ex "^1.2.0" + +pascalcase@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" + +path-browserify@0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" + +path-dirname@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" + +path-exists@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" + dependencies: + pinkie-promise "^2.0.0" + +path-exists@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" + +path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + +path-is-inside@^1.0.1, path-is-inside@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" + +path-parse@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" + +path-type@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" + dependencies: + graceful-fs "^4.1.2" + pify "^2.0.0" + pinkie-promise "^2.0.0" + +path-type@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73" + dependencies: + pify "^2.0.0" + +pbkdf2@^3.0.3, pbkdf2@^3.0.9: + version "3.0.16" + resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.16.tgz#7404208ec6b01b62d85bf83853a8064f8d9c2a5c" + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + +performance-now@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" + +pify@^2.0.0, pify@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" + +pinkie-promise@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" + dependencies: + pinkie "^2.0.0" + +pinkie@^2.0.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" + +pkg-dir@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4" + dependencies: + find-up "^1.0.0" + +pluralize@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" + +posix-character-classes@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" + +precond@0.2: + version "0.2.3" + resolved "https://registry.yarnpkg.com/precond/-/precond-0.2.3.tgz#aa9591bcaa24923f1e0f4849d240f47efc1075ac" + +prelude-ls@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" + +private@^0.1.6, private@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" + +process-nextick-args@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" + +process@^0.11.10: + version "0.11.10" + resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" + +process@~0.5.1: + version "0.5.2" + resolved "https://registry.yarnpkg.com/process/-/process-0.5.2.tgz#1638d8a8e34c2f440a91db95ab9aeb677fc185cf" + +progress@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" + +promise-to-callback@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/promise-to-callback/-/promise-to-callback-1.0.0.tgz#5d2a749010bfb67d963598fcd3960746a68feef7" + dependencies: + is-fn "^1.0.0" + set-immediate-shim "^1.0.1" + +promise@^8.0.0: + version "8.0.1" + resolved "https://registry.yarnpkg.com/promise/-/promise-8.0.1.tgz#e45d68b00a17647b6da711bf85ed6ed47208f450" + dependencies: + asap "~2.0.3" + +prr@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" + +pseudomap@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" + +psl@^1.1.24: + version "1.1.28" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.28.tgz#4fb6ceb08a1e2214d4fd4de0ca22dae13740bc7b" + +public-encrypt@^4.0.0: + version "4.0.2" + resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.2.tgz#46eb9107206bf73489f8b85b69d91334c6610994" + dependencies: + bn.js "^4.1.0" + browserify-rsa "^4.0.0" + create-hash "^1.1.0" + parse-asn1 "^5.0.0" + randombytes "^2.0.1" + +punycode@1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" + +punycode@^1.2.4, punycode@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + +qs@^6.4.0, qs@~6.5.1: + version "6.5.2" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" + +querystring-es3@^0.2.0: + version "0.2.1" + resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" + +querystring@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" + +randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: + version "2.0.6" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.6.tgz#d302c522948588848a8d300c932b44c24231da80" + dependencies: + safe-buffer "^5.1.0" + +randomfill@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" + dependencies: + randombytes "^2.0.5" + safe-buffer "^5.1.0" + +rc@^1.2.7: + version "1.2.8" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" + dependencies: + deep-extend "^0.6.0" + ini "~1.3.0" + minimist "^1.2.0" + strip-json-comments "~2.0.1" + +read-pkg-up@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" + dependencies: + find-up "^1.0.0" + read-pkg "^1.0.0" + +read-pkg-up@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be" + dependencies: + find-up "^2.0.0" + read-pkg "^2.0.0" + +read-pkg@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" + dependencies: + load-json-file "^1.0.0" + normalize-package-data "^2.3.2" + path-type "^1.0.0" + +read-pkg@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8" + dependencies: + load-json-file "^2.0.0" + normalize-package-data "^2.3.2" + path-type "^2.0.0" + +readable-stream@^1.0.33: + version "1.1.14" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "0.0.1" + string_decoder "~0.10.x" + +readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.2.9, readable-stream@^2.3.3, readable-stream@^2.3.6: + version "2.3.6" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + +readable-stream@~1.0.15: + version "1.0.34" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "0.0.1" + string_decoder "~0.10.x" + +readdirp@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" + dependencies: + graceful-fs "^4.1.2" + minimatch "^3.0.2" + readable-stream "^2.0.2" + set-immediate-shim "^1.0.1" + +rechoir@^0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" + dependencies: + resolve "^1.1.6" + +regenerate@^1.2.1: + version "1.4.0" + resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" + +regenerator-runtime@^0.11.0: + version "0.11.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" + +regenerator-transform@^0.10.0: + version "0.10.1" + resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.10.1.tgz#1e4996837231da8b7f3cf4114d71b5691a0680dd" + dependencies: + babel-runtime "^6.18.0" + babel-types "^6.19.0" + private "^0.1.6" + +regex-not@^1.0.0, regex-not@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" + dependencies: + extend-shallow "^3.0.2" + safe-regex "^1.1.0" + +regexpp@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-1.1.0.tgz#0e3516dd0b7904f413d2d4193dce4618c3a689ab" + +regexpu-core@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-2.0.0.tgz#49d038837b8dcf8bfa5b9a42139938e6ea2ae240" + dependencies: + regenerate "^1.2.1" + regjsgen "^0.2.0" + regjsparser "^0.1.4" + +regjsgen@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" + +regjsparser@^0.1.4: + version "0.1.5" + resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.1.5.tgz#7ee8f84dc6fa792d3fd0ae228d24bd949ead205c" + dependencies: + jsesc "~0.5.0" + +remove-trailing-separator@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" + +repeat-element@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" + +repeat-string@^1.5.2, repeat-string@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" + +repeating@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" + dependencies: + is-finite "^1.0.0" + +req-cwd@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/req-cwd/-/req-cwd-2.0.0.tgz#d4082b4d44598036640fb73ddea01ed53db49ebc" + dependencies: + req-from "^2.0.0" + +req-from@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/req-from/-/req-from-2.0.0.tgz#d74188e47f93796f4aa71df6ee35ae689f3e0e70" + dependencies: + resolve-from "^3.0.0" + +request-promise-core@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6" + dependencies: + lodash "^4.13.1" + +request-promise-native@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.5.tgz#5281770f68e0c9719e5163fd3fab482215f4fda5" + dependencies: + request-promise-core "1.1.1" + stealthy-require "^1.1.0" + tough-cookie ">=2.3.3" + +request@^2.67.0, request@^2.83.0: + version "2.87.0" + resolved "https://registry.yarnpkg.com/request/-/request-2.87.0.tgz#32f00235cd08d482b4d0d68db93a829c0ed5756e" + dependencies: + aws-sign2 "~0.7.0" + aws4 "^1.6.0" + caseless "~0.12.0" + combined-stream "~1.0.5" + extend "~3.0.1" + forever-agent "~0.6.1" + form-data "~2.3.1" + har-validator "~5.0.3" + http-signature "~1.2.0" + is-typedarray "~1.0.0" + isstream "~0.1.2" + json-stringify-safe "~5.0.1" + mime-types "~2.1.17" + oauth-sign "~0.8.2" + performance-now "^2.1.0" + qs "~6.5.1" + safe-buffer "^5.1.1" + tough-cookie "~2.3.3" + tunnel-agent "^0.6.0" + uuid "^3.1.0" + +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + +require-from-string@^1.1.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-1.2.1.tgz#529c9ccef27380adfec9a2f965b649bbee636418" + +require-main-filename@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" + +require-uncached@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" + dependencies: + caller-path "^0.1.0" + resolve-from "^1.0.0" + +resolve-from@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" + +resolve-from@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" + +resolve-url@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" + +resolve@^1.1.6, resolve@^1.5.0, resolve@^1.6.0: + version "1.8.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26" + dependencies: + path-parse "^1.0.5" + +resolve@~1.7.1: + version "1.7.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.7.1.tgz#aadd656374fd298aee895bc026b8297418677fd3" + dependencies: + path-parse "^1.0.5" + +restore-cursor@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" + dependencies: + onetime "^2.0.0" + signal-exit "^3.0.2" + +resumer@~0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/resumer/-/resumer-0.0.0.tgz#f1e8f461e4064ba39e82af3cdc2a8c893d076759" + dependencies: + through "~2.3.4" + +ret@~0.1.10: + version "0.1.15" + resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" + +right-align@^0.1.1: + version "0.1.3" + resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" + dependencies: + align-text "^0.1.1" + +rimraf@^2.2.8, rimraf@^2.6.1: + version "2.6.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" + dependencies: + glob "^7.0.5" + +ripemd160@^2.0.0, ripemd160@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +rlp@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/rlp/-/rlp-2.1.0.tgz#e4f9886d5a982174f314543831e36e1a658460f9" + dependencies: + safe-buffer "^5.1.1" + +run-async@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" + dependencies: + is-promise "^2.1.0" + +rustbn.js@~0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/rustbn.js/-/rustbn.js-0.1.2.tgz#979fa0f9562216dd667c9d2cd179ae5d13830eff" + +rx-lite-aggregates@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" + dependencies: + rx-lite "*" + +rx-lite@*, rx-lite@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + +safe-regex@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" + dependencies: + ret "~0.1.10" + +"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + +sax@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" + +scrypt-js@2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-2.0.3.tgz#bb0040be03043da9a012a2cea9fc9f852cfc87d4" + +scrypt.js@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/scrypt.js/-/scrypt.js-0.2.0.tgz#af8d1465b71e9990110bedfc593b9479e03a8ada" + dependencies: + scrypt "^6.0.2" + scryptsy "^1.2.1" + +scrypt@^6.0.2: + version "6.0.3" + resolved "https://registry.yarnpkg.com/scrypt/-/scrypt-6.0.3.tgz#04e014a5682b53fa50c2d5cce167d719c06d870d" + dependencies: + nan "^2.0.8" + +scryptsy@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/scryptsy/-/scryptsy-1.2.1.tgz#a3225fa4b2524f802700761e2855bdf3b2d92163" + dependencies: + pbkdf2 "^3.0.3" + +secp256k1@^3.0.1: + version "3.5.0" + resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.5.0.tgz#677d3b8a8e04e1a5fa381a1ae437c54207b738d0" + dependencies: + bindings "^1.2.1" + bip66 "^1.1.3" + bn.js "^4.11.3" + create-hash "^1.1.2" + drbg.js "^1.0.1" + elliptic "^6.2.3" + nan "^2.2.1" + safe-buffer "^5.1.0" + +semaphore@>=1.0.1, semaphore@^1.0.3: + version "1.1.0" + resolved "https://registry.yarnpkg.com/semaphore/-/semaphore-1.1.0.tgz#aaad8b86b20fe8e9b32b16dc2ee682a8cd26a8aa" + +"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1: + version "5.5.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" + +semver@~5.4.1: + version "5.4.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e" + +set-blocking@^2.0.0, set-blocking@~2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + +set-immediate-shim@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" + +set-value@^0.4.3: + version "0.4.3" + resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" + dependencies: + extend-shallow "^2.0.1" + is-extendable "^0.1.1" + is-plain-object "^2.0.1" + to-object-path "^0.3.0" + +set-value@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.0.tgz#71ae4a88f0feefbbf52d1ea604f3fb315ebb6274" + dependencies: + extend-shallow "^2.0.1" + is-extendable "^0.1.1" + is-plain-object "^2.0.3" + split-string "^3.0.1" + +setimmediate@1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.4.tgz#20e81de622d4a02588ce0c8da8973cbcf1d3138f" + +setimmediate@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" + +sha.js@^2.4.0, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +sha3@^1.1.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/sha3/-/sha3-1.2.2.tgz#a66c5098de4c25bc88336ec8b4817d005bca7ba9" + dependencies: + nan "2.10.0" + +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + dependencies: + shebang-regex "^1.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + +shelljs@^0.7.8: + version "0.7.8" + resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3" + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + +signal-exit@^3.0.0, signal-exit@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" + +slash@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" + +slice-ansi@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" + dependencies: + is-fullwidth-code-point "^2.0.0" + +snapdragon-node@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" + dependencies: + define-property "^1.0.0" + isobject "^3.0.0" + snapdragon-util "^3.0.1" + +snapdragon-util@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" + dependencies: + kind-of "^3.2.0" + +snapdragon@^0.8.1: + version "0.8.2" + resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" + dependencies: + base "^0.11.1" + debug "^2.2.0" + define-property "^0.2.5" + extend-shallow "^2.0.1" + map-cache "^0.2.2" + source-map "^0.5.6" + source-map-resolve "^0.5.0" + use "^3.1.0" + +solc@0.4.24, solc@^0.4.2: + version "0.4.24" + resolved "https://registry.yarnpkg.com/solc/-/solc-0.4.24.tgz#354f14b269b38cbaa82a47d1ff151723502b954e" + dependencies: + fs-extra "^0.30.0" + memorystream "^0.3.1" + require-from-string "^1.1.0" + semver "^5.3.0" + yargs "^4.7.1" + +solidity-parser-antlr@^0.2.10: + version "0.2.15" + resolved "https://registry.yarnpkg.com/solidity-parser-antlr/-/solidity-parser-antlr-0.2.15.tgz#4be687a0a53da268c6a07398e0cfb3168896d610" + +source-list-map@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085" + +source-map-resolve@^0.5.0: + version "0.5.2" + resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" + dependencies: + atob "^2.1.1" + decode-uri-component "^0.2.0" + resolve-url "^0.2.1" + source-map-url "^0.4.0" + urix "^0.1.0" + +source-map-support@^0.4.15: + version "0.4.18" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" + dependencies: + source-map "^0.5.6" + +source-map-url@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" + +source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1: + version "0.5.7" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + +source-map@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + +spdx-correct@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.0.0.tgz#05a5b4d7153a195bc92c3c425b69f3b2a9524c82" + dependencies: + spdx-expression-parse "^3.0.0" + spdx-license-ids "^3.0.0" + +spdx-exceptions@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz#2c7ae61056c714a5b9b9b2b2af7d311ef5c78fe9" + +spdx-expression-parse@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" + dependencies: + spdx-exceptions "^2.1.0" + spdx-license-ids "^3.0.0" + +spdx-license-ids@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz#7a7cd28470cc6d3a1cfe6d66886f6bc430d3ac87" + +split-string@^3.0.1, split-string@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" + dependencies: + extend-shallow "^3.0.0" + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + +sshpk@^1.7.0: + version "1.14.2" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.14.2.tgz#c6fc61648a3d9c4e764fd3fcdf4ea105e492ba98" + dependencies: + asn1 "~0.2.3" + assert-plus "^1.0.0" + dashdash "^1.12.0" + getpass "^0.1.1" + safer-buffer "^2.0.2" + optionalDependencies: + bcrypt-pbkdf "^1.0.0" + ecc-jsbn "~0.1.1" + jsbn "~0.1.0" + tweetnacl "~0.14.0" + +static-extend@^0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" + dependencies: + define-property "^0.2.5" + object-copy "^0.1.0" + +stealthy-require@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" + +stream-browserify@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" + dependencies: + inherits "~2.0.1" + readable-stream "^2.0.2" + +stream-http@^2.7.2: + version "2.8.3" + resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" + dependencies: + builtin-status-codes "^3.0.0" + inherits "^2.0.1" + readable-stream "^2.3.6" + to-arraybuffer "^1.0.0" + xtend "^4.0.0" + +string-width@^1.0.1, string-width@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" + dependencies: + code-point-at "^1.0.0" + is-fullwidth-code-point "^1.0.0" + strip-ansi "^3.0.0" + +"string-width@^1.0.2 || 2", string-width@^2.1.0, string-width@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" + dependencies: + is-fullwidth-code-point "^2.0.0" + strip-ansi "^4.0.0" + +string.prototype.trim@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea" + dependencies: + define-properties "^1.1.2" + es-abstract "^1.5.0" + function-bind "^1.0.2" + +string_decoder@^1.0.0, string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + dependencies: + safe-buffer "~5.1.0" + +string_decoder@~0.10.x: + version "0.10.31" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" + +strip-ansi@^3.0.0, strip-ansi@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" + dependencies: + ansi-regex "^2.0.0" + +strip-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" + dependencies: + ansi-regex "^3.0.0" + +strip-bom@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" + dependencies: + is-utf8 "^0.2.0" + +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" + +strip-hex-prefix@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" + dependencies: + is-hex-prefixed "1.0.0" + +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + +supports-color@3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" + dependencies: + has-flag "^1.0.0" + +supports-color@4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.4.0.tgz#883f7ddabc165142b2a61427f3352ded195d1a3e" + dependencies: + has-flag "^2.0.0" + +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" + +supports-color@^3.1.0: + version "3.2.3" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" + dependencies: + has-flag "^1.0.0" + +supports-color@^5.3.0: + version "5.4.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" + dependencies: + has-flag "^3.0.0" + +sync-request@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/sync-request/-/sync-request-6.0.0.tgz#db867eccc4ed31bbcb9fa3732393a3413da582ed" + dependencies: + http-response-object "^3.0.1" + sync-rpc "^1.2.1" + then-request "^6.0.0" + +sync-rpc@^1.2.1: + version "1.3.4" + resolved "https://registry.yarnpkg.com/sync-rpc/-/sync-rpc-1.3.4.tgz#24bcbdb2ffcb98f23690c15b304660085cdd206c" + dependencies: + get-port "^3.1.0" + +table@4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36" + dependencies: + ajv "^5.2.3" + ajv-keywords "^2.1.0" + chalk "^2.1.0" + lodash "^4.17.4" + slice-ansi "1.0.0" + string-width "^2.1.1" + +tapable@^0.2.7, tapable@~0.2.5: + version "0.2.8" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.8.tgz#99372a5c999bf2df160afc0d74bed4f47948cd22" + +tape@^4.4.0, tape@^4.6.3, tape@^4.8.0: + version "4.9.1" + resolved "https://registry.yarnpkg.com/tape/-/tape-4.9.1.tgz#1173d7337e040c76fbf42ec86fcabedc9b3805c9" + dependencies: + deep-equal "~1.0.1" + defined "~1.0.0" + for-each "~0.3.3" + function-bind "~1.1.1" + glob "~7.1.2" + has "~1.0.3" + inherits "~2.0.3" + minimist "~1.2.0" + object-inspect "~1.6.0" + resolve "~1.7.1" + resumer "~0.0.0" + string.prototype.trim "~1.1.2" + through "~2.3.8" + +tar@^4: + version "4.4.4" + resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.4.tgz#ec8409fae9f665a4355cc3b4087d0820232bb8cd" + dependencies: + chownr "^1.0.1" + fs-minipass "^1.2.5" + minipass "^2.3.3" + minizlib "^1.1.0" + mkdirp "^0.5.0" + safe-buffer "^5.1.2" + yallist "^3.0.2" + +text-table@~0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + +then-request@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/then-request/-/then-request-6.0.0.tgz#2cab198e48f2d8e79c8c1ed260198368a4a0bcba" + dependencies: + "@types/concat-stream" "^1.6.0" + "@types/form-data" "0.0.33" + "@types/node" "^8.0.0" + "@types/qs" "^6.2.31" + caseless "~0.12.0" + concat-stream "^1.6.0" + form-data "^2.2.0" + http-basic "^7.0.0" + http-response-object "^3.0.1" + promise "^8.0.0" + qs "^6.4.0" + +through2@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" + dependencies: + readable-stream "^2.1.5" + xtend "~4.0.1" + +through@^2.3.6, through@~2.3.4, through@~2.3.8: + version "2.3.8" + resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + +timers-browserify@^2.0.4: + version "2.0.10" + resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.10.tgz#1d28e3d2aadf1d5a5996c4e9f95601cd053480ae" + dependencies: + setimmediate "^1.0.4" + +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" + dependencies: + os-tmpdir "~1.0.2" + +to-arraybuffer@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" + +to-fast-properties@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" + +to-object-path@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" + dependencies: + kind-of "^3.0.2" + +to-regex-range@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" + dependencies: + is-number "^3.0.0" + repeat-string "^1.6.1" + +to-regex@^3.0.1, to-regex@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" + dependencies: + define-property "^2.0.2" + extend-shallow "^3.0.2" + regex-not "^1.0.2" + safe-regex "^1.1.0" + +tough-cookie@>=2.3.3: + version "2.4.3" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" + dependencies: + psl "^1.1.24" + punycode "^1.4.1" + +tough-cookie@~2.3.3: + version "2.3.4" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" + dependencies: + punycode "^1.4.1" + +treeify@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" + +trim-right@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" + +trim@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/trim/-/trim-0.0.1.tgz#5858547f6b290757ee95cccc666fb50084c460dd" + +truffle-hdwallet-provider@0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/truffle-hdwallet-provider/-/truffle-hdwallet-provider-0.0.3.tgz#0e1de02104b73d3875e1cf7093305b4ea8a2d843" + dependencies: + bip39 "^2.2.0" + ethereumjs-wallet "^0.6.0" + web3 "^0.18.2" + web3-provider-engine "^8.4.0" + +truffle-privatekey-provider@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/truffle-privatekey-provider/-/truffle-privatekey-provider-0.1.0.tgz#16a3ecbafc5d911dccc9850ba2aa413022c77009" + dependencies: + ethereumjs-wallet "^0.6.0" + web3 "^1.0.0-beta.34" + web3-provider-engine "^14.0.5" + +truffle@^4.1.5: + version "4.1.13" + resolved "https://registry.yarnpkg.com/truffle/-/truffle-4.1.13.tgz#bf27586988b4ff84563edfbf32b47941408a76ad" + dependencies: + mocha "^4.1.0" + original-require "1.0.1" + solc "0.4.24" + +tty-browserify@0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" + +tunnel-agent@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" + dependencies: + safe-buffer "^5.0.1" + +tweetnacl@^0.14.3, tweetnacl@~0.14.0: + version "0.14.5" + resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" + +type-check@~0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" + dependencies: + prelude-ls "~1.1.2" + +type-detect@0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822" + +type-detect@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2" + +typedarray@^0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" + +uglify-js@^2.8.27: + version "2.8.29" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" + dependencies: + source-map "~0.5.1" + yargs "~3.10.0" + optionalDependencies: + uglify-to-browserify "~1.0.0" + +uglify-to-browserify@~1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" + +underscore@^1.8.3: + version "1.9.1" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961" + +union-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" + dependencies: + arr-union "^3.1.0" + get-value "^2.0.6" + is-extendable "^0.1.1" + set-value "^0.4.3" + +unorm@^1.3.3: + version "1.4.1" + resolved "https://registry.yarnpkg.com/unorm/-/unorm-1.4.1.tgz#364200d5f13646ca8bcd44490271335614792300" + +unset-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" + dependencies: + has-value "^0.3.1" + isobject "^3.0.0" + +upath@^1.0.5: + version "1.1.0" + resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd" + +urix@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" + +url@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" + dependencies: + punycode "1.3.2" + querystring "0.2.0" + +use@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" + +utf8@^2.1.1: + version "2.1.2" + resolved "https://registry.yarnpkg.com/utf8/-/utf8-2.1.2.tgz#1fa0d9270e9be850d9b05027f63519bf46457d96" + +util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + +util@0.10.3: + version "0.10.3" + resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" + dependencies: + inherits "2.0.1" + +util@^0.10.3: + version "0.10.4" + resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" + dependencies: + inherits "2.0.3" + +uuid@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.1.tgz#c2a30dedb3e535d72ccf82e343941a50ba8533ac" + +uuid@^2.0.1: + version "2.0.3" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" + +uuid@^3.1.0: + version "3.3.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" + +validate-npm-package-license@^3.0.1: + version "3.0.3" + resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz#81643bcbef1bdfecd4623793dc4648948ba98338" + dependencies: + spdx-correct "^3.0.0" + spdx-expression-parse "^3.0.0" + +verror@1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" + dependencies: + assert-plus "^1.0.0" + core-util-is "1.0.2" + extsprintf "^1.2.0" + +vm-browserify@0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" + dependencies: + indexof "0.0.1" + +watchpack@^1.3.1: + version "1.6.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00" + dependencies: + chokidar "^2.0.2" + graceful-fs "^4.1.2" + neo-async "^2.5.0" + +web3-core-helpers@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.1.0.tgz#3ceabc4f815fb2840c7f847b157dec0dad07dd8f" + dependencies: + underscore "^1.8.3" + web3-eth-iban "^1.1.0" + web3-utils "^1.1.0" + +web3-eth-abi@^1.0.0-beta.33: + version "1.1.0" + resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.1.0.tgz#d52a3676d7123b366651efa58be5f39517c81ced" + dependencies: + bn.js "^4.11.6" + underscore "^1.8.3" + web3-core-helpers "^1.1.0" + web3-utils "^1.1.0" + +web3-eth-iban@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.1.0.tgz#c1e2485d4dabc557d7408a1848f5b4cf7d2d5ae1" + dependencies: + bases "^0.2.1" + bn.js "^4.11.6" + web3-utils "^1.1.0" + +web3-provider-engine@^13.3.2: + version "13.8.0" + resolved "https://registry.yarnpkg.com/web3-provider-engine/-/web3-provider-engine-13.8.0.tgz#4c7c1ad2af5f1fe10343b8a65495879a2f9c00df" + dependencies: + async "^2.5.0" + clone "^2.0.0" + eth-block-tracker "^2.2.2" + eth-sig-util "^1.4.2" + ethereumjs-block "^1.2.2" + ethereumjs-tx "^1.2.0" + ethereumjs-util "^5.1.1" + ethereumjs-vm "^2.0.2" + fetch-ponyfill "^4.0.0" + json-rpc-error "^2.0.0" + json-stable-stringify "^1.0.1" + promise-to-callback "^1.0.0" + readable-stream "^2.2.9" + request "^2.67.0" + semaphore "^1.0.3" + solc "^0.4.2" + tape "^4.4.0" + xhr "^2.2.0" + xtend "^4.0.1" + +web3-provider-engine@^14.0.5: + version "14.0.6" + resolved "https://registry.yarnpkg.com/web3-provider-engine/-/web3-provider-engine-14.0.6.tgz#cbdd66fe20c0136a3a495cbe40d18b6c4160d5f0" + dependencies: + async "^2.5.0" + backoff "^2.5.0" + clone "^2.0.0" + cross-fetch "^2.1.0" + eth-block-tracker "^3.0.0" + eth-json-rpc-infura "^3.1.0" + eth-sig-util "^1.4.2" + ethereumjs-block "^1.2.2" + ethereumjs-tx "^1.2.0" + ethereumjs-util "^5.1.5" + ethereumjs-vm "^2.3.4" + json-rpc-error "^2.0.0" + json-stable-stringify "^1.0.1" + promise-to-callback "^1.0.0" + readable-stream "^2.2.9" + request "^2.67.0" + semaphore "^1.0.3" + tape "^4.4.0" + ws "^5.1.1" + xhr "^2.2.0" + xtend "^4.0.1" + +web3-provider-engine@^8.4.0: + version "8.6.1" + resolved "https://registry.yarnpkg.com/web3-provider-engine/-/web3-provider-engine-8.6.1.tgz#4d86e19e30caaf97df351511ec0f60136e5b30eb" + dependencies: + async "^2.1.2" + clone "^2.0.0" + ethereumjs-block "^1.2.2" + ethereumjs-tx "^1.2.0" + ethereumjs-util "^5.0.1" + ethereumjs-vm "^2.0.2" + isomorphic-fetch "^2.2.0" + request "^2.67.0" + semaphore "^1.0.3" + solc "^0.4.2" + tape "^4.4.0" + web3 "^0.16.0" + xhr "^2.2.0" + xtend "^4.0.1" + +web3-utils@^1.1.0: + version "0.0.1" + resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-0.0.1.tgz#4b480c97e87ca1de918b47d04f6262edf05f785e" + +web3@^0.16.0: + version "0.16.0" + resolved "https://registry.yarnpkg.com/web3/-/web3-0.16.0.tgz#a4554175cd462943035b1f1d39432f741c6b6019" + dependencies: + bignumber.js "git+https://github.com/debris/bignumber.js#master" + crypto-js "^3.1.4" + utf8 "^2.1.1" + xmlhttprequest "*" + +web3@^0.18.2, web3@^0.18.4: + version "0.18.4" + resolved "https://registry.yarnpkg.com/web3/-/web3-0.18.4.tgz#81ec1784145491f2eaa8955b31c06049e07c5e7d" + dependencies: + bignumber.js "git+https://github.com/debris/bignumber.js.git#94d7146671b9719e00a09c29b01a691bc85048c2" + crypto-js "^3.1.4" + utf8 "^2.1.1" + xhr2 "*" + xmlhttprequest "*" + +web3@^1.0.0-beta.34, web3@^1.0.0-beta2: + version "1.0.0-beta2" + resolved "https://registry.yarnpkg.com/web3/-/web3-1.0.0-beta2.tgz#bde93e2b88c431673f25d81298221a1ec2b1a9ef" + +webpack-sources@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.1.0.tgz#a101ebae59d6507354d71d8013950a3a8b7a5a54" + dependencies: + source-list-map "^2.0.0" + source-map "~0.6.1" + +webpack@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.7.0.tgz#b2a1226804373ffd3d03ea9c6bd525067034f6b1" + dependencies: + acorn "^5.0.0" + acorn-dynamic-import "^2.0.0" + ajv "^4.7.0" + ajv-keywords "^1.1.1" + async "^2.1.2" + enhanced-resolve "^3.3.0" + interpret "^1.0.0" + json-loader "^0.5.4" + json5 "^0.5.1" + loader-runner "^2.3.0" + loader-utils "^0.2.16" + memory-fs "~0.4.1" + mkdirp "~0.5.0" + node-libs-browser "^2.0.0" + source-map "^0.5.3" + supports-color "^3.1.0" + tapable "~0.2.5" + uglify-js "^2.8.27" + watchpack "^1.3.1" + webpack-sources "^1.0.1" + yargs "^6.0.0" + +whatwg-fetch@2.0.4, whatwg-fetch@>=0.10.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f" + +which-module@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" + +which@^1.2.9: + version "1.3.1" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + dependencies: + isexe "^2.0.0" + +wide-align@^1.1.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" + dependencies: + string-width "^1.0.2 || 2" + +window-size@0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" + +window-size@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.2.0.tgz#b4315bb4214a3d7058ebeee892e13fa24d98b075" + +wordwrap@0.0.2: + version "0.0.2" + resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" + +wordwrap@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" + +wrap-ansi@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" + dependencies: + string-width "^1.0.1" + strip-ansi "^3.0.1" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + +write@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" + dependencies: + mkdirp "^0.5.1" + +ws@^5.1.1: + version "5.2.2" + resolved "https://registry.yarnpkg.com/ws/-/ws-5.2.2.tgz#dffef14866b8e8dc9133582514d1befaf96e980f" + dependencies: + async-limiter "~1.0.0" + +xhr2@*: + version "0.1.4" + resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.4.tgz#7f87658847716db5026323812f818cadab387a5f" + +xhr@^2.2.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/xhr/-/xhr-2.5.0.tgz#bed8d1676d5ca36108667692b74b316c496e49dd" + dependencies: + global "~4.3.0" + is-function "^1.0.1" + parse-headers "^2.0.0" + xtend "^4.0.0" + +xmlhttprequest@*, xmlhttprequest@1.8.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz#67fe075c5c24fef39f9d65f5f7b7fe75171968fc" + +xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.0, xtend@~4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" + +xtend@~2.1.1: + version "2.1.2" + resolved "https://registry.yarnpkg.com/xtend/-/xtend-2.1.2.tgz#6efecc2a4dad8e6962c4901b337ce7ba87b5d28b" + dependencies: + object-keys "~0.4.0" + +y18n@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" + +yallist@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" + +yallist@^3.0.0, yallist@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9" + +yargs-parser@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-2.4.1.tgz#85568de3cf150ff49fa51825f03a8c880ddcc5c4" + dependencies: + camelcase "^3.0.0" + lodash.assign "^4.0.6" + +yargs-parser@^4.2.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c" + dependencies: + camelcase "^3.0.0" + +yargs@^4.7.1: + version "4.8.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-4.8.1.tgz#c0c42924ca4aaa6b0e6da1739dfb216439f9ddc0" + dependencies: + cliui "^3.2.0" + decamelize "^1.1.1" + get-caller-file "^1.0.1" + lodash.assign "^4.0.3" + os-locale "^1.4.0" + read-pkg-up "^1.0.1" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^1.0.1" + which-module "^1.0.0" + window-size "^0.2.0" + y18n "^3.2.1" + yargs-parser "^2.4.1" + +yargs@^6.0.0: + version "6.6.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" + dependencies: + camelcase "^3.0.0" + cliui "^3.2.0" + decamelize "^1.1.1" + get-caller-file "^1.0.1" + os-locale "^1.4.0" + read-pkg-up "^1.0.1" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^1.0.2" + which-module "^1.0.0" + y18n "^3.2.1" + yargs-parser "^4.2.0" + +yargs@~3.10.0: + version "3.10.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" + dependencies: + camelcase "^1.0.2" + cliui "^2.1.0" + decamelize "^1.0.0" + window-size "0.1.0" + +zeppelin-solidity@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/zeppelin-solidity/-/zeppelin-solidity-1.6.0.tgz#c1048de286124cdcdb7e2492c2890ddfde04dd84" + dependencies: + dotenv "^4.0.0" + ethjs-abi "^0.2.1"