@latticexyz/world 1.40.0 → 1.41.0

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 (84) hide show
  1. package/LICENSE +21 -0
  2. package/abi/AddressArraySchemaLib.json +718 -869
  3. package/abi/BoolSchemaLib.json +401 -401
  4. package/abi/Bytes.json +1162 -1162
  5. package/abi/CommonBase.json +125 -125
  6. package/abi/DSTest.json +2630 -2630
  7. package/abi/DecodeSlice.json +3883 -3883
  8. package/abi/EncodeArray.json +3336 -3336
  9. package/abi/Hooks.json +1491 -785
  10. package/abi/IMulticall3.json +283 -283
  11. package/abi/IStore.json +623 -421
  12. package/abi/IStoreHook.json +567 -421
  13. package/abi/ISystemHook.json +19 -19
  14. package/abi/Memory.json +131 -131
  15. package/abi/PackedCounterLib.json +683 -683
  16. package/abi/RouteAccess.json +2209 -1159
  17. package/abi/RouteOwnerSchemaLib.json +349 -349
  18. package/abi/RouteOwnerTable.json +297 -297
  19. package/abi/RouteSchemaLib.json +433 -433
  20. package/abi/RouteTable.json +336 -336
  21. package/abi/SchemaLib.json +1211 -1211
  22. package/abi/ScriptBase.json +125 -125
  23. package/abi/SliceInstance.json +429 -429
  24. package/abi/SliceLib.json +429 -429
  25. package/abi/StdAssertions.json +2135 -2135
  26. package/abi/StdChains.json +1051 -1051
  27. package/abi/StdCheats.json +3257 -3257
  28. package/abi/StdCheatsSafe.json +3257 -3257
  29. package/abi/StdInvariant.json +337 -337
  30. package/abi/StdUtils.json +1122 -1122
  31. package/abi/Storage.json +491 -491
  32. package/abi/Store.json +374 -209
  33. package/abi/StoreCore.json +10665 -7865
  34. package/abi/StoreCoreExtended.json +10443 -7722
  35. package/abi/StoreCoreInternal.json +10482 -7638
  36. package/abi/StoreMetadata.json +3719 -2417
  37. package/abi/StoreSwitch.json +1692 -783
  38. package/abi/System.json +16 -16
  39. package/abi/SystemRouteSchemaLib.json +402 -402
  40. package/abi/SystemRouteTable.json +336 -336
  41. package/abi/SystemTable.json +8544 -651
  42. package/abi/SystemTest.json +287 -303
  43. package/abi/Test.json +124 -124
  44. package/abi/TestBase.json +125 -125
  45. package/abi/TestSystem.json +287 -303
  46. package/abi/TightCoder.json +272 -272
  47. package/abi/Utils.json +67 -67
  48. package/abi/Vm.json +1850 -1850
  49. package/abi/VmSafe.json +1850 -1850
  50. package/abi/World.json +5183 -3374
  51. package/abi/WorldTest.json +9983 -10520
  52. package/abi/WorldTestSystem.json +9992 -10503
  53. package/abi/WorldTestTableHook.json +9978 -10511
  54. package/abi/console.json +11417 -11417
  55. package/abi/console2.json +11459 -11459
  56. package/abi/stdError.json +79 -79
  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 +8 -8
  62. package/src/World.sol +78 -32
  63. package/src/schemas/AddressArray.sol +5 -19
  64. package/src/tables/RouteAccess.sol +35 -30
  65. package/src/tables/SystemTable.sol +142 -23
  66. package/types/ethers-contracts/IStore.ts +49 -0
  67. package/types/ethers-contracts/Store.ts +49 -0
  68. package/types/ethers-contracts/World.ts +94 -0
  69. package/types/ethers-contracts/WorldTest.ts +27 -0
  70. package/types/ethers-contracts/factories/IStore__factory.ts +28 -0
  71. package/types/ethers-contracts/factories/StoreCore__factory.ts +2 -23
  72. package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
  73. package/types/ethers-contracts/factories/Store__factory.ts +81 -0
  74. package/types/ethers-contracts/factories/SystemTest__factory.ts +1 -1
  75. package/types/ethers-contracts/factories/TestSystem__factory.ts +1 -1
  76. package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +12 -1
  77. package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
  78. package/types/ethers-contracts/factories/WorldTest__factory.ts +11 -34
  79. package/types/ethers-contracts/factories/World__factory.ts +70 -30
  80. package/types/ethers-contracts/index.ts +0 -2
  81. package/abi/SystemSchemaLib.json +0 -3704
  82. package/src/schemas/SystemSchema.sol +0 -78
  83. package/types/ethers-contracts/StoreCoreExtended.ts +0 -141
  84. package/types/ethers-contracts/factories/StoreCoreExtended__factory.ts +0 -123
@@ -112,26 +112,26 @@
112
112
  },
113
113
  "ast": {
114
114
  "absolutePath": "../../node_modules/@latticexyz/store/src/tightcoder/TightCoder.sol",
115
- "id": 61923,
115
+ "id": 63347,
116
116
  "exportedSymbols": {
117
117
  "SchemaType": [
118
118
  204
119
119
  ],
120
120
  "Slice": [
121
- 2331
121
+ 2343
122
122
  ],
123
123
  "SliceLib": [
124
- 2476
124
+ 2488
125
125
  ],
126
126
  "TightCoder": [
127
- 61922
127
+ 63346
128
128
  ]
129
129
  },
130
130
  "nodeType": "SourceUnit",
131
131
  "src": "32:4035:16",
132
132
  "nodes": [
133
133
  {
134
- "id": 61763,
134
+ "id": 63187,
135
135
  "nodeType": "PragmaDirective",
136
136
  "src": "32:24:16",
137
137
  "nodes": [],
@@ -143,19 +143,19 @@
143
143
  ]
144
144
  },
145
145
  {
146
- "id": 61765,
146
+ "id": 63189,
147
147
  "nodeType": "ImportDirective",
148
148
  "src": "58:81:16",
149
149
  "nodes": [],
150
150
  "absolutePath": "../../node_modules/@latticexyz/schema-type/src/solidity/SchemaType.sol",
151
151
  "file": "@latticexyz/schema-type/src/solidity/SchemaType.sol",
152
152
  "nameLocation": "-1:-1:-1",
153
- "scope": 61923,
153
+ "scope": 63347,
154
154
  "sourceUnit": 271,
155
155
  "symbolAliases": [
156
156
  {
157
157
  "foreign": {
158
- "id": 61764,
158
+ "id": 63188,
159
159
  "name": "SchemaType",
160
160
  "nodeType": "Identifier",
161
161
  "overloadedDeclarations": [],
@@ -169,23 +169,23 @@
169
169
  "unitAlias": ""
170
170
  },
171
171
  {
172
- "id": 61768,
172
+ "id": 63192,
173
173
  "nodeType": "ImportDirective",
174
174
  "src": "140:47:16",
175
175
  "nodes": [],
176
176
  "absolutePath": "../../node_modules/@latticexyz/store/src/Slice.sol",
177
177
  "file": "../Slice.sol",
178
178
  "nameLocation": "-1:-1:-1",
179
- "scope": 61923,
180
- "sourceUnit": 2573,
179
+ "scope": 63347,
180
+ "sourceUnit": 2585,
181
181
  "symbolAliases": [
182
182
  {
183
183
  "foreign": {
184
- "id": 61766,
184
+ "id": 63190,
185
185
  "name": "Slice",
186
186
  "nodeType": "Identifier",
187
187
  "overloadedDeclarations": [],
188
- "referencedDeclaration": 2331,
188
+ "referencedDeclaration": 2343,
189
189
  "src": "149:5:16",
190
190
  "typeDescriptions": {}
191
191
  },
@@ -193,11 +193,11 @@
193
193
  },
194
194
  {
195
195
  "foreign": {
196
- "id": 61767,
196
+ "id": 63191,
197
197
  "name": "SliceLib",
198
198
  "nodeType": "Identifier",
199
199
  "overloadedDeclarations": [],
200
- "referencedDeclaration": 2476,
200
+ "referencedDeclaration": 2488,
201
201
  "src": "156:8:16",
202
202
  "typeDescriptions": {}
203
203
  },
@@ -207,34 +207,34 @@
207
207
  "unitAlias": ""
208
208
  },
209
209
  {
210
- "id": 61922,
210
+ "id": 63346,
211
211
  "nodeType": "ContractDefinition",
212
212
  "src": "189:3877:16",
213
213
  "nodes": [
214
214
  {
215
- "id": 61823,
215
+ "id": 63247,
216
216
  "nodeType": "FunctionDefinition",
217
217
  "src": "505:1225:16",
218
218
  "nodes": [],
219
219
  "body": {
220
- "id": 61822,
220
+ "id": 63246,
221
221
  "nodeType": "Block",
222
222
  "src": "647:1083:16",
223
223
  "nodes": [],
224
224
  "statements": [
225
225
  {
226
226
  "assignments": [
227
- 61783
227
+ 63207
228
228
  ],
229
229
  "declarations": [
230
230
  {
231
231
  "constant": false,
232
- "id": 61783,
232
+ "id": 63207,
233
233
  "mutability": "mutable",
234
234
  "name": "arrayLength",
235
235
  "nameLocation": "661:11:16",
236
236
  "nodeType": "VariableDeclaration",
237
- "scope": 61822,
237
+ "scope": 63246,
238
238
  "src": "653:19:16",
239
239
  "stateVariable": false,
240
240
  "storageLocation": "default",
@@ -243,7 +243,7 @@
243
243
  "typeString": "uint256"
244
244
  },
245
245
  "typeName": {
246
- "id": 61782,
246
+ "id": 63206,
247
247
  "name": "uint256",
248
248
  "nodeType": "ElementaryTypeName",
249
249
  "src": "653:7:16",
@@ -255,21 +255,21 @@
255
255
  "visibility": "internal"
256
256
  }
257
257
  ],
258
- "id": 61786,
258
+ "id": 63210,
259
259
  "initialValue": {
260
260
  "expression": {
261
- "id": 61784,
261
+ "id": 63208,
262
262
  "name": "array",
263
263
  "nodeType": "Identifier",
264
264
  "overloadedDeclarations": [],
265
- "referencedDeclaration": 61772,
265
+ "referencedDeclaration": 63196,
266
266
  "src": "675:5:16",
267
267
  "typeDescriptions": {
268
268
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
269
269
  "typeString": "bytes32[] memory"
270
270
  }
271
271
  },
272
- "id": 61785,
272
+ "id": 63209,
273
273
  "isConstant": false,
274
274
  "isLValue": false,
275
275
  "isPure": false,
@@ -287,17 +287,17 @@
287
287
  },
288
288
  {
289
289
  "assignments": [
290
- 61788
290
+ 63212
291
291
  ],
292
292
  "declarations": [
293
293
  {
294
294
  "constant": false,
295
- "id": 61788,
295
+ "id": 63212,
296
296
  "mutability": "mutable",
297
297
  "name": "packedPointer",
298
298
  "nameLocation": "701:13:16",
299
299
  "nodeType": "VariableDeclaration",
300
- "scope": 61822,
300
+ "scope": 63246,
301
301
  "src": "693:21:16",
302
302
  "stateVariable": false,
303
303
  "storageLocation": "default",
@@ -306,7 +306,7 @@
306
306
  "typeString": "uint256"
307
307
  },
308
308
  "typeName": {
309
- "id": 61787,
309
+ "id": 63211,
310
310
  "name": "uint256",
311
311
  "nodeType": "ElementaryTypeName",
312
312
  "src": "693:7:16",
@@ -318,38 +318,38 @@
318
318
  "visibility": "internal"
319
319
  }
320
320
  ],
321
- "id": 61792,
321
+ "id": 63216,
322
322
  "initialValue": {
323
323
  "arguments": [],
324
324
  "expression": {
325
325
  "argumentTypes": [],
326
326
  "expression": {
327
- "id": 61789,
327
+ "id": 63213,
328
328
  "name": "packedSlice",
329
329
  "nodeType": "Identifier",
330
330
  "overloadedDeclarations": [],
331
- "referencedDeclaration": 61775,
331
+ "referencedDeclaration": 63199,
332
332
  "src": "717:11:16",
333
333
  "typeDescriptions": {
334
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
334
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
335
335
  "typeString": "Slice"
336
336
  }
337
337
  },
338
- "id": 61790,
338
+ "id": 63214,
339
339
  "isConstant": false,
340
340
  "isLValue": false,
341
341
  "isPure": false,
342
342
  "lValueRequested": false,
343
343
  "memberName": "pointer",
344
344
  "nodeType": "MemberAccess",
345
- "referencedDeclaration": 2494,
345
+ "referencedDeclaration": 2506,
346
346
  "src": "717:19:16",
347
347
  "typeDescriptions": {
348
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2331_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$2331_$",
348
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2343_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$2343_$",
349
349
  "typeString": "function (Slice) pure returns (uint256)"
350
350
  }
351
351
  },
352
- "id": 61791,
352
+ "id": 63215,
353
353
  "isConstant": false,
354
354
  "isLValue": false,
355
355
  "isPure": false,
@@ -369,17 +369,17 @@
369
369
  },
370
370
  {
371
371
  "assignments": [
372
- 61794
372
+ 63218
373
373
  ],
374
374
  "declarations": [
375
375
  {
376
376
  "constant": false,
377
- "id": 61794,
377
+ "id": 63218,
378
378
  "mutability": "mutable",
379
379
  "name": "shiftLeft",
380
380
  "nameLocation": "752:9:16",
381
381
  "nodeType": "VariableDeclaration",
382
- "scope": 61822,
382
+ "scope": 63246,
383
383
  "src": "744:17:16",
384
384
  "stateVariable": false,
385
385
  "storageLocation": "default",
@@ -388,7 +388,7 @@
388
388
  "typeString": "uint256"
389
389
  },
390
390
  "typeName": {
391
- "id": 61793,
391
+ "id": 63217,
392
392
  "name": "uint256",
393
393
  "nodeType": "ElementaryTypeName",
394
394
  "src": "744:7:16",
@@ -400,14 +400,14 @@
400
400
  "visibility": "internal"
401
401
  }
402
402
  ],
403
- "id": 61803,
403
+ "id": 63227,
404
404
  "initialValue": {
405
405
  "condition": {
406
- "id": 61795,
406
+ "id": 63219,
407
407
  "name": "leftAligned",
408
408
  "nodeType": "Identifier",
409
409
  "overloadedDeclarations": [],
410
- "referencedDeclaration": 61779,
410
+ "referencedDeclaration": 63203,
411
411
  "src": "764:11:16",
412
412
  "typeDescriptions": {
413
413
  "typeIdentifier": "t_bool",
@@ -419,14 +419,14 @@
419
419
  "typeIdentifier": "t_uint256",
420
420
  "typeString": "uint256"
421
421
  },
422
- "id": 61801,
422
+ "id": 63225,
423
423
  "isConstant": false,
424
424
  "isLValue": false,
425
425
  "isPure": false,
426
426
  "lValueRequested": false,
427
427
  "leftExpression": {
428
428
  "hexValue": "323536",
429
- "id": 61797,
429
+ "id": 63221,
430
430
  "isConstant": false,
431
431
  "isLValue": false,
432
432
  "isPure": true,
@@ -447,17 +447,17 @@
447
447
  "typeIdentifier": "t_uint256",
448
448
  "typeString": "uint256"
449
449
  },
450
- "id": 61800,
450
+ "id": 63224,
451
451
  "isConstant": false,
452
452
  "isLValue": false,
453
453
  "isPure": false,
454
454
  "lValueRequested": false,
455
455
  "leftExpression": {
456
- "id": 61798,
456
+ "id": 63222,
457
457
  "name": "elementSize",
458
458
  "nodeType": "Identifier",
459
459
  "overloadedDeclarations": [],
460
- "referencedDeclaration": 61777,
460
+ "referencedDeclaration": 63201,
461
461
  "src": "788:11:16",
462
462
  "typeDescriptions": {
463
463
  "typeIdentifier": "t_uint256",
@@ -468,7 +468,7 @@
468
468
  "operator": "*",
469
469
  "rightExpression": {
470
470
  "hexValue": "38",
471
- "id": 61799,
471
+ "id": 63223,
472
472
  "isConstant": false,
473
473
  "isLValue": false,
474
474
  "isPure": true,
@@ -494,7 +494,7 @@
494
494
  "typeString": "uint256"
495
495
  }
496
496
  },
497
- "id": 61802,
497
+ "id": 63226,
498
498
  "isConstant": false,
499
499
  "isLValue": false,
500
500
  "isPure": false,
@@ -503,7 +503,7 @@
503
503
  "src": "764:39:16",
504
504
  "trueExpression": {
505
505
  "hexValue": "30",
506
- "id": 61796,
506
+ "id": 63220,
507
507
  "isConstant": false,
508
508
  "isLValue": false,
509
509
  "isPure": true,
@@ -527,17 +527,17 @@
527
527
  },
528
528
  {
529
529
  "assignments": [
530
- 61805
530
+ 63229
531
531
  ],
532
532
  "declarations": [
533
533
  {
534
534
  "constant": false,
535
- "id": 61805,
535
+ "id": 63229,
536
536
  "mutability": "mutable",
537
537
  "name": "packedLength",
538
538
  "nameLocation": "958:12:16",
539
539
  "nodeType": "VariableDeclaration",
540
- "scope": 61822,
540
+ "scope": 63246,
541
541
  "src": "950:20:16",
542
542
  "stateVariable": false,
543
543
  "storageLocation": "default",
@@ -546,7 +546,7 @@
546
546
  "typeString": "uint256"
547
547
  },
548
548
  "typeName": {
549
- "id": 61804,
549
+ "id": 63228,
550
550
  "name": "uint256",
551
551
  "nodeType": "ElementaryTypeName",
552
552
  "src": "950:7:16",
@@ -558,23 +558,23 @@
558
558
  "visibility": "internal"
559
559
  }
560
560
  ],
561
- "id": 61809,
561
+ "id": 63233,
562
562
  "initialValue": {
563
563
  "commonType": {
564
564
  "typeIdentifier": "t_uint256",
565
565
  "typeString": "uint256"
566
566
  },
567
- "id": 61808,
567
+ "id": 63232,
568
568
  "isConstant": false,
569
569
  "isLValue": false,
570
570
  "isPure": false,
571
571
  "lValueRequested": false,
572
572
  "leftExpression": {
573
- "id": 61806,
573
+ "id": 63230,
574
574
  "name": "arrayLength",
575
575
  "nodeType": "Identifier",
576
576
  "overloadedDeclarations": [],
577
- "referencedDeclaration": 61783,
577
+ "referencedDeclaration": 63207,
578
578
  "src": "973:11:16",
579
579
  "typeDescriptions": {
580
580
  "typeIdentifier": "t_uint256",
@@ -584,11 +584,11 @@
584
584
  "nodeType": "BinaryOperation",
585
585
  "operator": "*",
586
586
  "rightExpression": {
587
- "id": 61807,
587
+ "id": 63231,
588
588
  "name": "elementSize",
589
589
  "nodeType": "Identifier",
590
590
  "overloadedDeclarations": [],
591
- "referencedDeclaration": 61777,
591
+ "referencedDeclaration": 63201,
592
592
  "src": "987:11:16",
593
593
  "typeDescriptions": {
594
594
  "typeIdentifier": "t_uint256",
@@ -610,17 +610,17 @@
610
610
  "typeIdentifier": "t_uint256",
611
611
  "typeString": "uint256"
612
612
  },
613
- "id": 61814,
613
+ "id": 63238,
614
614
  "isConstant": false,
615
615
  "isLValue": false,
616
616
  "isPure": false,
617
617
  "lValueRequested": false,
618
618
  "leftExpression": {
619
- "id": 61810,
619
+ "id": 63234,
620
620
  "name": "packedLength",
621
621
  "nodeType": "Identifier",
622
622
  "overloadedDeclarations": [],
623
- "referencedDeclaration": 61805,
623
+ "referencedDeclaration": 63229,
624
624
  "src": "1008:12:16",
625
625
  "typeDescriptions": {
626
626
  "typeIdentifier": "t_uint256",
@@ -634,32 +634,32 @@
634
634
  "expression": {
635
635
  "argumentTypes": [],
636
636
  "expression": {
637
- "id": 61811,
637
+ "id": 63235,
638
638
  "name": "packedSlice",
639
639
  "nodeType": "Identifier",
640
640
  "overloadedDeclarations": [],
641
- "referencedDeclaration": 61775,
641
+ "referencedDeclaration": 63199,
642
642
  "src": "1023:11:16",
643
643
  "typeDescriptions": {
644
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
644
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
645
645
  "typeString": "Slice"
646
646
  }
647
647
  },
648
- "id": 61812,
648
+ "id": 63236,
649
649
  "isConstant": false,
650
650
  "isLValue": false,
651
651
  "isPure": false,
652
652
  "lValueRequested": false,
653
653
  "memberName": "length",
654
654
  "nodeType": "MemberAccess",
655
- "referencedDeclaration": 2512,
655
+ "referencedDeclaration": 2524,
656
656
  "src": "1023:18:16",
657
657
  "typeDescriptions": {
658
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2331_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$2331_$",
658
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2343_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$2343_$",
659
659
  "typeString": "function (Slice) pure returns (uint256)"
660
660
  }
661
661
  },
662
- "id": 61813,
662
+ "id": 63237,
663
663
  "isConstant": false,
664
664
  "isLValue": false,
665
665
  "isPure": false,
@@ -680,11 +680,11 @@
680
680
  "typeString": "bool"
681
681
  }
682
682
  },
683
- "id": 61820,
683
+ "id": 63244,
684
684
  "nodeType": "IfStatement",
685
685
  "src": "1004:122:16",
686
686
  "trueBody": {
687
- "id": 61819,
687
+ "id": 63243,
688
688
  "nodeType": "Block",
689
689
  "src": "1045:81:16",
690
690
  "statements": [
@@ -693,7 +693,7 @@
693
693
  "arguments": [
694
694
  {
695
695
  "hexValue": "7061636b46726f6d41727261793a20696e73756666696369656e7420616c6c6f6361746564207061636b6564536c696365206c656e677468",
696
- "id": 61816,
696
+ "id": 63240,
697
697
  "isConstant": false,
698
698
  "isLValue": false,
699
699
  "isPure": true,
@@ -715,7 +715,7 @@
715
715
  "typeString": "literal_string \"packFromArray: insufficient allocated packedSlice length\""
716
716
  }
717
717
  ],
718
- "id": 61815,
718
+ "id": 63239,
719
719
  "name": "revert",
720
720
  "nodeType": "Identifier",
721
721
  "overloadedDeclarations": [
@@ -729,7 +729,7 @@
729
729
  "typeString": "function (string memory) pure"
730
730
  }
731
731
  },
732
- "id": 61817,
732
+ "id": 63241,
733
733
  "isConstant": false,
734
734
  "isLValue": false,
735
735
  "isPure": false,
@@ -744,7 +744,7 @@
744
744
  "typeString": "tuple()"
745
745
  }
746
746
  },
747
- "id": 61818,
747
+ "id": 63242,
748
748
  "nodeType": "ExpressionStatement",
749
749
  "src": "1053:66:16"
750
750
  }
@@ -1028,49 +1028,49 @@
1028
1028
  "evmVersion": "london",
1029
1029
  "externalReferences": [
1030
1030
  {
1031
- "declaration": 61772,
1031
+ "declaration": 63196,
1032
1032
  "isOffset": false,
1033
1033
  "isSlot": false,
1034
1034
  "src": "1244:5:16",
1035
1035
  "valueSize": 1
1036
1036
  },
1037
1037
  {
1038
- "declaration": 61783,
1038
+ "declaration": 63207,
1039
1039
  "isOffset": false,
1040
1040
  "isSlot": false,
1041
1041
  "src": "1334:11:16",
1042
1042
  "valueSize": 1
1043
1043
  },
1044
1044
  {
1045
- "declaration": 61777,
1045
+ "declaration": 63201,
1046
1046
  "isOffset": false,
1047
1047
  "isSlot": false,
1048
1048
  "src": "1551:11:16",
1049
1049
  "valueSize": 1
1050
1050
  },
1051
1051
  {
1052
- "declaration": 61788,
1052
+ "declaration": 63212,
1053
1053
  "isOffset": false,
1054
1054
  "isSlot": false,
1055
1055
  "src": "1306:13:16",
1056
1056
  "valueSize": 1
1057
1057
  },
1058
1058
  {
1059
- "declaration": 61794,
1059
+ "declaration": 63218,
1060
1060
  "isOffset": false,
1061
1061
  "isSlot": false,
1062
1062
  "src": "1655:9:16",
1063
1063
  "valueSize": 1
1064
1064
  }
1065
1065
  ],
1066
- "id": 61821,
1066
+ "id": 63245,
1067
1067
  "nodeType": "InlineAssembly",
1068
1068
  "src": "1171:555:16"
1069
1069
  }
1070
1070
  ]
1071
1071
  },
1072
1072
  "documentation": {
1073
- "id": 61769,
1073
+ "id": 63193,
1074
1074
  "nodeType": "StructuredDocumentation",
1075
1075
  "src": "212:290:16",
1076
1076
  "text": " @dev Copies the array to the location of `packedSlice`,\n tightly packing it using the given size per element (in bytes)\n TODO this function is currently not used externally and will be changed in the future\n (see https://github.com/latticexyz/mud/issues/444)"
@@ -1081,17 +1081,17 @@
1081
1081
  "name": "_encodeToLocation",
1082
1082
  "nameLocation": "514:17:16",
1083
1083
  "parameters": {
1084
- "id": 61780,
1084
+ "id": 63204,
1085
1085
  "nodeType": "ParameterList",
1086
1086
  "parameters": [
1087
1087
  {
1088
1088
  "constant": false,
1089
- "id": 61772,
1089
+ "id": 63196,
1090
1090
  "mutability": "mutable",
1091
1091
  "name": "array",
1092
1092
  "nameLocation": "554:5:16",
1093
1093
  "nodeType": "VariableDeclaration",
1094
- "scope": 61823,
1094
+ "scope": 63247,
1095
1095
  "src": "537:22:16",
1096
1096
  "stateVariable": false,
1097
1097
  "storageLocation": "memory",
@@ -1101,7 +1101,7 @@
1101
1101
  },
1102
1102
  "typeName": {
1103
1103
  "baseType": {
1104
- "id": 61770,
1104
+ "id": 63194,
1105
1105
  "name": "bytes32",
1106
1106
  "nodeType": "ElementaryTypeName",
1107
1107
  "src": "537:7:16",
@@ -1110,7 +1110,7 @@
1110
1110
  "typeString": "bytes32"
1111
1111
  }
1112
1112
  },
1113
- "id": 61771,
1113
+ "id": 63195,
1114
1114
  "nodeType": "ArrayTypeName",
1115
1115
  "src": "537:9:16",
1116
1116
  "typeDescriptions": {
@@ -1122,33 +1122,33 @@
1122
1122
  },
1123
1123
  {
1124
1124
  "constant": false,
1125
- "id": 61775,
1125
+ "id": 63199,
1126
1126
  "mutability": "mutable",
1127
1127
  "name": "packedSlice",
1128
1128
  "nameLocation": "571:11:16",
1129
1129
  "nodeType": "VariableDeclaration",
1130
- "scope": 61823,
1130
+ "scope": 63247,
1131
1131
  "src": "565:17:16",
1132
1132
  "stateVariable": false,
1133
1133
  "storageLocation": "default",
1134
1134
  "typeDescriptions": {
1135
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
1135
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
1136
1136
  "typeString": "Slice"
1137
1137
  },
1138
1138
  "typeName": {
1139
- "id": 61774,
1139
+ "id": 63198,
1140
1140
  "nodeType": "UserDefinedTypeName",
1141
1141
  "pathNode": {
1142
- "id": 61773,
1142
+ "id": 63197,
1143
1143
  "name": "Slice",
1144
1144
  "nodeType": "IdentifierPath",
1145
- "referencedDeclaration": 2331,
1145
+ "referencedDeclaration": 2343,
1146
1146
  "src": "565:5:16"
1147
1147
  },
1148
- "referencedDeclaration": 2331,
1148
+ "referencedDeclaration": 2343,
1149
1149
  "src": "565:5:16",
1150
1150
  "typeDescriptions": {
1151
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
1151
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
1152
1152
  "typeString": "Slice"
1153
1153
  }
1154
1154
  },
@@ -1156,12 +1156,12 @@
1156
1156
  },
1157
1157
  {
1158
1158
  "constant": false,
1159
- "id": 61777,
1159
+ "id": 63201,
1160
1160
  "mutability": "mutable",
1161
1161
  "name": "elementSize",
1162
1162
  "nameLocation": "596:11:16",
1163
1163
  "nodeType": "VariableDeclaration",
1164
- "scope": 61823,
1164
+ "scope": 63247,
1165
1165
  "src": "588:19:16",
1166
1166
  "stateVariable": false,
1167
1167
  "storageLocation": "default",
@@ -1170,7 +1170,7 @@
1170
1170
  "typeString": "uint256"
1171
1171
  },
1172
1172
  "typeName": {
1173
- "id": 61776,
1173
+ "id": 63200,
1174
1174
  "name": "uint256",
1175
1175
  "nodeType": "ElementaryTypeName",
1176
1176
  "src": "588:7:16",
@@ -1183,12 +1183,12 @@
1183
1183
  },
1184
1184
  {
1185
1185
  "constant": false,
1186
- "id": 61779,
1186
+ "id": 63203,
1187
1187
  "mutability": "mutable",
1188
1188
  "name": "leftAligned",
1189
1189
  "nameLocation": "618:11:16",
1190
1190
  "nodeType": "VariableDeclaration",
1191
- "scope": 61823,
1191
+ "scope": 63247,
1192
1192
  "src": "613:16:16",
1193
1193
  "stateVariable": false,
1194
1194
  "storageLocation": "default",
@@ -1197,7 +1197,7 @@
1197
1197
  "typeString": "bool"
1198
1198
  },
1199
1199
  "typeName": {
1200
- "id": 61778,
1200
+ "id": 63202,
1201
1201
  "name": "bool",
1202
1202
  "nodeType": "ElementaryTypeName",
1203
1203
  "src": "613:4:16",
@@ -1212,40 +1212,40 @@
1212
1212
  "src": "531:102:16"
1213
1213
  },
1214
1214
  "returnParameters": {
1215
- "id": 61781,
1215
+ "id": 63205,
1216
1216
  "nodeType": "ParameterList",
1217
1217
  "parameters": [],
1218
1218
  "src": "647:0:16"
1219
1219
  },
1220
- "scope": 61922,
1220
+ "scope": 63346,
1221
1221
  "stateMutability": "pure",
1222
1222
  "virtual": false,
1223
1223
  "visibility": "private"
1224
1224
  },
1225
1225
  {
1226
- "id": 61861,
1226
+ "id": 63285,
1227
1227
  "nodeType": "FunctionDefinition",
1228
1228
  "src": "1863:315:16",
1229
1229
  "nodes": [],
1230
1230
  "body": {
1231
- "id": 61860,
1231
+ "id": 63284,
1232
1232
  "nodeType": "Block",
1233
1233
  "src": "2000:178:16",
1234
1234
  "nodes": [],
1235
1235
  "statements": [
1236
1236
  {
1237
1237
  "assignments": [
1238
- 61837
1238
+ 63261
1239
1239
  ],
1240
1240
  "declarations": [
1241
1241
  {
1242
1242
  "constant": false,
1243
- "id": 61837,
1243
+ "id": 63261,
1244
1244
  "mutability": "mutable",
1245
1245
  "name": "packedLength",
1246
1246
  "nameLocation": "2014:12:16",
1247
1247
  "nodeType": "VariableDeclaration",
1248
- "scope": 61860,
1248
+ "scope": 63284,
1249
1249
  "src": "2006:20:16",
1250
1250
  "stateVariable": false,
1251
1251
  "storageLocation": "default",
@@ -1254,7 +1254,7 @@
1254
1254
  "typeString": "uint256"
1255
1255
  },
1256
1256
  "typeName": {
1257
- "id": 61836,
1257
+ "id": 63260,
1258
1258
  "name": "uint256",
1259
1259
  "nodeType": "ElementaryTypeName",
1260
1260
  "src": "2006:7:16",
@@ -1266,31 +1266,31 @@
1266
1266
  "visibility": "internal"
1267
1267
  }
1268
1268
  ],
1269
- "id": 61842,
1269
+ "id": 63266,
1270
1270
  "initialValue": {
1271
1271
  "commonType": {
1272
1272
  "typeIdentifier": "t_uint256",
1273
1273
  "typeString": "uint256"
1274
1274
  },
1275
- "id": 61841,
1275
+ "id": 63265,
1276
1276
  "isConstant": false,
1277
1277
  "isLValue": false,
1278
1278
  "isPure": false,
1279
1279
  "lValueRequested": false,
1280
1280
  "leftExpression": {
1281
1281
  "expression": {
1282
- "id": 61838,
1282
+ "id": 63262,
1283
1283
  "name": "array",
1284
1284
  "nodeType": "Identifier",
1285
1285
  "overloadedDeclarations": [],
1286
- "referencedDeclaration": 61827,
1286
+ "referencedDeclaration": 63251,
1287
1287
  "src": "2029:5:16",
1288
1288
  "typeDescriptions": {
1289
1289
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
1290
1290
  "typeString": "bytes32[] memory"
1291
1291
  }
1292
1292
  },
1293
- "id": 61839,
1293
+ "id": 63263,
1294
1294
  "isConstant": false,
1295
1295
  "isLValue": false,
1296
1296
  "isPure": false,
@@ -1306,11 +1306,11 @@
1306
1306
  "nodeType": "BinaryOperation",
1307
1307
  "operator": "*",
1308
1308
  "rightExpression": {
1309
- "id": 61840,
1309
+ "id": 63264,
1310
1310
  "name": "elementSize",
1311
1311
  "nodeType": "Identifier",
1312
1312
  "overloadedDeclarations": [],
1313
- "referencedDeclaration": 61829,
1313
+ "referencedDeclaration": 63253,
1314
1314
  "src": "2044:11:16",
1315
1315
  "typeDescriptions": {
1316
1316
  "typeIdentifier": "t_uint256",
@@ -1328,17 +1328,17 @@
1328
1328
  },
1329
1329
  {
1330
1330
  "expression": {
1331
- "id": 61848,
1331
+ "id": 63272,
1332
1332
  "isConstant": false,
1333
1333
  "isLValue": false,
1334
1334
  "isPure": false,
1335
1335
  "lValueRequested": false,
1336
1336
  "leftHandSide": {
1337
- "id": 61843,
1337
+ "id": 63267,
1338
1338
  "name": "data",
1339
1339
  "nodeType": "Identifier",
1340
1340
  "overloadedDeclarations": [],
1341
- "referencedDeclaration": 61834,
1341
+ "referencedDeclaration": 63258,
1342
1342
  "src": "2061:4:16",
1343
1343
  "typeDescriptions": {
1344
1344
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -1350,11 +1350,11 @@
1350
1350
  "rightHandSide": {
1351
1351
  "arguments": [
1352
1352
  {
1353
- "id": 61846,
1353
+ "id": 63270,
1354
1354
  "name": "packedLength",
1355
1355
  "nodeType": "Identifier",
1356
1356
  "overloadedDeclarations": [],
1357
- "referencedDeclaration": 61837,
1357
+ "referencedDeclaration": 63261,
1358
1358
  "src": "2078:12:16",
1359
1359
  "typeDescriptions": {
1360
1360
  "typeIdentifier": "t_uint256",
@@ -1369,7 +1369,7 @@
1369
1369
  "typeString": "uint256"
1370
1370
  }
1371
1371
  ],
1372
- "id": 61845,
1372
+ "id": 63269,
1373
1373
  "isConstant": false,
1374
1374
  "isLValue": false,
1375
1375
  "isPure": true,
@@ -1381,7 +1381,7 @@
1381
1381
  "typeString": "function (uint256) pure returns (bytes memory)"
1382
1382
  },
1383
1383
  "typeName": {
1384
- "id": 61844,
1384
+ "id": 63268,
1385
1385
  "name": "bytes",
1386
1386
  "nodeType": "ElementaryTypeName",
1387
1387
  "src": "2072:5:16",
@@ -1391,7 +1391,7 @@
1391
1391
  }
1392
1392
  }
1393
1393
  },
1394
- "id": 61847,
1394
+ "id": 63271,
1395
1395
  "isConstant": false,
1396
1396
  "isLValue": false,
1397
1397
  "isPure": false,
@@ -1412,7 +1412,7 @@
1412
1412
  "typeString": "bytes memory"
1413
1413
  }
1414
1414
  },
1415
- "id": 61849,
1415
+ "id": 63273,
1416
1416
  "nodeType": "ExpressionStatement",
1417
1417
  "src": "2061:30:16"
1418
1418
  },
@@ -1420,11 +1420,11 @@
1420
1420
  "expression": {
1421
1421
  "arguments": [
1422
1422
  {
1423
- "id": 61851,
1423
+ "id": 63275,
1424
1424
  "name": "array",
1425
1425
  "nodeType": "Identifier",
1426
1426
  "overloadedDeclarations": [],
1427
- "referencedDeclaration": 61827,
1427
+ "referencedDeclaration": 63251,
1428
1428
  "src": "2115:5:16",
1429
1429
  "typeDescriptions": {
1430
1430
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -1434,11 +1434,11 @@
1434
1434
  {
1435
1435
  "arguments": [
1436
1436
  {
1437
- "id": 61854,
1437
+ "id": 63278,
1438
1438
  "name": "data",
1439
1439
  "nodeType": "Identifier",
1440
1440
  "overloadedDeclarations": [],
1441
- "referencedDeclaration": 61834,
1441
+ "referencedDeclaration": 63258,
1442
1442
  "src": "2141:4:16",
1443
1443
  "typeDescriptions": {
1444
1444
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -1454,32 +1454,32 @@
1454
1454
  }
1455
1455
  ],
1456
1456
  "expression": {
1457
- "id": 61852,
1457
+ "id": 63276,
1458
1458
  "name": "SliceLib",
1459
1459
  "nodeType": "Identifier",
1460
1460
  "overloadedDeclarations": [],
1461
- "referencedDeclaration": 2476,
1461
+ "referencedDeclaration": 2488,
1462
1462
  "src": "2122:8:16",
1463
1463
  "typeDescriptions": {
1464
- "typeIdentifier": "t_type$_t_contract$_SliceLib_$2476_$",
1464
+ "typeIdentifier": "t_type$_t_contract$_SliceLib_$2488_$",
1465
1465
  "typeString": "type(library SliceLib)"
1466
1466
  }
1467
1467
  },
1468
- "id": 61853,
1468
+ "id": 63277,
1469
1469
  "isConstant": false,
1470
1470
  "isLValue": false,
1471
1471
  "isPure": false,
1472
1472
  "lValueRequested": false,
1473
1473
  "memberName": "fromBytes",
1474
1474
  "nodeType": "MemberAccess",
1475
- "referencedDeclaration": 2398,
1475
+ "referencedDeclaration": 2410,
1476
1476
  "src": "2122:18:16",
1477
1477
  "typeDescriptions": {
1478
- "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_Slice_$2331_$",
1478
+ "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_userDefinedValueType$_Slice_$2343_$",
1479
1479
  "typeString": "function (bytes memory) pure returns (Slice)"
1480
1480
  }
1481
1481
  },
1482
- "id": 61855,
1482
+ "id": 63279,
1483
1483
  "isConstant": false,
1484
1484
  "isLValue": false,
1485
1485
  "isPure": false,
@@ -1490,16 +1490,16 @@
1490
1490
  "src": "2122:24:16",
1491
1491
  "tryCall": false,
1492
1492
  "typeDescriptions": {
1493
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
1493
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
1494
1494
  "typeString": "Slice"
1495
1495
  }
1496
1496
  },
1497
1497
  {
1498
- "id": 61856,
1498
+ "id": 63280,
1499
1499
  "name": "elementSize",
1500
1500
  "nodeType": "Identifier",
1501
1501
  "overloadedDeclarations": [],
1502
- "referencedDeclaration": 61829,
1502
+ "referencedDeclaration": 63253,
1503
1503
  "src": "2148:11:16",
1504
1504
  "typeDescriptions": {
1505
1505
  "typeIdentifier": "t_uint256",
@@ -1507,11 +1507,11 @@
1507
1507
  }
1508
1508
  },
1509
1509
  {
1510
- "id": 61857,
1510
+ "id": 63281,
1511
1511
  "name": "leftAligned",
1512
1512
  "nodeType": "Identifier",
1513
1513
  "overloadedDeclarations": [],
1514
- "referencedDeclaration": 61831,
1514
+ "referencedDeclaration": 63255,
1515
1515
  "src": "2161:11:16",
1516
1516
  "typeDescriptions": {
1517
1517
  "typeIdentifier": "t_bool",
@@ -1526,7 +1526,7 @@
1526
1526
  "typeString": "bytes32[] memory"
1527
1527
  },
1528
1528
  {
1529
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
1529
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
1530
1530
  "typeString": "Slice"
1531
1531
  },
1532
1532
  {
@@ -1538,18 +1538,18 @@
1538
1538
  "typeString": "bool"
1539
1539
  }
1540
1540
  ],
1541
- "id": 61850,
1541
+ "id": 63274,
1542
1542
  "name": "_encodeToLocation",
1543
1543
  "nodeType": "Identifier",
1544
1544
  "overloadedDeclarations": [],
1545
- "referencedDeclaration": 61823,
1545
+ "referencedDeclaration": 63247,
1546
1546
  "src": "2097:17:16",
1547
1547
  "typeDescriptions": {
1548
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_userDefinedValueType$_Slice_$2331_$_t_uint256_$_t_bool_$returns$__$",
1548
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_bytes32_$dyn_memory_ptr_$_t_userDefinedValueType$_Slice_$2343_$_t_uint256_$_t_bool_$returns$__$",
1549
1549
  "typeString": "function (bytes32[] memory,Slice,uint256,bool) pure"
1550
1550
  }
1551
1551
  },
1552
- "id": 61858,
1552
+ "id": 63282,
1553
1553
  "isConstant": false,
1554
1554
  "isLValue": false,
1555
1555
  "isPure": false,
@@ -1564,14 +1564,14 @@
1564
1564
  "typeString": "tuple()"
1565
1565
  }
1566
1566
  },
1567
- "id": 61859,
1567
+ "id": 63283,
1568
1568
  "nodeType": "ExpressionStatement",
1569
1569
  "src": "2097:76:16"
1570
1570
  }
1571
1571
  ]
1572
1572
  },
1573
1573
  "documentation": {
1574
- "id": 61824,
1574
+ "id": 63248,
1575
1575
  "nodeType": "StructuredDocumentation",
1576
1576
  "src": "1734:126:16",
1577
1577
  "text": " @dev Copies the array to a new bytes array,\n tightly packing it using the given size per element (in bytes)"
@@ -1582,17 +1582,17 @@
1582
1582
  "name": "encode",
1583
1583
  "nameLocation": "1872:6:16",
1584
1584
  "parameters": {
1585
- "id": 61832,
1585
+ "id": 63256,
1586
1586
  "nodeType": "ParameterList",
1587
1587
  "parameters": [
1588
1588
  {
1589
1589
  "constant": false,
1590
- "id": 61827,
1590
+ "id": 63251,
1591
1591
  "mutability": "mutable",
1592
1592
  "name": "array",
1593
1593
  "nameLocation": "1901:5:16",
1594
1594
  "nodeType": "VariableDeclaration",
1595
- "scope": 61861,
1595
+ "scope": 63285,
1596
1596
  "src": "1884:22:16",
1597
1597
  "stateVariable": false,
1598
1598
  "storageLocation": "memory",
@@ -1602,7 +1602,7 @@
1602
1602
  },
1603
1603
  "typeName": {
1604
1604
  "baseType": {
1605
- "id": 61825,
1605
+ "id": 63249,
1606
1606
  "name": "bytes32",
1607
1607
  "nodeType": "ElementaryTypeName",
1608
1608
  "src": "1884:7:16",
@@ -1611,7 +1611,7 @@
1611
1611
  "typeString": "bytes32"
1612
1612
  }
1613
1613
  },
1614
- "id": 61826,
1614
+ "id": 63250,
1615
1615
  "nodeType": "ArrayTypeName",
1616
1616
  "src": "1884:9:16",
1617
1617
  "typeDescriptions": {
@@ -1623,12 +1623,12 @@
1623
1623
  },
1624
1624
  {
1625
1625
  "constant": false,
1626
- "id": 61829,
1626
+ "id": 63253,
1627
1627
  "mutability": "mutable",
1628
1628
  "name": "elementSize",
1629
1629
  "nameLocation": "1920:11:16",
1630
1630
  "nodeType": "VariableDeclaration",
1631
- "scope": 61861,
1631
+ "scope": 63285,
1632
1632
  "src": "1912:19:16",
1633
1633
  "stateVariable": false,
1634
1634
  "storageLocation": "default",
@@ -1637,7 +1637,7 @@
1637
1637
  "typeString": "uint256"
1638
1638
  },
1639
1639
  "typeName": {
1640
- "id": 61828,
1640
+ "id": 63252,
1641
1641
  "name": "uint256",
1642
1642
  "nodeType": "ElementaryTypeName",
1643
1643
  "src": "1912:7:16",
@@ -1650,12 +1650,12 @@
1650
1650
  },
1651
1651
  {
1652
1652
  "constant": false,
1653
- "id": 61831,
1653
+ "id": 63255,
1654
1654
  "mutability": "mutable",
1655
1655
  "name": "leftAligned",
1656
1656
  "nameLocation": "1942:11:16",
1657
1657
  "nodeType": "VariableDeclaration",
1658
- "scope": 61861,
1658
+ "scope": 63285,
1659
1659
  "src": "1937:16:16",
1660
1660
  "stateVariable": false,
1661
1661
  "storageLocation": "default",
@@ -1664,7 +1664,7 @@
1664
1664
  "typeString": "bool"
1665
1665
  },
1666
1666
  "typeName": {
1667
- "id": 61830,
1667
+ "id": 63254,
1668
1668
  "name": "bool",
1669
1669
  "nodeType": "ElementaryTypeName",
1670
1670
  "src": "1937:4:16",
@@ -1679,17 +1679,17 @@
1679
1679
  "src": "1878:79:16"
1680
1680
  },
1681
1681
  "returnParameters": {
1682
- "id": 61835,
1682
+ "id": 63259,
1683
1683
  "nodeType": "ParameterList",
1684
1684
  "parameters": [
1685
1685
  {
1686
1686
  "constant": false,
1687
- "id": 61834,
1687
+ "id": 63258,
1688
1688
  "mutability": "mutable",
1689
1689
  "name": "data",
1690
1690
  "nameLocation": "1994:4:16",
1691
1691
  "nodeType": "VariableDeclaration",
1692
- "scope": 61861,
1692
+ "scope": 63285,
1693
1693
  "src": "1981:17:16",
1694
1694
  "stateVariable": false,
1695
1695
  "storageLocation": "memory",
@@ -1698,7 +1698,7 @@
1698
1698
  "typeString": "bytes"
1699
1699
  },
1700
1700
  "typeName": {
1701
- "id": 61833,
1701
+ "id": 63257,
1702
1702
  "name": "bytes",
1703
1703
  "nodeType": "ElementaryTypeName",
1704
1704
  "src": "1981:5:16",
@@ -1712,35 +1712,35 @@
1712
1712
  ],
1713
1713
  "src": "1980:19:16"
1714
1714
  },
1715
- "scope": 61922,
1715
+ "scope": 63346,
1716
1716
  "stateMutability": "pure",
1717
1717
  "virtual": false,
1718
1718
  "visibility": "internal"
1719
1719
  },
1720
1720
  {
1721
- "id": 61921,
1721
+ "id": 63345,
1722
1722
  "nodeType": "FunctionDefinition",
1723
1723
  "src": "2422:1642:16",
1724
1724
  "nodes": [],
1725
1725
  "body": {
1726
- "id": 61920,
1726
+ "id": 63344,
1727
1727
  "nodeType": "Block",
1728
1728
  "src": "2559:1505:16",
1729
1729
  "nodes": [],
1730
1730
  "statements": [
1731
1731
  {
1732
1732
  "assignments": [
1733
- 61876
1733
+ 63300
1734
1734
  ],
1735
1735
  "declarations": [
1736
1736
  {
1737
1737
  "constant": false,
1738
- "id": 61876,
1738
+ "id": 63300,
1739
1739
  "mutability": "mutable",
1740
1740
  "name": "packedPointer",
1741
1741
  "nameLocation": "2573:13:16",
1742
1742
  "nodeType": "VariableDeclaration",
1743
- "scope": 61920,
1743
+ "scope": 63344,
1744
1744
  "src": "2565:21:16",
1745
1745
  "stateVariable": false,
1746
1746
  "storageLocation": "default",
@@ -1749,7 +1749,7 @@
1749
1749
  "typeString": "uint256"
1750
1750
  },
1751
1751
  "typeName": {
1752
- "id": 61875,
1752
+ "id": 63299,
1753
1753
  "name": "uint256",
1754
1754
  "nodeType": "ElementaryTypeName",
1755
1755
  "src": "2565:7:16",
@@ -1761,38 +1761,38 @@
1761
1761
  "visibility": "internal"
1762
1762
  }
1763
1763
  ],
1764
- "id": 61880,
1764
+ "id": 63304,
1765
1765
  "initialValue": {
1766
1766
  "arguments": [],
1767
1767
  "expression": {
1768
1768
  "argumentTypes": [],
1769
1769
  "expression": {
1770
- "id": 61877,
1770
+ "id": 63301,
1771
1771
  "name": "packedSlice",
1772
1772
  "nodeType": "Identifier",
1773
1773
  "overloadedDeclarations": [],
1774
- "referencedDeclaration": 61865,
1774
+ "referencedDeclaration": 63289,
1775
1775
  "src": "2589:11:16",
1776
1776
  "typeDescriptions": {
1777
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
1777
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
1778
1778
  "typeString": "Slice"
1779
1779
  }
1780
1780
  },
1781
- "id": 61878,
1781
+ "id": 63302,
1782
1782
  "isConstant": false,
1783
1783
  "isLValue": false,
1784
1784
  "isPure": false,
1785
1785
  "lValueRequested": false,
1786
1786
  "memberName": "pointer",
1787
1787
  "nodeType": "MemberAccess",
1788
- "referencedDeclaration": 2494,
1788
+ "referencedDeclaration": 2506,
1789
1789
  "src": "2589:19:16",
1790
1790
  "typeDescriptions": {
1791
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2331_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$2331_$",
1791
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2343_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$2343_$",
1792
1792
  "typeString": "function (Slice) pure returns (uint256)"
1793
1793
  }
1794
1794
  },
1795
- "id": 61879,
1795
+ "id": 63303,
1796
1796
  "isConstant": false,
1797
1797
  "isLValue": false,
1798
1798
  "isPure": false,
@@ -1812,17 +1812,17 @@
1812
1812
  },
1813
1813
  {
1814
1814
  "assignments": [
1815
- 61882
1815
+ 63306
1816
1816
  ],
1817
1817
  "declarations": [
1818
1818
  {
1819
1819
  "constant": false,
1820
- "id": 61882,
1820
+ "id": 63306,
1821
1821
  "mutability": "mutable",
1822
1822
  "name": "packedLength",
1823
1823
  "nameLocation": "2624:12:16",
1824
1824
  "nodeType": "VariableDeclaration",
1825
- "scope": 61920,
1825
+ "scope": 63344,
1826
1826
  "src": "2616:20:16",
1827
1827
  "stateVariable": false,
1828
1828
  "storageLocation": "default",
@@ -1831,7 +1831,7 @@
1831
1831
  "typeString": "uint256"
1832
1832
  },
1833
1833
  "typeName": {
1834
- "id": 61881,
1834
+ "id": 63305,
1835
1835
  "name": "uint256",
1836
1836
  "nodeType": "ElementaryTypeName",
1837
1837
  "src": "2616:7:16",
@@ -1843,38 +1843,38 @@
1843
1843
  "visibility": "internal"
1844
1844
  }
1845
1845
  ],
1846
- "id": 61886,
1846
+ "id": 63310,
1847
1847
  "initialValue": {
1848
1848
  "arguments": [],
1849
1849
  "expression": {
1850
1850
  "argumentTypes": [],
1851
1851
  "expression": {
1852
- "id": 61883,
1852
+ "id": 63307,
1853
1853
  "name": "packedSlice",
1854
1854
  "nodeType": "Identifier",
1855
1855
  "overloadedDeclarations": [],
1856
- "referencedDeclaration": 61865,
1856
+ "referencedDeclaration": 63289,
1857
1857
  "src": "2639:11:16",
1858
1858
  "typeDescriptions": {
1859
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
1859
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
1860
1860
  "typeString": "Slice"
1861
1861
  }
1862
1862
  },
1863
- "id": 61884,
1863
+ "id": 63308,
1864
1864
  "isConstant": false,
1865
1865
  "isLValue": false,
1866
1866
  "isPure": false,
1867
1867
  "lValueRequested": false,
1868
1868
  "memberName": "length",
1869
1869
  "nodeType": "MemberAccess",
1870
- "referencedDeclaration": 2512,
1870
+ "referencedDeclaration": 2524,
1871
1871
  "src": "2639:18:16",
1872
1872
  "typeDescriptions": {
1873
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2331_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$2331_$",
1873
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$2343_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$2343_$",
1874
1874
  "typeString": "function (Slice) pure returns (uint256)"
1875
1875
  }
1876
1876
  },
1877
- "id": 61885,
1877
+ "id": 63309,
1878
1878
  "isConstant": false,
1879
1879
  "isLValue": false,
1880
1880
  "isPure": false,
@@ -1894,17 +1894,17 @@
1894
1894
  },
1895
1895
  {
1896
1896
  "assignments": [
1897
- 61888
1897
+ 63312
1898
1898
  ],
1899
1899
  "declarations": [
1900
1900
  {
1901
1901
  "constant": false,
1902
- "id": 61888,
1902
+ "id": 63312,
1903
1903
  "mutability": "mutable",
1904
1904
  "name": "padLeft",
1905
1905
  "nameLocation": "2673:7:16",
1906
1906
  "nodeType": "VariableDeclaration",
1907
- "scope": 61920,
1907
+ "scope": 63344,
1908
1908
  "src": "2665:15:16",
1909
1909
  "stateVariable": false,
1910
1910
  "storageLocation": "default",
@@ -1913,7 +1913,7 @@
1913
1913
  "typeString": "uint256"
1914
1914
  },
1915
1915
  "typeName": {
1916
- "id": 61887,
1916
+ "id": 63311,
1917
1917
  "name": "uint256",
1918
1918
  "nodeType": "ElementaryTypeName",
1919
1919
  "src": "2665:7:16",
@@ -1925,14 +1925,14 @@
1925
1925
  "visibility": "internal"
1926
1926
  }
1927
1927
  ],
1928
- "id": 61897,
1928
+ "id": 63321,
1929
1929
  "initialValue": {
1930
1930
  "condition": {
1931
- "id": 61889,
1931
+ "id": 63313,
1932
1932
  "name": "leftAligned",
1933
1933
  "nodeType": "Identifier",
1934
1934
  "overloadedDeclarations": [],
1935
- "referencedDeclaration": 61869,
1935
+ "referencedDeclaration": 63293,
1936
1936
  "src": "2683:11:16",
1937
1937
  "typeDescriptions": {
1938
1938
  "typeIdentifier": "t_bool",
@@ -1944,14 +1944,14 @@
1944
1944
  "typeIdentifier": "t_uint256",
1945
1945
  "typeString": "uint256"
1946
1946
  },
1947
- "id": 61895,
1947
+ "id": 63319,
1948
1948
  "isConstant": false,
1949
1949
  "isLValue": false,
1950
1950
  "isPure": false,
1951
1951
  "lValueRequested": false,
1952
1952
  "leftExpression": {
1953
1953
  "hexValue": "323536",
1954
- "id": 61891,
1954
+ "id": 63315,
1955
1955
  "isConstant": false,
1956
1956
  "isLValue": false,
1957
1957
  "isPure": true,
@@ -1972,17 +1972,17 @@
1972
1972
  "typeIdentifier": "t_uint256",
1973
1973
  "typeString": "uint256"
1974
1974
  },
1975
- "id": 61894,
1975
+ "id": 63318,
1976
1976
  "isConstant": false,
1977
1977
  "isLValue": false,
1978
1978
  "isPure": false,
1979
1979
  "lValueRequested": false,
1980
1980
  "leftExpression": {
1981
- "id": 61892,
1981
+ "id": 63316,
1982
1982
  "name": "elementSize",
1983
1983
  "nodeType": "Identifier",
1984
1984
  "overloadedDeclarations": [],
1985
- "referencedDeclaration": 61867,
1985
+ "referencedDeclaration": 63291,
1986
1986
  "src": "2707:11:16",
1987
1987
  "typeDescriptions": {
1988
1988
  "typeIdentifier": "t_uint256",
@@ -1993,7 +1993,7 @@
1993
1993
  "operator": "*",
1994
1994
  "rightExpression": {
1995
1995
  "hexValue": "38",
1996
- "id": 61893,
1996
+ "id": 63317,
1997
1997
  "isConstant": false,
1998
1998
  "isLValue": false,
1999
1999
  "isPure": true,
@@ -2019,7 +2019,7 @@
2019
2019
  "typeString": "uint256"
2020
2020
  }
2021
2021
  },
2022
- "id": 61896,
2022
+ "id": 63320,
2023
2023
  "isConstant": false,
2024
2024
  "isLValue": false,
2025
2025
  "isPure": false,
@@ -2028,7 +2028,7 @@
2028
2028
  "src": "2683:39:16",
2029
2029
  "trueExpression": {
2030
2030
  "hexValue": "30",
2031
- "id": 61890,
2031
+ "id": 63314,
2032
2032
  "isConstant": false,
2033
2033
  "isLValue": false,
2034
2034
  "isPure": true,
@@ -2052,17 +2052,17 @@
2052
2052
  },
2053
2053
  {
2054
2054
  "assignments": [
2055
- 61899
2055
+ 63323
2056
2056
  ],
2057
2057
  "declarations": [
2058
2058
  {
2059
2059
  "constant": false,
2060
- "id": 61899,
2060
+ "id": 63323,
2061
2061
  "mutability": "mutable",
2062
2062
  "name": "arrayLength",
2063
2063
  "nameLocation": "2777:11:16",
2064
2064
  "nodeType": "VariableDeclaration",
2065
- "scope": 61920,
2065
+ "scope": 63344,
2066
2066
  "src": "2769:19:16",
2067
2067
  "stateVariable": false,
2068
2068
  "storageLocation": "default",
@@ -2071,7 +2071,7 @@
2071
2071
  "typeString": "uint256"
2072
2072
  },
2073
2073
  "typeName": {
2074
- "id": 61898,
2074
+ "id": 63322,
2075
2075
  "name": "uint256",
2076
2076
  "nodeType": "ElementaryTypeName",
2077
2077
  "src": "2769:7:16",
@@ -2083,28 +2083,28 @@
2083
2083
  "visibility": "internal"
2084
2084
  }
2085
2085
  ],
2086
- "id": 61900,
2086
+ "id": 63324,
2087
2087
  "nodeType": "VariableDeclarationStatement",
2088
2088
  "src": "2769:19:16"
2089
2089
  },
2090
2090
  {
2091
- "id": 61907,
2091
+ "id": 63331,
2092
2092
  "nodeType": "UncheckedBlock",
2093
2093
  "src": "2794:65:16",
2094
2094
  "statements": [
2095
2095
  {
2096
2096
  "expression": {
2097
- "id": 61905,
2097
+ "id": 63329,
2098
2098
  "isConstant": false,
2099
2099
  "isLValue": false,
2100
2100
  "isPure": false,
2101
2101
  "lValueRequested": false,
2102
2102
  "leftHandSide": {
2103
- "id": 61901,
2103
+ "id": 63325,
2104
2104
  "name": "arrayLength",
2105
2105
  "nodeType": "Identifier",
2106
2106
  "overloadedDeclarations": [],
2107
- "referencedDeclaration": 61899,
2107
+ "referencedDeclaration": 63323,
2108
2108
  "src": "2812:11:16",
2109
2109
  "typeDescriptions": {
2110
2110
  "typeIdentifier": "t_uint256",
@@ -2118,17 +2118,17 @@
2118
2118
  "typeIdentifier": "t_uint256",
2119
2119
  "typeString": "uint256"
2120
2120
  },
2121
- "id": 61904,
2121
+ "id": 63328,
2122
2122
  "isConstant": false,
2123
2123
  "isLValue": false,
2124
2124
  "isPure": false,
2125
2125
  "lValueRequested": false,
2126
2126
  "leftExpression": {
2127
- "id": 61902,
2127
+ "id": 63326,
2128
2128
  "name": "packedLength",
2129
2129
  "nodeType": "Identifier",
2130
2130
  "overloadedDeclarations": [],
2131
- "referencedDeclaration": 61882,
2131
+ "referencedDeclaration": 63306,
2132
2132
  "src": "2826:12:16",
2133
2133
  "typeDescriptions": {
2134
2134
  "typeIdentifier": "t_uint256",
@@ -2138,11 +2138,11 @@
2138
2138
  "nodeType": "BinaryOperation",
2139
2139
  "operator": "/",
2140
2140
  "rightExpression": {
2141
- "id": 61903,
2141
+ "id": 63327,
2142
2142
  "name": "elementSize",
2143
2143
  "nodeType": "Identifier",
2144
2144
  "overloadedDeclarations": [],
2145
- "referencedDeclaration": 61867,
2145
+ "referencedDeclaration": 63291,
2146
2146
  "src": "2841:11:16",
2147
2147
  "typeDescriptions": {
2148
2148
  "typeIdentifier": "t_uint256",
@@ -2161,7 +2161,7 @@
2161
2161
  "typeString": "uint256"
2162
2162
  }
2163
2163
  },
2164
- "id": 61906,
2164
+ "id": 63330,
2165
2165
  "nodeType": "ExpressionStatement",
2166
2166
  "src": "2812:40:16"
2167
2167
  }
@@ -2173,7 +2173,7 @@
2173
2173
  "typeIdentifier": "t_uint256",
2174
2174
  "typeString": "uint256"
2175
2175
  },
2176
- "id": 61912,
2176
+ "id": 63336,
2177
2177
  "isConstant": false,
2178
2178
  "isLValue": false,
2179
2179
  "isPure": false,
@@ -2183,17 +2183,17 @@
2183
2183
  "typeIdentifier": "t_uint256",
2184
2184
  "typeString": "uint256"
2185
2185
  },
2186
- "id": 61910,
2186
+ "id": 63334,
2187
2187
  "isConstant": false,
2188
2188
  "isLValue": false,
2189
2189
  "isPure": false,
2190
2190
  "lValueRequested": false,
2191
2191
  "leftExpression": {
2192
- "id": 61908,
2192
+ "id": 63332,
2193
2193
  "name": "packedLength",
2194
2194
  "nodeType": "Identifier",
2195
2195
  "overloadedDeclarations": [],
2196
- "referencedDeclaration": 61882,
2196
+ "referencedDeclaration": 63306,
2197
2197
  "src": "3009:12:16",
2198
2198
  "typeDescriptions": {
2199
2199
  "typeIdentifier": "t_uint256",
@@ -2203,11 +2203,11 @@
2203
2203
  "nodeType": "BinaryOperation",
2204
2204
  "operator": "%",
2205
2205
  "rightExpression": {
2206
- "id": 61909,
2206
+ "id": 63333,
2207
2207
  "name": "elementSize",
2208
2208
  "nodeType": "Identifier",
2209
2209
  "overloadedDeclarations": [],
2210
- "referencedDeclaration": 61867,
2210
+ "referencedDeclaration": 63291,
2211
2211
  "src": "3024:11:16",
2212
2212
  "typeDescriptions": {
2213
2213
  "typeIdentifier": "t_uint256",
@@ -2224,7 +2224,7 @@
2224
2224
  "operator": "!=",
2225
2225
  "rightExpression": {
2226
2226
  "hexValue": "30",
2227
- "id": 61911,
2227
+ "id": 63335,
2228
2228
  "isConstant": false,
2229
2229
  "isLValue": false,
2230
2230
  "isPure": true,
@@ -2244,11 +2244,11 @@
2244
2244
  "typeString": "bool"
2245
2245
  }
2246
2246
  },
2247
- "id": 61918,
2247
+ "id": 63342,
2248
2248
  "nodeType": "IfStatement",
2249
2249
  "src": "3005:123:16",
2250
2250
  "trueBody": {
2251
- "id": 61917,
2251
+ "id": 63341,
2252
2252
  "nodeType": "Block",
2253
2253
  "src": "3042:86:16",
2254
2254
  "statements": [
@@ -2257,7 +2257,7 @@
2257
2257
  "arguments": [
2258
2258
  {
2259
2259
  "hexValue": "756e7061636b546f41727261793a207061636b65644c656e677468206d7573742062652061206d756c7469706c65206f6620656c656d656e7453697a65",
2260
- "id": 61914,
2260
+ "id": 63338,
2261
2261
  "isConstant": false,
2262
2262
  "isLValue": false,
2263
2263
  "isPure": true,
@@ -2279,7 +2279,7 @@
2279
2279
  "typeString": "literal_string \"unpackToArray: packedLength must be a multiple of elementSize\""
2280
2280
  }
2281
2281
  ],
2282
- "id": 61913,
2282
+ "id": 63337,
2283
2283
  "name": "revert",
2284
2284
  "nodeType": "Identifier",
2285
2285
  "overloadedDeclarations": [
@@ -2293,7 +2293,7 @@
2293
2293
  "typeString": "function (string memory) pure"
2294
2294
  }
2295
2295
  },
2296
- "id": 61915,
2296
+ "id": 63339,
2297
2297
  "isConstant": false,
2298
2298
  "isLValue": false,
2299
2299
  "isPure": false,
@@ -2308,7 +2308,7 @@
2308
2308
  "typeString": "tuple()"
2309
2309
  }
2310
2310
  },
2311
- "id": 61916,
2311
+ "id": 63340,
2312
2312
  "nodeType": "ExpressionStatement",
2313
2313
  "src": "3050:71:16"
2314
2314
  }
@@ -2742,84 +2742,84 @@
2742
2742
  "evmVersion": "london",
2743
2743
  "externalReferences": [
2744
2744
  {
2745
- "declaration": 61873,
2745
+ "declaration": 63297,
2746
2746
  "isOffset": false,
2747
2747
  "isSlot": false,
2748
2748
  "src": "3386:5:16",
2749
2749
  "valueSize": 1
2750
2750
  },
2751
2751
  {
2752
- "declaration": 61873,
2752
+ "declaration": 63297,
2753
2753
  "isOffset": false,
2754
2754
  "isSlot": false,
2755
2755
  "src": "3430:5:16",
2756
2756
  "valueSize": 1
2757
2757
  },
2758
2758
  {
2759
- "declaration": 61873,
2759
+ "declaration": 63297,
2760
2760
  "isOffset": false,
2761
2761
  "isSlot": false,
2762
2762
  "src": "3495:5:16",
2763
2763
  "valueSize": 1
2764
2764
  },
2765
2765
  {
2766
- "declaration": 61873,
2766
+ "declaration": 63297,
2767
2767
  "isOffset": false,
2768
2768
  "isSlot": false,
2769
2769
  "src": "3578:5:16",
2770
2770
  "valueSize": 1
2771
2771
  },
2772
2772
  {
2773
- "declaration": 61899,
2773
+ "declaration": 63323,
2774
2774
  "isOffset": false,
2775
2775
  "isSlot": false,
2776
2776
  "src": "3296:11:16",
2777
2777
  "valueSize": 1
2778
2778
  },
2779
2779
  {
2780
- "declaration": 61899,
2780
+ "declaration": 63323,
2781
2781
  "isOffset": false,
2782
2782
  "isSlot": false,
2783
2783
  "src": "3502:11:16",
2784
2784
  "valueSize": 1
2785
2785
  },
2786
2786
  {
2787
- "declaration": 61899,
2787
+ "declaration": 63323,
2788
2788
  "isOffset": false,
2789
2789
  "isSlot": false,
2790
2790
  "src": "3668:11:16",
2791
2791
  "valueSize": 1
2792
2792
  },
2793
2793
  {
2794
- "declaration": 61867,
2794
+ "declaration": 63291,
2795
2795
  "isOffset": false,
2796
2796
  "isSlot": false,
2797
2797
  "src": "3885:11:16",
2798
2798
  "valueSize": 1
2799
2799
  },
2800
2800
  {
2801
- "declaration": 61876,
2801
+ "declaration": 63300,
2802
2802
  "isOffset": false,
2803
2803
  "isSlot": false,
2804
2804
  "src": "3640:13:16",
2805
2805
  "valueSize": 1
2806
2806
  },
2807
2807
  {
2808
- "declaration": 61888,
2808
+ "declaration": 63312,
2809
2809
  "isOffset": false,
2810
2810
  "isSlot": false,
2811
2811
  "src": "3988:7:16",
2812
2812
  "valueSize": 1
2813
2813
  }
2814
2814
  ],
2815
- "id": 61919,
2815
+ "id": 63343,
2816
2816
  "nodeType": "InlineAssembly",
2817
2817
  "src": "3173:887:16"
2818
2818
  }
2819
2819
  ]
2820
2820
  },
2821
2821
  "documentation": {
2822
- "id": 61862,
2822
+ "id": 63286,
2823
2823
  "nodeType": "StructuredDocumentation",
2824
2824
  "src": "2182:237:16",
2825
2825
  "text": " @dev Unpacks the slice to a new memory location\n and lays it out like a memory array with the given size per element (in bytes)\n @return array a generic array, needs to be casted to the expected type using assembly"
@@ -2830,38 +2830,38 @@
2830
2830
  "name": "decode",
2831
2831
  "nameLocation": "2431:6:16",
2832
2832
  "parameters": {
2833
- "id": 61870,
2833
+ "id": 63294,
2834
2834
  "nodeType": "ParameterList",
2835
2835
  "parameters": [
2836
2836
  {
2837
2837
  "constant": false,
2838
- "id": 61865,
2838
+ "id": 63289,
2839
2839
  "mutability": "mutable",
2840
2840
  "name": "packedSlice",
2841
2841
  "nameLocation": "2449:11:16",
2842
2842
  "nodeType": "VariableDeclaration",
2843
- "scope": 61921,
2843
+ "scope": 63345,
2844
2844
  "src": "2443:17:16",
2845
2845
  "stateVariable": false,
2846
2846
  "storageLocation": "default",
2847
2847
  "typeDescriptions": {
2848
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
2848
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
2849
2849
  "typeString": "Slice"
2850
2850
  },
2851
2851
  "typeName": {
2852
- "id": 61864,
2852
+ "id": 63288,
2853
2853
  "nodeType": "UserDefinedTypeName",
2854
2854
  "pathNode": {
2855
- "id": 61863,
2855
+ "id": 63287,
2856
2856
  "name": "Slice",
2857
2857
  "nodeType": "IdentifierPath",
2858
- "referencedDeclaration": 2331,
2858
+ "referencedDeclaration": 2343,
2859
2859
  "src": "2443:5:16"
2860
2860
  },
2861
- "referencedDeclaration": 2331,
2861
+ "referencedDeclaration": 2343,
2862
2862
  "src": "2443:5:16",
2863
2863
  "typeDescriptions": {
2864
- "typeIdentifier": "t_userDefinedValueType$_Slice_$2331",
2864
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$2343",
2865
2865
  "typeString": "Slice"
2866
2866
  }
2867
2867
  },
@@ -2869,12 +2869,12 @@
2869
2869
  },
2870
2870
  {
2871
2871
  "constant": false,
2872
- "id": 61867,
2872
+ "id": 63291,
2873
2873
  "mutability": "mutable",
2874
2874
  "name": "elementSize",
2875
2875
  "nameLocation": "2474:11:16",
2876
2876
  "nodeType": "VariableDeclaration",
2877
- "scope": 61921,
2877
+ "scope": 63345,
2878
2878
  "src": "2466:19:16",
2879
2879
  "stateVariable": false,
2880
2880
  "storageLocation": "default",
@@ -2883,7 +2883,7 @@
2883
2883
  "typeString": "uint256"
2884
2884
  },
2885
2885
  "typeName": {
2886
- "id": 61866,
2886
+ "id": 63290,
2887
2887
  "name": "uint256",
2888
2888
  "nodeType": "ElementaryTypeName",
2889
2889
  "src": "2466:7:16",
@@ -2896,12 +2896,12 @@
2896
2896
  },
2897
2897
  {
2898
2898
  "constant": false,
2899
- "id": 61869,
2899
+ "id": 63293,
2900
2900
  "mutability": "mutable",
2901
2901
  "name": "leftAligned",
2902
2902
  "nameLocation": "2496:11:16",
2903
2903
  "nodeType": "VariableDeclaration",
2904
- "scope": 61921,
2904
+ "scope": 63345,
2905
2905
  "src": "2491:16:16",
2906
2906
  "stateVariable": false,
2907
2907
  "storageLocation": "default",
@@ -2910,7 +2910,7 @@
2910
2910
  "typeString": "bool"
2911
2911
  },
2912
2912
  "typeName": {
2913
- "id": 61868,
2913
+ "id": 63292,
2914
2914
  "name": "bool",
2915
2915
  "nodeType": "ElementaryTypeName",
2916
2916
  "src": "2491:4:16",
@@ -2925,17 +2925,17 @@
2925
2925
  "src": "2437:74:16"
2926
2926
  },
2927
2927
  "returnParameters": {
2928
- "id": 61874,
2928
+ "id": 63298,
2929
2929
  "nodeType": "ParameterList",
2930
2930
  "parameters": [
2931
2931
  {
2932
2932
  "constant": false,
2933
- "id": 61873,
2933
+ "id": 63297,
2934
2934
  "mutability": "mutable",
2935
2935
  "name": "array",
2936
2936
  "nameLocation": "2552:5:16",
2937
2937
  "nodeType": "VariableDeclaration",
2938
- "scope": 61921,
2938
+ "scope": 63345,
2939
2939
  "src": "2535:22:16",
2940
2940
  "stateVariable": false,
2941
2941
  "storageLocation": "memory",
@@ -2945,7 +2945,7 @@
2945
2945
  },
2946
2946
  "typeName": {
2947
2947
  "baseType": {
2948
- "id": 61871,
2948
+ "id": 63295,
2949
2949
  "name": "bytes32",
2950
2950
  "nodeType": "ElementaryTypeName",
2951
2951
  "src": "2535:7:16",
@@ -2954,7 +2954,7 @@
2954
2954
  "typeString": "bytes32"
2955
2955
  }
2956
2956
  },
2957
- "id": 61872,
2957
+ "id": 63296,
2958
2958
  "nodeType": "ArrayTypeName",
2959
2959
  "src": "2535:9:16",
2960
2960
  "typeDescriptions": {
@@ -2967,7 +2967,7 @@
2967
2967
  ],
2968
2968
  "src": "2534:24:16"
2969
2969
  },
2970
- "scope": 61922,
2970
+ "scope": 63346,
2971
2971
  "stateMutability": "pure",
2972
2972
  "virtual": false,
2973
2973
  "visibility": "internal"
@@ -2980,11 +2980,11 @@
2980
2980
  "contractKind": "library",
2981
2981
  "fullyImplemented": true,
2982
2982
  "linearizedBaseContracts": [
2983
- 61922
2983
+ 63346
2984
2984
  ],
2985
2985
  "name": "TightCoder",
2986
2986
  "nameLocation": "197:10:16",
2987
- "scope": 61923,
2987
+ "scope": 63347,
2988
2988
  "usedErrors": []
2989
2989
  }
2990
2990
  ],