@latticexyz/world-modules 2.0.0-main-fd10cff6 → 2.0.0-main-fa74f25e

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 (87) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +244 -220
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  4. package/out/DelegationControl.sol/DelegationControl.json +125 -101
  5. package/out/Hooks.sol/Hooks.json +45 -45
  6. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +64 -64
  7. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  8. package/out/IBaseWorld.sol/IBaseWorld.json +130 -85
  9. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  10. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  11. package/out/IDelegationControl.sol/IDelegationControl.json +50 -26
  12. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +20 -20
  13. package/out/ISystemHook.sol/ISystemHook.json +171 -131
  14. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  15. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +157 -109
  16. package/out/IWorldErrors.sol/IWorldErrors.json +345 -255
  17. package/out/IWorldKernel.sol/IWorldCall.json +294 -254
  18. package/out/IWorldKernel.sol/IWorldKernel.json +321 -258
  19. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +279 -253
  20. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
  21. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  22. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  23. package/out/KeysInTableModule.sol/KeysInTableModule.json +573 -549
  24. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  25. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1011 -1011
  26. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +462 -438
  27. package/out/Module.sol/Module.json +109 -85
  28. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  29. package/out/Schema.sol/SchemaInstance.json +30 -30
  30. package/out/Schema.sol/SchemaLib.json +30 -30
  31. package/out/SchemaType.sol/SchemaType.json +276 -276
  32. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +339 -315
  33. package/out/StoreHook.sol/StoreHook.json +358 -358
  34. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  35. package/out/System.sol/System.json +84 -41
  36. package/out/Tables.sol/Tables.json +73 -73
  37. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +148 -124
  38. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  39. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  40. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +366 -342
  41. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +138 -102
  42. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  43. package/out/WorldContext.sol/WorldContextConsumer.json +774 -677
  44. package/out/WorldContext.sol/WorldContextProvider.json +737 -677
  45. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  46. package/out/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  47. package/out/constants.sol/constants.json +115 -115
  48. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  49. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  50. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  51. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  52. package/out/hasKey.sol/hasKey.json +130 -130
  53. package/out/index.sol/index.json +53 -53
  54. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +202 -157
  55. package/out/query.sol/query.json +1154 -1154
  56. package/out/revertWithBytes.sol/revertWithBytes.json +51 -51
  57. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  58. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  59. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  60. package/out/src/IStore.sol/IStore.json +53 -53
  61. package/out/src/IWorldKernel.sol/IWorldCall.json +307 -267
  62. package/out/src/IWorldKernel.sol/IWorldKernel.json +334 -271
  63. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +292 -266
  64. package/out/src/Memory.sol/Memory.json +89 -89
  65. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  66. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  67. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  68. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  69. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  70. package/out/src/Schema.sol/SchemaLib.json +787 -787
  71. package/out/src/Slice.sol/SliceInstance.json +429 -429
  72. package/out/src/Slice.sol/SliceLib.json +429 -429
  73. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  74. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  75. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  76. package/out/src/WorldContext.sol/WorldContextConsumer.json +780 -683
  77. package/out/src/WorldContext.sol/WorldContextProvider.json +743 -683
  78. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +777 -765
  79. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +777 -765
  80. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  81. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  82. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  83. package/out/tables/Tables.sol/Tables.json +7288 -7288
  84. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  85. package/out/types.sol/types.json +39 -39
  86. package/out/worldResourceTypes.sol/worldResourceTypes.json +87 -87
  87. package/package.json +8 -8
@@ -62,32 +62,32 @@
62
62
  },
63
63
  "ast": {
64
64
  "absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
65
- "id": 26263,
65
+ "id": 26303,
66
66
  "exportedSymbols": {
67
67
  "NAME_BITS": [
68
- 26210
68
+ 26250
69
69
  ],
70
70
  "ResourceId": [
71
- 26198
71
+ 26238
72
72
  ],
73
73
  "ResourceIdInstance": [
74
- 26262
74
+ 26302
75
75
  ],
76
76
  "ResourceIdLib": [
77
- 26244
77
+ 26284
78
78
  ],
79
79
  "TYPE_BITS": [
80
- 26203
80
+ 26243
81
81
  ],
82
82
  "TYPE_MASK": [
83
- 26216
83
+ 26256
84
84
  ]
85
85
  },
86
86
  "nodeType": "SourceUnit",
87
87
  "src": "32:543:67",
88
88
  "nodes": [
89
89
  {
90
- "id": 26196,
90
+ "id": 26236,
91
91
  "nodeType": "PragmaDirective",
92
92
  "src": "32:25:67",
93
93
  "nodes": [],
@@ -99,7 +99,7 @@
99
99
  ]
100
100
  },
101
101
  {
102
- "id": 26198,
102
+ "id": 26238,
103
103
  "nodeType": "UserDefinedValueTypeDefinition",
104
104
  "src": "59:27:67",
105
105
  "nodes": [],
@@ -107,7 +107,7 @@
107
107
  "name": "ResourceId",
108
108
  "nameLocation": "64:10:67",
109
109
  "underlyingType": {
110
- "id": 26197,
110
+ "id": 26237,
111
111
  "name": "bytes32",
112
112
  "nodeType": "ElementaryTypeName",
113
113
  "src": "78:7:67",
@@ -118,7 +118,7 @@
118
118
  }
119
119
  },
120
120
  {
121
- "id": 26203,
121
+ "id": 26243,
122
122
  "nodeType": "VariableDeclaration",
123
123
  "src": "88:34:67",
124
124
  "nodes": [],
@@ -126,7 +126,7 @@
126
126
  "mutability": "constant",
127
127
  "name": "TYPE_BITS",
128
128
  "nameLocation": "105:9:67",
129
- "scope": 26263,
129
+ "scope": 26303,
130
130
  "stateVariable": false,
131
131
  "storageLocation": "default",
132
132
  "typeDescriptions": {
@@ -134,7 +134,7 @@
134
134
  "typeString": "uint256"
135
135
  },
136
136
  "typeName": {
137
- "id": 26199,
137
+ "id": 26239,
138
138
  "name": "uint256",
139
139
  "nodeType": "ElementaryTypeName",
140
140
  "src": "88:7:67",
@@ -148,14 +148,14 @@
148
148
  "typeIdentifier": "t_rational_16_by_1",
149
149
  "typeString": "int_const 16"
150
150
  },
151
- "id": 26202,
151
+ "id": 26242,
152
152
  "isConstant": false,
153
153
  "isLValue": false,
154
154
  "isPure": true,
155
155
  "lValueRequested": false,
156
156
  "leftExpression": {
157
157
  "hexValue": "32",
158
- "id": 26200,
158
+ "id": 26240,
159
159
  "isConstant": false,
160
160
  "isLValue": false,
161
161
  "isPure": true,
@@ -173,7 +173,7 @@
173
173
  "operator": "*",
174
174
  "rightExpression": {
175
175
  "hexValue": "38",
176
- "id": 26201,
176
+ "id": 26241,
177
177
  "isConstant": false,
178
178
  "isLValue": false,
179
179
  "isPure": true,
@@ -196,7 +196,7 @@
196
196
  "visibility": "internal"
197
197
  },
198
198
  {
199
- "id": 26210,
199
+ "id": 26250,
200
200
  "nodeType": "VariableDeclaration",
201
201
  "src": "124:47:67",
202
202
  "nodes": [],
@@ -204,7 +204,7 @@
204
204
  "mutability": "constant",
205
205
  "name": "NAME_BITS",
206
206
  "nameLocation": "141:9:67",
207
- "scope": 26263,
207
+ "scope": 26303,
208
208
  "stateVariable": false,
209
209
  "storageLocation": "default",
210
210
  "typeDescriptions": {
@@ -212,7 +212,7 @@
212
212
  "typeString": "uint256"
213
213
  },
214
214
  "typeName": {
215
- "id": 26204,
215
+ "id": 26244,
216
216
  "name": "uint256",
217
217
  "nodeType": "ElementaryTypeName",
218
218
  "src": "124:7:67",
@@ -226,7 +226,7 @@
226
226
  "typeIdentifier": "t_uint256",
227
227
  "typeString": "uint256"
228
228
  },
229
- "id": 26209,
229
+ "id": 26249,
230
230
  "isConstant": false,
231
231
  "isLValue": false,
232
232
  "isPure": true,
@@ -236,14 +236,14 @@
236
236
  "typeIdentifier": "t_rational_256_by_1",
237
237
  "typeString": "int_const 256"
238
238
  },
239
- "id": 26207,
239
+ "id": 26247,
240
240
  "isConstant": false,
241
241
  "isLValue": false,
242
242
  "isPure": true,
243
243
  "lValueRequested": false,
244
244
  "leftExpression": {
245
245
  "hexValue": "3332",
246
- "id": 26205,
246
+ "id": 26245,
247
247
  "isConstant": false,
248
248
  "isLValue": false,
249
249
  "isPure": true,
@@ -261,7 +261,7 @@
261
261
  "operator": "*",
262
262
  "rightExpression": {
263
263
  "hexValue": "38",
264
- "id": 26206,
264
+ "id": 26246,
265
265
  "isConstant": false,
266
266
  "isLValue": false,
267
267
  "isPure": true,
@@ -284,11 +284,11 @@
284
284
  "nodeType": "BinaryOperation",
285
285
  "operator": "-",
286
286
  "rightExpression": {
287
- "id": 26208,
287
+ "id": 26248,
288
288
  "name": "TYPE_BITS",
289
289
  "nodeType": "Identifier",
290
290
  "overloadedDeclarations": [],
291
- "referencedDeclaration": 26203,
291
+ "referencedDeclaration": 26243,
292
292
  "src": "162:9:67",
293
293
  "typeDescriptions": {
294
294
  "typeIdentifier": "t_uint256",
@@ -304,7 +304,7 @@
304
304
  "visibility": "internal"
305
305
  },
306
306
  {
307
- "id": 26216,
307
+ "id": 26256,
308
308
  "nodeType": "VariableDeclaration",
309
309
  "src": "174:47:67",
310
310
  "nodes": [],
@@ -312,7 +312,7 @@
312
312
  "mutability": "constant",
313
313
  "name": "TYPE_MASK",
314
314
  "nameLocation": "191:9:67",
315
- "scope": 26263,
315
+ "scope": 26303,
316
316
  "stateVariable": false,
317
317
  "storageLocation": "default",
318
318
  "typeDescriptions": {
@@ -320,7 +320,7 @@
320
320
  "typeString": "bytes32"
321
321
  },
322
322
  "typeName": {
323
- "id": 26211,
323
+ "id": 26251,
324
324
  "name": "bytes32",
325
325
  "nodeType": "ElementaryTypeName",
326
326
  "src": "174:7:67",
@@ -333,7 +333,7 @@
333
333
  "arguments": [
334
334
  {
335
335
  "hexValue": "ffff",
336
- "id": 26214,
336
+ "id": 26254,
337
337
  "isConstant": false,
338
338
  "isLValue": false,
339
339
  "isPure": true,
@@ -354,7 +354,7 @@
354
354
  "typeString": "literal_string hex\"ffff\""
355
355
  }
356
356
  ],
357
- "id": 26213,
357
+ "id": 26253,
358
358
  "isConstant": false,
359
359
  "isLValue": false,
360
360
  "isPure": true,
@@ -366,14 +366,14 @@
366
366
  "typeString": "type(bytes32)"
367
367
  },
368
368
  "typeName": {
369
- "id": 26212,
369
+ "id": 26252,
370
370
  "name": "bytes32",
371
371
  "nodeType": "ElementaryTypeName",
372
372
  "src": "203:7:67",
373
373
  "typeDescriptions": {}
374
374
  }
375
375
  },
376
- "id": 26215,
376
+ "id": 26255,
377
377
  "isConstant": false,
378
378
  "isLValue": false,
379
379
  "isPure": true,
@@ -392,17 +392,17 @@
392
392
  "visibility": "internal"
393
393
  },
394
394
  {
395
- "id": 26244,
395
+ "id": 26284,
396
396
  "nodeType": "ContractDefinition",
397
397
  "src": "224:189:67",
398
398
  "nodes": [
399
399
  {
400
- "id": 26243,
400
+ "id": 26283,
401
401
  "nodeType": "FunctionDefinition",
402
402
  "src": "250:161:67",
403
403
  "nodes": [],
404
404
  "body": {
405
- "id": 26242,
405
+ "id": 26282,
406
406
  "nodeType": "Block",
407
407
  "src": "330:81:67",
408
408
  "nodes": [],
@@ -415,7 +415,7 @@
415
415
  "typeIdentifier": "t_bytes32",
416
416
  "typeString": "bytes32"
417
417
  },
418
- "id": 26239,
418
+ "id": 26279,
419
419
  "isConstant": false,
420
420
  "isLValue": false,
421
421
  "isPure": false,
@@ -423,11 +423,11 @@
423
423
  "leftExpression": {
424
424
  "arguments": [
425
425
  {
426
- "id": 26230,
426
+ "id": 26270,
427
427
  "name": "typeId",
428
428
  "nodeType": "Identifier",
429
429
  "overloadedDeclarations": [],
430
- "referencedDeclaration": 26218,
430
+ "referencedDeclaration": 26258,
431
431
  "src": "367:6:67",
432
432
  "typeDescriptions": {
433
433
  "typeIdentifier": "t_bytes2",
@@ -442,7 +442,7 @@
442
442
  "typeString": "bytes2"
443
443
  }
444
444
  ],
445
- "id": 26229,
445
+ "id": 26269,
446
446
  "isConstant": false,
447
447
  "isLValue": false,
448
448
  "isPure": true,
@@ -454,14 +454,14 @@
454
454
  "typeString": "type(bytes32)"
455
455
  },
456
456
  "typeName": {
457
- "id": 26228,
457
+ "id": 26268,
458
458
  "name": "bytes32",
459
459
  "nodeType": "ElementaryTypeName",
460
460
  "src": "359:7:67",
461
461
  "typeDescriptions": {}
462
462
  }
463
463
  },
464
- "id": 26231,
464
+ "id": 26271,
465
465
  "isConstant": false,
466
466
  "isLValue": false,
467
467
  "isPure": false,
@@ -486,7 +486,7 @@
486
486
  "typeIdentifier": "t_bytes32",
487
487
  "typeString": "bytes32"
488
488
  },
489
- "id": 26237,
489
+ "id": 26277,
490
490
  "isConstant": false,
491
491
  "isLValue": false,
492
492
  "isPure": false,
@@ -494,11 +494,11 @@
494
494
  "leftExpression": {
495
495
  "arguments": [
496
496
  {
497
- "id": 26234,
497
+ "id": 26274,
498
498
  "name": "name",
499
499
  "nodeType": "Identifier",
500
500
  "overloadedDeclarations": [],
501
- "referencedDeclaration": 26220,
501
+ "referencedDeclaration": 26260,
502
502
  "src": "386:4:67",
503
503
  "typeDescriptions": {
504
504
  "typeIdentifier": "t_bytes30",
@@ -513,7 +513,7 @@
513
513
  "typeString": "bytes30"
514
514
  }
515
515
  ],
516
- "id": 26233,
516
+ "id": 26273,
517
517
  "isConstant": false,
518
518
  "isLValue": false,
519
519
  "isPure": true,
@@ -525,14 +525,14 @@
525
525
  "typeString": "type(bytes32)"
526
526
  },
527
527
  "typeName": {
528
- "id": 26232,
528
+ "id": 26272,
529
529
  "name": "bytes32",
530
530
  "nodeType": "ElementaryTypeName",
531
531
  "src": "378:7:67",
532
532
  "typeDescriptions": {}
533
533
  }
534
534
  },
535
- "id": 26235,
535
+ "id": 26275,
536
536
  "isConstant": false,
537
537
  "isLValue": false,
538
538
  "isPure": false,
@@ -551,11 +551,11 @@
551
551
  "nodeType": "BinaryOperation",
552
552
  "operator": ">>",
553
553
  "rightExpression": {
554
- "id": 26236,
554
+ "id": 26276,
555
555
  "name": "TYPE_BITS",
556
556
  "nodeType": "Identifier",
557
557
  "overloadedDeclarations": [],
558
- "referencedDeclaration": 26203,
558
+ "referencedDeclaration": 26243,
559
559
  "src": "395:9:67",
560
560
  "typeDescriptions": {
561
561
  "typeIdentifier": "t_uint256",
@@ -569,7 +569,7 @@
569
569
  }
570
570
  }
571
571
  ],
572
- "id": 26238,
572
+ "id": 26278,
573
573
  "isConstant": false,
574
574
  "isInlineArray": false,
575
575
  "isLValue": false,
@@ -597,18 +597,18 @@
597
597
  }
598
598
  ],
599
599
  "expression": {
600
- "id": 26226,
600
+ "id": 26266,
601
601
  "name": "ResourceId",
602
602
  "nodeType": "Identifier",
603
603
  "overloadedDeclarations": [],
604
- "referencedDeclaration": 26198,
604
+ "referencedDeclaration": 26238,
605
605
  "src": "343:10:67",
606
606
  "typeDescriptions": {
607
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26198_$",
607
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26238_$",
608
608
  "typeString": "type(ResourceId)"
609
609
  }
610
610
  },
611
- "id": 26227,
611
+ "id": 26267,
612
612
  "isConstant": false,
613
613
  "isLValue": false,
614
614
  "isPure": true,
@@ -618,11 +618,11 @@
618
618
  "nodeType": "MemberAccess",
619
619
  "src": "343:15:67",
620
620
  "typeDescriptions": {
621
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26198_$",
621
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26238_$",
622
622
  "typeString": "function (bytes32) pure returns (ResourceId)"
623
623
  }
624
624
  },
625
- "id": 26240,
625
+ "id": 26280,
626
626
  "isConstant": false,
627
627
  "isLValue": false,
628
628
  "isPure": false,
@@ -634,12 +634,12 @@
634
634
  "src": "343:63:67",
635
635
  "tryCall": false,
636
636
  "typeDescriptions": {
637
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
637
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
638
638
  "typeString": "ResourceId"
639
639
  }
640
640
  },
641
- "functionReturnParameters": 26225,
642
- "id": 26241,
641
+ "functionReturnParameters": 26265,
642
+ "id": 26281,
643
643
  "nodeType": "Return",
644
644
  "src": "336:70:67"
645
645
  }
@@ -651,17 +651,17 @@
651
651
  "name": "encode",
652
652
  "nameLocation": "259:6:67",
653
653
  "parameters": {
654
- "id": 26221,
654
+ "id": 26261,
655
655
  "nodeType": "ParameterList",
656
656
  "parameters": [
657
657
  {
658
658
  "constant": false,
659
- "id": 26218,
659
+ "id": 26258,
660
660
  "mutability": "mutable",
661
661
  "name": "typeId",
662
662
  "nameLocation": "273:6:67",
663
663
  "nodeType": "VariableDeclaration",
664
- "scope": 26243,
664
+ "scope": 26283,
665
665
  "src": "266:13:67",
666
666
  "stateVariable": false,
667
667
  "storageLocation": "default",
@@ -670,7 +670,7 @@
670
670
  "typeString": "bytes2"
671
671
  },
672
672
  "typeName": {
673
- "id": 26217,
673
+ "id": 26257,
674
674
  "name": "bytes2",
675
675
  "nodeType": "ElementaryTypeName",
676
676
  "src": "266:6:67",
@@ -683,12 +683,12 @@
683
683
  },
684
684
  {
685
685
  "constant": false,
686
- "id": 26220,
686
+ "id": 26260,
687
687
  "mutability": "mutable",
688
688
  "name": "name",
689
689
  "nameLocation": "289:4:67",
690
690
  "nodeType": "VariableDeclaration",
691
- "scope": 26243,
691
+ "scope": 26283,
692
692
  "src": "281:12:67",
693
693
  "stateVariable": false,
694
694
  "storageLocation": "default",
@@ -697,7 +697,7 @@
697
697
  "typeString": "bytes30"
698
698
  },
699
699
  "typeName": {
700
- "id": 26219,
700
+ "id": 26259,
701
701
  "name": "bytes30",
702
702
  "nodeType": "ElementaryTypeName",
703
703
  "src": "281:7:67",
@@ -712,41 +712,41 @@
712
712
  "src": "265:29:67"
713
713
  },
714
714
  "returnParameters": {
715
- "id": 26225,
715
+ "id": 26265,
716
716
  "nodeType": "ParameterList",
717
717
  "parameters": [
718
718
  {
719
719
  "constant": false,
720
- "id": 26224,
720
+ "id": 26264,
721
721
  "mutability": "mutable",
722
722
  "name": "",
723
723
  "nameLocation": "-1:-1:-1",
724
724
  "nodeType": "VariableDeclaration",
725
- "scope": 26243,
725
+ "scope": 26283,
726
726
  "src": "318:10:67",
727
727
  "stateVariable": false,
728
728
  "storageLocation": "default",
729
729
  "typeDescriptions": {
730
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
730
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
731
731
  "typeString": "ResourceId"
732
732
  },
733
733
  "typeName": {
734
- "id": 26223,
734
+ "id": 26263,
735
735
  "nodeType": "UserDefinedTypeName",
736
736
  "pathNode": {
737
- "id": 26222,
737
+ "id": 26262,
738
738
  "name": "ResourceId",
739
739
  "nameLocations": [
740
740
  "318:10:67"
741
741
  ],
742
742
  "nodeType": "IdentifierPath",
743
- "referencedDeclaration": 26198,
743
+ "referencedDeclaration": 26238,
744
744
  "src": "318:10:67"
745
745
  },
746
- "referencedDeclaration": 26198,
746
+ "referencedDeclaration": 26238,
747
747
  "src": "318:10:67",
748
748
  "typeDescriptions": {
749
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
749
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
750
750
  "typeString": "ResourceId"
751
751
  }
752
752
  },
@@ -755,7 +755,7 @@
755
755
  ],
756
756
  "src": "317:12:67"
757
757
  },
758
- "scope": 26244,
758
+ "scope": 26284,
759
759
  "stateMutability": "pure",
760
760
  "virtual": false,
761
761
  "visibility": "internal"
@@ -768,26 +768,26 @@
768
768
  "contractKind": "library",
769
769
  "fullyImplemented": true,
770
770
  "linearizedBaseContracts": [
771
- 26244
771
+ 26284
772
772
  ],
773
773
  "name": "ResourceIdLib",
774
774
  "nameLocation": "232:13:67",
775
- "scope": 26263,
775
+ "scope": 26303,
776
776
  "usedErrors": [],
777
777
  "usedEvents": []
778
778
  },
779
779
  {
780
- "id": 26262,
780
+ "id": 26302,
781
781
  "nodeType": "ContractDefinition",
782
782
  "src": "415:159:67",
783
783
  "nodes": [
784
784
  {
785
- "id": 26261,
785
+ "id": 26301,
786
786
  "nodeType": "FunctionDefinition",
787
787
  "src": "446:126:67",
788
788
  "nodes": [],
789
789
  "body": {
790
- "id": 26260,
790
+ "id": 26300,
791
791
  "nodeType": "Block",
792
792
  "src": "517:55:67",
793
793
  "nodes": [],
@@ -798,14 +798,14 @@
798
798
  {
799
799
  "arguments": [
800
800
  {
801
- "id": 26256,
801
+ "id": 26296,
802
802
  "name": "resourceId",
803
803
  "nodeType": "Identifier",
804
804
  "overloadedDeclarations": [],
805
- "referencedDeclaration": 26247,
805
+ "referencedDeclaration": 26287,
806
806
  "src": "555:10:67",
807
807
  "typeDescriptions": {
808
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
808
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
809
809
  "typeString": "ResourceId"
810
810
  }
811
811
  }
@@ -813,23 +813,23 @@
813
813
  "expression": {
814
814
  "argumentTypes": [
815
815
  {
816
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
816
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
817
817
  "typeString": "ResourceId"
818
818
  }
819
819
  ],
820
820
  "expression": {
821
- "id": 26254,
821
+ "id": 26294,
822
822
  "name": "ResourceId",
823
823
  "nodeType": "Identifier",
824
824
  "overloadedDeclarations": [],
825
- "referencedDeclaration": 26198,
825
+ "referencedDeclaration": 26238,
826
826
  "src": "537:10:67",
827
827
  "typeDescriptions": {
828
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26198_$",
828
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26238_$",
829
829
  "typeString": "type(ResourceId)"
830
830
  }
831
831
  },
832
- "id": 26255,
832
+ "id": 26295,
833
833
  "isConstant": false,
834
834
  "isLValue": false,
835
835
  "isPure": true,
@@ -839,11 +839,11 @@
839
839
  "nodeType": "MemberAccess",
840
840
  "src": "537:17:67",
841
841
  "typeDescriptions": {
842
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$26198_$returns$_t_bytes32_$",
842
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$26238_$returns$_t_bytes32_$",
843
843
  "typeString": "function (ResourceId) pure returns (bytes32)"
844
844
  }
845
845
  },
846
- "id": 26257,
846
+ "id": 26297,
847
847
  "isConstant": false,
848
848
  "isLValue": false,
849
849
  "isPure": false,
@@ -867,7 +867,7 @@
867
867
  "typeString": "bytes32"
868
868
  }
869
869
  ],
870
- "id": 26253,
870
+ "id": 26293,
871
871
  "isConstant": false,
872
872
  "isLValue": false,
873
873
  "isPure": true,
@@ -879,14 +879,14 @@
879
879
  "typeString": "type(bytes2)"
880
880
  },
881
881
  "typeName": {
882
- "id": 26252,
882
+ "id": 26292,
883
883
  "name": "bytes2",
884
884
  "nodeType": "ElementaryTypeName",
885
885
  "src": "530:6:67",
886
886
  "typeDescriptions": {}
887
887
  }
888
888
  },
889
- "id": 26258,
889
+ "id": 26298,
890
890
  "isConstant": false,
891
891
  "isLValue": false,
892
892
  "isPure": false,
@@ -902,8 +902,8 @@
902
902
  "typeString": "bytes2"
903
903
  }
904
904
  },
905
- "functionReturnParameters": 26251,
906
- "id": 26259,
905
+ "functionReturnParameters": 26291,
906
+ "id": 26299,
907
907
  "nodeType": "Return",
908
908
  "src": "523:44:67"
909
909
  }
@@ -915,41 +915,41 @@
915
915
  "name": "getType",
916
916
  "nameLocation": "455:7:67",
917
917
  "parameters": {
918
- "id": 26248,
918
+ "id": 26288,
919
919
  "nodeType": "ParameterList",
920
920
  "parameters": [
921
921
  {
922
922
  "constant": false,
923
- "id": 26247,
923
+ "id": 26287,
924
924
  "mutability": "mutable",
925
925
  "name": "resourceId",
926
926
  "nameLocation": "474:10:67",
927
927
  "nodeType": "VariableDeclaration",
928
- "scope": 26261,
928
+ "scope": 26301,
929
929
  "src": "463:21:67",
930
930
  "stateVariable": false,
931
931
  "storageLocation": "default",
932
932
  "typeDescriptions": {
933
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
933
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
934
934
  "typeString": "ResourceId"
935
935
  },
936
936
  "typeName": {
937
- "id": 26246,
937
+ "id": 26286,
938
938
  "nodeType": "UserDefinedTypeName",
939
939
  "pathNode": {
940
- "id": 26245,
940
+ "id": 26285,
941
941
  "name": "ResourceId",
942
942
  "nameLocations": [
943
943
  "463:10:67"
944
944
  ],
945
945
  "nodeType": "IdentifierPath",
946
- "referencedDeclaration": 26198,
946
+ "referencedDeclaration": 26238,
947
947
  "src": "463:10:67"
948
948
  },
949
- "referencedDeclaration": 26198,
949
+ "referencedDeclaration": 26238,
950
950
  "src": "463:10:67",
951
951
  "typeDescriptions": {
952
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
952
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
953
953
  "typeString": "ResourceId"
954
954
  }
955
955
  },
@@ -959,17 +959,17 @@
959
959
  "src": "462:23:67"
960
960
  },
961
961
  "returnParameters": {
962
- "id": 26251,
962
+ "id": 26291,
963
963
  "nodeType": "ParameterList",
964
964
  "parameters": [
965
965
  {
966
966
  "constant": false,
967
- "id": 26250,
967
+ "id": 26290,
968
968
  "mutability": "mutable",
969
969
  "name": "",
970
970
  "nameLocation": "-1:-1:-1",
971
971
  "nodeType": "VariableDeclaration",
972
- "scope": 26261,
972
+ "scope": 26301,
973
973
  "src": "509:6:67",
974
974
  "stateVariable": false,
975
975
  "storageLocation": "default",
@@ -978,7 +978,7 @@
978
978
  "typeString": "bytes2"
979
979
  },
980
980
  "typeName": {
981
- "id": 26249,
981
+ "id": 26289,
982
982
  "name": "bytes2",
983
983
  "nodeType": "ElementaryTypeName",
984
984
  "src": "509:6:67",
@@ -992,7 +992,7 @@
992
992
  ],
993
993
  "src": "508:8:67"
994
994
  },
995
- "scope": 26262,
995
+ "scope": 26302,
996
996
  "stateMutability": "pure",
997
997
  "virtual": false,
998
998
  "visibility": "internal"
@@ -1005,11 +1005,11 @@
1005
1005
  "contractKind": "library",
1006
1006
  "fullyImplemented": true,
1007
1007
  "linearizedBaseContracts": [
1008
- 26262
1008
+ 26302
1009
1009
  ],
1010
1010
  "name": "ResourceIdInstance",
1011
1011
  "nameLocation": "423:18:67",
1012
- "scope": 26263,
1012
+ "scope": 26303,
1013
1013
  "usedErrors": [],
1014
1014
  "usedEvents": []
1015
1015
  }