@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
package/abi/ArrayLib.json CHANGED
@@ -72,17 +72,17 @@
72
72
  },
73
73
  "ast": {
74
74
  "absolutePath": "src/modules/utils/ArrayLib.sol",
75
- "id": 60737,
75
+ "id": 60748,
76
76
  "exportedSymbols": {
77
77
  "ArrayLib": [
78
- 60736
78
+ 60747
79
79
  ]
80
80
  },
81
81
  "nodeType": "SourceUnit",
82
82
  "src": "32:807:112",
83
83
  "nodes": [
84
84
  {
85
- "id": 60640,
85
+ "id": 60651,
86
86
  "nodeType": "PragmaDirective",
87
87
  "src": "32:24:112",
88
88
  "nodes": [],
@@ -94,24 +94,24 @@
94
94
  ]
95
95
  },
96
96
  {
97
- "id": 60736,
97
+ "id": 60747,
98
98
  "nodeType": "ContractDefinition",
99
99
  "src": "58:780:112",
100
100
  "nodes": [
101
101
  {
102
- "id": 60674,
102
+ "id": 60685,
103
103
  "nodeType": "FunctionDefinition",
104
104
  "src": "79:218:112",
105
105
  "nodes": [],
106
106
  "body": {
107
- "id": 60673,
107
+ "id": 60684,
108
108
  "nodeType": "Block",
109
109
  "src": "165:132:112",
110
110
  "nodes": [],
111
111
  "statements": [
112
112
  {
113
113
  "body": {
114
- "id": 60669,
114
+ "id": 60680,
115
115
  "nodeType": "Block",
116
116
  "src": "208:67:112",
117
117
  "statements": [
@@ -121,31 +121,31 @@
121
121
  "typeIdentifier": "t_bytes32",
122
122
  "typeString": "bytes32"
123
123
  },
124
- "id": 60664,
124
+ "id": 60675,
125
125
  "isConstant": false,
126
126
  "isLValue": false,
127
127
  "isPure": false,
128
128
  "lValueRequested": false,
129
129
  "leftExpression": {
130
130
  "baseExpression": {
131
- "id": 60660,
131
+ "id": 60671,
132
132
  "name": "arr",
133
133
  "nodeType": "Identifier",
134
134
  "overloadedDeclarations": [],
135
- "referencedDeclaration": 60643,
135
+ "referencedDeclaration": 60654,
136
136
  "src": "220:3:112",
137
137
  "typeDescriptions": {
138
138
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
139
139
  "typeString": "bytes32[] memory"
140
140
  }
141
141
  },
142
- "id": 60662,
142
+ "id": 60673,
143
143
  "indexExpression": {
144
- "id": 60661,
144
+ "id": 60672,
145
145
  "name": "i",
146
146
  "nodeType": "Identifier",
147
147
  "overloadedDeclarations": [],
148
- "referencedDeclaration": 60651,
148
+ "referencedDeclaration": 60662,
149
149
  "src": "224:1:112",
150
150
  "typeDescriptions": {
151
151
  "typeIdentifier": "t_uint256",
@@ -166,11 +166,11 @@
166
166
  "nodeType": "BinaryOperation",
167
167
  "operator": "==",
168
168
  "rightExpression": {
169
- "id": 60663,
169
+ "id": 60674,
170
170
  "name": "element",
171
171
  "nodeType": "Identifier",
172
172
  "overloadedDeclarations": [],
173
- "referencedDeclaration": 60645,
173
+ "referencedDeclaration": 60656,
174
174
  "src": "230:7:112",
175
175
  "typeDescriptions": {
176
176
  "typeIdentifier": "t_bytes32",
@@ -183,18 +183,18 @@
183
183
  "typeString": "bool"
184
184
  }
185
185
  },
186
- "id": 60668,
186
+ "id": 60679,
187
187
  "nodeType": "IfStatement",
188
188
  "src": "216:53:112",
189
189
  "trueBody": {
190
- "id": 60667,
190
+ "id": 60678,
191
191
  "nodeType": "Block",
192
192
  "src": "239:30:112",
193
193
  "statements": [
194
194
  {
195
195
  "expression": {
196
196
  "hexValue": "74727565",
197
- "id": 60665,
197
+ "id": 60676,
198
198
  "isConstant": false,
199
199
  "isLValue": false,
200
200
  "isPure": true,
@@ -208,8 +208,8 @@
208
208
  },
209
209
  "value": "true"
210
210
  },
211
- "functionReturnParameters": 60649,
212
- "id": 60666,
211
+ "functionReturnParameters": 60660,
212
+ "id": 60677,
213
213
  "nodeType": "Return",
214
214
  "src": "249:11:112"
215
215
  }
@@ -223,17 +223,17 @@
223
223
  "typeIdentifier": "t_uint256",
224
224
  "typeString": "uint256"
225
225
  },
226
- "id": 60656,
226
+ "id": 60667,
227
227
  "isConstant": false,
228
228
  "isLValue": false,
229
229
  "isPure": false,
230
230
  "lValueRequested": false,
231
231
  "leftExpression": {
232
- "id": 60653,
232
+ "id": 60664,
233
233
  "name": "i",
234
234
  "nodeType": "Identifier",
235
235
  "overloadedDeclarations": [],
236
- "referencedDeclaration": 60651,
236
+ "referencedDeclaration": 60662,
237
237
  "src": "187:1:112",
238
238
  "typeDescriptions": {
239
239
  "typeIdentifier": "t_uint256",
@@ -244,18 +244,18 @@
244
244
  "operator": "<",
245
245
  "rightExpression": {
246
246
  "expression": {
247
- "id": 60654,
247
+ "id": 60665,
248
248
  "name": "arr",
249
249
  "nodeType": "Identifier",
250
250
  "overloadedDeclarations": [],
251
- "referencedDeclaration": 60643,
251
+ "referencedDeclaration": 60654,
252
252
  "src": "191:3:112",
253
253
  "typeDescriptions": {
254
254
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
255
255
  "typeString": "bytes32[] memory"
256
256
  }
257
257
  },
258
- "id": 60655,
258
+ "id": 60666,
259
259
  "isConstant": false,
260
260
  "isLValue": false,
261
261
  "isPure": false,
@@ -274,20 +274,20 @@
274
274
  "typeString": "bool"
275
275
  }
276
276
  },
277
- "id": 60670,
277
+ "id": 60681,
278
278
  "initializationExpression": {
279
279
  "assignments": [
280
- 60651
280
+ 60662
281
281
  ],
282
282
  "declarations": [
283
283
  {
284
284
  "constant": false,
285
- "id": 60651,
285
+ "id": 60662,
286
286
  "mutability": "mutable",
287
287
  "name": "i",
288
288
  "nameLocation": "184:1:112",
289
289
  "nodeType": "VariableDeclaration",
290
- "scope": 60670,
290
+ "scope": 60681,
291
291
  "src": "176:9:112",
292
292
  "stateVariable": false,
293
293
  "storageLocation": "default",
@@ -296,7 +296,7 @@
296
296
  "typeString": "uint256"
297
297
  },
298
298
  "typeName": {
299
- "id": 60650,
299
+ "id": 60661,
300
300
  "name": "uint256",
301
301
  "nodeType": "ElementaryTypeName",
302
302
  "src": "176:7:112",
@@ -308,13 +308,13 @@
308
308
  "visibility": "internal"
309
309
  }
310
310
  ],
311
- "id": 60652,
311
+ "id": 60663,
312
312
  "nodeType": "VariableDeclarationStatement",
313
313
  "src": "176:9:112"
314
314
  },
315
315
  "loopExpression": {
316
316
  "expression": {
317
- "id": 60658,
317
+ "id": 60669,
318
318
  "isConstant": false,
319
319
  "isLValue": false,
320
320
  "isPure": false,
@@ -324,11 +324,11 @@
324
324
  "prefix": false,
325
325
  "src": "203:3:112",
326
326
  "subExpression": {
327
- "id": 60657,
327
+ "id": 60668,
328
328
  "name": "i",
329
329
  "nodeType": "Identifier",
330
330
  "overloadedDeclarations": [],
331
- "referencedDeclaration": 60651,
331
+ "referencedDeclaration": 60662,
332
332
  "src": "203:1:112",
333
333
  "typeDescriptions": {
334
334
  "typeIdentifier": "t_uint256",
@@ -340,7 +340,7 @@
340
340
  "typeString": "uint256"
341
341
  }
342
342
  },
343
- "id": 60659,
343
+ "id": 60670,
344
344
  "nodeType": "ExpressionStatement",
345
345
  "src": "203:3:112"
346
346
  },
@@ -350,7 +350,7 @@
350
350
  {
351
351
  "expression": {
352
352
  "hexValue": "66616c7365",
353
- "id": 60671,
353
+ "id": 60682,
354
354
  "isConstant": false,
355
355
  "isLValue": false,
356
356
  "isPure": true,
@@ -364,8 +364,8 @@
364
364
  },
365
365
  "value": "false"
366
366
  },
367
- "functionReturnParameters": 60649,
368
- "id": 60672,
367
+ "functionReturnParameters": 60660,
368
+ "id": 60683,
369
369
  "nodeType": "Return",
370
370
  "src": "280:12:112"
371
371
  }
@@ -377,17 +377,17 @@
377
377
  "name": "includes",
378
378
  "nameLocation": "88:8:112",
379
379
  "parameters": {
380
- "id": 60646,
380
+ "id": 60657,
381
381
  "nodeType": "ParameterList",
382
382
  "parameters": [
383
383
  {
384
384
  "constant": false,
385
- "id": 60643,
385
+ "id": 60654,
386
386
  "mutability": "mutable",
387
387
  "name": "arr",
388
388
  "nameLocation": "114:3:112",
389
389
  "nodeType": "VariableDeclaration",
390
- "scope": 60674,
390
+ "scope": 60685,
391
391
  "src": "97:20:112",
392
392
  "stateVariable": false,
393
393
  "storageLocation": "memory",
@@ -397,7 +397,7 @@
397
397
  },
398
398
  "typeName": {
399
399
  "baseType": {
400
- "id": 60641,
400
+ "id": 60652,
401
401
  "name": "bytes32",
402
402
  "nodeType": "ElementaryTypeName",
403
403
  "src": "97:7:112",
@@ -406,7 +406,7 @@
406
406
  "typeString": "bytes32"
407
407
  }
408
408
  },
409
- "id": 60642,
409
+ "id": 60653,
410
410
  "nodeType": "ArrayTypeName",
411
411
  "src": "97:9:112",
412
412
  "typeDescriptions": {
@@ -418,12 +418,12 @@
418
418
  },
419
419
  {
420
420
  "constant": false,
421
- "id": 60645,
421
+ "id": 60656,
422
422
  "mutability": "mutable",
423
423
  "name": "element",
424
424
  "nameLocation": "127:7:112",
425
425
  "nodeType": "VariableDeclaration",
426
- "scope": 60674,
426
+ "scope": 60685,
427
427
  "src": "119:15:112",
428
428
  "stateVariable": false,
429
429
  "storageLocation": "default",
@@ -432,7 +432,7 @@
432
432
  "typeString": "bytes32"
433
433
  },
434
434
  "typeName": {
435
- "id": 60644,
435
+ "id": 60655,
436
436
  "name": "bytes32",
437
437
  "nodeType": "ElementaryTypeName",
438
438
  "src": "119:7:112",
@@ -447,17 +447,17 @@
447
447
  "src": "96:39:112"
448
448
  },
449
449
  "returnParameters": {
450
- "id": 60649,
450
+ "id": 60660,
451
451
  "nodeType": "ParameterList",
452
452
  "parameters": [
453
453
  {
454
454
  "constant": false,
455
- "id": 60648,
455
+ "id": 60659,
456
456
  "mutability": "mutable",
457
457
  "name": "",
458
458
  "nameLocation": "-1:-1:-1",
459
459
  "nodeType": "VariableDeclaration",
460
- "scope": 60674,
460
+ "scope": 60685,
461
461
  "src": "159:4:112",
462
462
  "stateVariable": false,
463
463
  "storageLocation": "default",
@@ -466,7 +466,7 @@
466
466
  "typeString": "bool"
467
467
  },
468
468
  "typeName": {
469
- "id": 60647,
469
+ "id": 60658,
470
470
  "name": "bool",
471
471
  "nodeType": "ElementaryTypeName",
472
472
  "src": "159:4:112",
@@ -480,35 +480,35 @@
480
480
  ],
481
481
  "src": "158:6:112"
482
482
  },
483
- "scope": 60736,
483
+ "scope": 60747,
484
484
  "stateMutability": "pure",
485
485
  "virtual": false,
486
486
  "visibility": "internal"
487
487
  },
488
488
  {
489
- "id": 60735,
489
+ "id": 60746,
490
490
  "nodeType": "FunctionDefinition",
491
491
  "src": "301:535:112",
492
492
  "nodes": [],
493
493
  "body": {
494
- "id": 60734,
494
+ "id": 60745,
495
495
  "nodeType": "Block",
496
496
  "src": "397:439:112",
497
497
  "nodes": [],
498
498
  "statements": [
499
499
  {
500
500
  "assignments": [
501
- 60689
501
+ 60700
502
502
  ],
503
503
  "declarations": [
504
504
  {
505
505
  "constant": false,
506
- "id": 60689,
506
+ "id": 60700,
507
507
  "mutability": "mutable",
508
508
  "name": "filtered",
509
509
  "nameLocation": "420:8:112",
510
510
  "nodeType": "VariableDeclaration",
511
- "scope": 60734,
511
+ "scope": 60745,
512
512
  "src": "403:25:112",
513
513
  "stateVariable": false,
514
514
  "storageLocation": "memory",
@@ -518,7 +518,7 @@
518
518
  },
519
519
  "typeName": {
520
520
  "baseType": {
521
- "id": 60687,
521
+ "id": 60698,
522
522
  "name": "bytes32",
523
523
  "nodeType": "ElementaryTypeName",
524
524
  "src": "403:7:112",
@@ -527,7 +527,7 @@
527
527
  "typeString": "bytes32"
528
528
  }
529
529
  },
530
- "id": 60688,
530
+ "id": 60699,
531
531
  "nodeType": "ArrayTypeName",
532
532
  "src": "403:9:112",
533
533
  "typeDescriptions": {
@@ -538,23 +538,23 @@
538
538
  "visibility": "internal"
539
539
  }
540
540
  ],
541
- "id": 60696,
541
+ "id": 60707,
542
542
  "initialValue": {
543
543
  "arguments": [
544
544
  {
545
545
  "expression": {
546
- "id": 60693,
546
+ "id": 60704,
547
547
  "name": "arr",
548
548
  "nodeType": "Identifier",
549
549
  "overloadedDeclarations": [],
550
- "referencedDeclaration": 60677,
550
+ "referencedDeclaration": 60688,
551
551
  "src": "445:3:112",
552
552
  "typeDescriptions": {
553
553
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
554
554
  "typeString": "bytes32[] memory"
555
555
  }
556
556
  },
557
- "id": 60694,
557
+ "id": 60705,
558
558
  "isConstant": false,
559
559
  "isLValue": false,
560
560
  "isPure": false,
@@ -575,7 +575,7 @@
575
575
  "typeString": "uint256"
576
576
  }
577
577
  ],
578
- "id": 60692,
578
+ "id": 60703,
579
579
  "isConstant": false,
580
580
  "isLValue": false,
581
581
  "isPure": true,
@@ -588,7 +588,7 @@
588
588
  },
589
589
  "typeName": {
590
590
  "baseType": {
591
- "id": 60690,
591
+ "id": 60701,
592
592
  "name": "bytes32",
593
593
  "nodeType": "ElementaryTypeName",
594
594
  "src": "435:7:112",
@@ -597,7 +597,7 @@
597
597
  "typeString": "bytes32"
598
598
  }
599
599
  },
600
- "id": 60691,
600
+ "id": 60702,
601
601
  "nodeType": "ArrayTypeName",
602
602
  "src": "435:9:112",
603
603
  "typeDescriptions": {
@@ -606,7 +606,7 @@
606
606
  }
607
607
  }
608
608
  },
609
- "id": 60695,
609
+ "id": 60706,
610
610
  "isConstant": false,
611
611
  "isLValue": false,
612
612
  "isPure": false,
@@ -626,17 +626,17 @@
626
626
  },
627
627
  {
628
628
  "assignments": [
629
- 60698
629
+ 60709
630
630
  ],
631
631
  "declarations": [
632
632
  {
633
633
  "constant": false,
634
- "id": 60698,
634
+ "id": 60709,
635
635
  "mutability": "mutable",
636
636
  "name": "filteredIndex",
637
637
  "nameLocation": "470:13:112",
638
638
  "nodeType": "VariableDeclaration",
639
- "scope": 60734,
639
+ "scope": 60745,
640
640
  "src": "462:21:112",
641
641
  "stateVariable": false,
642
642
  "storageLocation": "default",
@@ -645,7 +645,7 @@
645
645
  "typeString": "uint256"
646
646
  },
647
647
  "typeName": {
648
- "id": 60697,
648
+ "id": 60708,
649
649
  "name": "uint256",
650
650
  "nodeType": "ElementaryTypeName",
651
651
  "src": "462:7:112",
@@ -657,10 +657,10 @@
657
657
  "visibility": "internal"
658
658
  }
659
659
  ],
660
- "id": 60700,
660
+ "id": 60711,
661
661
  "initialValue": {
662
662
  "hexValue": "30",
663
- "id": 60699,
663
+ "id": 60710,
664
664
  "isConstant": false,
665
665
  "isLValue": false,
666
666
  "isPure": true,
@@ -679,7 +679,7 @@
679
679
  },
680
680
  {
681
681
  "body": {
682
- "id": 60729,
682
+ "id": 60740,
683
683
  "nodeType": "Block",
684
684
  "src": "530:113:112",
685
685
  "statements": [
@@ -689,31 +689,31 @@
689
689
  "typeIdentifier": "t_bytes32",
690
690
  "typeString": "bytes32"
691
691
  },
692
- "id": 60715,
692
+ "id": 60726,
693
693
  "isConstant": false,
694
694
  "isLValue": false,
695
695
  "isPure": false,
696
696
  "lValueRequested": false,
697
697
  "leftExpression": {
698
698
  "baseExpression": {
699
- "id": 60711,
699
+ "id": 60722,
700
700
  "name": "arr",
701
701
  "nodeType": "Identifier",
702
702
  "overloadedDeclarations": [],
703
- "referencedDeclaration": 60677,
703
+ "referencedDeclaration": 60688,
704
704
  "src": "542:3:112",
705
705
  "typeDescriptions": {
706
706
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
707
707
  "typeString": "bytes32[] memory"
708
708
  }
709
709
  },
710
- "id": 60713,
710
+ "id": 60724,
711
711
  "indexExpression": {
712
- "id": 60712,
712
+ "id": 60723,
713
713
  "name": "i",
714
714
  "nodeType": "Identifier",
715
715
  "overloadedDeclarations": [],
716
- "referencedDeclaration": 60702,
716
+ "referencedDeclaration": 60713,
717
717
  "src": "546:1:112",
718
718
  "typeDescriptions": {
719
719
  "typeIdentifier": "t_uint256",
@@ -734,11 +734,11 @@
734
734
  "nodeType": "BinaryOperation",
735
735
  "operator": "!=",
736
736
  "rightExpression": {
737
- "id": 60714,
737
+ "id": 60725,
738
738
  "name": "element",
739
739
  "nodeType": "Identifier",
740
740
  "overloadedDeclarations": [],
741
- "referencedDeclaration": 60679,
741
+ "referencedDeclaration": 60690,
742
742
  "src": "552:7:112",
743
743
  "typeDescriptions": {
744
744
  "typeIdentifier": "t_bytes32",
@@ -751,41 +751,41 @@
751
751
  "typeString": "bool"
752
752
  }
753
753
  },
754
- "id": 60728,
754
+ "id": 60739,
755
755
  "nodeType": "IfStatement",
756
756
  "src": "538:99:112",
757
757
  "trueBody": {
758
- "id": 60727,
758
+ "id": 60738,
759
759
  "nodeType": "Block",
760
760
  "src": "561:76:112",
761
761
  "statements": [
762
762
  {
763
763
  "expression": {
764
- "id": 60722,
764
+ "id": 60733,
765
765
  "isConstant": false,
766
766
  "isLValue": false,
767
767
  "isPure": false,
768
768
  "lValueRequested": false,
769
769
  "leftHandSide": {
770
770
  "baseExpression": {
771
- "id": 60716,
771
+ "id": 60727,
772
772
  "name": "filtered",
773
773
  "nodeType": "Identifier",
774
774
  "overloadedDeclarations": [],
775
- "referencedDeclaration": 60689,
775
+ "referencedDeclaration": 60700,
776
776
  "src": "571:8:112",
777
777
  "typeDescriptions": {
778
778
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
779
779
  "typeString": "bytes32[] memory"
780
780
  }
781
781
  },
782
- "id": 60718,
782
+ "id": 60729,
783
783
  "indexExpression": {
784
- "id": 60717,
784
+ "id": 60728,
785
785
  "name": "filteredIndex",
786
786
  "nodeType": "Identifier",
787
787
  "overloadedDeclarations": [],
788
- "referencedDeclaration": 60698,
788
+ "referencedDeclaration": 60709,
789
789
  "src": "580:13:112",
790
790
  "typeDescriptions": {
791
791
  "typeIdentifier": "t_uint256",
@@ -807,24 +807,24 @@
807
807
  "operator": "=",
808
808
  "rightHandSide": {
809
809
  "baseExpression": {
810
- "id": 60719,
810
+ "id": 60730,
811
811
  "name": "arr",
812
812
  "nodeType": "Identifier",
813
813
  "overloadedDeclarations": [],
814
- "referencedDeclaration": 60677,
814
+ "referencedDeclaration": 60688,
815
815
  "src": "597:3:112",
816
816
  "typeDescriptions": {
817
817
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
818
818
  "typeString": "bytes32[] memory"
819
819
  }
820
820
  },
821
- "id": 60721,
821
+ "id": 60732,
822
822
  "indexExpression": {
823
- "id": 60720,
823
+ "id": 60731,
824
824
  "name": "i",
825
825
  "nodeType": "Identifier",
826
826
  "overloadedDeclarations": [],
827
- "referencedDeclaration": 60702,
827
+ "referencedDeclaration": 60713,
828
828
  "src": "601:1:112",
829
829
  "typeDescriptions": {
830
830
  "typeIdentifier": "t_uint256",
@@ -848,13 +848,13 @@
848
848
  "typeString": "bytes32"
849
849
  }
850
850
  },
851
- "id": 60723,
851
+ "id": 60734,
852
852
  "nodeType": "ExpressionStatement",
853
853
  "src": "571:32:112"
854
854
  },
855
855
  {
856
856
  "expression": {
857
- "id": 60725,
857
+ "id": 60736,
858
858
  "isConstant": false,
859
859
  "isLValue": false,
860
860
  "isPure": false,
@@ -864,11 +864,11 @@
864
864
  "prefix": false,
865
865
  "src": "613:15:112",
866
866
  "subExpression": {
867
- "id": 60724,
867
+ "id": 60735,
868
868
  "name": "filteredIndex",
869
869
  "nodeType": "Identifier",
870
870
  "overloadedDeclarations": [],
871
- "referencedDeclaration": 60698,
871
+ "referencedDeclaration": 60709,
872
872
  "src": "613:13:112",
873
873
  "typeDescriptions": {
874
874
  "typeIdentifier": "t_uint256",
@@ -880,7 +880,7 @@
880
880
  "typeString": "uint256"
881
881
  }
882
882
  },
883
- "id": 60726,
883
+ "id": 60737,
884
884
  "nodeType": "ExpressionStatement",
885
885
  "src": "613:15:112"
886
886
  }
@@ -894,17 +894,17 @@
894
894
  "typeIdentifier": "t_uint256",
895
895
  "typeString": "uint256"
896
896
  },
897
- "id": 60707,
897
+ "id": 60718,
898
898
  "isConstant": false,
899
899
  "isLValue": false,
900
900
  "isPure": false,
901
901
  "lValueRequested": false,
902
902
  "leftExpression": {
903
- "id": 60704,
903
+ "id": 60715,
904
904
  "name": "i",
905
905
  "nodeType": "Identifier",
906
906
  "overloadedDeclarations": [],
907
- "referencedDeclaration": 60702,
907
+ "referencedDeclaration": 60713,
908
908
  "src": "509:1:112",
909
909
  "typeDescriptions": {
910
910
  "typeIdentifier": "t_uint256",
@@ -915,18 +915,18 @@
915
915
  "operator": "<",
916
916
  "rightExpression": {
917
917
  "expression": {
918
- "id": 60705,
918
+ "id": 60716,
919
919
  "name": "arr",
920
920
  "nodeType": "Identifier",
921
921
  "overloadedDeclarations": [],
922
- "referencedDeclaration": 60677,
922
+ "referencedDeclaration": 60688,
923
923
  "src": "513:3:112",
924
924
  "typeDescriptions": {
925
925
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
926
926
  "typeString": "bytes32[] memory"
927
927
  }
928
928
  },
929
- "id": 60706,
929
+ "id": 60717,
930
930
  "isConstant": false,
931
931
  "isLValue": false,
932
932
  "isPure": false,
@@ -945,20 +945,20 @@
945
945
  "typeString": "bool"
946
946
  }
947
947
  },
948
- "id": 60730,
948
+ "id": 60741,
949
949
  "initializationExpression": {
950
950
  "assignments": [
951
- 60702
951
+ 60713
952
952
  ],
953
953
  "declarations": [
954
954
  {
955
955
  "constant": false,
956
- "id": 60702,
956
+ "id": 60713,
957
957
  "mutability": "mutable",
958
958
  "name": "i",
959
959
  "nameLocation": "506:1:112",
960
960
  "nodeType": "VariableDeclaration",
961
- "scope": 60730,
961
+ "scope": 60741,
962
962
  "src": "498:9:112",
963
963
  "stateVariable": false,
964
964
  "storageLocation": "default",
@@ -967,7 +967,7 @@
967
967
  "typeString": "uint256"
968
968
  },
969
969
  "typeName": {
970
- "id": 60701,
970
+ "id": 60712,
971
971
  "name": "uint256",
972
972
  "nodeType": "ElementaryTypeName",
973
973
  "src": "498:7:112",
@@ -979,13 +979,13 @@
979
979
  "visibility": "internal"
980
980
  }
981
981
  ],
982
- "id": 60703,
982
+ "id": 60714,
983
983
  "nodeType": "VariableDeclarationStatement",
984
984
  "src": "498:9:112"
985
985
  },
986
986
  "loopExpression": {
987
987
  "expression": {
988
- "id": 60709,
988
+ "id": 60720,
989
989
  "isConstant": false,
990
990
  "isLValue": false,
991
991
  "isPure": false,
@@ -995,11 +995,11 @@
995
995
  "prefix": false,
996
996
  "src": "525:3:112",
997
997
  "subExpression": {
998
- "id": 60708,
998
+ "id": 60719,
999
999
  "name": "i",
1000
1000
  "nodeType": "Identifier",
1001
1001
  "overloadedDeclarations": [],
1002
- "referencedDeclaration": 60702,
1002
+ "referencedDeclaration": 60713,
1003
1003
  "src": "525:1:112",
1004
1004
  "typeDescriptions": {
1005
1005
  "typeIdentifier": "t_uint256",
@@ -1011,7 +1011,7 @@
1011
1011
  "typeString": "uint256"
1012
1012
  }
1013
1013
  },
1014
- "id": 60710,
1014
+ "id": 60721,
1015
1015
  "nodeType": "ExpressionStatement",
1016
1016
  "src": "525:3:112"
1017
1017
  },
@@ -1053,39 +1053,39 @@
1053
1053
  "evmVersion": "london",
1054
1054
  "externalReferences": [
1055
1055
  {
1056
- "declaration": 60689,
1056
+ "declaration": 60700,
1057
1057
  "isOffset": false,
1058
1058
  "isSlot": false,
1059
1059
  "src": "780:8:112",
1060
1060
  "valueSize": 1
1061
1061
  },
1062
1062
  {
1063
- "declaration": 60698,
1063
+ "declaration": 60709,
1064
1064
  "isOffset": false,
1065
1065
  "isSlot": false,
1066
1066
  "src": "790:13:112",
1067
1067
  "valueSize": 1
1068
1068
  }
1069
1069
  ],
1070
- "id": 60731,
1070
+ "id": 60742,
1071
1071
  "nodeType": "InlineAssembly",
1072
1072
  "src": "756:54:112"
1073
1073
  },
1074
1074
  {
1075
1075
  "expression": {
1076
- "id": 60732,
1076
+ "id": 60743,
1077
1077
  "name": "filtered",
1078
1078
  "nodeType": "Identifier",
1079
1079
  "overloadedDeclarations": [],
1080
- "referencedDeclaration": 60689,
1080
+ "referencedDeclaration": 60700,
1081
1081
  "src": "823:8:112",
1082
1082
  "typeDescriptions": {
1083
1083
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
1084
1084
  "typeString": "bytes32[] memory"
1085
1085
  }
1086
1086
  },
1087
- "functionReturnParameters": 60684,
1088
- "id": 60733,
1087
+ "functionReturnParameters": 60695,
1088
+ "id": 60744,
1089
1089
  "nodeType": "Return",
1090
1090
  "src": "816:15:112"
1091
1091
  }
@@ -1097,17 +1097,17 @@
1097
1097
  "name": "filter",
1098
1098
  "nameLocation": "310:6:112",
1099
1099
  "parameters": {
1100
- "id": 60680,
1100
+ "id": 60691,
1101
1101
  "nodeType": "ParameterList",
1102
1102
  "parameters": [
1103
1103
  {
1104
1104
  "constant": false,
1105
- "id": 60677,
1105
+ "id": 60688,
1106
1106
  "mutability": "mutable",
1107
1107
  "name": "arr",
1108
1108
  "nameLocation": "334:3:112",
1109
1109
  "nodeType": "VariableDeclaration",
1110
- "scope": 60735,
1110
+ "scope": 60746,
1111
1111
  "src": "317:20:112",
1112
1112
  "stateVariable": false,
1113
1113
  "storageLocation": "memory",
@@ -1117,7 +1117,7 @@
1117
1117
  },
1118
1118
  "typeName": {
1119
1119
  "baseType": {
1120
- "id": 60675,
1120
+ "id": 60686,
1121
1121
  "name": "bytes32",
1122
1122
  "nodeType": "ElementaryTypeName",
1123
1123
  "src": "317:7:112",
@@ -1126,7 +1126,7 @@
1126
1126
  "typeString": "bytes32"
1127
1127
  }
1128
1128
  },
1129
- "id": 60676,
1129
+ "id": 60687,
1130
1130
  "nodeType": "ArrayTypeName",
1131
1131
  "src": "317:9:112",
1132
1132
  "typeDescriptions": {
@@ -1138,12 +1138,12 @@
1138
1138
  },
1139
1139
  {
1140
1140
  "constant": false,
1141
- "id": 60679,
1141
+ "id": 60690,
1142
1142
  "mutability": "mutable",
1143
1143
  "name": "element",
1144
1144
  "nameLocation": "347:7:112",
1145
1145
  "nodeType": "VariableDeclaration",
1146
- "scope": 60735,
1146
+ "scope": 60746,
1147
1147
  "src": "339:15:112",
1148
1148
  "stateVariable": false,
1149
1149
  "storageLocation": "default",
@@ -1152,7 +1152,7 @@
1152
1152
  "typeString": "bytes32"
1153
1153
  },
1154
1154
  "typeName": {
1155
- "id": 60678,
1155
+ "id": 60689,
1156
1156
  "name": "bytes32",
1157
1157
  "nodeType": "ElementaryTypeName",
1158
1158
  "src": "339:7:112",
@@ -1167,17 +1167,17 @@
1167
1167
  "src": "316:39:112"
1168
1168
  },
1169
1169
  "returnParameters": {
1170
- "id": 60684,
1170
+ "id": 60695,
1171
1171
  "nodeType": "ParameterList",
1172
1172
  "parameters": [
1173
1173
  {
1174
1174
  "constant": false,
1175
- "id": 60683,
1175
+ "id": 60694,
1176
1176
  "mutability": "mutable",
1177
1177
  "name": "",
1178
1178
  "nameLocation": "-1:-1:-1",
1179
1179
  "nodeType": "VariableDeclaration",
1180
- "scope": 60735,
1180
+ "scope": 60746,
1181
1181
  "src": "379:16:112",
1182
1182
  "stateVariable": false,
1183
1183
  "storageLocation": "memory",
@@ -1187,7 +1187,7 @@
1187
1187
  },
1188
1188
  "typeName": {
1189
1189
  "baseType": {
1190
- "id": 60681,
1190
+ "id": 60692,
1191
1191
  "name": "bytes32",
1192
1192
  "nodeType": "ElementaryTypeName",
1193
1193
  "src": "379:7:112",
@@ -1196,7 +1196,7 @@
1196
1196
  "typeString": "bytes32"
1197
1197
  }
1198
1198
  },
1199
- "id": 60682,
1199
+ "id": 60693,
1200
1200
  "nodeType": "ArrayTypeName",
1201
1201
  "src": "379:9:112",
1202
1202
  "typeDescriptions": {
@@ -1209,7 +1209,7 @@
1209
1209
  ],
1210
1210
  "src": "378:18:112"
1211
1211
  },
1212
- "scope": 60736,
1212
+ "scope": 60747,
1213
1213
  "stateMutability": "pure",
1214
1214
  "virtual": false,
1215
1215
  "visibility": "internal"
@@ -1222,11 +1222,11 @@
1222
1222
  "contractKind": "library",
1223
1223
  "fullyImplemented": true,
1224
1224
  "linearizedBaseContracts": [
1225
- 60736
1225
+ 60747
1226
1226
  ],
1227
1227
  "name": "ArrayLib",
1228
1228
  "nameLocation": "66:8:112",
1229
- "scope": 60737,
1229
+ "scope": 60748,
1230
1230
  "usedErrors": []
1231
1231
  }
1232
1232
  ],