@latticexyz/world 2.0.0-alpha.63 → 2.0.0-alpha.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/abi/AccessControl.json +15 -15
  2. package/abi/AccessControlTest.json +273 -273
  3. package/abi/AddressArray.json +782 -782
  4. package/abi/ArrayLib.json +139 -139
  5. package/abi/Bool.json +539 -539
  6. package/abi/Call.json +6 -6
  7. package/abi/CommonBase.json +125 -125
  8. package/abi/CoreModule.json +259 -111
  9. package/abi/DecodeSlice.json +3187 -3187
  10. package/abi/FunctionSelectors.json +1412 -1412
  11. package/abi/Hooks.json +773 -773
  12. package/abi/IBaseWorld.json +7 -7
  13. package/abi/IErrors.json +48 -48
  14. package/abi/IMulticall3.json +283 -283
  15. package/abi/IRegistrationSystem.json +1 -1
  16. package/abi/IWorldTestSystem.json +5366 -5366
  17. package/abi/InstalledModules.json +1139 -1139
  18. package/abi/KeysWithValue.json +782 -782
  19. package/abi/KeysWithValueHook.json +369 -369
  20. package/abi/KeysWithValueModule.json +216 -216
  21. package/abi/KeysWithValueModuleTest.json +1274 -1274
  22. package/abi/NamespaceOwner.json +613 -613
  23. package/abi/PayableFallbackSystem.json +5368 -5368
  24. package/abi/RegistrationModule.json +307 -307
  25. package/abi/RegistrationSystem.json +885 -885
  26. package/abi/ResourceAccess.json +750 -750
  27. package/abi/ResourceType.json +627 -627
  28. package/abi/ScriptBase.json +125 -125
  29. package/abi/StdAssertions.json +1894 -1894
  30. package/abi/StdChains.json +1051 -1051
  31. package/abi/StdCheats.json +3257 -3257
  32. package/abi/StdCheatsSafe.json +3257 -3257
  33. package/abi/StdInvariant.json +336 -336
  34. package/abi/StdUtils.json +1122 -1122
  35. package/abi/Storage.json +488 -488
  36. package/abi/StoreView.json +7 -7
  37. package/abi/SystemRegistry.json +625 -625
  38. package/abi/SystemTest.json +146 -146
  39. package/abi/Systems.json +1180 -1180
  40. package/abi/TableId.json +27 -27
  41. package/abi/Test.json +52 -52
  42. package/abi/TestBase.json +125 -125
  43. package/abi/TestSystem.json +146 -146
  44. package/abi/TightCoder.json +240 -240
  45. package/abi/Utils.json +67 -67
  46. package/abi/Vm.json +1850 -1850
  47. package/abi/VmSafe.json +1850 -1850
  48. package/abi/World.json +55 -55
  49. package/abi/WorldTest.json +5368 -5368
  50. package/abi/WorldTestSystem.json +5368 -5368
  51. package/abi/WorldTestTableHook.json +5368 -5368
  52. package/abi/console2.json +11459 -11459
  53. package/abi/constants.json +7 -7
  54. package/abi/getKeysWithValue.json +125 -125
  55. package/abi/getTargetTableSelector.json +72 -72
  56. package/abi/stdError.json +78 -78
  57. package/abi/stdJson.json +1016 -1016
  58. package/abi/stdMath.json +218 -218
  59. package/abi/stdStorage.json +2400 -2400
  60. package/abi/stdStorageSafe.json +2400 -2400
  61. package/package.json +5 -5
  62. package/src/modules/core/CoreModule.sol +1 -0
  63. package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
  64. package/types/ethers-contracts/factories/KeysWithValueModuleTest__factory.ts +1 -1
  65. package/types/ethers-contracts/factories/PayableFallbackSystem__factory.ts +1 -1
  66. package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +1 -1
  67. package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
  68. package/types/ethers-contracts/factories/WorldTest__factory.ts +1 -1
@@ -10,30 +10,30 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/modules/keyswithvalue/getKeysWithValue.sol",
13
- "id": 58161,
13
+ "id": 58172,
14
14
  "exportedSymbols": {
15
15
  "IStore": [
16
16
  1163
17
17
  ],
18
18
  "KeysWithValue": [
19
- 58790
19
+ 58801
20
20
  ],
21
21
  "MODULE_NAMESPACE": [
22
- 58082
22
+ 58093
23
23
  ],
24
24
  "getKeysWithValue": [
25
- 58124,
26
- 58160
25
+ 58135,
26
+ 58171
27
27
  ],
28
28
  "getTargetTableSelector": [
29
- 60792
29
+ 60803
30
30
  ]
31
31
  },
32
32
  "nodeType": "SourceUnit",
33
33
  "src": "32:1367:106",
34
34
  "nodes": [
35
35
  {
36
- "id": 58084,
36
+ "id": 58095,
37
37
  "nodeType": "PragmaDirective",
38
38
  "src": "32:24:106",
39
39
  "nodes": [],
@@ -45,19 +45,19 @@
45
45
  ]
46
46
  },
47
47
  {
48
- "id": 58086,
48
+ "id": 58097,
49
49
  "nodeType": "ImportDirective",
50
50
  "src": "58:58:106",
51
51
  "nodes": [],
52
52
  "absolutePath": "../../node_modules/@latticexyz/store/src/IStore.sol",
53
53
  "file": "@latticexyz/store/src/IStore.sol",
54
54
  "nameLocation": "-1:-1:-1",
55
- "scope": 58161,
55
+ "scope": 58172,
56
56
  "sourceUnit": 1207,
57
57
  "symbolAliases": [
58
58
  {
59
59
  "foreign": {
60
- "id": 58085,
60
+ "id": 58096,
61
61
  "name": "IStore",
62
62
  "nodeType": "Identifier",
63
63
  "overloadedDeclarations": [],
@@ -71,23 +71,23 @@
71
71
  "unitAlias": ""
72
72
  },
73
73
  {
74
- "id": 58088,
74
+ "id": 58099,
75
75
  "nodeType": "ImportDirective",
76
76
  "src": "118:51:106",
77
77
  "nodes": [],
78
78
  "absolutePath": "src/modules/keyswithvalue/constants.sol",
79
79
  "file": "./constants.sol",
80
80
  "nameLocation": "-1:-1:-1",
81
- "scope": 58161,
82
- "sourceUnit": 58083,
81
+ "scope": 58172,
82
+ "sourceUnit": 58094,
83
83
  "symbolAliases": [
84
84
  {
85
85
  "foreign": {
86
- "id": 58087,
86
+ "id": 58098,
87
87
  "name": "MODULE_NAMESPACE",
88
88
  "nodeType": "Identifier",
89
89
  "overloadedDeclarations": [],
90
- "referencedDeclaration": 58082,
90
+ "referencedDeclaration": 58093,
91
91
  "src": "127:16:106",
92
92
  "typeDescriptions": {}
93
93
  },
@@ -97,23 +97,23 @@
97
97
  "unitAlias": ""
98
98
  },
99
99
  {
100
- "id": 58090,
100
+ "id": 58101,
101
101
  "nodeType": "ImportDirective",
102
102
  "src": "170:59:106",
103
103
  "nodes": [],
104
104
  "absolutePath": "src/modules/keyswithvalue/tables/KeysWithValue.sol",
105
105
  "file": "./tables/KeysWithValue.sol",
106
106
  "nameLocation": "-1:-1:-1",
107
- "scope": 58161,
108
- "sourceUnit": 58791,
107
+ "scope": 58172,
108
+ "sourceUnit": 58802,
109
109
  "symbolAliases": [
110
110
  {
111
111
  "foreign": {
112
- "id": 58089,
112
+ "id": 58100,
113
113
  "name": "KeysWithValue",
114
114
  "nodeType": "Identifier",
115
115
  "overloadedDeclarations": [],
116
- "referencedDeclaration": 58790,
116
+ "referencedDeclaration": 58801,
117
117
  "src": "179:13:106",
118
118
  "typeDescriptions": {}
119
119
  },
@@ -123,23 +123,23 @@
123
123
  "unitAlias": ""
124
124
  },
125
125
  {
126
- "id": 58092,
126
+ "id": 58103,
127
127
  "nodeType": "ImportDirective",
128
128
  "src": "230:77:106",
129
129
  "nodes": [],
130
130
  "absolutePath": "src/modules/utils/getTargetTableSelector.sol",
131
131
  "file": "../utils/getTargetTableSelector.sol",
132
132
  "nameLocation": "-1:-1:-1",
133
- "scope": 58161,
134
- "sourceUnit": 60793,
133
+ "scope": 58172,
134
+ "sourceUnit": 60804,
135
135
  "symbolAliases": [
136
136
  {
137
137
  "foreign": {
138
- "id": 58091,
138
+ "id": 58102,
139
139
  "name": "getTargetTableSelector",
140
140
  "nodeType": "Identifier",
141
141
  "overloadedDeclarations": [],
142
- "referencedDeclaration": 60792,
142
+ "referencedDeclaration": 60803,
143
143
  "src": "239:22:106",
144
144
  "typeDescriptions": {}
145
145
  },
@@ -149,29 +149,29 @@
149
149
  "unitAlias": ""
150
150
  },
151
151
  {
152
- "id": 58124,
152
+ "id": 58135,
153
153
  "nodeType": "FunctionDefinition",
154
154
  "src": "553:371:106",
155
155
  "nodes": [],
156
156
  "body": {
157
- "id": 58123,
157
+ "id": 58134,
158
158
  "nodeType": "Block",
159
159
  "src": "662:262:106",
160
160
  "nodes": [],
161
161
  "statements": [
162
162
  {
163
163
  "assignments": [
164
- 58104
164
+ 58115
165
165
  ],
166
166
  "declarations": [
167
167
  {
168
168
  "constant": false,
169
- "id": 58104,
169
+ "id": 58115,
170
170
  "mutability": "mutable",
171
171
  "name": "keysWithValueTableId",
172
172
  "nameLocation": "723:20:106",
173
173
  "nodeType": "VariableDeclaration",
174
- "scope": 58123,
174
+ "scope": 58134,
175
175
  "src": "715:28:106",
176
176
  "stateVariable": false,
177
177
  "storageLocation": "default",
@@ -180,7 +180,7 @@
180
180
  "typeString": "uint256"
181
181
  },
182
182
  "typeName": {
183
- "id": 58103,
183
+ "id": 58114,
184
184
  "name": "uint256",
185
185
  "nodeType": "ElementaryTypeName",
186
186
  "src": "715:7:106",
@@ -192,17 +192,17 @@
192
192
  "visibility": "internal"
193
193
  }
194
194
  ],
195
- "id": 58112,
195
+ "id": 58123,
196
196
  "initialValue": {
197
197
  "arguments": [
198
198
  {
199
199
  "arguments": [
200
200
  {
201
- "id": 58108,
201
+ "id": 58119,
202
202
  "name": "MODULE_NAMESPACE",
203
203
  "nodeType": "Identifier",
204
204
  "overloadedDeclarations": [],
205
- "referencedDeclaration": 58082,
205
+ "referencedDeclaration": 58093,
206
206
  "src": "777:16:106",
207
207
  "typeDescriptions": {
208
208
  "typeIdentifier": "t_bytes8",
@@ -210,11 +210,11 @@
210
210
  }
211
211
  },
212
212
  {
213
- "id": 58109,
213
+ "id": 58120,
214
214
  "name": "tableId",
215
215
  "nodeType": "Identifier",
216
216
  "overloadedDeclarations": [],
217
- "referencedDeclaration": 58095,
217
+ "referencedDeclaration": 58106,
218
218
  "src": "795:7:106",
219
219
  "typeDescriptions": {
220
220
  "typeIdentifier": "t_uint256",
@@ -233,18 +233,18 @@
233
233
  "typeString": "uint256"
234
234
  }
235
235
  ],
236
- "id": 58107,
236
+ "id": 58118,
237
237
  "name": "getTargetTableSelector",
238
238
  "nodeType": "Identifier",
239
239
  "overloadedDeclarations": [],
240
- "referencedDeclaration": 60792,
240
+ "referencedDeclaration": 60803,
241
241
  "src": "754:22:106",
242
242
  "typeDescriptions": {
243
243
  "typeIdentifier": "t_function_internal_pure$_t_bytes8_$_t_uint256_$returns$_t_bytes32_$",
244
244
  "typeString": "function (bytes8,uint256) pure returns (bytes32)"
245
245
  }
246
246
  },
247
- "id": 58110,
247
+ "id": 58121,
248
248
  "isConstant": false,
249
249
  "isLValue": false,
250
250
  "isPure": false,
@@ -267,7 +267,7 @@
267
267
  "typeString": "bytes32"
268
268
  }
269
269
  ],
270
- "id": 58106,
270
+ "id": 58117,
271
271
  "isConstant": false,
272
272
  "isLValue": false,
273
273
  "isPure": true,
@@ -279,14 +279,14 @@
279
279
  "typeString": "type(uint256)"
280
280
  },
281
281
  "typeName": {
282
- "id": 58105,
282
+ "id": 58116,
283
283
  "name": "uint256",
284
284
  "nodeType": "ElementaryTypeName",
285
285
  "src": "746:7:106",
286
286
  "typeDescriptions": {}
287
287
  }
288
288
  },
289
- "id": 58111,
289
+ "id": 58122,
290
290
  "isConstant": false,
291
291
  "isLValue": false,
292
292
  "isPure": false,
@@ -306,17 +306,17 @@
306
306
  },
307
307
  {
308
308
  "expression": {
309
- "id": 58121,
309
+ "id": 58132,
310
310
  "isConstant": false,
311
311
  "isLValue": false,
312
312
  "isPure": false,
313
313
  "lValueRequested": false,
314
314
  "leftHandSide": {
315
- "id": 58113,
315
+ "id": 58124,
316
316
  "name": "keysWithValue",
317
317
  "nodeType": "Identifier",
318
318
  "overloadedDeclarations": [],
319
- "referencedDeclaration": 58101,
319
+ "referencedDeclaration": 58112,
320
320
  "src": "848:13:106",
321
321
  "typeDescriptions": {
322
322
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -328,11 +328,11 @@
328
328
  "rightHandSide": {
329
329
  "arguments": [
330
330
  {
331
- "id": 58116,
331
+ "id": 58127,
332
332
  "name": "keysWithValueTableId",
333
333
  "nodeType": "Identifier",
334
334
  "overloadedDeclarations": [],
335
- "referencedDeclaration": 58104,
335
+ "referencedDeclaration": 58115,
336
336
  "src": "882:20:106",
337
337
  "typeDescriptions": {
338
338
  "typeIdentifier": "t_uint256",
@@ -342,11 +342,11 @@
342
342
  {
343
343
  "arguments": [
344
344
  {
345
- "id": 58118,
345
+ "id": 58129,
346
346
  "name": "value",
347
347
  "nodeType": "Identifier",
348
348
  "overloadedDeclarations": [],
349
- "referencedDeclaration": 58097,
349
+ "referencedDeclaration": 58108,
350
350
  "src": "914:5:106",
351
351
  "typeDescriptions": {
352
352
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -361,7 +361,7 @@
361
361
  "typeString": "bytes memory"
362
362
  }
363
363
  ],
364
- "id": 58117,
364
+ "id": 58128,
365
365
  "name": "keccak256",
366
366
  "nodeType": "Identifier",
367
367
  "overloadedDeclarations": [],
@@ -372,7 +372,7 @@
372
372
  "typeString": "function (bytes memory) pure returns (bytes32)"
373
373
  }
374
374
  },
375
- "id": 58119,
375
+ "id": 58130,
376
376
  "isConstant": false,
377
377
  "isLValue": false,
378
378
  "isPure": false,
@@ -400,32 +400,32 @@
400
400
  }
401
401
  ],
402
402
  "expression": {
403
- "id": 58114,
403
+ "id": 58125,
404
404
  "name": "KeysWithValue",
405
405
  "nodeType": "Identifier",
406
406
  "overloadedDeclarations": [],
407
- "referencedDeclaration": 58790,
407
+ "referencedDeclaration": 58801,
408
408
  "src": "864:13:106",
409
409
  "typeDescriptions": {
410
- "typeIdentifier": "t_type$_t_contract$_KeysWithValue_$58790_$",
410
+ "typeIdentifier": "t_type$_t_contract$_KeysWithValue_$58801_$",
411
411
  "typeString": "type(library KeysWithValue)"
412
412
  }
413
413
  },
414
- "id": 58115,
414
+ "id": 58126,
415
415
  "isConstant": false,
416
416
  "isLValue": false,
417
417
  "isPure": false,
418
418
  "lValueRequested": false,
419
419
  "memberName": "get",
420
420
  "nodeType": "MemberAccess",
421
- "referencedDeclaration": 58417,
421
+ "referencedDeclaration": 58428,
422
422
  "src": "864:17:106",
423
423
  "typeDescriptions": {
424
424
  "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_bytes32_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
425
425
  "typeString": "function (uint256,bytes32) view returns (bytes32[] memory)"
426
426
  }
427
427
  },
428
- "id": 58120,
428
+ "id": 58131,
429
429
  "isConstant": false,
430
430
  "isLValue": false,
431
431
  "isPure": false,
@@ -446,14 +446,14 @@
446
446
  "typeString": "bytes32[] memory"
447
447
  }
448
448
  },
449
- "id": 58122,
449
+ "id": 58133,
450
450
  "nodeType": "ExpressionStatement",
451
451
  "src": "848:73:106"
452
452
  }
453
453
  ]
454
454
  },
455
455
  "documentation": {
456
- "id": 58093,
456
+ "id": 58104,
457
457
  "nodeType": "StructuredDocumentation",
458
458
  "src": "309:243:106",
459
459
  "text": " Get a list of keys with the given value.\n Note: this util can only be called within the context of a Store (e.g. from a System or Module).\n For usage outside of a Store, use the overload that takes an explicit store argument."
@@ -464,17 +464,17 @@
464
464
  "name": "getKeysWithValue",
465
465
  "nameLocation": "562:16:106",
466
466
  "parameters": {
467
- "id": 58098,
467
+ "id": 58109,
468
468
  "nodeType": "ParameterList",
469
469
  "parameters": [
470
470
  {
471
471
  "constant": false,
472
- "id": 58095,
472
+ "id": 58106,
473
473
  "mutability": "mutable",
474
474
  "name": "tableId",
475
475
  "nameLocation": "587:7:106",
476
476
  "nodeType": "VariableDeclaration",
477
- "scope": 58124,
477
+ "scope": 58135,
478
478
  "src": "579:15:106",
479
479
  "stateVariable": false,
480
480
  "storageLocation": "default",
@@ -483,7 +483,7 @@
483
483
  "typeString": "uint256"
484
484
  },
485
485
  "typeName": {
486
- "id": 58094,
486
+ "id": 58105,
487
487
  "name": "uint256",
488
488
  "nodeType": "ElementaryTypeName",
489
489
  "src": "579:7:106",
@@ -496,12 +496,12 @@
496
496
  },
497
497
  {
498
498
  "constant": false,
499
- "id": 58097,
499
+ "id": 58108,
500
500
  "mutability": "mutable",
501
501
  "name": "value",
502
502
  "nameLocation": "609:5:106",
503
503
  "nodeType": "VariableDeclaration",
504
- "scope": 58124,
504
+ "scope": 58135,
505
505
  "src": "596:18:106",
506
506
  "stateVariable": false,
507
507
  "storageLocation": "memory",
@@ -510,7 +510,7 @@
510
510
  "typeString": "bytes"
511
511
  },
512
512
  "typeName": {
513
- "id": 58096,
513
+ "id": 58107,
514
514
  "name": "bytes",
515
515
  "nodeType": "ElementaryTypeName",
516
516
  "src": "596:5:106",
@@ -525,17 +525,17 @@
525
525
  "src": "578:37:106"
526
526
  },
527
527
  "returnParameters": {
528
- "id": 58102,
528
+ "id": 58113,
529
529
  "nodeType": "ParameterList",
530
530
  "parameters": [
531
531
  {
532
532
  "constant": false,
533
- "id": 58101,
533
+ "id": 58112,
534
534
  "mutability": "mutable",
535
535
  "name": "keysWithValue",
536
536
  "nameLocation": "647:13:106",
537
537
  "nodeType": "VariableDeclaration",
538
- "scope": 58124,
538
+ "scope": 58135,
539
539
  "src": "630:30:106",
540
540
  "stateVariable": false,
541
541
  "storageLocation": "memory",
@@ -545,7 +545,7 @@
545
545
  },
546
546
  "typeName": {
547
547
  "baseType": {
548
- "id": 58099,
548
+ "id": 58110,
549
549
  "name": "bytes32",
550
550
  "nodeType": "ElementaryTypeName",
551
551
  "src": "630:7:106",
@@ -554,7 +554,7 @@
554
554
  "typeString": "bytes32"
555
555
  }
556
556
  },
557
- "id": 58100,
557
+ "id": 58111,
558
558
  "nodeType": "ArrayTypeName",
559
559
  "src": "630:9:106",
560
560
  "typeDescriptions": {
@@ -567,35 +567,35 @@
567
567
  ],
568
568
  "src": "629:32:106"
569
569
  },
570
- "scope": 58161,
570
+ "scope": 58172,
571
571
  "stateMutability": "view",
572
572
  "virtual": false,
573
573
  "visibility": "internal"
574
574
  },
575
575
  {
576
- "id": 58160,
576
+ "id": 58171,
577
577
  "nodeType": "FunctionDefinition",
578
578
  "src": "998:400:106",
579
579
  "nodes": [],
580
580
  "body": {
581
- "id": 58159,
581
+ "id": 58170,
582
582
  "nodeType": "Block",
583
583
  "src": "1129:269:106",
584
584
  "nodes": [],
585
585
  "statements": [
586
586
  {
587
587
  "assignments": [
588
- 58139
588
+ 58150
589
589
  ],
590
590
  "declarations": [
591
591
  {
592
592
  "constant": false,
593
- "id": 58139,
593
+ "id": 58150,
594
594
  "mutability": "mutable",
595
595
  "name": "keysWithValueTableId",
596
596
  "nameLocation": "1190:20:106",
597
597
  "nodeType": "VariableDeclaration",
598
- "scope": 58159,
598
+ "scope": 58170,
599
599
  "src": "1182:28:106",
600
600
  "stateVariable": false,
601
601
  "storageLocation": "default",
@@ -604,7 +604,7 @@
604
604
  "typeString": "uint256"
605
605
  },
606
606
  "typeName": {
607
- "id": 58138,
607
+ "id": 58149,
608
608
  "name": "uint256",
609
609
  "nodeType": "ElementaryTypeName",
610
610
  "src": "1182:7:106",
@@ -616,17 +616,17 @@
616
616
  "visibility": "internal"
617
617
  }
618
618
  ],
619
- "id": 58147,
619
+ "id": 58158,
620
620
  "initialValue": {
621
621
  "arguments": [
622
622
  {
623
623
  "arguments": [
624
624
  {
625
- "id": 58143,
625
+ "id": 58154,
626
626
  "name": "MODULE_NAMESPACE",
627
627
  "nodeType": "Identifier",
628
628
  "overloadedDeclarations": [],
629
- "referencedDeclaration": 58082,
629
+ "referencedDeclaration": 58093,
630
630
  "src": "1244:16:106",
631
631
  "typeDescriptions": {
632
632
  "typeIdentifier": "t_bytes8",
@@ -634,11 +634,11 @@
634
634
  }
635
635
  },
636
636
  {
637
- "id": 58144,
637
+ "id": 58155,
638
638
  "name": "tableId",
639
639
  "nodeType": "Identifier",
640
640
  "overloadedDeclarations": [],
641
- "referencedDeclaration": 58130,
641
+ "referencedDeclaration": 58141,
642
642
  "src": "1262:7:106",
643
643
  "typeDescriptions": {
644
644
  "typeIdentifier": "t_uint256",
@@ -657,18 +657,18 @@
657
657
  "typeString": "uint256"
658
658
  }
659
659
  ],
660
- "id": 58142,
660
+ "id": 58153,
661
661
  "name": "getTargetTableSelector",
662
662
  "nodeType": "Identifier",
663
663
  "overloadedDeclarations": [],
664
- "referencedDeclaration": 60792,
664
+ "referencedDeclaration": 60803,
665
665
  "src": "1221:22:106",
666
666
  "typeDescriptions": {
667
667
  "typeIdentifier": "t_function_internal_pure$_t_bytes8_$_t_uint256_$returns$_t_bytes32_$",
668
668
  "typeString": "function (bytes8,uint256) pure returns (bytes32)"
669
669
  }
670
670
  },
671
- "id": 58145,
671
+ "id": 58156,
672
672
  "isConstant": false,
673
673
  "isLValue": false,
674
674
  "isPure": false,
@@ -691,7 +691,7 @@
691
691
  "typeString": "bytes32"
692
692
  }
693
693
  ],
694
- "id": 58141,
694
+ "id": 58152,
695
695
  "isConstant": false,
696
696
  "isLValue": false,
697
697
  "isPure": true,
@@ -703,14 +703,14 @@
703
703
  "typeString": "type(uint256)"
704
704
  },
705
705
  "typeName": {
706
- "id": 58140,
706
+ "id": 58151,
707
707
  "name": "uint256",
708
708
  "nodeType": "ElementaryTypeName",
709
709
  "src": "1213:7:106",
710
710
  "typeDescriptions": {}
711
711
  }
712
712
  },
713
- "id": 58146,
713
+ "id": 58157,
714
714
  "isConstant": false,
715
715
  "isLValue": false,
716
716
  "isPure": false,
@@ -730,17 +730,17 @@
730
730
  },
731
731
  {
732
732
  "expression": {
733
- "id": 58157,
733
+ "id": 58168,
734
734
  "isConstant": false,
735
735
  "isLValue": false,
736
736
  "isPure": false,
737
737
  "lValueRequested": false,
738
738
  "leftHandSide": {
739
- "id": 58148,
739
+ "id": 58159,
740
740
  "name": "keysWithValue",
741
741
  "nodeType": "Identifier",
742
742
  "overloadedDeclarations": [],
743
- "referencedDeclaration": 58136,
743
+ "referencedDeclaration": 58147,
744
744
  "src": "1315:13:106",
745
745
  "typeDescriptions": {
746
746
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -752,11 +752,11 @@
752
752
  "rightHandSide": {
753
753
  "arguments": [
754
754
  {
755
- "id": 58151,
755
+ "id": 58162,
756
756
  "name": "store",
757
757
  "nodeType": "Identifier",
758
758
  "overloadedDeclarations": [],
759
- "referencedDeclaration": 58128,
759
+ "referencedDeclaration": 58139,
760
760
  "src": "1349:5:106",
761
761
  "typeDescriptions": {
762
762
  "typeIdentifier": "t_contract$_IStore_$1163",
@@ -764,11 +764,11 @@
764
764
  }
765
765
  },
766
766
  {
767
- "id": 58152,
767
+ "id": 58163,
768
768
  "name": "keysWithValueTableId",
769
769
  "nodeType": "Identifier",
770
770
  "overloadedDeclarations": [],
771
- "referencedDeclaration": 58139,
771
+ "referencedDeclaration": 58150,
772
772
  "src": "1356:20:106",
773
773
  "typeDescriptions": {
774
774
  "typeIdentifier": "t_uint256",
@@ -778,11 +778,11 @@
778
778
  {
779
779
  "arguments": [
780
780
  {
781
- "id": 58154,
781
+ "id": 58165,
782
782
  "name": "value",
783
783
  "nodeType": "Identifier",
784
784
  "overloadedDeclarations": [],
785
- "referencedDeclaration": 58132,
785
+ "referencedDeclaration": 58143,
786
786
  "src": "1388:5:106",
787
787
  "typeDescriptions": {
788
788
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -797,7 +797,7 @@
797
797
  "typeString": "bytes memory"
798
798
  }
799
799
  ],
800
- "id": 58153,
800
+ "id": 58164,
801
801
  "name": "keccak256",
802
802
  "nodeType": "Identifier",
803
803
  "overloadedDeclarations": [],
@@ -808,7 +808,7 @@
808
808
  "typeString": "function (bytes memory) pure returns (bytes32)"
809
809
  }
810
810
  },
811
- "id": 58155,
811
+ "id": 58166,
812
812
  "isConstant": false,
813
813
  "isLValue": false,
814
814
  "isPure": false,
@@ -840,32 +840,32 @@
840
840
  }
841
841
  ],
842
842
  "expression": {
843
- "id": 58149,
843
+ "id": 58160,
844
844
  "name": "KeysWithValue",
845
845
  "nodeType": "Identifier",
846
846
  "overloadedDeclarations": [],
847
- "referencedDeclaration": 58790,
847
+ "referencedDeclaration": 58801,
848
848
  "src": "1331:13:106",
849
849
  "typeDescriptions": {
850
- "typeIdentifier": "t_type$_t_contract$_KeysWithValue_$58790_$",
850
+ "typeIdentifier": "t_type$_t_contract$_KeysWithValue_$58801_$",
851
851
  "typeString": "type(library KeysWithValue)"
852
852
  }
853
853
  },
854
- "id": 58150,
854
+ "id": 58161,
855
855
  "isConstant": false,
856
856
  "isLValue": false,
857
857
  "isPure": false,
858
858
  "lValueRequested": false,
859
859
  "memberName": "get",
860
860
  "nodeType": "MemberAccess",
861
- "referencedDeclaration": 58473,
861
+ "referencedDeclaration": 58484,
862
862
  "src": "1331:17:106",
863
863
  "typeDescriptions": {
864
864
  "typeIdentifier": "t_function_internal_view$_t_contract$_IStore_$1163_$_t_uint256_$_t_bytes32_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
865
865
  "typeString": "function (contract IStore,uint256,bytes32) view returns (bytes32[] memory)"
866
866
  }
867
867
  },
868
- "id": 58156,
868
+ "id": 58167,
869
869
  "isConstant": false,
870
870
  "isLValue": false,
871
871
  "isPure": false,
@@ -886,14 +886,14 @@
886
886
  "typeString": "bytes32[] memory"
887
887
  }
888
888
  },
889
- "id": 58158,
889
+ "id": 58169,
890
890
  "nodeType": "ExpressionStatement",
891
891
  "src": "1315:80:106"
892
892
  }
893
893
  ]
894
894
  },
895
895
  "documentation": {
896
- "id": 58125,
896
+ "id": 58136,
897
897
  "nodeType": "StructuredDocumentation",
898
898
  "src": "926:71:106",
899
899
  "text": " Get a list of keys with the given value for the given store."
@@ -904,17 +904,17 @@
904
904
  "name": "getKeysWithValue",
905
905
  "nameLocation": "1007:16:106",
906
906
  "parameters": {
907
- "id": 58133,
907
+ "id": 58144,
908
908
  "nodeType": "ParameterList",
909
909
  "parameters": [
910
910
  {
911
911
  "constant": false,
912
- "id": 58128,
912
+ "id": 58139,
913
913
  "mutability": "mutable",
914
914
  "name": "store",
915
915
  "nameLocation": "1034:5:106",
916
916
  "nodeType": "VariableDeclaration",
917
- "scope": 58160,
917
+ "scope": 58171,
918
918
  "src": "1027:12:106",
919
919
  "stateVariable": false,
920
920
  "storageLocation": "default",
@@ -923,10 +923,10 @@
923
923
  "typeString": "contract IStore"
924
924
  },
925
925
  "typeName": {
926
- "id": 58127,
926
+ "id": 58138,
927
927
  "nodeType": "UserDefinedTypeName",
928
928
  "pathNode": {
929
- "id": 58126,
929
+ "id": 58137,
930
930
  "name": "IStore",
931
931
  "nodeType": "IdentifierPath",
932
932
  "referencedDeclaration": 1163,
@@ -943,12 +943,12 @@
943
943
  },
944
944
  {
945
945
  "constant": false,
946
- "id": 58130,
946
+ "id": 58141,
947
947
  "mutability": "mutable",
948
948
  "name": "tableId",
949
949
  "nameLocation": "1051:7:106",
950
950
  "nodeType": "VariableDeclaration",
951
- "scope": 58160,
951
+ "scope": 58171,
952
952
  "src": "1043:15:106",
953
953
  "stateVariable": false,
954
954
  "storageLocation": "default",
@@ -957,7 +957,7 @@
957
957
  "typeString": "uint256"
958
958
  },
959
959
  "typeName": {
960
- "id": 58129,
960
+ "id": 58140,
961
961
  "name": "uint256",
962
962
  "nodeType": "ElementaryTypeName",
963
963
  "src": "1043:7:106",
@@ -970,12 +970,12 @@
970
970
  },
971
971
  {
972
972
  "constant": false,
973
- "id": 58132,
973
+ "id": 58143,
974
974
  "mutability": "mutable",
975
975
  "name": "value",
976
976
  "nameLocation": "1075:5:106",
977
977
  "nodeType": "VariableDeclaration",
978
- "scope": 58160,
978
+ "scope": 58171,
979
979
  "src": "1062:18:106",
980
980
  "stateVariable": false,
981
981
  "storageLocation": "memory",
@@ -984,7 +984,7 @@
984
984
  "typeString": "bytes"
985
985
  },
986
986
  "typeName": {
987
- "id": 58131,
987
+ "id": 58142,
988
988
  "name": "bytes",
989
989
  "nodeType": "ElementaryTypeName",
990
990
  "src": "1062:5:106",
@@ -999,17 +999,17 @@
999
999
  "src": "1023:59:106"
1000
1000
  },
1001
1001
  "returnParameters": {
1002
- "id": 58137,
1002
+ "id": 58148,
1003
1003
  "nodeType": "ParameterList",
1004
1004
  "parameters": [
1005
1005
  {
1006
1006
  "constant": false,
1007
- "id": 58136,
1007
+ "id": 58147,
1008
1008
  "mutability": "mutable",
1009
1009
  "name": "keysWithValue",
1010
1010
  "nameLocation": "1114:13:106",
1011
1011
  "nodeType": "VariableDeclaration",
1012
- "scope": 58160,
1012
+ "scope": 58171,
1013
1013
  "src": "1097:30:106",
1014
1014
  "stateVariable": false,
1015
1015
  "storageLocation": "memory",
@@ -1019,7 +1019,7 @@
1019
1019
  },
1020
1020
  "typeName": {
1021
1021
  "baseType": {
1022
- "id": 58134,
1022
+ "id": 58145,
1023
1023
  "name": "bytes32",
1024
1024
  "nodeType": "ElementaryTypeName",
1025
1025
  "src": "1097:7:106",
@@ -1028,7 +1028,7 @@
1028
1028
  "typeString": "bytes32"
1029
1029
  }
1030
1030
  },
1031
- "id": 58135,
1031
+ "id": 58146,
1032
1032
  "nodeType": "ArrayTypeName",
1033
1033
  "src": "1097:9:106",
1034
1034
  "typeDescriptions": {
@@ -1041,7 +1041,7 @@
1041
1041
  ],
1042
1042
  "src": "1096:32:106"
1043
1043
  },
1044
- "scope": 58161,
1044
+ "scope": 58172,
1045
1045
  "stateMutability": "view",
1046
1046
  "virtual": false,
1047
1047
  "visibility": "internal"