@latticexyz/world 2.0.0-alpha.1.21 → 2.0.0-alpha.1.22

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 (133) hide show
  1. package/abi/AccessControl.sol/AccessControl.json +241 -241
  2. package/abi/AccessManagementSystem.sol/AccessManagementSystem.json +157 -157
  3. package/abi/AddressArray.sol/AddressArray.json +1124 -1124
  4. package/abi/ArrayLib.sol/ArrayLib.json +139 -139
  5. package/abi/Bool.sol/Bool.json +704 -704
  6. package/abi/Bytes.sol/Bytes.json +6 -6
  7. package/abi/Call.sol/Call.json +112 -112
  8. package/abi/Callbacks.sol/Callbacks.json +1100 -1100
  9. package/abi/CoreModule.sol/CoreModule.json +542 -542
  10. package/abi/CoreSystem.sol/CoreSystem.json +92 -92
  11. package/abi/DecodeSlice.sol/DecodeSlice.json +3891 -3891
  12. package/abi/EncodeArray.sol/EncodeArray.json +3344 -3344
  13. package/abi/FunctionSelectors.sol/FunctionSelectors.json +1678 -1678
  14. package/abi/Hooks.sol/Hooks.json +1100 -1100
  15. package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.json +32 -32
  16. package/abi/IBaseWorld.sol/IBaseWorld.json +224 -99
  17. package/abi/ICoreSystem.sol/ICoreSystem.json +6 -6
  18. package/abi/IModule.sol/IModule.json +28 -28
  19. package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +40 -40
  20. package/abi/IStore.sol/IStore.json +551 -349
  21. package/abi/IStore.sol/IStoreData.json +551 -349
  22. package/abi/IStore.sol/IStoreHook.json +495 -349
  23. package/abi/IStore.sol/IStoreRead.json +495 -349
  24. package/abi/IStore.sol/IStoreRegistration.json +495 -349
  25. package/abi/IStore.sol/IStoreWrite.json +551 -349
  26. package/abi/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +80 -80
  27. package/abi/ISystemHook.sol/ISystemHook.json +19 -19
  28. package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  29. package/abi/IWorldKernel.sol/IWorldCall.json +455 -276
  30. package/abi/IWorldKernel.sol/IWorldData.json +524 -276
  31. package/abi/IWorldKernel.sol/IWorldKernel.json +524 -276
  32. package/abi/IWorldKernel.sol/IWorldModuleInstallation.json +455 -276
  33. package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
  34. package/abi/InstalledModules.sol/InstalledModules.json +1351 -1351
  35. package/abi/KeysWithValue.sol/KeysWithValue.json +1124 -1124
  36. package/abi/KeysWithValueHook.sol/KeysWithValueHook.json +416 -416
  37. package/abi/KeysWithValueModule.sol/KeysWithValueModule.json +293 -293
  38. package/abi/Memory.sol/Memory.json +131 -131
  39. package/abi/Mixed.sol/Mixed.json +2781 -2781
  40. package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +138 -138
  41. package/abi/NamespaceOwner.sol/NamespaceOwner.json +782 -782
  42. package/abi/PackedCounter.sol/PackedCounterLib.json +665 -665
  43. package/abi/ResourceAccess.sol/ResourceAccess.json +926 -926
  44. package/abi/ResourceSelector.sol/ResourceSelector.json +253 -253
  45. package/abi/ResourceType.sol/ResourceType.json +831 -831
  46. package/abi/Schema.sol/SchemaLib.json +1469 -1469
  47. package/abi/SchemaType.sol/SchemaType.json +315 -315
  48. package/abi/Slice.sol/SliceInstance.json +429 -429
  49. package/abi/Slice.sol/SliceLib.json +429 -429
  50. package/abi/Storage.sol/Storage.json +1024 -1061
  51. package/abi/StoreCore.sol/StoreCore.json +10434 -7652
  52. package/abi/StoreCore.sol/StoreCoreExtended.json +10434 -7652
  53. package/abi/StoreCore.sol/StoreCoreInternal.json +10434 -7652
  54. package/abi/StoreMetadata.sol/StoreMetadata.json +2116 -2116
  55. package/abi/StoreRead.sol/StoreRead.json +247 -247
  56. package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +339 -339
  57. package/abi/StoreSwitch.sol/StoreSwitch.json +1814 -1359
  58. package/abi/System.sol/System.json +31 -31
  59. package/abi/SystemRegistry.sol/SystemRegistry.json +794 -794
  60. package/abi/Systems.sol/Systems.json +1412 -1412
  61. package/abi/TableId.sol/TableId.json +27 -27
  62. package/abi/Tables.sol/Tables.json +92 -92
  63. package/abi/TightCoder.sol/TightCoder.json +275 -275
  64. package/abi/Types.sol/Types.json +8 -8
  65. package/abi/UniqueEntity.sol/UniqueEntity.json +683 -683
  66. package/abi/UniqueEntityModule.sol/UniqueEntityModule.json +232 -232
  67. package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
  68. package/abi/Utils.sol/Utils.json +67 -67
  69. package/abi/Vector2.sol/Vector2.json +1473 -1473
  70. package/abi/World.sol/World.json +2426 -1491
  71. package/abi/WorldContext.sol/WorldContext.json +65 -65
  72. package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1140 -1140
  73. package/abi/console.sol/console.json +11417 -11417
  74. package/abi/constants.sol/constants.json +34 -34
  75. package/abi/getKeysWithValue.sol/getKeysWithValue.json +129 -129
  76. package/abi/getTargetTableSelector.sol/getTargetTableSelector.json +75 -75
  77. package/abi/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  78. package/abi/interfaces/IErrors.sol/IErrors.json +57 -57
  79. package/abi/src/Bytes.sol/Bytes.json +1225 -1225
  80. package/abi/src/IStore.sol/IStore.json +727 -525
  81. package/abi/src/IStore.sol/IStoreData.json +727 -525
  82. package/abi/src/IStore.sol/IStoreHook.json +671 -525
  83. package/abi/src/IStore.sol/IStoreRead.json +671 -525
  84. package/abi/src/IStore.sol/IStoreRegistration.json +671 -525
  85. package/abi/src/IStore.sol/IStoreWrite.json +727 -525
  86. package/abi/src/Memory.sol/Memory.json +131 -131
  87. package/abi/src/PackedCounter.sol/PackedCounterLib.json +683 -683
  88. package/abi/src/Schema.sol/SchemaLib.json +1493 -1493
  89. package/abi/src/Slice.sol/SliceInstance.json +429 -429
  90. package/abi/src/Slice.sol/SliceLib.json +429 -429
  91. package/abi/src/StoreCore.sol/StoreCore.json +12500 -9718
  92. package/abi/src/StoreCore.sol/StoreCoreExtended.json +12500 -9718
  93. package/abi/src/StoreCore.sol/StoreCoreInternal.json +12500 -9718
  94. package/abi/src/StoreSwitch.sol/StoreSwitch.json +1822 -1367
  95. package/abi/tightcoder/EncodeArray.sol/EncodeArray.json +3344 -3344
  96. package/package.json +6 -6
  97. package/src/World.sol +32 -0
  98. package/src/interfaces/IWorldKernel.sol +12 -0
  99. package/types/ethers-contracts/IBaseWorld.ts +116 -0
  100. package/types/ethers-contracts/IStore.sol/IStore.ts +55 -0
  101. package/types/ethers-contracts/IStore.sol/IStoreData.ts +55 -0
  102. package/types/ethers-contracts/IStore.sol/IStoreWrite.ts +55 -0
  103. package/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts +61 -0
  104. package/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts +61 -0
  105. package/types/ethers-contracts/World.ts +116 -0
  106. package/types/ethers-contracts/factories/AccessManagementSystem__factory.ts +1 -1
  107. package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
  108. package/types/ethers-contracts/factories/CoreSystem__factory.ts +1 -1
  109. package/types/ethers-contracts/factories/IBaseWorld__factory.ts +61 -0
  110. package/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +28 -0
  111. package/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +28 -0
  112. package/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +28 -0
  113. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts +33 -0
  114. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts +33 -0
  115. package/types/ethers-contracts/factories/KeysWithValueHook__factory.ts +1 -1
  116. package/types/ethers-contracts/factories/KeysWithValueModule__factory.ts +1 -1
  117. package/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts +1 -1
  118. package/types/ethers-contracts/factories/StoreCore__factory.ts +1 -1
  119. package/types/ethers-contracts/factories/StoreRead__factory.ts +1 -1
  120. package/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts +1 -1
  121. package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
  122. package/types/ethers-contracts/factories/UniqueEntityModule__factory.ts +1 -1
  123. package/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts +1 -1
  124. package/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts +1 -1
  125. package/types/ethers-contracts/factories/World__factory.ts +62 -1
  126. package/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts +28 -0
  127. package/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts +28 -0
  128. package/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts +28 -0
  129. package/types/ethers-contracts/factories/src/StoreCore__factory.ts +1 -1
  130. package/types/ethers-contracts/factories/src/StoreSwitch__factory.ts +1 -1
  131. package/types/ethers-contracts/src/IStore.sol/IStore.ts +55 -0
  132. package/types/ethers-contracts/src/IStore.sol/IStoreData.ts +55 -0
  133. package/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts +55 -0
@@ -127,23 +127,23 @@
127
127
  },
128
128
  "ast": {
129
129
  "absolutePath": "/home/runner/work/mud/mud/packages/store/src/PackedCounter.sol",
130
- "id": 1498,
130
+ "id": 1510,
131
131
  "exportedSymbols": {
132
132
  "Bytes": [
133
133
  731
134
134
  ],
135
135
  "PackedCounter": [
136
- 1081
136
+ 1093
137
137
  ],
138
138
  "PackedCounterLib": [
139
- 1497
139
+ 1509
140
140
  ]
141
141
  },
142
142
  "nodeType": "SourceUnit",
143
143
  "src": "32:4096:4",
144
144
  "nodes": [
145
145
  {
146
- "id": 1077,
146
+ "id": 1089,
147
147
  "nodeType": "PragmaDirective",
148
148
  "src": "32:24:4",
149
149
  "nodes": [],
@@ -155,19 +155,19 @@
155
155
  ]
156
156
  },
157
157
  {
158
- "id": 1079,
158
+ "id": 1091,
159
159
  "nodeType": "ImportDirective",
160
160
  "src": "58:36:4",
161
161
  "nodes": [],
162
162
  "absolutePath": "/home/runner/work/mud/mud/packages/store/src/Bytes.sol",
163
163
  "file": "./Bytes.sol",
164
164
  "nameLocation": "-1:-1:-1",
165
- "scope": 1498,
165
+ "scope": 1510,
166
166
  "sourceUnit": 732,
167
167
  "symbolAliases": [
168
168
  {
169
169
  "foreign": {
170
- "id": 1078,
170
+ "id": 1090,
171
171
  "name": "Bytes",
172
172
  "nodeType": "Identifier",
173
173
  "overloadedDeclarations": [],
@@ -181,7 +181,7 @@
181
181
  "unitAlias": ""
182
182
  },
183
183
  {
184
- "id": 1081,
184
+ "id": 1093,
185
185
  "nodeType": "UserDefinedValueTypeDefinition",
186
186
  "src": "161:30:4",
187
187
  "nodes": [],
@@ -189,7 +189,7 @@
189
189
  "name": "PackedCounter",
190
190
  "nameLocation": "166:13:4",
191
191
  "underlyingType": {
192
- "id": 1080,
192
+ "id": 1092,
193
193
  "name": "bytes32",
194
194
  "nodeType": "ElementaryTypeName",
195
195
  "src": "183:7:4",
@@ -200,65 +200,65 @@
200
200
  }
201
201
  },
202
202
  {
203
- "id": 1085,
203
+ "id": 1097,
204
204
  "nodeType": "UsingForDirective",
205
205
  "src": "193:48:4",
206
206
  "nodes": [],
207
207
  "global": true,
208
208
  "libraryName": {
209
- "id": 1082,
209
+ "id": 1094,
210
210
  "name": "PackedCounterLib",
211
211
  "nodeType": "IdentifierPath",
212
- "referencedDeclaration": 1497,
212
+ "referencedDeclaration": 1509,
213
213
  "src": "199:16:4"
214
214
  },
215
215
  "typeName": {
216
- "id": 1084,
216
+ "id": 1096,
217
217
  "nodeType": "UserDefinedTypeName",
218
218
  "pathNode": {
219
- "id": 1083,
219
+ "id": 1095,
220
220
  "name": "PackedCounter",
221
221
  "nodeType": "IdentifierPath",
222
- "referencedDeclaration": 1081,
222
+ "referencedDeclaration": 1093,
223
223
  "src": "220:13:4"
224
224
  },
225
- "referencedDeclaration": 1081,
225
+ "referencedDeclaration": 1093,
226
226
  "src": "220:13:4",
227
227
  "typeDescriptions": {
228
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
228
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
229
229
  "typeString": "PackedCounter"
230
230
  }
231
231
  }
232
232
  },
233
233
  {
234
- "id": 1497,
234
+ "id": 1509,
235
235
  "nodeType": "ContractDefinition",
236
236
  "src": "243:3884:4",
237
237
  "nodes": [
238
238
  {
239
- "id": 1156,
239
+ "id": 1168,
240
240
  "nodeType": "FunctionDefinition",
241
241
  "src": "621:563:4",
242
242
  "nodes": [],
243
243
  "body": {
244
- "id": 1155,
244
+ "id": 1167,
245
245
  "nodeType": "Block",
246
246
  "src": "699:485:4",
247
247
  "nodes": [],
248
248
  "statements": [
249
249
  {
250
250
  "assignments": [
251
- 1096
251
+ 1108
252
252
  ],
253
253
  "declarations": [
254
254
  {
255
255
  "constant": false,
256
- "id": 1096,
256
+ "id": 1108,
257
257
  "mutability": "mutable",
258
258
  "name": "packedCounter",
259
259
  "nameLocation": "713:13:4",
260
260
  "nodeType": "VariableDeclaration",
261
- "scope": 1155,
261
+ "scope": 1167,
262
262
  "src": "705:21:4",
263
263
  "stateVariable": false,
264
264
  "storageLocation": "default",
@@ -267,7 +267,7 @@
267
267
  "typeString": "bytes32"
268
268
  },
269
269
  "typeName": {
270
- "id": 1095,
270
+ "id": 1107,
271
271
  "name": "bytes32",
272
272
  "nodeType": "ElementaryTypeName",
273
273
  "src": "705:7:4",
@@ -279,23 +279,23 @@
279
279
  "visibility": "internal"
280
280
  }
281
281
  ],
282
- "id": 1097,
282
+ "id": 1109,
283
283
  "nodeType": "VariableDeclarationStatement",
284
284
  "src": "705:21:4"
285
285
  },
286
286
  {
287
287
  "assignments": [
288
- 1099
288
+ 1111
289
289
  ],
290
290
  "declarations": [
291
291
  {
292
292
  "constant": false,
293
- "id": 1099,
293
+ "id": 1111,
294
294
  "mutability": "mutable",
295
295
  "name": "accumulator",
296
296
  "nameLocation": "739:11:4",
297
297
  "nodeType": "VariableDeclaration",
298
- "scope": 1155,
298
+ "scope": 1167,
299
299
  "src": "732:18:4",
300
300
  "stateVariable": false,
301
301
  "storageLocation": "default",
@@ -304,7 +304,7 @@
304
304
  "typeString": "uint32"
305
305
  },
306
306
  "typeName": {
307
- "id": 1098,
307
+ "id": 1110,
308
308
  "name": "uint32",
309
309
  "nodeType": "ElementaryTypeName",
310
310
  "src": "732:6:4",
@@ -316,29 +316,29 @@
316
316
  "visibility": "internal"
317
317
  }
318
318
  ],
319
- "id": 1100,
319
+ "id": 1112,
320
320
  "nodeType": "VariableDeclarationStatement",
321
321
  "src": "732:18:4"
322
322
  },
323
323
  {
324
324
  "body": {
325
- "id": 1136,
325
+ "id": 1148,
326
326
  "nodeType": "Block",
327
327
  "src": "864:166:4",
328
328
  "statements": [
329
329
  {
330
330
  "expression": {
331
- "id": 1124,
331
+ "id": 1136,
332
332
  "isConstant": false,
333
333
  "isLValue": false,
334
334
  "isPure": false,
335
335
  "lValueRequested": false,
336
336
  "leftHandSide": {
337
- "id": 1108,
337
+ "id": 1120,
338
338
  "name": "packedCounter",
339
339
  "nodeType": "Identifier",
340
340
  "overloadedDeclarations": [],
341
- "referencedDeclaration": 1096,
341
+ "referencedDeclaration": 1108,
342
342
  "src": "872:13:4",
343
343
  "typeDescriptions": {
344
344
  "typeIdentifier": "t_bytes32",
@@ -350,11 +350,11 @@
350
350
  "rightHandSide": {
351
351
  "arguments": [
352
352
  {
353
- "id": 1111,
353
+ "id": 1123,
354
354
  "name": "packedCounter",
355
355
  "nodeType": "Identifier",
356
356
  "overloadedDeclarations": [],
357
- "referencedDeclaration": 1096,
357
+ "referencedDeclaration": 1108,
358
358
  "src": "904:13:4",
359
359
  "typeDescriptions": {
360
360
  "typeIdentifier": "t_bytes32",
@@ -366,14 +366,14 @@
366
366
  "typeIdentifier": "t_uint256",
367
367
  "typeString": "uint256"
368
368
  },
369
- "id": 1116,
369
+ "id": 1128,
370
370
  "isConstant": false,
371
371
  "isLValue": false,
372
372
  "isPure": false,
373
373
  "lValueRequested": false,
374
374
  "leftExpression": {
375
375
  "hexValue": "34",
376
- "id": 1112,
376
+ "id": 1124,
377
377
  "isConstant": false,
378
378
  "isLValue": false,
379
379
  "isPure": true,
@@ -394,14 +394,14 @@
394
394
  "typeIdentifier": "t_uint256",
395
395
  "typeString": "uint256"
396
396
  },
397
- "id": 1115,
397
+ "id": 1127,
398
398
  "isConstant": false,
399
399
  "isLValue": false,
400
400
  "isPure": false,
401
401
  "lValueRequested": false,
402
402
  "leftExpression": {
403
403
  "hexValue": "32",
404
- "id": 1113,
404
+ "id": 1125,
405
405
  "isConstant": false,
406
406
  "isLValue": false,
407
407
  "isPure": true,
@@ -418,11 +418,11 @@
418
418
  "nodeType": "BinaryOperation",
419
419
  "operator": "*",
420
420
  "rightExpression": {
421
- "id": 1114,
421
+ "id": 1126,
422
422
  "name": "i",
423
423
  "nodeType": "Identifier",
424
424
  "overloadedDeclarations": [],
425
- "referencedDeclaration": 1102,
425
+ "referencedDeclaration": 1114,
426
426
  "src": "927:1:4",
427
427
  "typeDescriptions": {
428
428
  "typeIdentifier": "t_uint256",
@@ -445,24 +445,24 @@
445
445
  "arguments": [
446
446
  {
447
447
  "baseExpression": {
448
- "id": 1119,
448
+ "id": 1131,
449
449
  "name": "counters",
450
450
  "nodeType": "Identifier",
451
451
  "overloadedDeclarations": [],
452
- "referencedDeclaration": 1089,
452
+ "referencedDeclaration": 1101,
453
453
  "src": "937:8:4",
454
454
  "typeDescriptions": {
455
455
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
456
456
  "typeString": "uint16[] memory"
457
457
  }
458
458
  },
459
- "id": 1121,
459
+ "id": 1133,
460
460
  "indexExpression": {
461
- "id": 1120,
461
+ "id": 1132,
462
462
  "name": "i",
463
463
  "nodeType": "Identifier",
464
464
  "overloadedDeclarations": [],
465
- "referencedDeclaration": 1102,
465
+ "referencedDeclaration": 1114,
466
466
  "src": "946:1:4",
467
467
  "typeDescriptions": {
468
468
  "typeIdentifier": "t_uint256",
@@ -488,7 +488,7 @@
488
488
  "typeString": "uint16"
489
489
  }
490
490
  ],
491
- "id": 1118,
491
+ "id": 1130,
492
492
  "isConstant": false,
493
493
  "isLValue": false,
494
494
  "isPure": true,
@@ -500,14 +500,14 @@
500
500
  "typeString": "type(bytes2)"
501
501
  },
502
502
  "typeName": {
503
- "id": 1117,
503
+ "id": 1129,
504
504
  "name": "bytes2",
505
505
  "nodeType": "ElementaryTypeName",
506
506
  "src": "930:6:4",
507
507
  "typeDescriptions": {}
508
508
  }
509
509
  },
510
- "id": 1122,
510
+ "id": 1134,
511
511
  "isConstant": false,
512
512
  "isLValue": false,
513
513
  "isPure": false,
@@ -539,7 +539,7 @@
539
539
  }
540
540
  ],
541
541
  "expression": {
542
- "id": 1109,
542
+ "id": 1121,
543
543
  "name": "Bytes",
544
544
  "nodeType": "Identifier",
545
545
  "overloadedDeclarations": [],
@@ -550,7 +550,7 @@
550
550
  "typeString": "type(library Bytes)"
551
551
  }
552
552
  },
553
- "id": 1110,
553
+ "id": 1122,
554
554
  "isConstant": false,
555
555
  "isLValue": false,
556
556
  "isPure": false,
@@ -564,7 +564,7 @@
564
564
  "typeString": "function (bytes32,uint256,bytes2) pure returns (bytes32)"
565
565
  }
566
566
  },
567
- "id": 1123,
567
+ "id": 1135,
568
568
  "isConstant": false,
569
569
  "isLValue": false,
570
570
  "isPure": false,
@@ -585,23 +585,23 @@
585
585
  "typeString": "bytes32"
586
586
  }
587
587
  },
588
- "id": 1125,
588
+ "id": 1137,
589
589
  "nodeType": "ExpressionStatement",
590
590
  "src": "872:78:4"
591
591
  },
592
592
  {
593
593
  "expression": {
594
- "id": 1130,
594
+ "id": 1142,
595
595
  "isConstant": false,
596
596
  "isLValue": false,
597
597
  "isPure": false,
598
598
  "lValueRequested": false,
599
599
  "leftHandSide": {
600
- "id": 1126,
600
+ "id": 1138,
601
601
  "name": "accumulator",
602
602
  "nodeType": "Identifier",
603
603
  "overloadedDeclarations": [],
604
- "referencedDeclaration": 1099,
604
+ "referencedDeclaration": 1111,
605
605
  "src": "958:11:4",
606
606
  "typeDescriptions": {
607
607
  "typeIdentifier": "t_uint32",
@@ -612,24 +612,24 @@
612
612
  "operator": "+=",
613
613
  "rightHandSide": {
614
614
  "baseExpression": {
615
- "id": 1127,
615
+ "id": 1139,
616
616
  "name": "counters",
617
617
  "nodeType": "Identifier",
618
618
  "overloadedDeclarations": [],
619
- "referencedDeclaration": 1089,
619
+ "referencedDeclaration": 1101,
620
620
  "src": "973:8:4",
621
621
  "typeDescriptions": {
622
622
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
623
623
  "typeString": "uint16[] memory"
624
624
  }
625
625
  },
626
- "id": 1129,
626
+ "id": 1141,
627
627
  "indexExpression": {
628
- "id": 1128,
628
+ "id": 1140,
629
629
  "name": "i",
630
630
  "nodeType": "Identifier",
631
631
  "overloadedDeclarations": [],
632
- "referencedDeclaration": 1102,
632
+ "referencedDeclaration": 1114,
633
633
  "src": "982:1:4",
634
634
  "typeDescriptions": {
635
635
  "typeIdentifier": "t_uint256",
@@ -653,18 +653,18 @@
653
653
  "typeString": "uint32"
654
654
  }
655
655
  },
656
- "id": 1131,
656
+ "id": 1143,
657
657
  "nodeType": "ExpressionStatement",
658
658
  "src": "958:26:4"
659
659
  },
660
660
  {
661
- "id": 1135,
661
+ "id": 1147,
662
662
  "nodeType": "UncheckedBlock",
663
663
  "src": "992:32:4",
664
664
  "statements": [
665
665
  {
666
666
  "expression": {
667
- "id": 1133,
667
+ "id": 1145,
668
668
  "isConstant": false,
669
669
  "isLValue": false,
670
670
  "isPure": false,
@@ -674,11 +674,11 @@
674
674
  "prefix": false,
675
675
  "src": "1012:3:4",
676
676
  "subExpression": {
677
- "id": 1132,
677
+ "id": 1144,
678
678
  "name": "i",
679
679
  "nodeType": "Identifier",
680
680
  "overloadedDeclarations": [],
681
- "referencedDeclaration": 1102,
681
+ "referencedDeclaration": 1114,
682
682
  "src": "1012:1:4",
683
683
  "typeDescriptions": {
684
684
  "typeIdentifier": "t_uint256",
@@ -690,7 +690,7 @@
690
690
  "typeString": "uint256"
691
691
  }
692
692
  },
693
- "id": 1134,
693
+ "id": 1146,
694
694
  "nodeType": "ExpressionStatement",
695
695
  "src": "1012:3:4"
696
696
  }
@@ -703,17 +703,17 @@
703
703
  "typeIdentifier": "t_uint256",
704
704
  "typeString": "uint256"
705
705
  },
706
- "id": 1107,
706
+ "id": 1119,
707
707
  "isConstant": false,
708
708
  "isLValue": false,
709
709
  "isPure": false,
710
710
  "lValueRequested": false,
711
711
  "leftExpression": {
712
- "id": 1104,
712
+ "id": 1116,
713
713
  "name": "i",
714
714
  "nodeType": "Identifier",
715
715
  "overloadedDeclarations": [],
716
- "referencedDeclaration": 1102,
716
+ "referencedDeclaration": 1114,
717
717
  "src": "841:1:4",
718
718
  "typeDescriptions": {
719
719
  "typeIdentifier": "t_uint256",
@@ -724,18 +724,18 @@
724
724
  "operator": "<",
725
725
  "rightExpression": {
726
726
  "expression": {
727
- "id": 1105,
727
+ "id": 1117,
728
728
  "name": "counters",
729
729
  "nodeType": "Identifier",
730
730
  "overloadedDeclarations": [],
731
- "referencedDeclaration": 1089,
731
+ "referencedDeclaration": 1101,
732
732
  "src": "845:8:4",
733
733
  "typeDescriptions": {
734
734
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
735
735
  "typeString": "uint16[] memory"
736
736
  }
737
737
  },
738
- "id": 1106,
738
+ "id": 1118,
739
739
  "isConstant": false,
740
740
  "isLValue": false,
741
741
  "isPure": false,
@@ -754,20 +754,20 @@
754
754
  "typeString": "bool"
755
755
  }
756
756
  },
757
- "id": 1137,
757
+ "id": 1149,
758
758
  "initializationExpression": {
759
759
  "assignments": [
760
- 1102
760
+ 1114
761
761
  ],
762
762
  "declarations": [
763
763
  {
764
764
  "constant": false,
765
- "id": 1102,
765
+ "id": 1114,
766
766
  "mutability": "mutable",
767
767
  "name": "i",
768
768
  "nameLocation": "838:1:4",
769
769
  "nodeType": "VariableDeclaration",
770
- "scope": 1137,
770
+ "scope": 1149,
771
771
  "src": "830:9:4",
772
772
  "stateVariable": false,
773
773
  "storageLocation": "default",
@@ -776,7 +776,7 @@
776
776
  "typeString": "uint256"
777
777
  },
778
778
  "typeName": {
779
- "id": 1101,
779
+ "id": 1113,
780
780
  "name": "uint256",
781
781
  "nodeType": "ElementaryTypeName",
782
782
  "src": "830:7:4",
@@ -788,7 +788,7 @@
788
788
  "visibility": "internal"
789
789
  }
790
790
  ],
791
- "id": 1103,
791
+ "id": 1115,
792
792
  "nodeType": "VariableDeclarationStatement",
793
793
  "src": "830:9:4"
794
794
  },
@@ -797,17 +797,17 @@
797
797
  },
798
798
  {
799
799
  "expression": {
800
- "id": 1148,
800
+ "id": 1160,
801
801
  "isConstant": false,
802
802
  "isLValue": false,
803
803
  "isPure": false,
804
804
  "lValueRequested": false,
805
805
  "leftHandSide": {
806
- "id": 1138,
806
+ "id": 1150,
807
807
  "name": "packedCounter",
808
808
  "nodeType": "Identifier",
809
809
  "overloadedDeclarations": [],
810
- "referencedDeclaration": 1096,
810
+ "referencedDeclaration": 1108,
811
811
  "src": "1062:13:4",
812
812
  "typeDescriptions": {
813
813
  "typeIdentifier": "t_bytes32",
@@ -819,11 +819,11 @@
819
819
  "rightHandSide": {
820
820
  "arguments": [
821
821
  {
822
- "id": 1141,
822
+ "id": 1153,
823
823
  "name": "packedCounter",
824
824
  "nodeType": "Identifier",
825
825
  "overloadedDeclarations": [],
826
- "referencedDeclaration": 1096,
826
+ "referencedDeclaration": 1108,
827
827
  "src": "1094:13:4",
828
828
  "typeDescriptions": {
829
829
  "typeIdentifier": "t_bytes32",
@@ -832,7 +832,7 @@
832
832
  },
833
833
  {
834
834
  "hexValue": "30",
835
- "id": 1142,
835
+ "id": 1154,
836
836
  "isConstant": false,
837
837
  "isLValue": false,
838
838
  "isPure": true,
@@ -849,11 +849,11 @@
849
849
  {
850
850
  "arguments": [
851
851
  {
852
- "id": 1145,
852
+ "id": 1157,
853
853
  "name": "accumulator",
854
854
  "nodeType": "Identifier",
855
855
  "overloadedDeclarations": [],
856
- "referencedDeclaration": 1099,
856
+ "referencedDeclaration": 1111,
857
857
  "src": "1119:11:4",
858
858
  "typeDescriptions": {
859
859
  "typeIdentifier": "t_uint32",
@@ -868,7 +868,7 @@
868
868
  "typeString": "uint32"
869
869
  }
870
870
  ],
871
- "id": 1144,
871
+ "id": 1156,
872
872
  "isConstant": false,
873
873
  "isLValue": false,
874
874
  "isPure": true,
@@ -880,14 +880,14 @@
880
880
  "typeString": "type(bytes4)"
881
881
  },
882
882
  "typeName": {
883
- "id": 1143,
883
+ "id": 1155,
884
884
  "name": "bytes4",
885
885
  "nodeType": "ElementaryTypeName",
886
886
  "src": "1112:6:4",
887
887
  "typeDescriptions": {}
888
888
  }
889
889
  },
890
- "id": 1146,
890
+ "id": 1158,
891
891
  "isConstant": false,
892
892
  "isLValue": false,
893
893
  "isPure": false,
@@ -919,7 +919,7 @@
919
919
  }
920
920
  ],
921
921
  "expression": {
922
- "id": 1139,
922
+ "id": 1151,
923
923
  "name": "Bytes",
924
924
  "nodeType": "Identifier",
925
925
  "overloadedDeclarations": [],
@@ -930,7 +930,7 @@
930
930
  "typeString": "type(library Bytes)"
931
931
  }
932
932
  },
933
- "id": 1140,
933
+ "id": 1152,
934
934
  "isConstant": false,
935
935
  "isLValue": false,
936
936
  "isPure": false,
@@ -944,7 +944,7 @@
944
944
  "typeString": "function (bytes32,uint256,bytes4) pure returns (bytes32)"
945
945
  }
946
946
  },
947
- "id": 1147,
947
+ "id": 1159,
948
948
  "isConstant": false,
949
949
  "isLValue": false,
950
950
  "isPure": false,
@@ -965,7 +965,7 @@
965
965
  "typeString": "bytes32"
966
966
  }
967
967
  },
968
- "id": 1149,
968
+ "id": 1161,
969
969
  "nodeType": "ExpressionStatement",
970
970
  "src": "1062:70:4"
971
971
  },
@@ -973,11 +973,11 @@
973
973
  "expression": {
974
974
  "arguments": [
975
975
  {
976
- "id": 1152,
976
+ "id": 1164,
977
977
  "name": "packedCounter",
978
978
  "nodeType": "Identifier",
979
979
  "overloadedDeclarations": [],
980
- "referencedDeclaration": 1096,
980
+ "referencedDeclaration": 1108,
981
981
  "src": "1165:13:4",
982
982
  "typeDescriptions": {
983
983
  "typeIdentifier": "t_bytes32",
@@ -993,18 +993,18 @@
993
993
  }
994
994
  ],
995
995
  "expression": {
996
- "id": 1150,
996
+ "id": 1162,
997
997
  "name": "PackedCounter",
998
998
  "nodeType": "Identifier",
999
999
  "overloadedDeclarations": [],
1000
- "referencedDeclaration": 1081,
1000
+ "referencedDeclaration": 1093,
1001
1001
  "src": "1146:13:4",
1002
1002
  "typeDescriptions": {
1003
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1081_$",
1003
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1093_$",
1004
1004
  "typeString": "type(PackedCounter)"
1005
1005
  }
1006
1006
  },
1007
- "id": 1151,
1007
+ "id": 1163,
1008
1008
  "isConstant": false,
1009
1009
  "isLValue": false,
1010
1010
  "isPure": true,
@@ -1013,11 +1013,11 @@
1013
1013
  "nodeType": "MemberAccess",
1014
1014
  "src": "1146:18:4",
1015
1015
  "typeDescriptions": {
1016
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_PackedCounter_$1081_$",
1016
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_PackedCounter_$1093_$",
1017
1017
  "typeString": "function (bytes32) pure returns (PackedCounter)"
1018
1018
  }
1019
1019
  },
1020
- "id": 1153,
1020
+ "id": 1165,
1021
1021
  "isConstant": false,
1022
1022
  "isLValue": false,
1023
1023
  "isPure": false,
@@ -1028,19 +1028,19 @@
1028
1028
  "src": "1146:33:4",
1029
1029
  "tryCall": false,
1030
1030
  "typeDescriptions": {
1031
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
1031
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
1032
1032
  "typeString": "PackedCounter"
1033
1033
  }
1034
1034
  },
1035
- "functionReturnParameters": 1094,
1036
- "id": 1154,
1035
+ "functionReturnParameters": 1106,
1036
+ "id": 1166,
1037
1037
  "nodeType": "Return",
1038
1038
  "src": "1139:40:4"
1039
1039
  }
1040
1040
  ]
1041
1041
  },
1042
1042
  "documentation": {
1043
- "id": 1086,
1043
+ "id": 1098,
1044
1044
  "nodeType": "StructuredDocumentation",
1045
1045
  "src": "461:157:4",
1046
1046
  "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"
@@ -1051,17 +1051,17 @@
1051
1051
  "name": "pack",
1052
1052
  "nameLocation": "630:4:4",
1053
1053
  "parameters": {
1054
- "id": 1090,
1054
+ "id": 1102,
1055
1055
  "nodeType": "ParameterList",
1056
1056
  "parameters": [
1057
1057
  {
1058
1058
  "constant": false,
1059
- "id": 1089,
1059
+ "id": 1101,
1060
1060
  "mutability": "mutable",
1061
1061
  "name": "counters",
1062
1062
  "nameLocation": "651:8:4",
1063
1063
  "nodeType": "VariableDeclaration",
1064
- "scope": 1156,
1064
+ "scope": 1168,
1065
1065
  "src": "635:24:4",
1066
1066
  "stateVariable": false,
1067
1067
  "storageLocation": "memory",
@@ -1071,7 +1071,7 @@
1071
1071
  },
1072
1072
  "typeName": {
1073
1073
  "baseType": {
1074
- "id": 1087,
1074
+ "id": 1099,
1075
1075
  "name": "uint16",
1076
1076
  "nodeType": "ElementaryTypeName",
1077
1077
  "src": "635:6:4",
@@ -1080,7 +1080,7 @@
1080
1080
  "typeString": "uint16"
1081
1081
  }
1082
1082
  },
1083
- "id": 1088,
1083
+ "id": 1100,
1084
1084
  "nodeType": "ArrayTypeName",
1085
1085
  "src": "635:8:4",
1086
1086
  "typeDescriptions": {
@@ -1094,38 +1094,38 @@
1094
1094
  "src": "634:26:4"
1095
1095
  },
1096
1096
  "returnParameters": {
1097
- "id": 1094,
1097
+ "id": 1106,
1098
1098
  "nodeType": "ParameterList",
1099
1099
  "parameters": [
1100
1100
  {
1101
1101
  "constant": false,
1102
- "id": 1093,
1102
+ "id": 1105,
1103
1103
  "mutability": "mutable",
1104
1104
  "name": "",
1105
1105
  "nameLocation": "-1:-1:-1",
1106
1106
  "nodeType": "VariableDeclaration",
1107
- "scope": 1156,
1107
+ "scope": 1168,
1108
1108
  "src": "684:13:4",
1109
1109
  "stateVariable": false,
1110
1110
  "storageLocation": "default",
1111
1111
  "typeDescriptions": {
1112
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
1112
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
1113
1113
  "typeString": "PackedCounter"
1114
1114
  },
1115
1115
  "typeName": {
1116
- "id": 1092,
1116
+ "id": 1104,
1117
1117
  "nodeType": "UserDefinedTypeName",
1118
1118
  "pathNode": {
1119
- "id": 1091,
1119
+ "id": 1103,
1120
1120
  "name": "PackedCounter",
1121
1121
  "nodeType": "IdentifierPath",
1122
- "referencedDeclaration": 1081,
1122
+ "referencedDeclaration": 1093,
1123
1123
  "src": "684:13:4"
1124
1124
  },
1125
- "referencedDeclaration": 1081,
1125
+ "referencedDeclaration": 1093,
1126
1126
  "src": "684:13:4",
1127
1127
  "typeDescriptions": {
1128
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
1128
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
1129
1129
  "typeString": "PackedCounter"
1130
1130
  }
1131
1131
  },
@@ -1134,35 +1134,35 @@
1134
1134
  ],
1135
1135
  "src": "683:15:4"
1136
1136
  },
1137
- "scope": 1497,
1137
+ "scope": 1509,
1138
1138
  "stateMutability": "pure",
1139
1139
  "virtual": false,
1140
1140
  "visibility": "internal"
1141
1141
  },
1142
1142
  {
1143
- "id": 1186,
1143
+ "id": 1198,
1144
1144
  "nodeType": "FunctionDefinition",
1145
1145
  "src": "1221:163:4",
1146
1146
  "nodes": [],
1147
1147
  "body": {
1148
- "id": 1185,
1148
+ "id": 1197,
1149
1149
  "nodeType": "Block",
1150
1150
  "src": "1283:101:4",
1151
1151
  "nodes": [],
1152
1152
  "statements": [
1153
1153
  {
1154
1154
  "assignments": [
1155
- 1168
1155
+ 1180
1156
1156
  ],
1157
1157
  "declarations": [
1158
1158
  {
1159
1159
  "constant": false,
1160
- "id": 1168,
1160
+ "id": 1180,
1161
1161
  "mutability": "mutable",
1162
1162
  "name": "counters",
1163
1163
  "nameLocation": "1305:8:4",
1164
1164
  "nodeType": "VariableDeclaration",
1165
- "scope": 1185,
1165
+ "scope": 1197,
1166
1166
  "src": "1289:24:4",
1167
1167
  "stateVariable": false,
1168
1168
  "storageLocation": "memory",
@@ -1172,7 +1172,7 @@
1172
1172
  },
1173
1173
  "typeName": {
1174
1174
  "baseType": {
1175
- "id": 1166,
1175
+ "id": 1178,
1176
1176
  "name": "uint16",
1177
1177
  "nodeType": "ElementaryTypeName",
1178
1178
  "src": "1289:6:4",
@@ -1181,7 +1181,7 @@
1181
1181
  "typeString": "uint16"
1182
1182
  }
1183
1183
  },
1184
- "id": 1167,
1184
+ "id": 1179,
1185
1185
  "nodeType": "ArrayTypeName",
1186
1186
  "src": "1289:8:4",
1187
1187
  "typeDescriptions": {
@@ -1192,12 +1192,12 @@
1192
1192
  "visibility": "internal"
1193
1193
  }
1194
1194
  ],
1195
- "id": 1174,
1195
+ "id": 1186,
1196
1196
  "initialValue": {
1197
1197
  "arguments": [
1198
1198
  {
1199
1199
  "hexValue": "31",
1200
- "id": 1172,
1200
+ "id": 1184,
1201
1201
  "isConstant": false,
1202
1202
  "isLValue": false,
1203
1203
  "isPure": true,
@@ -1219,7 +1219,7 @@
1219
1219
  "typeString": "int_const 1"
1220
1220
  }
1221
1221
  ],
1222
- "id": 1171,
1222
+ "id": 1183,
1223
1223
  "isConstant": false,
1224
1224
  "isLValue": false,
1225
1225
  "isPure": true,
@@ -1232,7 +1232,7 @@
1232
1232
  },
1233
1233
  "typeName": {
1234
1234
  "baseType": {
1235
- "id": 1169,
1235
+ "id": 1181,
1236
1236
  "name": "uint16",
1237
1237
  "nodeType": "ElementaryTypeName",
1238
1238
  "src": "1320:6:4",
@@ -1241,7 +1241,7 @@
1241
1241
  "typeString": "uint16"
1242
1242
  }
1243
1243
  },
1244
- "id": 1170,
1244
+ "id": 1182,
1245
1245
  "nodeType": "ArrayTypeName",
1246
1246
  "src": "1320:8:4",
1247
1247
  "typeDescriptions": {
@@ -1250,7 +1250,7 @@
1250
1250
  }
1251
1251
  }
1252
1252
  },
1253
- "id": 1173,
1253
+ "id": 1185,
1254
1254
  "isConstant": false,
1255
1255
  "isLValue": false,
1256
1256
  "isPure": true,
@@ -1270,28 +1270,28 @@
1270
1270
  },
1271
1271
  {
1272
1272
  "expression": {
1273
- "id": 1179,
1273
+ "id": 1191,
1274
1274
  "isConstant": false,
1275
1275
  "isLValue": false,
1276
1276
  "isPure": false,
1277
1277
  "lValueRequested": false,
1278
1278
  "leftHandSide": {
1279
1279
  "baseExpression": {
1280
- "id": 1175,
1280
+ "id": 1187,
1281
1281
  "name": "counters",
1282
1282
  "nodeType": "Identifier",
1283
1283
  "overloadedDeclarations": [],
1284
- "referencedDeclaration": 1168,
1284
+ "referencedDeclaration": 1180,
1285
1285
  "src": "1337:8:4",
1286
1286
  "typeDescriptions": {
1287
1287
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
1288
1288
  "typeString": "uint16[] memory"
1289
1289
  }
1290
1290
  },
1291
- "id": 1177,
1291
+ "id": 1189,
1292
1292
  "indexExpression": {
1293
1293
  "hexValue": "30",
1294
- "id": 1176,
1294
+ "id": 1188,
1295
1295
  "isConstant": false,
1296
1296
  "isLValue": false,
1297
1297
  "isPure": true,
@@ -1319,11 +1319,11 @@
1319
1319
  "nodeType": "Assignment",
1320
1320
  "operator": "=",
1321
1321
  "rightHandSide": {
1322
- "id": 1178,
1322
+ "id": 1190,
1323
1323
  "name": "a",
1324
1324
  "nodeType": "Identifier",
1325
1325
  "overloadedDeclarations": [],
1326
- "referencedDeclaration": 1158,
1326
+ "referencedDeclaration": 1170,
1327
1327
  "src": "1351:1:4",
1328
1328
  "typeDescriptions": {
1329
1329
  "typeIdentifier": "t_uint16",
@@ -1336,7 +1336,7 @@
1336
1336
  "typeString": "uint16"
1337
1337
  }
1338
1338
  },
1339
- "id": 1180,
1339
+ "id": 1192,
1340
1340
  "nodeType": "ExpressionStatement",
1341
1341
  "src": "1337:15:4"
1342
1342
  },
@@ -1344,11 +1344,11 @@
1344
1344
  "expression": {
1345
1345
  "arguments": [
1346
1346
  {
1347
- "id": 1182,
1347
+ "id": 1194,
1348
1348
  "name": "counters",
1349
1349
  "nodeType": "Identifier",
1350
1350
  "overloadedDeclarations": [],
1351
- "referencedDeclaration": 1168,
1351
+ "referencedDeclaration": 1180,
1352
1352
  "src": "1370:8:4",
1353
1353
  "typeDescriptions": {
1354
1354
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
@@ -1363,24 +1363,24 @@
1363
1363
  "typeString": "uint16[] memory"
1364
1364
  }
1365
1365
  ],
1366
- "id": 1181,
1366
+ "id": 1193,
1367
1367
  "name": "pack",
1368
1368
  "nodeType": "Identifier",
1369
1369
  "overloadedDeclarations": [
1370
- 1156,
1371
- 1186,
1372
- 1224,
1373
- 1270,
1374
- 1324
1370
+ 1168,
1371
+ 1198,
1372
+ 1236,
1373
+ 1282,
1374
+ 1336
1375
1375
  ],
1376
- "referencedDeclaration": 1156,
1376
+ "referencedDeclaration": 1168,
1377
1377
  "src": "1365:4:4",
1378
1378
  "typeDescriptions": {
1379
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$1081_$",
1379
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$1093_$",
1380
1380
  "typeString": "function (uint16[] memory) pure returns (PackedCounter)"
1381
1381
  }
1382
1382
  },
1383
- "id": 1183,
1383
+ "id": 1195,
1384
1384
  "isConstant": false,
1385
1385
  "isLValue": false,
1386
1386
  "isPure": false,
@@ -1391,12 +1391,12 @@
1391
1391
  "src": "1365:14:4",
1392
1392
  "tryCall": false,
1393
1393
  "typeDescriptions": {
1394
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
1394
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
1395
1395
  "typeString": "PackedCounter"
1396
1396
  }
1397
1397
  },
1398
- "functionReturnParameters": 1163,
1399
- "id": 1184,
1398
+ "functionReturnParameters": 1175,
1399
+ "id": 1196,
1400
1400
  "nodeType": "Return",
1401
1401
  "src": "1358:21:4"
1402
1402
  }
@@ -1408,17 +1408,17 @@
1408
1408
  "name": "pack",
1409
1409
  "nameLocation": "1230:4:4",
1410
1410
  "parameters": {
1411
- "id": 1159,
1411
+ "id": 1171,
1412
1412
  "nodeType": "ParameterList",
1413
1413
  "parameters": [
1414
1414
  {
1415
1415
  "constant": false,
1416
- "id": 1158,
1416
+ "id": 1170,
1417
1417
  "mutability": "mutable",
1418
1418
  "name": "a",
1419
1419
  "nameLocation": "1242:1:4",
1420
1420
  "nodeType": "VariableDeclaration",
1421
- "scope": 1186,
1421
+ "scope": 1198,
1422
1422
  "src": "1235:8:4",
1423
1423
  "stateVariable": false,
1424
1424
  "storageLocation": "default",
@@ -1427,7 +1427,7 @@
1427
1427
  "typeString": "uint16"
1428
1428
  },
1429
1429
  "typeName": {
1430
- "id": 1157,
1430
+ "id": 1169,
1431
1431
  "name": "uint16",
1432
1432
  "nodeType": "ElementaryTypeName",
1433
1433
  "src": "1235:6:4",
@@ -1442,38 +1442,38 @@
1442
1442
  "src": "1234:10:4"
1443
1443
  },
1444
1444
  "returnParameters": {
1445
- "id": 1163,
1445
+ "id": 1175,
1446
1446
  "nodeType": "ParameterList",
1447
1447
  "parameters": [
1448
1448
  {
1449
1449
  "constant": false,
1450
- "id": 1162,
1450
+ "id": 1174,
1451
1451
  "mutability": "mutable",
1452
1452
  "name": "",
1453
1453
  "nameLocation": "-1:-1:-1",
1454
1454
  "nodeType": "VariableDeclaration",
1455
- "scope": 1186,
1455
+ "scope": 1198,
1456
1456
  "src": "1268:13:4",
1457
1457
  "stateVariable": false,
1458
1458
  "storageLocation": "default",
1459
1459
  "typeDescriptions": {
1460
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
1460
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
1461
1461
  "typeString": "PackedCounter"
1462
1462
  },
1463
1463
  "typeName": {
1464
- "id": 1161,
1464
+ "id": 1173,
1465
1465
  "nodeType": "UserDefinedTypeName",
1466
1466
  "pathNode": {
1467
- "id": 1160,
1467
+ "id": 1172,
1468
1468
  "name": "PackedCounter",
1469
1469
  "nodeType": "IdentifierPath",
1470
- "referencedDeclaration": 1081,
1470
+ "referencedDeclaration": 1093,
1471
1471
  "src": "1268:13:4"
1472
1472
  },
1473
- "referencedDeclaration": 1081,
1473
+ "referencedDeclaration": 1093,
1474
1474
  "src": "1268:13:4",
1475
1475
  "typeDescriptions": {
1476
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
1476
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
1477
1477
  "typeString": "PackedCounter"
1478
1478
  }
1479
1479
  },
@@ -1482,35 +1482,35 @@
1482
1482
  ],
1483
1483
  "src": "1267:15:4"
1484
1484
  },
1485
- "scope": 1497,
1485
+ "scope": 1509,
1486
1486
  "stateMutability": "pure",
1487
1487
  "virtual": false,
1488
1488
  "visibility": "internal"
1489
1489
  },
1490
1490
  {
1491
- "id": 1224,
1491
+ "id": 1236,
1492
1492
  "nodeType": "FunctionDefinition",
1493
1493
  "src": "1388:194:4",
1494
1494
  "nodes": [],
1495
1495
  "body": {
1496
- "id": 1223,
1496
+ "id": 1235,
1497
1497
  "nodeType": "Block",
1498
1498
  "src": "1460:122:4",
1499
1499
  "nodes": [],
1500
1500
  "statements": [
1501
1501
  {
1502
1502
  "assignments": [
1503
- 1200
1503
+ 1212
1504
1504
  ],
1505
1505
  "declarations": [
1506
1506
  {
1507
1507
  "constant": false,
1508
- "id": 1200,
1508
+ "id": 1212,
1509
1509
  "mutability": "mutable",
1510
1510
  "name": "counters",
1511
1511
  "nameLocation": "1482:8:4",
1512
1512
  "nodeType": "VariableDeclaration",
1513
- "scope": 1223,
1513
+ "scope": 1235,
1514
1514
  "src": "1466:24:4",
1515
1515
  "stateVariable": false,
1516
1516
  "storageLocation": "memory",
@@ -1520,7 +1520,7 @@
1520
1520
  },
1521
1521
  "typeName": {
1522
1522
  "baseType": {
1523
- "id": 1198,
1523
+ "id": 1210,
1524
1524
  "name": "uint16",
1525
1525
  "nodeType": "ElementaryTypeName",
1526
1526
  "src": "1466:6:4",
@@ -1529,7 +1529,7 @@
1529
1529
  "typeString": "uint16"
1530
1530
  }
1531
1531
  },
1532
- "id": 1199,
1532
+ "id": 1211,
1533
1533
  "nodeType": "ArrayTypeName",
1534
1534
  "src": "1466:8:4",
1535
1535
  "typeDescriptions": {
@@ -1540,12 +1540,12 @@
1540
1540
  "visibility": "internal"
1541
1541
  }
1542
1542
  ],
1543
- "id": 1206,
1543
+ "id": 1218,
1544
1544
  "initialValue": {
1545
1545
  "arguments": [
1546
1546
  {
1547
1547
  "hexValue": "32",
1548
- "id": 1204,
1548
+ "id": 1216,
1549
1549
  "isConstant": false,
1550
1550
  "isLValue": false,
1551
1551
  "isPure": true,
@@ -1567,7 +1567,7 @@
1567
1567
  "typeString": "int_const 2"
1568
1568
  }
1569
1569
  ],
1570
- "id": 1203,
1570
+ "id": 1215,
1571
1571
  "isConstant": false,
1572
1572
  "isLValue": false,
1573
1573
  "isPure": true,
@@ -1580,7 +1580,7 @@
1580
1580
  },
1581
1581
  "typeName": {
1582
1582
  "baseType": {
1583
- "id": 1201,
1583
+ "id": 1213,
1584
1584
  "name": "uint16",
1585
1585
  "nodeType": "ElementaryTypeName",
1586
1586
  "src": "1497:6:4",
@@ -1589,7 +1589,7 @@
1589
1589
  "typeString": "uint16"
1590
1590
  }
1591
1591
  },
1592
- "id": 1202,
1592
+ "id": 1214,
1593
1593
  "nodeType": "ArrayTypeName",
1594
1594
  "src": "1497:8:4",
1595
1595
  "typeDescriptions": {
@@ -1598,7 +1598,7 @@
1598
1598
  }
1599
1599
  }
1600
1600
  },
1601
- "id": 1205,
1601
+ "id": 1217,
1602
1602
  "isConstant": false,
1603
1603
  "isLValue": false,
1604
1604
  "isPure": true,
@@ -1618,28 +1618,28 @@
1618
1618
  },
1619
1619
  {
1620
1620
  "expression": {
1621
- "id": 1211,
1621
+ "id": 1223,
1622
1622
  "isConstant": false,
1623
1623
  "isLValue": false,
1624
1624
  "isPure": false,
1625
1625
  "lValueRequested": false,
1626
1626
  "leftHandSide": {
1627
1627
  "baseExpression": {
1628
- "id": 1207,
1628
+ "id": 1219,
1629
1629
  "name": "counters",
1630
1630
  "nodeType": "Identifier",
1631
1631
  "overloadedDeclarations": [],
1632
- "referencedDeclaration": 1200,
1632
+ "referencedDeclaration": 1212,
1633
1633
  "src": "1514:8:4",
1634
1634
  "typeDescriptions": {
1635
1635
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
1636
1636
  "typeString": "uint16[] memory"
1637
1637
  }
1638
1638
  },
1639
- "id": 1209,
1639
+ "id": 1221,
1640
1640
  "indexExpression": {
1641
1641
  "hexValue": "30",
1642
- "id": 1208,
1642
+ "id": 1220,
1643
1643
  "isConstant": false,
1644
1644
  "isLValue": false,
1645
1645
  "isPure": true,
@@ -1667,11 +1667,11 @@
1667
1667
  "nodeType": "Assignment",
1668
1668
  "operator": "=",
1669
1669
  "rightHandSide": {
1670
- "id": 1210,
1670
+ "id": 1222,
1671
1671
  "name": "a",
1672
1672
  "nodeType": "Identifier",
1673
1673
  "overloadedDeclarations": [],
1674
- "referencedDeclaration": 1188,
1674
+ "referencedDeclaration": 1200,
1675
1675
  "src": "1528:1:4",
1676
1676
  "typeDescriptions": {
1677
1677
  "typeIdentifier": "t_uint16",
@@ -1684,34 +1684,34 @@
1684
1684
  "typeString": "uint16"
1685
1685
  }
1686
1686
  },
1687
- "id": 1212,
1687
+ "id": 1224,
1688
1688
  "nodeType": "ExpressionStatement",
1689
1689
  "src": "1514:15:4"
1690
1690
  },
1691
1691
  {
1692
1692
  "expression": {
1693
- "id": 1217,
1693
+ "id": 1229,
1694
1694
  "isConstant": false,
1695
1695
  "isLValue": false,
1696
1696
  "isPure": false,
1697
1697
  "lValueRequested": false,
1698
1698
  "leftHandSide": {
1699
1699
  "baseExpression": {
1700
- "id": 1213,
1700
+ "id": 1225,
1701
1701
  "name": "counters",
1702
1702
  "nodeType": "Identifier",
1703
1703
  "overloadedDeclarations": [],
1704
- "referencedDeclaration": 1200,
1704
+ "referencedDeclaration": 1212,
1705
1705
  "src": "1535:8:4",
1706
1706
  "typeDescriptions": {
1707
1707
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
1708
1708
  "typeString": "uint16[] memory"
1709
1709
  }
1710
1710
  },
1711
- "id": 1215,
1711
+ "id": 1227,
1712
1712
  "indexExpression": {
1713
1713
  "hexValue": "31",
1714
- "id": 1214,
1714
+ "id": 1226,
1715
1715
  "isConstant": false,
1716
1716
  "isLValue": false,
1717
1717
  "isPure": true,
@@ -1739,11 +1739,11 @@
1739
1739
  "nodeType": "Assignment",
1740
1740
  "operator": "=",
1741
1741
  "rightHandSide": {
1742
- "id": 1216,
1742
+ "id": 1228,
1743
1743
  "name": "b",
1744
1744
  "nodeType": "Identifier",
1745
1745
  "overloadedDeclarations": [],
1746
- "referencedDeclaration": 1190,
1746
+ "referencedDeclaration": 1202,
1747
1747
  "src": "1549:1:4",
1748
1748
  "typeDescriptions": {
1749
1749
  "typeIdentifier": "t_uint16",
@@ -1756,7 +1756,7 @@
1756
1756
  "typeString": "uint16"
1757
1757
  }
1758
1758
  },
1759
- "id": 1218,
1759
+ "id": 1230,
1760
1760
  "nodeType": "ExpressionStatement",
1761
1761
  "src": "1535:15:4"
1762
1762
  },
@@ -1764,11 +1764,11 @@
1764
1764
  "expression": {
1765
1765
  "arguments": [
1766
1766
  {
1767
- "id": 1220,
1767
+ "id": 1232,
1768
1768
  "name": "counters",
1769
1769
  "nodeType": "Identifier",
1770
1770
  "overloadedDeclarations": [],
1771
- "referencedDeclaration": 1200,
1771
+ "referencedDeclaration": 1212,
1772
1772
  "src": "1568:8:4",
1773
1773
  "typeDescriptions": {
1774
1774
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
@@ -1783,24 +1783,24 @@
1783
1783
  "typeString": "uint16[] memory"
1784
1784
  }
1785
1785
  ],
1786
- "id": 1219,
1786
+ "id": 1231,
1787
1787
  "name": "pack",
1788
1788
  "nodeType": "Identifier",
1789
1789
  "overloadedDeclarations": [
1790
- 1156,
1791
- 1186,
1792
- 1224,
1793
- 1270,
1794
- 1324
1790
+ 1168,
1791
+ 1198,
1792
+ 1236,
1793
+ 1282,
1794
+ 1336
1795
1795
  ],
1796
- "referencedDeclaration": 1156,
1796
+ "referencedDeclaration": 1168,
1797
1797
  "src": "1563:4:4",
1798
1798
  "typeDescriptions": {
1799
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$1081_$",
1799
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$1093_$",
1800
1800
  "typeString": "function (uint16[] memory) pure returns (PackedCounter)"
1801
1801
  }
1802
1802
  },
1803
- "id": 1221,
1803
+ "id": 1233,
1804
1804
  "isConstant": false,
1805
1805
  "isLValue": false,
1806
1806
  "isPure": false,
@@ -1811,12 +1811,12 @@
1811
1811
  "src": "1563:14:4",
1812
1812
  "tryCall": false,
1813
1813
  "typeDescriptions": {
1814
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
1814
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
1815
1815
  "typeString": "PackedCounter"
1816
1816
  }
1817
1817
  },
1818
- "functionReturnParameters": 1195,
1819
- "id": 1222,
1818
+ "functionReturnParameters": 1207,
1819
+ "id": 1234,
1820
1820
  "nodeType": "Return",
1821
1821
  "src": "1556:21:4"
1822
1822
  }
@@ -1828,17 +1828,17 @@
1828
1828
  "name": "pack",
1829
1829
  "nameLocation": "1397:4:4",
1830
1830
  "parameters": {
1831
- "id": 1191,
1831
+ "id": 1203,
1832
1832
  "nodeType": "ParameterList",
1833
1833
  "parameters": [
1834
1834
  {
1835
1835
  "constant": false,
1836
- "id": 1188,
1836
+ "id": 1200,
1837
1837
  "mutability": "mutable",
1838
1838
  "name": "a",
1839
1839
  "nameLocation": "1409:1:4",
1840
1840
  "nodeType": "VariableDeclaration",
1841
- "scope": 1224,
1841
+ "scope": 1236,
1842
1842
  "src": "1402:8:4",
1843
1843
  "stateVariable": false,
1844
1844
  "storageLocation": "default",
@@ -1847,7 +1847,7 @@
1847
1847
  "typeString": "uint16"
1848
1848
  },
1849
1849
  "typeName": {
1850
- "id": 1187,
1850
+ "id": 1199,
1851
1851
  "name": "uint16",
1852
1852
  "nodeType": "ElementaryTypeName",
1853
1853
  "src": "1402:6:4",
@@ -1860,12 +1860,12 @@
1860
1860
  },
1861
1861
  {
1862
1862
  "constant": false,
1863
- "id": 1190,
1863
+ "id": 1202,
1864
1864
  "mutability": "mutable",
1865
1865
  "name": "b",
1866
1866
  "nameLocation": "1419:1:4",
1867
1867
  "nodeType": "VariableDeclaration",
1868
- "scope": 1224,
1868
+ "scope": 1236,
1869
1869
  "src": "1412:8:4",
1870
1870
  "stateVariable": false,
1871
1871
  "storageLocation": "default",
@@ -1874,7 +1874,7 @@
1874
1874
  "typeString": "uint16"
1875
1875
  },
1876
1876
  "typeName": {
1877
- "id": 1189,
1877
+ "id": 1201,
1878
1878
  "name": "uint16",
1879
1879
  "nodeType": "ElementaryTypeName",
1880
1880
  "src": "1412:6:4",
@@ -1889,38 +1889,38 @@
1889
1889
  "src": "1401:20:4"
1890
1890
  },
1891
1891
  "returnParameters": {
1892
- "id": 1195,
1892
+ "id": 1207,
1893
1893
  "nodeType": "ParameterList",
1894
1894
  "parameters": [
1895
1895
  {
1896
1896
  "constant": false,
1897
- "id": 1194,
1897
+ "id": 1206,
1898
1898
  "mutability": "mutable",
1899
1899
  "name": "",
1900
1900
  "nameLocation": "-1:-1:-1",
1901
1901
  "nodeType": "VariableDeclaration",
1902
- "scope": 1224,
1902
+ "scope": 1236,
1903
1903
  "src": "1445:13:4",
1904
1904
  "stateVariable": false,
1905
1905
  "storageLocation": "default",
1906
1906
  "typeDescriptions": {
1907
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
1907
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
1908
1908
  "typeString": "PackedCounter"
1909
1909
  },
1910
1910
  "typeName": {
1911
- "id": 1193,
1911
+ "id": 1205,
1912
1912
  "nodeType": "UserDefinedTypeName",
1913
1913
  "pathNode": {
1914
- "id": 1192,
1914
+ "id": 1204,
1915
1915
  "name": "PackedCounter",
1916
1916
  "nodeType": "IdentifierPath",
1917
- "referencedDeclaration": 1081,
1917
+ "referencedDeclaration": 1093,
1918
1918
  "src": "1445:13:4"
1919
1919
  },
1920
- "referencedDeclaration": 1081,
1920
+ "referencedDeclaration": 1093,
1921
1921
  "src": "1445:13:4",
1922
1922
  "typeDescriptions": {
1923
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
1923
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
1924
1924
  "typeString": "PackedCounter"
1925
1925
  }
1926
1926
  },
@@ -1929,35 +1929,35 @@
1929
1929
  ],
1930
1930
  "src": "1444:15:4"
1931
1931
  },
1932
- "scope": 1497,
1932
+ "scope": 1509,
1933
1933
  "stateMutability": "pure",
1934
1934
  "virtual": false,
1935
1935
  "visibility": "internal"
1936
1936
  },
1937
1937
  {
1938
- "id": 1270,
1938
+ "id": 1282,
1939
1939
  "nodeType": "FunctionDefinition",
1940
1940
  "src": "1586:225:4",
1941
1941
  "nodes": [],
1942
1942
  "body": {
1943
- "id": 1269,
1943
+ "id": 1281,
1944
1944
  "nodeType": "Block",
1945
1945
  "src": "1668:143:4",
1946
1946
  "nodes": [],
1947
1947
  "statements": [
1948
1948
  {
1949
1949
  "assignments": [
1950
- 1240
1950
+ 1252
1951
1951
  ],
1952
1952
  "declarations": [
1953
1953
  {
1954
1954
  "constant": false,
1955
- "id": 1240,
1955
+ "id": 1252,
1956
1956
  "mutability": "mutable",
1957
1957
  "name": "counters",
1958
1958
  "nameLocation": "1690:8:4",
1959
1959
  "nodeType": "VariableDeclaration",
1960
- "scope": 1269,
1960
+ "scope": 1281,
1961
1961
  "src": "1674:24:4",
1962
1962
  "stateVariable": false,
1963
1963
  "storageLocation": "memory",
@@ -1967,7 +1967,7 @@
1967
1967
  },
1968
1968
  "typeName": {
1969
1969
  "baseType": {
1970
- "id": 1238,
1970
+ "id": 1250,
1971
1971
  "name": "uint16",
1972
1972
  "nodeType": "ElementaryTypeName",
1973
1973
  "src": "1674:6:4",
@@ -1976,7 +1976,7 @@
1976
1976
  "typeString": "uint16"
1977
1977
  }
1978
1978
  },
1979
- "id": 1239,
1979
+ "id": 1251,
1980
1980
  "nodeType": "ArrayTypeName",
1981
1981
  "src": "1674:8:4",
1982
1982
  "typeDescriptions": {
@@ -1987,12 +1987,12 @@
1987
1987
  "visibility": "internal"
1988
1988
  }
1989
1989
  ],
1990
- "id": 1246,
1990
+ "id": 1258,
1991
1991
  "initialValue": {
1992
1992
  "arguments": [
1993
1993
  {
1994
1994
  "hexValue": "33",
1995
- "id": 1244,
1995
+ "id": 1256,
1996
1996
  "isConstant": false,
1997
1997
  "isLValue": false,
1998
1998
  "isPure": true,
@@ -2014,7 +2014,7 @@
2014
2014
  "typeString": "int_const 3"
2015
2015
  }
2016
2016
  ],
2017
- "id": 1243,
2017
+ "id": 1255,
2018
2018
  "isConstant": false,
2019
2019
  "isLValue": false,
2020
2020
  "isPure": true,
@@ -2027,7 +2027,7 @@
2027
2027
  },
2028
2028
  "typeName": {
2029
2029
  "baseType": {
2030
- "id": 1241,
2030
+ "id": 1253,
2031
2031
  "name": "uint16",
2032
2032
  "nodeType": "ElementaryTypeName",
2033
2033
  "src": "1705:6:4",
@@ -2036,7 +2036,7 @@
2036
2036
  "typeString": "uint16"
2037
2037
  }
2038
2038
  },
2039
- "id": 1242,
2039
+ "id": 1254,
2040
2040
  "nodeType": "ArrayTypeName",
2041
2041
  "src": "1705:8:4",
2042
2042
  "typeDescriptions": {
@@ -2045,7 +2045,7 @@
2045
2045
  }
2046
2046
  }
2047
2047
  },
2048
- "id": 1245,
2048
+ "id": 1257,
2049
2049
  "isConstant": false,
2050
2050
  "isLValue": false,
2051
2051
  "isPure": true,
@@ -2065,28 +2065,28 @@
2065
2065
  },
2066
2066
  {
2067
2067
  "expression": {
2068
- "id": 1251,
2068
+ "id": 1263,
2069
2069
  "isConstant": false,
2070
2070
  "isLValue": false,
2071
2071
  "isPure": false,
2072
2072
  "lValueRequested": false,
2073
2073
  "leftHandSide": {
2074
2074
  "baseExpression": {
2075
- "id": 1247,
2075
+ "id": 1259,
2076
2076
  "name": "counters",
2077
2077
  "nodeType": "Identifier",
2078
2078
  "overloadedDeclarations": [],
2079
- "referencedDeclaration": 1240,
2079
+ "referencedDeclaration": 1252,
2080
2080
  "src": "1722:8:4",
2081
2081
  "typeDescriptions": {
2082
2082
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2083
2083
  "typeString": "uint16[] memory"
2084
2084
  }
2085
2085
  },
2086
- "id": 1249,
2086
+ "id": 1261,
2087
2087
  "indexExpression": {
2088
2088
  "hexValue": "30",
2089
- "id": 1248,
2089
+ "id": 1260,
2090
2090
  "isConstant": false,
2091
2091
  "isLValue": false,
2092
2092
  "isPure": true,
@@ -2114,11 +2114,11 @@
2114
2114
  "nodeType": "Assignment",
2115
2115
  "operator": "=",
2116
2116
  "rightHandSide": {
2117
- "id": 1250,
2117
+ "id": 1262,
2118
2118
  "name": "a",
2119
2119
  "nodeType": "Identifier",
2120
2120
  "overloadedDeclarations": [],
2121
- "referencedDeclaration": 1226,
2121
+ "referencedDeclaration": 1238,
2122
2122
  "src": "1736:1:4",
2123
2123
  "typeDescriptions": {
2124
2124
  "typeIdentifier": "t_uint16",
@@ -2131,34 +2131,34 @@
2131
2131
  "typeString": "uint16"
2132
2132
  }
2133
2133
  },
2134
- "id": 1252,
2134
+ "id": 1264,
2135
2135
  "nodeType": "ExpressionStatement",
2136
2136
  "src": "1722:15:4"
2137
2137
  },
2138
2138
  {
2139
2139
  "expression": {
2140
- "id": 1257,
2140
+ "id": 1269,
2141
2141
  "isConstant": false,
2142
2142
  "isLValue": false,
2143
2143
  "isPure": false,
2144
2144
  "lValueRequested": false,
2145
2145
  "leftHandSide": {
2146
2146
  "baseExpression": {
2147
- "id": 1253,
2147
+ "id": 1265,
2148
2148
  "name": "counters",
2149
2149
  "nodeType": "Identifier",
2150
2150
  "overloadedDeclarations": [],
2151
- "referencedDeclaration": 1240,
2151
+ "referencedDeclaration": 1252,
2152
2152
  "src": "1743:8:4",
2153
2153
  "typeDescriptions": {
2154
2154
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2155
2155
  "typeString": "uint16[] memory"
2156
2156
  }
2157
2157
  },
2158
- "id": 1255,
2158
+ "id": 1267,
2159
2159
  "indexExpression": {
2160
2160
  "hexValue": "31",
2161
- "id": 1254,
2161
+ "id": 1266,
2162
2162
  "isConstant": false,
2163
2163
  "isLValue": false,
2164
2164
  "isPure": true,
@@ -2186,11 +2186,11 @@
2186
2186
  "nodeType": "Assignment",
2187
2187
  "operator": "=",
2188
2188
  "rightHandSide": {
2189
- "id": 1256,
2189
+ "id": 1268,
2190
2190
  "name": "b",
2191
2191
  "nodeType": "Identifier",
2192
2192
  "overloadedDeclarations": [],
2193
- "referencedDeclaration": 1228,
2193
+ "referencedDeclaration": 1240,
2194
2194
  "src": "1757:1:4",
2195
2195
  "typeDescriptions": {
2196
2196
  "typeIdentifier": "t_uint16",
@@ -2203,34 +2203,34 @@
2203
2203
  "typeString": "uint16"
2204
2204
  }
2205
2205
  },
2206
- "id": 1258,
2206
+ "id": 1270,
2207
2207
  "nodeType": "ExpressionStatement",
2208
2208
  "src": "1743:15:4"
2209
2209
  },
2210
2210
  {
2211
2211
  "expression": {
2212
- "id": 1263,
2212
+ "id": 1275,
2213
2213
  "isConstant": false,
2214
2214
  "isLValue": false,
2215
2215
  "isPure": false,
2216
2216
  "lValueRequested": false,
2217
2217
  "leftHandSide": {
2218
2218
  "baseExpression": {
2219
- "id": 1259,
2219
+ "id": 1271,
2220
2220
  "name": "counters",
2221
2221
  "nodeType": "Identifier",
2222
2222
  "overloadedDeclarations": [],
2223
- "referencedDeclaration": 1240,
2223
+ "referencedDeclaration": 1252,
2224
2224
  "src": "1764:8:4",
2225
2225
  "typeDescriptions": {
2226
2226
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2227
2227
  "typeString": "uint16[] memory"
2228
2228
  }
2229
2229
  },
2230
- "id": 1261,
2230
+ "id": 1273,
2231
2231
  "indexExpression": {
2232
2232
  "hexValue": "32",
2233
- "id": 1260,
2233
+ "id": 1272,
2234
2234
  "isConstant": false,
2235
2235
  "isLValue": false,
2236
2236
  "isPure": true,
@@ -2258,11 +2258,11 @@
2258
2258
  "nodeType": "Assignment",
2259
2259
  "operator": "=",
2260
2260
  "rightHandSide": {
2261
- "id": 1262,
2261
+ "id": 1274,
2262
2262
  "name": "c",
2263
2263
  "nodeType": "Identifier",
2264
2264
  "overloadedDeclarations": [],
2265
- "referencedDeclaration": 1230,
2265
+ "referencedDeclaration": 1242,
2266
2266
  "src": "1778:1:4",
2267
2267
  "typeDescriptions": {
2268
2268
  "typeIdentifier": "t_uint16",
@@ -2275,7 +2275,7 @@
2275
2275
  "typeString": "uint16"
2276
2276
  }
2277
2277
  },
2278
- "id": 1264,
2278
+ "id": 1276,
2279
2279
  "nodeType": "ExpressionStatement",
2280
2280
  "src": "1764:15:4"
2281
2281
  },
@@ -2283,11 +2283,11 @@
2283
2283
  "expression": {
2284
2284
  "arguments": [
2285
2285
  {
2286
- "id": 1266,
2286
+ "id": 1278,
2287
2287
  "name": "counters",
2288
2288
  "nodeType": "Identifier",
2289
2289
  "overloadedDeclarations": [],
2290
- "referencedDeclaration": 1240,
2290
+ "referencedDeclaration": 1252,
2291
2291
  "src": "1797:8:4",
2292
2292
  "typeDescriptions": {
2293
2293
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
@@ -2302,24 +2302,24 @@
2302
2302
  "typeString": "uint16[] memory"
2303
2303
  }
2304
2304
  ],
2305
- "id": 1265,
2305
+ "id": 1277,
2306
2306
  "name": "pack",
2307
2307
  "nodeType": "Identifier",
2308
2308
  "overloadedDeclarations": [
2309
- 1156,
2310
- 1186,
2311
- 1224,
2312
- 1270,
2313
- 1324
2309
+ 1168,
2310
+ 1198,
2311
+ 1236,
2312
+ 1282,
2313
+ 1336
2314
2314
  ],
2315
- "referencedDeclaration": 1156,
2315
+ "referencedDeclaration": 1168,
2316
2316
  "src": "1792:4:4",
2317
2317
  "typeDescriptions": {
2318
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$1081_$",
2318
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$1093_$",
2319
2319
  "typeString": "function (uint16[] memory) pure returns (PackedCounter)"
2320
2320
  }
2321
2321
  },
2322
- "id": 1267,
2322
+ "id": 1279,
2323
2323
  "isConstant": false,
2324
2324
  "isLValue": false,
2325
2325
  "isPure": false,
@@ -2330,12 +2330,12 @@
2330
2330
  "src": "1792:14:4",
2331
2331
  "tryCall": false,
2332
2332
  "typeDescriptions": {
2333
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
2333
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
2334
2334
  "typeString": "PackedCounter"
2335
2335
  }
2336
2336
  },
2337
- "functionReturnParameters": 1235,
2338
- "id": 1268,
2337
+ "functionReturnParameters": 1247,
2338
+ "id": 1280,
2339
2339
  "nodeType": "Return",
2340
2340
  "src": "1785:21:4"
2341
2341
  }
@@ -2347,17 +2347,17 @@
2347
2347
  "name": "pack",
2348
2348
  "nameLocation": "1595:4:4",
2349
2349
  "parameters": {
2350
- "id": 1231,
2350
+ "id": 1243,
2351
2351
  "nodeType": "ParameterList",
2352
2352
  "parameters": [
2353
2353
  {
2354
2354
  "constant": false,
2355
- "id": 1226,
2355
+ "id": 1238,
2356
2356
  "mutability": "mutable",
2357
2357
  "name": "a",
2358
2358
  "nameLocation": "1607:1:4",
2359
2359
  "nodeType": "VariableDeclaration",
2360
- "scope": 1270,
2360
+ "scope": 1282,
2361
2361
  "src": "1600:8:4",
2362
2362
  "stateVariable": false,
2363
2363
  "storageLocation": "default",
@@ -2366,7 +2366,7 @@
2366
2366
  "typeString": "uint16"
2367
2367
  },
2368
2368
  "typeName": {
2369
- "id": 1225,
2369
+ "id": 1237,
2370
2370
  "name": "uint16",
2371
2371
  "nodeType": "ElementaryTypeName",
2372
2372
  "src": "1600:6:4",
@@ -2379,12 +2379,12 @@
2379
2379
  },
2380
2380
  {
2381
2381
  "constant": false,
2382
- "id": 1228,
2382
+ "id": 1240,
2383
2383
  "mutability": "mutable",
2384
2384
  "name": "b",
2385
2385
  "nameLocation": "1617:1:4",
2386
2386
  "nodeType": "VariableDeclaration",
2387
- "scope": 1270,
2387
+ "scope": 1282,
2388
2388
  "src": "1610:8:4",
2389
2389
  "stateVariable": false,
2390
2390
  "storageLocation": "default",
@@ -2393,7 +2393,7 @@
2393
2393
  "typeString": "uint16"
2394
2394
  },
2395
2395
  "typeName": {
2396
- "id": 1227,
2396
+ "id": 1239,
2397
2397
  "name": "uint16",
2398
2398
  "nodeType": "ElementaryTypeName",
2399
2399
  "src": "1610:6:4",
@@ -2406,12 +2406,12 @@
2406
2406
  },
2407
2407
  {
2408
2408
  "constant": false,
2409
- "id": 1230,
2409
+ "id": 1242,
2410
2410
  "mutability": "mutable",
2411
2411
  "name": "c",
2412
2412
  "nameLocation": "1627:1:4",
2413
2413
  "nodeType": "VariableDeclaration",
2414
- "scope": 1270,
2414
+ "scope": 1282,
2415
2415
  "src": "1620:8:4",
2416
2416
  "stateVariable": false,
2417
2417
  "storageLocation": "default",
@@ -2420,7 +2420,7 @@
2420
2420
  "typeString": "uint16"
2421
2421
  },
2422
2422
  "typeName": {
2423
- "id": 1229,
2423
+ "id": 1241,
2424
2424
  "name": "uint16",
2425
2425
  "nodeType": "ElementaryTypeName",
2426
2426
  "src": "1620:6:4",
@@ -2435,38 +2435,38 @@
2435
2435
  "src": "1599:30:4"
2436
2436
  },
2437
2437
  "returnParameters": {
2438
- "id": 1235,
2438
+ "id": 1247,
2439
2439
  "nodeType": "ParameterList",
2440
2440
  "parameters": [
2441
2441
  {
2442
2442
  "constant": false,
2443
- "id": 1234,
2443
+ "id": 1246,
2444
2444
  "mutability": "mutable",
2445
2445
  "name": "",
2446
2446
  "nameLocation": "-1:-1:-1",
2447
2447
  "nodeType": "VariableDeclaration",
2448
- "scope": 1270,
2448
+ "scope": 1282,
2449
2449
  "src": "1653:13:4",
2450
2450
  "stateVariable": false,
2451
2451
  "storageLocation": "default",
2452
2452
  "typeDescriptions": {
2453
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
2453
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
2454
2454
  "typeString": "PackedCounter"
2455
2455
  },
2456
2456
  "typeName": {
2457
- "id": 1233,
2457
+ "id": 1245,
2458
2458
  "nodeType": "UserDefinedTypeName",
2459
2459
  "pathNode": {
2460
- "id": 1232,
2460
+ "id": 1244,
2461
2461
  "name": "PackedCounter",
2462
2462
  "nodeType": "IdentifierPath",
2463
- "referencedDeclaration": 1081,
2463
+ "referencedDeclaration": 1093,
2464
2464
  "src": "1653:13:4"
2465
2465
  },
2466
- "referencedDeclaration": 1081,
2466
+ "referencedDeclaration": 1093,
2467
2467
  "src": "1653:13:4",
2468
2468
  "typeDescriptions": {
2469
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
2469
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
2470
2470
  "typeString": "PackedCounter"
2471
2471
  }
2472
2472
  },
@@ -2475,35 +2475,35 @@
2475
2475
  ],
2476
2476
  "src": "1652:15:4"
2477
2477
  },
2478
- "scope": 1497,
2478
+ "scope": 1509,
2479
2479
  "stateMutability": "pure",
2480
2480
  "virtual": false,
2481
2481
  "visibility": "internal"
2482
2482
  },
2483
2483
  {
2484
- "id": 1324,
2484
+ "id": 1336,
2485
2485
  "nodeType": "FunctionDefinition",
2486
2486
  "src": "1815:256:4",
2487
2487
  "nodes": [],
2488
2488
  "body": {
2489
- "id": 1323,
2489
+ "id": 1335,
2490
2490
  "nodeType": "Block",
2491
2491
  "src": "1907:164:4",
2492
2492
  "nodes": [],
2493
2493
  "statements": [
2494
2494
  {
2495
2495
  "assignments": [
2496
- 1288
2496
+ 1300
2497
2497
  ],
2498
2498
  "declarations": [
2499
2499
  {
2500
2500
  "constant": false,
2501
- "id": 1288,
2501
+ "id": 1300,
2502
2502
  "mutability": "mutable",
2503
2503
  "name": "counters",
2504
2504
  "nameLocation": "1929:8:4",
2505
2505
  "nodeType": "VariableDeclaration",
2506
- "scope": 1323,
2506
+ "scope": 1335,
2507
2507
  "src": "1913:24:4",
2508
2508
  "stateVariable": false,
2509
2509
  "storageLocation": "memory",
@@ -2513,7 +2513,7 @@
2513
2513
  },
2514
2514
  "typeName": {
2515
2515
  "baseType": {
2516
- "id": 1286,
2516
+ "id": 1298,
2517
2517
  "name": "uint16",
2518
2518
  "nodeType": "ElementaryTypeName",
2519
2519
  "src": "1913:6:4",
@@ -2522,7 +2522,7 @@
2522
2522
  "typeString": "uint16"
2523
2523
  }
2524
2524
  },
2525
- "id": 1287,
2525
+ "id": 1299,
2526
2526
  "nodeType": "ArrayTypeName",
2527
2527
  "src": "1913:8:4",
2528
2528
  "typeDescriptions": {
@@ -2533,12 +2533,12 @@
2533
2533
  "visibility": "internal"
2534
2534
  }
2535
2535
  ],
2536
- "id": 1294,
2536
+ "id": 1306,
2537
2537
  "initialValue": {
2538
2538
  "arguments": [
2539
2539
  {
2540
2540
  "hexValue": "34",
2541
- "id": 1292,
2541
+ "id": 1304,
2542
2542
  "isConstant": false,
2543
2543
  "isLValue": false,
2544
2544
  "isPure": true,
@@ -2560,7 +2560,7 @@
2560
2560
  "typeString": "int_const 4"
2561
2561
  }
2562
2562
  ],
2563
- "id": 1291,
2563
+ "id": 1303,
2564
2564
  "isConstant": false,
2565
2565
  "isLValue": false,
2566
2566
  "isPure": true,
@@ -2573,7 +2573,7 @@
2573
2573
  },
2574
2574
  "typeName": {
2575
2575
  "baseType": {
2576
- "id": 1289,
2576
+ "id": 1301,
2577
2577
  "name": "uint16",
2578
2578
  "nodeType": "ElementaryTypeName",
2579
2579
  "src": "1944:6:4",
@@ -2582,7 +2582,7 @@
2582
2582
  "typeString": "uint16"
2583
2583
  }
2584
2584
  },
2585
- "id": 1290,
2585
+ "id": 1302,
2586
2586
  "nodeType": "ArrayTypeName",
2587
2587
  "src": "1944:8:4",
2588
2588
  "typeDescriptions": {
@@ -2591,7 +2591,7 @@
2591
2591
  }
2592
2592
  }
2593
2593
  },
2594
- "id": 1293,
2594
+ "id": 1305,
2595
2595
  "isConstant": false,
2596
2596
  "isLValue": false,
2597
2597
  "isPure": true,
@@ -2611,28 +2611,28 @@
2611
2611
  },
2612
2612
  {
2613
2613
  "expression": {
2614
- "id": 1299,
2614
+ "id": 1311,
2615
2615
  "isConstant": false,
2616
2616
  "isLValue": false,
2617
2617
  "isPure": false,
2618
2618
  "lValueRequested": false,
2619
2619
  "leftHandSide": {
2620
2620
  "baseExpression": {
2621
- "id": 1295,
2621
+ "id": 1307,
2622
2622
  "name": "counters",
2623
2623
  "nodeType": "Identifier",
2624
2624
  "overloadedDeclarations": [],
2625
- "referencedDeclaration": 1288,
2625
+ "referencedDeclaration": 1300,
2626
2626
  "src": "1961:8:4",
2627
2627
  "typeDescriptions": {
2628
2628
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2629
2629
  "typeString": "uint16[] memory"
2630
2630
  }
2631
2631
  },
2632
- "id": 1297,
2632
+ "id": 1309,
2633
2633
  "indexExpression": {
2634
2634
  "hexValue": "30",
2635
- "id": 1296,
2635
+ "id": 1308,
2636
2636
  "isConstant": false,
2637
2637
  "isLValue": false,
2638
2638
  "isPure": true,
@@ -2660,11 +2660,11 @@
2660
2660
  "nodeType": "Assignment",
2661
2661
  "operator": "=",
2662
2662
  "rightHandSide": {
2663
- "id": 1298,
2663
+ "id": 1310,
2664
2664
  "name": "a",
2665
2665
  "nodeType": "Identifier",
2666
2666
  "overloadedDeclarations": [],
2667
- "referencedDeclaration": 1272,
2667
+ "referencedDeclaration": 1284,
2668
2668
  "src": "1975:1:4",
2669
2669
  "typeDescriptions": {
2670
2670
  "typeIdentifier": "t_uint16",
@@ -2677,34 +2677,34 @@
2677
2677
  "typeString": "uint16"
2678
2678
  }
2679
2679
  },
2680
- "id": 1300,
2680
+ "id": 1312,
2681
2681
  "nodeType": "ExpressionStatement",
2682
2682
  "src": "1961:15:4"
2683
2683
  },
2684
2684
  {
2685
2685
  "expression": {
2686
- "id": 1305,
2686
+ "id": 1317,
2687
2687
  "isConstant": false,
2688
2688
  "isLValue": false,
2689
2689
  "isPure": false,
2690
2690
  "lValueRequested": false,
2691
2691
  "leftHandSide": {
2692
2692
  "baseExpression": {
2693
- "id": 1301,
2693
+ "id": 1313,
2694
2694
  "name": "counters",
2695
2695
  "nodeType": "Identifier",
2696
2696
  "overloadedDeclarations": [],
2697
- "referencedDeclaration": 1288,
2697
+ "referencedDeclaration": 1300,
2698
2698
  "src": "1982:8:4",
2699
2699
  "typeDescriptions": {
2700
2700
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2701
2701
  "typeString": "uint16[] memory"
2702
2702
  }
2703
2703
  },
2704
- "id": 1303,
2704
+ "id": 1315,
2705
2705
  "indexExpression": {
2706
2706
  "hexValue": "31",
2707
- "id": 1302,
2707
+ "id": 1314,
2708
2708
  "isConstant": false,
2709
2709
  "isLValue": false,
2710
2710
  "isPure": true,
@@ -2732,11 +2732,11 @@
2732
2732
  "nodeType": "Assignment",
2733
2733
  "operator": "=",
2734
2734
  "rightHandSide": {
2735
- "id": 1304,
2735
+ "id": 1316,
2736
2736
  "name": "b",
2737
2737
  "nodeType": "Identifier",
2738
2738
  "overloadedDeclarations": [],
2739
- "referencedDeclaration": 1274,
2739
+ "referencedDeclaration": 1286,
2740
2740
  "src": "1996:1:4",
2741
2741
  "typeDescriptions": {
2742
2742
  "typeIdentifier": "t_uint16",
@@ -2749,34 +2749,34 @@
2749
2749
  "typeString": "uint16"
2750
2750
  }
2751
2751
  },
2752
- "id": 1306,
2752
+ "id": 1318,
2753
2753
  "nodeType": "ExpressionStatement",
2754
2754
  "src": "1982:15:4"
2755
2755
  },
2756
2756
  {
2757
2757
  "expression": {
2758
- "id": 1311,
2758
+ "id": 1323,
2759
2759
  "isConstant": false,
2760
2760
  "isLValue": false,
2761
2761
  "isPure": false,
2762
2762
  "lValueRequested": false,
2763
2763
  "leftHandSide": {
2764
2764
  "baseExpression": {
2765
- "id": 1307,
2765
+ "id": 1319,
2766
2766
  "name": "counters",
2767
2767
  "nodeType": "Identifier",
2768
2768
  "overloadedDeclarations": [],
2769
- "referencedDeclaration": 1288,
2769
+ "referencedDeclaration": 1300,
2770
2770
  "src": "2003:8:4",
2771
2771
  "typeDescriptions": {
2772
2772
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2773
2773
  "typeString": "uint16[] memory"
2774
2774
  }
2775
2775
  },
2776
- "id": 1309,
2776
+ "id": 1321,
2777
2777
  "indexExpression": {
2778
2778
  "hexValue": "32",
2779
- "id": 1308,
2779
+ "id": 1320,
2780
2780
  "isConstant": false,
2781
2781
  "isLValue": false,
2782
2782
  "isPure": true,
@@ -2804,11 +2804,11 @@
2804
2804
  "nodeType": "Assignment",
2805
2805
  "operator": "=",
2806
2806
  "rightHandSide": {
2807
- "id": 1310,
2807
+ "id": 1322,
2808
2808
  "name": "c",
2809
2809
  "nodeType": "Identifier",
2810
2810
  "overloadedDeclarations": [],
2811
- "referencedDeclaration": 1276,
2811
+ "referencedDeclaration": 1288,
2812
2812
  "src": "2017:1:4",
2813
2813
  "typeDescriptions": {
2814
2814
  "typeIdentifier": "t_uint16",
@@ -2821,34 +2821,34 @@
2821
2821
  "typeString": "uint16"
2822
2822
  }
2823
2823
  },
2824
- "id": 1312,
2824
+ "id": 1324,
2825
2825
  "nodeType": "ExpressionStatement",
2826
2826
  "src": "2003:15:4"
2827
2827
  },
2828
2828
  {
2829
2829
  "expression": {
2830
- "id": 1317,
2830
+ "id": 1329,
2831
2831
  "isConstant": false,
2832
2832
  "isLValue": false,
2833
2833
  "isPure": false,
2834
2834
  "lValueRequested": false,
2835
2835
  "leftHandSide": {
2836
2836
  "baseExpression": {
2837
- "id": 1313,
2837
+ "id": 1325,
2838
2838
  "name": "counters",
2839
2839
  "nodeType": "Identifier",
2840
2840
  "overloadedDeclarations": [],
2841
- "referencedDeclaration": 1288,
2841
+ "referencedDeclaration": 1300,
2842
2842
  "src": "2024:8:4",
2843
2843
  "typeDescriptions": {
2844
2844
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
2845
2845
  "typeString": "uint16[] memory"
2846
2846
  }
2847
2847
  },
2848
- "id": 1315,
2848
+ "id": 1327,
2849
2849
  "indexExpression": {
2850
2850
  "hexValue": "33",
2851
- "id": 1314,
2851
+ "id": 1326,
2852
2852
  "isConstant": false,
2853
2853
  "isLValue": false,
2854
2854
  "isPure": true,
@@ -2876,11 +2876,11 @@
2876
2876
  "nodeType": "Assignment",
2877
2877
  "operator": "=",
2878
2878
  "rightHandSide": {
2879
- "id": 1316,
2879
+ "id": 1328,
2880
2880
  "name": "d",
2881
2881
  "nodeType": "Identifier",
2882
2882
  "overloadedDeclarations": [],
2883
- "referencedDeclaration": 1278,
2883
+ "referencedDeclaration": 1290,
2884
2884
  "src": "2038:1:4",
2885
2885
  "typeDescriptions": {
2886
2886
  "typeIdentifier": "t_uint16",
@@ -2893,7 +2893,7 @@
2893
2893
  "typeString": "uint16"
2894
2894
  }
2895
2895
  },
2896
- "id": 1318,
2896
+ "id": 1330,
2897
2897
  "nodeType": "ExpressionStatement",
2898
2898
  "src": "2024:15:4"
2899
2899
  },
@@ -2901,11 +2901,11 @@
2901
2901
  "expression": {
2902
2902
  "arguments": [
2903
2903
  {
2904
- "id": 1320,
2904
+ "id": 1332,
2905
2905
  "name": "counters",
2906
2906
  "nodeType": "Identifier",
2907
2907
  "overloadedDeclarations": [],
2908
- "referencedDeclaration": 1288,
2908
+ "referencedDeclaration": 1300,
2909
2909
  "src": "2057:8:4",
2910
2910
  "typeDescriptions": {
2911
2911
  "typeIdentifier": "t_array$_t_uint16_$dyn_memory_ptr",
@@ -2920,24 +2920,24 @@
2920
2920
  "typeString": "uint16[] memory"
2921
2921
  }
2922
2922
  ],
2923
- "id": 1319,
2923
+ "id": 1331,
2924
2924
  "name": "pack",
2925
2925
  "nodeType": "Identifier",
2926
2926
  "overloadedDeclarations": [
2927
- 1156,
2928
- 1186,
2929
- 1224,
2930
- 1270,
2931
- 1324
2927
+ 1168,
2928
+ 1198,
2929
+ 1236,
2930
+ 1282,
2931
+ 1336
2932
2932
  ],
2933
- "referencedDeclaration": 1156,
2933
+ "referencedDeclaration": 1168,
2934
2934
  "src": "2052:4:4",
2935
2935
  "typeDescriptions": {
2936
- "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$1081_$",
2936
+ "typeIdentifier": "t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_userDefinedValueType$_PackedCounter_$1093_$",
2937
2937
  "typeString": "function (uint16[] memory) pure returns (PackedCounter)"
2938
2938
  }
2939
2939
  },
2940
- "id": 1321,
2940
+ "id": 1333,
2941
2941
  "isConstant": false,
2942
2942
  "isLValue": false,
2943
2943
  "isPure": false,
@@ -2948,12 +2948,12 @@
2948
2948
  "src": "2052:14:4",
2949
2949
  "tryCall": false,
2950
2950
  "typeDescriptions": {
2951
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
2951
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
2952
2952
  "typeString": "PackedCounter"
2953
2953
  }
2954
2954
  },
2955
- "functionReturnParameters": 1283,
2956
- "id": 1322,
2955
+ "functionReturnParameters": 1295,
2956
+ "id": 1334,
2957
2957
  "nodeType": "Return",
2958
2958
  "src": "2045:21:4"
2959
2959
  }
@@ -2965,17 +2965,17 @@
2965
2965
  "name": "pack",
2966
2966
  "nameLocation": "1824:4:4",
2967
2967
  "parameters": {
2968
- "id": 1279,
2968
+ "id": 1291,
2969
2969
  "nodeType": "ParameterList",
2970
2970
  "parameters": [
2971
2971
  {
2972
2972
  "constant": false,
2973
- "id": 1272,
2973
+ "id": 1284,
2974
2974
  "mutability": "mutable",
2975
2975
  "name": "a",
2976
2976
  "nameLocation": "1836:1:4",
2977
2977
  "nodeType": "VariableDeclaration",
2978
- "scope": 1324,
2978
+ "scope": 1336,
2979
2979
  "src": "1829:8:4",
2980
2980
  "stateVariable": false,
2981
2981
  "storageLocation": "default",
@@ -2984,7 +2984,7 @@
2984
2984
  "typeString": "uint16"
2985
2985
  },
2986
2986
  "typeName": {
2987
- "id": 1271,
2987
+ "id": 1283,
2988
2988
  "name": "uint16",
2989
2989
  "nodeType": "ElementaryTypeName",
2990
2990
  "src": "1829:6:4",
@@ -2997,12 +2997,12 @@
2997
2997
  },
2998
2998
  {
2999
2999
  "constant": false,
3000
- "id": 1274,
3000
+ "id": 1286,
3001
3001
  "mutability": "mutable",
3002
3002
  "name": "b",
3003
3003
  "nameLocation": "1846:1:4",
3004
3004
  "nodeType": "VariableDeclaration",
3005
- "scope": 1324,
3005
+ "scope": 1336,
3006
3006
  "src": "1839:8:4",
3007
3007
  "stateVariable": false,
3008
3008
  "storageLocation": "default",
@@ -3011,7 +3011,7 @@
3011
3011
  "typeString": "uint16"
3012
3012
  },
3013
3013
  "typeName": {
3014
- "id": 1273,
3014
+ "id": 1285,
3015
3015
  "name": "uint16",
3016
3016
  "nodeType": "ElementaryTypeName",
3017
3017
  "src": "1839:6:4",
@@ -3024,12 +3024,12 @@
3024
3024
  },
3025
3025
  {
3026
3026
  "constant": false,
3027
- "id": 1276,
3027
+ "id": 1288,
3028
3028
  "mutability": "mutable",
3029
3029
  "name": "c",
3030
3030
  "nameLocation": "1856:1:4",
3031
3031
  "nodeType": "VariableDeclaration",
3032
- "scope": 1324,
3032
+ "scope": 1336,
3033
3033
  "src": "1849:8:4",
3034
3034
  "stateVariable": false,
3035
3035
  "storageLocation": "default",
@@ -3038,7 +3038,7 @@
3038
3038
  "typeString": "uint16"
3039
3039
  },
3040
3040
  "typeName": {
3041
- "id": 1275,
3041
+ "id": 1287,
3042
3042
  "name": "uint16",
3043
3043
  "nodeType": "ElementaryTypeName",
3044
3044
  "src": "1849:6:4",
@@ -3051,12 +3051,12 @@
3051
3051
  },
3052
3052
  {
3053
3053
  "constant": false,
3054
- "id": 1278,
3054
+ "id": 1290,
3055
3055
  "mutability": "mutable",
3056
3056
  "name": "d",
3057
3057
  "nameLocation": "1866:1:4",
3058
3058
  "nodeType": "VariableDeclaration",
3059
- "scope": 1324,
3059
+ "scope": 1336,
3060
3060
  "src": "1859:8:4",
3061
3061
  "stateVariable": false,
3062
3062
  "storageLocation": "default",
@@ -3065,7 +3065,7 @@
3065
3065
  "typeString": "uint16"
3066
3066
  },
3067
3067
  "typeName": {
3068
- "id": 1277,
3068
+ "id": 1289,
3069
3069
  "name": "uint16",
3070
3070
  "nodeType": "ElementaryTypeName",
3071
3071
  "src": "1859:6:4",
@@ -3080,38 +3080,38 @@
3080
3080
  "src": "1828:40:4"
3081
3081
  },
3082
3082
  "returnParameters": {
3083
- "id": 1283,
3083
+ "id": 1295,
3084
3084
  "nodeType": "ParameterList",
3085
3085
  "parameters": [
3086
3086
  {
3087
3087
  "constant": false,
3088
- "id": 1282,
3088
+ "id": 1294,
3089
3089
  "mutability": "mutable",
3090
3090
  "name": "",
3091
3091
  "nameLocation": "-1:-1:-1",
3092
3092
  "nodeType": "VariableDeclaration",
3093
- "scope": 1324,
3093
+ "scope": 1336,
3094
3094
  "src": "1892:13:4",
3095
3095
  "stateVariable": false,
3096
3096
  "storageLocation": "default",
3097
3097
  "typeDescriptions": {
3098
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3098
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3099
3099
  "typeString": "PackedCounter"
3100
3100
  },
3101
3101
  "typeName": {
3102
- "id": 1281,
3102
+ "id": 1293,
3103
3103
  "nodeType": "UserDefinedTypeName",
3104
3104
  "pathNode": {
3105
- "id": 1280,
3105
+ "id": 1292,
3106
3106
  "name": "PackedCounter",
3107
3107
  "nodeType": "IdentifierPath",
3108
- "referencedDeclaration": 1081,
3108
+ "referencedDeclaration": 1093,
3109
3109
  "src": "1892:13:4"
3110
3110
  },
3111
- "referencedDeclaration": 1081,
3111
+ "referencedDeclaration": 1093,
3112
3112
  "src": "1892:13:4",
3113
3113
  "typeDescriptions": {
3114
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3114
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3115
3115
  "typeString": "PackedCounter"
3116
3116
  }
3117
3117
  },
@@ -3120,18 +3120,18 @@
3120
3120
  ],
3121
3121
  "src": "1891:15:4"
3122
3122
  },
3123
- "scope": 1497,
3123
+ "scope": 1509,
3124
3124
  "stateMutability": "pure",
3125
3125
  "virtual": false,
3126
3126
  "visibility": "internal"
3127
3127
  },
3128
3128
  {
3129
- "id": 1348,
3129
+ "id": 1360,
3130
3130
  "nodeType": "FunctionDefinition",
3131
3131
  "src": "2356:154:4",
3132
3132
  "nodes": [],
3133
3133
  "body": {
3134
- "id": 1347,
3134
+ "id": 1359,
3135
3135
  "nodeType": "Block",
3136
3136
  "src": "2432:78:4",
3137
3137
  "nodes": [],
@@ -3146,14 +3146,14 @@
3146
3146
  {
3147
3147
  "arguments": [
3148
3148
  {
3149
- "id": 1341,
3149
+ "id": 1353,
3150
3150
  "name": "packedCounter",
3151
3151
  "nodeType": "Identifier",
3152
3152
  "overloadedDeclarations": [],
3153
- "referencedDeclaration": 1328,
3153
+ "referencedDeclaration": 1340,
3154
3154
  "src": "2488:13:4",
3155
3155
  "typeDescriptions": {
3156
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3156
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3157
3157
  "typeString": "PackedCounter"
3158
3158
  }
3159
3159
  }
@@ -3161,23 +3161,23 @@
3161
3161
  "expression": {
3162
3162
  "argumentTypes": [
3163
3163
  {
3164
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3164
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3165
3165
  "typeString": "PackedCounter"
3166
3166
  }
3167
3167
  ],
3168
3168
  "expression": {
3169
- "id": 1339,
3169
+ "id": 1351,
3170
3170
  "name": "PackedCounter",
3171
3171
  "nodeType": "Identifier",
3172
3172
  "overloadedDeclarations": [],
3173
- "referencedDeclaration": 1081,
3173
+ "referencedDeclaration": 1093,
3174
3174
  "src": "2467:13:4",
3175
3175
  "typeDescriptions": {
3176
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1081_$",
3176
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1093_$",
3177
3177
  "typeString": "type(PackedCounter)"
3178
3178
  }
3179
3179
  },
3180
- "id": 1340,
3180
+ "id": 1352,
3181
3181
  "isConstant": false,
3182
3182
  "isLValue": false,
3183
3183
  "isPure": true,
@@ -3186,11 +3186,11 @@
3186
3186
  "nodeType": "MemberAccess",
3187
3187
  "src": "2467:20:4",
3188
3188
  "typeDescriptions": {
3189
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$1081_$returns$_t_bytes32_$",
3189
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$1093_$returns$_t_bytes32_$",
3190
3190
  "typeString": "function (PackedCounter) pure returns (bytes32)"
3191
3191
  }
3192
3192
  },
3193
- "id": 1342,
3193
+ "id": 1354,
3194
3194
  "isConstant": false,
3195
3195
  "isLValue": false,
3196
3196
  "isPure": false,
@@ -3213,7 +3213,7 @@
3213
3213
  "typeString": "bytes32"
3214
3214
  }
3215
3215
  ],
3216
- "id": 1338,
3216
+ "id": 1350,
3217
3217
  "isConstant": false,
3218
3218
  "isLValue": false,
3219
3219
  "isPure": true,
@@ -3225,14 +3225,14 @@
3225
3225
  "typeString": "type(bytes4)"
3226
3226
  },
3227
3227
  "typeName": {
3228
- "id": 1337,
3228
+ "id": 1349,
3229
3229
  "name": "bytes4",
3230
3230
  "nodeType": "ElementaryTypeName",
3231
3231
  "src": "2460:6:4",
3232
3232
  "typeDescriptions": {}
3233
3233
  }
3234
3234
  },
3235
- "id": 1343,
3235
+ "id": 1355,
3236
3236
  "isConstant": false,
3237
3237
  "isLValue": false,
3238
3238
  "isPure": false,
@@ -3255,7 +3255,7 @@
3255
3255
  "typeString": "bytes4"
3256
3256
  }
3257
3257
  ],
3258
- "id": 1336,
3258
+ "id": 1348,
3259
3259
  "isConstant": false,
3260
3260
  "isLValue": false,
3261
3261
  "isPure": true,
@@ -3267,14 +3267,14 @@
3267
3267
  "typeString": "type(uint32)"
3268
3268
  },
3269
3269
  "typeName": {
3270
- "id": 1335,
3270
+ "id": 1347,
3271
3271
  "name": "uint32",
3272
3272
  "nodeType": "ElementaryTypeName",
3273
3273
  "src": "2453:6:4",
3274
3274
  "typeDescriptions": {}
3275
3275
  }
3276
3276
  },
3277
- "id": 1344,
3277
+ "id": 1356,
3278
3278
  "isConstant": false,
3279
3279
  "isLValue": false,
3280
3280
  "isPure": false,
@@ -3297,7 +3297,7 @@
3297
3297
  "typeString": "uint32"
3298
3298
  }
3299
3299
  ],
3300
- "id": 1334,
3300
+ "id": 1346,
3301
3301
  "isConstant": false,
3302
3302
  "isLValue": false,
3303
3303
  "isPure": true,
@@ -3309,14 +3309,14 @@
3309
3309
  "typeString": "type(uint256)"
3310
3310
  },
3311
3311
  "typeName": {
3312
- "id": 1333,
3312
+ "id": 1345,
3313
3313
  "name": "uint256",
3314
3314
  "nodeType": "ElementaryTypeName",
3315
3315
  "src": "2445:7:4",
3316
3316
  "typeDescriptions": {}
3317
3317
  }
3318
3318
  },
3319
- "id": 1345,
3319
+ "id": 1357,
3320
3320
  "isConstant": false,
3321
3321
  "isLValue": false,
3322
3322
  "isPure": false,
@@ -3331,15 +3331,15 @@
3331
3331
  "typeString": "uint256"
3332
3332
  }
3333
3333
  },
3334
- "functionReturnParameters": 1332,
3335
- "id": 1346,
3334
+ "functionReturnParameters": 1344,
3335
+ "id": 1358,
3336
3336
  "nodeType": "Return",
3337
3337
  "src": "2438:67:4"
3338
3338
  }
3339
3339
  ]
3340
3340
  },
3341
3341
  "documentation": {
3342
- "id": 1325,
3342
+ "id": 1337,
3343
3343
  "nodeType": "StructuredDocumentation",
3344
3344
  "src": "2266:87:4",
3345
3345
  "text": " Decode the accumulated counter\n (first four bytes of packed counter)"
@@ -3350,38 +3350,38 @@
3350
3350
  "name": "total",
3351
3351
  "nameLocation": "2365:5:4",
3352
3352
  "parameters": {
3353
- "id": 1329,
3353
+ "id": 1341,
3354
3354
  "nodeType": "ParameterList",
3355
3355
  "parameters": [
3356
3356
  {
3357
3357
  "constant": false,
3358
- "id": 1328,
3358
+ "id": 1340,
3359
3359
  "mutability": "mutable",
3360
3360
  "name": "packedCounter",
3361
3361
  "nameLocation": "2385:13:4",
3362
3362
  "nodeType": "VariableDeclaration",
3363
- "scope": 1348,
3363
+ "scope": 1360,
3364
3364
  "src": "2371:27:4",
3365
3365
  "stateVariable": false,
3366
3366
  "storageLocation": "default",
3367
3367
  "typeDescriptions": {
3368
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3368
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3369
3369
  "typeString": "PackedCounter"
3370
3370
  },
3371
3371
  "typeName": {
3372
- "id": 1327,
3372
+ "id": 1339,
3373
3373
  "nodeType": "UserDefinedTypeName",
3374
3374
  "pathNode": {
3375
- "id": 1326,
3375
+ "id": 1338,
3376
3376
  "name": "PackedCounter",
3377
3377
  "nodeType": "IdentifierPath",
3378
- "referencedDeclaration": 1081,
3378
+ "referencedDeclaration": 1093,
3379
3379
  "src": "2371:13:4"
3380
3380
  },
3381
- "referencedDeclaration": 1081,
3381
+ "referencedDeclaration": 1093,
3382
3382
  "src": "2371:13:4",
3383
3383
  "typeDescriptions": {
3384
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3384
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3385
3385
  "typeString": "PackedCounter"
3386
3386
  }
3387
3387
  },
@@ -3391,17 +3391,17 @@
3391
3391
  "src": "2370:29:4"
3392
3392
  },
3393
3393
  "returnParameters": {
3394
- "id": 1332,
3394
+ "id": 1344,
3395
3395
  "nodeType": "ParameterList",
3396
3396
  "parameters": [
3397
3397
  {
3398
3398
  "constant": false,
3399
- "id": 1331,
3399
+ "id": 1343,
3400
3400
  "mutability": "mutable",
3401
3401
  "name": "",
3402
3402
  "nameLocation": "-1:-1:-1",
3403
3403
  "nodeType": "VariableDeclaration",
3404
- "scope": 1348,
3404
+ "scope": 1360,
3405
3405
  "src": "2423:7:4",
3406
3406
  "stateVariable": false,
3407
3407
  "storageLocation": "default",
@@ -3410,7 +3410,7 @@
3410
3410
  "typeString": "uint256"
3411
3411
  },
3412
3412
  "typeName": {
3413
- "id": 1330,
3413
+ "id": 1342,
3414
3414
  "name": "uint256",
3415
3415
  "nodeType": "ElementaryTypeName",
3416
3416
  "src": "2423:7:4",
@@ -3424,35 +3424,35 @@
3424
3424
  ],
3425
3425
  "src": "2422:9:4"
3426
3426
  },
3427
- "scope": 1497,
3427
+ "scope": 1509,
3428
3428
  "stateMutability": "pure",
3429
3429
  "virtual": false,
3430
3430
  "visibility": "internal"
3431
3431
  },
3432
3432
  {
3433
- "id": 1383,
3433
+ "id": 1395,
3434
3434
  "nodeType": "FunctionDefinition",
3435
3435
  "src": "2625:221:4",
3436
3436
  "nodes": [],
3437
3437
  "body": {
3438
- "id": 1382,
3438
+ "id": 1394,
3439
3439
  "nodeType": "Block",
3440
3440
  "src": "2718:128:4",
3441
3441
  "nodes": [],
3442
3442
  "statements": [
3443
3443
  {
3444
3444
  "assignments": [
3445
- 1360
3445
+ 1372
3446
3446
  ],
3447
3447
  "declarations": [
3448
3448
  {
3449
3449
  "constant": false,
3450
- "id": 1360,
3450
+ "id": 1372,
3451
3451
  "mutability": "mutable",
3452
3452
  "name": "offset",
3453
3453
  "nameLocation": "2732:6:4",
3454
3454
  "nodeType": "VariableDeclaration",
3455
- "scope": 1382,
3455
+ "scope": 1394,
3456
3456
  "src": "2724:14:4",
3457
3457
  "stateVariable": false,
3458
3458
  "storageLocation": "default",
@@ -3461,7 +3461,7 @@
3461
3461
  "typeString": "uint256"
3462
3462
  },
3463
3463
  "typeName": {
3464
- "id": 1359,
3464
+ "id": 1371,
3465
3465
  "name": "uint256",
3466
3466
  "nodeType": "ElementaryTypeName",
3467
3467
  "src": "2724:7:4",
@@ -3473,20 +3473,20 @@
3473
3473
  "visibility": "internal"
3474
3474
  }
3475
3475
  ],
3476
- "id": 1366,
3476
+ "id": 1378,
3477
3477
  "initialValue": {
3478
3478
  "commonType": {
3479
3479
  "typeIdentifier": "t_uint256",
3480
3480
  "typeString": "uint256"
3481
3481
  },
3482
- "id": 1365,
3482
+ "id": 1377,
3483
3483
  "isConstant": false,
3484
3484
  "isLValue": false,
3485
3485
  "isPure": false,
3486
3486
  "lValueRequested": false,
3487
3487
  "leftExpression": {
3488
3488
  "hexValue": "34",
3489
- "id": 1361,
3489
+ "id": 1373,
3490
3490
  "isConstant": false,
3491
3491
  "isLValue": false,
3492
3492
  "isPure": true,
@@ -3507,17 +3507,17 @@
3507
3507
  "typeIdentifier": "t_uint256",
3508
3508
  "typeString": "uint256"
3509
3509
  },
3510
- "id": 1364,
3510
+ "id": 1376,
3511
3511
  "isConstant": false,
3512
3512
  "isLValue": false,
3513
3513
  "isPure": false,
3514
3514
  "lValueRequested": false,
3515
3515
  "leftExpression": {
3516
- "id": 1362,
3516
+ "id": 1374,
3517
3517
  "name": "index",
3518
3518
  "nodeType": "Identifier",
3519
3519
  "overloadedDeclarations": [],
3520
- "referencedDeclaration": 1354,
3520
+ "referencedDeclaration": 1366,
3521
3521
  "src": "2745:5:4",
3522
3522
  "typeDescriptions": {
3523
3523
  "typeIdentifier": "t_uint256",
@@ -3528,7 +3528,7 @@
3528
3528
  "operator": "*",
3529
3529
  "rightExpression": {
3530
3530
  "hexValue": "32",
3531
- "id": 1363,
3531
+ "id": 1375,
3532
3532
  "isConstant": false,
3533
3533
  "isLValue": false,
3534
3534
  "isPure": true,
@@ -3567,14 +3567,14 @@
3567
3567
  {
3568
3568
  "arguments": [
3569
3569
  {
3570
- "id": 1375,
3570
+ "id": 1387,
3571
3571
  "name": "packedCounter",
3572
3572
  "nodeType": "Identifier",
3573
3573
  "overloadedDeclarations": [],
3574
- "referencedDeclaration": 1352,
3574
+ "referencedDeclaration": 1364,
3575
3575
  "src": "2816:13:4",
3576
3576
  "typeDescriptions": {
3577
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3577
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3578
3578
  "typeString": "PackedCounter"
3579
3579
  }
3580
3580
  }
@@ -3582,23 +3582,23 @@
3582
3582
  "expression": {
3583
3583
  "argumentTypes": [
3584
3584
  {
3585
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3585
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3586
3586
  "typeString": "PackedCounter"
3587
3587
  }
3588
3588
  ],
3589
3589
  "expression": {
3590
- "id": 1373,
3590
+ "id": 1385,
3591
3591
  "name": "PackedCounter",
3592
3592
  "nodeType": "Identifier",
3593
3593
  "overloadedDeclarations": [],
3594
- "referencedDeclaration": 1081,
3594
+ "referencedDeclaration": 1093,
3595
3595
  "src": "2795:13:4",
3596
3596
  "typeDescriptions": {
3597
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1081_$",
3597
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1093_$",
3598
3598
  "typeString": "type(PackedCounter)"
3599
3599
  }
3600
3600
  },
3601
- "id": 1374,
3601
+ "id": 1386,
3602
3602
  "isConstant": false,
3603
3603
  "isLValue": false,
3604
3604
  "isPure": true,
@@ -3607,11 +3607,11 @@
3607
3607
  "nodeType": "MemberAccess",
3608
3608
  "src": "2795:20:4",
3609
3609
  "typeDescriptions": {
3610
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$1081_$returns$_t_bytes32_$",
3610
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$1093_$returns$_t_bytes32_$",
3611
3611
  "typeString": "function (PackedCounter) pure returns (bytes32)"
3612
3612
  }
3613
3613
  },
3614
- "id": 1376,
3614
+ "id": 1388,
3615
3615
  "isConstant": false,
3616
3616
  "isLValue": false,
3617
3617
  "isPure": false,
@@ -3627,11 +3627,11 @@
3627
3627
  }
3628
3628
  },
3629
3629
  {
3630
- "id": 1377,
3630
+ "id": 1389,
3631
3631
  "name": "offset",
3632
3632
  "nodeType": "Identifier",
3633
3633
  "overloadedDeclarations": [],
3634
- "referencedDeclaration": 1360,
3634
+ "referencedDeclaration": 1372,
3635
3635
  "src": "2832:6:4",
3636
3636
  "typeDescriptions": {
3637
3637
  "typeIdentifier": "t_uint256",
@@ -3651,7 +3651,7 @@
3651
3651
  }
3652
3652
  ],
3653
3653
  "expression": {
3654
- "id": 1371,
3654
+ "id": 1383,
3655
3655
  "name": "Bytes",
3656
3656
  "nodeType": "Identifier",
3657
3657
  "overloadedDeclarations": [],
@@ -3662,7 +3662,7 @@
3662
3662
  "typeString": "type(library Bytes)"
3663
3663
  }
3664
3664
  },
3665
- "id": 1372,
3665
+ "id": 1384,
3666
3666
  "isConstant": false,
3667
3667
  "isLValue": false,
3668
3668
  "isPure": false,
@@ -3676,7 +3676,7 @@
3676
3676
  "typeString": "function (bytes32,uint256) pure returns (bytes2)"
3677
3677
  }
3678
3678
  },
3679
- "id": 1378,
3679
+ "id": 1390,
3680
3680
  "isConstant": false,
3681
3681
  "isLValue": false,
3682
3682
  "isPure": false,
@@ -3699,7 +3699,7 @@
3699
3699
  "typeString": "bytes2"
3700
3700
  }
3701
3701
  ],
3702
- "id": 1370,
3702
+ "id": 1382,
3703
3703
  "isConstant": false,
3704
3704
  "isLValue": false,
3705
3705
  "isPure": true,
@@ -3711,14 +3711,14 @@
3711
3711
  "typeString": "type(uint16)"
3712
3712
  },
3713
3713
  "typeName": {
3714
- "id": 1369,
3714
+ "id": 1381,
3715
3715
  "name": "uint16",
3716
3716
  "nodeType": "ElementaryTypeName",
3717
3717
  "src": "2775:6:4",
3718
3718
  "typeDescriptions": {}
3719
3719
  }
3720
3720
  },
3721
- "id": 1379,
3721
+ "id": 1391,
3722
3722
  "isConstant": false,
3723
3723
  "isLValue": false,
3724
3724
  "isPure": false,
@@ -3741,7 +3741,7 @@
3741
3741
  "typeString": "uint16"
3742
3742
  }
3743
3743
  ],
3744
- "id": 1368,
3744
+ "id": 1380,
3745
3745
  "isConstant": false,
3746
3746
  "isLValue": false,
3747
3747
  "isPure": true,
@@ -3753,14 +3753,14 @@
3753
3753
  "typeString": "type(uint256)"
3754
3754
  },
3755
3755
  "typeName": {
3756
- "id": 1367,
3756
+ "id": 1379,
3757
3757
  "name": "uint256",
3758
3758
  "nodeType": "ElementaryTypeName",
3759
3759
  "src": "2767:7:4",
3760
3760
  "typeDescriptions": {}
3761
3761
  }
3762
3762
  },
3763
- "id": 1380,
3763
+ "id": 1392,
3764
3764
  "isConstant": false,
3765
3765
  "isLValue": false,
3766
3766
  "isPure": false,
@@ -3775,15 +3775,15 @@
3775
3775
  "typeString": "uint256"
3776
3776
  }
3777
3777
  },
3778
- "functionReturnParameters": 1358,
3779
- "id": 1381,
3778
+ "functionReturnParameters": 1370,
3779
+ "id": 1393,
3780
3780
  "nodeType": "Return",
3781
3781
  "src": "2760:81:4"
3782
3782
  }
3783
3783
  ]
3784
3784
  },
3785
3785
  "documentation": {
3786
- "id": 1349,
3786
+ "id": 1361,
3787
3787
  "nodeType": "StructuredDocumentation",
3788
3788
  "src": "2514:108:4",
3789
3789
  "text": " Decode the counter at the given index\n (two bytes per counter after the first four bytes)"
@@ -3794,38 +3794,38 @@
3794
3794
  "name": "atIndex",
3795
3795
  "nameLocation": "2634:7:4",
3796
3796
  "parameters": {
3797
- "id": 1355,
3797
+ "id": 1367,
3798
3798
  "nodeType": "ParameterList",
3799
3799
  "parameters": [
3800
3800
  {
3801
3801
  "constant": false,
3802
- "id": 1352,
3802
+ "id": 1364,
3803
3803
  "mutability": "mutable",
3804
3804
  "name": "packedCounter",
3805
3805
  "nameLocation": "2656:13:4",
3806
3806
  "nodeType": "VariableDeclaration",
3807
- "scope": 1383,
3807
+ "scope": 1395,
3808
3808
  "src": "2642:27:4",
3809
3809
  "stateVariable": false,
3810
3810
  "storageLocation": "default",
3811
3811
  "typeDescriptions": {
3812
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3812
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3813
3813
  "typeString": "PackedCounter"
3814
3814
  },
3815
3815
  "typeName": {
3816
- "id": 1351,
3816
+ "id": 1363,
3817
3817
  "nodeType": "UserDefinedTypeName",
3818
3818
  "pathNode": {
3819
- "id": 1350,
3819
+ "id": 1362,
3820
3820
  "name": "PackedCounter",
3821
3821
  "nodeType": "IdentifierPath",
3822
- "referencedDeclaration": 1081,
3822
+ "referencedDeclaration": 1093,
3823
3823
  "src": "2642:13:4"
3824
3824
  },
3825
- "referencedDeclaration": 1081,
3825
+ "referencedDeclaration": 1093,
3826
3826
  "src": "2642:13:4",
3827
3827
  "typeDescriptions": {
3828
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3828
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3829
3829
  "typeString": "PackedCounter"
3830
3830
  }
3831
3831
  },
@@ -3833,12 +3833,12 @@
3833
3833
  },
3834
3834
  {
3835
3835
  "constant": false,
3836
- "id": 1354,
3836
+ "id": 1366,
3837
3837
  "mutability": "mutable",
3838
3838
  "name": "index",
3839
3839
  "nameLocation": "2679:5:4",
3840
3840
  "nodeType": "VariableDeclaration",
3841
- "scope": 1383,
3841
+ "scope": 1395,
3842
3842
  "src": "2671:13:4",
3843
3843
  "stateVariable": false,
3844
3844
  "storageLocation": "default",
@@ -3847,7 +3847,7 @@
3847
3847
  "typeString": "uint256"
3848
3848
  },
3849
3849
  "typeName": {
3850
- "id": 1353,
3850
+ "id": 1365,
3851
3851
  "name": "uint256",
3852
3852
  "nodeType": "ElementaryTypeName",
3853
3853
  "src": "2671:7:4",
@@ -3862,17 +3862,17 @@
3862
3862
  "src": "2641:44:4"
3863
3863
  },
3864
3864
  "returnParameters": {
3865
- "id": 1358,
3865
+ "id": 1370,
3866
3866
  "nodeType": "ParameterList",
3867
3867
  "parameters": [
3868
3868
  {
3869
3869
  "constant": false,
3870
- "id": 1357,
3870
+ "id": 1369,
3871
3871
  "mutability": "mutable",
3872
3872
  "name": "",
3873
3873
  "nameLocation": "-1:-1:-1",
3874
3874
  "nodeType": "VariableDeclaration",
3875
- "scope": 1383,
3875
+ "scope": 1395,
3876
3876
  "src": "2709:7:4",
3877
3877
  "stateVariable": false,
3878
3878
  "storageLocation": "default",
@@ -3881,7 +3881,7 @@
3881
3881
  "typeString": "uint256"
3882
3882
  },
3883
3883
  "typeName": {
3884
- "id": 1356,
3884
+ "id": 1368,
3885
3885
  "name": "uint256",
3886
3886
  "nodeType": "ElementaryTypeName",
3887
3887
  "src": "2709:7:4",
@@ -3895,35 +3895,35 @@
3895
3895
  ],
3896
3896
  "src": "2708:9:4"
3897
3897
  },
3898
- "scope": 1497,
3898
+ "scope": 1509,
3899
3899
  "stateMutability": "pure",
3900
3900
  "virtual": false,
3901
3901
  "visibility": "internal"
3902
3902
  },
3903
3903
  {
3904
- "id": 1482,
3904
+ "id": 1494,
3905
3905
  "nodeType": "FunctionDefinition",
3906
3906
  "src": "2931:1018:4",
3907
3907
  "nodes": [],
3908
3908
  "body": {
3909
- "id": 1481,
3909
+ "id": 1493,
3910
3910
  "nodeType": "Block",
3911
3911
  "src": "3074:875:4",
3912
3912
  "nodes": [],
3913
3913
  "statements": [
3914
3914
  {
3915
3915
  "assignments": [
3916
- 1398
3916
+ 1410
3917
3917
  ],
3918
3918
  "declarations": [
3919
3919
  {
3920
3920
  "constant": false,
3921
- "id": 1398,
3921
+ "id": 1410,
3922
3922
  "mutability": "mutable",
3923
3923
  "name": "rawPackedCounter",
3924
3924
  "nameLocation": "3088:16:4",
3925
3925
  "nodeType": "VariableDeclaration",
3926
- "scope": 1481,
3926
+ "scope": 1493,
3927
3927
  "src": "3080:24:4",
3928
3928
  "stateVariable": false,
3929
3929
  "storageLocation": "default",
@@ -3932,7 +3932,7 @@
3932
3932
  "typeString": "bytes32"
3933
3933
  },
3934
3934
  "typeName": {
3935
- "id": 1397,
3935
+ "id": 1409,
3936
3936
  "name": "bytes32",
3937
3937
  "nodeType": "ElementaryTypeName",
3938
3938
  "src": "3080:7:4",
@@ -3944,18 +3944,18 @@
3944
3944
  "visibility": "internal"
3945
3945
  }
3946
3946
  ],
3947
- "id": 1403,
3947
+ "id": 1415,
3948
3948
  "initialValue": {
3949
3949
  "arguments": [
3950
3950
  {
3951
- "id": 1401,
3951
+ "id": 1413,
3952
3952
  "name": "packedCounter",
3953
3953
  "nodeType": "Identifier",
3954
3954
  "overloadedDeclarations": [],
3955
- "referencedDeclaration": 1387,
3955
+ "referencedDeclaration": 1399,
3956
3956
  "src": "3128:13:4",
3957
3957
  "typeDescriptions": {
3958
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3958
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3959
3959
  "typeString": "PackedCounter"
3960
3960
  }
3961
3961
  }
@@ -3963,23 +3963,23 @@
3963
3963
  "expression": {
3964
3964
  "argumentTypes": [
3965
3965
  {
3966
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
3966
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
3967
3967
  "typeString": "PackedCounter"
3968
3968
  }
3969
3969
  ],
3970
3970
  "expression": {
3971
- "id": 1399,
3971
+ "id": 1411,
3972
3972
  "name": "PackedCounter",
3973
3973
  "nodeType": "Identifier",
3974
3974
  "overloadedDeclarations": [],
3975
- "referencedDeclaration": 1081,
3975
+ "referencedDeclaration": 1093,
3976
3976
  "src": "3107:13:4",
3977
3977
  "typeDescriptions": {
3978
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1081_$",
3978
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1093_$",
3979
3979
  "typeString": "type(PackedCounter)"
3980
3980
  }
3981
3981
  },
3982
- "id": 1400,
3982
+ "id": 1412,
3983
3983
  "isConstant": false,
3984
3984
  "isLValue": false,
3985
3985
  "isPure": true,
@@ -3988,11 +3988,11 @@
3988
3988
  "nodeType": "MemberAccess",
3989
3989
  "src": "3107:20:4",
3990
3990
  "typeDescriptions": {
3991
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$1081_$returns$_t_bytes32_$",
3991
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$1093_$returns$_t_bytes32_$",
3992
3992
  "typeString": "function (PackedCounter) pure returns (bytes32)"
3993
3993
  }
3994
3994
  },
3995
- "id": 1402,
3995
+ "id": 1414,
3996
3996
  "isConstant": false,
3997
3997
  "isLValue": false,
3998
3998
  "isPure": false,
@@ -4012,17 +4012,17 @@
4012
4012
  },
4013
4013
  {
4014
4014
  "assignments": [
4015
- 1405
4015
+ 1417
4016
4016
  ],
4017
4017
  "declarations": [
4018
4018
  {
4019
4019
  "constant": false,
4020
- "id": 1405,
4020
+ "id": 1417,
4021
4021
  "mutability": "mutable",
4022
4022
  "name": "accumulator",
4023
4023
  "nameLocation": "3205:11:4",
4024
4024
  "nodeType": "VariableDeclaration",
4025
- "scope": 1481,
4025
+ "scope": 1493,
4026
4026
  "src": "3197:19:4",
4027
4027
  "stateVariable": false,
4028
4028
  "storageLocation": "default",
@@ -4031,7 +4031,7 @@
4031
4031
  "typeString": "uint256"
4032
4032
  },
4033
4033
  "typeName": {
4034
- "id": 1404,
4034
+ "id": 1416,
4035
4035
  "name": "uint256",
4036
4036
  "nodeType": "ElementaryTypeName",
4037
4037
  "src": "3197:7:4",
@@ -4043,18 +4043,18 @@
4043
4043
  "visibility": "internal"
4044
4044
  }
4045
4045
  ],
4046
- "id": 1409,
4046
+ "id": 1421,
4047
4047
  "initialValue": {
4048
4048
  "arguments": [
4049
4049
  {
4050
- "id": 1407,
4050
+ "id": 1419,
4051
4051
  "name": "packedCounter",
4052
4052
  "nodeType": "Identifier",
4053
4053
  "overloadedDeclarations": [],
4054
- "referencedDeclaration": 1387,
4054
+ "referencedDeclaration": 1399,
4055
4055
  "src": "3225:13:4",
4056
4056
  "typeDescriptions": {
4057
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
4057
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
4058
4058
  "typeString": "PackedCounter"
4059
4059
  }
4060
4060
  }
@@ -4062,22 +4062,22 @@
4062
4062
  "expression": {
4063
4063
  "argumentTypes": [
4064
4064
  {
4065
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
4065
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
4066
4066
  "typeString": "PackedCounter"
4067
4067
  }
4068
4068
  ],
4069
- "id": 1406,
4069
+ "id": 1418,
4070
4070
  "name": "total",
4071
4071
  "nodeType": "Identifier",
4072
4072
  "overloadedDeclarations": [],
4073
- "referencedDeclaration": 1348,
4073
+ "referencedDeclaration": 1360,
4074
4074
  "src": "3219:5:4",
4075
4075
  "typeDescriptions": {
4076
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_PackedCounter_$1081_$returns$_t_uint256_$",
4076
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_PackedCounter_$1093_$returns$_t_uint256_$",
4077
4077
  "typeString": "function (PackedCounter) pure returns (uint256)"
4078
4078
  }
4079
4079
  },
4080
- "id": 1408,
4080
+ "id": 1420,
4081
4081
  "isConstant": false,
4082
4082
  "isLValue": false,
4083
4083
  "isPure": false,
@@ -4097,17 +4097,17 @@
4097
4097
  },
4098
4098
  {
4099
4099
  "assignments": [
4100
- 1411
4100
+ 1423
4101
4101
  ],
4102
4102
  "declarations": [
4103
4103
  {
4104
4104
  "constant": false,
4105
- "id": 1411,
4105
+ "id": 1423,
4106
4106
  "mutability": "mutable",
4107
4107
  "name": "currentValueAtIndex",
4108
4108
  "nameLocation": "3253:19:4",
4109
4109
  "nodeType": "VariableDeclaration",
4110
- "scope": 1481,
4110
+ "scope": 1493,
4111
4111
  "src": "3245:27:4",
4112
4112
  "stateVariable": false,
4113
4113
  "storageLocation": "default",
@@ -4116,7 +4116,7 @@
4116
4116
  "typeString": "uint256"
4117
4117
  },
4118
4118
  "typeName": {
4119
- "id": 1410,
4119
+ "id": 1422,
4120
4120
  "name": "uint256",
4121
4121
  "nodeType": "ElementaryTypeName",
4122
4122
  "src": "3245:7:4",
@@ -4128,29 +4128,29 @@
4128
4128
  "visibility": "internal"
4129
4129
  }
4130
4130
  ],
4131
- "id": 1419,
4131
+ "id": 1431,
4132
4132
  "initialValue": {
4133
4133
  "arguments": [
4134
4134
  {
4135
- "id": 1413,
4135
+ "id": 1425,
4136
4136
  "name": "packedCounter",
4137
4137
  "nodeType": "Identifier",
4138
4138
  "overloadedDeclarations": [],
4139
- "referencedDeclaration": 1387,
4139
+ "referencedDeclaration": 1399,
4140
4140
  "src": "3283:13:4",
4141
4141
  "typeDescriptions": {
4142
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
4142
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
4143
4143
  "typeString": "PackedCounter"
4144
4144
  }
4145
4145
  },
4146
4146
  {
4147
4147
  "arguments": [
4148
4148
  {
4149
- "id": 1416,
4149
+ "id": 1428,
4150
4150
  "name": "index",
4151
4151
  "nodeType": "Identifier",
4152
4152
  "overloadedDeclarations": [],
4153
- "referencedDeclaration": 1389,
4153
+ "referencedDeclaration": 1401,
4154
4154
  "src": "3304:5:4",
4155
4155
  "typeDescriptions": {
4156
4156
  "typeIdentifier": "t_uint256",
@@ -4165,7 +4165,7 @@
4165
4165
  "typeString": "uint256"
4166
4166
  }
4167
4167
  ],
4168
- "id": 1415,
4168
+ "id": 1427,
4169
4169
  "isConstant": false,
4170
4170
  "isLValue": false,
4171
4171
  "isPure": true,
@@ -4177,14 +4177,14 @@
4177
4177
  "typeString": "type(uint8)"
4178
4178
  },
4179
4179
  "typeName": {
4180
- "id": 1414,
4180
+ "id": 1426,
4181
4181
  "name": "uint8",
4182
4182
  "nodeType": "ElementaryTypeName",
4183
4183
  "src": "3298:5:4",
4184
4184
  "typeDescriptions": {}
4185
4185
  }
4186
4186
  },
4187
- "id": 1417,
4187
+ "id": 1429,
4188
4188
  "isConstant": false,
4189
4189
  "isLValue": false,
4190
4190
  "isPure": false,
@@ -4203,7 +4203,7 @@
4203
4203
  "expression": {
4204
4204
  "argumentTypes": [
4205
4205
  {
4206
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
4206
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
4207
4207
  "typeString": "PackedCounter"
4208
4208
  },
4209
4209
  {
@@ -4211,18 +4211,18 @@
4211
4211
  "typeString": "uint8"
4212
4212
  }
4213
4213
  ],
4214
- "id": 1412,
4214
+ "id": 1424,
4215
4215
  "name": "atIndex",
4216
4216
  "nodeType": "Identifier",
4217
4217
  "overloadedDeclarations": [],
4218
- "referencedDeclaration": 1383,
4218
+ "referencedDeclaration": 1395,
4219
4219
  "src": "3275:7:4",
4220
4220
  "typeDescriptions": {
4221
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_PackedCounter_$1081_$_t_uint256_$returns$_t_uint256_$",
4221
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_PackedCounter_$1093_$_t_uint256_$returns$_t_uint256_$",
4222
4222
  "typeString": "function (PackedCounter,uint256) pure returns (uint256)"
4223
4223
  }
4224
4224
  },
4225
- "id": 1418,
4225
+ "id": 1430,
4226
4226
  "isConstant": false,
4227
4227
  "isLValue": false,
4228
4228
  "isPure": false,
@@ -4246,17 +4246,17 @@
4246
4246
  "typeIdentifier": "t_uint256",
4247
4247
  "typeString": "uint256"
4248
4248
  },
4249
- "id": 1422,
4249
+ "id": 1434,
4250
4250
  "isConstant": false,
4251
4251
  "isLValue": false,
4252
4252
  "isPure": false,
4253
4253
  "lValueRequested": false,
4254
4254
  "leftExpression": {
4255
- "id": 1420,
4255
+ "id": 1432,
4256
4256
  "name": "newValueAtIndex",
4257
4257
  "nodeType": "Identifier",
4258
4258
  "overloadedDeclarations": [],
4259
- "referencedDeclaration": 1391,
4259
+ "referencedDeclaration": 1403,
4260
4260
  "src": "3379:15:4",
4261
4261
  "typeDescriptions": {
4262
4262
  "typeIdentifier": "t_uint256",
@@ -4266,11 +4266,11 @@
4266
4266
  "nodeType": "BinaryOperation",
4267
4267
  "operator": ">=",
4268
4268
  "rightExpression": {
4269
- "id": 1421,
4269
+ "id": 1433,
4270
4270
  "name": "currentValueAtIndex",
4271
4271
  "nodeType": "Identifier",
4272
4272
  "overloadedDeclarations": [],
4273
- "referencedDeclaration": 1411,
4273
+ "referencedDeclaration": 1423,
4274
4274
  "src": "3398:19:4",
4275
4275
  "typeDescriptions": {
4276
4276
  "typeIdentifier": "t_uint256",
@@ -4284,23 +4284,23 @@
4284
4284
  }
4285
4285
  },
4286
4286
  "falseBody": {
4287
- "id": 1436,
4287
+ "id": 1448,
4288
4288
  "nodeType": "Block",
4289
4289
  "src": "3492:67:4",
4290
4290
  "statements": [
4291
4291
  {
4292
4292
  "expression": {
4293
- "id": 1434,
4293
+ "id": 1446,
4294
4294
  "isConstant": false,
4295
4295
  "isLValue": false,
4296
4296
  "isPure": false,
4297
4297
  "lValueRequested": false,
4298
4298
  "leftHandSide": {
4299
- "id": 1430,
4299
+ "id": 1442,
4300
4300
  "name": "accumulator",
4301
4301
  "nodeType": "Identifier",
4302
4302
  "overloadedDeclarations": [],
4303
- "referencedDeclaration": 1405,
4303
+ "referencedDeclaration": 1417,
4304
4304
  "src": "3500:11:4",
4305
4305
  "typeDescriptions": {
4306
4306
  "typeIdentifier": "t_uint256",
@@ -4314,17 +4314,17 @@
4314
4314
  "typeIdentifier": "t_uint256",
4315
4315
  "typeString": "uint256"
4316
4316
  },
4317
- "id": 1433,
4317
+ "id": 1445,
4318
4318
  "isConstant": false,
4319
4319
  "isLValue": false,
4320
4320
  "isPure": false,
4321
4321
  "lValueRequested": false,
4322
4322
  "leftExpression": {
4323
- "id": 1431,
4323
+ "id": 1443,
4324
4324
  "name": "currentValueAtIndex",
4325
4325
  "nodeType": "Identifier",
4326
4326
  "overloadedDeclarations": [],
4327
- "referencedDeclaration": 1411,
4327
+ "referencedDeclaration": 1423,
4328
4328
  "src": "3515:19:4",
4329
4329
  "typeDescriptions": {
4330
4330
  "typeIdentifier": "t_uint256",
@@ -4334,11 +4334,11 @@
4334
4334
  "nodeType": "BinaryOperation",
4335
4335
  "operator": "-",
4336
4336
  "rightExpression": {
4337
- "id": 1432,
4337
+ "id": 1444,
4338
4338
  "name": "newValueAtIndex",
4339
4339
  "nodeType": "Identifier",
4340
4340
  "overloadedDeclarations": [],
4341
- "referencedDeclaration": 1391,
4341
+ "referencedDeclaration": 1403,
4342
4342
  "src": "3537:15:4",
4343
4343
  "typeDescriptions": {
4344
4344
  "typeIdentifier": "t_uint256",
@@ -4357,33 +4357,33 @@
4357
4357
  "typeString": "uint256"
4358
4358
  }
4359
4359
  },
4360
- "id": 1435,
4360
+ "id": 1447,
4361
4361
  "nodeType": "ExpressionStatement",
4362
4362
  "src": "3500:52:4"
4363
4363
  }
4364
4364
  ]
4365
4365
  },
4366
- "id": 1437,
4366
+ "id": 1449,
4367
4367
  "nodeType": "IfStatement",
4368
4368
  "src": "3375:184:4",
4369
4369
  "trueBody": {
4370
- "id": 1429,
4370
+ "id": 1441,
4371
4371
  "nodeType": "Block",
4372
4372
  "src": "3419:67:4",
4373
4373
  "statements": [
4374
4374
  {
4375
4375
  "expression": {
4376
- "id": 1427,
4376
+ "id": 1439,
4377
4377
  "isConstant": false,
4378
4378
  "isLValue": false,
4379
4379
  "isPure": false,
4380
4380
  "lValueRequested": false,
4381
4381
  "leftHandSide": {
4382
- "id": 1423,
4382
+ "id": 1435,
4383
4383
  "name": "accumulator",
4384
4384
  "nodeType": "Identifier",
4385
4385
  "overloadedDeclarations": [],
4386
- "referencedDeclaration": 1405,
4386
+ "referencedDeclaration": 1417,
4387
4387
  "src": "3427:11:4",
4388
4388
  "typeDescriptions": {
4389
4389
  "typeIdentifier": "t_uint256",
@@ -4397,17 +4397,17 @@
4397
4397
  "typeIdentifier": "t_uint256",
4398
4398
  "typeString": "uint256"
4399
4399
  },
4400
- "id": 1426,
4400
+ "id": 1438,
4401
4401
  "isConstant": false,
4402
4402
  "isLValue": false,
4403
4403
  "isPure": false,
4404
4404
  "lValueRequested": false,
4405
4405
  "leftExpression": {
4406
- "id": 1424,
4406
+ "id": 1436,
4407
4407
  "name": "newValueAtIndex",
4408
4408
  "nodeType": "Identifier",
4409
4409
  "overloadedDeclarations": [],
4410
- "referencedDeclaration": 1391,
4410
+ "referencedDeclaration": 1403,
4411
4411
  "src": "3442:15:4",
4412
4412
  "typeDescriptions": {
4413
4413
  "typeIdentifier": "t_uint256",
@@ -4417,11 +4417,11 @@
4417
4417
  "nodeType": "BinaryOperation",
4418
4418
  "operator": "-",
4419
4419
  "rightExpression": {
4420
- "id": 1425,
4420
+ "id": 1437,
4421
4421
  "name": "currentValueAtIndex",
4422
4422
  "nodeType": "Identifier",
4423
4423
  "overloadedDeclarations": [],
4424
- "referencedDeclaration": 1411,
4424
+ "referencedDeclaration": 1423,
4425
4425
  "src": "3460:19:4",
4426
4426
  "typeDescriptions": {
4427
4427
  "typeIdentifier": "t_uint256",
@@ -4440,7 +4440,7 @@
4440
4440
  "typeString": "uint256"
4441
4441
  }
4442
4442
  },
4443
- "id": 1428,
4443
+ "id": 1440,
4444
4444
  "nodeType": "ExpressionStatement",
4445
4445
  "src": "3427:52:4"
4446
4446
  }
@@ -4449,17 +4449,17 @@
4449
4449
  },
4450
4450
  {
4451
4451
  "assignments": [
4452
- 1439
4452
+ 1451
4453
4453
  ],
4454
4454
  "declarations": [
4455
4455
  {
4456
4456
  "constant": false,
4457
- "id": 1439,
4457
+ "id": 1451,
4458
4458
  "mutability": "mutable",
4459
4459
  "name": "offset",
4460
4460
  "nameLocation": "3629:6:4",
4461
4461
  "nodeType": "VariableDeclaration",
4462
- "scope": 1481,
4462
+ "scope": 1493,
4463
4463
  "src": "3621:14:4",
4464
4464
  "stateVariable": false,
4465
4465
  "storageLocation": "default",
@@ -4468,7 +4468,7 @@
4468
4468
  "typeString": "uint256"
4469
4469
  },
4470
4470
  "typeName": {
4471
- "id": 1438,
4471
+ "id": 1450,
4472
4472
  "name": "uint256",
4473
4473
  "nodeType": "ElementaryTypeName",
4474
4474
  "src": "3621:7:4",
@@ -4480,20 +4480,20 @@
4480
4480
  "visibility": "internal"
4481
4481
  }
4482
4482
  ],
4483
- "id": 1445,
4483
+ "id": 1457,
4484
4484
  "initialValue": {
4485
4485
  "commonType": {
4486
4486
  "typeIdentifier": "t_uint256",
4487
4487
  "typeString": "uint256"
4488
4488
  },
4489
- "id": 1444,
4489
+ "id": 1456,
4490
4490
  "isConstant": false,
4491
4491
  "isLValue": false,
4492
4492
  "isPure": false,
4493
4493
  "lValueRequested": false,
4494
4494
  "leftExpression": {
4495
4495
  "hexValue": "34",
4496
- "id": 1440,
4496
+ "id": 1452,
4497
4497
  "isConstant": false,
4498
4498
  "isLValue": false,
4499
4499
  "isPure": true,
@@ -4514,17 +4514,17 @@
4514
4514
  "typeIdentifier": "t_uint256",
4515
4515
  "typeString": "uint256"
4516
4516
  },
4517
- "id": 1443,
4517
+ "id": 1455,
4518
4518
  "isConstant": false,
4519
4519
  "isLValue": false,
4520
4520
  "isPure": false,
4521
4521
  "lValueRequested": false,
4522
4522
  "leftExpression": {
4523
- "id": 1441,
4523
+ "id": 1453,
4524
4524
  "name": "index",
4525
4525
  "nodeType": "Identifier",
4526
4526
  "overloadedDeclarations": [],
4527
- "referencedDeclaration": 1389,
4527
+ "referencedDeclaration": 1401,
4528
4528
  "src": "3642:5:4",
4529
4529
  "typeDescriptions": {
4530
4530
  "typeIdentifier": "t_uint256",
@@ -4535,7 +4535,7 @@
4535
4535
  "operator": "*",
4536
4536
  "rightExpression": {
4537
4537
  "hexValue": "32",
4538
- "id": 1442,
4538
+ "id": 1454,
4539
4539
  "isConstant": false,
4540
4540
  "isLValue": false,
4541
4541
  "isPure": true,
@@ -4566,17 +4566,17 @@
4566
4566
  },
4567
4567
  {
4568
4568
  "expression": {
4569
- "id": 1459,
4569
+ "id": 1471,
4570
4570
  "isConstant": false,
4571
4571
  "isLValue": false,
4572
4572
  "isPure": false,
4573
4573
  "lValueRequested": false,
4574
4574
  "leftHandSide": {
4575
- "id": 1446,
4575
+ "id": 1458,
4576
4576
  "name": "rawPackedCounter",
4577
4577
  "nodeType": "Identifier",
4578
4578
  "overloadedDeclarations": [],
4579
- "referencedDeclaration": 1398,
4579
+ "referencedDeclaration": 1410,
4580
4580
  "src": "3711:16:4",
4581
4581
  "typeDescriptions": {
4582
4582
  "typeIdentifier": "t_bytes32",
@@ -4588,11 +4588,11 @@
4588
4588
  "rightHandSide": {
4589
4589
  "arguments": [
4590
4590
  {
4591
- "id": 1449,
4591
+ "id": 1461,
4592
4592
  "name": "rawPackedCounter",
4593
4593
  "nodeType": "Identifier",
4594
4594
  "overloadedDeclarations": [],
4595
- "referencedDeclaration": 1398,
4595
+ "referencedDeclaration": 1410,
4596
4596
  "src": "3746:16:4",
4597
4597
  "typeDescriptions": {
4598
4598
  "typeIdentifier": "t_bytes32",
@@ -4601,7 +4601,7 @@
4601
4601
  },
4602
4602
  {
4603
4603
  "hexValue": "30",
4604
- "id": 1450,
4604
+ "id": 1462,
4605
4605
  "isConstant": false,
4606
4606
  "isLValue": false,
4607
4607
  "isPure": true,
@@ -4620,11 +4620,11 @@
4620
4620
  {
4621
4621
  "arguments": [
4622
4622
  {
4623
- "id": 1455,
4623
+ "id": 1467,
4624
4624
  "name": "accumulator",
4625
4625
  "nodeType": "Identifier",
4626
4626
  "overloadedDeclarations": [],
4627
- "referencedDeclaration": 1405,
4627
+ "referencedDeclaration": 1417,
4628
4628
  "src": "3781:11:4",
4629
4629
  "typeDescriptions": {
4630
4630
  "typeIdentifier": "t_uint256",
@@ -4639,7 +4639,7 @@
4639
4639
  "typeString": "uint256"
4640
4640
  }
4641
4641
  ],
4642
- "id": 1454,
4642
+ "id": 1466,
4643
4643
  "isConstant": false,
4644
4644
  "isLValue": false,
4645
4645
  "isPure": true,
@@ -4651,14 +4651,14 @@
4651
4651
  "typeString": "type(uint32)"
4652
4652
  },
4653
4653
  "typeName": {
4654
- "id": 1453,
4654
+ "id": 1465,
4655
4655
  "name": "uint32",
4656
4656
  "nodeType": "ElementaryTypeName",
4657
4657
  "src": "3774:6:4",
4658
4658
  "typeDescriptions": {}
4659
4659
  }
4660
4660
  },
4661
- "id": 1456,
4661
+ "id": 1468,
4662
4662
  "isConstant": false,
4663
4663
  "isLValue": false,
4664
4664
  "isPure": false,
@@ -4681,7 +4681,7 @@
4681
4681
  "typeString": "uint32"
4682
4682
  }
4683
4683
  ],
4684
- "id": 1452,
4684
+ "id": 1464,
4685
4685
  "isConstant": false,
4686
4686
  "isLValue": false,
4687
4687
  "isPure": true,
@@ -4693,14 +4693,14 @@
4693
4693
  "typeString": "type(bytes4)"
4694
4694
  },
4695
4695
  "typeName": {
4696
- "id": 1451,
4696
+ "id": 1463,
4697
4697
  "name": "bytes4",
4698
4698
  "nodeType": "ElementaryTypeName",
4699
4699
  "src": "3767:6:4",
4700
4700
  "typeDescriptions": {}
4701
4701
  }
4702
4702
  },
4703
- "id": 1457,
4703
+ "id": 1469,
4704
4704
  "isConstant": false,
4705
4705
  "isLValue": false,
4706
4706
  "isPure": false,
@@ -4732,7 +4732,7 @@
4732
4732
  }
4733
4733
  ],
4734
4734
  "expression": {
4735
- "id": 1447,
4735
+ "id": 1459,
4736
4736
  "name": "Bytes",
4737
4737
  "nodeType": "Identifier",
4738
4738
  "overloadedDeclarations": [],
@@ -4743,7 +4743,7 @@
4743
4743
  "typeString": "type(library Bytes)"
4744
4744
  }
4745
4745
  },
4746
- "id": 1448,
4746
+ "id": 1460,
4747
4747
  "isConstant": false,
4748
4748
  "isLValue": false,
4749
4749
  "isPure": false,
@@ -4757,7 +4757,7 @@
4757
4757
  "typeString": "function (bytes32,uint256,bytes4) pure returns (bytes32)"
4758
4758
  }
4759
4759
  },
4760
- "id": 1458,
4760
+ "id": 1470,
4761
4761
  "isConstant": false,
4762
4762
  "isLValue": false,
4763
4763
  "isPure": false,
@@ -4778,23 +4778,23 @@
4778
4778
  "typeString": "bytes32"
4779
4779
  }
4780
4780
  },
4781
- "id": 1460,
4781
+ "id": 1472,
4782
4782
  "nodeType": "ExpressionStatement",
4783
4783
  "src": "3711:84:4"
4784
4784
  },
4785
4785
  {
4786
4786
  "expression": {
4787
- "id": 1474,
4787
+ "id": 1486,
4788
4788
  "isConstant": false,
4789
4789
  "isLValue": false,
4790
4790
  "isPure": false,
4791
4791
  "lValueRequested": false,
4792
4792
  "leftHandSide": {
4793
- "id": 1461,
4793
+ "id": 1473,
4794
4794
  "name": "rawPackedCounter",
4795
4795
  "nodeType": "Identifier",
4796
4796
  "overloadedDeclarations": [],
4797
- "referencedDeclaration": 1398,
4797
+ "referencedDeclaration": 1410,
4798
4798
  "src": "3801:16:4",
4799
4799
  "typeDescriptions": {
4800
4800
  "typeIdentifier": "t_bytes32",
@@ -4806,11 +4806,11 @@
4806
4806
  "rightHandSide": {
4807
4807
  "arguments": [
4808
4808
  {
4809
- "id": 1464,
4809
+ "id": 1476,
4810
4810
  "name": "rawPackedCounter",
4811
4811
  "nodeType": "Identifier",
4812
4812
  "overloadedDeclarations": [],
4813
- "referencedDeclaration": 1398,
4813
+ "referencedDeclaration": 1410,
4814
4814
  "src": "3836:16:4",
4815
4815
  "typeDescriptions": {
4816
4816
  "typeIdentifier": "t_bytes32",
@@ -4818,11 +4818,11 @@
4818
4818
  }
4819
4819
  },
4820
4820
  {
4821
- "id": 1465,
4821
+ "id": 1477,
4822
4822
  "name": "offset",
4823
4823
  "nodeType": "Identifier",
4824
4824
  "overloadedDeclarations": [],
4825
- "referencedDeclaration": 1439,
4825
+ "referencedDeclaration": 1451,
4826
4826
  "src": "3854:6:4",
4827
4827
  "typeDescriptions": {
4828
4828
  "typeIdentifier": "t_uint256",
@@ -4834,11 +4834,11 @@
4834
4834
  {
4835
4835
  "arguments": [
4836
4836
  {
4837
- "id": 1470,
4837
+ "id": 1482,
4838
4838
  "name": "newValueAtIndex",
4839
4839
  "nodeType": "Identifier",
4840
4840
  "overloadedDeclarations": [],
4841
- "referencedDeclaration": 1391,
4841
+ "referencedDeclaration": 1403,
4842
4842
  "src": "3876:15:4",
4843
4843
  "typeDescriptions": {
4844
4844
  "typeIdentifier": "t_uint256",
@@ -4853,7 +4853,7 @@
4853
4853
  "typeString": "uint256"
4854
4854
  }
4855
4855
  ],
4856
- "id": 1469,
4856
+ "id": 1481,
4857
4857
  "isConstant": false,
4858
4858
  "isLValue": false,
4859
4859
  "isPure": true,
@@ -4865,14 +4865,14 @@
4865
4865
  "typeString": "type(uint16)"
4866
4866
  },
4867
4867
  "typeName": {
4868
- "id": 1468,
4868
+ "id": 1480,
4869
4869
  "name": "uint16",
4870
4870
  "nodeType": "ElementaryTypeName",
4871
4871
  "src": "3869:6:4",
4872
4872
  "typeDescriptions": {}
4873
4873
  }
4874
4874
  },
4875
- "id": 1471,
4875
+ "id": 1483,
4876
4876
  "isConstant": false,
4877
4877
  "isLValue": false,
4878
4878
  "isPure": false,
@@ -4895,7 +4895,7 @@
4895
4895
  "typeString": "uint16"
4896
4896
  }
4897
4897
  ],
4898
- "id": 1467,
4898
+ "id": 1479,
4899
4899
  "isConstant": false,
4900
4900
  "isLValue": false,
4901
4901
  "isPure": true,
@@ -4907,14 +4907,14 @@
4907
4907
  "typeString": "type(bytes2)"
4908
4908
  },
4909
4909
  "typeName": {
4910
- "id": 1466,
4910
+ "id": 1478,
4911
4911
  "name": "bytes2",
4912
4912
  "nodeType": "ElementaryTypeName",
4913
4913
  "src": "3862:6:4",
4914
4914
  "typeDescriptions": {}
4915
4915
  }
4916
4916
  },
4917
- "id": 1472,
4917
+ "id": 1484,
4918
4918
  "isConstant": false,
4919
4919
  "isLValue": false,
4920
4920
  "isPure": false,
@@ -4946,7 +4946,7 @@
4946
4946
  }
4947
4947
  ],
4948
4948
  "expression": {
4949
- "id": 1462,
4949
+ "id": 1474,
4950
4950
  "name": "Bytes",
4951
4951
  "nodeType": "Identifier",
4952
4952
  "overloadedDeclarations": [],
@@ -4957,7 +4957,7 @@
4957
4957
  "typeString": "type(library Bytes)"
4958
4958
  }
4959
4959
  },
4960
- "id": 1463,
4960
+ "id": 1475,
4961
4961
  "isConstant": false,
4962
4962
  "isLValue": false,
4963
4963
  "isPure": false,
@@ -4971,7 +4971,7 @@
4971
4971
  "typeString": "function (bytes32,uint256,bytes2) pure returns (bytes32)"
4972
4972
  }
4973
4973
  },
4974
- "id": 1473,
4974
+ "id": 1485,
4975
4975
  "isConstant": false,
4976
4976
  "isLValue": false,
4977
4977
  "isPure": false,
@@ -4992,7 +4992,7 @@
4992
4992
  "typeString": "bytes32"
4993
4993
  }
4994
4994
  },
4995
- "id": 1475,
4995
+ "id": 1487,
4996
4996
  "nodeType": "ExpressionStatement",
4997
4997
  "src": "3801:93:4"
4998
4998
  },
@@ -5000,11 +5000,11 @@
5000
5000
  "expression": {
5001
5001
  "arguments": [
5002
5002
  {
5003
- "id": 1478,
5003
+ "id": 1490,
5004
5004
  "name": "rawPackedCounter",
5005
5005
  "nodeType": "Identifier",
5006
5006
  "overloadedDeclarations": [],
5007
- "referencedDeclaration": 1398,
5007
+ "referencedDeclaration": 1410,
5008
5008
  "src": "3927:16:4",
5009
5009
  "typeDescriptions": {
5010
5010
  "typeIdentifier": "t_bytes32",
@@ -5020,18 +5020,18 @@
5020
5020
  }
5021
5021
  ],
5022
5022
  "expression": {
5023
- "id": 1476,
5023
+ "id": 1488,
5024
5024
  "name": "PackedCounter",
5025
5025
  "nodeType": "Identifier",
5026
5026
  "overloadedDeclarations": [],
5027
- "referencedDeclaration": 1081,
5027
+ "referencedDeclaration": 1093,
5028
5028
  "src": "3908:13:4",
5029
5029
  "typeDescriptions": {
5030
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1081_$",
5030
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1093_$",
5031
5031
  "typeString": "type(PackedCounter)"
5032
5032
  }
5033
5033
  },
5034
- "id": 1477,
5034
+ "id": 1489,
5035
5035
  "isConstant": false,
5036
5036
  "isLValue": false,
5037
5037
  "isPure": true,
@@ -5040,11 +5040,11 @@
5040
5040
  "nodeType": "MemberAccess",
5041
5041
  "src": "3908:18:4",
5042
5042
  "typeDescriptions": {
5043
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_PackedCounter_$1081_$",
5043
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_PackedCounter_$1093_$",
5044
5044
  "typeString": "function (bytes32) pure returns (PackedCounter)"
5045
5045
  }
5046
5046
  },
5047
- "id": 1479,
5047
+ "id": 1491,
5048
5048
  "isConstant": false,
5049
5049
  "isLValue": false,
5050
5050
  "isPure": false,
@@ -5055,19 +5055,19 @@
5055
5055
  "src": "3908:36:4",
5056
5056
  "tryCall": false,
5057
5057
  "typeDescriptions": {
5058
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
5058
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
5059
5059
  "typeString": "PackedCounter"
5060
5060
  }
5061
5061
  },
5062
- "functionReturnParameters": 1396,
5063
- "id": 1480,
5062
+ "functionReturnParameters": 1408,
5063
+ "id": 1492,
5064
5064
  "nodeType": "Return",
5065
5065
  "src": "3901:43:4"
5066
5066
  }
5067
5067
  ]
5068
5068
  },
5069
5069
  "documentation": {
5070
- "id": 1384,
5070
+ "id": 1396,
5071
5071
  "nodeType": "StructuredDocumentation",
5072
5072
  "src": "2850:78:4",
5073
5073
  "text": " Set a counter at the given index, return the new packed counter"
@@ -5078,38 +5078,38 @@
5078
5078
  "name": "setAtIndex",
5079
5079
  "nameLocation": "2940:10:4",
5080
5080
  "parameters": {
5081
- "id": 1392,
5081
+ "id": 1404,
5082
5082
  "nodeType": "ParameterList",
5083
5083
  "parameters": [
5084
5084
  {
5085
5085
  "constant": false,
5086
- "id": 1387,
5086
+ "id": 1399,
5087
5087
  "mutability": "mutable",
5088
5088
  "name": "packedCounter",
5089
5089
  "nameLocation": "2970:13:4",
5090
5090
  "nodeType": "VariableDeclaration",
5091
- "scope": 1482,
5091
+ "scope": 1494,
5092
5092
  "src": "2956:27:4",
5093
5093
  "stateVariable": false,
5094
5094
  "storageLocation": "default",
5095
5095
  "typeDescriptions": {
5096
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
5096
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
5097
5097
  "typeString": "PackedCounter"
5098
5098
  },
5099
5099
  "typeName": {
5100
- "id": 1386,
5100
+ "id": 1398,
5101
5101
  "nodeType": "UserDefinedTypeName",
5102
5102
  "pathNode": {
5103
- "id": 1385,
5103
+ "id": 1397,
5104
5104
  "name": "PackedCounter",
5105
5105
  "nodeType": "IdentifierPath",
5106
- "referencedDeclaration": 1081,
5106
+ "referencedDeclaration": 1093,
5107
5107
  "src": "2956:13:4"
5108
5108
  },
5109
- "referencedDeclaration": 1081,
5109
+ "referencedDeclaration": 1093,
5110
5110
  "src": "2956:13:4",
5111
5111
  "typeDescriptions": {
5112
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
5112
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
5113
5113
  "typeString": "PackedCounter"
5114
5114
  }
5115
5115
  },
@@ -5117,12 +5117,12 @@
5117
5117
  },
5118
5118
  {
5119
5119
  "constant": false,
5120
- "id": 1389,
5120
+ "id": 1401,
5121
5121
  "mutability": "mutable",
5122
5122
  "name": "index",
5123
5123
  "nameLocation": "2997:5:4",
5124
5124
  "nodeType": "VariableDeclaration",
5125
- "scope": 1482,
5125
+ "scope": 1494,
5126
5126
  "src": "2989:13:4",
5127
5127
  "stateVariable": false,
5128
5128
  "storageLocation": "default",
@@ -5131,7 +5131,7 @@
5131
5131
  "typeString": "uint256"
5132
5132
  },
5133
5133
  "typeName": {
5134
- "id": 1388,
5134
+ "id": 1400,
5135
5135
  "name": "uint256",
5136
5136
  "nodeType": "ElementaryTypeName",
5137
5137
  "src": "2989:7:4",
@@ -5144,12 +5144,12 @@
5144
5144
  },
5145
5145
  {
5146
5146
  "constant": false,
5147
- "id": 1391,
5147
+ "id": 1403,
5148
5148
  "mutability": "mutable",
5149
5149
  "name": "newValueAtIndex",
5150
5150
  "nameLocation": "3016:15:4",
5151
5151
  "nodeType": "VariableDeclaration",
5152
- "scope": 1482,
5152
+ "scope": 1494,
5153
5153
  "src": "3008:23:4",
5154
5154
  "stateVariable": false,
5155
5155
  "storageLocation": "default",
@@ -5158,7 +5158,7 @@
5158
5158
  "typeString": "uint256"
5159
5159
  },
5160
5160
  "typeName": {
5161
- "id": 1390,
5161
+ "id": 1402,
5162
5162
  "name": "uint256",
5163
5163
  "nodeType": "ElementaryTypeName",
5164
5164
  "src": "3008:7:4",
@@ -5173,38 +5173,38 @@
5173
5173
  "src": "2950:85:4"
5174
5174
  },
5175
5175
  "returnParameters": {
5176
- "id": 1396,
5176
+ "id": 1408,
5177
5177
  "nodeType": "ParameterList",
5178
5178
  "parameters": [
5179
5179
  {
5180
5180
  "constant": false,
5181
- "id": 1395,
5181
+ "id": 1407,
5182
5182
  "mutability": "mutable",
5183
5183
  "name": "",
5184
5184
  "nameLocation": "-1:-1:-1",
5185
5185
  "nodeType": "VariableDeclaration",
5186
- "scope": 1482,
5186
+ "scope": 1494,
5187
5187
  "src": "3059:13:4",
5188
5188
  "stateVariable": false,
5189
5189
  "storageLocation": "default",
5190
5190
  "typeDescriptions": {
5191
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
5191
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
5192
5192
  "typeString": "PackedCounter"
5193
5193
  },
5194
5194
  "typeName": {
5195
- "id": 1394,
5195
+ "id": 1406,
5196
5196
  "nodeType": "UserDefinedTypeName",
5197
5197
  "pathNode": {
5198
- "id": 1393,
5198
+ "id": 1405,
5199
5199
  "name": "PackedCounter",
5200
5200
  "nodeType": "IdentifierPath",
5201
- "referencedDeclaration": 1081,
5201
+ "referencedDeclaration": 1093,
5202
5202
  "src": "3059:13:4"
5203
5203
  },
5204
- "referencedDeclaration": 1081,
5204
+ "referencedDeclaration": 1093,
5205
5205
  "src": "3059:13:4",
5206
5206
  "typeDescriptions": {
5207
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
5207
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
5208
5208
  "typeString": "PackedCounter"
5209
5209
  }
5210
5210
  },
@@ -5213,18 +5213,18 @@
5213
5213
  ],
5214
5214
  "src": "3058:15:4"
5215
5215
  },
5216
- "scope": 1497,
5216
+ "scope": 1509,
5217
5217
  "stateMutability": "pure",
5218
5218
  "virtual": false,
5219
5219
  "visibility": "internal"
5220
5220
  },
5221
5221
  {
5222
- "id": 1496,
5222
+ "id": 1508,
5223
5223
  "nodeType": "FunctionDefinition",
5224
5224
  "src": "3995:130:4",
5225
5225
  "nodes": [],
5226
5226
  "body": {
5227
- "id": 1495,
5227
+ "id": 1507,
5228
5228
  "nodeType": "Block",
5229
5229
  "src": "4072:53:4",
5230
5230
  "nodes": [],
@@ -5233,14 +5233,14 @@
5233
5233
  "expression": {
5234
5234
  "arguments": [
5235
5235
  {
5236
- "id": 1492,
5236
+ "id": 1504,
5237
5237
  "name": "packedCounter",
5238
5238
  "nodeType": "Identifier",
5239
5239
  "overloadedDeclarations": [],
5240
- "referencedDeclaration": 1485,
5240
+ "referencedDeclaration": 1497,
5241
5241
  "src": "4106:13:4",
5242
5242
  "typeDescriptions": {
5243
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
5243
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
5244
5244
  "typeString": "PackedCounter"
5245
5245
  }
5246
5246
  }
@@ -5248,23 +5248,23 @@
5248
5248
  "expression": {
5249
5249
  "argumentTypes": [
5250
5250
  {
5251
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
5251
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
5252
5252
  "typeString": "PackedCounter"
5253
5253
  }
5254
5254
  ],
5255
5255
  "expression": {
5256
- "id": 1490,
5256
+ "id": 1502,
5257
5257
  "name": "PackedCounter",
5258
5258
  "nodeType": "Identifier",
5259
5259
  "overloadedDeclarations": [],
5260
- "referencedDeclaration": 1081,
5260
+ "referencedDeclaration": 1093,
5261
5261
  "src": "4085:13:4",
5262
5262
  "typeDescriptions": {
5263
- "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1081_$",
5263
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_PackedCounter_$1093_$",
5264
5264
  "typeString": "type(PackedCounter)"
5265
5265
  }
5266
5266
  },
5267
- "id": 1491,
5267
+ "id": 1503,
5268
5268
  "isConstant": false,
5269
5269
  "isLValue": false,
5270
5270
  "isPure": true,
@@ -5273,11 +5273,11 @@
5273
5273
  "nodeType": "MemberAccess",
5274
5274
  "src": "4085:20:4",
5275
5275
  "typeDescriptions": {
5276
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$1081_$returns$_t_bytes32_$",
5276
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_PackedCounter_$1093_$returns$_t_bytes32_$",
5277
5277
  "typeString": "function (PackedCounter) pure returns (bytes32)"
5278
5278
  }
5279
5279
  },
5280
- "id": 1493,
5280
+ "id": 1505,
5281
5281
  "isConstant": false,
5282
5282
  "isLValue": false,
5283
5283
  "isPure": false,
@@ -5292,8 +5292,8 @@
5292
5292
  "typeString": "bytes32"
5293
5293
  }
5294
5294
  },
5295
- "functionReturnParameters": 1489,
5296
- "id": 1494,
5295
+ "functionReturnParameters": 1501,
5296
+ "id": 1506,
5297
5297
  "nodeType": "Return",
5298
5298
  "src": "4078:42:4"
5299
5299
  }
@@ -5305,38 +5305,38 @@
5305
5305
  "name": "unwrap",
5306
5306
  "nameLocation": "4004:6:4",
5307
5307
  "parameters": {
5308
- "id": 1486,
5308
+ "id": 1498,
5309
5309
  "nodeType": "ParameterList",
5310
5310
  "parameters": [
5311
5311
  {
5312
5312
  "constant": false,
5313
- "id": 1485,
5313
+ "id": 1497,
5314
5314
  "mutability": "mutable",
5315
5315
  "name": "packedCounter",
5316
5316
  "nameLocation": "4025:13:4",
5317
5317
  "nodeType": "VariableDeclaration",
5318
- "scope": 1496,
5318
+ "scope": 1508,
5319
5319
  "src": "4011:27:4",
5320
5320
  "stateVariable": false,
5321
5321
  "storageLocation": "default",
5322
5322
  "typeDescriptions": {
5323
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
5323
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
5324
5324
  "typeString": "PackedCounter"
5325
5325
  },
5326
5326
  "typeName": {
5327
- "id": 1484,
5327
+ "id": 1496,
5328
5328
  "nodeType": "UserDefinedTypeName",
5329
5329
  "pathNode": {
5330
- "id": 1483,
5330
+ "id": 1495,
5331
5331
  "name": "PackedCounter",
5332
5332
  "nodeType": "IdentifierPath",
5333
- "referencedDeclaration": 1081,
5333
+ "referencedDeclaration": 1093,
5334
5334
  "src": "4011:13:4"
5335
5335
  },
5336
- "referencedDeclaration": 1081,
5336
+ "referencedDeclaration": 1093,
5337
5337
  "src": "4011:13:4",
5338
5338
  "typeDescriptions": {
5339
- "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1081",
5339
+ "typeIdentifier": "t_userDefinedValueType$_PackedCounter_$1093",
5340
5340
  "typeString": "PackedCounter"
5341
5341
  }
5342
5342
  },
@@ -5346,17 +5346,17 @@
5346
5346
  "src": "4010:29:4"
5347
5347
  },
5348
5348
  "returnParameters": {
5349
- "id": 1489,
5349
+ "id": 1501,
5350
5350
  "nodeType": "ParameterList",
5351
5351
  "parameters": [
5352
5352
  {
5353
5353
  "constant": false,
5354
- "id": 1488,
5354
+ "id": 1500,
5355
5355
  "mutability": "mutable",
5356
5356
  "name": "",
5357
5357
  "nameLocation": "-1:-1:-1",
5358
5358
  "nodeType": "VariableDeclaration",
5359
- "scope": 1496,
5359
+ "scope": 1508,
5360
5360
  "src": "4063:7:4",
5361
5361
  "stateVariable": false,
5362
5362
  "storageLocation": "default",
@@ -5365,7 +5365,7 @@
5365
5365
  "typeString": "bytes32"
5366
5366
  },
5367
5367
  "typeName": {
5368
- "id": 1487,
5368
+ "id": 1499,
5369
5369
  "name": "bytes32",
5370
5370
  "nodeType": "ElementaryTypeName",
5371
5371
  "src": "4063:7:4",
@@ -5379,7 +5379,7 @@
5379
5379
  ],
5380
5380
  "src": "4062:9:4"
5381
5381
  },
5382
- "scope": 1497,
5382
+ "scope": 1509,
5383
5383
  "stateMutability": "pure",
5384
5384
  "virtual": false,
5385
5385
  "visibility": "internal"
@@ -5392,11 +5392,11 @@
5392
5392
  "contractKind": "library",
5393
5393
  "fullyImplemented": true,
5394
5394
  "linearizedBaseContracts": [
5395
- 1497
5395
+ 1509
5396
5396
  ],
5397
5397
  "name": "PackedCounterLib",
5398
5398
  "nameLocation": "251:16:4",
5399
- "scope": 1498,
5399
+ "scope": 1510,
5400
5400
  "usedErrors": []
5401
5401
  }
5402
5402
  ],