@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,29 +112,29 @@
112
112
  },
113
113
  "ast": {
114
114
  "absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/Slice.sol",
115
- "id": 44944,
115
+ "id": 45363,
116
116
  "exportedSymbols": {
117
117
  "DecodeSlice": [
118
- 50595
118
+ 51468
119
119
  ],
120
120
  "Memory": [
121
- 43502
121
+ 43921
122
122
  ],
123
123
  "Slice": [
124
- 44702
124
+ 45121
125
125
  ],
126
126
  "SliceInstance": [
127
- 44943
127
+ 45362
128
128
  ],
129
129
  "SliceLib": [
130
- 44847
130
+ 45266
131
131
  ]
132
132
  },
133
133
  "nodeType": "SourceUnit",
134
134
  "src": "32:3315:52",
135
135
  "nodes": [
136
136
  {
137
- "id": 44696,
137
+ "id": 45115,
138
138
  "nodeType": "PragmaDirective",
139
139
  "src": "32:24:52",
140
140
  "nodes": [],
@@ -146,23 +146,23 @@
146
146
  ]
147
147
  },
148
148
  {
149
- "id": 44698,
149
+ "id": 45117,
150
150
  "nodeType": "ImportDirective",
151
151
  "src": "58:38:52",
152
152
  "nodes": [],
153
153
  "absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/Memory.sol",
154
154
  "file": "./Memory.sol",
155
155
  "nameLocation": "-1:-1:-1",
156
- "scope": 44944,
157
- "sourceUnit": 43503,
156
+ "scope": 45363,
157
+ "sourceUnit": 43922,
158
158
  "symbolAliases": [
159
159
  {
160
160
  "foreign": {
161
- "id": 44697,
161
+ "id": 45116,
162
162
  "name": "Memory",
163
163
  "nodeType": "Identifier",
164
164
  "overloadedDeclarations": [],
165
- "referencedDeclaration": 43502,
165
+ "referencedDeclaration": 43921,
166
166
  "src": "67:6:52",
167
167
  "typeDescriptions": {}
168
168
  },
@@ -172,23 +172,23 @@
172
172
  "unitAlias": ""
173
173
  },
174
174
  {
175
- "id": 44700,
175
+ "id": 45119,
176
176
  "nodeType": "ImportDirective",
177
177
  "src": "97:59:52",
178
178
  "nodes": [],
179
179
  "absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/tightcoder/DecodeSlice.sol",
180
180
  "file": "./tightcoder/DecodeSlice.sol",
181
181
  "nameLocation": "-1:-1:-1",
182
- "scope": 44944,
183
- "sourceUnit": 50596,
182
+ "scope": 45363,
183
+ "sourceUnit": 51469,
184
184
  "symbolAliases": [
185
185
  {
186
186
  "foreign": {
187
- "id": 44699,
187
+ "id": 45118,
188
188
  "name": "DecodeSlice",
189
189
  "nodeType": "Identifier",
190
190
  "overloadedDeclarations": [],
191
- "referencedDeclaration": 50595,
191
+ "referencedDeclaration": 51468,
192
192
  "src": "106:11:52",
193
193
  "typeDescriptions": {}
194
194
  },
@@ -198,7 +198,7 @@
198
198
  "unitAlias": ""
199
199
  },
200
200
  {
201
- "id": 44702,
201
+ "id": 45121,
202
202
  "nodeType": "UserDefinedValueTypeDefinition",
203
203
  "src": "373:22:52",
204
204
  "nodes": [],
@@ -206,7 +206,7 @@
206
206
  "name": "Slice",
207
207
  "nameLocation": "378:5:52",
208
208
  "underlyingType": {
209
- "id": 44701,
209
+ "id": 45120,
210
210
  "name": "uint256",
211
211
  "nodeType": "ElementaryTypeName",
212
212
  "src": "387:7:52",
@@ -217,74 +217,74 @@
217
217
  }
218
218
  },
219
219
  {
220
- "id": 44706,
220
+ "id": 45125,
221
221
  "nodeType": "UsingForDirective",
222
222
  "src": "397:37:52",
223
223
  "nodes": [],
224
224
  "global": true,
225
225
  "libraryName": {
226
- "id": 44703,
226
+ "id": 45122,
227
227
  "name": "SliceInstance",
228
228
  "nodeType": "IdentifierPath",
229
- "referencedDeclaration": 44943,
229
+ "referencedDeclaration": 45362,
230
230
  "src": "403:13:52"
231
231
  },
232
232
  "typeName": {
233
- "id": 44705,
233
+ "id": 45124,
234
234
  "nodeType": "UserDefinedTypeName",
235
235
  "pathNode": {
236
- "id": 44704,
236
+ "id": 45123,
237
237
  "name": "Slice",
238
238
  "nodeType": "IdentifierPath",
239
- "referencedDeclaration": 44702,
239
+ "referencedDeclaration": 45121,
240
240
  "src": "421:5:52"
241
241
  },
242
- "referencedDeclaration": 44702,
242
+ "referencedDeclaration": 45121,
243
243
  "src": "421:5:52",
244
244
  "typeDescriptions": {
245
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
245
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
246
246
  "typeString": "Slice"
247
247
  }
248
248
  }
249
249
  },
250
250
  {
251
- "id": 44710,
251
+ "id": 45129,
252
252
  "nodeType": "UsingForDirective",
253
253
  "src": "435:35:52",
254
254
  "nodes": [],
255
255
  "global": true,
256
256
  "libraryName": {
257
- "id": 44707,
257
+ "id": 45126,
258
258
  "name": "DecodeSlice",
259
259
  "nodeType": "IdentifierPath",
260
- "referencedDeclaration": 50595,
260
+ "referencedDeclaration": 51468,
261
261
  "src": "441:11:52"
262
262
  },
263
263
  "typeName": {
264
- "id": 44709,
264
+ "id": 45128,
265
265
  "nodeType": "UserDefinedTypeName",
266
266
  "pathNode": {
267
- "id": 44708,
267
+ "id": 45127,
268
268
  "name": "Slice",
269
269
  "nodeType": "IdentifierPath",
270
- "referencedDeclaration": 44702,
270
+ "referencedDeclaration": 45121,
271
271
  "src": "457:5:52"
272
272
  },
273
- "referencedDeclaration": 44702,
273
+ "referencedDeclaration": 45121,
274
274
  "src": "457:5:52",
275
275
  "typeDescriptions": {
276
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
276
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
277
277
  "typeString": "Slice"
278
278
  }
279
279
  }
280
280
  },
281
281
  {
282
- "id": 44847,
282
+ "id": 45266,
283
283
  "nodeType": "ContractDefinition",
284
284
  "src": "517:1634:52",
285
285
  "nodes": [
286
286
  {
287
- "id": 44719,
287
+ "id": 45138,
288
288
  "nodeType": "ErrorDefinition",
289
289
  "src": "538:64:52",
290
290
  "nodes": [],
@@ -292,17 +292,17 @@
292
292
  "name": "Slice_OutOfBounds",
293
293
  "nameLocation": "544:17:52",
294
294
  "parameters": {
295
- "id": 44718,
295
+ "id": 45137,
296
296
  "nodeType": "ParameterList",
297
297
  "parameters": [
298
298
  {
299
299
  "constant": false,
300
- "id": 44713,
300
+ "id": 45132,
301
301
  "mutability": "mutable",
302
302
  "name": "data",
303
303
  "nameLocation": "568:4:52",
304
304
  "nodeType": "VariableDeclaration",
305
- "scope": 44719,
305
+ "scope": 45138,
306
306
  "src": "562:10:52",
307
307
  "stateVariable": false,
308
308
  "storageLocation": "default",
@@ -311,7 +311,7 @@
311
311
  "typeString": "bytes"
312
312
  },
313
313
  "typeName": {
314
- "id": 44712,
314
+ "id": 45131,
315
315
  "name": "bytes",
316
316
  "nodeType": "ElementaryTypeName",
317
317
  "src": "562:5:52",
@@ -324,12 +324,12 @@
324
324
  },
325
325
  {
326
326
  "constant": false,
327
- "id": 44715,
327
+ "id": 45134,
328
328
  "mutability": "mutable",
329
329
  "name": "start",
330
330
  "nameLocation": "582:5:52",
331
331
  "nodeType": "VariableDeclaration",
332
- "scope": 44719,
332
+ "scope": 45138,
333
333
  "src": "574:13:52",
334
334
  "stateVariable": false,
335
335
  "storageLocation": "default",
@@ -338,7 +338,7 @@
338
338
  "typeString": "uint256"
339
339
  },
340
340
  "typeName": {
341
- "id": 44714,
341
+ "id": 45133,
342
342
  "name": "uint256",
343
343
  "nodeType": "ElementaryTypeName",
344
344
  "src": "574:7:52",
@@ -351,12 +351,12 @@
351
351
  },
352
352
  {
353
353
  "constant": false,
354
- "id": 44717,
354
+ "id": 45136,
355
355
  "mutability": "mutable",
356
356
  "name": "end",
357
357
  "nameLocation": "597:3:52",
358
358
  "nodeType": "VariableDeclaration",
359
- "scope": 44719,
359
+ "scope": 45138,
360
360
  "src": "589:11:52",
361
361
  "stateVariable": false,
362
362
  "storageLocation": "default",
@@ -365,7 +365,7 @@
365
365
  "typeString": "uint256"
366
366
  },
367
367
  "typeName": {
368
- "id": 44716,
368
+ "id": 45135,
369
369
  "name": "uint256",
370
370
  "nodeType": "ElementaryTypeName",
371
371
  "src": "589:7:52",
@@ -381,7 +381,7 @@
381
381
  }
382
382
  },
383
383
  {
384
- "id": 44729,
384
+ "id": 45148,
385
385
  "nodeType": "VariableDeclaration",
386
386
  "src": "606:54:52",
387
387
  "nodes": [],
@@ -389,7 +389,7 @@
389
389
  "mutability": "constant",
390
390
  "name": "MASK_LEN",
391
391
  "nameLocation": "623:8:52",
392
- "scope": 44847,
392
+ "scope": 45266,
393
393
  "stateVariable": true,
394
394
  "storageLocation": "default",
395
395
  "typeDescriptions": {
@@ -397,7 +397,7 @@
397
397
  "typeString": "uint256"
398
398
  },
399
399
  "typeName": {
400
- "id": 44720,
400
+ "id": 45139,
401
401
  "name": "uint256",
402
402
  "nodeType": "ElementaryTypeName",
403
403
  "src": "606:7:52",
@@ -412,7 +412,7 @@
412
412
  "expression": {
413
413
  "arguments": [
414
414
  {
415
- "id": 44725,
415
+ "id": 45144,
416
416
  "isConstant": false,
417
417
  "isLValue": false,
418
418
  "isPure": true,
@@ -424,7 +424,7 @@
424
424
  "typeString": "type(uint128)"
425
425
  },
426
426
  "typeName": {
427
- "id": 44724,
427
+ "id": 45143,
428
428
  "name": "uint128",
429
429
  "nodeType": "ElementaryTypeName",
430
430
  "src": "647:7:52",
@@ -439,7 +439,7 @@
439
439
  "typeString": "type(uint128)"
440
440
  }
441
441
  ],
442
- "id": 44723,
442
+ "id": 45142,
443
443
  "name": "type",
444
444
  "nodeType": "Identifier",
445
445
  "overloadedDeclarations": [],
@@ -450,7 +450,7 @@
450
450
  "typeString": "function () pure"
451
451
  }
452
452
  },
453
- "id": 44726,
453
+ "id": 45145,
454
454
  "isConstant": false,
455
455
  "isLValue": false,
456
456
  "isPure": true,
@@ -465,7 +465,7 @@
465
465
  "typeString": "type(uint128)"
466
466
  }
467
467
  },
468
- "id": 44727,
468
+ "id": 45146,
469
469
  "isConstant": false,
470
470
  "isLValue": false,
471
471
  "isPure": true,
@@ -486,7 +486,7 @@
486
486
  "typeString": "uint128"
487
487
  }
488
488
  ],
489
- "id": 44722,
489
+ "id": 45141,
490
490
  "isConstant": false,
491
491
  "isLValue": false,
492
492
  "isPure": true,
@@ -498,14 +498,14 @@
498
498
  "typeString": "type(uint256)"
499
499
  },
500
500
  "typeName": {
501
- "id": 44721,
501
+ "id": 45140,
502
502
  "name": "uint256",
503
503
  "nodeType": "ElementaryTypeName",
504
504
  "src": "634:7:52",
505
505
  "typeDescriptions": {}
506
506
  }
507
507
  },
508
- "id": 44728,
508
+ "id": 45147,
509
509
  "isConstant": false,
510
510
  "isLValue": false,
511
511
  "isPure": true,
@@ -523,7 +523,7 @@
523
523
  "visibility": "internal"
524
524
  },
525
525
  {
526
- "id": 44741,
526
+ "id": 45160,
527
527
  "nodeType": "VariableDeclaration",
528
528
  "src": "664:61:52",
529
529
  "nodes": [],
@@ -531,7 +531,7 @@
531
531
  "mutability": "constant",
532
532
  "name": "MASK_PTR",
533
533
  "nameLocation": "681:8:52",
534
- "scope": 44847,
534
+ "scope": 45266,
535
535
  "stateVariable": true,
536
536
  "storageLocation": "default",
537
537
  "typeDescriptions": {
@@ -539,7 +539,7 @@
539
539
  "typeString": "uint256"
540
540
  },
541
541
  "typeName": {
542
- "id": 44730,
542
+ "id": 45149,
543
543
  "name": "uint256",
544
544
  "nodeType": "ElementaryTypeName",
545
545
  "src": "664:7:52",
@@ -553,7 +553,7 @@
553
553
  "typeIdentifier": "t_uint256",
554
554
  "typeString": "uint256"
555
555
  },
556
- "id": 44740,
556
+ "id": 45159,
557
557
  "isConstant": false,
558
558
  "isLValue": false,
559
559
  "isPure": true,
@@ -564,7 +564,7 @@
564
564
  "expression": {
565
565
  "arguments": [
566
566
  {
567
- "id": 44735,
567
+ "id": 45154,
568
568
  "isConstant": false,
569
569
  "isLValue": false,
570
570
  "isPure": true,
@@ -576,7 +576,7 @@
576
576
  "typeString": "type(uint128)"
577
577
  },
578
578
  "typeName": {
579
- "id": 44734,
579
+ "id": 45153,
580
580
  "name": "uint128",
581
581
  "nodeType": "ElementaryTypeName",
582
582
  "src": "705:7:52",
@@ -591,7 +591,7 @@
591
591
  "typeString": "type(uint128)"
592
592
  }
593
593
  ],
594
- "id": 44733,
594
+ "id": 45152,
595
595
  "name": "type",
596
596
  "nodeType": "Identifier",
597
597
  "overloadedDeclarations": [],
@@ -602,7 +602,7 @@
602
602
  "typeString": "function () pure"
603
603
  }
604
604
  },
605
- "id": 44736,
605
+ "id": 45155,
606
606
  "isConstant": false,
607
607
  "isLValue": false,
608
608
  "isPure": true,
@@ -617,7 +617,7 @@
617
617
  "typeString": "type(uint128)"
618
618
  }
619
619
  },
620
- "id": 44737,
620
+ "id": 45156,
621
621
  "isConstant": false,
622
622
  "isLValue": false,
623
623
  "isPure": true,
@@ -638,7 +638,7 @@
638
638
  "typeString": "uint128"
639
639
  }
640
640
  ],
641
- "id": 44732,
641
+ "id": 45151,
642
642
  "isConstant": false,
643
643
  "isLValue": false,
644
644
  "isPure": true,
@@ -650,14 +650,14 @@
650
650
  "typeString": "type(uint256)"
651
651
  },
652
652
  "typeName": {
653
- "id": 44731,
653
+ "id": 45150,
654
654
  "name": "uint256",
655
655
  "nodeType": "ElementaryTypeName",
656
656
  "src": "692:7:52",
657
657
  "typeDescriptions": {}
658
658
  }
659
659
  },
660
- "id": 44738,
660
+ "id": 45157,
661
661
  "isConstant": false,
662
662
  "isLValue": false,
663
663
  "isPure": true,
@@ -676,7 +676,7 @@
676
676
  "operator": "<<",
677
677
  "rightExpression": {
678
678
  "hexValue": "313238",
679
- "id": 44739,
679
+ "id": 45158,
680
680
  "isConstant": false,
681
681
  "isLValue": false,
682
682
  "isPure": true,
@@ -699,29 +699,29 @@
699
699
  "visibility": "internal"
700
700
  },
701
701
  {
702
- "id": 44769,
702
+ "id": 45188,
703
703
  "nodeType": "FunctionDefinition",
704
704
  "src": "809:329:52",
705
705
  "nodes": [],
706
706
  "body": {
707
- "id": 44768,
707
+ "id": 45187,
708
708
  "nodeType": "Block",
709
709
  "src": "877:261:52",
710
710
  "nodes": [],
711
711
  "statements": [
712
712
  {
713
713
  "assignments": [
714
- 44751
714
+ 45170
715
715
  ],
716
716
  "declarations": [
717
717
  {
718
718
  "constant": false,
719
- "id": 44751,
719
+ "id": 45170,
720
720
  "mutability": "mutable",
721
721
  "name": "_pointer",
722
722
  "nameLocation": "891:8:52",
723
723
  "nodeType": "VariableDeclaration",
724
- "scope": 44768,
724
+ "scope": 45187,
725
725
  "src": "883:16:52",
726
726
  "stateVariable": false,
727
727
  "storageLocation": "default",
@@ -730,7 +730,7 @@
730
730
  "typeString": "uint256"
731
731
  },
732
732
  "typeName": {
733
- "id": 44750,
733
+ "id": 45169,
734
734
  "name": "uint256",
735
735
  "nodeType": "ElementaryTypeName",
736
736
  "src": "883:7:52",
@@ -742,7 +742,7 @@
742
742
  "visibility": "internal"
743
743
  }
744
744
  ],
745
- "id": 44752,
745
+ "id": 45171,
746
746
  "nodeType": "VariableDeclarationStatement",
747
747
  "src": "883:16:52"
748
748
  },
@@ -790,21 +790,21 @@
790
790
  "evmVersion": "london",
791
791
  "externalReferences": [
792
792
  {
793
- "declaration": 44751,
793
+ "declaration": 45170,
794
794
  "isOffset": false,
795
795
  "isSlot": false,
796
796
  "src": "922:8:52",
797
797
  "valueSize": 1
798
798
  },
799
799
  {
800
- "declaration": 44744,
800
+ "declaration": 45163,
801
801
  "isOffset": false,
802
802
  "isSlot": false,
803
803
  "src": "938:4:52",
804
804
  "valueSize": 1
805
805
  }
806
806
  ],
807
- "id": 44753,
807
+ "id": 45172,
808
808
  "nodeType": "InlineAssembly",
809
809
  "src": "905:80:52"
810
810
  },
@@ -816,7 +816,7 @@
816
816
  "typeIdentifier": "t_uint256",
817
817
  "typeString": "uint256"
818
818
  },
819
- "id": 44765,
819
+ "id": 45184,
820
820
  "isConstant": false,
821
821
  "isLValue": false,
822
822
  "isPure": false,
@@ -828,17 +828,17 @@
828
828
  "typeIdentifier": "t_uint256",
829
829
  "typeString": "uint256"
830
830
  },
831
- "id": 44758,
831
+ "id": 45177,
832
832
  "isConstant": false,
833
833
  "isLValue": false,
834
834
  "isPure": false,
835
835
  "lValueRequested": false,
836
836
  "leftExpression": {
837
- "id": 44756,
837
+ "id": 45175,
838
838
  "name": "_pointer",
839
839
  "nodeType": "Identifier",
840
840
  "overloadedDeclarations": [],
841
- "referencedDeclaration": 44751,
841
+ "referencedDeclaration": 45170,
842
842
  "src": "1089:8:52",
843
843
  "typeDescriptions": {
844
844
  "typeIdentifier": "t_uint256",
@@ -849,7 +849,7 @@
849
849
  "operator": "<<",
850
850
  "rightExpression": {
851
851
  "hexValue": "313238",
852
- "id": 44757,
852
+ "id": 45176,
853
853
  "isConstant": false,
854
854
  "isLValue": false,
855
855
  "isPure": true,
@@ -870,7 +870,7 @@
870
870
  }
871
871
  }
872
872
  ],
873
- "id": 44759,
873
+ "id": 45178,
874
874
  "isConstant": false,
875
875
  "isInlineArray": false,
876
876
  "isLValue": false,
@@ -892,25 +892,25 @@
892
892
  "typeIdentifier": "t_uint256",
893
893
  "typeString": "uint256"
894
894
  },
895
- "id": 44763,
895
+ "id": 45182,
896
896
  "isConstant": false,
897
897
  "isLValue": false,
898
898
  "isPure": false,
899
899
  "lValueRequested": false,
900
900
  "leftExpression": {
901
901
  "expression": {
902
- "id": 44760,
902
+ "id": 45179,
903
903
  "name": "data",
904
904
  "nodeType": "Identifier",
905
905
  "overloadedDeclarations": [],
906
- "referencedDeclaration": 44744,
906
+ "referencedDeclaration": 45163,
907
907
  "src": "1109:4:52",
908
908
  "typeDescriptions": {
909
909
  "typeIdentifier": "t_bytes_memory_ptr",
910
910
  "typeString": "bytes memory"
911
911
  }
912
912
  },
913
- "id": 44761,
913
+ "id": 45180,
914
914
  "isConstant": false,
915
915
  "isLValue": false,
916
916
  "isPure": false,
@@ -926,11 +926,11 @@
926
926
  "nodeType": "BinaryOperation",
927
927
  "operator": "&",
928
928
  "rightExpression": {
929
- "id": 44762,
929
+ "id": 45181,
930
930
  "name": "MASK_LEN",
931
931
  "nodeType": "Identifier",
932
932
  "overloadedDeclarations": [],
933
- "referencedDeclaration": 44729,
933
+ "referencedDeclaration": 45148,
934
934
  "src": "1123:8:52",
935
935
  "typeDescriptions": {
936
936
  "typeIdentifier": "t_uint256",
@@ -944,7 +944,7 @@
944
944
  }
945
945
  }
946
946
  ],
947
- "id": 44764,
947
+ "id": 45183,
948
948
  "isConstant": false,
949
949
  "isInlineArray": false,
950
950
  "isLValue": false,
@@ -972,18 +972,18 @@
972
972
  }
973
973
  ],
974
974
  "expression": {
975
- "id": 44754,
975
+ "id": 45173,
976
976
  "name": "Slice",
977
977
  "nodeType": "Identifier",
978
978
  "overloadedDeclarations": [],
979
- "referencedDeclaration": 44702,
979
+ "referencedDeclaration": 45121,
980
980
  "src": "1077:5:52",
981
981
  "typeDescriptions": {
982
- "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$44702_$",
982
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$45121_$",
983
983
  "typeString": "type(Slice)"
984
984
  }
985
985
  },
986
- "id": 44755,
986
+ "id": 45174,
987
987
  "isConstant": false,
988
988
  "isLValue": false,
989
989
  "isPure": true,
@@ -992,11 +992,11 @@
992
992
  "nodeType": "MemberAccess",
993
993
  "src": "1077:10:52",
994
994
  "typeDescriptions": {
995
- "typeIdentifier": "t_function_wrap_pure$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$44702_$",
995
+ "typeIdentifier": "t_function_wrap_pure$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$45121_$",
996
996
  "typeString": "function (uint256) pure returns (Slice)"
997
997
  }
998
998
  },
999
- "id": 44766,
999
+ "id": 45185,
1000
1000
  "isConstant": false,
1001
1001
  "isLValue": false,
1002
1002
  "isPure": false,
@@ -1007,19 +1007,19 @@
1007
1007
  "src": "1077:56:52",
1008
1008
  "tryCall": false,
1009
1009
  "typeDescriptions": {
1010
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1010
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1011
1011
  "typeString": "Slice"
1012
1012
  }
1013
1013
  },
1014
- "functionReturnParameters": 44749,
1015
- "id": 44767,
1014
+ "functionReturnParameters": 45168,
1015
+ "id": 45186,
1016
1016
  "nodeType": "Return",
1017
1017
  "src": "1070:63:52"
1018
1018
  }
1019
1019
  ]
1020
1020
  },
1021
1021
  "documentation": {
1022
- "id": 44742,
1022
+ "id": 45161,
1023
1023
  "nodeType": "StructuredDocumentation",
1024
1024
  "src": "730:76:52",
1025
1025
  "text": " @dev Converts a bytes array to a slice (without copying data)"
@@ -1030,17 +1030,17 @@
1030
1030
  "name": "fromBytes",
1031
1031
  "nameLocation": "818:9:52",
1032
1032
  "parameters": {
1033
- "id": 44745,
1033
+ "id": 45164,
1034
1034
  "nodeType": "ParameterList",
1035
1035
  "parameters": [
1036
1036
  {
1037
1037
  "constant": false,
1038
- "id": 44744,
1038
+ "id": 45163,
1039
1039
  "mutability": "mutable",
1040
1040
  "name": "data",
1041
1041
  "nameLocation": "841:4:52",
1042
1042
  "nodeType": "VariableDeclaration",
1043
- "scope": 44769,
1043
+ "scope": 45188,
1044
1044
  "src": "828:17:52",
1045
1045
  "stateVariable": false,
1046
1046
  "storageLocation": "memory",
@@ -1049,7 +1049,7 @@
1049
1049
  "typeString": "bytes"
1050
1050
  },
1051
1051
  "typeName": {
1052
- "id": 44743,
1052
+ "id": 45162,
1053
1053
  "name": "bytes",
1054
1054
  "nodeType": "ElementaryTypeName",
1055
1055
  "src": "828:5:52",
@@ -1064,38 +1064,38 @@
1064
1064
  "src": "827:19:52"
1065
1065
  },
1066
1066
  "returnParameters": {
1067
- "id": 44749,
1067
+ "id": 45168,
1068
1068
  "nodeType": "ParameterList",
1069
1069
  "parameters": [
1070
1070
  {
1071
1071
  "constant": false,
1072
- "id": 44748,
1072
+ "id": 45167,
1073
1073
  "mutability": "mutable",
1074
1074
  "name": "",
1075
1075
  "nameLocation": "-1:-1:-1",
1076
1076
  "nodeType": "VariableDeclaration",
1077
- "scope": 44769,
1077
+ "scope": 45188,
1078
1078
  "src": "870:5:52",
1079
1079
  "stateVariable": false,
1080
1080
  "storageLocation": "default",
1081
1081
  "typeDescriptions": {
1082
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1082
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1083
1083
  "typeString": "Slice"
1084
1084
  },
1085
1085
  "typeName": {
1086
- "id": 44747,
1086
+ "id": 45166,
1087
1087
  "nodeType": "UserDefinedTypeName",
1088
1088
  "pathNode": {
1089
- "id": 44746,
1089
+ "id": 45165,
1090
1090
  "name": "Slice",
1091
1091
  "nodeType": "IdentifierPath",
1092
- "referencedDeclaration": 44702,
1092
+ "referencedDeclaration": 45121,
1093
1093
  "src": "870:5:52"
1094
1094
  },
1095
- "referencedDeclaration": 44702,
1095
+ "referencedDeclaration": 45121,
1096
1096
  "src": "870:5:52",
1097
1097
  "typeDescriptions": {
1098
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1098
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1099
1099
  "typeString": "Slice"
1100
1100
  }
1101
1101
  },
@@ -1104,18 +1104,18 @@
1104
1104
  ],
1105
1105
  "src": "869:7:52"
1106
1106
  },
1107
- "scope": 44847,
1107
+ "scope": 45266,
1108
1108
  "stateMutability": "pure",
1109
1109
  "virtual": false,
1110
1110
  "visibility": "internal"
1111
1111
  },
1112
1112
  {
1113
- "id": 44788,
1113
+ "id": 45207,
1114
1114
  "nodeType": "FunctionDefinition",
1115
1115
  "src": "1265:140:52",
1116
1116
  "nodes": [],
1117
1117
  "body": {
1118
- "id": 44787,
1118
+ "id": 45206,
1119
1119
  "nodeType": "Block",
1120
1120
  "src": "1350:55:52",
1121
1121
  "nodes": [],
@@ -1124,11 +1124,11 @@
1124
1124
  "expression": {
1125
1125
  "arguments": [
1126
1126
  {
1127
- "id": 44781,
1127
+ "id": 45200,
1128
1128
  "name": "data",
1129
1129
  "nodeType": "Identifier",
1130
1130
  "overloadedDeclarations": [],
1131
- "referencedDeclaration": 44772,
1131
+ "referencedDeclaration": 45191,
1132
1132
  "src": "1375:4:52",
1133
1133
  "typeDescriptions": {
1134
1134
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -1136,11 +1136,11 @@
1136
1136
  }
1137
1137
  },
1138
1138
  {
1139
- "id": 44782,
1139
+ "id": 45201,
1140
1140
  "name": "start",
1141
1141
  "nodeType": "Identifier",
1142
1142
  "overloadedDeclarations": [],
1143
- "referencedDeclaration": 44774,
1143
+ "referencedDeclaration": 45193,
1144
1144
  "src": "1381:5:52",
1145
1145
  "typeDescriptions": {
1146
1146
  "typeIdentifier": "t_uint256",
@@ -1149,18 +1149,18 @@
1149
1149
  },
1150
1150
  {
1151
1151
  "expression": {
1152
- "id": 44783,
1152
+ "id": 45202,
1153
1153
  "name": "data",
1154
1154
  "nodeType": "Identifier",
1155
1155
  "overloadedDeclarations": [],
1156
- "referencedDeclaration": 44772,
1156
+ "referencedDeclaration": 45191,
1157
1157
  "src": "1388:4:52",
1158
1158
  "typeDescriptions": {
1159
1159
  "typeIdentifier": "t_bytes_memory_ptr",
1160
1160
  "typeString": "bytes memory"
1161
1161
  }
1162
1162
  },
1163
- "id": 44784,
1163
+ "id": 45203,
1164
1164
  "isConstant": false,
1165
1165
  "isLValue": false,
1166
1166
  "isPure": false,
@@ -1189,21 +1189,21 @@
1189
1189
  "typeString": "uint256"
1190
1190
  }
1191
1191
  ],
1192
- "id": 44780,
1192
+ "id": 45199,
1193
1193
  "name": "getSubslice",
1194
1194
  "nodeType": "Identifier",
1195
1195
  "overloadedDeclarations": [
1196
- 44788,
1197
- 44846
1196
+ 45207,
1197
+ 45265
1198
1198
  ],
1199
- "referencedDeclaration": 44846,
1199
+ "referencedDeclaration": 45265,
1200
1200
  "src": "1363:11:52",
1201
1201
  "typeDescriptions": {
1202
- "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$44702_$",
1202
+ "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$45121_$",
1203
1203
  "typeString": "function (bytes memory,uint256,uint256) pure returns (Slice)"
1204
1204
  }
1205
1205
  },
1206
- "id": 44785,
1206
+ "id": 45204,
1207
1207
  "isConstant": false,
1208
1208
  "isLValue": false,
1209
1209
  "isPure": false,
@@ -1214,19 +1214,19 @@
1214
1214
  "src": "1363:37:52",
1215
1215
  "tryCall": false,
1216
1216
  "typeDescriptions": {
1217
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1217
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1218
1218
  "typeString": "Slice"
1219
1219
  }
1220
1220
  },
1221
- "functionReturnParameters": 44779,
1222
- "id": 44786,
1221
+ "functionReturnParameters": 45198,
1222
+ "id": 45205,
1223
1223
  "nodeType": "Return",
1224
1224
  "src": "1356:44:52"
1225
1225
  }
1226
1226
  ]
1227
1227
  },
1228
1228
  "documentation": {
1229
- "id": 44770,
1229
+ "id": 45189,
1230
1230
  "nodeType": "StructuredDocumentation",
1231
1231
  "src": "1142:120:52",
1232
1232
  "text": " @dev Subslice a bytes array using the given start index until the end of the array (without copying data)"
@@ -1237,17 +1237,17 @@
1237
1237
  "name": "getSubslice",
1238
1238
  "nameLocation": "1274:11:52",
1239
1239
  "parameters": {
1240
- "id": 44775,
1240
+ "id": 45194,
1241
1241
  "nodeType": "ParameterList",
1242
1242
  "parameters": [
1243
1243
  {
1244
1244
  "constant": false,
1245
- "id": 44772,
1245
+ "id": 45191,
1246
1246
  "mutability": "mutable",
1247
1247
  "name": "data",
1248
1248
  "nameLocation": "1299:4:52",
1249
1249
  "nodeType": "VariableDeclaration",
1250
- "scope": 44788,
1250
+ "scope": 45207,
1251
1251
  "src": "1286:17:52",
1252
1252
  "stateVariable": false,
1253
1253
  "storageLocation": "memory",
@@ -1256,7 +1256,7 @@
1256
1256
  "typeString": "bytes"
1257
1257
  },
1258
1258
  "typeName": {
1259
- "id": 44771,
1259
+ "id": 45190,
1260
1260
  "name": "bytes",
1261
1261
  "nodeType": "ElementaryTypeName",
1262
1262
  "src": "1286:5:52",
@@ -1269,12 +1269,12 @@
1269
1269
  },
1270
1270
  {
1271
1271
  "constant": false,
1272
- "id": 44774,
1272
+ "id": 45193,
1273
1273
  "mutability": "mutable",
1274
1274
  "name": "start",
1275
1275
  "nameLocation": "1313:5:52",
1276
1276
  "nodeType": "VariableDeclaration",
1277
- "scope": 44788,
1277
+ "scope": 45207,
1278
1278
  "src": "1305:13:52",
1279
1279
  "stateVariable": false,
1280
1280
  "storageLocation": "default",
@@ -1283,7 +1283,7 @@
1283
1283
  "typeString": "uint256"
1284
1284
  },
1285
1285
  "typeName": {
1286
- "id": 44773,
1286
+ "id": 45192,
1287
1287
  "name": "uint256",
1288
1288
  "nodeType": "ElementaryTypeName",
1289
1289
  "src": "1305:7:52",
@@ -1298,38 +1298,38 @@
1298
1298
  "src": "1285:34:52"
1299
1299
  },
1300
1300
  "returnParameters": {
1301
- "id": 44779,
1301
+ "id": 45198,
1302
1302
  "nodeType": "ParameterList",
1303
1303
  "parameters": [
1304
1304
  {
1305
1305
  "constant": false,
1306
- "id": 44778,
1306
+ "id": 45197,
1307
1307
  "mutability": "mutable",
1308
1308
  "name": "",
1309
1309
  "nameLocation": "-1:-1:-1",
1310
1310
  "nodeType": "VariableDeclaration",
1311
- "scope": 44788,
1311
+ "scope": 45207,
1312
1312
  "src": "1343:5:52",
1313
1313
  "stateVariable": false,
1314
1314
  "storageLocation": "default",
1315
1315
  "typeDescriptions": {
1316
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1316
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1317
1317
  "typeString": "Slice"
1318
1318
  },
1319
1319
  "typeName": {
1320
- "id": 44777,
1320
+ "id": 45196,
1321
1321
  "nodeType": "UserDefinedTypeName",
1322
1322
  "pathNode": {
1323
- "id": 44776,
1323
+ "id": 45195,
1324
1324
  "name": "Slice",
1325
1325
  "nodeType": "IdentifierPath",
1326
- "referencedDeclaration": 44702,
1326
+ "referencedDeclaration": 45121,
1327
1327
  "src": "1343:5:52"
1328
1328
  },
1329
- "referencedDeclaration": 44702,
1329
+ "referencedDeclaration": 45121,
1330
1330
  "src": "1343:5:52",
1331
1331
  "typeDescriptions": {
1332
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
1332
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
1333
1333
  "typeString": "Slice"
1334
1334
  }
1335
1335
  },
@@ -1338,25 +1338,25 @@
1338
1338
  ],
1339
1339
  "src": "1342:7:52"
1340
1340
  },
1341
- "scope": 44847,
1341
+ "scope": 45266,
1342
1342
  "stateMutability": "pure",
1343
1343
  "virtual": false,
1344
1344
  "visibility": "internal"
1345
1345
  },
1346
1346
  {
1347
- "id": 44846,
1347
+ "id": 45265,
1348
1348
  "nodeType": "FunctionDefinition",
1349
1349
  "src": "1563:586:52",
1350
1350
  "nodes": [],
1351
1351
  "body": {
1352
- "id": 44845,
1352
+ "id": 45264,
1353
1353
  "nodeType": "Block",
1354
1354
  "src": "1677:472:52",
1355
1355
  "nodes": [],
1356
1356
  "statements": [
1357
1357
  {
1358
1358
  "condition": {
1359
- "id": 44810,
1359
+ "id": 45229,
1360
1360
  "isConstant": false,
1361
1361
  "isLValue": false,
1362
1362
  "isPure": false,
@@ -1372,7 +1372,7 @@
1372
1372
  "typeIdentifier": "t_bool",
1373
1373
  "typeString": "bool"
1374
1374
  },
1375
- "id": 44808,
1375
+ "id": 45227,
1376
1376
  "isConstant": false,
1377
1377
  "isLValue": false,
1378
1378
  "isPure": false,
@@ -1382,17 +1382,17 @@
1382
1382
  "typeIdentifier": "t_uint256",
1383
1383
  "typeString": "uint256"
1384
1384
  },
1385
- "id": 44803,
1385
+ "id": 45222,
1386
1386
  "isConstant": false,
1387
1387
  "isLValue": false,
1388
1388
  "isPure": false,
1389
1389
  "lValueRequested": false,
1390
1390
  "leftExpression": {
1391
- "id": 44801,
1391
+ "id": 45220,
1392
1392
  "name": "start",
1393
1393
  "nodeType": "Identifier",
1394
1394
  "overloadedDeclarations": [],
1395
- "referencedDeclaration": 44793,
1395
+ "referencedDeclaration": 45212,
1396
1396
  "src": "1759:5:52",
1397
1397
  "typeDescriptions": {
1398
1398
  "typeIdentifier": "t_uint256",
@@ -1402,11 +1402,11 @@
1402
1402
  "nodeType": "BinaryOperation",
1403
1403
  "operator": "<=",
1404
1404
  "rightExpression": {
1405
- "id": 44802,
1405
+ "id": 45221,
1406
1406
  "name": "end",
1407
1407
  "nodeType": "Identifier",
1408
1408
  "overloadedDeclarations": [],
1409
- "referencedDeclaration": 44795,
1409
+ "referencedDeclaration": 45214,
1410
1410
  "src": "1768:3:52",
1411
1411
  "typeDescriptions": {
1412
1412
  "typeIdentifier": "t_uint256",
@@ -1426,17 +1426,17 @@
1426
1426
  "typeIdentifier": "t_uint256",
1427
1427
  "typeString": "uint256"
1428
1428
  },
1429
- "id": 44807,
1429
+ "id": 45226,
1430
1430
  "isConstant": false,
1431
1431
  "isLValue": false,
1432
1432
  "isPure": false,
1433
1433
  "lValueRequested": false,
1434
1434
  "leftExpression": {
1435
- "id": 44804,
1435
+ "id": 45223,
1436
1436
  "name": "end",
1437
1437
  "nodeType": "Identifier",
1438
1438
  "overloadedDeclarations": [],
1439
- "referencedDeclaration": 44795,
1439
+ "referencedDeclaration": 45214,
1440
1440
  "src": "1775:3:52",
1441
1441
  "typeDescriptions": {
1442
1442
  "typeIdentifier": "t_uint256",
@@ -1447,18 +1447,18 @@
1447
1447
  "operator": "<=",
1448
1448
  "rightExpression": {
1449
1449
  "expression": {
1450
- "id": 44805,
1450
+ "id": 45224,
1451
1451
  "name": "data",
1452
1452
  "nodeType": "Identifier",
1453
1453
  "overloadedDeclarations": [],
1454
- "referencedDeclaration": 44791,
1454
+ "referencedDeclaration": 45210,
1455
1455
  "src": "1782:4:52",
1456
1456
  "typeDescriptions": {
1457
1457
  "typeIdentifier": "t_bytes_memory_ptr",
1458
1458
  "typeString": "bytes memory"
1459
1459
  }
1460
1460
  },
1461
- "id": 44806,
1461
+ "id": 45225,
1462
1462
  "isConstant": false,
1463
1463
  "isLValue": false,
1464
1464
  "isPure": false,
@@ -1484,7 +1484,7 @@
1484
1484
  }
1485
1485
  }
1486
1486
  ],
1487
- "id": 44809,
1487
+ "id": 45228,
1488
1488
  "isConstant": false,
1489
1489
  "isInlineArray": false,
1490
1490
  "isLValue": false,
@@ -1502,18 +1502,18 @@
1502
1502
  "typeString": "bool"
1503
1503
  }
1504
1504
  },
1505
- "id": 44817,
1505
+ "id": 45236,
1506
1506
  "nodeType": "IfStatement",
1507
1507
  "src": "1753:85:52",
1508
1508
  "trueBody": {
1509
1509
  "errorCall": {
1510
1510
  "arguments": [
1511
1511
  {
1512
- "id": 44812,
1512
+ "id": 45231,
1513
1513
  "name": "data",
1514
1514
  "nodeType": "Identifier",
1515
1515
  "overloadedDeclarations": [],
1516
- "referencedDeclaration": 44791,
1516
+ "referencedDeclaration": 45210,
1517
1517
  "src": "1821:4:52",
1518
1518
  "typeDescriptions": {
1519
1519
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -1521,11 +1521,11 @@
1521
1521
  }
1522
1522
  },
1523
1523
  {
1524
- "id": 44813,
1524
+ "id": 45232,
1525
1525
  "name": "start",
1526
1526
  "nodeType": "Identifier",
1527
1527
  "overloadedDeclarations": [],
1528
- "referencedDeclaration": 44793,
1528
+ "referencedDeclaration": 45212,
1529
1529
  "src": "1827:5:52",
1530
1530
  "typeDescriptions": {
1531
1531
  "typeIdentifier": "t_uint256",
@@ -1533,11 +1533,11 @@
1533
1533
  }
1534
1534
  },
1535
1535
  {
1536
- "id": 44814,
1536
+ "id": 45233,
1537
1537
  "name": "end",
1538
1538
  "nodeType": "Identifier",
1539
1539
  "overloadedDeclarations": [],
1540
- "referencedDeclaration": 44795,
1540
+ "referencedDeclaration": 45214,
1541
1541
  "src": "1834:3:52",
1542
1542
  "typeDescriptions": {
1543
1543
  "typeIdentifier": "t_uint256",
@@ -1560,18 +1560,18 @@
1560
1560
  "typeString": "uint256"
1561
1561
  }
1562
1562
  ],
1563
- "id": 44811,
1563
+ "id": 45230,
1564
1564
  "name": "Slice_OutOfBounds",
1565
1565
  "nodeType": "Identifier",
1566
1566
  "overloadedDeclarations": [],
1567
- "referencedDeclaration": 44719,
1567
+ "referencedDeclaration": 45138,
1568
1568
  "src": "1803:17:52",
1569
1569
  "typeDescriptions": {
1570
1570
  "typeIdentifier": "t_function_error_pure$_t_bytes_memory_ptr_$_t_uint256_$_t_uint256_$returns$__$",
1571
1571
  "typeString": "function (bytes memory,uint256,uint256) pure"
1572
1572
  }
1573
1573
  },
1574
- "id": 44815,
1574
+ "id": 45234,
1575
1575
  "isConstant": false,
1576
1576
  "isLValue": false,
1577
1577
  "isPure": false,
@@ -1586,24 +1586,24 @@
1586
1586
  "typeString": "tuple()"
1587
1587
  }
1588
1588
  },
1589
- "id": 44816,
1589
+ "id": 45235,
1590
1590
  "nodeType": "RevertStatement",
1591
1591
  "src": "1796:42:52"
1592
1592
  }
1593
1593
  },
1594
1594
  {
1595
1595
  "assignments": [
1596
- 44819
1596
+ 45238
1597
1597
  ],
1598
1598
  "declarations": [
1599
1599
  {
1600
1600
  "constant": false,
1601
- "id": 44819,
1601
+ "id": 45238,
1602
1602
  "mutability": "mutable",
1603
1603
  "name": "_pointer",
1604
1604
  "nameLocation": "1853:8:52",
1605
1605
  "nodeType": "VariableDeclaration",
1606
- "scope": 44845,
1606
+ "scope": 45264,
1607
1607
  "src": "1845:16:52",
1608
1608
  "stateVariable": false,
1609
1609
  "storageLocation": "default",
@@ -1612,7 +1612,7 @@
1612
1612
  "typeString": "uint256"
1613
1613
  },
1614
1614
  "typeName": {
1615
- "id": 44818,
1615
+ "id": 45237,
1616
1616
  "name": "uint256",
1617
1617
  "nodeType": "ElementaryTypeName",
1618
1618
  "src": "1845:7:52",
@@ -1624,7 +1624,7 @@
1624
1624
  "visibility": "internal"
1625
1625
  }
1626
1626
  ],
1627
- "id": 44820,
1627
+ "id": 45239,
1628
1628
  "nodeType": "VariableDeclarationStatement",
1629
1629
  "src": "1845:16:52"
1630
1630
  },
@@ -1672,37 +1672,37 @@
1672
1672
  "evmVersion": "london",
1673
1673
  "externalReferences": [
1674
1674
  {
1675
- "declaration": 44819,
1675
+ "declaration": 45238,
1676
1676
  "isOffset": false,
1677
1677
  "isSlot": false,
1678
1678
  "src": "1884:8:52",
1679
1679
  "valueSize": 1
1680
1680
  },
1681
1681
  {
1682
- "declaration": 44791,
1682
+ "declaration": 45210,
1683
1683
  "isOffset": false,
1684
1684
  "isSlot": false,
1685
1685
  "src": "1900:4:52",
1686
1686
  "valueSize": 1
1687
1687
  }
1688
1688
  ],
1689
- "id": 44821,
1689
+ "id": 45240,
1690
1690
  "nodeType": "InlineAssembly",
1691
1691
  "src": "1867:80:52"
1692
1692
  },
1693
1693
  {
1694
1694
  "expression": {
1695
- "id": 44824,
1695
+ "id": 45243,
1696
1696
  "isConstant": false,
1697
1697
  "isLValue": false,
1698
1698
  "isPure": false,
1699
1699
  "lValueRequested": false,
1700
1700
  "leftHandSide": {
1701
- "id": 44822,
1701
+ "id": 45241,
1702
1702
  "name": "_pointer",
1703
1703
  "nodeType": "Identifier",
1704
1704
  "overloadedDeclarations": [],
1705
- "referencedDeclaration": 44819,
1705
+ "referencedDeclaration": 45238,
1706
1706
  "src": "1953:8:52",
1707
1707
  "typeDescriptions": {
1708
1708
  "typeIdentifier": "t_uint256",
@@ -1712,11 +1712,11 @@
1712
1712
  "nodeType": "Assignment",
1713
1713
  "operator": "+=",
1714
1714
  "rightHandSide": {
1715
- "id": 44823,
1715
+ "id": 45242,
1716
1716
  "name": "start",
1717
1717
  "nodeType": "Identifier",
1718
1718
  "overloadedDeclarations": [],
1719
- "referencedDeclaration": 44793,
1719
+ "referencedDeclaration": 45212,
1720
1720
  "src": "1965:5:52",
1721
1721
  "typeDescriptions": {
1722
1722
  "typeIdentifier": "t_uint256",
@@ -1729,23 +1729,23 @@
1729
1729
  "typeString": "uint256"
1730
1730
  }
1731
1731
  },
1732
- "id": 44825,
1732
+ "id": 45244,
1733
1733
  "nodeType": "ExpressionStatement",
1734
1734
  "src": "1953:17:52"
1735
1735
  },
1736
1736
  {
1737
1737
  "assignments": [
1738
- 44827
1738
+ 45246
1739
1739
  ],
1740
1740
  "declarations": [
1741
1741
  {
1742
1742
  "constant": false,
1743
- "id": 44827,
1743
+ "id": 45246,
1744
1744
  "mutability": "mutable",
1745
1745
  "name": "_len",
1746
1746
  "nameLocation": "1984:4:52",
1747
1747
  "nodeType": "VariableDeclaration",
1748
- "scope": 44845,
1748
+ "scope": 45264,
1749
1749
  "src": "1976:12:52",
1750
1750
  "stateVariable": false,
1751
1751
  "storageLocation": "default",
@@ -1754,7 +1754,7 @@
1754
1754
  "typeString": "uint256"
1755
1755
  },
1756
1756
  "typeName": {
1757
- "id": 44826,
1757
+ "id": 45245,
1758
1758
  "name": "uint256",
1759
1759
  "nodeType": "ElementaryTypeName",
1760
1760
  "src": "1976:7:52",
@@ -1766,23 +1766,23 @@
1766
1766
  "visibility": "internal"
1767
1767
  }
1768
1768
  ],
1769
- "id": 44831,
1769
+ "id": 45250,
1770
1770
  "initialValue": {
1771
1771
  "commonType": {
1772
1772
  "typeIdentifier": "t_uint256",
1773
1773
  "typeString": "uint256"
1774
1774
  },
1775
- "id": 44830,
1775
+ "id": 45249,
1776
1776
  "isConstant": false,
1777
1777
  "isLValue": false,
1778
1778
  "isPure": false,
1779
1779
  "lValueRequested": false,
1780
1780
  "leftExpression": {
1781
- "id": 44828,
1781
+ "id": 45247,
1782
1782
  "name": "end",
1783
1783
  "nodeType": "Identifier",
1784
1784
  "overloadedDeclarations": [],
1785
- "referencedDeclaration": 44795,
1785
+ "referencedDeclaration": 45214,
1786
1786
  "src": "1991:3:52",
1787
1787
  "typeDescriptions": {
1788
1788
  "typeIdentifier": "t_uint256",
@@ -1792,11 +1792,11 @@
1792
1792
  "nodeType": "BinaryOperation",
1793
1793
  "operator": "-",
1794
1794
  "rightExpression": {
1795
- "id": 44829,
1795
+ "id": 45248,
1796
1796
  "name": "start",
1797
1797
  "nodeType": "Identifier",
1798
1798
  "overloadedDeclarations": [],
1799
- "referencedDeclaration": 44793,
1799
+ "referencedDeclaration": 45212,
1800
1800
  "src": "1997:5:52",
1801
1801
  "typeDescriptions": {
1802
1802
  "typeIdentifier": "t_uint256",
@@ -1820,7 +1820,7 @@
1820
1820
  "typeIdentifier": "t_uint256",
1821
1821
  "typeString": "uint256"
1822
1822
  },
1823
- "id": 44842,
1823
+ "id": 45261,
1824
1824
  "isConstant": false,
1825
1825
  "isLValue": false,
1826
1826
  "isPure": false,
@@ -1832,17 +1832,17 @@
1832
1832
  "typeIdentifier": "t_uint256",
1833
1833
  "typeString": "uint256"
1834
1834
  },
1835
- "id": 44836,
1835
+ "id": 45255,
1836
1836
  "isConstant": false,
1837
1837
  "isLValue": false,
1838
1838
  "isPure": false,
1839
1839
  "lValueRequested": false,
1840
1840
  "leftExpression": {
1841
- "id": 44834,
1841
+ "id": 45253,
1842
1842
  "name": "_pointer",
1843
1843
  "nodeType": "Identifier",
1844
1844
  "overloadedDeclarations": [],
1845
- "referencedDeclaration": 44819,
1845
+ "referencedDeclaration": 45238,
1846
1846
  "src": "2107:8:52",
1847
1847
  "typeDescriptions": {
1848
1848
  "typeIdentifier": "t_uint256",
@@ -1853,7 +1853,7 @@
1853
1853
  "operator": "<<",
1854
1854
  "rightExpression": {
1855
1855
  "hexValue": "313238",
1856
- "id": 44835,
1856
+ "id": 45254,
1857
1857
  "isConstant": false,
1858
1858
  "isLValue": false,
1859
1859
  "isPure": true,
@@ -1874,7 +1874,7 @@
1874
1874
  }
1875
1875
  }
1876
1876
  ],
1877
- "id": 44837,
1877
+ "id": 45256,
1878
1878
  "isConstant": false,
1879
1879
  "isInlineArray": false,
1880
1880
  "isLValue": false,
@@ -1896,17 +1896,17 @@
1896
1896
  "typeIdentifier": "t_uint256",
1897
1897
  "typeString": "uint256"
1898
1898
  },
1899
- "id": 44840,
1899
+ "id": 45259,
1900
1900
  "isConstant": false,
1901
1901
  "isLValue": false,
1902
1902
  "isPure": false,
1903
1903
  "lValueRequested": false,
1904
1904
  "leftExpression": {
1905
- "id": 44838,
1905
+ "id": 45257,
1906
1906
  "name": "_len",
1907
1907
  "nodeType": "Identifier",
1908
1908
  "overloadedDeclarations": [],
1909
- "referencedDeclaration": 44827,
1909
+ "referencedDeclaration": 45246,
1910
1910
  "src": "2127:4:52",
1911
1911
  "typeDescriptions": {
1912
1912
  "typeIdentifier": "t_uint256",
@@ -1916,11 +1916,11 @@
1916
1916
  "nodeType": "BinaryOperation",
1917
1917
  "operator": "&",
1918
1918
  "rightExpression": {
1919
- "id": 44839,
1919
+ "id": 45258,
1920
1920
  "name": "MASK_LEN",
1921
1921
  "nodeType": "Identifier",
1922
1922
  "overloadedDeclarations": [],
1923
- "referencedDeclaration": 44729,
1923
+ "referencedDeclaration": 45148,
1924
1924
  "src": "2134:8:52",
1925
1925
  "typeDescriptions": {
1926
1926
  "typeIdentifier": "t_uint256",
@@ -1934,7 +1934,7 @@
1934
1934
  }
1935
1935
  }
1936
1936
  ],
1937
- "id": 44841,
1937
+ "id": 45260,
1938
1938
  "isConstant": false,
1939
1939
  "isInlineArray": false,
1940
1940
  "isLValue": false,
@@ -1962,18 +1962,18 @@
1962
1962
  }
1963
1963
  ],
1964
1964
  "expression": {
1965
- "id": 44832,
1965
+ "id": 45251,
1966
1966
  "name": "Slice",
1967
1967
  "nodeType": "Identifier",
1968
1968
  "overloadedDeclarations": [],
1969
- "referencedDeclaration": 44702,
1969
+ "referencedDeclaration": 45121,
1970
1970
  "src": "2095:5:52",
1971
1971
  "typeDescriptions": {
1972
- "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$44702_$",
1972
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$45121_$",
1973
1973
  "typeString": "type(Slice)"
1974
1974
  }
1975
1975
  },
1976
- "id": 44833,
1976
+ "id": 45252,
1977
1977
  "isConstant": false,
1978
1978
  "isLValue": false,
1979
1979
  "isPure": true,
@@ -1982,11 +1982,11 @@
1982
1982
  "nodeType": "MemberAccess",
1983
1983
  "src": "2095:10:52",
1984
1984
  "typeDescriptions": {
1985
- "typeIdentifier": "t_function_wrap_pure$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$44702_$",
1985
+ "typeIdentifier": "t_function_wrap_pure$_t_uint256_$returns$_t_userDefinedValueType$_Slice_$45121_$",
1986
1986
  "typeString": "function (uint256) pure returns (Slice)"
1987
1987
  }
1988
1988
  },
1989
- "id": 44843,
1989
+ "id": 45262,
1990
1990
  "isConstant": false,
1991
1991
  "isLValue": false,
1992
1992
  "isPure": false,
@@ -1997,19 +1997,19 @@
1997
1997
  "src": "2095:49:52",
1998
1998
  "tryCall": false,
1999
1999
  "typeDescriptions": {
2000
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2000
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2001
2001
  "typeString": "Slice"
2002
2002
  }
2003
2003
  },
2004
- "functionReturnParameters": 44800,
2005
- "id": 44844,
2004
+ "functionReturnParameters": 45219,
2005
+ "id": 45263,
2006
2006
  "nodeType": "Return",
2007
2007
  "src": "2088:56:52"
2008
2008
  }
2009
2009
  ]
2010
2010
  },
2011
2011
  "documentation": {
2012
- "id": 44789,
2012
+ "id": 45208,
2013
2013
  "nodeType": "StructuredDocumentation",
2014
2014
  "src": "1409:151:52",
2015
2015
  "text": " @dev Subslice a bytes array using the given indexes (without copying data)\n The start index is inclusive, the end index is exclusive"
@@ -2020,17 +2020,17 @@
2020
2020
  "name": "getSubslice",
2021
2021
  "nameLocation": "1572:11:52",
2022
2022
  "parameters": {
2023
- "id": 44796,
2023
+ "id": 45215,
2024
2024
  "nodeType": "ParameterList",
2025
2025
  "parameters": [
2026
2026
  {
2027
2027
  "constant": false,
2028
- "id": 44791,
2028
+ "id": 45210,
2029
2029
  "mutability": "mutable",
2030
2030
  "name": "data",
2031
2031
  "nameLocation": "1602:4:52",
2032
2032
  "nodeType": "VariableDeclaration",
2033
- "scope": 44846,
2033
+ "scope": 45265,
2034
2034
  "src": "1589:17:52",
2035
2035
  "stateVariable": false,
2036
2036
  "storageLocation": "memory",
@@ -2039,7 +2039,7 @@
2039
2039
  "typeString": "bytes"
2040
2040
  },
2041
2041
  "typeName": {
2042
- "id": 44790,
2042
+ "id": 45209,
2043
2043
  "name": "bytes",
2044
2044
  "nodeType": "ElementaryTypeName",
2045
2045
  "src": "1589:5:52",
@@ -2052,12 +2052,12 @@
2052
2052
  },
2053
2053
  {
2054
2054
  "constant": false,
2055
- "id": 44793,
2055
+ "id": 45212,
2056
2056
  "mutability": "mutable",
2057
2057
  "name": "start",
2058
2058
  "nameLocation": "1620:5:52",
2059
2059
  "nodeType": "VariableDeclaration",
2060
- "scope": 44846,
2060
+ "scope": 45265,
2061
2061
  "src": "1612:13:52",
2062
2062
  "stateVariable": false,
2063
2063
  "storageLocation": "default",
@@ -2066,7 +2066,7 @@
2066
2066
  "typeString": "uint256"
2067
2067
  },
2068
2068
  "typeName": {
2069
- "id": 44792,
2069
+ "id": 45211,
2070
2070
  "name": "uint256",
2071
2071
  "nodeType": "ElementaryTypeName",
2072
2072
  "src": "1612:7:52",
@@ -2079,12 +2079,12 @@
2079
2079
  },
2080
2080
  {
2081
2081
  "constant": false,
2082
- "id": 44795,
2082
+ "id": 45214,
2083
2083
  "mutability": "mutable",
2084
2084
  "name": "end",
2085
2085
  "nameLocation": "1639:3:52",
2086
2086
  "nodeType": "VariableDeclaration",
2087
- "scope": 44846,
2087
+ "scope": 45265,
2088
2088
  "src": "1631:11:52",
2089
2089
  "stateVariable": false,
2090
2090
  "storageLocation": "default",
@@ -2093,7 +2093,7 @@
2093
2093
  "typeString": "uint256"
2094
2094
  },
2095
2095
  "typeName": {
2096
- "id": 44794,
2096
+ "id": 45213,
2097
2097
  "name": "uint256",
2098
2098
  "nodeType": "ElementaryTypeName",
2099
2099
  "src": "1631:7:52",
@@ -2108,38 +2108,38 @@
2108
2108
  "src": "1583:63:52"
2109
2109
  },
2110
2110
  "returnParameters": {
2111
- "id": 44800,
2111
+ "id": 45219,
2112
2112
  "nodeType": "ParameterList",
2113
2113
  "parameters": [
2114
2114
  {
2115
2115
  "constant": false,
2116
- "id": 44799,
2116
+ "id": 45218,
2117
2117
  "mutability": "mutable",
2118
2118
  "name": "",
2119
2119
  "nameLocation": "-1:-1:-1",
2120
2120
  "nodeType": "VariableDeclaration",
2121
- "scope": 44846,
2121
+ "scope": 45265,
2122
2122
  "src": "1670:5:52",
2123
2123
  "stateVariable": false,
2124
2124
  "storageLocation": "default",
2125
2125
  "typeDescriptions": {
2126
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2126
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2127
2127
  "typeString": "Slice"
2128
2128
  },
2129
2129
  "typeName": {
2130
- "id": 44798,
2130
+ "id": 45217,
2131
2131
  "nodeType": "UserDefinedTypeName",
2132
2132
  "pathNode": {
2133
- "id": 44797,
2133
+ "id": 45216,
2134
2134
  "name": "Slice",
2135
2135
  "nodeType": "IdentifierPath",
2136
- "referencedDeclaration": 44702,
2136
+ "referencedDeclaration": 45121,
2137
2137
  "src": "1670:5:52"
2138
2138
  },
2139
- "referencedDeclaration": 44702,
2139
+ "referencedDeclaration": 45121,
2140
2140
  "src": "1670:5:52",
2141
2141
  "typeDescriptions": {
2142
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2142
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2143
2143
  "typeString": "Slice"
2144
2144
  }
2145
2145
  },
@@ -2148,7 +2148,7 @@
2148
2148
  ],
2149
2149
  "src": "1669:7:52"
2150
2150
  },
2151
- "scope": 44847,
2151
+ "scope": 45266,
2152
2152
  "stateMutability": "pure",
2153
2153
  "virtual": false,
2154
2154
  "visibility": "internal"
@@ -2160,34 +2160,34 @@
2160
2160
  "contractDependencies": [],
2161
2161
  "contractKind": "library",
2162
2162
  "documentation": {
2163
- "id": 44711,
2163
+ "id": 45130,
2164
2164
  "nodeType": "StructuredDocumentation",
2165
2165
  "src": "472:44:52",
2166
2166
  "text": " @title Static functions for Slice"
2167
2167
  },
2168
2168
  "fullyImplemented": true,
2169
2169
  "linearizedBaseContracts": [
2170
- 44847
2170
+ 45266
2171
2171
  ],
2172
2172
  "name": "SliceLib",
2173
2173
  "nameLocation": "525:8:52",
2174
- "scope": 44944,
2174
+ "scope": 45363,
2175
2175
  "usedErrors": [
2176
- 44719
2176
+ 45138
2177
2177
  ]
2178
2178
  },
2179
2179
  {
2180
- "id": 44943,
2180
+ "id": 45362,
2181
2181
  "nodeType": "ContractDefinition",
2182
2182
  "src": "2200:1146:52",
2183
2183
  "nodes": [
2184
2184
  {
2185
- "id": 44865,
2185
+ "id": 45284,
2186
2186
  "nodeType": "FunctionDefinition",
2187
2187
  "src": "2292:104:52",
2188
2188
  "nodes": [],
2189
2189
  "body": {
2190
- "id": 44864,
2190
+ "id": 45283,
2191
2191
  "nodeType": "Block",
2192
2192
  "src": "2353:43:52",
2193
2193
  "nodes": [],
@@ -2198,7 +2198,7 @@
2198
2198
  "typeIdentifier": "t_uint256",
2199
2199
  "typeString": "uint256"
2200
2200
  },
2201
- "id": 44862,
2201
+ "id": 45281,
2202
2202
  "isConstant": false,
2203
2203
  "isLValue": false,
2204
2204
  "isPure": false,
@@ -2206,14 +2206,14 @@
2206
2206
  "leftExpression": {
2207
2207
  "arguments": [
2208
2208
  {
2209
- "id": 44859,
2209
+ "id": 45278,
2210
2210
  "name": "self",
2211
2211
  "nodeType": "Identifier",
2212
2212
  "overloadedDeclarations": [],
2213
- "referencedDeclaration": 44852,
2213
+ "referencedDeclaration": 45271,
2214
2214
  "src": "2379:4:52",
2215
2215
  "typeDescriptions": {
2216
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2216
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2217
2217
  "typeString": "Slice"
2218
2218
  }
2219
2219
  }
@@ -2221,23 +2221,23 @@
2221
2221
  "expression": {
2222
2222
  "argumentTypes": [
2223
2223
  {
2224
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2224
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2225
2225
  "typeString": "Slice"
2226
2226
  }
2227
2227
  ],
2228
2228
  "expression": {
2229
- "id": 44857,
2229
+ "id": 45276,
2230
2230
  "name": "Slice",
2231
2231
  "nodeType": "Identifier",
2232
2232
  "overloadedDeclarations": [],
2233
- "referencedDeclaration": 44702,
2233
+ "referencedDeclaration": 45121,
2234
2234
  "src": "2366:5:52",
2235
2235
  "typeDescriptions": {
2236
- "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$44702_$",
2236
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$45121_$",
2237
2237
  "typeString": "type(Slice)"
2238
2238
  }
2239
2239
  },
2240
- "id": 44858,
2240
+ "id": 45277,
2241
2241
  "isConstant": false,
2242
2242
  "isLValue": false,
2243
2243
  "isPure": true,
@@ -2246,11 +2246,11 @@
2246
2246
  "nodeType": "MemberAccess",
2247
2247
  "src": "2366:12:52",
2248
2248
  "typeDescriptions": {
2249
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$",
2249
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$",
2250
2250
  "typeString": "function (Slice) pure returns (uint256)"
2251
2251
  }
2252
2252
  },
2253
- "id": 44860,
2253
+ "id": 45279,
2254
2254
  "isConstant": false,
2255
2255
  "isLValue": false,
2256
2256
  "isPure": false,
@@ -2269,7 +2269,7 @@
2269
2269
  "operator": ">>",
2270
2270
  "rightExpression": {
2271
2271
  "hexValue": "313238",
2272
- "id": 44861,
2272
+ "id": 45280,
2273
2273
  "isConstant": false,
2274
2274
  "isLValue": false,
2275
2275
  "isPure": true,
@@ -2289,15 +2289,15 @@
2289
2289
  "typeString": "uint256"
2290
2290
  }
2291
2291
  },
2292
- "functionReturnParameters": 44856,
2293
- "id": 44863,
2292
+ "functionReturnParameters": 45275,
2293
+ "id": 45282,
2294
2294
  "nodeType": "Return",
2295
2295
  "src": "2359:32:52"
2296
2296
  }
2297
2297
  ]
2298
2298
  },
2299
2299
  "documentation": {
2300
- "id": 44849,
2300
+ "id": 45268,
2301
2301
  "nodeType": "StructuredDocumentation",
2302
2302
  "src": "2226:63:52",
2303
2303
  "text": " @dev Returns the pointer to the start of a slice"
@@ -2308,38 +2308,38 @@
2308
2308
  "name": "pointer",
2309
2309
  "nameLocation": "2301:7:52",
2310
2310
  "parameters": {
2311
- "id": 44853,
2311
+ "id": 45272,
2312
2312
  "nodeType": "ParameterList",
2313
2313
  "parameters": [
2314
2314
  {
2315
2315
  "constant": false,
2316
- "id": 44852,
2316
+ "id": 45271,
2317
2317
  "mutability": "mutable",
2318
2318
  "name": "self",
2319
2319
  "nameLocation": "2315:4:52",
2320
2320
  "nodeType": "VariableDeclaration",
2321
- "scope": 44865,
2321
+ "scope": 45284,
2322
2322
  "src": "2309:10:52",
2323
2323
  "stateVariable": false,
2324
2324
  "storageLocation": "default",
2325
2325
  "typeDescriptions": {
2326
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2326
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2327
2327
  "typeString": "Slice"
2328
2328
  },
2329
2329
  "typeName": {
2330
- "id": 44851,
2330
+ "id": 45270,
2331
2331
  "nodeType": "UserDefinedTypeName",
2332
2332
  "pathNode": {
2333
- "id": 44850,
2333
+ "id": 45269,
2334
2334
  "name": "Slice",
2335
2335
  "nodeType": "IdentifierPath",
2336
- "referencedDeclaration": 44702,
2336
+ "referencedDeclaration": 45121,
2337
2337
  "src": "2309:5:52"
2338
2338
  },
2339
- "referencedDeclaration": 44702,
2339
+ "referencedDeclaration": 45121,
2340
2340
  "src": "2309:5:52",
2341
2341
  "typeDescriptions": {
2342
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2342
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2343
2343
  "typeString": "Slice"
2344
2344
  }
2345
2345
  },
@@ -2349,17 +2349,17 @@
2349
2349
  "src": "2308:12:52"
2350
2350
  },
2351
2351
  "returnParameters": {
2352
- "id": 44856,
2352
+ "id": 45275,
2353
2353
  "nodeType": "ParameterList",
2354
2354
  "parameters": [
2355
2355
  {
2356
2356
  "constant": false,
2357
- "id": 44855,
2357
+ "id": 45274,
2358
2358
  "mutability": "mutable",
2359
2359
  "name": "",
2360
2360
  "nameLocation": "-1:-1:-1",
2361
2361
  "nodeType": "VariableDeclaration",
2362
- "scope": 44865,
2362
+ "scope": 45284,
2363
2363
  "src": "2344:7:52",
2364
2364
  "stateVariable": false,
2365
2365
  "storageLocation": "default",
@@ -2368,7 +2368,7 @@
2368
2368
  "typeString": "uint256"
2369
2369
  },
2370
2370
  "typeName": {
2371
- "id": 44854,
2371
+ "id": 45273,
2372
2372
  "name": "uint256",
2373
2373
  "nodeType": "ElementaryTypeName",
2374
2374
  "src": "2344:7:52",
@@ -2382,18 +2382,18 @@
2382
2382
  ],
2383
2383
  "src": "2343:9:52"
2384
2384
  },
2385
- "scope": 44943,
2385
+ "scope": 45362,
2386
2386
  "stateMutability": "pure",
2387
2387
  "virtual": false,
2388
2388
  "visibility": "internal"
2389
2389
  },
2390
2390
  {
2391
- "id": 44883,
2391
+ "id": 45302,
2392
2392
  "nodeType": "FunctionDefinition",
2393
2393
  "src": "2456:116:52",
2394
2394
  "nodes": [],
2395
2395
  "body": {
2396
- "id": 44882,
2396
+ "id": 45301,
2397
2397
  "nodeType": "Block",
2398
2398
  "src": "2516:56:52",
2399
2399
  "nodes": [],
@@ -2404,7 +2404,7 @@
2404
2404
  "typeIdentifier": "t_uint256",
2405
2405
  "typeString": "uint256"
2406
2406
  },
2407
- "id": 44880,
2407
+ "id": 45299,
2408
2408
  "isConstant": false,
2409
2409
  "isLValue": false,
2410
2410
  "isPure": false,
@@ -2412,14 +2412,14 @@
2412
2412
  "leftExpression": {
2413
2413
  "arguments": [
2414
2414
  {
2415
- "id": 44876,
2415
+ "id": 45295,
2416
2416
  "name": "self",
2417
2417
  "nodeType": "Identifier",
2418
2418
  "overloadedDeclarations": [],
2419
- "referencedDeclaration": 44869,
2419
+ "referencedDeclaration": 45288,
2420
2420
  "src": "2542:4:52",
2421
2421
  "typeDescriptions": {
2422
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2422
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2423
2423
  "typeString": "Slice"
2424
2424
  }
2425
2425
  }
@@ -2427,23 +2427,23 @@
2427
2427
  "expression": {
2428
2428
  "argumentTypes": [
2429
2429
  {
2430
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2430
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2431
2431
  "typeString": "Slice"
2432
2432
  }
2433
2433
  ],
2434
2434
  "expression": {
2435
- "id": 44874,
2435
+ "id": 45293,
2436
2436
  "name": "Slice",
2437
2437
  "nodeType": "Identifier",
2438
2438
  "overloadedDeclarations": [],
2439
- "referencedDeclaration": 44702,
2439
+ "referencedDeclaration": 45121,
2440
2440
  "src": "2529:5:52",
2441
2441
  "typeDescriptions": {
2442
- "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$44702_$",
2442
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_Slice_$45121_$",
2443
2443
  "typeString": "type(Slice)"
2444
2444
  }
2445
2445
  },
2446
- "id": 44875,
2446
+ "id": 45294,
2447
2447
  "isConstant": false,
2448
2448
  "isLValue": false,
2449
2449
  "isPure": true,
@@ -2452,11 +2452,11 @@
2452
2452
  "nodeType": "MemberAccess",
2453
2453
  "src": "2529:12:52",
2454
2454
  "typeDescriptions": {
2455
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$",
2455
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$",
2456
2456
  "typeString": "function (Slice) pure returns (uint256)"
2457
2457
  }
2458
2458
  },
2459
- "id": 44877,
2459
+ "id": 45296,
2460
2460
  "isConstant": false,
2461
2461
  "isLValue": false,
2462
2462
  "isPure": false,
@@ -2475,25 +2475,25 @@
2475
2475
  "operator": "&",
2476
2476
  "rightExpression": {
2477
2477
  "expression": {
2478
- "id": 44878,
2478
+ "id": 45297,
2479
2479
  "name": "SliceLib",
2480
2480
  "nodeType": "Identifier",
2481
2481
  "overloadedDeclarations": [],
2482
- "referencedDeclaration": 44847,
2482
+ "referencedDeclaration": 45266,
2483
2483
  "src": "2550:8:52",
2484
2484
  "typeDescriptions": {
2485
- "typeIdentifier": "t_type$_t_contract$_SliceLib_$44847_$",
2485
+ "typeIdentifier": "t_type$_t_contract$_SliceLib_$45266_$",
2486
2486
  "typeString": "type(library SliceLib)"
2487
2487
  }
2488
2488
  },
2489
- "id": 44879,
2489
+ "id": 45298,
2490
2490
  "isConstant": false,
2491
2491
  "isLValue": false,
2492
2492
  "isPure": false,
2493
2493
  "lValueRequested": false,
2494
2494
  "memberName": "MASK_LEN",
2495
2495
  "nodeType": "MemberAccess",
2496
- "referencedDeclaration": 44729,
2496
+ "referencedDeclaration": 45148,
2497
2497
  "src": "2550:17:52",
2498
2498
  "typeDescriptions": {
2499
2499
  "typeIdentifier": "t_uint256",
@@ -2506,15 +2506,15 @@
2506
2506
  "typeString": "uint256"
2507
2507
  }
2508
2508
  },
2509
- "functionReturnParameters": 44873,
2510
- "id": 44881,
2509
+ "functionReturnParameters": 45292,
2510
+ "id": 45300,
2511
2511
  "nodeType": "Return",
2512
2512
  "src": "2522:45:52"
2513
2513
  }
2514
2514
  ]
2515
2515
  },
2516
2516
  "documentation": {
2517
- "id": 44866,
2517
+ "id": 45285,
2518
2518
  "nodeType": "StructuredDocumentation",
2519
2519
  "src": "2400:53:52",
2520
2520
  "text": " @dev Returns the slice length in bytes"
@@ -2525,38 +2525,38 @@
2525
2525
  "name": "length",
2526
2526
  "nameLocation": "2465:6:52",
2527
2527
  "parameters": {
2528
- "id": 44870,
2528
+ "id": 45289,
2529
2529
  "nodeType": "ParameterList",
2530
2530
  "parameters": [
2531
2531
  {
2532
2532
  "constant": false,
2533
- "id": 44869,
2533
+ "id": 45288,
2534
2534
  "mutability": "mutable",
2535
2535
  "name": "self",
2536
2536
  "nameLocation": "2478:4:52",
2537
2537
  "nodeType": "VariableDeclaration",
2538
- "scope": 44883,
2538
+ "scope": 45302,
2539
2539
  "src": "2472:10:52",
2540
2540
  "stateVariable": false,
2541
2541
  "storageLocation": "default",
2542
2542
  "typeDescriptions": {
2543
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2543
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2544
2544
  "typeString": "Slice"
2545
2545
  },
2546
2546
  "typeName": {
2547
- "id": 44868,
2547
+ "id": 45287,
2548
2548
  "nodeType": "UserDefinedTypeName",
2549
2549
  "pathNode": {
2550
- "id": 44867,
2550
+ "id": 45286,
2551
2551
  "name": "Slice",
2552
2552
  "nodeType": "IdentifierPath",
2553
- "referencedDeclaration": 44702,
2553
+ "referencedDeclaration": 45121,
2554
2554
  "src": "2472:5:52"
2555
2555
  },
2556
- "referencedDeclaration": 44702,
2556
+ "referencedDeclaration": 45121,
2557
2557
  "src": "2472:5:52",
2558
2558
  "typeDescriptions": {
2559
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2559
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2560
2560
  "typeString": "Slice"
2561
2561
  }
2562
2562
  },
@@ -2566,17 +2566,17 @@
2566
2566
  "src": "2471:12:52"
2567
2567
  },
2568
2568
  "returnParameters": {
2569
- "id": 44873,
2569
+ "id": 45292,
2570
2570
  "nodeType": "ParameterList",
2571
2571
  "parameters": [
2572
2572
  {
2573
2573
  "constant": false,
2574
- "id": 44872,
2574
+ "id": 45291,
2575
2575
  "mutability": "mutable",
2576
2576
  "name": "",
2577
2577
  "nameLocation": "-1:-1:-1",
2578
2578
  "nodeType": "VariableDeclaration",
2579
- "scope": 44883,
2579
+ "scope": 45302,
2580
2580
  "src": "2507:7:52",
2581
2581
  "stateVariable": false,
2582
2582
  "storageLocation": "default",
@@ -2585,7 +2585,7 @@
2585
2585
  "typeString": "uint256"
2586
2586
  },
2587
2587
  "typeName": {
2588
- "id": 44871,
2588
+ "id": 45290,
2589
2589
  "name": "uint256",
2590
2590
  "nodeType": "ElementaryTypeName",
2591
2591
  "src": "2507:7:52",
@@ -2599,35 +2599,35 @@
2599
2599
  ],
2600
2600
  "src": "2506:9:52"
2601
2601
  },
2602
- "scope": 44943,
2602
+ "scope": 45362,
2603
2603
  "stateMutability": "pure",
2604
2604
  "virtual": false,
2605
2605
  "visibility": "internal"
2606
2606
  },
2607
2607
  {
2608
- "id": 44924,
2608
+ "id": 45343,
2609
2609
  "nodeType": "FunctionDefinition",
2610
2610
  "src": "2689:416:52",
2611
2611
  "nodes": [],
2612
2612
  "body": {
2613
- "id": 44923,
2613
+ "id": 45342,
2614
2614
  "nodeType": "Block",
2615
2615
  "src": "2760:345:52",
2616
2616
  "nodes": [],
2617
2617
  "statements": [
2618
2618
  {
2619
2619
  "assignments": [
2620
- 44893
2620
+ 45312
2621
2621
  ],
2622
2622
  "declarations": [
2623
2623
  {
2624
2624
  "constant": false,
2625
- "id": 44893,
2625
+ "id": 45312,
2626
2626
  "mutability": "mutable",
2627
2627
  "name": "fromPointer",
2628
2628
  "nameLocation": "2774:11:52",
2629
2629
  "nodeType": "VariableDeclaration",
2630
- "scope": 44923,
2630
+ "scope": 45342,
2631
2631
  "src": "2766:19:52",
2632
2632
  "stateVariable": false,
2633
2633
  "storageLocation": "default",
@@ -2636,7 +2636,7 @@
2636
2636
  "typeString": "uint256"
2637
2637
  },
2638
2638
  "typeName": {
2639
- "id": 44892,
2639
+ "id": 45311,
2640
2640
  "name": "uint256",
2641
2641
  "nodeType": "ElementaryTypeName",
2642
2642
  "src": "2766:7:52",
@@ -2648,18 +2648,18 @@
2648
2648
  "visibility": "internal"
2649
2649
  }
2650
2650
  ],
2651
- "id": 44897,
2651
+ "id": 45316,
2652
2652
  "initialValue": {
2653
2653
  "arguments": [
2654
2654
  {
2655
- "id": 44895,
2655
+ "id": 45314,
2656
2656
  "name": "self",
2657
2657
  "nodeType": "Identifier",
2658
2658
  "overloadedDeclarations": [],
2659
- "referencedDeclaration": 44887,
2659
+ "referencedDeclaration": 45306,
2660
2660
  "src": "2796:4:52",
2661
2661
  "typeDescriptions": {
2662
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2662
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2663
2663
  "typeString": "Slice"
2664
2664
  }
2665
2665
  }
@@ -2667,22 +2667,22 @@
2667
2667
  "expression": {
2668
2668
  "argumentTypes": [
2669
2669
  {
2670
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2670
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2671
2671
  "typeString": "Slice"
2672
2672
  }
2673
2673
  ],
2674
- "id": 44894,
2674
+ "id": 45313,
2675
2675
  "name": "pointer",
2676
2676
  "nodeType": "Identifier",
2677
2677
  "overloadedDeclarations": [],
2678
- "referencedDeclaration": 44865,
2678
+ "referencedDeclaration": 45284,
2679
2679
  "src": "2788:7:52",
2680
2680
  "typeDescriptions": {
2681
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$",
2681
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$",
2682
2682
  "typeString": "function (Slice) pure returns (uint256)"
2683
2683
  }
2684
2684
  },
2685
- "id": 44896,
2685
+ "id": 45315,
2686
2686
  "isConstant": false,
2687
2687
  "isLValue": false,
2688
2688
  "isPure": false,
@@ -2702,17 +2702,17 @@
2702
2702
  },
2703
2703
  {
2704
2704
  "assignments": [
2705
- 44899
2705
+ 45318
2706
2706
  ],
2707
2707
  "declarations": [
2708
2708
  {
2709
2709
  "constant": false,
2710
- "id": 44899,
2710
+ "id": 45318,
2711
2711
  "mutability": "mutable",
2712
2712
  "name": "_length",
2713
2713
  "nameLocation": "2815:7:52",
2714
2714
  "nodeType": "VariableDeclaration",
2715
- "scope": 44923,
2715
+ "scope": 45342,
2716
2716
  "src": "2807:15:52",
2717
2717
  "stateVariable": false,
2718
2718
  "storageLocation": "default",
@@ -2721,7 +2721,7 @@
2721
2721
  "typeString": "uint256"
2722
2722
  },
2723
2723
  "typeName": {
2724
- "id": 44898,
2724
+ "id": 45317,
2725
2725
  "name": "uint256",
2726
2726
  "nodeType": "ElementaryTypeName",
2727
2727
  "src": "2807:7:52",
@@ -2733,18 +2733,18 @@
2733
2733
  "visibility": "internal"
2734
2734
  }
2735
2735
  ],
2736
- "id": 44903,
2736
+ "id": 45322,
2737
2737
  "initialValue": {
2738
2738
  "arguments": [
2739
2739
  {
2740
- "id": 44901,
2740
+ "id": 45320,
2741
2741
  "name": "self",
2742
2742
  "nodeType": "Identifier",
2743
2743
  "overloadedDeclarations": [],
2744
- "referencedDeclaration": 44887,
2744
+ "referencedDeclaration": 45306,
2745
2745
  "src": "2832:4:52",
2746
2746
  "typeDescriptions": {
2747
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2747
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2748
2748
  "typeString": "Slice"
2749
2749
  }
2750
2750
  }
@@ -2752,22 +2752,22 @@
2752
2752
  "expression": {
2753
2753
  "argumentTypes": [
2754
2754
  {
2755
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
2755
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
2756
2756
  "typeString": "Slice"
2757
2757
  }
2758
2758
  ],
2759
- "id": 44900,
2759
+ "id": 45319,
2760
2760
  "name": "length",
2761
2761
  "nodeType": "Identifier",
2762
2762
  "overloadedDeclarations": [],
2763
- "referencedDeclaration": 44883,
2763
+ "referencedDeclaration": 45302,
2764
2764
  "src": "2825:6:52",
2765
2765
  "typeDescriptions": {
2766
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$",
2766
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$",
2767
2767
  "typeString": "function (Slice) pure returns (uint256)"
2768
2768
  }
2769
2769
  },
2770
- "id": 44902,
2770
+ "id": 45321,
2771
2771
  "isConstant": false,
2772
2772
  "isLValue": false,
2773
2773
  "isPure": false,
@@ -2787,17 +2787,17 @@
2787
2787
  },
2788
2788
  {
2789
2789
  "expression": {
2790
- "id": 44909,
2790
+ "id": 45328,
2791
2791
  "isConstant": false,
2792
2792
  "isLValue": false,
2793
2793
  "isPure": false,
2794
2794
  "lValueRequested": false,
2795
2795
  "leftHandSide": {
2796
- "id": 44904,
2796
+ "id": 45323,
2797
2797
  "name": "data",
2798
2798
  "nodeType": "Identifier",
2799
2799
  "overloadedDeclarations": [],
2800
- "referencedDeclaration": 44890,
2800
+ "referencedDeclaration": 45309,
2801
2801
  "src": "2904:4:52",
2802
2802
  "typeDescriptions": {
2803
2803
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -2809,11 +2809,11 @@
2809
2809
  "rightHandSide": {
2810
2810
  "arguments": [
2811
2811
  {
2812
- "id": 44907,
2812
+ "id": 45326,
2813
2813
  "name": "_length",
2814
2814
  "nodeType": "Identifier",
2815
2815
  "overloadedDeclarations": [],
2816
- "referencedDeclaration": 44899,
2816
+ "referencedDeclaration": 45318,
2817
2817
  "src": "2921:7:52",
2818
2818
  "typeDescriptions": {
2819
2819
  "typeIdentifier": "t_uint256",
@@ -2828,7 +2828,7 @@
2828
2828
  "typeString": "uint256"
2829
2829
  }
2830
2830
  ],
2831
- "id": 44906,
2831
+ "id": 45325,
2832
2832
  "isConstant": false,
2833
2833
  "isLValue": false,
2834
2834
  "isPure": true,
@@ -2840,7 +2840,7 @@
2840
2840
  "typeString": "function (uint256) pure returns (bytes memory)"
2841
2841
  },
2842
2842
  "typeName": {
2843
- "id": 44905,
2843
+ "id": 45324,
2844
2844
  "name": "bytes",
2845
2845
  "nodeType": "ElementaryTypeName",
2846
2846
  "src": "2915:5:52",
@@ -2850,7 +2850,7 @@
2850
2850
  }
2851
2851
  }
2852
2852
  },
2853
- "id": 44908,
2853
+ "id": 45327,
2854
2854
  "isConstant": false,
2855
2855
  "isLValue": false,
2856
2856
  "isPure": false,
@@ -2871,23 +2871,23 @@
2871
2871
  "typeString": "bytes memory"
2872
2872
  }
2873
2873
  },
2874
- "id": 44910,
2874
+ "id": 45329,
2875
2875
  "nodeType": "ExpressionStatement",
2876
2876
  "src": "2904:25:52"
2877
2877
  },
2878
2878
  {
2879
2879
  "assignments": [
2880
- 44912
2880
+ 45331
2881
2881
  ],
2882
2882
  "declarations": [
2883
2883
  {
2884
2884
  "constant": false,
2885
- "id": 44912,
2885
+ "id": 45331,
2886
2886
  "mutability": "mutable",
2887
2887
  "name": "toPointer",
2888
2888
  "nameLocation": "2943:9:52",
2889
2889
  "nodeType": "VariableDeclaration",
2890
- "scope": 44923,
2890
+ "scope": 45342,
2891
2891
  "src": "2935:17:52",
2892
2892
  "stateVariable": false,
2893
2893
  "storageLocation": "default",
@@ -2896,7 +2896,7 @@
2896
2896
  "typeString": "uint256"
2897
2897
  },
2898
2898
  "typeName": {
2899
- "id": 44911,
2899
+ "id": 45330,
2900
2900
  "name": "uint256",
2901
2901
  "nodeType": "ElementaryTypeName",
2902
2902
  "src": "2935:7:52",
@@ -2908,7 +2908,7 @@
2908
2908
  "visibility": "internal"
2909
2909
  }
2910
2910
  ],
2911
- "id": 44913,
2911
+ "id": 45332,
2912
2912
  "nodeType": "VariableDeclarationStatement",
2913
2913
  "src": "2935:17:52"
2914
2914
  },
@@ -2956,21 +2956,21 @@
2956
2956
  "evmVersion": "london",
2957
2957
  "externalReferences": [
2958
2958
  {
2959
- "declaration": 44890,
2959
+ "declaration": 45309,
2960
2960
  "isOffset": false,
2961
2961
  "isSlot": false,
2962
2962
  "src": "2992:4:52",
2963
2963
  "valueSize": 1
2964
2964
  },
2965
2965
  {
2966
- "declaration": 44912,
2966
+ "declaration": 45331,
2967
2967
  "isOffset": false,
2968
2968
  "isSlot": false,
2969
2969
  "src": "2975:9:52",
2970
2970
  "valueSize": 1
2971
2971
  }
2972
2972
  ],
2973
- "id": 44914,
2973
+ "id": 45333,
2974
2974
  "nodeType": "InlineAssembly",
2975
2975
  "src": "2958:49:52"
2976
2976
  },
@@ -2978,11 +2978,11 @@
2978
2978
  "expression": {
2979
2979
  "arguments": [
2980
2980
  {
2981
- "id": 44918,
2981
+ "id": 45337,
2982
2982
  "name": "fromPointer",
2983
2983
  "nodeType": "Identifier",
2984
2984
  "overloadedDeclarations": [],
2985
- "referencedDeclaration": 44893,
2985
+ "referencedDeclaration": 45312,
2986
2986
  "src": "3068:11:52",
2987
2987
  "typeDescriptions": {
2988
2988
  "typeIdentifier": "t_uint256",
@@ -2990,11 +2990,11 @@
2990
2990
  }
2991
2991
  },
2992
2992
  {
2993
- "id": 44919,
2993
+ "id": 45338,
2994
2994
  "name": "toPointer",
2995
2995
  "nodeType": "Identifier",
2996
2996
  "overloadedDeclarations": [],
2997
- "referencedDeclaration": 44912,
2997
+ "referencedDeclaration": 45331,
2998
2998
  "src": "3081:9:52",
2999
2999
  "typeDescriptions": {
3000
3000
  "typeIdentifier": "t_uint256",
@@ -3002,11 +3002,11 @@
3002
3002
  }
3003
3003
  },
3004
3004
  {
3005
- "id": 44920,
3005
+ "id": 45339,
3006
3006
  "name": "_length",
3007
3007
  "nodeType": "Identifier",
3008
3008
  "overloadedDeclarations": [],
3009
- "referencedDeclaration": 44899,
3009
+ "referencedDeclaration": 45318,
3010
3010
  "src": "3092:7:52",
3011
3011
  "typeDescriptions": {
3012
3012
  "typeIdentifier": "t_uint256",
@@ -3030,32 +3030,32 @@
3030
3030
  }
3031
3031
  ],
3032
3032
  "expression": {
3033
- "id": 44915,
3033
+ "id": 45334,
3034
3034
  "name": "Memory",
3035
3035
  "nodeType": "Identifier",
3036
3036
  "overloadedDeclarations": [],
3037
- "referencedDeclaration": 43502,
3037
+ "referencedDeclaration": 43921,
3038
3038
  "src": "3056:6:52",
3039
3039
  "typeDescriptions": {
3040
- "typeIdentifier": "t_type$_t_contract$_Memory_$43502_$",
3040
+ "typeIdentifier": "t_type$_t_contract$_Memory_$43921_$",
3041
3041
  "typeString": "type(library Memory)"
3042
3042
  }
3043
3043
  },
3044
- "id": 44917,
3044
+ "id": 45336,
3045
3045
  "isConstant": false,
3046
3046
  "isLValue": false,
3047
3047
  "isPure": false,
3048
3048
  "lValueRequested": false,
3049
3049
  "memberName": "copy",
3050
3050
  "nodeType": "MemberAccess",
3051
- "referencedDeclaration": 43501,
3051
+ "referencedDeclaration": 43920,
3052
3052
  "src": "3056:11:52",
3053
3053
  "typeDescriptions": {
3054
3054
  "typeIdentifier": "t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$",
3055
3055
  "typeString": "function (uint256,uint256,uint256) view"
3056
3056
  }
3057
3057
  },
3058
- "id": 44921,
3058
+ "id": 45340,
3059
3059
  "isConstant": false,
3060
3060
  "isLValue": false,
3061
3061
  "isPure": false,
@@ -3070,14 +3070,14 @@
3070
3070
  "typeString": "tuple()"
3071
3071
  }
3072
3072
  },
3073
- "id": 44922,
3073
+ "id": 45341,
3074
3074
  "nodeType": "ExpressionStatement",
3075
3075
  "src": "3056:44:52"
3076
3076
  }
3077
3077
  ]
3078
3078
  },
3079
3079
  "documentation": {
3080
- "id": 44884,
3080
+ "id": 45303,
3081
3081
  "nodeType": "StructuredDocumentation",
3082
3082
  "src": "2576:110:52",
3083
3083
  "text": " @dev Copies the slice to a new bytes array\n The slice will NOT point to the new bytes array"
@@ -3088,38 +3088,38 @@
3088
3088
  "name": "toBytes",
3089
3089
  "nameLocation": "2698:7:52",
3090
3090
  "parameters": {
3091
- "id": 44888,
3091
+ "id": 45307,
3092
3092
  "nodeType": "ParameterList",
3093
3093
  "parameters": [
3094
3094
  {
3095
3095
  "constant": false,
3096
- "id": 44887,
3096
+ "id": 45306,
3097
3097
  "mutability": "mutable",
3098
3098
  "name": "self",
3099
3099
  "nameLocation": "2712:4:52",
3100
3100
  "nodeType": "VariableDeclaration",
3101
- "scope": 44924,
3101
+ "scope": 45343,
3102
3102
  "src": "2706:10:52",
3103
3103
  "stateVariable": false,
3104
3104
  "storageLocation": "default",
3105
3105
  "typeDescriptions": {
3106
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3106
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3107
3107
  "typeString": "Slice"
3108
3108
  },
3109
3109
  "typeName": {
3110
- "id": 44886,
3110
+ "id": 45305,
3111
3111
  "nodeType": "UserDefinedTypeName",
3112
3112
  "pathNode": {
3113
- "id": 44885,
3113
+ "id": 45304,
3114
3114
  "name": "Slice",
3115
3115
  "nodeType": "IdentifierPath",
3116
- "referencedDeclaration": 44702,
3116
+ "referencedDeclaration": 45121,
3117
3117
  "src": "2706:5:52"
3118
3118
  },
3119
- "referencedDeclaration": 44702,
3119
+ "referencedDeclaration": 45121,
3120
3120
  "src": "2706:5:52",
3121
3121
  "typeDescriptions": {
3122
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3122
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3123
3123
  "typeString": "Slice"
3124
3124
  }
3125
3125
  },
@@ -3129,17 +3129,17 @@
3129
3129
  "src": "2705:12:52"
3130
3130
  },
3131
3131
  "returnParameters": {
3132
- "id": 44891,
3132
+ "id": 45310,
3133
3133
  "nodeType": "ParameterList",
3134
3134
  "parameters": [
3135
3135
  {
3136
3136
  "constant": false,
3137
- "id": 44890,
3137
+ "id": 45309,
3138
3138
  "mutability": "mutable",
3139
3139
  "name": "data",
3140
3140
  "nameLocation": "2754:4:52",
3141
3141
  "nodeType": "VariableDeclaration",
3142
- "scope": 44924,
3142
+ "scope": 45343,
3143
3143
  "src": "2741:17:52",
3144
3144
  "stateVariable": false,
3145
3145
  "storageLocation": "memory",
@@ -3148,7 +3148,7 @@
3148
3148
  "typeString": "bytes"
3149
3149
  },
3150
3150
  "typeName": {
3151
- "id": 44889,
3151
+ "id": 45308,
3152
3152
  "name": "bytes",
3153
3153
  "nodeType": "ElementaryTypeName",
3154
3154
  "src": "2741:5:52",
@@ -3162,35 +3162,35 @@
3162
3162
  ],
3163
3163
  "src": "2740:19:52"
3164
3164
  },
3165
- "scope": 44943,
3165
+ "scope": 45362,
3166
3166
  "stateMutability": "view",
3167
3167
  "virtual": false,
3168
3168
  "visibility": "internal"
3169
3169
  },
3170
3170
  {
3171
- "id": 44942,
3171
+ "id": 45361,
3172
3172
  "nodeType": "FunctionDefinition",
3173
3173
  "src": "3109:235:52",
3174
3174
  "nodes": [],
3175
3175
  "body": {
3176
- "id": 44941,
3176
+ "id": 45360,
3177
3177
  "nodeType": "Block",
3178
3178
  "src": "3179:165:52",
3179
3179
  "nodes": [],
3180
3180
  "statements": [
3181
3181
  {
3182
3182
  "assignments": [
3183
- 44933
3183
+ 45352
3184
3184
  ],
3185
3185
  "declarations": [
3186
3186
  {
3187
3187
  "constant": false,
3188
- "id": 44933,
3188
+ "id": 45352,
3189
3189
  "mutability": "mutable",
3190
3190
  "name": "memoryPointer",
3191
3191
  "nameLocation": "3193:13:52",
3192
3192
  "nodeType": "VariableDeclaration",
3193
- "scope": 44941,
3193
+ "scope": 45360,
3194
3194
  "src": "3185:21:52",
3195
3195
  "stateVariable": false,
3196
3196
  "storageLocation": "default",
@@ -3199,7 +3199,7 @@
3199
3199
  "typeString": "uint256"
3200
3200
  },
3201
3201
  "typeName": {
3202
- "id": 44932,
3202
+ "id": 45351,
3203
3203
  "name": "uint256",
3204
3204
  "nodeType": "ElementaryTypeName",
3205
3205
  "src": "3185:7:52",
@@ -3211,38 +3211,38 @@
3211
3211
  "visibility": "internal"
3212
3212
  }
3213
3213
  ],
3214
- "id": 44937,
3214
+ "id": 45356,
3215
3215
  "initialValue": {
3216
3216
  "arguments": [],
3217
3217
  "expression": {
3218
3218
  "argumentTypes": [],
3219
3219
  "expression": {
3220
- "id": 44934,
3220
+ "id": 45353,
3221
3221
  "name": "self",
3222
3222
  "nodeType": "Identifier",
3223
3223
  "overloadedDeclarations": [],
3224
- "referencedDeclaration": 44927,
3224
+ "referencedDeclaration": 45346,
3225
3225
  "src": "3209:4:52",
3226
3226
  "typeDescriptions": {
3227
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3227
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3228
3228
  "typeString": "Slice"
3229
3229
  }
3230
3230
  },
3231
- "id": 44935,
3231
+ "id": 45354,
3232
3232
  "isConstant": false,
3233
3233
  "isLValue": false,
3234
3234
  "isPure": false,
3235
3235
  "lValueRequested": false,
3236
3236
  "memberName": "pointer",
3237
3237
  "nodeType": "MemberAccess",
3238
- "referencedDeclaration": 44865,
3238
+ "referencedDeclaration": 45284,
3239
3239
  "src": "3209:12:52",
3240
3240
  "typeDescriptions": {
3241
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$44702_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$44702_$",
3241
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_Slice_$45121_$returns$_t_uint256_$bound_to$_t_userDefinedValueType$_Slice_$45121_$",
3242
3242
  "typeString": "function (Slice) pure returns (uint256)"
3243
3243
  }
3244
3244
  },
3245
- "id": 44936,
3245
+ "id": 45355,
3246
3246
  "isConstant": false,
3247
3247
  "isLValue": false,
3248
3248
  "isPure": false,
@@ -3298,39 +3298,39 @@
3298
3298
  "evmVersion": "london",
3299
3299
  "externalReferences": [
3300
3300
  {
3301
- "declaration": 44933,
3301
+ "declaration": 45352,
3302
3302
  "isOffset": false,
3303
3303
  "isSlot": false,
3304
3304
  "src": "3301:13:52",
3305
3305
  "valueSize": 1
3306
3306
  },
3307
3307
  {
3308
- "declaration": 44930,
3308
+ "declaration": 45349,
3309
3309
  "isOffset": false,
3310
3310
  "isSlot": false,
3311
3311
  "src": "3285:6:52",
3312
3312
  "valueSize": 1
3313
3313
  }
3314
3314
  ],
3315
- "id": 44938,
3315
+ "id": 45357,
3316
3316
  "nodeType": "InlineAssembly",
3317
3317
  "src": "3268:53:52"
3318
3318
  },
3319
3319
  {
3320
3320
  "expression": {
3321
- "id": 44939,
3321
+ "id": 45358,
3322
3322
  "name": "result",
3323
3323
  "nodeType": "Identifier",
3324
3324
  "overloadedDeclarations": [],
3325
- "referencedDeclaration": 44930,
3325
+ "referencedDeclaration": 45349,
3326
3326
  "src": "3333:6:52",
3327
3327
  "typeDescriptions": {
3328
3328
  "typeIdentifier": "t_bytes32",
3329
3329
  "typeString": "bytes32"
3330
3330
  }
3331
3331
  },
3332
- "functionReturnParameters": 44931,
3333
- "id": 44940,
3332
+ "functionReturnParameters": 45350,
3333
+ "id": 45359,
3334
3334
  "nodeType": "Return",
3335
3335
  "src": "3326:13:52"
3336
3336
  }
@@ -3342,38 +3342,38 @@
3342
3342
  "name": "toBytes32",
3343
3343
  "nameLocation": "3118:9:52",
3344
3344
  "parameters": {
3345
- "id": 44928,
3345
+ "id": 45347,
3346
3346
  "nodeType": "ParameterList",
3347
3347
  "parameters": [
3348
3348
  {
3349
3349
  "constant": false,
3350
- "id": 44927,
3350
+ "id": 45346,
3351
3351
  "mutability": "mutable",
3352
3352
  "name": "self",
3353
3353
  "nameLocation": "3134:4:52",
3354
3354
  "nodeType": "VariableDeclaration",
3355
- "scope": 44942,
3355
+ "scope": 45361,
3356
3356
  "src": "3128:10:52",
3357
3357
  "stateVariable": false,
3358
3358
  "storageLocation": "default",
3359
3359
  "typeDescriptions": {
3360
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3360
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3361
3361
  "typeString": "Slice"
3362
3362
  },
3363
3363
  "typeName": {
3364
- "id": 44926,
3364
+ "id": 45345,
3365
3365
  "nodeType": "UserDefinedTypeName",
3366
3366
  "pathNode": {
3367
- "id": 44925,
3367
+ "id": 45344,
3368
3368
  "name": "Slice",
3369
3369
  "nodeType": "IdentifierPath",
3370
- "referencedDeclaration": 44702,
3370
+ "referencedDeclaration": 45121,
3371
3371
  "src": "3128:5:52"
3372
3372
  },
3373
- "referencedDeclaration": 44702,
3373
+ "referencedDeclaration": 45121,
3374
3374
  "src": "3128:5:52",
3375
3375
  "typeDescriptions": {
3376
- "typeIdentifier": "t_userDefinedValueType$_Slice_$44702",
3376
+ "typeIdentifier": "t_userDefinedValueType$_Slice_$45121",
3377
3377
  "typeString": "Slice"
3378
3378
  }
3379
3379
  },
@@ -3383,17 +3383,17 @@
3383
3383
  "src": "3127:12:52"
3384
3384
  },
3385
3385
  "returnParameters": {
3386
- "id": 44931,
3386
+ "id": 45350,
3387
3387
  "nodeType": "ParameterList",
3388
3388
  "parameters": [
3389
3389
  {
3390
3390
  "constant": false,
3391
- "id": 44930,
3391
+ "id": 45349,
3392
3392
  "mutability": "mutable",
3393
3393
  "name": "result",
3394
3394
  "nameLocation": "3171:6:52",
3395
3395
  "nodeType": "VariableDeclaration",
3396
- "scope": 44942,
3396
+ "scope": 45361,
3397
3397
  "src": "3163:14:52",
3398
3398
  "stateVariable": false,
3399
3399
  "storageLocation": "default",
@@ -3402,7 +3402,7 @@
3402
3402
  "typeString": "bytes32"
3403
3403
  },
3404
3404
  "typeName": {
3405
- "id": 44929,
3405
+ "id": 45348,
3406
3406
  "name": "bytes32",
3407
3407
  "nodeType": "ElementaryTypeName",
3408
3408
  "src": "3163:7:52",
@@ -3416,7 +3416,7 @@
3416
3416
  ],
3417
3417
  "src": "3162:16:52"
3418
3418
  },
3419
- "scope": 44943,
3419
+ "scope": 45362,
3420
3420
  "stateMutability": "pure",
3421
3421
  "virtual": false,
3422
3422
  "visibility": "internal"
@@ -3428,18 +3428,18 @@
3428
3428
  "contractDependencies": [],
3429
3429
  "contractKind": "library",
3430
3430
  "documentation": {
3431
- "id": 44848,
3431
+ "id": 45267,
3432
3432
  "nodeType": "StructuredDocumentation",
3433
3433
  "src": "2153:46:52",
3434
3434
  "text": " @title Instance functions for Slice"
3435
3435
  },
3436
3436
  "fullyImplemented": true,
3437
3437
  "linearizedBaseContracts": [
3438
- 44943
3438
+ 45362
3439
3439
  ],
3440
3440
  "name": "SliceInstance",
3441
3441
  "nameLocation": "2208:13:52",
3442
- "scope": 44944,
3442
+ "scope": 45363,
3443
3443
  "usedErrors": []
3444
3444
  }
3445
3445
  ],