@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
package/abi/SliceLib.json CHANGED
@@ -156,29 +156,29 @@
156
156
  },
157
157
  "ast": {
158
158
  "absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/Slice.sol",
159
- "id": 44944,
159
+ "id": 45363,
160
160
  "exportedSymbols": {
161
161
  "DecodeSlice": [
162
- 50595
162
+ 51468
163
163
  ],
164
164
  "Memory": [
165
- 43502
165
+ 43921
166
166
  ],
167
167
  "Slice": [
168
- 44702
168
+ 45121
169
169
  ],
170
170
  "SliceInstance": [
171
- 44943
171
+ 45362
172
172
  ],
173
173
  "SliceLib": [
174
- 44847
174
+ 45266
175
175
  ]
176
176
  },
177
177
  "nodeType": "SourceUnit",
178
178
  "src": "32:3315:52",
179
179
  "nodes": [
180
180
  {
181
- "id": 44696,
181
+ "id": 45115,
182
182
  "nodeType": "PragmaDirective",
183
183
  "src": "32:24:52",
184
184
  "nodes": [],
@@ -190,23 +190,23 @@
190
190
  ]
191
191
  },
192
192
  {
193
- "id": 44698,
193
+ "id": 45117,
194
194
  "nodeType": "ImportDirective",
195
195
  "src": "58:38:52",
196
196
  "nodes": [],
197
197
  "absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/Memory.sol",
198
198
  "file": "./Memory.sol",
199
199
  "nameLocation": "-1:-1:-1",
200
- "scope": 44944,
201
- "sourceUnit": 43503,
200
+ "scope": 45363,
201
+ "sourceUnit": 43922,
202
202
  "symbolAliases": [
203
203
  {
204
204
  "foreign": {
205
- "id": 44697,
205
+ "id": 45116,
206
206
  "name": "Memory",
207
207
  "nodeType": "Identifier",
208
208
  "overloadedDeclarations": [],
209
- "referencedDeclaration": 43502,
209
+ "referencedDeclaration": 43921,
210
210
  "src": "67:6:52",
211
211
  "typeDescriptions": {}
212
212
  },
@@ -216,23 +216,23 @@
216
216
  "unitAlias": ""
217
217
  },
218
218
  {
219
- "id": 44700,
219
+ "id": 45119,
220
220
  "nodeType": "ImportDirective",
221
221
  "src": "97:59:52",
222
222
  "nodes": [],
223
223
  "absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/tightcoder/DecodeSlice.sol",
224
224
  "file": "./tightcoder/DecodeSlice.sol",
225
225
  "nameLocation": "-1:-1:-1",
226
- "scope": 44944,
227
- "sourceUnit": 50596,
226
+ "scope": 45363,
227
+ "sourceUnit": 51469,
228
228
  "symbolAliases": [
229
229
  {
230
230
  "foreign": {
231
- "id": 44699,
231
+ "id": 45118,
232
232
  "name": "DecodeSlice",
233
233
  "nodeType": "Identifier",
234
234
  "overloadedDeclarations": [],
235
- "referencedDeclaration": 50595,
235
+ "referencedDeclaration": 51468,
236
236
  "src": "106:11:52",
237
237
  "typeDescriptions": {}
238
238
  },
@@ -242,7 +242,7 @@
242
242
  "unitAlias": ""
243
243
  },
244
244
  {
245
- "id": 44702,
245
+ "id": 45121,
246
246
  "nodeType": "UserDefinedValueTypeDefinition",
247
247
  "src": "373:22:52",
248
248
  "nodes": [],
@@ -250,7 +250,7 @@
250
250
  "name": "Slice",
251
251
  "nameLocation": "378:5:52",
252
252
  "underlyingType": {
253
- "id": 44701,
253
+ "id": 45120,
254
254
  "name": "uint256",
255
255
  "nodeType": "ElementaryTypeName",
256
256
  "src": "387:7:52",
@@ -261,74 +261,74 @@
261
261
  }
262
262
  },
263
263
  {
264
- "id": 44706,
264
+ "id": 45125,
265
265
  "nodeType": "UsingForDirective",
266
266
  "src": "397:37:52",
267
267
  "nodes": [],
268
268
  "global": true,
269
269
  "libraryName": {
270
- "id": 44703,
270
+ "id": 45122,
271
271
  "name": "SliceInstance",
272
272
  "nodeType": "IdentifierPath",
273
- "referencedDeclaration": 44943,
273
+ "referencedDeclaration": 45362,
274
274
  "src": "403:13:52"
275
275
  },
276
276
  "typeName": {
277
- "id": 44705,
277
+ "id": 45124,
278
278
  "nodeType": "UserDefinedTypeName",
279
279
  "pathNode": {
280
- "id": 44704,
280
+ "id": 45123,
281
281
  "name": "Slice",
282
282
  "nodeType": "IdentifierPath",
283
- "referencedDeclaration": 44702,
283
+ "referencedDeclaration": 45121,
284
284
  "src": "421:5:52"
285
285
  },
286
- "referencedDeclaration": 44702,
286
+ "referencedDeclaration": 45121,
287
287
  "src": "421:5:52",
288
288
  "typeDescriptions": {
289
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
289
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
290
290
  "typeString": "Slice"
291
291
  }
292
292
  }
293
293
  },
294
294
  {
295
- "id": 44710,
295
+ "id": 45129,
296
296
  "nodeType": "UsingForDirective",
297
297
  "src": "435:35:52",
298
298
  "nodes": [],
299
299
  "global": true,
300
300
  "libraryName": {
301
- "id": 44707,
301
+ "id": 45126,
302
302
  "name": "DecodeSlice",
303
303
  "nodeType": "IdentifierPath",
304
- "referencedDeclaration": 50595,
304
+ "referencedDeclaration": 51468,
305
305
  "src": "441:11:52"
306
306
  },
307
307
  "typeName": {
308
- "id": 44709,
308
+ "id": 45128,
309
309
  "nodeType": "UserDefinedTypeName",
310
310
  "pathNode": {
311
- "id": 44708,
311
+ "id": 45127,
312
312
  "name": "Slice",
313
313
  "nodeType": "IdentifierPath",
314
- "referencedDeclaration": 44702,
314
+ "referencedDeclaration": 45121,
315
315
  "src": "457:5:52"
316
316
  },
317
- "referencedDeclaration": 44702,
317
+ "referencedDeclaration": 45121,
318
318
  "src": "457:5:52",
319
319
  "typeDescriptions": {
320
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
320
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
321
321
  "typeString": "Slice"
322
322
  }
323
323
  }
324
324
  },
325
325
  {
326
- "id": 44847,
326
+ "id": 45266,
327
327
  "nodeType": "ContractDefinition",
328
328
  "src": "517:1634:52",
329
329
  "nodes": [
330
330
  {
331
- "id": 44719,
331
+ "id": 45138,
332
332
  "nodeType": "ErrorDefinition",
333
333
  "src": "538:64:52",
334
334
  "nodes": [],
@@ -336,17 +336,17 @@
336
336
  "name": "Slice_OutOfBounds",
337
337
  "nameLocation": "544:17:52",
338
338
  "parameters": {
339
- "id": 44718,
339
+ "id": 45137,
340
340
  "nodeType": "ParameterList",
341
341
  "parameters": [
342
342
  {
343
343
  "constant": false,
344
- "id": 44713,
344
+ "id": 45132,
345
345
  "mutability": "mutable",
346
346
  "name": "data",
347
347
  "nameLocation": "568:4:52",
348
348
  "nodeType": "VariableDeclaration",
349
- "scope": 44719,
349
+ "scope": 45138,
350
350
  "src": "562:10:52",
351
351
  "stateVariable": false,
352
352
  "storageLocation": "default",
@@ -355,7 +355,7 @@
355
355
  "typeString": "bytes"
356
356
  },
357
357
  "typeName": {
358
- "id": 44712,
358
+ "id": 45131,
359
359
  "name": "bytes",
360
360
  "nodeType": "ElementaryTypeName",
361
361
  "src": "562:5:52",
@@ -368,12 +368,12 @@
368
368
  },
369
369
  {
370
370
  "constant": false,
371
- "id": 44715,
371
+ "id": 45134,
372
372
  "mutability": "mutable",
373
373
  "name": "start",
374
374
  "nameLocation": "582:5:52",
375
375
  "nodeType": "VariableDeclaration",
376
- "scope": 44719,
376
+ "scope": 45138,
377
377
  "src": "574:13:52",
378
378
  "stateVariable": false,
379
379
  "storageLocation": "default",
@@ -382,7 +382,7 @@
382
382
  "typeString": "uint256"
383
383
  },
384
384
  "typeName": {
385
- "id": 44714,
385
+ "id": 45133,
386
386
  "name": "uint256",
387
387
  "nodeType": "ElementaryTypeName",
388
388
  "src": "574:7:52",
@@ -395,12 +395,12 @@
395
395
  },
396
396
  {
397
397
  "constant": false,
398
- "id": 44717,
398
+ "id": 45136,
399
399
  "mutability": "mutable",
400
400
  "name": "end",
401
401
  "nameLocation": "597:3:52",
402
402
  "nodeType": "VariableDeclaration",
403
- "scope": 44719,
403
+ "scope": 45138,
404
404
  "src": "589:11:52",
405
405
  "stateVariable": false,
406
406
  "storageLocation": "default",
@@ -409,7 +409,7 @@
409
409
  "typeString": "uint256"
410
410
  },
411
411
  "typeName": {
412
- "id": 44716,
412
+ "id": 45135,
413
413
  "name": "uint256",
414
414
  "nodeType": "ElementaryTypeName",
415
415
  "src": "589:7:52",
@@ -425,7 +425,7 @@
425
425
  }
426
426
  },
427
427
  {
428
- "id": 44729,
428
+ "id": 45148,
429
429
  "nodeType": "VariableDeclaration",
430
430
  "src": "606:54:52",
431
431
  "nodes": [],
@@ -433,7 +433,7 @@
433
433
  "mutability": "constant",
434
434
  "name": "MASK_LEN",
435
435
  "nameLocation": "623:8:52",
436
- "scope": 44847,
436
+ "scope": 45266,
437
437
  "stateVariable": true,
438
438
  "storageLocation": "default",
439
439
  "typeDescriptions": {
@@ -441,7 +441,7 @@
441
441
  "typeString": "uint256"
442
442
  },
443
443
  "typeName": {
444
- "id": 44720,
444
+ "id": 45139,
445
445
  "name": "uint256",
446
446
  "nodeType": "ElementaryTypeName",
447
447
  "src": "606:7:52",
@@ -456,7 +456,7 @@
456
456
  "expression": {
457
457
  "arguments": [
458
458
  {
459
- "id": 44725,
459
+ "id": 45144,
460
460
  "isConstant": false,
461
461
  "isLValue": false,
462
462
  "isPure": true,
@@ -468,7 +468,7 @@
468
468
  "typeString": "type(uint128)"
469
469
  },
470
470
  "typeName": {
471
- "id": 44724,
471
+ "id": 45143,
472
472
  "name": "uint128",
473
473
  "nodeType": "ElementaryTypeName",
474
474
  "src": "647:7:52",
@@ -483,7 +483,7 @@
483
483
  "typeString": "type(uint128)"
484
484
  }
485
485
  ],
486
- "id": 44723,
486
+ "id": 45142,
487
487
  "name": "type",
488
488
  "nodeType": "Identifier",
489
489
  "overloadedDeclarations": [],
@@ -494,7 +494,7 @@
494
494
  "typeString": "function () pure"
495
495
  }
496
496
  },
497
- "id": 44726,
497
+ "id": 45145,
498
498
  "isConstant": false,
499
499
  "isLValue": false,
500
500
  "isPure": true,
@@ -509,7 +509,7 @@
509
509
  "typeString": "type(uint128)"
510
510
  }
511
511
  },
512
- "id": 44727,
512
+ "id": 45146,
513
513
  "isConstant": false,
514
514
  "isLValue": false,
515
515
  "isPure": true,
@@ -530,7 +530,7 @@
530
530
  "typeString": "uint128"
531
531
  }
532
532
  ],
533
- "id": 44722,
533
+ "id": 45141,
534
534
  "isConstant": false,
535
535
  "isLValue": false,
536
536
  "isPure": true,
@@ -542,14 +542,14 @@
542
542
  "typeString": "type(uint256)"
543
543
  },
544
544
  "typeName": {
545
- "id": 44721,
545
+ "id": 45140,
546
546
  "name": "uint256",
547
547
  "nodeType": "ElementaryTypeName",
548
548
  "src": "634:7:52",
549
549
  "typeDescriptions": {}
550
550
  }
551
551
  },
552
- "id": 44728,
552
+ "id": 45147,
553
553
  "isConstant": false,
554
554
  "isLValue": false,
555
555
  "isPure": true,
@@ -567,7 +567,7 @@
567
567
  "visibility": "internal"
568
568
  },
569
569
  {
570
- "id": 44741,
570
+ "id": 45160,
571
571
  "nodeType": "VariableDeclaration",
572
572
  "src": "664:61:52",
573
573
  "nodes": [],
@@ -575,7 +575,7 @@
575
575
  "mutability": "constant",
576
576
  "name": "MASK_PTR",
577
577
  "nameLocation": "681:8:52",
578
- "scope": 44847,
578
+ "scope": 45266,
579
579
  "stateVariable": true,
580
580
  "storageLocation": "default",
581
581
  "typeDescriptions": {
@@ -583,7 +583,7 @@
583
583
  "typeString": "uint256"
584
584
  },
585
585
  "typeName": {
586
- "id": 44730,
586
+ "id": 45149,
587
587
  "name": "uint256",
588
588
  "nodeType": "ElementaryTypeName",
589
589
  "src": "664:7:52",
@@ -597,7 +597,7 @@
597
597
  "typeIdentifier": "t_uint256",
598
598
  "typeString": "uint256"
599
599
  },
600
- "id": 44740,
600
+ "id": 45159,
601
601
  "isConstant": false,
602
602
  "isLValue": false,
603
603
  "isPure": true,
@@ -608,7 +608,7 @@
608
608
  "expression": {
609
609
  "arguments": [
610
610
  {
611
- "id": 44735,
611
+ "id": 45154,
612
612
  "isConstant": false,
613
613
  "isLValue": false,
614
614
  "isPure": true,
@@ -620,7 +620,7 @@
620
620
  "typeString": "type(uint128)"
621
621
  },
622
622
  "typeName": {
623
- "id": 44734,
623
+ "id": 45153,
624
624
  "name": "uint128",
625
625
  "nodeType": "ElementaryTypeName",
626
626
  "src": "705:7:52",
@@ -635,7 +635,7 @@
635
635
  "typeString": "type(uint128)"
636
636
  }
637
637
  ],
638
- "id": 44733,
638
+ "id": 45152,
639
639
  "name": "type",
640
640
  "nodeType": "Identifier",
641
641
  "overloadedDeclarations": [],
@@ -646,7 +646,7 @@
646
646
  "typeString": "function () pure"
647
647
  }
648
648
  },
649
- "id": 44736,
649
+ "id": 45155,
650
650
  "isConstant": false,
651
651
  "isLValue": false,
652
652
  "isPure": true,
@@ -661,7 +661,7 @@
661
661
  "typeString": "type(uint128)"
662
662
  }
663
663
  },
664
- "id": 44737,
664
+ "id": 45156,
665
665
  "isConstant": false,
666
666
  "isLValue": false,
667
667
  "isPure": true,
@@ -682,7 +682,7 @@
682
682
  "typeString": "uint128"
683
683
  }
684
684
  ],
685
- "id": 44732,
685
+ "id": 45151,
686
686
  "isConstant": false,
687
687
  "isLValue": false,
688
688
  "isPure": true,
@@ -694,14 +694,14 @@
694
694
  "typeString": "type(uint256)"
695
695
  },
696
696
  "typeName": {
697
- "id": 44731,
697
+ "id": 45150,
698
698
  "name": "uint256",
699
699
  "nodeType": "ElementaryTypeName",
700
700
  "src": "692:7:52",
701
701
  "typeDescriptions": {}
702
702
  }
703
703
  },
704
- "id": 44738,
704
+ "id": 45157,
705
705
  "isConstant": false,
706
706
  "isLValue": false,
707
707
  "isPure": true,
@@ -720,7 +720,7 @@
720
720
  "operator": "<<",
721
721
  "rightExpression": {
722
722
  "hexValue": "313238",
723
- "id": 44739,
723
+ "id": 45158,
724
724
  "isConstant": false,
725
725
  "isLValue": false,
726
726
  "isPure": true,
@@ -743,29 +743,29 @@
743
743
  "visibility": "internal"
744
744
  },
745
745
  {
746
- "id": 44769,
746
+ "id": 45188,
747
747
  "nodeType": "FunctionDefinition",
748
748
  "src": "809:329:52",
749
749
  "nodes": [],
750
750
  "body": {
751
- "id": 44768,
751
+ "id": 45187,
752
752
  "nodeType": "Block",
753
753
  "src": "877:261:52",
754
754
  "nodes": [],
755
755
  "statements": [
756
756
  {
757
757
  "assignments": [
758
- 44751
758
+ 45170
759
759
  ],
760
760
  "declarations": [
761
761
  {
762
762
  "constant": false,
763
- "id": 44751,
763
+ "id": 45170,
764
764
  "mutability": "mutable",
765
765
  "name": "_pointer",
766
766
  "nameLocation": "891:8:52",
767
767
  "nodeType": "VariableDeclaration",
768
- "scope": 44768,
768
+ "scope": 45187,
769
769
  "src": "883:16:52",
770
770
  "stateVariable": false,
771
771
  "storageLocation": "default",
@@ -774,7 +774,7 @@
774
774
  "typeString": "uint256"
775
775
  },
776
776
  "typeName": {
777
- "id": 44750,
777
+ "id": 45169,
778
778
  "name": "uint256",
779
779
  "nodeType": "ElementaryTypeName",
780
780
  "src": "883:7:52",
@@ -786,7 +786,7 @@
786
786
  "visibility": "internal"
787
787
  }
788
788
  ],
789
- "id": 44752,
789
+ "id": 45171,
790
790
  "nodeType": "VariableDeclarationStatement",
791
791
  "src": "883:16:52"
792
792
  },
@@ -834,21 +834,21 @@
834
834
  "evmVersion": "london",
835
835
  "externalReferences": [
836
836
  {
837
- "declaration": 44751,
837
+ "declaration": 45170,
838
838
  "isOffset": false,
839
839
  "isSlot": false,
840
840
  "src": "922:8:52",
841
841
  "valueSize": 1
842
842
  },
843
843
  {
844
- "declaration": 44744,
844
+ "declaration": 45163,
845
845
  "isOffset": false,
846
846
  "isSlot": false,
847
847
  "src": "938:4:52",
848
848
  "valueSize": 1
849
849
  }
850
850
  ],
851
- "id": 44753,
851
+ "id": 45172,
852
852
  "nodeType": "InlineAssembly",
853
853
  "src": "905:80:52"
854
854
  },
@@ -860,7 +860,7 @@
860
860
  "typeIdentifier": "t_uint256",
861
861
  "typeString": "uint256"
862
862
  },
863
- "id": 44765,
863
+ "id": 45184,
864
864
  "isConstant": false,
865
865
  "isLValue": false,
866
866
  "isPure": false,
@@ -872,17 +872,17 @@
872
872
  "typeIdentifier": "t_uint256",
873
873
  "typeString": "uint256"
874
874
  },
875
- "id": 44758,
875
+ "id": 45177,
876
876
  "isConstant": false,
877
877
  "isLValue": false,
878
878
  "isPure": false,
879
879
  "lValueRequested": false,
880
880
  "leftExpression": {
881
- "id": 44756,
881
+ "id": 45175,
882
882
  "name": "_pointer",
883
883
  "nodeType": "Identifier",
884
884
  "overloadedDeclarations": [],
885
- "referencedDeclaration": 44751,
885
+ "referencedDeclaration": 45170,
886
886
  "src": "1089:8:52",
887
887
  "typeDescriptions": {
888
888
  "typeIdentifier": "t_uint256",
@@ -893,7 +893,7 @@
893
893
  "operator": "<<",
894
894
  "rightExpression": {
895
895
  "hexValue": "313238",
896
- "id": 44757,
896
+ "id": 45176,
897
897
  "isConstant": false,
898
898
  "isLValue": false,
899
899
  "isPure": true,
@@ -914,7 +914,7 @@
914
914
  }
915
915
  }
916
916
  ],
917
- "id": 44759,
917
+ "id": 45178,
918
918
  "isConstant": false,
919
919
  "isInlineArray": false,
920
920
  "isLValue": false,
@@ -936,25 +936,25 @@
936
936
  "typeIdentifier": "t_uint256",
937
937
  "typeString": "uint256"
938
938
  },
939
- "id": 44763,
939
+ "id": 45182,
940
940
  "isConstant": false,
941
941
  "isLValue": false,
942
942
  "isPure": false,
943
943
  "lValueRequested": false,
944
944
  "leftExpression": {
945
945
  "expression": {
946
- "id": 44760,
946
+ "id": 45179,
947
947
  "name": "data",
948
948
  "nodeType": "Identifier",
949
949
  "overloadedDeclarations": [],
950
- "referencedDeclaration": 44744,
950
+ "referencedDeclaration": 45163,
951
951
  "src": "1109:4:52",
952
952
  "typeDescriptions": {
953
953
  "typeIdentifier": "t_bytes_memory_ptr",
954
954
  "typeString": "bytes memory"
955
955
  }
956
956
  },
957
- "id": 44761,
957
+ "id": 45180,
958
958
  "isConstant": false,
959
959
  "isLValue": false,
960
960
  "isPure": false,
@@ -970,11 +970,11 @@
970
970
  "nodeType": "BinaryOperation",
971
971
  "operator": "&",
972
972
  "rightExpression": {
973
- "id": 44762,
973
+ "id": 45181,
974
974
  "name": "MASK_LEN",
975
975
  "nodeType": "Identifier",
976
976
  "overloadedDeclarations": [],
977
- "referencedDeclaration": 44729,
977
+ "referencedDeclaration": 45148,
978
978
  "src": "1123:8:52",
979
979
  "typeDescriptions": {
980
980
  "typeIdentifier": "t_uint256",
@@ -988,7 +988,7 @@
988
988
  }
989
989
  }
990
990
  ],
991
- "id": 44764,
991
+ "id": 45183,
992
992
  "isConstant": false,
993
993
  "isInlineArray": false,
994
994
  "isLValue": false,
@@ -1016,18 +1016,18 @@
1016
1016
  }
1017
1017
  ],
1018
1018
  "expression": {
1019
- "id": 44754,
1019
+ "id": 45173,
1020
1020
  "name": "Slice",
1021
1021
  "nodeType": "Identifier",
1022
1022
  "overloadedDeclarations": [],
1023
- "referencedDeclaration": 44702,
1023
+ "referencedDeclaration": 45121,
1024
1024
  "src": "1077:5:52",
1025
1025
  "typeDescriptions": {
1026
- "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$44702_$",
1026
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$45121_$",
1027
1027
  "typeString": "type(Slice)"
1028
1028
  }
1029
1029
  },
1030
- "id": 44755,
1030
+ "id": 45174,
1031
1031
  "isConstant": false,
1032
1032
  "isLValue": false,
1033
1033
  "isPure": true,
@@ -1036,11 +1036,11 @@
1036
1036
  "nodeType": "MemberAccess",
1037
1037
  "src": "1077:10:52",
1038
1038
  "typeDescriptions": {
1039
- "typeIdentifier": "t_function_wrap_pure$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$44702_$",
1039
+ "typeIdentifier": "t_function_wrap_pure$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$45121_$",
1040
1040
  "typeString": "function (uint256) pure returns (Slice)"
1041
1041
  }
1042
1042
  },
1043
- "id": 44766,
1043
+ "id": 45185,
1044
1044
  "isConstant": false,
1045
1045
  "isLValue": false,
1046
1046
  "isPure": false,
@@ -1051,19 +1051,19 @@
1051
1051
  "src": "1077:56:52",
1052
1052
  "tryCall": false,
1053
1053
  "typeDescriptions": {
1054
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1054
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1055
1055
  "typeString": "Slice"
1056
1056
  }
1057
1057
  },
1058
- "functionReturnParameters": 44749,
1059
- "id": 44767,
1058
+ "functionReturnParameters": 45168,
1059
+ "id": 45186,
1060
1060
  "nodeType": "Return",
1061
1061
  "src": "1070:63:52"
1062
1062
  }
1063
1063
  ]
1064
1064
  },
1065
1065
  "documentation": {
1066
- "id": 44742,
1066
+ "id": 45161,
1067
1067
  "nodeType": "StructuredDocumentation",
1068
1068
  "src": "730:76:52",
1069
1069
  "text": " @dev Converts a bytes array to a slice (without copying data)"
@@ -1074,17 +1074,17 @@
1074
1074
  "name": "fromBytes",
1075
1075
  "nameLocation": "818:9:52",
1076
1076
  "parameters": {
1077
- "id": 44745,
1077
+ "id": 45164,
1078
1078
  "nodeType": "ParameterList",
1079
1079
  "parameters": [
1080
1080
  {
1081
1081
  "constant": false,
1082
- "id": 44744,
1082
+ "id": 45163,
1083
1083
  "mutability": "mutable",
1084
1084
  "name": "data",
1085
1085
  "nameLocation": "841:4:52",
1086
1086
  "nodeType": "VariableDeclaration",
1087
- "scope": 44769,
1087
+ "scope": 45188,
1088
1088
  "src": "828:17:52",
1089
1089
  "stateVariable": false,
1090
1090
  "storageLocation": "memory",
@@ -1093,7 +1093,7 @@
1093
1093
  "typeString": "bytes"
1094
1094
  },
1095
1095
  "typeName": {
1096
- "id": 44743,
1096
+ "id": 45162,
1097
1097
  "name": "bytes",
1098
1098
  "nodeType": "ElementaryTypeName",
1099
1099
  "src": "828:5:52",
@@ -1108,38 +1108,38 @@
1108
1108
  "src": "827:19:52"
1109
1109
  },
1110
1110
  "returnParameters": {
1111
- "id": 44749,
1111
+ "id": 45168,
1112
1112
  "nodeType": "ParameterList",
1113
1113
  "parameters": [
1114
1114
  {
1115
1115
  "constant": false,
1116
- "id": 44748,
1116
+ "id": 45167,
1117
1117
  "mutability": "mutable",
1118
1118
  "name": "",
1119
1119
  "nameLocation": "-1:-1:-1",
1120
1120
  "nodeType": "VariableDeclaration",
1121
- "scope": 44769,
1121
+ "scope": 45188,
1122
1122
  "src": "870:5:52",
1123
1123
  "stateVariable": false,
1124
1124
  "storageLocation": "default",
1125
1125
  "typeDescriptions": {
1126
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1126
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1127
1127
  "typeString": "Slice"
1128
1128
  },
1129
1129
  "typeName": {
1130
- "id": 44747,
1130
+ "id": 45166,
1131
1131
  "nodeType": "UserDefinedTypeName",
1132
1132
  "pathNode": {
1133
- "id": 44746,
1133
+ "id": 45165,
1134
1134
  "name": "Slice",
1135
1135
  "nodeType": "IdentifierPath",
1136
- "referencedDeclaration": 44702,
1136
+ "referencedDeclaration": 45121,
1137
1137
  "src": "870:5:52"
1138
1138
  },
1139
- "referencedDeclaration": 44702,
1139
+ "referencedDeclaration": 45121,
1140
1140
  "src": "870:5:52",
1141
1141
  "typeDescriptions": {
1142
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1142
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1143
1143
  "typeString": "Slice"
1144
1144
  }
1145
1145
  },
@@ -1148,18 +1148,18 @@
1148
1148
  ],
1149
1149
  "src": "869:7:52"
1150
1150
  },
1151
- "scope": 44847,
1151
+ "scope": 45266,
1152
1152
  "stateMutability": "pure",
1153
1153
  "virtual": false,
1154
1154
  "visibility": "internal"
1155
1155
  },
1156
1156
  {
1157
- "id": 44788,
1157
+ "id": 45207,
1158
1158
  "nodeType": "FunctionDefinition",
1159
1159
  "src": "1265:140:52",
1160
1160
  "nodes": [],
1161
1161
  "body": {
1162
- "id": 44787,
1162
+ "id": 45206,
1163
1163
  "nodeType": "Block",
1164
1164
  "src": "1350:55:52",
1165
1165
  "nodes": [],
@@ -1168,11 +1168,11 @@
1168
1168
  "expression": {
1169
1169
  "arguments": [
1170
1170
  {
1171
- "id": 44781,
1171
+ "id": 45200,
1172
1172
  "name": "data",
1173
1173
  "nodeType": "Identifier",
1174
1174
  "overloadedDeclarations": [],
1175
- "referencedDeclaration": 44772,
1175
+ "referencedDeclaration": 45191,
1176
1176
  "src": "1375:4:52",
1177
1177
  "typeDescriptions": {
1178
1178
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -1180,11 +1180,11 @@
1180
1180
  }
1181
1181
  },
1182
1182
  {
1183
- "id": 44782,
1183
+ "id": 45201,
1184
1184
  "name": "start",
1185
1185
  "nodeType": "Identifier",
1186
1186
  "overloadedDeclarations": [],
1187
- "referencedDeclaration": 44774,
1187
+ "referencedDeclaration": 45193,
1188
1188
  "src": "1381:5:52",
1189
1189
  "typeDescriptions": {
1190
1190
  "typeIdentifier": "t_uint256",
@@ -1193,18 +1193,18 @@
1193
1193
  },
1194
1194
  {
1195
1195
  "expression": {
1196
- "id": 44783,
1196
+ "id": 45202,
1197
1197
  "name": "data",
1198
1198
  "nodeType": "Identifier",
1199
1199
  "overloadedDeclarations": [],
1200
- "referencedDeclaration": 44772,
1200
+ "referencedDeclaration": 45191,
1201
1201
  "src": "1388:4:52",
1202
1202
  "typeDescriptions": {
1203
1203
  "typeIdentifier": "t_bytes_memory_ptr",
1204
1204
  "typeString": "bytes memory"
1205
1205
  }
1206
1206
  },
1207
- "id": 44784,
1207
+ "id": 45203,
1208
1208
  "isConstant": false,
1209
1209
  "isLValue": false,
1210
1210
  "isPure": false,
@@ -1233,21 +1233,21 @@
1233
1233
  "typeString": "uint256"
1234
1234
  }
1235
1235
  ],
1236
- "id": 44780,
1236
+ "id": 45199,
1237
1237
  "name": "getSubslice",
1238
1238
  "nodeType": "Identifier",
1239
1239
  "overloadedDeclarations": [
1240
- 44788,
1241
- 44846
1240
+ 45207,
1241
+ 45265
1242
1242
  ],
1243
- "referencedDeclaration": 44846,
1243
+ "referencedDeclaration": 45265,
1244
1244
  "src": "1363:11:52",
1245
1245
  "typeDescriptions": {
1246
- "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$44702_$",
1246
+ "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$45121_$",
1247
1247
  "typeString": "function (bytes memory,uint256,uint256) pure returns (Slice)"
1248
1248
  }
1249
1249
  },
1250
- "id": 44785,
1250
+ "id": 45204,
1251
1251
  "isConstant": false,
1252
1252
  "isLValue": false,
1253
1253
  "isPure": false,
@@ -1258,19 +1258,19 @@
1258
1258
  "src": "1363:37:52",
1259
1259
  "tryCall": false,
1260
1260
  "typeDescriptions": {
1261
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1261
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1262
1262
  "typeString": "Slice"
1263
1263
  }
1264
1264
  },
1265
- "functionReturnParameters": 44779,
1266
- "id": 44786,
1265
+ "functionReturnParameters": 45198,
1266
+ "id": 45205,
1267
1267
  "nodeType": "Return",
1268
1268
  "src": "1356:44:52"
1269
1269
  }
1270
1270
  ]
1271
1271
  },
1272
1272
  "documentation": {
1273
- "id": 44770,
1273
+ "id": 45189,
1274
1274
  "nodeType": "StructuredDocumentation",
1275
1275
  "src": "1142:120:52",
1276
1276
  "text": " @dev Subslice a bytes array using the given start index until the end of the array (without copying data)"
@@ -1281,17 +1281,17 @@
1281
1281
  "name": "getSubslice",
1282
1282
  "nameLocation": "1274:11:52",
1283
1283
  "parameters": {
1284
- "id": 44775,
1284
+ "id": 45194,
1285
1285
  "nodeType": "ParameterList",
1286
1286
  "parameters": [
1287
1287
  {
1288
1288
  "constant": false,
1289
- "id": 44772,
1289
+ "id": 45191,
1290
1290
  "mutability": "mutable",
1291
1291
  "name": "data",
1292
1292
  "nameLocation": "1299:4:52",
1293
1293
  "nodeType": "VariableDeclaration",
1294
- "scope": 44788,
1294
+ "scope": 45207,
1295
1295
  "src": "1286:17:52",
1296
1296
  "stateVariable": false,
1297
1297
  "storageLocation": "memory",
@@ -1300,7 +1300,7 @@
1300
1300
  "typeString": "bytes"
1301
1301
  },
1302
1302
  "typeName": {
1303
- "id": 44771,
1303
+ "id": 45190,
1304
1304
  "name": "bytes",
1305
1305
  "nodeType": "ElementaryTypeName",
1306
1306
  "src": "1286:5:52",
@@ -1313,12 +1313,12 @@
1313
1313
  },
1314
1314
  {
1315
1315
  "constant": false,
1316
- "id": 44774,
1316
+ "id": 45193,
1317
1317
  "mutability": "mutable",
1318
1318
  "name": "start",
1319
1319
  "nameLocation": "1313:5:52",
1320
1320
  "nodeType": "VariableDeclaration",
1321
- "scope": 44788,
1321
+ "scope": 45207,
1322
1322
  "src": "1305:13:52",
1323
1323
  "stateVariable": false,
1324
1324
  "storageLocation": "default",
@@ -1327,7 +1327,7 @@
1327
1327
  "typeString": "uint256"
1328
1328
  },
1329
1329
  "typeName": {
1330
- "id": 44773,
1330
+ "id": 45192,
1331
1331
  "name": "uint256",
1332
1332
  "nodeType": "ElementaryTypeName",
1333
1333
  "src": "1305:7:52",
@@ -1342,38 +1342,38 @@
1342
1342
  "src": "1285:34:52"
1343
1343
  },
1344
1344
  "returnParameters": {
1345
- "id": 44779,
1345
+ "id": 45198,
1346
1346
  "nodeType": "ParameterList",
1347
1347
  "parameters": [
1348
1348
  {
1349
1349
  "constant": false,
1350
- "id": 44778,
1350
+ "id": 45197,
1351
1351
  "mutability": "mutable",
1352
1352
  "name": "",
1353
1353
  "nameLocation": "-1:-1:-1",
1354
1354
  "nodeType": "VariableDeclaration",
1355
- "scope": 44788,
1355
+ "scope": 45207,
1356
1356
  "src": "1343:5:52",
1357
1357
  "stateVariable": false,
1358
1358
  "storageLocation": "default",
1359
1359
  "typeDescriptions": {
1360
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1360
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1361
1361
  "typeString": "Slice"
1362
1362
  },
1363
1363
  "typeName": {
1364
- "id": 44777,
1364
+ "id": 45196,
1365
1365
  "nodeType": "UserDefinedTypeName",
1366
1366
  "pathNode": {
1367
- "id": 44776,
1367
+ "id": 45195,
1368
1368
  "name": "Slice",
1369
1369
  "nodeType": "IdentifierPath",
1370
- "referencedDeclaration": 44702,
1370
+ "referencedDeclaration": 45121,
1371
1371
  "src": "1343:5:52"
1372
1372
  },
1373
- "referencedDeclaration": 44702,
1373
+ "referencedDeclaration": 45121,
1374
1374
  "src": "1343:5:52",
1375
1375
  "typeDescriptions": {
1376
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1376
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1377
1377
  "typeString": "Slice"
1378
1378
  }
1379
1379
  },
@@ -1382,25 +1382,25 @@
1382
1382
  ],
1383
1383
  "src": "1342:7:52"
1384
1384
  },
1385
- "scope": 44847,
1385
+ "scope": 45266,
1386
1386
  "stateMutability": "pure",
1387
1387
  "virtual": false,
1388
1388
  "visibility": "internal"
1389
1389
  },
1390
1390
  {
1391
- "id": 44846,
1391
+ "id": 45265,
1392
1392
  "nodeType": "FunctionDefinition",
1393
1393
  "src": "1563:586:52",
1394
1394
  "nodes": [],
1395
1395
  "body": {
1396
- "id": 44845,
1396
+ "id": 45264,
1397
1397
  "nodeType": "Block",
1398
1398
  "src": "1677:472:52",
1399
1399
  "nodes": [],
1400
1400
  "statements": [
1401
1401
  {
1402
1402
  "condition": {
1403
- "id": 44810,
1403
+ "id": 45229,
1404
1404
  "isConstant": false,
1405
1405
  "isLValue": false,
1406
1406
  "isPure": false,
@@ -1416,7 +1416,7 @@
1416
1416
  "typeIdentifier": "t_bool",
1417
1417
  "typeString": "bool"
1418
1418
  },
1419
- "id": 44808,
1419
+ "id": 45227,
1420
1420
  "isConstant": false,
1421
1421
  "isLValue": false,
1422
1422
  "isPure": false,
@@ -1426,17 +1426,17 @@
1426
1426
  "typeIdentifier": "t_uint256",
1427
1427
  "typeString": "uint256"
1428
1428
  },
1429
- "id": 44803,
1429
+ "id": 45222,
1430
1430
  "isConstant": false,
1431
1431
  "isLValue": false,
1432
1432
  "isPure": false,
1433
1433
  "lValueRequested": false,
1434
1434
  "leftExpression": {
1435
- "id": 44801,
1435
+ "id": 45220,
1436
1436
  "name": "start",
1437
1437
  "nodeType": "Identifier",
1438
1438
  "overloadedDeclarations": [],
1439
- "referencedDeclaration": 44793,
1439
+ "referencedDeclaration": 45212,
1440
1440
  "src": "1759:5:52",
1441
1441
  "typeDescriptions": {
1442
1442
  "typeIdentifier": "t_uint256",
@@ -1446,11 +1446,11 @@
1446
1446
  "nodeType": "BinaryOperation",
1447
1447
  "operator": "<=",
1448
1448
  "rightExpression": {
1449
- "id": 44802,
1449
+ "id": 45221,
1450
1450
  "name": "end",
1451
1451
  "nodeType": "Identifier",
1452
1452
  "overloadedDeclarations": [],
1453
- "referencedDeclaration": 44795,
1453
+ "referencedDeclaration": 45214,
1454
1454
  "src": "1768:3:52",
1455
1455
  "typeDescriptions": {
1456
1456
  "typeIdentifier": "t_uint256",
@@ -1470,17 +1470,17 @@
1470
1470
  "typeIdentifier": "t_uint256",
1471
1471
  "typeString": "uint256"
1472
1472
  },
1473
- "id": 44807,
1473
+ "id": 45226,
1474
1474
  "isConstant": false,
1475
1475
  "isLValue": false,
1476
1476
  "isPure": false,
1477
1477
  "lValueRequested": false,
1478
1478
  "leftExpression": {
1479
- "id": 44804,
1479
+ "id": 45223,
1480
1480
  "name": "end",
1481
1481
  "nodeType": "Identifier",
1482
1482
  "overloadedDeclarations": [],
1483
- "referencedDeclaration": 44795,
1483
+ "referencedDeclaration": 45214,
1484
1484
  "src": "1775:3:52",
1485
1485
  "typeDescriptions": {
1486
1486
  "typeIdentifier": "t_uint256",
@@ -1491,18 +1491,18 @@
1491
1491
  "operator": "<=",
1492
1492
  "rightExpression": {
1493
1493
  "expression": {
1494
- "id": 44805,
1494
+ "id": 45224,
1495
1495
  "name": "data",
1496
1496
  "nodeType": "Identifier",
1497
1497
  "overloadedDeclarations": [],
1498
- "referencedDeclaration": 44791,
1498
+ "referencedDeclaration": 45210,
1499
1499
  "src": "1782:4:52",
1500
1500
  "typeDescriptions": {
1501
1501
  "typeIdentifier": "t_bytes_memory_ptr",
1502
1502
  "typeString": "bytes memory"
1503
1503
  }
1504
1504
  },
1505
- "id": 44806,
1505
+ "id": 45225,
1506
1506
  "isConstant": false,
1507
1507
  "isLValue": false,
1508
1508
  "isPure": false,
@@ -1528,7 +1528,7 @@
1528
1528
  }
1529
1529
  }
1530
1530
  ],
1531
- "id": 44809,
1531
+ "id": 45228,
1532
1532
  "isConstant": false,
1533
1533
  "isInlineArray": false,
1534
1534
  "isLValue": false,
@@ -1546,18 +1546,18 @@
1546
1546
  "typeString": "bool"
1547
1547
  }
1548
1548
  },
1549
- "id": 44817,
1549
+ "id": 45236,
1550
1550
  "nodeType": "IfStatement",
1551
1551
  "src": "1753:85:52",
1552
1552
  "trueBody": {
1553
1553
  "errorCall": {
1554
1554
  "arguments": [
1555
1555
  {
1556
- "id": 44812,
1556
+ "id": 45231,
1557
1557
  "name": "data",
1558
1558
  "nodeType": "Identifier",
1559
1559
  "overloadedDeclarations": [],
1560
- "referencedDeclaration": 44791,
1560
+ "referencedDeclaration": 45210,
1561
1561
  "src": "1821:4:52",
1562
1562
  "typeDescriptions": {
1563
1563
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -1565,11 +1565,11 @@
1565
1565
  }
1566
1566
  },
1567
1567
  {
1568
- "id": 44813,
1568
+ "id": 45232,
1569
1569
  "name": "start",
1570
1570
  "nodeType": "Identifier",
1571
1571
  "overloadedDeclarations": [],
1572
- "referencedDeclaration": 44793,
1572
+ "referencedDeclaration": 45212,
1573
1573
  "src": "1827:5:52",
1574
1574
  "typeDescriptions": {
1575
1575
  "typeIdentifier": "t_uint256",
@@ -1577,11 +1577,11 @@
1577
1577
  }
1578
1578
  },
1579
1579
  {
1580
- "id": 44814,
1580
+ "id": 45233,
1581
1581
  "name": "end",
1582
1582
  "nodeType": "Identifier",
1583
1583
  "overloadedDeclarations": [],
1584
- "referencedDeclaration": 44795,
1584
+ "referencedDeclaration": 45214,
1585
1585
  "src": "1834:3:52",
1586
1586
  "typeDescriptions": {
1587
1587
  "typeIdentifier": "t_uint256",
@@ -1604,18 +1604,18 @@
1604
1604
  "typeString": "uint256"
1605
1605
  }
1606
1606
  ],
1607
- "id": 44811,
1607
+ "id": 45230,
1608
1608
  "name": "Slice_OutOfBounds",
1609
1609
  "nodeType": "Identifier",
1610
1610
  "overloadedDeclarations": [],
1611
- "referencedDeclaration": 44719,
1611
+ "referencedDeclaration": 45138,
1612
1612
  "src": "1803:17:52",
1613
1613
  "typeDescriptions": {
1614
1614
  "typeIdentifier": "t_function_error_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$",
1615
1615
  "typeString": "function (bytes memory,uint256,uint256) pure"
1616
1616
  }
1617
1617
  },
1618
- "id": 44815,
1618
+ "id": 45234,
1619
1619
  "isConstant": false,
1620
1620
  "isLValue": false,
1621
1621
  "isPure": false,
@@ -1630,24 +1630,24 @@
1630
1630
  "typeString": "tuple()"
1631
1631
  }
1632
1632
  },
1633
- "id": 44816,
1633
+ "id": 45235,
1634
1634
  "nodeType": "RevertStatement",
1635
1635
  "src": "1796:42:52"
1636
1636
  }
1637
1637
  },
1638
1638
  {
1639
1639
  "assignments": [
1640
- 44819
1640
+ 45238
1641
1641
  ],
1642
1642
  "declarations": [
1643
1643
  {
1644
1644
  "constant": false,
1645
- "id": 44819,
1645
+ "id": 45238,
1646
1646
  "mutability": "mutable",
1647
1647
  "name": "_pointer",
1648
1648
  "nameLocation": "1853:8:52",
1649
1649
  "nodeType": "VariableDeclaration",
1650
- "scope": 44845,
1650
+ "scope": 45264,
1651
1651
  "src": "1845:16:52",
1652
1652
  "stateVariable": false,
1653
1653
  "storageLocation": "default",
@@ -1656,7 +1656,7 @@
1656
1656
  "typeString": "uint256"
1657
1657
  },
1658
1658
  "typeName": {
1659
- "id": 44818,
1659
+ "id": 45237,
1660
1660
  "name": "uint256",
1661
1661
  "nodeType": "ElementaryTypeName",
1662
1662
  "src": "1845:7:52",
@@ -1668,7 +1668,7 @@
1668
1668
  "visibility": "internal"
1669
1669
  }
1670
1670
  ],
1671
- "id": 44820,
1671
+ "id": 45239,
1672
1672
  "nodeType": "VariableDeclarationStatement",
1673
1673
  "src": "1845:16:52"
1674
1674
  },
@@ -1716,37 +1716,37 @@
1716
1716
  "evmVersion": "london",
1717
1717
  "externalReferences": [
1718
1718
  {
1719
- "declaration": 44819,
1719
+ "declaration": 45238,
1720
1720
  "isOffset": false,
1721
1721
  "isSlot": false,
1722
1722
  "src": "1884:8:52",
1723
1723
  "valueSize": 1
1724
1724
  },
1725
1725
  {
1726
- "declaration": 44791,
1726
+ "declaration": 45210,
1727
1727
  "isOffset": false,
1728
1728
  "isSlot": false,
1729
1729
  "src": "1900:4:52",
1730
1730
  "valueSize": 1
1731
1731
  }
1732
1732
  ],
1733
- "id": 44821,
1733
+ "id": 45240,
1734
1734
  "nodeType": "InlineAssembly",
1735
1735
  "src": "1867:80:52"
1736
1736
  },
1737
1737
  {
1738
1738
  "expression": {
1739
- "id": 44824,
1739
+ "id": 45243,
1740
1740
  "isConstant": false,
1741
1741
  "isLValue": false,
1742
1742
  "isPure": false,
1743
1743
  "lValueRequested": false,
1744
1744
  "leftHandSide": {
1745
- "id": 44822,
1745
+ "id": 45241,
1746
1746
  "name": "_pointer",
1747
1747
  "nodeType": "Identifier",
1748
1748
  "overloadedDeclarations": [],
1749
- "referencedDeclaration": 44819,
1749
+ "referencedDeclaration": 45238,
1750
1750
  "src": "1953:8:52",
1751
1751
  "typeDescriptions": {
1752
1752
  "typeIdentifier": "t_uint256",
@@ -1756,11 +1756,11 @@
1756
1756
  "nodeType": "Assignment",
1757
1757
  "operator": "+=",
1758
1758
  "rightHandSide": {
1759
- "id": 44823,
1759
+ "id": 45242,
1760
1760
  "name": "start",
1761
1761
  "nodeType": "Identifier",
1762
1762
  "overloadedDeclarations": [],
1763
- "referencedDeclaration": 44793,
1763
+ "referencedDeclaration": 45212,
1764
1764
  "src": "1965:5:52",
1765
1765
  "typeDescriptions": {
1766
1766
  "typeIdentifier": "t_uint256",
@@ -1773,23 +1773,23 @@
1773
1773
  "typeString": "uint256"
1774
1774
  }
1775
1775
  },
1776
- "id": 44825,
1776
+ "id": 45244,
1777
1777
  "nodeType": "ExpressionStatement",
1778
1778
  "src": "1953:17:52"
1779
1779
  },
1780
1780
  {
1781
1781
  "assignments": [
1782
- 44827
1782
+ 45246
1783
1783
  ],
1784
1784
  "declarations": [
1785
1785
  {
1786
1786
  "constant": false,
1787
- "id": 44827,
1787
+ "id": 45246,
1788
1788
  "mutability": "mutable",
1789
1789
  "name": "_len",
1790
1790
  "nameLocation": "1984:4:52",
1791
1791
  "nodeType": "VariableDeclaration",
1792
- "scope": 44845,
1792
+ "scope": 45264,
1793
1793
  "src": "1976:12:52",
1794
1794
  "stateVariable": false,
1795
1795
  "storageLocation": "default",
@@ -1798,7 +1798,7 @@
1798
1798
  "typeString": "uint256"
1799
1799
  },
1800
1800
  "typeName": {
1801
- "id": 44826,
1801
+ "id": 45245,
1802
1802
  "name": "uint256",
1803
1803
  "nodeType": "ElementaryTypeName",
1804
1804
  "src": "1976:7:52",
@@ -1810,23 +1810,23 @@
1810
1810
  "visibility": "internal"
1811
1811
  }
1812
1812
  ],
1813
- "id": 44831,
1813
+ "id": 45250,
1814
1814
  "initialValue": {
1815
1815
  "commonType": {
1816
1816
  "typeIdentifier": "t_uint256",
1817
1817
  "typeString": "uint256"
1818
1818
  },
1819
- "id": 44830,
1819
+ "id": 45249,
1820
1820
  "isConstant": false,
1821
1821
  "isLValue": false,
1822
1822
  "isPure": false,
1823
1823
  "lValueRequested": false,
1824
1824
  "leftExpression": {
1825
- "id": 44828,
1825
+ "id": 45247,
1826
1826
  "name": "end",
1827
1827
  "nodeType": "Identifier",
1828
1828
  "overloadedDeclarations": [],
1829
- "referencedDeclaration": 44795,
1829
+ "referencedDeclaration": 45214,
1830
1830
  "src": "1991:3:52",
1831
1831
  "typeDescriptions": {
1832
1832
  "typeIdentifier": "t_uint256",
@@ -1836,11 +1836,11 @@
1836
1836
  "nodeType": "BinaryOperation",
1837
1837
  "operator": "-",
1838
1838
  "rightExpression": {
1839
- "id": 44829,
1839
+ "id": 45248,
1840
1840
  "name": "start",
1841
1841
  "nodeType": "Identifier",
1842
1842
  "overloadedDeclarations": [],
1843
- "referencedDeclaration": 44793,
1843
+ "referencedDeclaration": 45212,
1844
1844
  "src": "1997:5:52",
1845
1845
  "typeDescriptions": {
1846
1846
  "typeIdentifier": "t_uint256",
@@ -1864,7 +1864,7 @@
1864
1864
  "typeIdentifier": "t_uint256",
1865
1865
  "typeString": "uint256"
1866
1866
  },
1867
- "id": 44842,
1867
+ "id": 45261,
1868
1868
  "isConstant": false,
1869
1869
  "isLValue": false,
1870
1870
  "isPure": false,
@@ -1876,17 +1876,17 @@
1876
1876
  "typeIdentifier": "t_uint256",
1877
1877
  "typeString": "uint256"
1878
1878
  },
1879
- "id": 44836,
1879
+ "id": 45255,
1880
1880
  "isConstant": false,
1881
1881
  "isLValue": false,
1882
1882
  "isPure": false,
1883
1883
  "lValueRequested": false,
1884
1884
  "leftExpression": {
1885
- "id": 44834,
1885
+ "id": 45253,
1886
1886
  "name": "_pointer",
1887
1887
  "nodeType": "Identifier",
1888
1888
  "overloadedDeclarations": [],
1889
- "referencedDeclaration": 44819,
1889
+ "referencedDeclaration": 45238,
1890
1890
  "src": "2107:8:52",
1891
1891
  "typeDescriptions": {
1892
1892
  "typeIdentifier": "t_uint256",
@@ -1897,7 +1897,7 @@
1897
1897
  "operator": "<<",
1898
1898
  "rightExpression": {
1899
1899
  "hexValue": "313238",
1900
- "id": 44835,
1900
+ "id": 45254,
1901
1901
  "isConstant": false,
1902
1902
  "isLValue": false,
1903
1903
  "isPure": true,
@@ -1918,7 +1918,7 @@
1918
1918
  }
1919
1919
  }
1920
1920
  ],
1921
- "id": 44837,
1921
+ "id": 45256,
1922
1922
  "isConstant": false,
1923
1923
  "isInlineArray": false,
1924
1924
  "isLValue": false,
@@ -1940,17 +1940,17 @@
1940
1940
  "typeIdentifier": "t_uint256",
1941
1941
  "typeString": "uint256"
1942
1942
  },
1943
- "id": 44840,
1943
+ "id": 45259,
1944
1944
  "isConstant": false,
1945
1945
  "isLValue": false,
1946
1946
  "isPure": false,
1947
1947
  "lValueRequested": false,
1948
1948
  "leftExpression": {
1949
- "id": 44838,
1949
+ "id": 45257,
1950
1950
  "name": "_len",
1951
1951
  "nodeType": "Identifier",
1952
1952
  "overloadedDeclarations": [],
1953
- "referencedDeclaration": 44827,
1953
+ "referencedDeclaration": 45246,
1954
1954
  "src": "2127:4:52",
1955
1955
  "typeDescriptions": {
1956
1956
  "typeIdentifier": "t_uint256",
@@ -1960,11 +1960,11 @@
1960
1960
  "nodeType": "BinaryOperation",
1961
1961
  "operator": "&",
1962
1962
  "rightExpression": {
1963
- "id": 44839,
1963
+ "id": 45258,
1964
1964
  "name": "MASK_LEN",
1965
1965
  "nodeType": "Identifier",
1966
1966
  "overloadedDeclarations": [],
1967
- "referencedDeclaration": 44729,
1967
+ "referencedDeclaration": 45148,
1968
1968
  "src": "2134:8:52",
1969
1969
  "typeDescriptions": {
1970
1970
  "typeIdentifier": "t_uint256",
@@ -1978,7 +1978,7 @@
1978
1978
  }
1979
1979
  }
1980
1980
  ],
1981
- "id": 44841,
1981
+ "id": 45260,
1982
1982
  "isConstant": false,
1983
1983
  "isInlineArray": false,
1984
1984
  "isLValue": false,
@@ -2006,18 +2006,18 @@
2006
2006
  }
2007
2007
  ],
2008
2008
  "expression": {
2009
- "id": 44832,
2009
+ "id": 45251,
2010
2010
  "name": "Slice",
2011
2011
  "nodeType": "Identifier",
2012
2012
  "overloadedDeclarations": [],
2013
- "referencedDeclaration": 44702,
2013
+ "referencedDeclaration": 45121,
2014
2014
  "src": "2095:5:52",
2015
2015
  "typeDescriptions": {
2016
- "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$44702_$",
2016
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$45121_$",
2017
2017
  "typeString": "type(Slice)"
2018
2018
  }
2019
2019
  },
2020
- "id": 44833,
2020
+ "id": 45252,
2021
2021
  "isConstant": false,
2022
2022
  "isLValue": false,
2023
2023
  "isPure": true,
@@ -2026,11 +2026,11 @@
2026
2026
  "nodeType": "MemberAccess",
2027
2027
  "src": "2095:10:52",
2028
2028
  "typeDescriptions": {
2029
- "typeIdentifier": "t_function_wrap_pure$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$44702_$",
2029
+ "typeIdentifier": "t_function_wrap_pure$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$45121_$",
2030
2030
  "typeString": "function (uint256) pure returns (Slice)"
2031
2031
  }
2032
2032
  },
2033
- "id": 44843,
2033
+ "id": 45262,
2034
2034
  "isConstant": false,
2035
2035
  "isLValue": false,
2036
2036
  "isPure": false,
@@ -2041,19 +2041,19 @@
2041
2041
  "src": "2095:49:52",
2042
2042
  "tryCall": false,
2043
2043
  "typeDescriptions": {
2044
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2044
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2045
2045
  "typeString": "Slice"
2046
2046
  }
2047
2047
  },
2048
- "functionReturnParameters": 44800,
2049
- "id": 44844,
2048
+ "functionReturnParameters": 45219,
2049
+ "id": 45263,
2050
2050
  "nodeType": "Return",
2051
2051
  "src": "2088:56:52"
2052
2052
  }
2053
2053
  ]
2054
2054
  },
2055
2055
  "documentation": {
2056
- "id": 44789,
2056
+ "id": 45208,
2057
2057
  "nodeType": "StructuredDocumentation",
2058
2058
  "src": "1409:151:52",
2059
2059
  "text": " @dev Subslice a bytes array using the given indexes (without copying data)\n The start index is inclusive, the end index is exclusive"
@@ -2064,17 +2064,17 @@
2064
2064
  "name": "getSubslice",
2065
2065
  "nameLocation": "1572:11:52",
2066
2066
  "parameters": {
2067
- "id": 44796,
2067
+ "id": 45215,
2068
2068
  "nodeType": "ParameterList",
2069
2069
  "parameters": [
2070
2070
  {
2071
2071
  "constant": false,
2072
- "id": 44791,
2072
+ "id": 45210,
2073
2073
  "mutability": "mutable",
2074
2074
  "name": "data",
2075
2075
  "nameLocation": "1602:4:52",
2076
2076
  "nodeType": "VariableDeclaration",
2077
- "scope": 44846,
2077
+ "scope": 45265,
2078
2078
  "src": "1589:17:52",
2079
2079
  "stateVariable": false,
2080
2080
  "storageLocation": "memory",
@@ -2083,7 +2083,7 @@
2083
2083
  "typeString": "bytes"
2084
2084
  },
2085
2085
  "typeName": {
2086
- "id": 44790,
2086
+ "id": 45209,
2087
2087
  "name": "bytes",
2088
2088
  "nodeType": "ElementaryTypeName",
2089
2089
  "src": "1589:5:52",
@@ -2096,12 +2096,12 @@
2096
2096
  },
2097
2097
  {
2098
2098
  "constant": false,
2099
- "id": 44793,
2099
+ "id": 45212,
2100
2100
  "mutability": "mutable",
2101
2101
  "name": "start",
2102
2102
  "nameLocation": "1620:5:52",
2103
2103
  "nodeType": "VariableDeclaration",
2104
- "scope": 44846,
2104
+ "scope": 45265,
2105
2105
  "src": "1612:13:52",
2106
2106
  "stateVariable": false,
2107
2107
  "storageLocation": "default",
@@ -2110,7 +2110,7 @@
2110
2110
  "typeString": "uint256"
2111
2111
  },
2112
2112
  "typeName": {
2113
- "id": 44792,
2113
+ "id": 45211,
2114
2114
  "name": "uint256",
2115
2115
  "nodeType": "ElementaryTypeName",
2116
2116
  "src": "1612:7:52",
@@ -2123,12 +2123,12 @@
2123
2123
  },
2124
2124
  {
2125
2125
  "constant": false,
2126
- "id": 44795,
2126
+ "id": 45214,
2127
2127
  "mutability": "mutable",
2128
2128
  "name": "end",
2129
2129
  "nameLocation": "1639:3:52",
2130
2130
  "nodeType": "VariableDeclaration",
2131
- "scope": 44846,
2131
+ "scope": 45265,
2132
2132
  "src": "1631:11:52",
2133
2133
  "stateVariable": false,
2134
2134
  "storageLocation": "default",
@@ -2137,7 +2137,7 @@
2137
2137
  "typeString": "uint256"
2138
2138
  },
2139
2139
  "typeName": {
2140
- "id": 44794,
2140
+ "id": 45213,
2141
2141
  "name": "uint256",
2142
2142
  "nodeType": "ElementaryTypeName",
2143
2143
  "src": "1631:7:52",
@@ -2152,38 +2152,38 @@
2152
2152
  "src": "1583:63:52"
2153
2153
  },
2154
2154
  "returnParameters": {
2155
- "id": 44800,
2155
+ "id": 45219,
2156
2156
  "nodeType": "ParameterList",
2157
2157
  "parameters": [
2158
2158
  {
2159
2159
  "constant": false,
2160
- "id": 44799,
2160
+ "id": 45218,
2161
2161
  "mutability": "mutable",
2162
2162
  "name": "",
2163
2163
  "nameLocation": "-1:-1:-1",
2164
2164
  "nodeType": "VariableDeclaration",
2165
- "scope": 44846,
2165
+ "scope": 45265,
2166
2166
  "src": "1670:5:52",
2167
2167
  "stateVariable": false,
2168
2168
  "storageLocation": "default",
2169
2169
  "typeDescriptions": {
2170
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2170
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2171
2171
  "typeString": "Slice"
2172
2172
  },
2173
2173
  "typeName": {
2174
- "id": 44798,
2174
+ "id": 45217,
2175
2175
  "nodeType": "UserDefinedTypeName",
2176
2176
  "pathNode": {
2177
- "id": 44797,
2177
+ "id": 45216,
2178
2178
  "name": "Slice",
2179
2179
  "nodeType": "IdentifierPath",
2180
- "referencedDeclaration": 44702,
2180
+ "referencedDeclaration": 45121,
2181
2181
  "src": "1670:5:52"
2182
2182
  },
2183
- "referencedDeclaration": 44702,
2183
+ "referencedDeclaration": 45121,
2184
2184
  "src": "1670:5:52",
2185
2185
  "typeDescriptions": {
2186
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2186
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2187
2187
  "typeString": "Slice"
2188
2188
  }
2189
2189
  },
@@ -2192,7 +2192,7 @@
2192
2192
  ],
2193
2193
  "src": "1669:7:52"
2194
2194
  },
2195
- "scope": 44847,
2195
+ "scope": 45266,
2196
2196
  "stateMutability": "pure",
2197
2197
  "virtual": false,
2198
2198
  "visibility": "internal"
@@ -2204,34 +2204,34 @@
2204
2204
  "contractDependencies": [],
2205
2205
  "contractKind": "library",
2206
2206
  "documentation": {
2207
- "id": 44711,
2207
+ "id": 45130,
2208
2208
  "nodeType": "StructuredDocumentation",
2209
2209
  "src": "472:44:52",
2210
2210
  "text": " @title Static functions for Slice"
2211
2211
  },
2212
2212
  "fullyImplemented": true,
2213
2213
  "linearizedBaseContracts": [
2214
- 44847
2214
+ 45266
2215
2215
  ],
2216
2216
  "name": "SliceLib",
2217
2217
  "nameLocation": "525:8:52",
2218
- "scope": 44944,
2218
+ "scope": 45363,
2219
2219
  "usedErrors": [
2220
- 44719
2220
+ 45138
2221
2221
  ]
2222
2222
  },
2223
2223
  {
2224
- "id": 44943,
2224
+ "id": 45362,
2225
2225
  "nodeType": "ContractDefinition",
2226
2226
  "src": "2200:1146:52",
2227
2227
  "nodes": [
2228
2228
  {
2229
- "id": 44865,
2229
+ "id": 45284,
2230
2230
  "nodeType": "FunctionDefinition",
2231
2231
  "src": "2292:104:52",
2232
2232
  "nodes": [],
2233
2233
  "body": {
2234
- "id": 44864,
2234
+ "id": 45283,
2235
2235
  "nodeType": "Block",
2236
2236
  "src": "2353:43:52",
2237
2237
  "nodes": [],
@@ -2242,7 +2242,7 @@
2242
2242
  "typeIdentifier": "t_uint256",
2243
2243
  "typeString": "uint256"
2244
2244
  },
2245
- "id": 44862,
2245
+ "id": 45281,
2246
2246
  "isConstant": false,
2247
2247
  "isLValue": false,
2248
2248
  "isPure": false,
@@ -2250,14 +2250,14 @@
2250
2250
  "leftExpression": {
2251
2251
  "arguments": [
2252
2252
  {
2253
- "id": 44859,
2253
+ "id": 45278,
2254
2254
  "name": "self",
2255
2255
  "nodeType": "Identifier",
2256
2256
  "overloadedDeclarations": [],
2257
- "referencedDeclaration": 44852,
2257
+ "referencedDeclaration": 45271,
2258
2258
  "src": "2379:4:52",
2259
2259
  "typeDescriptions": {
2260
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2260
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2261
2261
  "typeString": "Slice"
2262
2262
  }
2263
2263
  }
@@ -2265,23 +2265,23 @@
2265
2265
  "expression": {
2266
2266
  "argumentTypes": [
2267
2267
  {
2268
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2268
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2269
2269
  "typeString": "Slice"
2270
2270
  }
2271
2271
  ],
2272
2272
  "expression": {
2273
- "id": 44857,
2273
+ "id": 45276,
2274
2274
  "name": "Slice",
2275
2275
  "nodeType": "Identifier",
2276
2276
  "overloadedDeclarations": [],
2277
- "referencedDeclaration": 44702,
2277
+ "referencedDeclaration": 45121,
2278
2278
  "src": "2366:5:52",
2279
2279
  "typeDescriptions": {
2280
- "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$44702_$",
2280
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$45121_$",
2281
2281
  "typeString": "type(Slice)"
2282
2282
  }
2283
2283
  },
2284
- "id": 44858,
2284
+ "id": 45277,
2285
2285
  "isConstant": false,
2286
2286
  "isLValue": false,
2287
2287
  "isPure": true,
@@ -2290,11 +2290,11 @@
2290
2290
  "nodeType": "MemberAccess",
2291
2291
  "src": "2366:12:52",
2292
2292
  "typeDescriptions": {
2293
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$",
2293
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$",
2294
2294
  "typeString": "function (Slice) pure returns (uint256)"
2295
2295
  }
2296
2296
  },
2297
- "id": 44860,
2297
+ "id": 45279,
2298
2298
  "isConstant": false,
2299
2299
  "isLValue": false,
2300
2300
  "isPure": false,
@@ -2313,7 +2313,7 @@
2313
2313
  "operator": ">>",
2314
2314
  "rightExpression": {
2315
2315
  "hexValue": "313238",
2316
- "id": 44861,
2316
+ "id": 45280,
2317
2317
  "isConstant": false,
2318
2318
  "isLValue": false,
2319
2319
  "isPure": true,
@@ -2333,15 +2333,15 @@
2333
2333
  "typeString": "uint256"
2334
2334
  }
2335
2335
  },
2336
- "functionReturnParameters": 44856,
2337
- "id": 44863,
2336
+ "functionReturnParameters": 45275,
2337
+ "id": 45282,
2338
2338
  "nodeType": "Return",
2339
2339
  "src": "2359:32:52"
2340
2340
  }
2341
2341
  ]
2342
2342
  },
2343
2343
  "documentation": {
2344
- "id": 44849,
2344
+ "id": 45268,
2345
2345
  "nodeType": "StructuredDocumentation",
2346
2346
  "src": "2226:63:52",
2347
2347
  "text": " @dev Returns the pointer to the start of a slice"
@@ -2352,38 +2352,38 @@
2352
2352
  "name": "pointer",
2353
2353
  "nameLocation": "2301:7:52",
2354
2354
  "parameters": {
2355
- "id": 44853,
2355
+ "id": 45272,
2356
2356
  "nodeType": "ParameterList",
2357
2357
  "parameters": [
2358
2358
  {
2359
2359
  "constant": false,
2360
- "id": 44852,
2360
+ "id": 45271,
2361
2361
  "mutability": "mutable",
2362
2362
  "name": "self",
2363
2363
  "nameLocation": "2315:4:52",
2364
2364
  "nodeType": "VariableDeclaration",
2365
- "scope": 44865,
2365
+ "scope": 45284,
2366
2366
  "src": "2309:10:52",
2367
2367
  "stateVariable": false,
2368
2368
  "storageLocation": "default",
2369
2369
  "typeDescriptions": {
2370
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2370
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2371
2371
  "typeString": "Slice"
2372
2372
  },
2373
2373
  "typeName": {
2374
- "id": 44851,
2374
+ "id": 45270,
2375
2375
  "nodeType": "UserDefinedTypeName",
2376
2376
  "pathNode": {
2377
- "id": 44850,
2377
+ "id": 45269,
2378
2378
  "name": "Slice",
2379
2379
  "nodeType": "IdentifierPath",
2380
- "referencedDeclaration": 44702,
2380
+ "referencedDeclaration": 45121,
2381
2381
  "src": "2309:5:52"
2382
2382
  },
2383
- "referencedDeclaration": 44702,
2383
+ "referencedDeclaration": 45121,
2384
2384
  "src": "2309:5:52",
2385
2385
  "typeDescriptions": {
2386
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2386
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2387
2387
  "typeString": "Slice"
2388
2388
  }
2389
2389
  },
@@ -2393,17 +2393,17 @@
2393
2393
  "src": "2308:12:52"
2394
2394
  },
2395
2395
  "returnParameters": {
2396
- "id": 44856,
2396
+ "id": 45275,
2397
2397
  "nodeType": "ParameterList",
2398
2398
  "parameters": [
2399
2399
  {
2400
2400
  "constant": false,
2401
- "id": 44855,
2401
+ "id": 45274,
2402
2402
  "mutability": "mutable",
2403
2403
  "name": "",
2404
2404
  "nameLocation": "-1:-1:-1",
2405
2405
  "nodeType": "VariableDeclaration",
2406
- "scope": 44865,
2406
+ "scope": 45284,
2407
2407
  "src": "2344:7:52",
2408
2408
  "stateVariable": false,
2409
2409
  "storageLocation": "default",
@@ -2412,7 +2412,7 @@
2412
2412
  "typeString": "uint256"
2413
2413
  },
2414
2414
  "typeName": {
2415
- "id": 44854,
2415
+ "id": 45273,
2416
2416
  "name": "uint256",
2417
2417
  "nodeType": "ElementaryTypeName",
2418
2418
  "src": "2344:7:52",
@@ -2426,18 +2426,18 @@
2426
2426
  ],
2427
2427
  "src": "2343:9:52"
2428
2428
  },
2429
- "scope": 44943,
2429
+ "scope": 45362,
2430
2430
  "stateMutability": "pure",
2431
2431
  "virtual": false,
2432
2432
  "visibility": "internal"
2433
2433
  },
2434
2434
  {
2435
- "id": 44883,
2435
+ "id": 45302,
2436
2436
  "nodeType": "FunctionDefinition",
2437
2437
  "src": "2456:116:52",
2438
2438
  "nodes": [],
2439
2439
  "body": {
2440
- "id": 44882,
2440
+ "id": 45301,
2441
2441
  "nodeType": "Block",
2442
2442
  "src": "2516:56:52",
2443
2443
  "nodes": [],
@@ -2448,7 +2448,7 @@
2448
2448
  "typeIdentifier": "t_uint256",
2449
2449
  "typeString": "uint256"
2450
2450
  },
2451
- "id": 44880,
2451
+ "id": 45299,
2452
2452
  "isConstant": false,
2453
2453
  "isLValue": false,
2454
2454
  "isPure": false,
@@ -2456,14 +2456,14 @@
2456
2456
  "leftExpression": {
2457
2457
  "arguments": [
2458
2458
  {
2459
- "id": 44876,
2459
+ "id": 45295,
2460
2460
  "name": "self",
2461
2461
  "nodeType": "Identifier",
2462
2462
  "overloadedDeclarations": [],
2463
- "referencedDeclaration": 44869,
2463
+ "referencedDeclaration": 45288,
2464
2464
  "src": "2542:4:52",
2465
2465
  "typeDescriptions": {
2466
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2466
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2467
2467
  "typeString": "Slice"
2468
2468
  }
2469
2469
  }
@@ -2471,23 +2471,23 @@
2471
2471
  "expression": {
2472
2472
  "argumentTypes": [
2473
2473
  {
2474
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2474
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2475
2475
  "typeString": "Slice"
2476
2476
  }
2477
2477
  ],
2478
2478
  "expression": {
2479
- "id": 44874,
2479
+ "id": 45293,
2480
2480
  "name": "Slice",
2481
2481
  "nodeType": "Identifier",
2482
2482
  "overloadedDeclarations": [],
2483
- "referencedDeclaration": 44702,
2483
+ "referencedDeclaration": 45121,
2484
2484
  "src": "2529:5:52",
2485
2485
  "typeDescriptions": {
2486
- "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$44702_$",
2486
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$45121_$",
2487
2487
  "typeString": "type(Slice)"
2488
2488
  }
2489
2489
  },
2490
- "id": 44875,
2490
+ "id": 45294,
2491
2491
  "isConstant": false,
2492
2492
  "isLValue": false,
2493
2493
  "isPure": true,
@@ -2496,11 +2496,11 @@
2496
2496
  "nodeType": "MemberAccess",
2497
2497
  "src": "2529:12:52",
2498
2498
  "typeDescriptions": {
2499
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$",
2499
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$",
2500
2500
  "typeString": "function (Slice) pure returns (uint256)"
2501
2501
  }
2502
2502
  },
2503
- "id": 44877,
2503
+ "id": 45296,
2504
2504
  "isConstant": false,
2505
2505
  "isLValue": false,
2506
2506
  "isPure": false,
@@ -2519,25 +2519,25 @@
2519
2519
  "operator": "&",
2520
2520
  "rightExpression": {
2521
2521
  "expression": {
2522
- "id": 44878,
2522
+ "id": 45297,
2523
2523
  "name": "SliceLib",
2524
2524
  "nodeType": "Identifier",
2525
2525
  "overloadedDeclarations": [],
2526
- "referencedDeclaration": 44847,
2526
+ "referencedDeclaration": 45266,
2527
2527
  "src": "2550:8:52",
2528
2528
  "typeDescriptions": {
2529
- "typeIdentifier": "t_type$_t_contract$_SliceLib_$44847_$",
2529
+ "typeIdentifier": "t_type$_t_contract$_SliceLib_$45266_$",
2530
2530
  "typeString": "type(library SliceLib)"
2531
2531
  }
2532
2532
  },
2533
- "id": 44879,
2533
+ "id": 45298,
2534
2534
  "isConstant": false,
2535
2535
  "isLValue": false,
2536
2536
  "isPure": false,
2537
2537
  "lValueRequested": false,
2538
2538
  "memberName": "MASK_LEN",
2539
2539
  "nodeType": "MemberAccess",
2540
- "referencedDeclaration": 44729,
2540
+ "referencedDeclaration": 45148,
2541
2541
  "src": "2550:17:52",
2542
2542
  "typeDescriptions": {
2543
2543
  "typeIdentifier": "t_uint256",
@@ -2550,15 +2550,15 @@
2550
2550
  "typeString": "uint256"
2551
2551
  }
2552
2552
  },
2553
- "functionReturnParameters": 44873,
2554
- "id": 44881,
2553
+ "functionReturnParameters": 45292,
2554
+ "id": 45300,
2555
2555
  "nodeType": "Return",
2556
2556
  "src": "2522:45:52"
2557
2557
  }
2558
2558
  ]
2559
2559
  },
2560
2560
  "documentation": {
2561
- "id": 44866,
2561
+ "id": 45285,
2562
2562
  "nodeType": "StructuredDocumentation",
2563
2563
  "src": "2400:53:52",
2564
2564
  "text": " @dev Returns the slice length in bytes"
@@ -2569,38 +2569,38 @@
2569
2569
  "name": "length",
2570
2570
  "nameLocation": "2465:6:52",
2571
2571
  "parameters": {
2572
- "id": 44870,
2572
+ "id": 45289,
2573
2573
  "nodeType": "ParameterList",
2574
2574
  "parameters": [
2575
2575
  {
2576
2576
  "constant": false,
2577
- "id": 44869,
2577
+ "id": 45288,
2578
2578
  "mutability": "mutable",
2579
2579
  "name": "self",
2580
2580
  "nameLocation": "2478:4:52",
2581
2581
  "nodeType": "VariableDeclaration",
2582
- "scope": 44883,
2582
+ "scope": 45302,
2583
2583
  "src": "2472:10:52",
2584
2584
  "stateVariable": false,
2585
2585
  "storageLocation": "default",
2586
2586
  "typeDescriptions": {
2587
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2587
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2588
2588
  "typeString": "Slice"
2589
2589
  },
2590
2590
  "typeName": {
2591
- "id": 44868,
2591
+ "id": 45287,
2592
2592
  "nodeType": "UserDefinedTypeName",
2593
2593
  "pathNode": {
2594
- "id": 44867,
2594
+ "id": 45286,
2595
2595
  "name": "Slice",
2596
2596
  "nodeType": "IdentifierPath",
2597
- "referencedDeclaration": 44702,
2597
+ "referencedDeclaration": 45121,
2598
2598
  "src": "2472:5:52"
2599
2599
  },
2600
- "referencedDeclaration": 44702,
2600
+ "referencedDeclaration": 45121,
2601
2601
  "src": "2472:5:52",
2602
2602
  "typeDescriptions": {
2603
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2603
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2604
2604
  "typeString": "Slice"
2605
2605
  }
2606
2606
  },
@@ -2610,17 +2610,17 @@
2610
2610
  "src": "2471:12:52"
2611
2611
  },
2612
2612
  "returnParameters": {
2613
- "id": 44873,
2613
+ "id": 45292,
2614
2614
  "nodeType": "ParameterList",
2615
2615
  "parameters": [
2616
2616
  {
2617
2617
  "constant": false,
2618
- "id": 44872,
2618
+ "id": 45291,
2619
2619
  "mutability": "mutable",
2620
2620
  "name": "",
2621
2621
  "nameLocation": "-1:-1:-1",
2622
2622
  "nodeType": "VariableDeclaration",
2623
- "scope": 44883,
2623
+ "scope": 45302,
2624
2624
  "src": "2507:7:52",
2625
2625
  "stateVariable": false,
2626
2626
  "storageLocation": "default",
@@ -2629,7 +2629,7 @@
2629
2629
  "typeString": "uint256"
2630
2630
  },
2631
2631
  "typeName": {
2632
- "id": 44871,
2632
+ "id": 45290,
2633
2633
  "name": "uint256",
2634
2634
  "nodeType": "ElementaryTypeName",
2635
2635
  "src": "2507:7:52",
@@ -2643,35 +2643,35 @@
2643
2643
  ],
2644
2644
  "src": "2506:9:52"
2645
2645
  },
2646
- "scope": 44943,
2646
+ "scope": 45362,
2647
2647
  "stateMutability": "pure",
2648
2648
  "virtual": false,
2649
2649
  "visibility": "internal"
2650
2650
  },
2651
2651
  {
2652
- "id": 44924,
2652
+ "id": 45343,
2653
2653
  "nodeType": "FunctionDefinition",
2654
2654
  "src": "2689:416:52",
2655
2655
  "nodes": [],
2656
2656
  "body": {
2657
- "id": 44923,
2657
+ "id": 45342,
2658
2658
  "nodeType": "Block",
2659
2659
  "src": "2760:345:52",
2660
2660
  "nodes": [],
2661
2661
  "statements": [
2662
2662
  {
2663
2663
  "assignments": [
2664
- 44893
2664
+ 45312
2665
2665
  ],
2666
2666
  "declarations": [
2667
2667
  {
2668
2668
  "constant": false,
2669
- "id": 44893,
2669
+ "id": 45312,
2670
2670
  "mutability": "mutable",
2671
2671
  "name": "fromPointer",
2672
2672
  "nameLocation": "2774:11:52",
2673
2673
  "nodeType": "VariableDeclaration",
2674
- "scope": 44923,
2674
+ "scope": 45342,
2675
2675
  "src": "2766:19:52",
2676
2676
  "stateVariable": false,
2677
2677
  "storageLocation": "default",
@@ -2680,7 +2680,7 @@
2680
2680
  "typeString": "uint256"
2681
2681
  },
2682
2682
  "typeName": {
2683
- "id": 44892,
2683
+ "id": 45311,
2684
2684
  "name": "uint256",
2685
2685
  "nodeType": "ElementaryTypeName",
2686
2686
  "src": "2766:7:52",
@@ -2692,18 +2692,18 @@
2692
2692
  "visibility": "internal"
2693
2693
  }
2694
2694
  ],
2695
- "id": 44897,
2695
+ "id": 45316,
2696
2696
  "initialValue": {
2697
2697
  "arguments": [
2698
2698
  {
2699
- "id": 44895,
2699
+ "id": 45314,
2700
2700
  "name": "self",
2701
2701
  "nodeType": "Identifier",
2702
2702
  "overloadedDeclarations": [],
2703
- "referencedDeclaration": 44887,
2703
+ "referencedDeclaration": 45306,
2704
2704
  "src": "2796:4:52",
2705
2705
  "typeDescriptions": {
2706
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2706
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2707
2707
  "typeString": "Slice"
2708
2708
  }
2709
2709
  }
@@ -2711,22 +2711,22 @@
2711
2711
  "expression": {
2712
2712
  "argumentTypes": [
2713
2713
  {
2714
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2714
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2715
2715
  "typeString": "Slice"
2716
2716
  }
2717
2717
  ],
2718
- "id": 44894,
2718
+ "id": 45313,
2719
2719
  "name": "pointer",
2720
2720
  "nodeType": "Identifier",
2721
2721
  "overloadedDeclarations": [],
2722
- "referencedDeclaration": 44865,
2722
+ "referencedDeclaration": 45284,
2723
2723
  "src": "2788:7:52",
2724
2724
  "typeDescriptions": {
2725
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$",
2725
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$",
2726
2726
  "typeString": "function (Slice) pure returns (uint256)"
2727
2727
  }
2728
2728
  },
2729
- "id": 44896,
2729
+ "id": 45315,
2730
2730
  "isConstant": false,
2731
2731
  "isLValue": false,
2732
2732
  "isPure": false,
@@ -2746,17 +2746,17 @@
2746
2746
  },
2747
2747
  {
2748
2748
  "assignments": [
2749
- 44899
2749
+ 45318
2750
2750
  ],
2751
2751
  "declarations": [
2752
2752
  {
2753
2753
  "constant": false,
2754
- "id": 44899,
2754
+ "id": 45318,
2755
2755
  "mutability": "mutable",
2756
2756
  "name": "_length",
2757
2757
  "nameLocation": "2815:7:52",
2758
2758
  "nodeType": "VariableDeclaration",
2759
- "scope": 44923,
2759
+ "scope": 45342,
2760
2760
  "src": "2807:15:52",
2761
2761
  "stateVariable": false,
2762
2762
  "storageLocation": "default",
@@ -2765,7 +2765,7 @@
2765
2765
  "typeString": "uint256"
2766
2766
  },
2767
2767
  "typeName": {
2768
- "id": 44898,
2768
+ "id": 45317,
2769
2769
  "name": "uint256",
2770
2770
  "nodeType": "ElementaryTypeName",
2771
2771
  "src": "2807:7:52",
@@ -2777,18 +2777,18 @@
2777
2777
  "visibility": "internal"
2778
2778
  }
2779
2779
  ],
2780
- "id": 44903,
2780
+ "id": 45322,
2781
2781
  "initialValue": {
2782
2782
  "arguments": [
2783
2783
  {
2784
- "id": 44901,
2784
+ "id": 45320,
2785
2785
  "name": "self",
2786
2786
  "nodeType": "Identifier",
2787
2787
  "overloadedDeclarations": [],
2788
- "referencedDeclaration": 44887,
2788
+ "referencedDeclaration": 45306,
2789
2789
  "src": "2832:4:52",
2790
2790
  "typeDescriptions": {
2791
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2791
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2792
2792
  "typeString": "Slice"
2793
2793
  }
2794
2794
  }
@@ -2796,22 +2796,22 @@
2796
2796
  "expression": {
2797
2797
  "argumentTypes": [
2798
2798
  {
2799
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2799
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2800
2800
  "typeString": "Slice"
2801
2801
  }
2802
2802
  ],
2803
- "id": 44900,
2803
+ "id": 45319,
2804
2804
  "name": "length",
2805
2805
  "nodeType": "Identifier",
2806
2806
  "overloadedDeclarations": [],
2807
- "referencedDeclaration": 44883,
2807
+ "referencedDeclaration": 45302,
2808
2808
  "src": "2825:6:52",
2809
2809
  "typeDescriptions": {
2810
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$",
2810
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$",
2811
2811
  "typeString": "function (Slice) pure returns (uint256)"
2812
2812
  }
2813
2813
  },
2814
- "id": 44902,
2814
+ "id": 45321,
2815
2815
  "isConstant": false,
2816
2816
  "isLValue": false,
2817
2817
  "isPure": false,
@@ -2831,17 +2831,17 @@
2831
2831
  },
2832
2832
  {
2833
2833
  "expression": {
2834
- "id": 44909,
2834
+ "id": 45328,
2835
2835
  "isConstant": false,
2836
2836
  "isLValue": false,
2837
2837
  "isPure": false,
2838
2838
  "lValueRequested": false,
2839
2839
  "leftHandSide": {
2840
- "id": 44904,
2840
+ "id": 45323,
2841
2841
  "name": "data",
2842
2842
  "nodeType": "Identifier",
2843
2843
  "overloadedDeclarations": [],
2844
- "referencedDeclaration": 44890,
2844
+ "referencedDeclaration": 45309,
2845
2845
  "src": "2904:4:52",
2846
2846
  "typeDescriptions": {
2847
2847
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -2853,11 +2853,11 @@
2853
2853
  "rightHandSide": {
2854
2854
  "arguments": [
2855
2855
  {
2856
- "id": 44907,
2856
+ "id": 45326,
2857
2857
  "name": "_length",
2858
2858
  "nodeType": "Identifier",
2859
2859
  "overloadedDeclarations": [],
2860
- "referencedDeclaration": 44899,
2860
+ "referencedDeclaration": 45318,
2861
2861
  "src": "2921:7:52",
2862
2862
  "typeDescriptions": {
2863
2863
  "typeIdentifier": "t_uint256",
@@ -2872,7 +2872,7 @@
2872
2872
  "typeString": "uint256"
2873
2873
  }
2874
2874
  ],
2875
- "id": 44906,
2875
+ "id": 45325,
2876
2876
  "isConstant": false,
2877
2877
  "isLValue": false,
2878
2878
  "isPure": true,
@@ -2884,7 +2884,7 @@
2884
2884
  "typeString": "function (uint256) pure returns (bytes memory)"
2885
2885
  },
2886
2886
  "typeName": {
2887
- "id": 44905,
2887
+ "id": 45324,
2888
2888
  "name": "bytes",
2889
2889
  "nodeType": "ElementaryTypeName",
2890
2890
  "src": "2915:5:52",
@@ -2894,7 +2894,7 @@
2894
2894
  }
2895
2895
  }
2896
2896
  },
2897
- "id": 44908,
2897
+ "id": 45327,
2898
2898
  "isConstant": false,
2899
2899
  "isLValue": false,
2900
2900
  "isPure": false,
@@ -2915,23 +2915,23 @@
2915
2915
  "typeString": "bytes memory"
2916
2916
  }
2917
2917
  },
2918
- "id": 44910,
2918
+ "id": 45329,
2919
2919
  "nodeType": "ExpressionStatement",
2920
2920
  "src": "2904:25:52"
2921
2921
  },
2922
2922
  {
2923
2923
  "assignments": [
2924
- 44912
2924
+ 45331
2925
2925
  ],
2926
2926
  "declarations": [
2927
2927
  {
2928
2928
  "constant": false,
2929
- "id": 44912,
2929
+ "id": 45331,
2930
2930
  "mutability": "mutable",
2931
2931
  "name": "toPointer",
2932
2932
  "nameLocation": "2943:9:52",
2933
2933
  "nodeType": "VariableDeclaration",
2934
- "scope": 44923,
2934
+ "scope": 45342,
2935
2935
  "src": "2935:17:52",
2936
2936
  "stateVariable": false,
2937
2937
  "storageLocation": "default",
@@ -2940,7 +2940,7 @@
2940
2940
  "typeString": "uint256"
2941
2941
  },
2942
2942
  "typeName": {
2943
- "id": 44911,
2943
+ "id": 45330,
2944
2944
  "name": "uint256",
2945
2945
  "nodeType": "ElementaryTypeName",
2946
2946
  "src": "2935:7:52",
@@ -2952,7 +2952,7 @@
2952
2952
  "visibility": "internal"
2953
2953
  }
2954
2954
  ],
2955
- "id": 44913,
2955
+ "id": 45332,
2956
2956
  "nodeType": "VariableDeclarationStatement",
2957
2957
  "src": "2935:17:52"
2958
2958
  },
@@ -3000,21 +3000,21 @@
3000
3000
  "evmVersion": "london",
3001
3001
  "externalReferences": [
3002
3002
  {
3003
- "declaration": 44890,
3003
+ "declaration": 45309,
3004
3004
  "isOffset": false,
3005
3005
  "isSlot": false,
3006
3006
  "src": "2992:4:52",
3007
3007
  "valueSize": 1
3008
3008
  },
3009
3009
  {
3010
- "declaration": 44912,
3010
+ "declaration": 45331,
3011
3011
  "isOffset": false,
3012
3012
  "isSlot": false,
3013
3013
  "src": "2975:9:52",
3014
3014
  "valueSize": 1
3015
3015
  }
3016
3016
  ],
3017
- "id": 44914,
3017
+ "id": 45333,
3018
3018
  "nodeType": "InlineAssembly",
3019
3019
  "src": "2958:49:52"
3020
3020
  },
@@ -3022,11 +3022,11 @@
3022
3022
  "expression": {
3023
3023
  "arguments": [
3024
3024
  {
3025
- "id": 44918,
3025
+ "id": 45337,
3026
3026
  "name": "fromPointer",
3027
3027
  "nodeType": "Identifier",
3028
3028
  "overloadedDeclarations": [],
3029
- "referencedDeclaration": 44893,
3029
+ "referencedDeclaration": 45312,
3030
3030
  "src": "3068:11:52",
3031
3031
  "typeDescriptions": {
3032
3032
  "typeIdentifier": "t_uint256",
@@ -3034,11 +3034,11 @@
3034
3034
  }
3035
3035
  },
3036
3036
  {
3037
- "id": 44919,
3037
+ "id": 45338,
3038
3038
  "name": "toPointer",
3039
3039
  "nodeType": "Identifier",
3040
3040
  "overloadedDeclarations": [],
3041
- "referencedDeclaration": 44912,
3041
+ "referencedDeclaration": 45331,
3042
3042
  "src": "3081:9:52",
3043
3043
  "typeDescriptions": {
3044
3044
  "typeIdentifier": "t_uint256",
@@ -3046,11 +3046,11 @@
3046
3046
  }
3047
3047
  },
3048
3048
  {
3049
- "id": 44920,
3049
+ "id": 45339,
3050
3050
  "name": "_length",
3051
3051
  "nodeType": "Identifier",
3052
3052
  "overloadedDeclarations": [],
3053
- "referencedDeclaration": 44899,
3053
+ "referencedDeclaration": 45318,
3054
3054
  "src": "3092:7:52",
3055
3055
  "typeDescriptions": {
3056
3056
  "typeIdentifier": "t_uint256",
@@ -3074,32 +3074,32 @@
3074
3074
  }
3075
3075
  ],
3076
3076
  "expression": {
3077
- "id": 44915,
3077
+ "id": 45334,
3078
3078
  "name": "Memory",
3079
3079
  "nodeType": "Identifier",
3080
3080
  "overloadedDeclarations": [],
3081
- "referencedDeclaration": 43502,
3081
+ "referencedDeclaration": 43921,
3082
3082
  "src": "3056:6:52",
3083
3083
  "typeDescriptions": {
3084
- "typeIdentifier": "t_type$_t_contract$_Memory_$43502_$",
3084
+ "typeIdentifier": "t_type$_t_contract$_Memory_$43921_$",
3085
3085
  "typeString": "type(library Memory)"
3086
3086
  }
3087
3087
  },
3088
- "id": 44917,
3088
+ "id": 45336,
3089
3089
  "isConstant": false,
3090
3090
  "isLValue": false,
3091
3091
  "isPure": false,
3092
3092
  "lValueRequested": false,
3093
3093
  "memberName": "copy",
3094
3094
  "nodeType": "MemberAccess",
3095
- "referencedDeclaration": 43501,
3095
+ "referencedDeclaration": 43920,
3096
3096
  "src": "3056:11:52",
3097
3097
  "typeDescriptions": {
3098
3098
  "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$",
3099
3099
  "typeString": "function (uint256,uint256,uint256) view"
3100
3100
  }
3101
3101
  },
3102
- "id": 44921,
3102
+ "id": 45340,
3103
3103
  "isConstant": false,
3104
3104
  "isLValue": false,
3105
3105
  "isPure": false,
@@ -3114,14 +3114,14 @@
3114
3114
  "typeString": "tuple()"
3115
3115
  }
3116
3116
  },
3117
- "id": 44922,
3117
+ "id": 45341,
3118
3118
  "nodeType": "ExpressionStatement",
3119
3119
  "src": "3056:44:52"
3120
3120
  }
3121
3121
  ]
3122
3122
  },
3123
3123
  "documentation": {
3124
- "id": 44884,
3124
+ "id": 45303,
3125
3125
  "nodeType": "StructuredDocumentation",
3126
3126
  "src": "2576:110:52",
3127
3127
  "text": " @dev Copies the slice to a new bytes array\n The slice will NOT point to the new bytes array"
@@ -3132,38 +3132,38 @@
3132
3132
  "name": "toBytes",
3133
3133
  "nameLocation": "2698:7:52",
3134
3134
  "parameters": {
3135
- "id": 44888,
3135
+ "id": 45307,
3136
3136
  "nodeType": "ParameterList",
3137
3137
  "parameters": [
3138
3138
  {
3139
3139
  "constant": false,
3140
- "id": 44887,
3140
+ "id": 45306,
3141
3141
  "mutability": "mutable",
3142
3142
  "name": "self",
3143
3143
  "nameLocation": "2712:4:52",
3144
3144
  "nodeType": "VariableDeclaration",
3145
- "scope": 44924,
3145
+ "scope": 45343,
3146
3146
  "src": "2706:10:52",
3147
3147
  "stateVariable": false,
3148
3148
  "storageLocation": "default",
3149
3149
  "typeDescriptions": {
3150
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3150
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3151
3151
  "typeString": "Slice"
3152
3152
  },
3153
3153
  "typeName": {
3154
- "id": 44886,
3154
+ "id": 45305,
3155
3155
  "nodeType": "UserDefinedTypeName",
3156
3156
  "pathNode": {
3157
- "id": 44885,
3157
+ "id": 45304,
3158
3158
  "name": "Slice",
3159
3159
  "nodeType": "IdentifierPath",
3160
- "referencedDeclaration": 44702,
3160
+ "referencedDeclaration": 45121,
3161
3161
  "src": "2706:5:52"
3162
3162
  },
3163
- "referencedDeclaration": 44702,
3163
+ "referencedDeclaration": 45121,
3164
3164
  "src": "2706:5:52",
3165
3165
  "typeDescriptions": {
3166
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3166
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3167
3167
  "typeString": "Slice"
3168
3168
  }
3169
3169
  },
@@ -3173,17 +3173,17 @@
3173
3173
  "src": "2705:12:52"
3174
3174
  },
3175
3175
  "returnParameters": {
3176
- "id": 44891,
3176
+ "id": 45310,
3177
3177
  "nodeType": "ParameterList",
3178
3178
  "parameters": [
3179
3179
  {
3180
3180
  "constant": false,
3181
- "id": 44890,
3181
+ "id": 45309,
3182
3182
  "mutability": "mutable",
3183
3183
  "name": "data",
3184
3184
  "nameLocation": "2754:4:52",
3185
3185
  "nodeType": "VariableDeclaration",
3186
- "scope": 44924,
3186
+ "scope": 45343,
3187
3187
  "src": "2741:17:52",
3188
3188
  "stateVariable": false,
3189
3189
  "storageLocation": "memory",
@@ -3192,7 +3192,7 @@
3192
3192
  "typeString": "bytes"
3193
3193
  },
3194
3194
  "typeName": {
3195
- "id": 44889,
3195
+ "id": 45308,
3196
3196
  "name": "bytes",
3197
3197
  "nodeType": "ElementaryTypeName",
3198
3198
  "src": "2741:5:52",
@@ -3206,35 +3206,35 @@
3206
3206
  ],
3207
3207
  "src": "2740:19:52"
3208
3208
  },
3209
- "scope": 44943,
3209
+ "scope": 45362,
3210
3210
  "stateMutability": "view",
3211
3211
  "virtual": false,
3212
3212
  "visibility": "internal"
3213
3213
  },
3214
3214
  {
3215
- "id": 44942,
3215
+ "id": 45361,
3216
3216
  "nodeType": "FunctionDefinition",
3217
3217
  "src": "3109:235:52",
3218
3218
  "nodes": [],
3219
3219
  "body": {
3220
- "id": 44941,
3220
+ "id": 45360,
3221
3221
  "nodeType": "Block",
3222
3222
  "src": "3179:165:52",
3223
3223
  "nodes": [],
3224
3224
  "statements": [
3225
3225
  {
3226
3226
  "assignments": [
3227
- 44933
3227
+ 45352
3228
3228
  ],
3229
3229
  "declarations": [
3230
3230
  {
3231
3231
  "constant": false,
3232
- "id": 44933,
3232
+ "id": 45352,
3233
3233
  "mutability": "mutable",
3234
3234
  "name": "memoryPointer",
3235
3235
  "nameLocation": "3193:13:52",
3236
3236
  "nodeType": "VariableDeclaration",
3237
- "scope": 44941,
3237
+ "scope": 45360,
3238
3238
  "src": "3185:21:52",
3239
3239
  "stateVariable": false,
3240
3240
  "storageLocation": "default",
@@ -3243,7 +3243,7 @@
3243
3243
  "typeString": "uint256"
3244
3244
  },
3245
3245
  "typeName": {
3246
- "id": 44932,
3246
+ "id": 45351,
3247
3247
  "name": "uint256",
3248
3248
  "nodeType": "ElementaryTypeName",
3249
3249
  "src": "3185:7:52",
@@ -3255,38 +3255,38 @@
3255
3255
  "visibility": "internal"
3256
3256
  }
3257
3257
  ],
3258
- "id": 44937,
3258
+ "id": 45356,
3259
3259
  "initialValue": {
3260
3260
  "arguments": [],
3261
3261
  "expression": {
3262
3262
  "argumentTypes": [],
3263
3263
  "expression": {
3264
- "id": 44934,
3264
+ "id": 45353,
3265
3265
  "name": "self",
3266
3266
  "nodeType": "Identifier",
3267
3267
  "overloadedDeclarations": [],
3268
- "referencedDeclaration": 44927,
3268
+ "referencedDeclaration": 45346,
3269
3269
  "src": "3209:4:52",
3270
3270
  "typeDescriptions": {
3271
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3271
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3272
3272
  "typeString": "Slice"
3273
3273
  }
3274
3274
  },
3275
- "id": 44935,
3275
+ "id": 45354,
3276
3276
  "isConstant": false,
3277
3277
  "isLValue": false,
3278
3278
  "isPure": false,
3279
3279
  "lValueRequested": false,
3280
3280
  "memberName": "pointer",
3281
3281
  "nodeType": "MemberAccess",
3282
- "referencedDeclaration": 44865,
3282
+ "referencedDeclaration": 45284,
3283
3283
  "src": "3209:12:52",
3284
3284
  "typeDescriptions": {
3285
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$44702_$",
3285
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$45121_$",
3286
3286
  "typeString": "function (Slice) pure returns (uint256)"
3287
3287
  }
3288
3288
  },
3289
- "id": 44936,
3289
+ "id": 45355,
3290
3290
  "isConstant": false,
3291
3291
  "isLValue": false,
3292
3292
  "isPure": false,
@@ -3342,39 +3342,39 @@
3342
3342
  "evmVersion": "london",
3343
3343
  "externalReferences": [
3344
3344
  {
3345
- "declaration": 44933,
3345
+ "declaration": 45352,
3346
3346
  "isOffset": false,
3347
3347
  "isSlot": false,
3348
3348
  "src": "3301:13:52",
3349
3349
  "valueSize": 1
3350
3350
  },
3351
3351
  {
3352
- "declaration": 44930,
3352
+ "declaration": 45349,
3353
3353
  "isOffset": false,
3354
3354
  "isSlot": false,
3355
3355
  "src": "3285:6:52",
3356
3356
  "valueSize": 1
3357
3357
  }
3358
3358
  ],
3359
- "id": 44938,
3359
+ "id": 45357,
3360
3360
  "nodeType": "InlineAssembly",
3361
3361
  "src": "3268:53:52"
3362
3362
  },
3363
3363
  {
3364
3364
  "expression": {
3365
- "id": 44939,
3365
+ "id": 45358,
3366
3366
  "name": "result",
3367
3367
  "nodeType": "Identifier",
3368
3368
  "overloadedDeclarations": [],
3369
- "referencedDeclaration": 44930,
3369
+ "referencedDeclaration": 45349,
3370
3370
  "src": "3333:6:52",
3371
3371
  "typeDescriptions": {
3372
3372
  "typeIdentifier": "t_bytes32",
3373
3373
  "typeString": "bytes32"
3374
3374
  }
3375
3375
  },
3376
- "functionReturnParameters": 44931,
3377
- "id": 44940,
3376
+ "functionReturnParameters": 45350,
3377
+ "id": 45359,
3378
3378
  "nodeType": "Return",
3379
3379
  "src": "3326:13:52"
3380
3380
  }
@@ -3386,38 +3386,38 @@
3386
3386
  "name": "toBytes32",
3387
3387
  "nameLocation": "3118:9:52",
3388
3388
  "parameters": {
3389
- "id": 44928,
3389
+ "id": 45347,
3390
3390
  "nodeType": "ParameterList",
3391
3391
  "parameters": [
3392
3392
  {
3393
3393
  "constant": false,
3394
- "id": 44927,
3394
+ "id": 45346,
3395
3395
  "mutability": "mutable",
3396
3396
  "name": "self",
3397
3397
  "nameLocation": "3134:4:52",
3398
3398
  "nodeType": "VariableDeclaration",
3399
- "scope": 44942,
3399
+ "scope": 45361,
3400
3400
  "src": "3128:10:52",
3401
3401
  "stateVariable": false,
3402
3402
  "storageLocation": "default",
3403
3403
  "typeDescriptions": {
3404
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3404
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3405
3405
  "typeString": "Slice"
3406
3406
  },
3407
3407
  "typeName": {
3408
- "id": 44926,
3408
+ "id": 45345,
3409
3409
  "nodeType": "UserDefinedTypeName",
3410
3410
  "pathNode": {
3411
- "id": 44925,
3411
+ "id": 45344,
3412
3412
  "name": "Slice",
3413
3413
  "nodeType": "IdentifierPath",
3414
- "referencedDeclaration": 44702,
3414
+ "referencedDeclaration": 45121,
3415
3415
  "src": "3128:5:52"
3416
3416
  },
3417
- "referencedDeclaration": 44702,
3417
+ "referencedDeclaration": 45121,
3418
3418
  "src": "3128:5:52",
3419
3419
  "typeDescriptions": {
3420
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3420
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3421
3421
  "typeString": "Slice"
3422
3422
  }
3423
3423
  },
@@ -3427,17 +3427,17 @@
3427
3427
  "src": "3127:12:52"
3428
3428
  },
3429
3429
  "returnParameters": {
3430
- "id": 44931,
3430
+ "id": 45350,
3431
3431
  "nodeType": "ParameterList",
3432
3432
  "parameters": [
3433
3433
  {
3434
3434
  "constant": false,
3435
- "id": 44930,
3435
+ "id": 45349,
3436
3436
  "mutability": "mutable",
3437
3437
  "name": "result",
3438
3438
  "nameLocation": "3171:6:52",
3439
3439
  "nodeType": "VariableDeclaration",
3440
- "scope": 44942,
3440
+ "scope": 45361,
3441
3441
  "src": "3163:14:52",
3442
3442
  "stateVariable": false,
3443
3443
  "storageLocation": "default",
@@ -3446,7 +3446,7 @@
3446
3446
  "typeString": "bytes32"
3447
3447
  },
3448
3448
  "typeName": {
3449
- "id": 44929,
3449
+ "id": 45348,
3450
3450
  "name": "bytes32",
3451
3451
  "nodeType": "ElementaryTypeName",
3452
3452
  "src": "3163:7:52",
@@ -3460,7 +3460,7 @@
3460
3460
  ],
3461
3461
  "src": "3162:16:52"
3462
3462
  },
3463
- "scope": 44943,
3463
+ "scope": 45362,
3464
3464
  "stateMutability": "pure",
3465
3465
  "virtual": false,
3466
3466
  "visibility": "internal"
@@ -3472,18 +3472,18 @@
3472
3472
  "contractDependencies": [],
3473
3473
  "contractKind": "library",
3474
3474
  "documentation": {
3475
- "id": 44848,
3475
+ "id": 45267,
3476
3476
  "nodeType": "StructuredDocumentation",
3477
3477
  "src": "2153:46:52",
3478
3478
  "text": " @title Instance functions for Slice"
3479
3479
  },
3480
3480
  "fullyImplemented": true,
3481
3481
  "linearizedBaseContracts": [
3482
- 44943
3482
+ 45362
3483
3483
  ],
3484
3484
  "name": "SliceInstance",
3485
3485
  "nameLocation": "2208:13:52",
3486
- "scope": 44944,
3486
+ "scope": 45363,
3487
3487
  "usedErrors": []
3488
3488
  }
3489
3489
  ],