@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
@@ -88,23 +88,23 @@
88
88
  },
89
89
  "ast": {
90
90
  "absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/PackedCounter.sol",
91
- "id": 43925,
91
+ "id": 44344,
92
92
  "exportedSymbols": {
93
93
  "Bytes": [
94
- 43260
94
+ 43667
95
95
  ],
96
96
  "PackedCounter": [
97
- 43508
97
+ 43927
98
98
  ],
99
99
  "PackedCounterLib": [
100
- 43924
100
+ 44343
101
101
  ]
102
102
  },
103
103
  "nodeType": "SourceUnit",
104
104
  "src": "32:4132:50",
105
105
  "nodes": [
106
106
  {
107
- "id": 43504,
107
+ "id": 43923,
108
108
  "nodeType": "PragmaDirective",
109
109
  "src": "32:24:50",
110
110
  "nodes": [],
@@ -116,23 +116,23 @@
116
116
  ]
117
117
  },
118
118
  {
119
- "id": 43506,
119
+ "id": 43925,
120
120
  "nodeType": "ImportDirective",
121
121
  "src": "58:36:50",
122
122
  "nodes": [],
123
123
  "absolutePath": "/Users/flomllr/git/latticexyz/mud/packages/store/src/Bytes.sol",
124
124
  "file": "./Bytes.sol",
125
125
  "nameLocation": "-1:-1:-1",
126
- "scope": 43925,
127
- "sourceUnit": 43261,
126
+ "scope": 44344,
127
+ "sourceUnit": 43668,
128
128
  "symbolAliases": [
129
129
  {
130
130
  "foreign": {
131
- "id": 43505,
131
+ "id": 43924,
132
132
  "name": "Bytes",
133
133
  "nodeType": "Identifier",
134
134
  "overloadedDeclarations": [],
135
- "referencedDeclaration": 43260,
135
+ "referencedDeclaration": 43667,
136
136
  "src": "67:5:50",
137
137
  "typeDescriptions": {}
138
138
  },
@@ -142,7 +142,7 @@
142
142
  "unitAlias": ""
143
143
  },
144
144
  {
145
- "id": 43508,
145
+ "id": 43927,
146
146
  "nodeType": "UserDefinedValueTypeDefinition",
147
147
  "src": "161:30:50",
148
148
  "nodes": [],
@@ -150,7 +150,7 @@
150
150
  "name": "PackedCounter",
151
151
  "nameLocation": "166:13:50",
152
152
  "underlyingType": {
153
- "id": 43507,
153
+ "id": 43926,
154
154
  "name": "bytes32",
155
155
  "nodeType": "ElementaryTypeName",
156
156
  "src": "183:7:50",
@@ -161,65 +161,65 @@
161
161
  }
162
162
  },
163
163
  {
164
- "id": 43512,
164
+ "id": 43931,
165
165
  "nodeType": "UsingForDirective",
166
166
  "src": "193:48:50",
167
167
  "nodes": [],
168
168
  "global": true,
169
169
  "libraryName": {
170
- "id": 43509,
170
+ "id": 43928,
171
171
  "name": "PackedCounterLib",
172
172
  "nodeType": "IdentifierPath",
173
- "referencedDeclaration": 43924,
173
+ "referencedDeclaration": 44343,
174
174
  "src": "199:16:50"
175
175
  },
176
176
  "typeName": {
177
- "id": 43511,
177
+ "id": 43930,
178
178
  "nodeType": "UserDefinedTypeName",
179
179
  "pathNode": {
180
- "id": 43510,
180
+ "id": 43929,
181
181
  "name": "PackedCounter",
182
182
  "nodeType": "IdentifierPath",
183
- "referencedDeclaration": 43508,
183
+ "referencedDeclaration": 43927,
184
184
  "src": "220:13:50"
185
185
  },
186
- "referencedDeclaration": 43508,
186
+ "referencedDeclaration": 43927,
187
187
  "src": "220:13:50",
188
188
  "typeDescriptions": {
189
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
189
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
190
190
  "typeString": "PackedCounter"
191
191
  }
192
192
  }
193
193
  },
194
194
  {
195
- "id": 43924,
195
+ "id": 44343,
196
196
  "nodeType": "ContractDefinition",
197
197
  "src": "243:3920:50",
198
198
  "nodes": [
199
199
  {
200
- "id": 43583,
200
+ "id": 44002,
201
201
  "nodeType": "FunctionDefinition",
202
202
  "src": "621:563:50",
203
203
  "nodes": [],
204
204
  "body": {
205
- "id": 43582,
205
+ "id": 44001,
206
206
  "nodeType": "Block",
207
207
  "src": "699:485:50",
208
208
  "nodes": [],
209
209
  "statements": [
210
210
  {
211
211
  "assignments": [
212
- 43523
212
+ 43942
213
213
  ],
214
214
  "declarations": [
215
215
  {
216
216
  "constant": false,
217
- "id": 43523,
217
+ "id": 43942,
218
218
  "mutability": "mutable",
219
219
  "name": "packedCounter",
220
220
  "nameLocation": "713:13:50",
221
221
  "nodeType": "VariableDeclaration",
222
- "scope": 43582,
222
+ "scope": 44001,
223
223
  "src": "705:21:50",
224
224
  "stateVariable": false,
225
225
  "storageLocation": "default",
@@ -228,7 +228,7 @@
228
228
  "typeString": "bytes32"
229
229
  },
230
230
  "typeName": {
231
- "id": 43522,
231
+ "id": 43941,
232
232
  "name": "bytes32",
233
233
  "nodeType": "ElementaryTypeName",
234
234
  "src": "705:7:50",
@@ -240,23 +240,23 @@
240
240
  "visibility": "internal"
241
241
  }
242
242
  ],
243
- "id": 43524,
243
+ "id": 43943,
244
244
  "nodeType": "VariableDeclarationStatement",
245
245
  "src": "705:21:50"
246
246
  },
247
247
  {
248
248
  "assignments": [
249
- 43526
249
+ 43945
250
250
  ],
251
251
  "declarations": [
252
252
  {
253
253
  "constant": false,
254
- "id": 43526,
254
+ "id": 43945,
255
255
  "mutability": "mutable",
256
256
  "name": "accumulator",
257
257
  "nameLocation": "739:11:50",
258
258
  "nodeType": "VariableDeclaration",
259
- "scope": 43582,
259
+ "scope": 44001,
260
260
  "src": "732:18:50",
261
261
  "stateVariable": false,
262
262
  "storageLocation": "default",
@@ -265,7 +265,7 @@
265
265
  "typeString": "uint32"
266
266
  },
267
267
  "typeName": {
268
- "id": 43525,
268
+ "id": 43944,
269
269
  "name": "uint32",
270
270
  "nodeType": "ElementaryTypeName",
271
271
  "src": "732:6:50",
@@ -277,29 +277,29 @@
277
277
  "visibility": "internal"
278
278
  }
279
279
  ],
280
- "id": 43527,
280
+ "id": 43946,
281
281
  "nodeType": "VariableDeclarationStatement",
282
282
  "src": "732:18:50"
283
283
  },
284
284
  {
285
285
  "body": {
286
- "id": 43563,
286
+ "id": 43982,
287
287
  "nodeType": "Block",
288
288
  "src": "864:166:50",
289
289
  "statements": [
290
290
  {
291
291
  "expression": {
292
- "id": 43551,
292
+ "id": 43970,
293
293
  "isConstant": false,
294
294
  "isLValue": false,
295
295
  "isPure": false,
296
296
  "lValueRequested": false,
297
297
  "leftHandSide": {
298
- "id": 43535,
298
+ "id": 43954,
299
299
  "name": "packedCounter",
300
300
  "nodeType": "Identifier",
301
301
  "overloadedDeclarations": [],
302
- "referencedDeclaration": 43523,
302
+ "referencedDeclaration": 43942,
303
303
  "src": "872:13:50",
304
304
  "typeDescriptions": {
305
305
  "typeIdentifier": "t_bytes32",
@@ -311,11 +311,11 @@
311
311
  "rightHandSide": {
312
312
  "arguments": [
313
313
  {
314
- "id": 43538,
314
+ "id": 43957,
315
315
  "name": "packedCounter",
316
316
  "nodeType": "Identifier",
317
317
  "overloadedDeclarations": [],
318
- "referencedDeclaration": 43523,
318
+ "referencedDeclaration": 43942,
319
319
  "src": "904:13:50",
320
320
  "typeDescriptions": {
321
321
  "typeIdentifier": "t_bytes32",
@@ -327,14 +327,14 @@
327
327
  "typeIdentifier": "t_uint256",
328
328
  "typeString": "uint256"
329
329
  },
330
- "id": 43543,
330
+ "id": 43962,
331
331
  "isConstant": false,
332
332
  "isLValue": false,
333
333
  "isPure": false,
334
334
  "lValueRequested": false,
335
335
  "leftExpression": {
336
336
  "hexValue": "34",
337
- "id": 43539,
337
+ "id": 43958,
338
338
  "isConstant": false,
339
339
  "isLValue": false,
340
340
  "isPure": true,
@@ -355,14 +355,14 @@
355
355
  "typeIdentifier": "t_uint256",
356
356
  "typeString": "uint256"
357
357
  },
358
- "id": 43542,
358
+ "id": 43961,
359
359
  "isConstant": false,
360
360
  "isLValue": false,
361
361
  "isPure": false,
362
362
  "lValueRequested": false,
363
363
  "leftExpression": {
364
364
  "hexValue": "32",
365
- "id": 43540,
365
+ "id": 43959,
366
366
  "isConstant": false,
367
367
  "isLValue": false,
368
368
  "isPure": true,
@@ -379,11 +379,11 @@
379
379
  "nodeType": "BinaryOperation",
380
380
  "operator": "*",
381
381
  "rightExpression": {
382
- "id": 43541,
382
+ "id": 43960,
383
383
  "name": "i",
384
384
  "nodeType": "Identifier",
385
385
  "overloadedDeclarations": [],
386
- "referencedDeclaration": 43529,
386
+ "referencedDeclaration": 43948,
387
387
  "src": "927:1:50",
388
388
  "typeDescriptions": {
389
389
  "typeIdentifier": "t_uint256",
@@ -406,24 +406,24 @@
406
406
  "arguments": [
407
407
  {
408
408
  "baseExpression": {
409
- "id": 43546,
409
+ "id": 43965,
410
410
  "name": "counters",
411
411
  "nodeType": "Identifier",
412
412
  "overloadedDeclarations": [],
413
- "referencedDeclaration": 43516,
413
+ "referencedDeclaration": 43935,
414
414
  "src": "937:8:50",
415
415
  "typeDescriptions": {
416
416
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
417
417
  "typeString": "uint16[] memory"
418
418
  }
419
419
  },
420
- "id": 43548,
420
+ "id": 43967,
421
421
  "indexExpression": {
422
- "id": 43547,
422
+ "id": 43966,
423
423
  "name": "i",
424
424
  "nodeType": "Identifier",
425
425
  "overloadedDeclarations": [],
426
- "referencedDeclaration": 43529,
426
+ "referencedDeclaration": 43948,
427
427
  "src": "946:1:50",
428
428
  "typeDescriptions": {
429
429
  "typeIdentifier": "t_uint256",
@@ -449,7 +449,7 @@
449
449
  "typeString": "uint16"
450
450
  }
451
451
  ],
452
- "id": 43545,
452
+ "id": 43964,
453
453
  "isConstant": false,
454
454
  "isLValue": false,
455
455
  "isPure": true,
@@ -461,14 +461,14 @@
461
461
  "typeString": "type(bytes2)"
462
462
  },
463
463
  "typeName": {
464
- "id": 43544,
464
+ "id": 43963,
465
465
  "name": "bytes2",
466
466
  "nodeType": "ElementaryTypeName",
467
467
  "src": "930:6:50",
468
468
  "typeDescriptions": {}
469
469
  }
470
470
  },
471
- "id": 43549,
471
+ "id": 43968,
472
472
  "isConstant": false,
473
473
  "isLValue": false,
474
474
  "isPure": false,
@@ -500,32 +500,32 @@
500
500
  }
501
501
  ],
502
502
  "expression": {
503
- "id": 43536,
503
+ "id": 43955,
504
504
  "name": "Bytes",
505
505
  "nodeType": "Identifier",
506
506
  "overloadedDeclarations": [],
507
- "referencedDeclaration": 43260,
507
+ "referencedDeclaration": 43667,
508
508
  "src": "888:5:50",
509
509
  "typeDescriptions": {
510
- "typeIdentifier": "t_type$_t_contract$_Bytes_$43260_$",
510
+ "typeIdentifier": "t_type$_t_contract$_Bytes_$43667_$",
511
511
  "typeString": "type(library Bytes)"
512
512
  }
513
513
  },
514
- "id": 43537,
514
+ "id": 43956,
515
515
  "isConstant": false,
516
516
  "isLValue": false,
517
517
  "isPure": false,
518
518
  "lValueRequested": false,
519
519
  "memberName": "setBytes2",
520
520
  "nodeType": "MemberAccess",
521
- "referencedDeclaration": 42647,
521
+ "referencedDeclaration": 43054,
522
522
  "src": "888:15:50",
523
523
  "typeDescriptions": {
524
524
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint256_$_t_bytes2_$returns$_t_bytes32_$",
525
525
  "typeString": "function (bytes32,uint256,bytes2) pure returns (bytes32)"
526
526
  }
527
527
  },
528
- "id": 43550,
528
+ "id": 43969,
529
529
  "isConstant": false,
530
530
  "isLValue": false,
531
531
  "isPure": false,
@@ -546,23 +546,23 @@
546
546
  "typeString": "bytes32"
547
547
  }
548
548
  },
549
- "id": 43552,
549
+ "id": 43971,
550
550
  "nodeType": "ExpressionStatement",
551
551
  "src": "872:78:50"
552
552
  },
553
553
  {
554
554
  "expression": {
555
- "id": 43557,
555
+ "id": 43976,
556
556
  "isConstant": false,
557
557
  "isLValue": false,
558
558
  "isPure": false,
559
559
  "lValueRequested": false,
560
560
  "leftHandSide": {
561
- "id": 43553,
561
+ "id": 43972,
562
562
  "name": "accumulator",
563
563
  "nodeType": "Identifier",
564
564
  "overloadedDeclarations": [],
565
- "referencedDeclaration": 43526,
565
+ "referencedDeclaration": 43945,
566
566
  "src": "958:11:50",
567
567
  "typeDescriptions": {
568
568
  "typeIdentifier": "t_uint32",
@@ -573,24 +573,24 @@
573
573
  "operator": "+=",
574
574
  "rightHandSide": {
575
575
  "baseExpression": {
576
- "id": 43554,
576
+ "id": 43973,
577
577
  "name": "counters",
578
578
  "nodeType": "Identifier",
579
579
  "overloadedDeclarations": [],
580
- "referencedDeclaration": 43516,
580
+ "referencedDeclaration": 43935,
581
581
  "src": "973:8:50",
582
582
  "typeDescriptions": {
583
583
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
584
584
  "typeString": "uint16[] memory"
585
585
  }
586
586
  },
587
- "id": 43556,
587
+ "id": 43975,
588
588
  "indexExpression": {
589
- "id": 43555,
589
+ "id": 43974,
590
590
  "name": "i",
591
591
  "nodeType": "Identifier",
592
592
  "overloadedDeclarations": [],
593
- "referencedDeclaration": 43529,
593
+ "referencedDeclaration": 43948,
594
594
  "src": "982:1:50",
595
595
  "typeDescriptions": {
596
596
  "typeIdentifier": "t_uint256",
@@ -614,18 +614,18 @@
614
614
  "typeString": "uint32"
615
615
  }
616
616
  },
617
- "id": 43558,
617
+ "id": 43977,
618
618
  "nodeType": "ExpressionStatement",
619
619
  "src": "958:26:50"
620
620
  },
621
621
  {
622
- "id": 43562,
622
+ "id": 43981,
623
623
  "nodeType": "UncheckedBlock",
624
624
  "src": "992:32:50",
625
625
  "statements": [
626
626
  {
627
627
  "expression": {
628
- "id": 43560,
628
+ "id": 43979,
629
629
  "isConstant": false,
630
630
  "isLValue": false,
631
631
  "isPure": false,
@@ -635,11 +635,11 @@
635
635
  "prefix": false,
636
636
  "src": "1012:3:50",
637
637
  "subExpression": {
638
- "id": 43559,
638
+ "id": 43978,
639
639
  "name": "i",
640
640
  "nodeType": "Identifier",
641
641
  "overloadedDeclarations": [],
642
- "referencedDeclaration": 43529,
642
+ "referencedDeclaration": 43948,
643
643
  "src": "1012:1:50",
644
644
  "typeDescriptions": {
645
645
  "typeIdentifier": "t_uint256",
@@ -651,7 +651,7 @@
651
651
  "typeString": "uint256"
652
652
  }
653
653
  },
654
- "id": 43561,
654
+ "id": 43980,
655
655
  "nodeType": "ExpressionStatement",
656
656
  "src": "1012:3:50"
657
657
  }
@@ -664,17 +664,17 @@
664
664
  "typeIdentifier": "t_uint256",
665
665
  "typeString": "uint256"
666
666
  },
667
- "id": 43534,
667
+ "id": 43953,
668
668
  "isConstant": false,
669
669
  "isLValue": false,
670
670
  "isPure": false,
671
671
  "lValueRequested": false,
672
672
  "leftExpression": {
673
- "id": 43531,
673
+ "id": 43950,
674
674
  "name": "i",
675
675
  "nodeType": "Identifier",
676
676
  "overloadedDeclarations": [],
677
- "referencedDeclaration": 43529,
677
+ "referencedDeclaration": 43948,
678
678
  "src": "841:1:50",
679
679
  "typeDescriptions": {
680
680
  "typeIdentifier": "t_uint256",
@@ -685,18 +685,18 @@
685
685
  "operator": "<",
686
686
  "rightExpression": {
687
687
  "expression": {
688
- "id": 43532,
688
+ "id": 43951,
689
689
  "name": "counters",
690
690
  "nodeType": "Identifier",
691
691
  "overloadedDeclarations": [],
692
- "referencedDeclaration": 43516,
692
+ "referencedDeclaration": 43935,
693
693
  "src": "845:8:50",
694
694
  "typeDescriptions": {
695
695
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
696
696
  "typeString": "uint16[] memory"
697
697
  }
698
698
  },
699
- "id": 43533,
699
+ "id": 43952,
700
700
  "isConstant": false,
701
701
  "isLValue": false,
702
702
  "isPure": false,
@@ -715,20 +715,20 @@
715
715
  "typeString": "bool"
716
716
  }
717
717
  },
718
- "id": 43564,
718
+ "id": 43983,
719
719
  "initializationExpression": {
720
720
  "assignments": [
721
- 43529
721
+ 43948
722
722
  ],
723
723
  "declarations": [
724
724
  {
725
725
  "constant": false,
726
- "id": 43529,
726
+ "id": 43948,
727
727
  "mutability": "mutable",
728
728
  "name": "i",
729
729
  "nameLocation": "838:1:50",
730
730
  "nodeType": "VariableDeclaration",
731
- "scope": 43564,
731
+ "scope": 43983,
732
732
  "src": "830:9:50",
733
733
  "stateVariable": false,
734
734
  "storageLocation": "default",
@@ -737,7 +737,7 @@
737
737
  "typeString": "uint256"
738
738
  },
739
739
  "typeName": {
740
- "id": 43528,
740
+ "id": 43947,
741
741
  "name": "uint256",
742
742
  "nodeType": "ElementaryTypeName",
743
743
  "src": "830:7:50",
@@ -749,7 +749,7 @@
749
749
  "visibility": "internal"
750
750
  }
751
751
  ],
752
- "id": 43530,
752
+ "id": 43949,
753
753
  "nodeType": "VariableDeclarationStatement",
754
754
  "src": "830:9:50"
755
755
  },
@@ -758,17 +758,17 @@
758
758
  },
759
759
  {
760
760
  "expression": {
761
- "id": 43575,
761
+ "id": 43994,
762
762
  "isConstant": false,
763
763
  "isLValue": false,
764
764
  "isPure": false,
765
765
  "lValueRequested": false,
766
766
  "leftHandSide": {
767
- "id": 43565,
767
+ "id": 43984,
768
768
  "name": "packedCounter",
769
769
  "nodeType": "Identifier",
770
770
  "overloadedDeclarations": [],
771
- "referencedDeclaration": 43523,
771
+ "referencedDeclaration": 43942,
772
772
  "src": "1062:13:50",
773
773
  "typeDescriptions": {
774
774
  "typeIdentifier": "t_bytes32",
@@ -780,11 +780,11 @@
780
780
  "rightHandSide": {
781
781
  "arguments": [
782
782
  {
783
- "id": 43568,
783
+ "id": 43987,
784
784
  "name": "packedCounter",
785
785
  "nodeType": "Identifier",
786
786
  "overloadedDeclarations": [],
787
- "referencedDeclaration": 43523,
787
+ "referencedDeclaration": 43942,
788
788
  "src": "1094:13:50",
789
789
  "typeDescriptions": {
790
790
  "typeIdentifier": "t_bytes32",
@@ -793,7 +793,7 @@
793
793
  },
794
794
  {
795
795
  "hexValue": "30",
796
- "id": 43569,
796
+ "id": 43988,
797
797
  "isConstant": false,
798
798
  "isLValue": false,
799
799
  "isPure": true,
@@ -810,11 +810,11 @@
810
810
  {
811
811
  "arguments": [
812
812
  {
813
- "id": 43572,
813
+ "id": 43991,
814
814
  "name": "accumulator",
815
815
  "nodeType": "Identifier",
816
816
  "overloadedDeclarations": [],
817
- "referencedDeclaration": 43526,
817
+ "referencedDeclaration": 43945,
818
818
  "src": "1119:11:50",
819
819
  "typeDescriptions": {
820
820
  "typeIdentifier": "t_uint32",
@@ -829,7 +829,7 @@
829
829
  "typeString": "uint32"
830
830
  }
831
831
  ],
832
- "id": 43571,
832
+ "id": 43990,
833
833
  "isConstant": false,
834
834
  "isLValue": false,
835
835
  "isPure": true,
@@ -841,14 +841,14 @@
841
841
  "typeString": "type(bytes4)"
842
842
  },
843
843
  "typeName": {
844
- "id": 43570,
844
+ "id": 43989,
845
845
  "name": "bytes4",
846
846
  "nodeType": "ElementaryTypeName",
847
847
  "src": "1112:6:50",
848
848
  "typeDescriptions": {}
849
849
  }
850
850
  },
851
- "id": 43573,
851
+ "id": 43992,
852
852
  "isConstant": false,
853
853
  "isLValue": false,
854
854
  "isPure": false,
@@ -880,32 +880,32 @@
880
880
  }
881
881
  ],
882
882
  "expression": {
883
- "id": 43566,
883
+ "id": 43985,
884
884
  "name": "Bytes",
885
885
  "nodeType": "Identifier",
886
886
  "overloadedDeclarations": [],
887
- "referencedDeclaration": 43260,
887
+ "referencedDeclaration": 43667,
888
888
  "src": "1078:5:50",
889
889
  "typeDescriptions": {
890
- "typeIdentifier": "t_type$_t_contract$_Bytes_$43260_$",
890
+ "typeIdentifier": "t_type$_t_contract$_Bytes_$43667_$",
891
891
  "typeString": "type(library Bytes)"
892
892
  }
893
893
  },
894
- "id": 43567,
894
+ "id": 43986,
895
895
  "isConstant": false,
896
896
  "isLValue": false,
897
897
  "isPure": false,
898
898
  "lValueRequested": false,
899
899
  "memberName": "setBytes4",
900
900
  "nodeType": "MemberAccess",
901
- "referencedDeclaration": 42667,
901
+ "referencedDeclaration": 43074,
902
902
  "src": "1078:15:50",
903
903
  "typeDescriptions": {
904
904
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint256_$_t_bytes4_$returns$_t_bytes32_$",
905
905
  "typeString": "function (bytes32,uint256,bytes4) pure returns (bytes32)"
906
906
  }
907
907
  },
908
- "id": 43574,
908
+ "id": 43993,
909
909
  "isConstant": false,
910
910
  "isLValue": false,
911
911
  "isPure": false,
@@ -926,7 +926,7 @@
926
926
  "typeString": "bytes32"
927
927
  }
928
928
  },
929
- "id": 43576,
929
+ "id": 43995,
930
930
  "nodeType": "ExpressionStatement",
931
931
  "src": "1062:70:50"
932
932
  },
@@ -934,11 +934,11 @@
934
934
  "expression": {
935
935
  "arguments": [
936
936
  {
937
- "id": 43579,
937
+ "id": 43998,
938
938
  "name": "packedCounter",
939
939
  "nodeType": "Identifier",
940
940
  "overloadedDeclarations": [],
941
- "referencedDeclaration": 43523,
941
+ "referencedDeclaration": 43942,
942
942
  "src": "1165:13:50",
943
943
  "typeDescriptions": {
944
944
  "typeIdentifier": "t_bytes32",
@@ -954,18 +954,18 @@
954
954
  }
955
955
  ],
956
956
  "expression": {
957
- "id": 43577,
957
+ "id": 43996,
958
958
  "name": "PackedCounter",
959
959
  "nodeType": "Identifier",
960
960
  "overloadedDeclarations": [],
961
- "referencedDeclaration": 43508,
961
+ "referencedDeclaration": 43927,
962
962
  "src": "1146:13:50",
963
963
  "typeDescriptions": {
964
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43508_$",
964
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43927_$",
965
965
  "typeString": "type(PackedCounter)"
966
966
  }
967
967
  },
968
- "id": 43578,
968
+ "id": 43997,
969
969
  "isConstant": false,
970
970
  "isLValue": false,
971
971
  "isPure": true,
@@ -974,11 +974,11 @@
974
974
  "nodeType": "MemberAccess",
975
975
  "src": "1146:18:50",
976
976
  "typeDescriptions": {
977
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_PackedCounter_$43508_$",
977
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_PackedCounter_$43927_$",
978
978
  "typeString": "function (bytes32) pure returns (PackedCounter)"
979
979
  }
980
980
  },
981
- "id": 43580,
981
+ "id": 43999,
982
982
  "isConstant": false,
983
983
  "isLValue": false,
984
984
  "isPure": false,
@@ -989,19 +989,19 @@
989
989
  "src": "1146:33:50",
990
990
  "tryCall": false,
991
991
  "typeDescriptions": {
992
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
992
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
993
993
  "typeString": "PackedCounter"
994
994
  }
995
995
  },
996
- "functionReturnParameters": 43521,
997
- "id": 43581,
996
+ "functionReturnParameters": 43940,
997
+ "id": 44000,
998
998
  "nodeType": "Return",
999
999
  "src": "1139:40:50"
1000
1000
  }
1001
1001
  ]
1002
1002
  },
1003
1003
  "documentation": {
1004
- "id": 43513,
1004
+ "id": 43932,
1005
1005
  "nodeType": "StructuredDocumentation",
1006
1006
  "src": "461:157:50",
1007
1007
  "text": " Encode the given counters into a single packed counter\n - 4 bytes for the accumulated length\n - 2 bytes per counter -> max 14 counters"
@@ -1012,17 +1012,17 @@
1012
1012
  "name": "pack",
1013
1013
  "nameLocation": "630:4:50",
1014
1014
  "parameters": {
1015
- "id": 43517,
1015
+ "id": 43936,
1016
1016
  "nodeType": "ParameterList",
1017
1017
  "parameters": [
1018
1018
  {
1019
1019
  "constant": false,
1020
- "id": 43516,
1020
+ "id": 43935,
1021
1021
  "mutability": "mutable",
1022
1022
  "name": "counters",
1023
1023
  "nameLocation": "651:8:50",
1024
1024
  "nodeType": "VariableDeclaration",
1025
- "scope": 43583,
1025
+ "scope": 44002,
1026
1026
  "src": "635:24:50",
1027
1027
  "stateVariable": false,
1028
1028
  "storageLocation": "memory",
@@ -1032,7 +1032,7 @@
1032
1032
  },
1033
1033
  "typeName": {
1034
1034
  "baseType": {
1035
- "id": 43514,
1035
+ "id": 43933,
1036
1036
  "name": "uint16",
1037
1037
  "nodeType": "ElementaryTypeName",
1038
1038
  "src": "635:6:50",
@@ -1041,7 +1041,7 @@
1041
1041
  "typeString": "uint16"
1042
1042
  }
1043
1043
  },
1044
- "id": 43515,
1044
+ "id": 43934,
1045
1045
  "nodeType": "ArrayTypeName",
1046
1046
  "src": "635:8:50",
1047
1047
  "typeDescriptions": {
@@ -1055,38 +1055,38 @@
1055
1055
  "src": "634:26:50"
1056
1056
  },
1057
1057
  "returnParameters": {
1058
- "id": 43521,
1058
+ "id": 43940,
1059
1059
  "nodeType": "ParameterList",
1060
1060
  "parameters": [
1061
1061
  {
1062
1062
  "constant": false,
1063
- "id": 43520,
1063
+ "id": 43939,
1064
1064
  "mutability": "mutable",
1065
1065
  "name": "",
1066
1066
  "nameLocation": "-1:-1:-1",
1067
1067
  "nodeType": "VariableDeclaration",
1068
- "scope": 43583,
1068
+ "scope": 44002,
1069
1069
  "src": "684:13:50",
1070
1070
  "stateVariable": false,
1071
1071
  "storageLocation": "default",
1072
1072
  "typeDescriptions": {
1073
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
1073
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
1074
1074
  "typeString": "PackedCounter"
1075
1075
  },
1076
1076
  "typeName": {
1077
- "id": 43519,
1077
+ "id": 43938,
1078
1078
  "nodeType": "UserDefinedTypeName",
1079
1079
  "pathNode": {
1080
- "id": 43518,
1080
+ "id": 43937,
1081
1081
  "name": "PackedCounter",
1082
1082
  "nodeType": "IdentifierPath",
1083
- "referencedDeclaration": 43508,
1083
+ "referencedDeclaration": 43927,
1084
1084
  "src": "684:13:50"
1085
1085
  },
1086
- "referencedDeclaration": 43508,
1086
+ "referencedDeclaration": 43927,
1087
1087
  "src": "684:13:50",
1088
1088
  "typeDescriptions": {
1089
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
1089
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
1090
1090
  "typeString": "PackedCounter"
1091
1091
  }
1092
1092
  },
@@ -1095,35 +1095,35 @@
1095
1095
  ],
1096
1096
  "src": "683:15:50"
1097
1097
  },
1098
- "scope": 43924,
1098
+ "scope": 44343,
1099
1099
  "stateMutability": "pure",
1100
1100
  "virtual": false,
1101
1101
  "visibility": "internal"
1102
1102
  },
1103
1103
  {
1104
- "id": 43613,
1104
+ "id": 44032,
1105
1105
  "nodeType": "FunctionDefinition",
1106
1106
  "src": "1221:163:50",
1107
1107
  "nodes": [],
1108
1108
  "body": {
1109
- "id": 43612,
1109
+ "id": 44031,
1110
1110
  "nodeType": "Block",
1111
1111
  "src": "1283:101:50",
1112
1112
  "nodes": [],
1113
1113
  "statements": [
1114
1114
  {
1115
1115
  "assignments": [
1116
- 43595
1116
+ 44014
1117
1117
  ],
1118
1118
  "declarations": [
1119
1119
  {
1120
1120
  "constant": false,
1121
- "id": 43595,
1121
+ "id": 44014,
1122
1122
  "mutability": "mutable",
1123
1123
  "name": "counters",
1124
1124
  "nameLocation": "1305:8:50",
1125
1125
  "nodeType": "VariableDeclaration",
1126
- "scope": 43612,
1126
+ "scope": 44031,
1127
1127
  "src": "1289:24:50",
1128
1128
  "stateVariable": false,
1129
1129
  "storageLocation": "memory",
@@ -1133,7 +1133,7 @@
1133
1133
  },
1134
1134
  "typeName": {
1135
1135
  "baseType": {
1136
- "id": 43593,
1136
+ "id": 44012,
1137
1137
  "name": "uint16",
1138
1138
  "nodeType": "ElementaryTypeName",
1139
1139
  "src": "1289:6:50",
@@ -1142,7 +1142,7 @@
1142
1142
  "typeString": "uint16"
1143
1143
  }
1144
1144
  },
1145
- "id": 43594,
1145
+ "id": 44013,
1146
1146
  "nodeType": "ArrayTypeName",
1147
1147
  "src": "1289:8:50",
1148
1148
  "typeDescriptions": {
@@ -1153,12 +1153,12 @@
1153
1153
  "visibility": "internal"
1154
1154
  }
1155
1155
  ],
1156
- "id": 43601,
1156
+ "id": 44020,
1157
1157
  "initialValue": {
1158
1158
  "arguments": [
1159
1159
  {
1160
1160
  "hexValue": "31",
1161
- "id": 43599,
1161
+ "id": 44018,
1162
1162
  "isConstant": false,
1163
1163
  "isLValue": false,
1164
1164
  "isPure": true,
@@ -1180,7 +1180,7 @@
1180
1180
  "typeString": "int_const 1"
1181
1181
  }
1182
1182
  ],
1183
- "id": 43598,
1183
+ "id": 44017,
1184
1184
  "isConstant": false,
1185
1185
  "isLValue": false,
1186
1186
  "isPure": true,
@@ -1193,7 +1193,7 @@
1193
1193
  },
1194
1194
  "typeName": {
1195
1195
  "baseType": {
1196
- "id": 43596,
1196
+ "id": 44015,
1197
1197
  "name": "uint16",
1198
1198
  "nodeType": "ElementaryTypeName",
1199
1199
  "src": "1320:6:50",
@@ -1202,7 +1202,7 @@
1202
1202
  "typeString": "uint16"
1203
1203
  }
1204
1204
  },
1205
- "id": 43597,
1205
+ "id": 44016,
1206
1206
  "nodeType": "ArrayTypeName",
1207
1207
  "src": "1320:8:50",
1208
1208
  "typeDescriptions": {
@@ -1211,7 +1211,7 @@
1211
1211
  }
1212
1212
  }
1213
1213
  },
1214
- "id": 43600,
1214
+ "id": 44019,
1215
1215
  "isConstant": false,
1216
1216
  "isLValue": false,
1217
1217
  "isPure": true,
@@ -1231,28 +1231,28 @@
1231
1231
  },
1232
1232
  {
1233
1233
  "expression": {
1234
- "id": 43606,
1234
+ "id": 44025,
1235
1235
  "isConstant": false,
1236
1236
  "isLValue": false,
1237
1237
  "isPure": false,
1238
1238
  "lValueRequested": false,
1239
1239
  "leftHandSide": {
1240
1240
  "baseExpression": {
1241
- "id": 43602,
1241
+ "id": 44021,
1242
1242
  "name": "counters",
1243
1243
  "nodeType": "Identifier",
1244
1244
  "overloadedDeclarations": [],
1245
- "referencedDeclaration": 43595,
1245
+ "referencedDeclaration": 44014,
1246
1246
  "src": "1337:8:50",
1247
1247
  "typeDescriptions": {
1248
1248
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
1249
1249
  "typeString": "uint16[] memory"
1250
1250
  }
1251
1251
  },
1252
- "id": 43604,
1252
+ "id": 44023,
1253
1253
  "indexExpression": {
1254
1254
  "hexValue": "30",
1255
- "id": 43603,
1255
+ "id": 44022,
1256
1256
  "isConstant": false,
1257
1257
  "isLValue": false,
1258
1258
  "isPure": true,
@@ -1280,11 +1280,11 @@
1280
1280
  "nodeType": "Assignment",
1281
1281
  "operator": "=",
1282
1282
  "rightHandSide": {
1283
- "id": 43605,
1283
+ "id": 44024,
1284
1284
  "name": "a",
1285
1285
  "nodeType": "Identifier",
1286
1286
  "overloadedDeclarations": [],
1287
- "referencedDeclaration": 43585,
1287
+ "referencedDeclaration": 44004,
1288
1288
  "src": "1351:1:50",
1289
1289
  "typeDescriptions": {
1290
1290
  "typeIdentifier": "t_uint16",
@@ -1297,7 +1297,7 @@
1297
1297
  "typeString": "uint16"
1298
1298
  }
1299
1299
  },
1300
- "id": 43607,
1300
+ "id": 44026,
1301
1301
  "nodeType": "ExpressionStatement",
1302
1302
  "src": "1337:15:50"
1303
1303
  },
@@ -1305,11 +1305,11 @@
1305
1305
  "expression": {
1306
1306
  "arguments": [
1307
1307
  {
1308
- "id": 43609,
1308
+ "id": 44028,
1309
1309
  "name": "counters",
1310
1310
  "nodeType": "Identifier",
1311
1311
  "overloadedDeclarations": [],
1312
- "referencedDeclaration": 43595,
1312
+ "referencedDeclaration": 44014,
1313
1313
  "src": "1370:8:50",
1314
1314
  "typeDescriptions": {
1315
1315
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
@@ -1324,24 +1324,24 @@
1324
1324
  "typeString": "uint16[] memory"
1325
1325
  }
1326
1326
  ],
1327
- "id": 43608,
1327
+ "id": 44027,
1328
1328
  "name": "pack",
1329
1329
  "nodeType": "Identifier",
1330
1330
  "overloadedDeclarations": [
1331
- 43583,
1332
- 43613,
1333
- 43651,
1334
- 43697,
1335
- 43751
1331
+ 44002,
1332
+ 44032,
1333
+ 44070,
1334
+ 44116,
1335
+ 44170
1336
1336
  ],
1337
- "referencedDeclaration": 43583,
1337
+ "referencedDeclaration": 44002,
1338
1338
  "src": "1365:4:50",
1339
1339
  "typeDescriptions": {
1340
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$43508_$",
1340
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$43927_$",
1341
1341
  "typeString": "function (uint16[] memory) pure returns (PackedCounter)"
1342
1342
  }
1343
1343
  },
1344
- "id": 43610,
1344
+ "id": 44029,
1345
1345
  "isConstant": false,
1346
1346
  "isLValue": false,
1347
1347
  "isPure": false,
@@ -1352,12 +1352,12 @@
1352
1352
  "src": "1365:14:50",
1353
1353
  "tryCall": false,
1354
1354
  "typeDescriptions": {
1355
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
1355
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
1356
1356
  "typeString": "PackedCounter"
1357
1357
  }
1358
1358
  },
1359
- "functionReturnParameters": 43590,
1360
- "id": 43611,
1359
+ "functionReturnParameters": 44009,
1360
+ "id": 44030,
1361
1361
  "nodeType": "Return",
1362
1362
  "src": "1358:21:50"
1363
1363
  }
@@ -1369,17 +1369,17 @@
1369
1369
  "name": "pack",
1370
1370
  "nameLocation": "1230:4:50",
1371
1371
  "parameters": {
1372
- "id": 43586,
1372
+ "id": 44005,
1373
1373
  "nodeType": "ParameterList",
1374
1374
  "parameters": [
1375
1375
  {
1376
1376
  "constant": false,
1377
- "id": 43585,
1377
+ "id": 44004,
1378
1378
  "mutability": "mutable",
1379
1379
  "name": "a",
1380
1380
  "nameLocation": "1242:1:50",
1381
1381
  "nodeType": "VariableDeclaration",
1382
- "scope": 43613,
1382
+ "scope": 44032,
1383
1383
  "src": "1235:8:50",
1384
1384
  "stateVariable": false,
1385
1385
  "storageLocation": "default",
@@ -1388,7 +1388,7 @@
1388
1388
  "typeString": "uint16"
1389
1389
  },
1390
1390
  "typeName": {
1391
- "id": 43584,
1391
+ "id": 44003,
1392
1392
  "name": "uint16",
1393
1393
  "nodeType": "ElementaryTypeName",
1394
1394
  "src": "1235:6:50",
@@ -1403,38 +1403,38 @@
1403
1403
  "src": "1234:10:50"
1404
1404
  },
1405
1405
  "returnParameters": {
1406
- "id": 43590,
1406
+ "id": 44009,
1407
1407
  "nodeType": "ParameterList",
1408
1408
  "parameters": [
1409
1409
  {
1410
1410
  "constant": false,
1411
- "id": 43589,
1411
+ "id": 44008,
1412
1412
  "mutability": "mutable",
1413
1413
  "name": "",
1414
1414
  "nameLocation": "-1:-1:-1",
1415
1415
  "nodeType": "VariableDeclaration",
1416
- "scope": 43613,
1416
+ "scope": 44032,
1417
1417
  "src": "1268:13:50",
1418
1418
  "stateVariable": false,
1419
1419
  "storageLocation": "default",
1420
1420
  "typeDescriptions": {
1421
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
1421
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
1422
1422
  "typeString": "PackedCounter"
1423
1423
  },
1424
1424
  "typeName": {
1425
- "id": 43588,
1425
+ "id": 44007,
1426
1426
  "nodeType": "UserDefinedTypeName",
1427
1427
  "pathNode": {
1428
- "id": 43587,
1428
+ "id": 44006,
1429
1429
  "name": "PackedCounter",
1430
1430
  "nodeType": "IdentifierPath",
1431
- "referencedDeclaration": 43508,
1431
+ "referencedDeclaration": 43927,
1432
1432
  "src": "1268:13:50"
1433
1433
  },
1434
- "referencedDeclaration": 43508,
1434
+ "referencedDeclaration": 43927,
1435
1435
  "src": "1268:13:50",
1436
1436
  "typeDescriptions": {
1437
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
1437
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
1438
1438
  "typeString": "PackedCounter"
1439
1439
  }
1440
1440
  },
@@ -1443,35 +1443,35 @@
1443
1443
  ],
1444
1444
  "src": "1267:15:50"
1445
1445
  },
1446
- "scope": 43924,
1446
+ "scope": 44343,
1447
1447
  "stateMutability": "pure",
1448
1448
  "virtual": false,
1449
1449
  "visibility": "internal"
1450
1450
  },
1451
1451
  {
1452
- "id": 43651,
1452
+ "id": 44070,
1453
1453
  "nodeType": "FunctionDefinition",
1454
1454
  "src": "1388:194:50",
1455
1455
  "nodes": [],
1456
1456
  "body": {
1457
- "id": 43650,
1457
+ "id": 44069,
1458
1458
  "nodeType": "Block",
1459
1459
  "src": "1460:122:50",
1460
1460
  "nodes": [],
1461
1461
  "statements": [
1462
1462
  {
1463
1463
  "assignments": [
1464
- 43627
1464
+ 44046
1465
1465
  ],
1466
1466
  "declarations": [
1467
1467
  {
1468
1468
  "constant": false,
1469
- "id": 43627,
1469
+ "id": 44046,
1470
1470
  "mutability": "mutable",
1471
1471
  "name": "counters",
1472
1472
  "nameLocation": "1482:8:50",
1473
1473
  "nodeType": "VariableDeclaration",
1474
- "scope": 43650,
1474
+ "scope": 44069,
1475
1475
  "src": "1466:24:50",
1476
1476
  "stateVariable": false,
1477
1477
  "storageLocation": "memory",
@@ -1481,7 +1481,7 @@
1481
1481
  },
1482
1482
  "typeName": {
1483
1483
  "baseType": {
1484
- "id": 43625,
1484
+ "id": 44044,
1485
1485
  "name": "uint16",
1486
1486
  "nodeType": "ElementaryTypeName",
1487
1487
  "src": "1466:6:50",
@@ -1490,7 +1490,7 @@
1490
1490
  "typeString": "uint16"
1491
1491
  }
1492
1492
  },
1493
- "id": 43626,
1493
+ "id": 44045,
1494
1494
  "nodeType": "ArrayTypeName",
1495
1495
  "src": "1466:8:50",
1496
1496
  "typeDescriptions": {
@@ -1501,12 +1501,12 @@
1501
1501
  "visibility": "internal"
1502
1502
  }
1503
1503
  ],
1504
- "id": 43633,
1504
+ "id": 44052,
1505
1505
  "initialValue": {
1506
1506
  "arguments": [
1507
1507
  {
1508
1508
  "hexValue": "32",
1509
- "id": 43631,
1509
+ "id": 44050,
1510
1510
  "isConstant": false,
1511
1511
  "isLValue": false,
1512
1512
  "isPure": true,
@@ -1528,7 +1528,7 @@
1528
1528
  "typeString": "int_const 2"
1529
1529
  }
1530
1530
  ],
1531
- "id": 43630,
1531
+ "id": 44049,
1532
1532
  "isConstant": false,
1533
1533
  "isLValue": false,
1534
1534
  "isPure": true,
@@ -1541,7 +1541,7 @@
1541
1541
  },
1542
1542
  "typeName": {
1543
1543
  "baseType": {
1544
- "id": 43628,
1544
+ "id": 44047,
1545
1545
  "name": "uint16",
1546
1546
  "nodeType": "ElementaryTypeName",
1547
1547
  "src": "1497:6:50",
@@ -1550,7 +1550,7 @@
1550
1550
  "typeString": "uint16"
1551
1551
  }
1552
1552
  },
1553
- "id": 43629,
1553
+ "id": 44048,
1554
1554
  "nodeType": "ArrayTypeName",
1555
1555
  "src": "1497:8:50",
1556
1556
  "typeDescriptions": {
@@ -1559,7 +1559,7 @@
1559
1559
  }
1560
1560
  }
1561
1561
  },
1562
- "id": 43632,
1562
+ "id": 44051,
1563
1563
  "isConstant": false,
1564
1564
  "isLValue": false,
1565
1565
  "isPure": true,
@@ -1579,28 +1579,28 @@
1579
1579
  },
1580
1580
  {
1581
1581
  "expression": {
1582
- "id": 43638,
1582
+ "id": 44057,
1583
1583
  "isConstant": false,
1584
1584
  "isLValue": false,
1585
1585
  "isPure": false,
1586
1586
  "lValueRequested": false,
1587
1587
  "leftHandSide": {
1588
1588
  "baseExpression": {
1589
- "id": 43634,
1589
+ "id": 44053,
1590
1590
  "name": "counters",
1591
1591
  "nodeType": "Identifier",
1592
1592
  "overloadedDeclarations": [],
1593
- "referencedDeclaration": 43627,
1593
+ "referencedDeclaration": 44046,
1594
1594
  "src": "1514:8:50",
1595
1595
  "typeDescriptions": {
1596
1596
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
1597
1597
  "typeString": "uint16[] memory"
1598
1598
  }
1599
1599
  },
1600
- "id": 43636,
1600
+ "id": 44055,
1601
1601
  "indexExpression": {
1602
1602
  "hexValue": "30",
1603
- "id": 43635,
1603
+ "id": 44054,
1604
1604
  "isConstant": false,
1605
1605
  "isLValue": false,
1606
1606
  "isPure": true,
@@ -1628,11 +1628,11 @@
1628
1628
  "nodeType": "Assignment",
1629
1629
  "operator": "=",
1630
1630
  "rightHandSide": {
1631
- "id": 43637,
1631
+ "id": 44056,
1632
1632
  "name": "a",
1633
1633
  "nodeType": "Identifier",
1634
1634
  "overloadedDeclarations": [],
1635
- "referencedDeclaration": 43615,
1635
+ "referencedDeclaration": 44034,
1636
1636
  "src": "1528:1:50",
1637
1637
  "typeDescriptions": {
1638
1638
  "typeIdentifier": "t_uint16",
@@ -1645,34 +1645,34 @@
1645
1645
  "typeString": "uint16"
1646
1646
  }
1647
1647
  },
1648
- "id": 43639,
1648
+ "id": 44058,
1649
1649
  "nodeType": "ExpressionStatement",
1650
1650
  "src": "1514:15:50"
1651
1651
  },
1652
1652
  {
1653
1653
  "expression": {
1654
- "id": 43644,
1654
+ "id": 44063,
1655
1655
  "isConstant": false,
1656
1656
  "isLValue": false,
1657
1657
  "isPure": false,
1658
1658
  "lValueRequested": false,
1659
1659
  "leftHandSide": {
1660
1660
  "baseExpression": {
1661
- "id": 43640,
1661
+ "id": 44059,
1662
1662
  "name": "counters",
1663
1663
  "nodeType": "Identifier",
1664
1664
  "overloadedDeclarations": [],
1665
- "referencedDeclaration": 43627,
1665
+ "referencedDeclaration": 44046,
1666
1666
  "src": "1535:8:50",
1667
1667
  "typeDescriptions": {
1668
1668
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
1669
1669
  "typeString": "uint16[] memory"
1670
1670
  }
1671
1671
  },
1672
- "id": 43642,
1672
+ "id": 44061,
1673
1673
  "indexExpression": {
1674
1674
  "hexValue": "31",
1675
- "id": 43641,
1675
+ "id": 44060,
1676
1676
  "isConstant": false,
1677
1677
  "isLValue": false,
1678
1678
  "isPure": true,
@@ -1700,11 +1700,11 @@
1700
1700
  "nodeType": "Assignment",
1701
1701
  "operator": "=",
1702
1702
  "rightHandSide": {
1703
- "id": 43643,
1703
+ "id": 44062,
1704
1704
  "name": "b",
1705
1705
  "nodeType": "Identifier",
1706
1706
  "overloadedDeclarations": [],
1707
- "referencedDeclaration": 43617,
1707
+ "referencedDeclaration": 44036,
1708
1708
  "src": "1549:1:50",
1709
1709
  "typeDescriptions": {
1710
1710
  "typeIdentifier": "t_uint16",
@@ -1717,7 +1717,7 @@
1717
1717
  "typeString": "uint16"
1718
1718
  }
1719
1719
  },
1720
- "id": 43645,
1720
+ "id": 44064,
1721
1721
  "nodeType": "ExpressionStatement",
1722
1722
  "src": "1535:15:50"
1723
1723
  },
@@ -1725,11 +1725,11 @@
1725
1725
  "expression": {
1726
1726
  "arguments": [
1727
1727
  {
1728
- "id": 43647,
1728
+ "id": 44066,
1729
1729
  "name": "counters",
1730
1730
  "nodeType": "Identifier",
1731
1731
  "overloadedDeclarations": [],
1732
- "referencedDeclaration": 43627,
1732
+ "referencedDeclaration": 44046,
1733
1733
  "src": "1568:8:50",
1734
1734
  "typeDescriptions": {
1735
1735
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
@@ -1744,24 +1744,24 @@
1744
1744
  "typeString": "uint16[] memory"
1745
1745
  }
1746
1746
  ],
1747
- "id": 43646,
1747
+ "id": 44065,
1748
1748
  "name": "pack",
1749
1749
  "nodeType": "Identifier",
1750
1750
  "overloadedDeclarations": [
1751
- 43583,
1752
- 43613,
1753
- 43651,
1754
- 43697,
1755
- 43751
1751
+ 44002,
1752
+ 44032,
1753
+ 44070,
1754
+ 44116,
1755
+ 44170
1756
1756
  ],
1757
- "referencedDeclaration": 43583,
1757
+ "referencedDeclaration": 44002,
1758
1758
  "src": "1563:4:50",
1759
1759
  "typeDescriptions": {
1760
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$43508_$",
1760
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$43927_$",
1761
1761
  "typeString": "function (uint16[] memory) pure returns (PackedCounter)"
1762
1762
  }
1763
1763
  },
1764
- "id": 43648,
1764
+ "id": 44067,
1765
1765
  "isConstant": false,
1766
1766
  "isLValue": false,
1767
1767
  "isPure": false,
@@ -1772,12 +1772,12 @@
1772
1772
  "src": "1563:14:50",
1773
1773
  "tryCall": false,
1774
1774
  "typeDescriptions": {
1775
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
1775
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
1776
1776
  "typeString": "PackedCounter"
1777
1777
  }
1778
1778
  },
1779
- "functionReturnParameters": 43622,
1780
- "id": 43649,
1779
+ "functionReturnParameters": 44041,
1780
+ "id": 44068,
1781
1781
  "nodeType": "Return",
1782
1782
  "src": "1556:21:50"
1783
1783
  }
@@ -1789,17 +1789,17 @@
1789
1789
  "name": "pack",
1790
1790
  "nameLocation": "1397:4:50",
1791
1791
  "parameters": {
1792
- "id": 43618,
1792
+ "id": 44037,
1793
1793
  "nodeType": "ParameterList",
1794
1794
  "parameters": [
1795
1795
  {
1796
1796
  "constant": false,
1797
- "id": 43615,
1797
+ "id": 44034,
1798
1798
  "mutability": "mutable",
1799
1799
  "name": "a",
1800
1800
  "nameLocation": "1409:1:50",
1801
1801
  "nodeType": "VariableDeclaration",
1802
- "scope": 43651,
1802
+ "scope": 44070,
1803
1803
  "src": "1402:8:50",
1804
1804
  "stateVariable": false,
1805
1805
  "storageLocation": "default",
@@ -1808,7 +1808,7 @@
1808
1808
  "typeString": "uint16"
1809
1809
  },
1810
1810
  "typeName": {
1811
- "id": 43614,
1811
+ "id": 44033,
1812
1812
  "name": "uint16",
1813
1813
  "nodeType": "ElementaryTypeName",
1814
1814
  "src": "1402:6:50",
@@ -1821,12 +1821,12 @@
1821
1821
  },
1822
1822
  {
1823
1823
  "constant": false,
1824
- "id": 43617,
1824
+ "id": 44036,
1825
1825
  "mutability": "mutable",
1826
1826
  "name": "b",
1827
1827
  "nameLocation": "1419:1:50",
1828
1828
  "nodeType": "VariableDeclaration",
1829
- "scope": 43651,
1829
+ "scope": 44070,
1830
1830
  "src": "1412:8:50",
1831
1831
  "stateVariable": false,
1832
1832
  "storageLocation": "default",
@@ -1835,7 +1835,7 @@
1835
1835
  "typeString": "uint16"
1836
1836
  },
1837
1837
  "typeName": {
1838
- "id": 43616,
1838
+ "id": 44035,
1839
1839
  "name": "uint16",
1840
1840
  "nodeType": "ElementaryTypeName",
1841
1841
  "src": "1412:6:50",
@@ -1850,38 +1850,38 @@
1850
1850
  "src": "1401:20:50"
1851
1851
  },
1852
1852
  "returnParameters": {
1853
- "id": 43622,
1853
+ "id": 44041,
1854
1854
  "nodeType": "ParameterList",
1855
1855
  "parameters": [
1856
1856
  {
1857
1857
  "constant": false,
1858
- "id": 43621,
1858
+ "id": 44040,
1859
1859
  "mutability": "mutable",
1860
1860
  "name": "",
1861
1861
  "nameLocation": "-1:-1:-1",
1862
1862
  "nodeType": "VariableDeclaration",
1863
- "scope": 43651,
1863
+ "scope": 44070,
1864
1864
  "src": "1445:13:50",
1865
1865
  "stateVariable": false,
1866
1866
  "storageLocation": "default",
1867
1867
  "typeDescriptions": {
1868
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
1868
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
1869
1869
  "typeString": "PackedCounter"
1870
1870
  },
1871
1871
  "typeName": {
1872
- "id": 43620,
1872
+ "id": 44039,
1873
1873
  "nodeType": "UserDefinedTypeName",
1874
1874
  "pathNode": {
1875
- "id": 43619,
1875
+ "id": 44038,
1876
1876
  "name": "PackedCounter",
1877
1877
  "nodeType": "IdentifierPath",
1878
- "referencedDeclaration": 43508,
1878
+ "referencedDeclaration": 43927,
1879
1879
  "src": "1445:13:50"
1880
1880
  },
1881
- "referencedDeclaration": 43508,
1881
+ "referencedDeclaration": 43927,
1882
1882
  "src": "1445:13:50",
1883
1883
  "typeDescriptions": {
1884
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
1884
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
1885
1885
  "typeString": "PackedCounter"
1886
1886
  }
1887
1887
  },
@@ -1890,35 +1890,35 @@
1890
1890
  ],
1891
1891
  "src": "1444:15:50"
1892
1892
  },
1893
- "scope": 43924,
1893
+ "scope": 44343,
1894
1894
  "stateMutability": "pure",
1895
1895
  "virtual": false,
1896
1896
  "visibility": "internal"
1897
1897
  },
1898
1898
  {
1899
- "id": 43697,
1899
+ "id": 44116,
1900
1900
  "nodeType": "FunctionDefinition",
1901
1901
  "src": "1586:241:50",
1902
1902
  "nodes": [],
1903
1903
  "body": {
1904
- "id": 43696,
1904
+ "id": 44115,
1905
1905
  "nodeType": "Block",
1906
1906
  "src": "1684:143:50",
1907
1907
  "nodes": [],
1908
1908
  "statements": [
1909
1909
  {
1910
1910
  "assignments": [
1911
- 43667
1911
+ 44086
1912
1912
  ],
1913
1913
  "declarations": [
1914
1914
  {
1915
1915
  "constant": false,
1916
- "id": 43667,
1916
+ "id": 44086,
1917
1917
  "mutability": "mutable",
1918
1918
  "name": "counters",
1919
1919
  "nameLocation": "1706:8:50",
1920
1920
  "nodeType": "VariableDeclaration",
1921
- "scope": 43696,
1921
+ "scope": 44115,
1922
1922
  "src": "1690:24:50",
1923
1923
  "stateVariable": false,
1924
1924
  "storageLocation": "memory",
@@ -1928,7 +1928,7 @@
1928
1928
  },
1929
1929
  "typeName": {
1930
1930
  "baseType": {
1931
- "id": 43665,
1931
+ "id": 44084,
1932
1932
  "name": "uint16",
1933
1933
  "nodeType": "ElementaryTypeName",
1934
1934
  "src": "1690:6:50",
@@ -1937,7 +1937,7 @@
1937
1937
  "typeString": "uint16"
1938
1938
  }
1939
1939
  },
1940
- "id": 43666,
1940
+ "id": 44085,
1941
1941
  "nodeType": "ArrayTypeName",
1942
1942
  "src": "1690:8:50",
1943
1943
  "typeDescriptions": {
@@ -1948,12 +1948,12 @@
1948
1948
  "visibility": "internal"
1949
1949
  }
1950
1950
  ],
1951
- "id": 43673,
1951
+ "id": 44092,
1952
1952
  "initialValue": {
1953
1953
  "arguments": [
1954
1954
  {
1955
1955
  "hexValue": "33",
1956
- "id": 43671,
1956
+ "id": 44090,
1957
1957
  "isConstant": false,
1958
1958
  "isLValue": false,
1959
1959
  "isPure": true,
@@ -1975,7 +1975,7 @@
1975
1975
  "typeString": "int_const 3"
1976
1976
  }
1977
1977
  ],
1978
- "id": 43670,
1978
+ "id": 44089,
1979
1979
  "isConstant": false,
1980
1980
  "isLValue": false,
1981
1981
  "isPure": true,
@@ -1988,7 +1988,7 @@
1988
1988
  },
1989
1989
  "typeName": {
1990
1990
  "baseType": {
1991
- "id": 43668,
1991
+ "id": 44087,
1992
1992
  "name": "uint16",
1993
1993
  "nodeType": "ElementaryTypeName",
1994
1994
  "src": "1721:6:50",
@@ -1997,7 +1997,7 @@
1997
1997
  "typeString": "uint16"
1998
1998
  }
1999
1999
  },
2000
- "id": 43669,
2000
+ "id": 44088,
2001
2001
  "nodeType": "ArrayTypeName",
2002
2002
  "src": "1721:8:50",
2003
2003
  "typeDescriptions": {
@@ -2006,7 +2006,7 @@
2006
2006
  }
2007
2007
  }
2008
2008
  },
2009
- "id": 43672,
2009
+ "id": 44091,
2010
2010
  "isConstant": false,
2011
2011
  "isLValue": false,
2012
2012
  "isPure": true,
@@ -2026,28 +2026,28 @@
2026
2026
  },
2027
2027
  {
2028
2028
  "expression": {
2029
- "id": 43678,
2029
+ "id": 44097,
2030
2030
  "isConstant": false,
2031
2031
  "isLValue": false,
2032
2032
  "isPure": false,
2033
2033
  "lValueRequested": false,
2034
2034
  "leftHandSide": {
2035
2035
  "baseExpression": {
2036
- "id": 43674,
2036
+ "id": 44093,
2037
2037
  "name": "counters",
2038
2038
  "nodeType": "Identifier",
2039
2039
  "overloadedDeclarations": [],
2040
- "referencedDeclaration": 43667,
2040
+ "referencedDeclaration": 44086,
2041
2041
  "src": "1738:8:50",
2042
2042
  "typeDescriptions": {
2043
2043
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2044
2044
  "typeString": "uint16[] memory"
2045
2045
  }
2046
2046
  },
2047
- "id": 43676,
2047
+ "id": 44095,
2048
2048
  "indexExpression": {
2049
2049
  "hexValue": "30",
2050
- "id": 43675,
2050
+ "id": 44094,
2051
2051
  "isConstant": false,
2052
2052
  "isLValue": false,
2053
2053
  "isPure": true,
@@ -2075,11 +2075,11 @@
2075
2075
  "nodeType": "Assignment",
2076
2076
  "operator": "=",
2077
2077
  "rightHandSide": {
2078
- "id": 43677,
2078
+ "id": 44096,
2079
2079
  "name": "a",
2080
2080
  "nodeType": "Identifier",
2081
2081
  "overloadedDeclarations": [],
2082
- "referencedDeclaration": 43653,
2082
+ "referencedDeclaration": 44072,
2083
2083
  "src": "1752:1:50",
2084
2084
  "typeDescriptions": {
2085
2085
  "typeIdentifier": "t_uint16",
@@ -2092,34 +2092,34 @@
2092
2092
  "typeString": "uint16"
2093
2093
  }
2094
2094
  },
2095
- "id": 43679,
2095
+ "id": 44098,
2096
2096
  "nodeType": "ExpressionStatement",
2097
2097
  "src": "1738:15:50"
2098
2098
  },
2099
2099
  {
2100
2100
  "expression": {
2101
- "id": 43684,
2101
+ "id": 44103,
2102
2102
  "isConstant": false,
2103
2103
  "isLValue": false,
2104
2104
  "isPure": false,
2105
2105
  "lValueRequested": false,
2106
2106
  "leftHandSide": {
2107
2107
  "baseExpression": {
2108
- "id": 43680,
2108
+ "id": 44099,
2109
2109
  "name": "counters",
2110
2110
  "nodeType": "Identifier",
2111
2111
  "overloadedDeclarations": [],
2112
- "referencedDeclaration": 43667,
2112
+ "referencedDeclaration": 44086,
2113
2113
  "src": "1759:8:50",
2114
2114
  "typeDescriptions": {
2115
2115
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2116
2116
  "typeString": "uint16[] memory"
2117
2117
  }
2118
2118
  },
2119
- "id": 43682,
2119
+ "id": 44101,
2120
2120
  "indexExpression": {
2121
2121
  "hexValue": "31",
2122
- "id": 43681,
2122
+ "id": 44100,
2123
2123
  "isConstant": false,
2124
2124
  "isLValue": false,
2125
2125
  "isPure": true,
@@ -2147,11 +2147,11 @@
2147
2147
  "nodeType": "Assignment",
2148
2148
  "operator": "=",
2149
2149
  "rightHandSide": {
2150
- "id": 43683,
2150
+ "id": 44102,
2151
2151
  "name": "b",
2152
2152
  "nodeType": "Identifier",
2153
2153
  "overloadedDeclarations": [],
2154
- "referencedDeclaration": 43655,
2154
+ "referencedDeclaration": 44074,
2155
2155
  "src": "1773:1:50",
2156
2156
  "typeDescriptions": {
2157
2157
  "typeIdentifier": "t_uint16",
@@ -2164,34 +2164,34 @@
2164
2164
  "typeString": "uint16"
2165
2165
  }
2166
2166
  },
2167
- "id": 43685,
2167
+ "id": 44104,
2168
2168
  "nodeType": "ExpressionStatement",
2169
2169
  "src": "1759:15:50"
2170
2170
  },
2171
2171
  {
2172
2172
  "expression": {
2173
- "id": 43690,
2173
+ "id": 44109,
2174
2174
  "isConstant": false,
2175
2175
  "isLValue": false,
2176
2176
  "isPure": false,
2177
2177
  "lValueRequested": false,
2178
2178
  "leftHandSide": {
2179
2179
  "baseExpression": {
2180
- "id": 43686,
2180
+ "id": 44105,
2181
2181
  "name": "counters",
2182
2182
  "nodeType": "Identifier",
2183
2183
  "overloadedDeclarations": [],
2184
- "referencedDeclaration": 43667,
2184
+ "referencedDeclaration": 44086,
2185
2185
  "src": "1780:8:50",
2186
2186
  "typeDescriptions": {
2187
2187
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2188
2188
  "typeString": "uint16[] memory"
2189
2189
  }
2190
2190
  },
2191
- "id": 43688,
2191
+ "id": 44107,
2192
2192
  "indexExpression": {
2193
2193
  "hexValue": "32",
2194
- "id": 43687,
2194
+ "id": 44106,
2195
2195
  "isConstant": false,
2196
2196
  "isLValue": false,
2197
2197
  "isPure": true,
@@ -2219,11 +2219,11 @@
2219
2219
  "nodeType": "Assignment",
2220
2220
  "operator": "=",
2221
2221
  "rightHandSide": {
2222
- "id": 43689,
2222
+ "id": 44108,
2223
2223
  "name": "c",
2224
2224
  "nodeType": "Identifier",
2225
2225
  "overloadedDeclarations": [],
2226
- "referencedDeclaration": 43657,
2226
+ "referencedDeclaration": 44076,
2227
2227
  "src": "1794:1:50",
2228
2228
  "typeDescriptions": {
2229
2229
  "typeIdentifier": "t_uint16",
@@ -2236,7 +2236,7 @@
2236
2236
  "typeString": "uint16"
2237
2237
  }
2238
2238
  },
2239
- "id": 43691,
2239
+ "id": 44110,
2240
2240
  "nodeType": "ExpressionStatement",
2241
2241
  "src": "1780:15:50"
2242
2242
  },
@@ -2244,11 +2244,11 @@
2244
2244
  "expression": {
2245
2245
  "arguments": [
2246
2246
  {
2247
- "id": 43693,
2247
+ "id": 44112,
2248
2248
  "name": "counters",
2249
2249
  "nodeType": "Identifier",
2250
2250
  "overloadedDeclarations": [],
2251
- "referencedDeclaration": 43667,
2251
+ "referencedDeclaration": 44086,
2252
2252
  "src": "1813:8:50",
2253
2253
  "typeDescriptions": {
2254
2254
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
@@ -2263,24 +2263,24 @@
2263
2263
  "typeString": "uint16[] memory"
2264
2264
  }
2265
2265
  ],
2266
- "id": 43692,
2266
+ "id": 44111,
2267
2267
  "name": "pack",
2268
2268
  "nodeType": "Identifier",
2269
2269
  "overloadedDeclarations": [
2270
- 43583,
2271
- 43613,
2272
- 43651,
2273
- 43697,
2274
- 43751
2270
+ 44002,
2271
+ 44032,
2272
+ 44070,
2273
+ 44116,
2274
+ 44170
2275
2275
  ],
2276
- "referencedDeclaration": 43583,
2276
+ "referencedDeclaration": 44002,
2277
2277
  "src": "1808:4:50",
2278
2278
  "typeDescriptions": {
2279
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$43508_$",
2279
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$43927_$",
2280
2280
  "typeString": "function (uint16[] memory) pure returns (PackedCounter)"
2281
2281
  }
2282
2282
  },
2283
- "id": 43694,
2283
+ "id": 44113,
2284
2284
  "isConstant": false,
2285
2285
  "isLValue": false,
2286
2286
  "isPure": false,
@@ -2291,12 +2291,12 @@
2291
2291
  "src": "1808:14:50",
2292
2292
  "tryCall": false,
2293
2293
  "typeDescriptions": {
2294
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
2294
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
2295
2295
  "typeString": "PackedCounter"
2296
2296
  }
2297
2297
  },
2298
- "functionReturnParameters": 43662,
2299
- "id": 43695,
2298
+ "functionReturnParameters": 44081,
2299
+ "id": 44114,
2300
2300
  "nodeType": "Return",
2301
2301
  "src": "1801:21:50"
2302
2302
  }
@@ -2308,17 +2308,17 @@
2308
2308
  "name": "pack",
2309
2309
  "nameLocation": "1595:4:50",
2310
2310
  "parameters": {
2311
- "id": 43658,
2311
+ "id": 44077,
2312
2312
  "nodeType": "ParameterList",
2313
2313
  "parameters": [
2314
2314
  {
2315
2315
  "constant": false,
2316
- "id": 43653,
2316
+ "id": 44072,
2317
2317
  "mutability": "mutable",
2318
2318
  "name": "a",
2319
2319
  "nameLocation": "1612:1:50",
2320
2320
  "nodeType": "VariableDeclaration",
2321
- "scope": 43697,
2321
+ "scope": 44116,
2322
2322
  "src": "1605:8:50",
2323
2323
  "stateVariable": false,
2324
2324
  "storageLocation": "default",
@@ -2327,7 +2327,7 @@
2327
2327
  "typeString": "uint16"
2328
2328
  },
2329
2329
  "typeName": {
2330
- "id": 43652,
2330
+ "id": 44071,
2331
2331
  "name": "uint16",
2332
2332
  "nodeType": "ElementaryTypeName",
2333
2333
  "src": "1605:6:50",
@@ -2340,12 +2340,12 @@
2340
2340
  },
2341
2341
  {
2342
2342
  "constant": false,
2343
- "id": 43655,
2343
+ "id": 44074,
2344
2344
  "mutability": "mutable",
2345
2345
  "name": "b",
2346
2346
  "nameLocation": "1626:1:50",
2347
2347
  "nodeType": "VariableDeclaration",
2348
- "scope": 43697,
2348
+ "scope": 44116,
2349
2349
  "src": "1619:8:50",
2350
2350
  "stateVariable": false,
2351
2351
  "storageLocation": "default",
@@ -2354,7 +2354,7 @@
2354
2354
  "typeString": "uint16"
2355
2355
  },
2356
2356
  "typeName": {
2357
- "id": 43654,
2357
+ "id": 44073,
2358
2358
  "name": "uint16",
2359
2359
  "nodeType": "ElementaryTypeName",
2360
2360
  "src": "1619:6:50",
@@ -2367,12 +2367,12 @@
2367
2367
  },
2368
2368
  {
2369
2369
  "constant": false,
2370
- "id": 43657,
2370
+ "id": 44076,
2371
2371
  "mutability": "mutable",
2372
2372
  "name": "c",
2373
2373
  "nameLocation": "1640:1:50",
2374
2374
  "nodeType": "VariableDeclaration",
2375
- "scope": 43697,
2375
+ "scope": 44116,
2376
2376
  "src": "1633:8:50",
2377
2377
  "stateVariable": false,
2378
2378
  "storageLocation": "default",
@@ -2381,7 +2381,7 @@
2381
2381
  "typeString": "uint16"
2382
2382
  },
2383
2383
  "typeName": {
2384
- "id": 43656,
2384
+ "id": 44075,
2385
2385
  "name": "uint16",
2386
2386
  "nodeType": "ElementaryTypeName",
2387
2387
  "src": "1633:6:50",
@@ -2396,38 +2396,38 @@
2396
2396
  "src": "1599:46:50"
2397
2397
  },
2398
2398
  "returnParameters": {
2399
- "id": 43662,
2399
+ "id": 44081,
2400
2400
  "nodeType": "ParameterList",
2401
2401
  "parameters": [
2402
2402
  {
2403
2403
  "constant": false,
2404
- "id": 43661,
2404
+ "id": 44080,
2405
2405
  "mutability": "mutable",
2406
2406
  "name": "",
2407
2407
  "nameLocation": "-1:-1:-1",
2408
2408
  "nodeType": "VariableDeclaration",
2409
- "scope": 43697,
2409
+ "scope": 44116,
2410
2410
  "src": "1669:13:50",
2411
2411
  "stateVariable": false,
2412
2412
  "storageLocation": "default",
2413
2413
  "typeDescriptions": {
2414
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
2414
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
2415
2415
  "typeString": "PackedCounter"
2416
2416
  },
2417
2417
  "typeName": {
2418
- "id": 43660,
2418
+ "id": 44079,
2419
2419
  "nodeType": "UserDefinedTypeName",
2420
2420
  "pathNode": {
2421
- "id": 43659,
2421
+ "id": 44078,
2422
2422
  "name": "PackedCounter",
2423
2423
  "nodeType": "IdentifierPath",
2424
- "referencedDeclaration": 43508,
2424
+ "referencedDeclaration": 43927,
2425
2425
  "src": "1669:13:50"
2426
2426
  },
2427
- "referencedDeclaration": 43508,
2427
+ "referencedDeclaration": 43927,
2428
2428
  "src": "1669:13:50",
2429
2429
  "typeDescriptions": {
2430
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
2430
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
2431
2431
  "typeString": "PackedCounter"
2432
2432
  }
2433
2433
  },
@@ -2436,35 +2436,35 @@
2436
2436
  ],
2437
2437
  "src": "1668:15:50"
2438
2438
  },
2439
- "scope": 43924,
2439
+ "scope": 44343,
2440
2440
  "stateMutability": "pure",
2441
2441
  "virtual": false,
2442
2442
  "visibility": "internal"
2443
2443
  },
2444
2444
  {
2445
- "id": 43751,
2445
+ "id": 44170,
2446
2446
  "nodeType": "FunctionDefinition",
2447
2447
  "src": "1831:276:50",
2448
2448
  "nodes": [],
2449
2449
  "body": {
2450
- "id": 43750,
2450
+ "id": 44169,
2451
2451
  "nodeType": "Block",
2452
2452
  "src": "1943:164:50",
2453
2453
  "nodes": [],
2454
2454
  "statements": [
2455
2455
  {
2456
2456
  "assignments": [
2457
- 43715
2457
+ 44134
2458
2458
  ],
2459
2459
  "declarations": [
2460
2460
  {
2461
2461
  "constant": false,
2462
- "id": 43715,
2462
+ "id": 44134,
2463
2463
  "mutability": "mutable",
2464
2464
  "name": "counters",
2465
2465
  "nameLocation": "1965:8:50",
2466
2466
  "nodeType": "VariableDeclaration",
2467
- "scope": 43750,
2467
+ "scope": 44169,
2468
2468
  "src": "1949:24:50",
2469
2469
  "stateVariable": false,
2470
2470
  "storageLocation": "memory",
@@ -2474,7 +2474,7 @@
2474
2474
  },
2475
2475
  "typeName": {
2476
2476
  "baseType": {
2477
- "id": 43713,
2477
+ "id": 44132,
2478
2478
  "name": "uint16",
2479
2479
  "nodeType": "ElementaryTypeName",
2480
2480
  "src": "1949:6:50",
@@ -2483,7 +2483,7 @@
2483
2483
  "typeString": "uint16"
2484
2484
  }
2485
2485
  },
2486
- "id": 43714,
2486
+ "id": 44133,
2487
2487
  "nodeType": "ArrayTypeName",
2488
2488
  "src": "1949:8:50",
2489
2489
  "typeDescriptions": {
@@ -2494,12 +2494,12 @@
2494
2494
  "visibility": "internal"
2495
2495
  }
2496
2496
  ],
2497
- "id": 43721,
2497
+ "id": 44140,
2498
2498
  "initialValue": {
2499
2499
  "arguments": [
2500
2500
  {
2501
2501
  "hexValue": "34",
2502
- "id": 43719,
2502
+ "id": 44138,
2503
2503
  "isConstant": false,
2504
2504
  "isLValue": false,
2505
2505
  "isPure": true,
@@ -2521,7 +2521,7 @@
2521
2521
  "typeString": "int_const 4"
2522
2522
  }
2523
2523
  ],
2524
- "id": 43718,
2524
+ "id": 44137,
2525
2525
  "isConstant": false,
2526
2526
  "isLValue": false,
2527
2527
  "isPure": true,
@@ -2534,7 +2534,7 @@
2534
2534
  },
2535
2535
  "typeName": {
2536
2536
  "baseType": {
2537
- "id": 43716,
2537
+ "id": 44135,
2538
2538
  "name": "uint16",
2539
2539
  "nodeType": "ElementaryTypeName",
2540
2540
  "src": "1980:6:50",
@@ -2543,7 +2543,7 @@
2543
2543
  "typeString": "uint16"
2544
2544
  }
2545
2545
  },
2546
- "id": 43717,
2546
+ "id": 44136,
2547
2547
  "nodeType": "ArrayTypeName",
2548
2548
  "src": "1980:8:50",
2549
2549
  "typeDescriptions": {
@@ -2552,7 +2552,7 @@
2552
2552
  }
2553
2553
  }
2554
2554
  },
2555
- "id": 43720,
2555
+ "id": 44139,
2556
2556
  "isConstant": false,
2557
2557
  "isLValue": false,
2558
2558
  "isPure": true,
@@ -2572,28 +2572,28 @@
2572
2572
  },
2573
2573
  {
2574
2574
  "expression": {
2575
- "id": 43726,
2575
+ "id": 44145,
2576
2576
  "isConstant": false,
2577
2577
  "isLValue": false,
2578
2578
  "isPure": false,
2579
2579
  "lValueRequested": false,
2580
2580
  "leftHandSide": {
2581
2581
  "baseExpression": {
2582
- "id": 43722,
2582
+ "id": 44141,
2583
2583
  "name": "counters",
2584
2584
  "nodeType": "Identifier",
2585
2585
  "overloadedDeclarations": [],
2586
- "referencedDeclaration": 43715,
2586
+ "referencedDeclaration": 44134,
2587
2587
  "src": "1997:8:50",
2588
2588
  "typeDescriptions": {
2589
2589
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2590
2590
  "typeString": "uint16[] memory"
2591
2591
  }
2592
2592
  },
2593
- "id": 43724,
2593
+ "id": 44143,
2594
2594
  "indexExpression": {
2595
2595
  "hexValue": "30",
2596
- "id": 43723,
2596
+ "id": 44142,
2597
2597
  "isConstant": false,
2598
2598
  "isLValue": false,
2599
2599
  "isPure": true,
@@ -2621,11 +2621,11 @@
2621
2621
  "nodeType": "Assignment",
2622
2622
  "operator": "=",
2623
2623
  "rightHandSide": {
2624
- "id": 43725,
2624
+ "id": 44144,
2625
2625
  "name": "a",
2626
2626
  "nodeType": "Identifier",
2627
2627
  "overloadedDeclarations": [],
2628
- "referencedDeclaration": 43699,
2628
+ "referencedDeclaration": 44118,
2629
2629
  "src": "2011:1:50",
2630
2630
  "typeDescriptions": {
2631
2631
  "typeIdentifier": "t_uint16",
@@ -2638,34 +2638,34 @@
2638
2638
  "typeString": "uint16"
2639
2639
  }
2640
2640
  },
2641
- "id": 43727,
2641
+ "id": 44146,
2642
2642
  "nodeType": "ExpressionStatement",
2643
2643
  "src": "1997:15:50"
2644
2644
  },
2645
2645
  {
2646
2646
  "expression": {
2647
- "id": 43732,
2647
+ "id": 44151,
2648
2648
  "isConstant": false,
2649
2649
  "isLValue": false,
2650
2650
  "isPure": false,
2651
2651
  "lValueRequested": false,
2652
2652
  "leftHandSide": {
2653
2653
  "baseExpression": {
2654
- "id": 43728,
2654
+ "id": 44147,
2655
2655
  "name": "counters",
2656
2656
  "nodeType": "Identifier",
2657
2657
  "overloadedDeclarations": [],
2658
- "referencedDeclaration": 43715,
2658
+ "referencedDeclaration": 44134,
2659
2659
  "src": "2018:8:50",
2660
2660
  "typeDescriptions": {
2661
2661
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2662
2662
  "typeString": "uint16[] memory"
2663
2663
  }
2664
2664
  },
2665
- "id": 43730,
2665
+ "id": 44149,
2666
2666
  "indexExpression": {
2667
2667
  "hexValue": "31",
2668
- "id": 43729,
2668
+ "id": 44148,
2669
2669
  "isConstant": false,
2670
2670
  "isLValue": false,
2671
2671
  "isPure": true,
@@ -2693,11 +2693,11 @@
2693
2693
  "nodeType": "Assignment",
2694
2694
  "operator": "=",
2695
2695
  "rightHandSide": {
2696
- "id": 43731,
2696
+ "id": 44150,
2697
2697
  "name": "b",
2698
2698
  "nodeType": "Identifier",
2699
2699
  "overloadedDeclarations": [],
2700
- "referencedDeclaration": 43701,
2700
+ "referencedDeclaration": 44120,
2701
2701
  "src": "2032:1:50",
2702
2702
  "typeDescriptions": {
2703
2703
  "typeIdentifier": "t_uint16",
@@ -2710,34 +2710,34 @@
2710
2710
  "typeString": "uint16"
2711
2711
  }
2712
2712
  },
2713
- "id": 43733,
2713
+ "id": 44152,
2714
2714
  "nodeType": "ExpressionStatement",
2715
2715
  "src": "2018:15:50"
2716
2716
  },
2717
2717
  {
2718
2718
  "expression": {
2719
- "id": 43738,
2719
+ "id": 44157,
2720
2720
  "isConstant": false,
2721
2721
  "isLValue": false,
2722
2722
  "isPure": false,
2723
2723
  "lValueRequested": false,
2724
2724
  "leftHandSide": {
2725
2725
  "baseExpression": {
2726
- "id": 43734,
2726
+ "id": 44153,
2727
2727
  "name": "counters",
2728
2728
  "nodeType": "Identifier",
2729
2729
  "overloadedDeclarations": [],
2730
- "referencedDeclaration": 43715,
2730
+ "referencedDeclaration": 44134,
2731
2731
  "src": "2039:8:50",
2732
2732
  "typeDescriptions": {
2733
2733
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2734
2734
  "typeString": "uint16[] memory"
2735
2735
  }
2736
2736
  },
2737
- "id": 43736,
2737
+ "id": 44155,
2738
2738
  "indexExpression": {
2739
2739
  "hexValue": "32",
2740
- "id": 43735,
2740
+ "id": 44154,
2741
2741
  "isConstant": false,
2742
2742
  "isLValue": false,
2743
2743
  "isPure": true,
@@ -2765,11 +2765,11 @@
2765
2765
  "nodeType": "Assignment",
2766
2766
  "operator": "=",
2767
2767
  "rightHandSide": {
2768
- "id": 43737,
2768
+ "id": 44156,
2769
2769
  "name": "c",
2770
2770
  "nodeType": "Identifier",
2771
2771
  "overloadedDeclarations": [],
2772
- "referencedDeclaration": 43703,
2772
+ "referencedDeclaration": 44122,
2773
2773
  "src": "2053:1:50",
2774
2774
  "typeDescriptions": {
2775
2775
  "typeIdentifier": "t_uint16",
@@ -2782,34 +2782,34 @@
2782
2782
  "typeString": "uint16"
2783
2783
  }
2784
2784
  },
2785
- "id": 43739,
2785
+ "id": 44158,
2786
2786
  "nodeType": "ExpressionStatement",
2787
2787
  "src": "2039:15:50"
2788
2788
  },
2789
2789
  {
2790
2790
  "expression": {
2791
- "id": 43744,
2791
+ "id": 44163,
2792
2792
  "isConstant": false,
2793
2793
  "isLValue": false,
2794
2794
  "isPure": false,
2795
2795
  "lValueRequested": false,
2796
2796
  "leftHandSide": {
2797
2797
  "baseExpression": {
2798
- "id": 43740,
2798
+ "id": 44159,
2799
2799
  "name": "counters",
2800
2800
  "nodeType": "Identifier",
2801
2801
  "overloadedDeclarations": [],
2802
- "referencedDeclaration": 43715,
2802
+ "referencedDeclaration": 44134,
2803
2803
  "src": "2060:8:50",
2804
2804
  "typeDescriptions": {
2805
2805
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2806
2806
  "typeString": "uint16[] memory"
2807
2807
  }
2808
2808
  },
2809
- "id": 43742,
2809
+ "id": 44161,
2810
2810
  "indexExpression": {
2811
2811
  "hexValue": "33",
2812
- "id": 43741,
2812
+ "id": 44160,
2813
2813
  "isConstant": false,
2814
2814
  "isLValue": false,
2815
2815
  "isPure": true,
@@ -2837,11 +2837,11 @@
2837
2837
  "nodeType": "Assignment",
2838
2838
  "operator": "=",
2839
2839
  "rightHandSide": {
2840
- "id": 43743,
2840
+ "id": 44162,
2841
2841
  "name": "d",
2842
2842
  "nodeType": "Identifier",
2843
2843
  "overloadedDeclarations": [],
2844
- "referencedDeclaration": 43705,
2844
+ "referencedDeclaration": 44124,
2845
2845
  "src": "2074:1:50",
2846
2846
  "typeDescriptions": {
2847
2847
  "typeIdentifier": "t_uint16",
@@ -2854,7 +2854,7 @@
2854
2854
  "typeString": "uint16"
2855
2855
  }
2856
2856
  },
2857
- "id": 43745,
2857
+ "id": 44164,
2858
2858
  "nodeType": "ExpressionStatement",
2859
2859
  "src": "2060:15:50"
2860
2860
  },
@@ -2862,11 +2862,11 @@
2862
2862
  "expression": {
2863
2863
  "arguments": [
2864
2864
  {
2865
- "id": 43747,
2865
+ "id": 44166,
2866
2866
  "name": "counters",
2867
2867
  "nodeType": "Identifier",
2868
2868
  "overloadedDeclarations": [],
2869
- "referencedDeclaration": 43715,
2869
+ "referencedDeclaration": 44134,
2870
2870
  "src": "2093:8:50",
2871
2871
  "typeDescriptions": {
2872
2872
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
@@ -2881,24 +2881,24 @@
2881
2881
  "typeString": "uint16[] memory"
2882
2882
  }
2883
2883
  ],
2884
- "id": 43746,
2884
+ "id": 44165,
2885
2885
  "name": "pack",
2886
2886
  "nodeType": "Identifier",
2887
2887
  "overloadedDeclarations": [
2888
- 43583,
2889
- 43613,
2890
- 43651,
2891
- 43697,
2892
- 43751
2888
+ 44002,
2889
+ 44032,
2890
+ 44070,
2891
+ 44116,
2892
+ 44170
2893
2893
  ],
2894
- "referencedDeclaration": 43583,
2894
+ "referencedDeclaration": 44002,
2895
2895
  "src": "2088:4:50",
2896
2896
  "typeDescriptions": {
2897
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$43508_$",
2897
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$43927_$",
2898
2898
  "typeString": "function (uint16[] memory) pure returns (PackedCounter)"
2899
2899
  }
2900
2900
  },
2901
- "id": 43748,
2901
+ "id": 44167,
2902
2902
  "isConstant": false,
2903
2903
  "isLValue": false,
2904
2904
  "isPure": false,
@@ -2909,12 +2909,12 @@
2909
2909
  "src": "2088:14:50",
2910
2910
  "tryCall": false,
2911
2911
  "typeDescriptions": {
2912
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
2912
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
2913
2913
  "typeString": "PackedCounter"
2914
2914
  }
2915
2915
  },
2916
- "functionReturnParameters": 43710,
2917
- "id": 43749,
2916
+ "functionReturnParameters": 44129,
2917
+ "id": 44168,
2918
2918
  "nodeType": "Return",
2919
2919
  "src": "2081:21:50"
2920
2920
  }
@@ -2926,17 +2926,17 @@
2926
2926
  "name": "pack",
2927
2927
  "nameLocation": "1840:4:50",
2928
2928
  "parameters": {
2929
- "id": 43706,
2929
+ "id": 44125,
2930
2930
  "nodeType": "ParameterList",
2931
2931
  "parameters": [
2932
2932
  {
2933
2933
  "constant": false,
2934
- "id": 43699,
2934
+ "id": 44118,
2935
2935
  "mutability": "mutable",
2936
2936
  "name": "a",
2937
2937
  "nameLocation": "1857:1:50",
2938
2938
  "nodeType": "VariableDeclaration",
2939
- "scope": 43751,
2939
+ "scope": 44170,
2940
2940
  "src": "1850:8:50",
2941
2941
  "stateVariable": false,
2942
2942
  "storageLocation": "default",
@@ -2945,7 +2945,7 @@
2945
2945
  "typeString": "uint16"
2946
2946
  },
2947
2947
  "typeName": {
2948
- "id": 43698,
2948
+ "id": 44117,
2949
2949
  "name": "uint16",
2950
2950
  "nodeType": "ElementaryTypeName",
2951
2951
  "src": "1850:6:50",
@@ -2958,12 +2958,12 @@
2958
2958
  },
2959
2959
  {
2960
2960
  "constant": false,
2961
- "id": 43701,
2961
+ "id": 44120,
2962
2962
  "mutability": "mutable",
2963
2963
  "name": "b",
2964
2964
  "nameLocation": "1871:1:50",
2965
2965
  "nodeType": "VariableDeclaration",
2966
- "scope": 43751,
2966
+ "scope": 44170,
2967
2967
  "src": "1864:8:50",
2968
2968
  "stateVariable": false,
2969
2969
  "storageLocation": "default",
@@ -2972,7 +2972,7 @@
2972
2972
  "typeString": "uint16"
2973
2973
  },
2974
2974
  "typeName": {
2975
- "id": 43700,
2975
+ "id": 44119,
2976
2976
  "name": "uint16",
2977
2977
  "nodeType": "ElementaryTypeName",
2978
2978
  "src": "1864:6:50",
@@ -2985,12 +2985,12 @@
2985
2985
  },
2986
2986
  {
2987
2987
  "constant": false,
2988
- "id": 43703,
2988
+ "id": 44122,
2989
2989
  "mutability": "mutable",
2990
2990
  "name": "c",
2991
2991
  "nameLocation": "1885:1:50",
2992
2992
  "nodeType": "VariableDeclaration",
2993
- "scope": 43751,
2993
+ "scope": 44170,
2994
2994
  "src": "1878:8:50",
2995
2995
  "stateVariable": false,
2996
2996
  "storageLocation": "default",
@@ -2999,7 +2999,7 @@
2999
2999
  "typeString": "uint16"
3000
3000
  },
3001
3001
  "typeName": {
3002
- "id": 43702,
3002
+ "id": 44121,
3003
3003
  "name": "uint16",
3004
3004
  "nodeType": "ElementaryTypeName",
3005
3005
  "src": "1878:6:50",
@@ -3012,12 +3012,12 @@
3012
3012
  },
3013
3013
  {
3014
3014
  "constant": false,
3015
- "id": 43705,
3015
+ "id": 44124,
3016
3016
  "mutability": "mutable",
3017
3017
  "name": "d",
3018
3018
  "nameLocation": "1899:1:50",
3019
3019
  "nodeType": "VariableDeclaration",
3020
- "scope": 43751,
3020
+ "scope": 44170,
3021
3021
  "src": "1892:8:50",
3022
3022
  "stateVariable": false,
3023
3023
  "storageLocation": "default",
@@ -3026,7 +3026,7 @@
3026
3026
  "typeString": "uint16"
3027
3027
  },
3028
3028
  "typeName": {
3029
- "id": 43704,
3029
+ "id": 44123,
3030
3030
  "name": "uint16",
3031
3031
  "nodeType": "ElementaryTypeName",
3032
3032
  "src": "1892:6:50",
@@ -3041,38 +3041,38 @@
3041
3041
  "src": "1844:60:50"
3042
3042
  },
3043
3043
  "returnParameters": {
3044
- "id": 43710,
3044
+ "id": 44129,
3045
3045
  "nodeType": "ParameterList",
3046
3046
  "parameters": [
3047
3047
  {
3048
3048
  "constant": false,
3049
- "id": 43709,
3049
+ "id": 44128,
3050
3050
  "mutability": "mutable",
3051
3051
  "name": "",
3052
3052
  "nameLocation": "-1:-1:-1",
3053
3053
  "nodeType": "VariableDeclaration",
3054
- "scope": 43751,
3054
+ "scope": 44170,
3055
3055
  "src": "1928:13:50",
3056
3056
  "stateVariable": false,
3057
3057
  "storageLocation": "default",
3058
3058
  "typeDescriptions": {
3059
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3059
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3060
3060
  "typeString": "PackedCounter"
3061
3061
  },
3062
3062
  "typeName": {
3063
- "id": 43708,
3063
+ "id": 44127,
3064
3064
  "nodeType": "UserDefinedTypeName",
3065
3065
  "pathNode": {
3066
- "id": 43707,
3066
+ "id": 44126,
3067
3067
  "name": "PackedCounter",
3068
3068
  "nodeType": "IdentifierPath",
3069
- "referencedDeclaration": 43508,
3069
+ "referencedDeclaration": 43927,
3070
3070
  "src": "1928:13:50"
3071
3071
  },
3072
- "referencedDeclaration": 43508,
3072
+ "referencedDeclaration": 43927,
3073
3073
  "src": "1928:13:50",
3074
3074
  "typeDescriptions": {
3075
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3075
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3076
3076
  "typeString": "PackedCounter"
3077
3077
  }
3078
3078
  },
@@ -3081,18 +3081,18 @@
3081
3081
  ],
3082
3082
  "src": "1927:15:50"
3083
3083
  },
3084
- "scope": 43924,
3084
+ "scope": 44343,
3085
3085
  "stateMutability": "pure",
3086
3086
  "virtual": false,
3087
3087
  "visibility": "internal"
3088
3088
  },
3089
3089
  {
3090
- "id": 43775,
3090
+ "id": 44194,
3091
3091
  "nodeType": "FunctionDefinition",
3092
3092
  "src": "2392:154:50",
3093
3093
  "nodes": [],
3094
3094
  "body": {
3095
- "id": 43774,
3095
+ "id": 44193,
3096
3096
  "nodeType": "Block",
3097
3097
  "src": "2468:78:50",
3098
3098
  "nodes": [],
@@ -3107,14 +3107,14 @@
3107
3107
  {
3108
3108
  "arguments": [
3109
3109
  {
3110
- "id": 43768,
3110
+ "id": 44187,
3111
3111
  "name": "packedCounter",
3112
3112
  "nodeType": "Identifier",
3113
3113
  "overloadedDeclarations": [],
3114
- "referencedDeclaration": 43755,
3114
+ "referencedDeclaration": 44174,
3115
3115
  "src": "2524:13:50",
3116
3116
  "typeDescriptions": {
3117
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3117
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3118
3118
  "typeString": "PackedCounter"
3119
3119
  }
3120
3120
  }
@@ -3122,23 +3122,23 @@
3122
3122
  "expression": {
3123
3123
  "argumentTypes": [
3124
3124
  {
3125
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3125
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3126
3126
  "typeString": "PackedCounter"
3127
3127
  }
3128
3128
  ],
3129
3129
  "expression": {
3130
- "id": 43766,
3130
+ "id": 44185,
3131
3131
  "name": "PackedCounter",
3132
3132
  "nodeType": "Identifier",
3133
3133
  "overloadedDeclarations": [],
3134
- "referencedDeclaration": 43508,
3134
+ "referencedDeclaration": 43927,
3135
3135
  "src": "2503:13:50",
3136
3136
  "typeDescriptions": {
3137
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43508_$",
3137
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43927_$",
3138
3138
  "typeString": "type(PackedCounter)"
3139
3139
  }
3140
3140
  },
3141
- "id": 43767,
3141
+ "id": 44186,
3142
3142
  "isConstant": false,
3143
3143
  "isLValue": false,
3144
3144
  "isPure": true,
@@ -3147,11 +3147,11 @@
3147
3147
  "nodeType": "MemberAccess",
3148
3148
  "src": "2503:20:50",
3149
3149
  "typeDescriptions": {
3150
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$43508_$returns$_t_bytes32_$",
3150
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$43927_$returns$_t_bytes32_$",
3151
3151
  "typeString": "function (PackedCounter) pure returns (bytes32)"
3152
3152
  }
3153
3153
  },
3154
- "id": 43769,
3154
+ "id": 44188,
3155
3155
  "isConstant": false,
3156
3156
  "isLValue": false,
3157
3157
  "isPure": false,
@@ -3174,7 +3174,7 @@
3174
3174
  "typeString": "bytes32"
3175
3175
  }
3176
3176
  ],
3177
- "id": 43765,
3177
+ "id": 44184,
3178
3178
  "isConstant": false,
3179
3179
  "isLValue": false,
3180
3180
  "isPure": true,
@@ -3186,14 +3186,14 @@
3186
3186
  "typeString": "type(bytes4)"
3187
3187
  },
3188
3188
  "typeName": {
3189
- "id": 43764,
3189
+ "id": 44183,
3190
3190
  "name": "bytes4",
3191
3191
  "nodeType": "ElementaryTypeName",
3192
3192
  "src": "2496:6:50",
3193
3193
  "typeDescriptions": {}
3194
3194
  }
3195
3195
  },
3196
- "id": 43770,
3196
+ "id": 44189,
3197
3197
  "isConstant": false,
3198
3198
  "isLValue": false,
3199
3199
  "isPure": false,
@@ -3216,7 +3216,7 @@
3216
3216
  "typeString": "bytes4"
3217
3217
  }
3218
3218
  ],
3219
- "id": 43763,
3219
+ "id": 44182,
3220
3220
  "isConstant": false,
3221
3221
  "isLValue": false,
3222
3222
  "isPure": true,
@@ -3228,14 +3228,14 @@
3228
3228
  "typeString": "type(uint32)"
3229
3229
  },
3230
3230
  "typeName": {
3231
- "id": 43762,
3231
+ "id": 44181,
3232
3232
  "name": "uint32",
3233
3233
  "nodeType": "ElementaryTypeName",
3234
3234
  "src": "2489:6:50",
3235
3235
  "typeDescriptions": {}
3236
3236
  }
3237
3237
  },
3238
- "id": 43771,
3238
+ "id": 44190,
3239
3239
  "isConstant": false,
3240
3240
  "isLValue": false,
3241
3241
  "isPure": false,
@@ -3258,7 +3258,7 @@
3258
3258
  "typeString": "uint32"
3259
3259
  }
3260
3260
  ],
3261
- "id": 43761,
3261
+ "id": 44180,
3262
3262
  "isConstant": false,
3263
3263
  "isLValue": false,
3264
3264
  "isPure": true,
@@ -3270,14 +3270,14 @@
3270
3270
  "typeString": "type(uint256)"
3271
3271
  },
3272
3272
  "typeName": {
3273
- "id": 43760,
3273
+ "id": 44179,
3274
3274
  "name": "uint256",
3275
3275
  "nodeType": "ElementaryTypeName",
3276
3276
  "src": "2481:7:50",
3277
3277
  "typeDescriptions": {}
3278
3278
  }
3279
3279
  },
3280
- "id": 43772,
3280
+ "id": 44191,
3281
3281
  "isConstant": false,
3282
3282
  "isLValue": false,
3283
3283
  "isPure": false,
@@ -3292,15 +3292,15 @@
3292
3292
  "typeString": "uint256"
3293
3293
  }
3294
3294
  },
3295
- "functionReturnParameters": 43759,
3296
- "id": 43773,
3295
+ "functionReturnParameters": 44178,
3296
+ "id": 44192,
3297
3297
  "nodeType": "Return",
3298
3298
  "src": "2474:67:50"
3299
3299
  }
3300
3300
  ]
3301
3301
  },
3302
3302
  "documentation": {
3303
- "id": 43752,
3303
+ "id": 44171,
3304
3304
  "nodeType": "StructuredDocumentation",
3305
3305
  "src": "2302:87:50",
3306
3306
  "text": " Decode the accumulated counter\n (first four bytes of packed counter)"
@@ -3311,38 +3311,38 @@
3311
3311
  "name": "total",
3312
3312
  "nameLocation": "2401:5:50",
3313
3313
  "parameters": {
3314
- "id": 43756,
3314
+ "id": 44175,
3315
3315
  "nodeType": "ParameterList",
3316
3316
  "parameters": [
3317
3317
  {
3318
3318
  "constant": false,
3319
- "id": 43755,
3319
+ "id": 44174,
3320
3320
  "mutability": "mutable",
3321
3321
  "name": "packedCounter",
3322
3322
  "nameLocation": "2421:13:50",
3323
3323
  "nodeType": "VariableDeclaration",
3324
- "scope": 43775,
3324
+ "scope": 44194,
3325
3325
  "src": "2407:27:50",
3326
3326
  "stateVariable": false,
3327
3327
  "storageLocation": "default",
3328
3328
  "typeDescriptions": {
3329
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3329
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3330
3330
  "typeString": "PackedCounter"
3331
3331
  },
3332
3332
  "typeName": {
3333
- "id": 43754,
3333
+ "id": 44173,
3334
3334
  "nodeType": "UserDefinedTypeName",
3335
3335
  "pathNode": {
3336
- "id": 43753,
3336
+ "id": 44172,
3337
3337
  "name": "PackedCounter",
3338
3338
  "nodeType": "IdentifierPath",
3339
- "referencedDeclaration": 43508,
3339
+ "referencedDeclaration": 43927,
3340
3340
  "src": "2407:13:50"
3341
3341
  },
3342
- "referencedDeclaration": 43508,
3342
+ "referencedDeclaration": 43927,
3343
3343
  "src": "2407:13:50",
3344
3344
  "typeDescriptions": {
3345
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3345
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3346
3346
  "typeString": "PackedCounter"
3347
3347
  }
3348
3348
  },
@@ -3352,17 +3352,17 @@
3352
3352
  "src": "2406:29:50"
3353
3353
  },
3354
3354
  "returnParameters": {
3355
- "id": 43759,
3355
+ "id": 44178,
3356
3356
  "nodeType": "ParameterList",
3357
3357
  "parameters": [
3358
3358
  {
3359
3359
  "constant": false,
3360
- "id": 43758,
3360
+ "id": 44177,
3361
3361
  "mutability": "mutable",
3362
3362
  "name": "",
3363
3363
  "nameLocation": "-1:-1:-1",
3364
3364
  "nodeType": "VariableDeclaration",
3365
- "scope": 43775,
3365
+ "scope": 44194,
3366
3366
  "src": "2459:7:50",
3367
3367
  "stateVariable": false,
3368
3368
  "storageLocation": "default",
@@ -3371,7 +3371,7 @@
3371
3371
  "typeString": "uint256"
3372
3372
  },
3373
3373
  "typeName": {
3374
- "id": 43757,
3374
+ "id": 44176,
3375
3375
  "name": "uint256",
3376
3376
  "nodeType": "ElementaryTypeName",
3377
3377
  "src": "2459:7:50",
@@ -3385,35 +3385,35 @@
3385
3385
  ],
3386
3386
  "src": "2458:9:50"
3387
3387
  },
3388
- "scope": 43924,
3388
+ "scope": 44343,
3389
3389
  "stateMutability": "pure",
3390
3390
  "virtual": false,
3391
3391
  "visibility": "internal"
3392
3392
  },
3393
3393
  {
3394
- "id": 43810,
3394
+ "id": 44229,
3395
3395
  "nodeType": "FunctionDefinition",
3396
3396
  "src": "2661:221:50",
3397
3397
  "nodes": [],
3398
3398
  "body": {
3399
- "id": 43809,
3399
+ "id": 44228,
3400
3400
  "nodeType": "Block",
3401
3401
  "src": "2754:128:50",
3402
3402
  "nodes": [],
3403
3403
  "statements": [
3404
3404
  {
3405
3405
  "assignments": [
3406
- 43787
3406
+ 44206
3407
3407
  ],
3408
3408
  "declarations": [
3409
3409
  {
3410
3410
  "constant": false,
3411
- "id": 43787,
3411
+ "id": 44206,
3412
3412
  "mutability": "mutable",
3413
3413
  "name": "offset",
3414
3414
  "nameLocation": "2768:6:50",
3415
3415
  "nodeType": "VariableDeclaration",
3416
- "scope": 43809,
3416
+ "scope": 44228,
3417
3417
  "src": "2760:14:50",
3418
3418
  "stateVariable": false,
3419
3419
  "storageLocation": "default",
@@ -3422,7 +3422,7 @@
3422
3422
  "typeString": "uint256"
3423
3423
  },
3424
3424
  "typeName": {
3425
- "id": 43786,
3425
+ "id": 44205,
3426
3426
  "name": "uint256",
3427
3427
  "nodeType": "ElementaryTypeName",
3428
3428
  "src": "2760:7:50",
@@ -3434,20 +3434,20 @@
3434
3434
  "visibility": "internal"
3435
3435
  }
3436
3436
  ],
3437
- "id": 43793,
3437
+ "id": 44212,
3438
3438
  "initialValue": {
3439
3439
  "commonType": {
3440
3440
  "typeIdentifier": "t_uint256",
3441
3441
  "typeString": "uint256"
3442
3442
  },
3443
- "id": 43792,
3443
+ "id": 44211,
3444
3444
  "isConstant": false,
3445
3445
  "isLValue": false,
3446
3446
  "isPure": false,
3447
3447
  "lValueRequested": false,
3448
3448
  "leftExpression": {
3449
3449
  "hexValue": "34",
3450
- "id": 43788,
3450
+ "id": 44207,
3451
3451
  "isConstant": false,
3452
3452
  "isLValue": false,
3453
3453
  "isPure": true,
@@ -3468,17 +3468,17 @@
3468
3468
  "typeIdentifier": "t_uint256",
3469
3469
  "typeString": "uint256"
3470
3470
  },
3471
- "id": 43791,
3471
+ "id": 44210,
3472
3472
  "isConstant": false,
3473
3473
  "isLValue": false,
3474
3474
  "isPure": false,
3475
3475
  "lValueRequested": false,
3476
3476
  "leftExpression": {
3477
- "id": 43789,
3477
+ "id": 44208,
3478
3478
  "name": "index",
3479
3479
  "nodeType": "Identifier",
3480
3480
  "overloadedDeclarations": [],
3481
- "referencedDeclaration": 43781,
3481
+ "referencedDeclaration": 44200,
3482
3482
  "src": "2781:5:50",
3483
3483
  "typeDescriptions": {
3484
3484
  "typeIdentifier": "t_uint256",
@@ -3489,7 +3489,7 @@
3489
3489
  "operator": "*",
3490
3490
  "rightExpression": {
3491
3491
  "hexValue": "32",
3492
- "id": 43790,
3492
+ "id": 44209,
3493
3493
  "isConstant": false,
3494
3494
  "isLValue": false,
3495
3495
  "isPure": true,
@@ -3528,14 +3528,14 @@
3528
3528
  {
3529
3529
  "arguments": [
3530
3530
  {
3531
- "id": 43802,
3531
+ "id": 44221,
3532
3532
  "name": "packedCounter",
3533
3533
  "nodeType": "Identifier",
3534
3534
  "overloadedDeclarations": [],
3535
- "referencedDeclaration": 43779,
3535
+ "referencedDeclaration": 44198,
3536
3536
  "src": "2852:13:50",
3537
3537
  "typeDescriptions": {
3538
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3538
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3539
3539
  "typeString": "PackedCounter"
3540
3540
  }
3541
3541
  }
@@ -3543,23 +3543,23 @@
3543
3543
  "expression": {
3544
3544
  "argumentTypes": [
3545
3545
  {
3546
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3546
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3547
3547
  "typeString": "PackedCounter"
3548
3548
  }
3549
3549
  ],
3550
3550
  "expression": {
3551
- "id": 43800,
3551
+ "id": 44219,
3552
3552
  "name": "PackedCounter",
3553
3553
  "nodeType": "Identifier",
3554
3554
  "overloadedDeclarations": [],
3555
- "referencedDeclaration": 43508,
3555
+ "referencedDeclaration": 43927,
3556
3556
  "src": "2831:13:50",
3557
3557
  "typeDescriptions": {
3558
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43508_$",
3558
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43927_$",
3559
3559
  "typeString": "type(PackedCounter)"
3560
3560
  }
3561
3561
  },
3562
- "id": 43801,
3562
+ "id": 44220,
3563
3563
  "isConstant": false,
3564
3564
  "isLValue": false,
3565
3565
  "isPure": true,
@@ -3568,11 +3568,11 @@
3568
3568
  "nodeType": "MemberAccess",
3569
3569
  "src": "2831:20:50",
3570
3570
  "typeDescriptions": {
3571
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$43508_$returns$_t_bytes32_$",
3571
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$43927_$returns$_t_bytes32_$",
3572
3572
  "typeString": "function (PackedCounter) pure returns (bytes32)"
3573
3573
  }
3574
3574
  },
3575
- "id": 43803,
3575
+ "id": 44222,
3576
3576
  "isConstant": false,
3577
3577
  "isLValue": false,
3578
3578
  "isPure": false,
@@ -3588,11 +3588,11 @@
3588
3588
  }
3589
3589
  },
3590
3590
  {
3591
- "id": 43804,
3591
+ "id": 44223,
3592
3592
  "name": "offset",
3593
3593
  "nodeType": "Identifier",
3594
3594
  "overloadedDeclarations": [],
3595
- "referencedDeclaration": 43787,
3595
+ "referencedDeclaration": 44206,
3596
3596
  "src": "2868:6:50",
3597
3597
  "typeDescriptions": {
3598
3598
  "typeIdentifier": "t_uint256",
@@ -3612,32 +3612,32 @@
3612
3612
  }
3613
3613
  ],
3614
3614
  "expression": {
3615
- "id": 43798,
3615
+ "id": 44217,
3616
3616
  "name": "Bytes",
3617
3617
  "nodeType": "Identifier",
3618
3618
  "overloadedDeclarations": [],
3619
- "referencedDeclaration": 43260,
3619
+ "referencedDeclaration": 43667,
3620
3620
  "src": "2818:5:50",
3621
3621
  "typeDescriptions": {
3622
- "typeIdentifier": "t_type$_t_contract$_Bytes_$43260_$",
3622
+ "typeIdentifier": "t_type$_t_contract$_Bytes_$43667_$",
3623
3623
  "typeString": "type(library Bytes)"
3624
3624
  }
3625
3625
  },
3626
- "id": 43799,
3626
+ "id": 44218,
3627
3627
  "isConstant": false,
3628
3628
  "isLValue": false,
3629
3629
  "isPure": false,
3630
3630
  "lValueRequested": false,
3631
3631
  "memberName": "slice2",
3632
3632
  "nodeType": "MemberAccess",
3633
- "referencedDeclaration": 42733,
3633
+ "referencedDeclaration": 43140,
3634
3634
  "src": "2818:12:50",
3635
3635
  "typeDescriptions": {
3636
3636
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint256_$returns$_t_bytes2_$",
3637
3637
  "typeString": "function (bytes32,uint256) pure returns (bytes2)"
3638
3638
  }
3639
3639
  },
3640
- "id": 43805,
3640
+ "id": 44224,
3641
3641
  "isConstant": false,
3642
3642
  "isLValue": false,
3643
3643
  "isPure": false,
@@ -3660,7 +3660,7 @@
3660
3660
  "typeString": "bytes2"
3661
3661
  }
3662
3662
  ],
3663
- "id": 43797,
3663
+ "id": 44216,
3664
3664
  "isConstant": false,
3665
3665
  "isLValue": false,
3666
3666
  "isPure": true,
@@ -3672,14 +3672,14 @@
3672
3672
  "typeString": "type(uint16)"
3673
3673
  },
3674
3674
  "typeName": {
3675
- "id": 43796,
3675
+ "id": 44215,
3676
3676
  "name": "uint16",
3677
3677
  "nodeType": "ElementaryTypeName",
3678
3678
  "src": "2811:6:50",
3679
3679
  "typeDescriptions": {}
3680
3680
  }
3681
3681
  },
3682
- "id": 43806,
3682
+ "id": 44225,
3683
3683
  "isConstant": false,
3684
3684
  "isLValue": false,
3685
3685
  "isPure": false,
@@ -3702,7 +3702,7 @@
3702
3702
  "typeString": "uint16"
3703
3703
  }
3704
3704
  ],
3705
- "id": 43795,
3705
+ "id": 44214,
3706
3706
  "isConstant": false,
3707
3707
  "isLValue": false,
3708
3708
  "isPure": true,
@@ -3714,14 +3714,14 @@
3714
3714
  "typeString": "type(uint256)"
3715
3715
  },
3716
3716
  "typeName": {
3717
- "id": 43794,
3717
+ "id": 44213,
3718
3718
  "name": "uint256",
3719
3719
  "nodeType": "ElementaryTypeName",
3720
3720
  "src": "2803:7:50",
3721
3721
  "typeDescriptions": {}
3722
3722
  }
3723
3723
  },
3724
- "id": 43807,
3724
+ "id": 44226,
3725
3725
  "isConstant": false,
3726
3726
  "isLValue": false,
3727
3727
  "isPure": false,
@@ -3736,15 +3736,15 @@
3736
3736
  "typeString": "uint256"
3737
3737
  }
3738
3738
  },
3739
- "functionReturnParameters": 43785,
3740
- "id": 43808,
3739
+ "functionReturnParameters": 44204,
3740
+ "id": 44227,
3741
3741
  "nodeType": "Return",
3742
3742
  "src": "2796:81:50"
3743
3743
  }
3744
3744
  ]
3745
3745
  },
3746
3746
  "documentation": {
3747
- "id": 43776,
3747
+ "id": 44195,
3748
3748
  "nodeType": "StructuredDocumentation",
3749
3749
  "src": "2550:108:50",
3750
3750
  "text": " Decode the counter at the given index\n (two bytes per counter after the first four bytes)"
@@ -3755,38 +3755,38 @@
3755
3755
  "name": "atIndex",
3756
3756
  "nameLocation": "2670:7:50",
3757
3757
  "parameters": {
3758
- "id": 43782,
3758
+ "id": 44201,
3759
3759
  "nodeType": "ParameterList",
3760
3760
  "parameters": [
3761
3761
  {
3762
3762
  "constant": false,
3763
- "id": 43779,
3763
+ "id": 44198,
3764
3764
  "mutability": "mutable",
3765
3765
  "name": "packedCounter",
3766
3766
  "nameLocation": "2692:13:50",
3767
3767
  "nodeType": "VariableDeclaration",
3768
- "scope": 43810,
3768
+ "scope": 44229,
3769
3769
  "src": "2678:27:50",
3770
3770
  "stateVariable": false,
3771
3771
  "storageLocation": "default",
3772
3772
  "typeDescriptions": {
3773
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3773
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3774
3774
  "typeString": "PackedCounter"
3775
3775
  },
3776
3776
  "typeName": {
3777
- "id": 43778,
3777
+ "id": 44197,
3778
3778
  "nodeType": "UserDefinedTypeName",
3779
3779
  "pathNode": {
3780
- "id": 43777,
3780
+ "id": 44196,
3781
3781
  "name": "PackedCounter",
3782
3782
  "nodeType": "IdentifierPath",
3783
- "referencedDeclaration": 43508,
3783
+ "referencedDeclaration": 43927,
3784
3784
  "src": "2678:13:50"
3785
3785
  },
3786
- "referencedDeclaration": 43508,
3786
+ "referencedDeclaration": 43927,
3787
3787
  "src": "2678:13:50",
3788
3788
  "typeDescriptions": {
3789
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3789
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3790
3790
  "typeString": "PackedCounter"
3791
3791
  }
3792
3792
  },
@@ -3794,12 +3794,12 @@
3794
3794
  },
3795
3795
  {
3796
3796
  "constant": false,
3797
- "id": 43781,
3797
+ "id": 44200,
3798
3798
  "mutability": "mutable",
3799
3799
  "name": "index",
3800
3800
  "nameLocation": "2715:5:50",
3801
3801
  "nodeType": "VariableDeclaration",
3802
- "scope": 43810,
3802
+ "scope": 44229,
3803
3803
  "src": "2707:13:50",
3804
3804
  "stateVariable": false,
3805
3805
  "storageLocation": "default",
@@ -3808,7 +3808,7 @@
3808
3808
  "typeString": "uint256"
3809
3809
  },
3810
3810
  "typeName": {
3811
- "id": 43780,
3811
+ "id": 44199,
3812
3812
  "name": "uint256",
3813
3813
  "nodeType": "ElementaryTypeName",
3814
3814
  "src": "2707:7:50",
@@ -3823,17 +3823,17 @@
3823
3823
  "src": "2677:44:50"
3824
3824
  },
3825
3825
  "returnParameters": {
3826
- "id": 43785,
3826
+ "id": 44204,
3827
3827
  "nodeType": "ParameterList",
3828
3828
  "parameters": [
3829
3829
  {
3830
3830
  "constant": false,
3831
- "id": 43784,
3831
+ "id": 44203,
3832
3832
  "mutability": "mutable",
3833
3833
  "name": "",
3834
3834
  "nameLocation": "-1:-1:-1",
3835
3835
  "nodeType": "VariableDeclaration",
3836
- "scope": 43810,
3836
+ "scope": 44229,
3837
3837
  "src": "2745:7:50",
3838
3838
  "stateVariable": false,
3839
3839
  "storageLocation": "default",
@@ -3842,7 +3842,7 @@
3842
3842
  "typeString": "uint256"
3843
3843
  },
3844
3844
  "typeName": {
3845
- "id": 43783,
3845
+ "id": 44202,
3846
3846
  "name": "uint256",
3847
3847
  "nodeType": "ElementaryTypeName",
3848
3848
  "src": "2745:7:50",
@@ -3856,35 +3856,35 @@
3856
3856
  ],
3857
3857
  "src": "2744:9:50"
3858
3858
  },
3859
- "scope": 43924,
3859
+ "scope": 44343,
3860
3860
  "stateMutability": "pure",
3861
3861
  "virtual": false,
3862
3862
  "visibility": "internal"
3863
3863
  },
3864
3864
  {
3865
- "id": 43909,
3865
+ "id": 44328,
3866
3866
  "nodeType": "FunctionDefinition",
3867
3867
  "src": "2967:1018:50",
3868
3868
  "nodes": [],
3869
3869
  "body": {
3870
- "id": 43908,
3870
+ "id": 44327,
3871
3871
  "nodeType": "Block",
3872
3872
  "src": "3110:875:50",
3873
3873
  "nodes": [],
3874
3874
  "statements": [
3875
3875
  {
3876
3876
  "assignments": [
3877
- 43825
3877
+ 44244
3878
3878
  ],
3879
3879
  "declarations": [
3880
3880
  {
3881
3881
  "constant": false,
3882
- "id": 43825,
3882
+ "id": 44244,
3883
3883
  "mutability": "mutable",
3884
3884
  "name": "rawPackedCounter",
3885
3885
  "nameLocation": "3124:16:50",
3886
3886
  "nodeType": "VariableDeclaration",
3887
- "scope": 43908,
3887
+ "scope": 44327,
3888
3888
  "src": "3116:24:50",
3889
3889
  "stateVariable": false,
3890
3890
  "storageLocation": "default",
@@ -3893,7 +3893,7 @@
3893
3893
  "typeString": "bytes32"
3894
3894
  },
3895
3895
  "typeName": {
3896
- "id": 43824,
3896
+ "id": 44243,
3897
3897
  "name": "bytes32",
3898
3898
  "nodeType": "ElementaryTypeName",
3899
3899
  "src": "3116:7:50",
@@ -3905,18 +3905,18 @@
3905
3905
  "visibility": "internal"
3906
3906
  }
3907
3907
  ],
3908
- "id": 43830,
3908
+ "id": 44249,
3909
3909
  "initialValue": {
3910
3910
  "arguments": [
3911
3911
  {
3912
- "id": 43828,
3912
+ "id": 44247,
3913
3913
  "name": "packedCounter",
3914
3914
  "nodeType": "Identifier",
3915
3915
  "overloadedDeclarations": [],
3916
- "referencedDeclaration": 43814,
3916
+ "referencedDeclaration": 44233,
3917
3917
  "src": "3164:13:50",
3918
3918
  "typeDescriptions": {
3919
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3919
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3920
3920
  "typeString": "PackedCounter"
3921
3921
  }
3922
3922
  }
@@ -3924,23 +3924,23 @@
3924
3924
  "expression": {
3925
3925
  "argumentTypes": [
3926
3926
  {
3927
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
3927
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
3928
3928
  "typeString": "PackedCounter"
3929
3929
  }
3930
3930
  ],
3931
3931
  "expression": {
3932
- "id": 43826,
3932
+ "id": 44245,
3933
3933
  "name": "PackedCounter",
3934
3934
  "nodeType": "Identifier",
3935
3935
  "overloadedDeclarations": [],
3936
- "referencedDeclaration": 43508,
3936
+ "referencedDeclaration": 43927,
3937
3937
  "src": "3143:13:50",
3938
3938
  "typeDescriptions": {
3939
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43508_$",
3939
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43927_$",
3940
3940
  "typeString": "type(PackedCounter)"
3941
3941
  }
3942
3942
  },
3943
- "id": 43827,
3943
+ "id": 44246,
3944
3944
  "isConstant": false,
3945
3945
  "isLValue": false,
3946
3946
  "isPure": true,
@@ -3949,11 +3949,11 @@
3949
3949
  "nodeType": "MemberAccess",
3950
3950
  "src": "3143:20:50",
3951
3951
  "typeDescriptions": {
3952
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$43508_$returns$_t_bytes32_$",
3952
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$43927_$returns$_t_bytes32_$",
3953
3953
  "typeString": "function (PackedCounter) pure returns (bytes32)"
3954
3954
  }
3955
3955
  },
3956
- "id": 43829,
3956
+ "id": 44248,
3957
3957
  "isConstant": false,
3958
3958
  "isLValue": false,
3959
3959
  "isPure": false,
@@ -3973,17 +3973,17 @@
3973
3973
  },
3974
3974
  {
3975
3975
  "assignments": [
3976
- 43832
3976
+ 44251
3977
3977
  ],
3978
3978
  "declarations": [
3979
3979
  {
3980
3980
  "constant": false,
3981
- "id": 43832,
3981
+ "id": 44251,
3982
3982
  "mutability": "mutable",
3983
3983
  "name": "accumulator",
3984
3984
  "nameLocation": "3241:11:50",
3985
3985
  "nodeType": "VariableDeclaration",
3986
- "scope": 43908,
3986
+ "scope": 44327,
3987
3987
  "src": "3233:19:50",
3988
3988
  "stateVariable": false,
3989
3989
  "storageLocation": "default",
@@ -3992,7 +3992,7 @@
3992
3992
  "typeString": "uint256"
3993
3993
  },
3994
3994
  "typeName": {
3995
- "id": 43831,
3995
+ "id": 44250,
3996
3996
  "name": "uint256",
3997
3997
  "nodeType": "ElementaryTypeName",
3998
3998
  "src": "3233:7:50",
@@ -4004,18 +4004,18 @@
4004
4004
  "visibility": "internal"
4005
4005
  }
4006
4006
  ],
4007
- "id": 43836,
4007
+ "id": 44255,
4008
4008
  "initialValue": {
4009
4009
  "arguments": [
4010
4010
  {
4011
- "id": 43834,
4011
+ "id": 44253,
4012
4012
  "name": "packedCounter",
4013
4013
  "nodeType": "Identifier",
4014
4014
  "overloadedDeclarations": [],
4015
- "referencedDeclaration": 43814,
4015
+ "referencedDeclaration": 44233,
4016
4016
  "src": "3261:13:50",
4017
4017
  "typeDescriptions": {
4018
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
4018
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
4019
4019
  "typeString": "PackedCounter"
4020
4020
  }
4021
4021
  }
@@ -4023,22 +4023,22 @@
4023
4023
  "expression": {
4024
4024
  "argumentTypes": [
4025
4025
  {
4026
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
4026
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
4027
4027
  "typeString": "PackedCounter"
4028
4028
  }
4029
4029
  ],
4030
- "id": 43833,
4030
+ "id": 44252,
4031
4031
  "name": "total",
4032
4032
  "nodeType": "Identifier",
4033
4033
  "overloadedDeclarations": [],
4034
- "referencedDeclaration": 43775,
4034
+ "referencedDeclaration": 44194,
4035
4035
  "src": "3255:5:50",
4036
4036
  "typeDescriptions": {
4037
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_PackedCounter_$43508_$returns$_t_uint256_$",
4037
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_PackedCounter_$43927_$returns$_t_uint256_$",
4038
4038
  "typeString": "function (PackedCounter) pure returns (uint256)"
4039
4039
  }
4040
4040
  },
4041
- "id": 43835,
4041
+ "id": 44254,
4042
4042
  "isConstant": false,
4043
4043
  "isLValue": false,
4044
4044
  "isPure": false,
@@ -4058,17 +4058,17 @@
4058
4058
  },
4059
4059
  {
4060
4060
  "assignments": [
4061
- 43838
4061
+ 44257
4062
4062
  ],
4063
4063
  "declarations": [
4064
4064
  {
4065
4065
  "constant": false,
4066
- "id": 43838,
4066
+ "id": 44257,
4067
4067
  "mutability": "mutable",
4068
4068
  "name": "currentValueAtIndex",
4069
4069
  "nameLocation": "3289:19:50",
4070
4070
  "nodeType": "VariableDeclaration",
4071
- "scope": 43908,
4071
+ "scope": 44327,
4072
4072
  "src": "3281:27:50",
4073
4073
  "stateVariable": false,
4074
4074
  "storageLocation": "default",
@@ -4077,7 +4077,7 @@
4077
4077
  "typeString": "uint256"
4078
4078
  },
4079
4079
  "typeName": {
4080
- "id": 43837,
4080
+ "id": 44256,
4081
4081
  "name": "uint256",
4082
4082
  "nodeType": "ElementaryTypeName",
4083
4083
  "src": "3281:7:50",
@@ -4089,29 +4089,29 @@
4089
4089
  "visibility": "internal"
4090
4090
  }
4091
4091
  ],
4092
- "id": 43846,
4092
+ "id": 44265,
4093
4093
  "initialValue": {
4094
4094
  "arguments": [
4095
4095
  {
4096
- "id": 43840,
4096
+ "id": 44259,
4097
4097
  "name": "packedCounter",
4098
4098
  "nodeType": "Identifier",
4099
4099
  "overloadedDeclarations": [],
4100
- "referencedDeclaration": 43814,
4100
+ "referencedDeclaration": 44233,
4101
4101
  "src": "3319:13:50",
4102
4102
  "typeDescriptions": {
4103
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
4103
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
4104
4104
  "typeString": "PackedCounter"
4105
4105
  }
4106
4106
  },
4107
4107
  {
4108
4108
  "arguments": [
4109
4109
  {
4110
- "id": 43843,
4110
+ "id": 44262,
4111
4111
  "name": "index",
4112
4112
  "nodeType": "Identifier",
4113
4113
  "overloadedDeclarations": [],
4114
- "referencedDeclaration": 43816,
4114
+ "referencedDeclaration": 44235,
4115
4115
  "src": "3340:5:50",
4116
4116
  "typeDescriptions": {
4117
4117
  "typeIdentifier": "t_uint256",
@@ -4126,7 +4126,7 @@
4126
4126
  "typeString": "uint256"
4127
4127
  }
4128
4128
  ],
4129
- "id": 43842,
4129
+ "id": 44261,
4130
4130
  "isConstant": false,
4131
4131
  "isLValue": false,
4132
4132
  "isPure": true,
@@ -4138,14 +4138,14 @@
4138
4138
  "typeString": "type(uint8)"
4139
4139
  },
4140
4140
  "typeName": {
4141
- "id": 43841,
4141
+ "id": 44260,
4142
4142
  "name": "uint8",
4143
4143
  "nodeType": "ElementaryTypeName",
4144
4144
  "src": "3334:5:50",
4145
4145
  "typeDescriptions": {}
4146
4146
  }
4147
4147
  },
4148
- "id": 43844,
4148
+ "id": 44263,
4149
4149
  "isConstant": false,
4150
4150
  "isLValue": false,
4151
4151
  "isPure": false,
@@ -4164,7 +4164,7 @@
4164
4164
  "expression": {
4165
4165
  "argumentTypes": [
4166
4166
  {
4167
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
4167
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
4168
4168
  "typeString": "PackedCounter"
4169
4169
  },
4170
4170
  {
@@ -4172,18 +4172,18 @@
4172
4172
  "typeString": "uint8"
4173
4173
  }
4174
4174
  ],
4175
- "id": 43839,
4175
+ "id": 44258,
4176
4176
  "name": "atIndex",
4177
4177
  "nodeType": "Identifier",
4178
4178
  "overloadedDeclarations": [],
4179
- "referencedDeclaration": 43810,
4179
+ "referencedDeclaration": 44229,
4180
4180
  "src": "3311:7:50",
4181
4181
  "typeDescriptions": {
4182
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_PackedCounter_$43508_$_t_uint256_$returns$_t_uint256_$",
4182
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_PackedCounter_$43927_$_t_uint256_$returns$_t_uint256_$",
4183
4183
  "typeString": "function (PackedCounter,uint256) pure returns (uint256)"
4184
4184
  }
4185
4185
  },
4186
- "id": 43845,
4186
+ "id": 44264,
4187
4187
  "isConstant": false,
4188
4188
  "isLValue": false,
4189
4189
  "isPure": false,
@@ -4207,17 +4207,17 @@
4207
4207
  "typeIdentifier": "t_uint256",
4208
4208
  "typeString": "uint256"
4209
4209
  },
4210
- "id": 43849,
4210
+ "id": 44268,
4211
4211
  "isConstant": false,
4212
4212
  "isLValue": false,
4213
4213
  "isPure": false,
4214
4214
  "lValueRequested": false,
4215
4215
  "leftExpression": {
4216
- "id": 43847,
4216
+ "id": 44266,
4217
4217
  "name": "newValueAtIndex",
4218
4218
  "nodeType": "Identifier",
4219
4219
  "overloadedDeclarations": [],
4220
- "referencedDeclaration": 43818,
4220
+ "referencedDeclaration": 44237,
4221
4221
  "src": "3415:15:50",
4222
4222
  "typeDescriptions": {
4223
4223
  "typeIdentifier": "t_uint256",
@@ -4227,11 +4227,11 @@
4227
4227
  "nodeType": "BinaryOperation",
4228
4228
  "operator": ">=",
4229
4229
  "rightExpression": {
4230
- "id": 43848,
4230
+ "id": 44267,
4231
4231
  "name": "currentValueAtIndex",
4232
4232
  "nodeType": "Identifier",
4233
4233
  "overloadedDeclarations": [],
4234
- "referencedDeclaration": 43838,
4234
+ "referencedDeclaration": 44257,
4235
4235
  "src": "3434:19:50",
4236
4236
  "typeDescriptions": {
4237
4237
  "typeIdentifier": "t_uint256",
@@ -4245,23 +4245,23 @@
4245
4245
  }
4246
4246
  },
4247
4247
  "falseBody": {
4248
- "id": 43863,
4248
+ "id": 44282,
4249
4249
  "nodeType": "Block",
4250
4250
  "src": "3528:67:50",
4251
4251
  "statements": [
4252
4252
  {
4253
4253
  "expression": {
4254
- "id": 43861,
4254
+ "id": 44280,
4255
4255
  "isConstant": false,
4256
4256
  "isLValue": false,
4257
4257
  "isPure": false,
4258
4258
  "lValueRequested": false,
4259
4259
  "leftHandSide": {
4260
- "id": 43857,
4260
+ "id": 44276,
4261
4261
  "name": "accumulator",
4262
4262
  "nodeType": "Identifier",
4263
4263
  "overloadedDeclarations": [],
4264
- "referencedDeclaration": 43832,
4264
+ "referencedDeclaration": 44251,
4265
4265
  "src": "3536:11:50",
4266
4266
  "typeDescriptions": {
4267
4267
  "typeIdentifier": "t_uint256",
@@ -4275,17 +4275,17 @@
4275
4275
  "typeIdentifier": "t_uint256",
4276
4276
  "typeString": "uint256"
4277
4277
  },
4278
- "id": 43860,
4278
+ "id": 44279,
4279
4279
  "isConstant": false,
4280
4280
  "isLValue": false,
4281
4281
  "isPure": false,
4282
4282
  "lValueRequested": false,
4283
4283
  "leftExpression": {
4284
- "id": 43858,
4284
+ "id": 44277,
4285
4285
  "name": "currentValueAtIndex",
4286
4286
  "nodeType": "Identifier",
4287
4287
  "overloadedDeclarations": [],
4288
- "referencedDeclaration": 43838,
4288
+ "referencedDeclaration": 44257,
4289
4289
  "src": "3551:19:50",
4290
4290
  "typeDescriptions": {
4291
4291
  "typeIdentifier": "t_uint256",
@@ -4295,11 +4295,11 @@
4295
4295
  "nodeType": "BinaryOperation",
4296
4296
  "operator": "-",
4297
4297
  "rightExpression": {
4298
- "id": 43859,
4298
+ "id": 44278,
4299
4299
  "name": "newValueAtIndex",
4300
4300
  "nodeType": "Identifier",
4301
4301
  "overloadedDeclarations": [],
4302
- "referencedDeclaration": 43818,
4302
+ "referencedDeclaration": 44237,
4303
4303
  "src": "3573:15:50",
4304
4304
  "typeDescriptions": {
4305
4305
  "typeIdentifier": "t_uint256",
@@ -4318,33 +4318,33 @@
4318
4318
  "typeString": "uint256"
4319
4319
  }
4320
4320
  },
4321
- "id": 43862,
4321
+ "id": 44281,
4322
4322
  "nodeType": "ExpressionStatement",
4323
4323
  "src": "3536:52:50"
4324
4324
  }
4325
4325
  ]
4326
4326
  },
4327
- "id": 43864,
4327
+ "id": 44283,
4328
4328
  "nodeType": "IfStatement",
4329
4329
  "src": "3411:184:50",
4330
4330
  "trueBody": {
4331
- "id": 43856,
4331
+ "id": 44275,
4332
4332
  "nodeType": "Block",
4333
4333
  "src": "3455:67:50",
4334
4334
  "statements": [
4335
4335
  {
4336
4336
  "expression": {
4337
- "id": 43854,
4337
+ "id": 44273,
4338
4338
  "isConstant": false,
4339
4339
  "isLValue": false,
4340
4340
  "isPure": false,
4341
4341
  "lValueRequested": false,
4342
4342
  "leftHandSide": {
4343
- "id": 43850,
4343
+ "id": 44269,
4344
4344
  "name": "accumulator",
4345
4345
  "nodeType": "Identifier",
4346
4346
  "overloadedDeclarations": [],
4347
- "referencedDeclaration": 43832,
4347
+ "referencedDeclaration": 44251,
4348
4348
  "src": "3463:11:50",
4349
4349
  "typeDescriptions": {
4350
4350
  "typeIdentifier": "t_uint256",
@@ -4358,17 +4358,17 @@
4358
4358
  "typeIdentifier": "t_uint256",
4359
4359
  "typeString": "uint256"
4360
4360
  },
4361
- "id": 43853,
4361
+ "id": 44272,
4362
4362
  "isConstant": false,
4363
4363
  "isLValue": false,
4364
4364
  "isPure": false,
4365
4365
  "lValueRequested": false,
4366
4366
  "leftExpression": {
4367
- "id": 43851,
4367
+ "id": 44270,
4368
4368
  "name": "newValueAtIndex",
4369
4369
  "nodeType": "Identifier",
4370
4370
  "overloadedDeclarations": [],
4371
- "referencedDeclaration": 43818,
4371
+ "referencedDeclaration": 44237,
4372
4372
  "src": "3478:15:50",
4373
4373
  "typeDescriptions": {
4374
4374
  "typeIdentifier": "t_uint256",
@@ -4378,11 +4378,11 @@
4378
4378
  "nodeType": "BinaryOperation",
4379
4379
  "operator": "-",
4380
4380
  "rightExpression": {
4381
- "id": 43852,
4381
+ "id": 44271,
4382
4382
  "name": "currentValueAtIndex",
4383
4383
  "nodeType": "Identifier",
4384
4384
  "overloadedDeclarations": [],
4385
- "referencedDeclaration": 43838,
4385
+ "referencedDeclaration": 44257,
4386
4386
  "src": "3496:19:50",
4387
4387
  "typeDescriptions": {
4388
4388
  "typeIdentifier": "t_uint256",
@@ -4401,7 +4401,7 @@
4401
4401
  "typeString": "uint256"
4402
4402
  }
4403
4403
  },
4404
- "id": 43855,
4404
+ "id": 44274,
4405
4405
  "nodeType": "ExpressionStatement",
4406
4406
  "src": "3463:52:50"
4407
4407
  }
@@ -4410,17 +4410,17 @@
4410
4410
  },
4411
4411
  {
4412
4412
  "assignments": [
4413
- 43866
4413
+ 44285
4414
4414
  ],
4415
4415
  "declarations": [
4416
4416
  {
4417
4417
  "constant": false,
4418
- "id": 43866,
4418
+ "id": 44285,
4419
4419
  "mutability": "mutable",
4420
4420
  "name": "offset",
4421
4421
  "nameLocation": "3665:6:50",
4422
4422
  "nodeType": "VariableDeclaration",
4423
- "scope": 43908,
4423
+ "scope": 44327,
4424
4424
  "src": "3657:14:50",
4425
4425
  "stateVariable": false,
4426
4426
  "storageLocation": "default",
@@ -4429,7 +4429,7 @@
4429
4429
  "typeString": "uint256"
4430
4430
  },
4431
4431
  "typeName": {
4432
- "id": 43865,
4432
+ "id": 44284,
4433
4433
  "name": "uint256",
4434
4434
  "nodeType": "ElementaryTypeName",
4435
4435
  "src": "3657:7:50",
@@ -4441,20 +4441,20 @@
4441
4441
  "visibility": "internal"
4442
4442
  }
4443
4443
  ],
4444
- "id": 43872,
4444
+ "id": 44291,
4445
4445
  "initialValue": {
4446
4446
  "commonType": {
4447
4447
  "typeIdentifier": "t_uint256",
4448
4448
  "typeString": "uint256"
4449
4449
  },
4450
- "id": 43871,
4450
+ "id": 44290,
4451
4451
  "isConstant": false,
4452
4452
  "isLValue": false,
4453
4453
  "isPure": false,
4454
4454
  "lValueRequested": false,
4455
4455
  "leftExpression": {
4456
4456
  "hexValue": "34",
4457
- "id": 43867,
4457
+ "id": 44286,
4458
4458
  "isConstant": false,
4459
4459
  "isLValue": false,
4460
4460
  "isPure": true,
@@ -4475,17 +4475,17 @@
4475
4475
  "typeIdentifier": "t_uint256",
4476
4476
  "typeString": "uint256"
4477
4477
  },
4478
- "id": 43870,
4478
+ "id": 44289,
4479
4479
  "isConstant": false,
4480
4480
  "isLValue": false,
4481
4481
  "isPure": false,
4482
4482
  "lValueRequested": false,
4483
4483
  "leftExpression": {
4484
- "id": 43868,
4484
+ "id": 44287,
4485
4485
  "name": "index",
4486
4486
  "nodeType": "Identifier",
4487
4487
  "overloadedDeclarations": [],
4488
- "referencedDeclaration": 43816,
4488
+ "referencedDeclaration": 44235,
4489
4489
  "src": "3678:5:50",
4490
4490
  "typeDescriptions": {
4491
4491
  "typeIdentifier": "t_uint256",
@@ -4496,7 +4496,7 @@
4496
4496
  "operator": "*",
4497
4497
  "rightExpression": {
4498
4498
  "hexValue": "32",
4499
- "id": 43869,
4499
+ "id": 44288,
4500
4500
  "isConstant": false,
4501
4501
  "isLValue": false,
4502
4502
  "isPure": true,
@@ -4527,17 +4527,17 @@
4527
4527
  },
4528
4528
  {
4529
4529
  "expression": {
4530
- "id": 43886,
4530
+ "id": 44305,
4531
4531
  "isConstant": false,
4532
4532
  "isLValue": false,
4533
4533
  "isPure": false,
4534
4534
  "lValueRequested": false,
4535
4535
  "leftHandSide": {
4536
- "id": 43873,
4536
+ "id": 44292,
4537
4537
  "name": "rawPackedCounter",
4538
4538
  "nodeType": "Identifier",
4539
4539
  "overloadedDeclarations": [],
4540
- "referencedDeclaration": 43825,
4540
+ "referencedDeclaration": 44244,
4541
4541
  "src": "3747:16:50",
4542
4542
  "typeDescriptions": {
4543
4543
  "typeIdentifier": "t_bytes32",
@@ -4549,11 +4549,11 @@
4549
4549
  "rightHandSide": {
4550
4550
  "arguments": [
4551
4551
  {
4552
- "id": 43876,
4552
+ "id": 44295,
4553
4553
  "name": "rawPackedCounter",
4554
4554
  "nodeType": "Identifier",
4555
4555
  "overloadedDeclarations": [],
4556
- "referencedDeclaration": 43825,
4556
+ "referencedDeclaration": 44244,
4557
4557
  "src": "3782:16:50",
4558
4558
  "typeDescriptions": {
4559
4559
  "typeIdentifier": "t_bytes32",
@@ -4562,7 +4562,7 @@
4562
4562
  },
4563
4563
  {
4564
4564
  "hexValue": "30",
4565
- "id": 43877,
4565
+ "id": 44296,
4566
4566
  "isConstant": false,
4567
4567
  "isLValue": false,
4568
4568
  "isPure": true,
@@ -4581,11 +4581,11 @@
4581
4581
  {
4582
4582
  "arguments": [
4583
4583
  {
4584
- "id": 43882,
4584
+ "id": 44301,
4585
4585
  "name": "accumulator",
4586
4586
  "nodeType": "Identifier",
4587
4587
  "overloadedDeclarations": [],
4588
- "referencedDeclaration": 43832,
4588
+ "referencedDeclaration": 44251,
4589
4589
  "src": "3817:11:50",
4590
4590
  "typeDescriptions": {
4591
4591
  "typeIdentifier": "t_uint256",
@@ -4600,7 +4600,7 @@
4600
4600
  "typeString": "uint256"
4601
4601
  }
4602
4602
  ],
4603
- "id": 43881,
4603
+ "id": 44300,
4604
4604
  "isConstant": false,
4605
4605
  "isLValue": false,
4606
4606
  "isPure": true,
@@ -4612,14 +4612,14 @@
4612
4612
  "typeString": "type(uint32)"
4613
4613
  },
4614
4614
  "typeName": {
4615
- "id": 43880,
4615
+ "id": 44299,
4616
4616
  "name": "uint32",
4617
4617
  "nodeType": "ElementaryTypeName",
4618
4618
  "src": "3810:6:50",
4619
4619
  "typeDescriptions": {}
4620
4620
  }
4621
4621
  },
4622
- "id": 43883,
4622
+ "id": 44302,
4623
4623
  "isConstant": false,
4624
4624
  "isLValue": false,
4625
4625
  "isPure": false,
@@ -4642,7 +4642,7 @@
4642
4642
  "typeString": "uint32"
4643
4643
  }
4644
4644
  ],
4645
- "id": 43879,
4645
+ "id": 44298,
4646
4646
  "isConstant": false,
4647
4647
  "isLValue": false,
4648
4648
  "isPure": true,
@@ -4654,14 +4654,14 @@
4654
4654
  "typeString": "type(bytes4)"
4655
4655
  },
4656
4656
  "typeName": {
4657
- "id": 43878,
4657
+ "id": 44297,
4658
4658
  "name": "bytes4",
4659
4659
  "nodeType": "ElementaryTypeName",
4660
4660
  "src": "3803:6:50",
4661
4661
  "typeDescriptions": {}
4662
4662
  }
4663
4663
  },
4664
- "id": 43884,
4664
+ "id": 44303,
4665
4665
  "isConstant": false,
4666
4666
  "isLValue": false,
4667
4667
  "isPure": false,
@@ -4693,32 +4693,32 @@
4693
4693
  }
4694
4694
  ],
4695
4695
  "expression": {
4696
- "id": 43874,
4696
+ "id": 44293,
4697
4697
  "name": "Bytes",
4698
4698
  "nodeType": "Identifier",
4699
4699
  "overloadedDeclarations": [],
4700
- "referencedDeclaration": 43260,
4700
+ "referencedDeclaration": 43667,
4701
4701
  "src": "3766:5:50",
4702
4702
  "typeDescriptions": {
4703
- "typeIdentifier": "t_type$_t_contract$_Bytes_$43260_$",
4703
+ "typeIdentifier": "t_type$_t_contract$_Bytes_$43667_$",
4704
4704
  "typeString": "type(library Bytes)"
4705
4705
  }
4706
4706
  },
4707
- "id": 43875,
4707
+ "id": 44294,
4708
4708
  "isConstant": false,
4709
4709
  "isLValue": false,
4710
4710
  "isPure": false,
4711
4711
  "lValueRequested": false,
4712
4712
  "memberName": "setBytes4",
4713
4713
  "nodeType": "MemberAccess",
4714
- "referencedDeclaration": 42667,
4714
+ "referencedDeclaration": 43074,
4715
4715
  "src": "3766:15:50",
4716
4716
  "typeDescriptions": {
4717
4717
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint256_$_t_bytes4_$returns$_t_bytes32_$",
4718
4718
  "typeString": "function (bytes32,uint256,bytes4) pure returns (bytes32)"
4719
4719
  }
4720
4720
  },
4721
- "id": 43885,
4721
+ "id": 44304,
4722
4722
  "isConstant": false,
4723
4723
  "isLValue": false,
4724
4724
  "isPure": false,
@@ -4739,23 +4739,23 @@
4739
4739
  "typeString": "bytes32"
4740
4740
  }
4741
4741
  },
4742
- "id": 43887,
4742
+ "id": 44306,
4743
4743
  "nodeType": "ExpressionStatement",
4744
4744
  "src": "3747:84:50"
4745
4745
  },
4746
4746
  {
4747
4747
  "expression": {
4748
- "id": 43901,
4748
+ "id": 44320,
4749
4749
  "isConstant": false,
4750
4750
  "isLValue": false,
4751
4751
  "isPure": false,
4752
4752
  "lValueRequested": false,
4753
4753
  "leftHandSide": {
4754
- "id": 43888,
4754
+ "id": 44307,
4755
4755
  "name": "rawPackedCounter",
4756
4756
  "nodeType": "Identifier",
4757
4757
  "overloadedDeclarations": [],
4758
- "referencedDeclaration": 43825,
4758
+ "referencedDeclaration": 44244,
4759
4759
  "src": "3837:16:50",
4760
4760
  "typeDescriptions": {
4761
4761
  "typeIdentifier": "t_bytes32",
@@ -4767,11 +4767,11 @@
4767
4767
  "rightHandSide": {
4768
4768
  "arguments": [
4769
4769
  {
4770
- "id": 43891,
4770
+ "id": 44310,
4771
4771
  "name": "rawPackedCounter",
4772
4772
  "nodeType": "Identifier",
4773
4773
  "overloadedDeclarations": [],
4774
- "referencedDeclaration": 43825,
4774
+ "referencedDeclaration": 44244,
4775
4775
  "src": "3872:16:50",
4776
4776
  "typeDescriptions": {
4777
4777
  "typeIdentifier": "t_bytes32",
@@ -4779,11 +4779,11 @@
4779
4779
  }
4780
4780
  },
4781
4781
  {
4782
- "id": 43892,
4782
+ "id": 44311,
4783
4783
  "name": "offset",
4784
4784
  "nodeType": "Identifier",
4785
4785
  "overloadedDeclarations": [],
4786
- "referencedDeclaration": 43866,
4786
+ "referencedDeclaration": 44285,
4787
4787
  "src": "3890:6:50",
4788
4788
  "typeDescriptions": {
4789
4789
  "typeIdentifier": "t_uint256",
@@ -4795,11 +4795,11 @@
4795
4795
  {
4796
4796
  "arguments": [
4797
4797
  {
4798
- "id": 43897,
4798
+ "id": 44316,
4799
4799
  "name": "newValueAtIndex",
4800
4800
  "nodeType": "Identifier",
4801
4801
  "overloadedDeclarations": [],
4802
- "referencedDeclaration": 43818,
4802
+ "referencedDeclaration": 44237,
4803
4803
  "src": "3912:15:50",
4804
4804
  "typeDescriptions": {
4805
4805
  "typeIdentifier": "t_uint256",
@@ -4814,7 +4814,7 @@
4814
4814
  "typeString": "uint256"
4815
4815
  }
4816
4816
  ],
4817
- "id": 43896,
4817
+ "id": 44315,
4818
4818
  "isConstant": false,
4819
4819
  "isLValue": false,
4820
4820
  "isPure": true,
@@ -4826,14 +4826,14 @@
4826
4826
  "typeString": "type(uint16)"
4827
4827
  },
4828
4828
  "typeName": {
4829
- "id": 43895,
4829
+ "id": 44314,
4830
4830
  "name": "uint16",
4831
4831
  "nodeType": "ElementaryTypeName",
4832
4832
  "src": "3905:6:50",
4833
4833
  "typeDescriptions": {}
4834
4834
  }
4835
4835
  },
4836
- "id": 43898,
4836
+ "id": 44317,
4837
4837
  "isConstant": false,
4838
4838
  "isLValue": false,
4839
4839
  "isPure": false,
@@ -4856,7 +4856,7 @@
4856
4856
  "typeString": "uint16"
4857
4857
  }
4858
4858
  ],
4859
- "id": 43894,
4859
+ "id": 44313,
4860
4860
  "isConstant": false,
4861
4861
  "isLValue": false,
4862
4862
  "isPure": true,
@@ -4868,14 +4868,14 @@
4868
4868
  "typeString": "type(bytes2)"
4869
4869
  },
4870
4870
  "typeName": {
4871
- "id": 43893,
4871
+ "id": 44312,
4872
4872
  "name": "bytes2",
4873
4873
  "nodeType": "ElementaryTypeName",
4874
4874
  "src": "3898:6:50",
4875
4875
  "typeDescriptions": {}
4876
4876
  }
4877
4877
  },
4878
- "id": 43899,
4878
+ "id": 44318,
4879
4879
  "isConstant": false,
4880
4880
  "isLValue": false,
4881
4881
  "isPure": false,
@@ -4907,32 +4907,32 @@
4907
4907
  }
4908
4908
  ],
4909
4909
  "expression": {
4910
- "id": 43889,
4910
+ "id": 44308,
4911
4911
  "name": "Bytes",
4912
4912
  "nodeType": "Identifier",
4913
4913
  "overloadedDeclarations": [],
4914
- "referencedDeclaration": 43260,
4914
+ "referencedDeclaration": 43667,
4915
4915
  "src": "3856:5:50",
4916
4916
  "typeDescriptions": {
4917
- "typeIdentifier": "t_type$_t_contract$_Bytes_$43260_$",
4917
+ "typeIdentifier": "t_type$_t_contract$_Bytes_$43667_$",
4918
4918
  "typeString": "type(library Bytes)"
4919
4919
  }
4920
4920
  },
4921
- "id": 43890,
4921
+ "id": 44309,
4922
4922
  "isConstant": false,
4923
4923
  "isLValue": false,
4924
4924
  "isPure": false,
4925
4925
  "lValueRequested": false,
4926
4926
  "memberName": "setBytes2",
4927
4927
  "nodeType": "MemberAccess",
4928
- "referencedDeclaration": 42647,
4928
+ "referencedDeclaration": 43054,
4929
4929
  "src": "3856:15:50",
4930
4930
  "typeDescriptions": {
4931
4931
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint256_$_t_bytes2_$returns$_t_bytes32_$",
4932
4932
  "typeString": "function (bytes32,uint256,bytes2) pure returns (bytes32)"
4933
4933
  }
4934
4934
  },
4935
- "id": 43900,
4935
+ "id": 44319,
4936
4936
  "isConstant": false,
4937
4937
  "isLValue": false,
4938
4938
  "isPure": false,
@@ -4953,7 +4953,7 @@
4953
4953
  "typeString": "bytes32"
4954
4954
  }
4955
4955
  },
4956
- "id": 43902,
4956
+ "id": 44321,
4957
4957
  "nodeType": "ExpressionStatement",
4958
4958
  "src": "3837:93:50"
4959
4959
  },
@@ -4961,11 +4961,11 @@
4961
4961
  "expression": {
4962
4962
  "arguments": [
4963
4963
  {
4964
- "id": 43905,
4964
+ "id": 44324,
4965
4965
  "name": "rawPackedCounter",
4966
4966
  "nodeType": "Identifier",
4967
4967
  "overloadedDeclarations": [],
4968
- "referencedDeclaration": 43825,
4968
+ "referencedDeclaration": 44244,
4969
4969
  "src": "3963:16:50",
4970
4970
  "typeDescriptions": {
4971
4971
  "typeIdentifier": "t_bytes32",
@@ -4981,18 +4981,18 @@
4981
4981
  }
4982
4982
  ],
4983
4983
  "expression": {
4984
- "id": 43903,
4984
+ "id": 44322,
4985
4985
  "name": "PackedCounter",
4986
4986
  "nodeType": "Identifier",
4987
4987
  "overloadedDeclarations": [],
4988
- "referencedDeclaration": 43508,
4988
+ "referencedDeclaration": 43927,
4989
4989
  "src": "3944:13:50",
4990
4990
  "typeDescriptions": {
4991
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43508_$",
4991
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43927_$",
4992
4992
  "typeString": "type(PackedCounter)"
4993
4993
  }
4994
4994
  },
4995
- "id": 43904,
4995
+ "id": 44323,
4996
4996
  "isConstant": false,
4997
4997
  "isLValue": false,
4998
4998
  "isPure": true,
@@ -5001,11 +5001,11 @@
5001
5001
  "nodeType": "MemberAccess",
5002
5002
  "src": "3944:18:50",
5003
5003
  "typeDescriptions": {
5004
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_PackedCounter_$43508_$",
5004
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_PackedCounter_$43927_$",
5005
5005
  "typeString": "function (bytes32) pure returns (PackedCounter)"
5006
5006
  }
5007
5007
  },
5008
- "id": 43906,
5008
+ "id": 44325,
5009
5009
  "isConstant": false,
5010
5010
  "isLValue": false,
5011
5011
  "isPure": false,
@@ -5016,19 +5016,19 @@
5016
5016
  "src": "3944:36:50",
5017
5017
  "tryCall": false,
5018
5018
  "typeDescriptions": {
5019
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
5019
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
5020
5020
  "typeString": "PackedCounter"
5021
5021
  }
5022
5022
  },
5023
- "functionReturnParameters": 43823,
5024
- "id": 43907,
5023
+ "functionReturnParameters": 44242,
5024
+ "id": 44326,
5025
5025
  "nodeType": "Return",
5026
5026
  "src": "3937:43:50"
5027
5027
  }
5028
5028
  ]
5029
5029
  },
5030
5030
  "documentation": {
5031
- "id": 43811,
5031
+ "id": 44230,
5032
5032
  "nodeType": "StructuredDocumentation",
5033
5033
  "src": "2886:78:50",
5034
5034
  "text": " Set a counter at the given index, return the new packed counter"
@@ -5039,38 +5039,38 @@
5039
5039
  "name": "setAtIndex",
5040
5040
  "nameLocation": "2976:10:50",
5041
5041
  "parameters": {
5042
- "id": 43819,
5042
+ "id": 44238,
5043
5043
  "nodeType": "ParameterList",
5044
5044
  "parameters": [
5045
5045
  {
5046
5046
  "constant": false,
5047
- "id": 43814,
5047
+ "id": 44233,
5048
5048
  "mutability": "mutable",
5049
5049
  "name": "packedCounter",
5050
5050
  "nameLocation": "3006:13:50",
5051
5051
  "nodeType": "VariableDeclaration",
5052
- "scope": 43909,
5052
+ "scope": 44328,
5053
5053
  "src": "2992:27:50",
5054
5054
  "stateVariable": false,
5055
5055
  "storageLocation": "default",
5056
5056
  "typeDescriptions": {
5057
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
5057
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
5058
5058
  "typeString": "PackedCounter"
5059
5059
  },
5060
5060
  "typeName": {
5061
- "id": 43813,
5061
+ "id": 44232,
5062
5062
  "nodeType": "UserDefinedTypeName",
5063
5063
  "pathNode": {
5064
- "id": 43812,
5064
+ "id": 44231,
5065
5065
  "name": "PackedCounter",
5066
5066
  "nodeType": "IdentifierPath",
5067
- "referencedDeclaration": 43508,
5067
+ "referencedDeclaration": 43927,
5068
5068
  "src": "2992:13:50"
5069
5069
  },
5070
- "referencedDeclaration": 43508,
5070
+ "referencedDeclaration": 43927,
5071
5071
  "src": "2992:13:50",
5072
5072
  "typeDescriptions": {
5073
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
5073
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
5074
5074
  "typeString": "PackedCounter"
5075
5075
  }
5076
5076
  },
@@ -5078,12 +5078,12 @@
5078
5078
  },
5079
5079
  {
5080
5080
  "constant": false,
5081
- "id": 43816,
5081
+ "id": 44235,
5082
5082
  "mutability": "mutable",
5083
5083
  "name": "index",
5084
5084
  "nameLocation": "3033:5:50",
5085
5085
  "nodeType": "VariableDeclaration",
5086
- "scope": 43909,
5086
+ "scope": 44328,
5087
5087
  "src": "3025:13:50",
5088
5088
  "stateVariable": false,
5089
5089
  "storageLocation": "default",
@@ -5092,7 +5092,7 @@
5092
5092
  "typeString": "uint256"
5093
5093
  },
5094
5094
  "typeName": {
5095
- "id": 43815,
5095
+ "id": 44234,
5096
5096
  "name": "uint256",
5097
5097
  "nodeType": "ElementaryTypeName",
5098
5098
  "src": "3025:7:50",
@@ -5105,12 +5105,12 @@
5105
5105
  },
5106
5106
  {
5107
5107
  "constant": false,
5108
- "id": 43818,
5108
+ "id": 44237,
5109
5109
  "mutability": "mutable",
5110
5110
  "name": "newValueAtIndex",
5111
5111
  "nameLocation": "3052:15:50",
5112
5112
  "nodeType": "VariableDeclaration",
5113
- "scope": 43909,
5113
+ "scope": 44328,
5114
5114
  "src": "3044:23:50",
5115
5115
  "stateVariable": false,
5116
5116
  "storageLocation": "default",
@@ -5119,7 +5119,7 @@
5119
5119
  "typeString": "uint256"
5120
5120
  },
5121
5121
  "typeName": {
5122
- "id": 43817,
5122
+ "id": 44236,
5123
5123
  "name": "uint256",
5124
5124
  "nodeType": "ElementaryTypeName",
5125
5125
  "src": "3044:7:50",
@@ -5134,38 +5134,38 @@
5134
5134
  "src": "2986:85:50"
5135
5135
  },
5136
5136
  "returnParameters": {
5137
- "id": 43823,
5137
+ "id": 44242,
5138
5138
  "nodeType": "ParameterList",
5139
5139
  "parameters": [
5140
5140
  {
5141
5141
  "constant": false,
5142
- "id": 43822,
5142
+ "id": 44241,
5143
5143
  "mutability": "mutable",
5144
5144
  "name": "",
5145
5145
  "nameLocation": "-1:-1:-1",
5146
5146
  "nodeType": "VariableDeclaration",
5147
- "scope": 43909,
5147
+ "scope": 44328,
5148
5148
  "src": "3095:13:50",
5149
5149
  "stateVariable": false,
5150
5150
  "storageLocation": "default",
5151
5151
  "typeDescriptions": {
5152
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
5152
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
5153
5153
  "typeString": "PackedCounter"
5154
5154
  },
5155
5155
  "typeName": {
5156
- "id": 43821,
5156
+ "id": 44240,
5157
5157
  "nodeType": "UserDefinedTypeName",
5158
5158
  "pathNode": {
5159
- "id": 43820,
5159
+ "id": 44239,
5160
5160
  "name": "PackedCounter",
5161
5161
  "nodeType": "IdentifierPath",
5162
- "referencedDeclaration": 43508,
5162
+ "referencedDeclaration": 43927,
5163
5163
  "src": "3095:13:50"
5164
5164
  },
5165
- "referencedDeclaration": 43508,
5165
+ "referencedDeclaration": 43927,
5166
5166
  "src": "3095:13:50",
5167
5167
  "typeDescriptions": {
5168
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
5168
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
5169
5169
  "typeString": "PackedCounter"
5170
5170
  }
5171
5171
  },
@@ -5174,18 +5174,18 @@
5174
5174
  ],
5175
5175
  "src": "3094:15:50"
5176
5176
  },
5177
- "scope": 43924,
5177
+ "scope": 44343,
5178
5178
  "stateMutability": "pure",
5179
5179
  "virtual": false,
5180
5180
  "visibility": "internal"
5181
5181
  },
5182
5182
  {
5183
- "id": 43923,
5183
+ "id": 44342,
5184
5184
  "nodeType": "FunctionDefinition",
5185
5185
  "src": "4031:130:50",
5186
5186
  "nodes": [],
5187
5187
  "body": {
5188
- "id": 43922,
5188
+ "id": 44341,
5189
5189
  "nodeType": "Block",
5190
5190
  "src": "4108:53:50",
5191
5191
  "nodes": [],
@@ -5194,14 +5194,14 @@
5194
5194
  "expression": {
5195
5195
  "arguments": [
5196
5196
  {
5197
- "id": 43919,
5197
+ "id": 44338,
5198
5198
  "name": "packedCounter",
5199
5199
  "nodeType": "Identifier",
5200
5200
  "overloadedDeclarations": [],
5201
- "referencedDeclaration": 43912,
5201
+ "referencedDeclaration": 44331,
5202
5202
  "src": "4142:13:50",
5203
5203
  "typeDescriptions": {
5204
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
5204
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
5205
5205
  "typeString": "PackedCounter"
5206
5206
  }
5207
5207
  }
@@ -5209,23 +5209,23 @@
5209
5209
  "expression": {
5210
5210
  "argumentTypes": [
5211
5211
  {
5212
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
5212
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
5213
5213
  "typeString": "PackedCounter"
5214
5214
  }
5215
5215
  ],
5216
5216
  "expression": {
5217
- "id": 43917,
5217
+ "id": 44336,
5218
5218
  "name": "PackedCounter",
5219
5219
  "nodeType": "Identifier",
5220
5220
  "overloadedDeclarations": [],
5221
- "referencedDeclaration": 43508,
5221
+ "referencedDeclaration": 43927,
5222
5222
  "src": "4121:13:50",
5223
5223
  "typeDescriptions": {
5224
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43508_$",
5224
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$43927_$",
5225
5225
  "typeString": "type(PackedCounter)"
5226
5226
  }
5227
5227
  },
5228
- "id": 43918,
5228
+ "id": 44337,
5229
5229
  "isConstant": false,
5230
5230
  "isLValue": false,
5231
5231
  "isPure": true,
@@ -5234,11 +5234,11 @@
5234
5234
  "nodeType": "MemberAccess",
5235
5235
  "src": "4121:20:50",
5236
5236
  "typeDescriptions": {
5237
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$43508_$returns$_t_bytes32_$",
5237
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$43927_$returns$_t_bytes32_$",
5238
5238
  "typeString": "function (PackedCounter) pure returns (bytes32)"
5239
5239
  }
5240
5240
  },
5241
- "id": 43920,
5241
+ "id": 44339,
5242
5242
  "isConstant": false,
5243
5243
  "isLValue": false,
5244
5244
  "isPure": false,
@@ -5253,8 +5253,8 @@
5253
5253
  "typeString": "bytes32"
5254
5254
  }
5255
5255
  },
5256
- "functionReturnParameters": 43916,
5257
- "id": 43921,
5256
+ "functionReturnParameters": 44335,
5257
+ "id": 44340,
5258
5258
  "nodeType": "Return",
5259
5259
  "src": "4114:42:50"
5260
5260
  }
@@ -5266,38 +5266,38 @@
5266
5266
  "name": "unwrap",
5267
5267
  "nameLocation": "4040:6:50",
5268
5268
  "parameters": {
5269
- "id": 43913,
5269
+ "id": 44332,
5270
5270
  "nodeType": "ParameterList",
5271
5271
  "parameters": [
5272
5272
  {
5273
5273
  "constant": false,
5274
- "id": 43912,
5274
+ "id": 44331,
5275
5275
  "mutability": "mutable",
5276
5276
  "name": "packedCounter",
5277
5277
  "nameLocation": "4061:13:50",
5278
5278
  "nodeType": "VariableDeclaration",
5279
- "scope": 43923,
5279
+ "scope": 44342,
5280
5280
  "src": "4047:27:50",
5281
5281
  "stateVariable": false,
5282
5282
  "storageLocation": "default",
5283
5283
  "typeDescriptions": {
5284
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
5284
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
5285
5285
  "typeString": "PackedCounter"
5286
5286
  },
5287
5287
  "typeName": {
5288
- "id": 43911,
5288
+ "id": 44330,
5289
5289
  "nodeType": "UserDefinedTypeName",
5290
5290
  "pathNode": {
5291
- "id": 43910,
5291
+ "id": 44329,
5292
5292
  "name": "PackedCounter",
5293
5293
  "nodeType": "IdentifierPath",
5294
- "referencedDeclaration": 43508,
5294
+ "referencedDeclaration": 43927,
5295
5295
  "src": "4047:13:50"
5296
5296
  },
5297
- "referencedDeclaration": 43508,
5297
+ "referencedDeclaration": 43927,
5298
5298
  "src": "4047:13:50",
5299
5299
  "typeDescriptions": {
5300
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43508",
5300
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$43927",
5301
5301
  "typeString": "PackedCounter"
5302
5302
  }
5303
5303
  },
@@ -5307,17 +5307,17 @@
5307
5307
  "src": "4046:29:50"
5308
5308
  },
5309
5309
  "returnParameters": {
5310
- "id": 43916,
5310
+ "id": 44335,
5311
5311
  "nodeType": "ParameterList",
5312
5312
  "parameters": [
5313
5313
  {
5314
5314
  "constant": false,
5315
- "id": 43915,
5315
+ "id": 44334,
5316
5316
  "mutability": "mutable",
5317
5317
  "name": "",
5318
5318
  "nameLocation": "-1:-1:-1",
5319
5319
  "nodeType": "VariableDeclaration",
5320
- "scope": 43923,
5320
+ "scope": 44342,
5321
5321
  "src": "4099:7:50",
5322
5322
  "stateVariable": false,
5323
5323
  "storageLocation": "default",
@@ -5326,7 +5326,7 @@
5326
5326
  "typeString": "bytes32"
5327
5327
  },
5328
5328
  "typeName": {
5329
- "id": 43914,
5329
+ "id": 44333,
5330
5330
  "name": "bytes32",
5331
5331
  "nodeType": "ElementaryTypeName",
5332
5332
  "src": "4099:7:50",
@@ -5340,7 +5340,7 @@
5340
5340
  ],
5341
5341
  "src": "4098:9:50"
5342
5342
  },
5343
- "scope": 43924,
5343
+ "scope": 44343,
5344
5344
  "stateMutability": "pure",
5345
5345
  "virtual": false,
5346
5346
  "visibility": "internal"
@@ -5353,11 +5353,11 @@
5353
5353
  "contractKind": "library",
5354
5354
  "fullyImplemented": true,
5355
5355
  "linearizedBaseContracts": [
5356
- 43924
5356
+ 44343
5357
5357
  ],
5358
5358
  "name": "PackedCounterLib",
5359
5359
  "nameLocation": "251:16:50",
5360
- "scope": 43925,
5360
+ "scope": 44344,
5361
5361
  "usedErrors": []
5362
5362
  }
5363
5363
  ],