@latticexyz/world-modules 2.0.0-main-85218618 → 2.0.0-main-3086581a

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 (112) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +223 -223
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2611 -2611
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3155 -3155
  5. package/out/DelegationControl.sol/DelegationControl.json +104 -104
  6. package/out/EncodeArray.sol/EncodeArray.json +3250 -3250
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
  9. package/out/Hook.sol/HookInstance.json +16 -16
  10. package/out/Hook.sol/HookLib.json +16 -16
  11. package/out/Hooks.sol/Hooks.json +96 -96
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  14. package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  16. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  17. package/out/IDelegationControl.sol/IDelegationControl.json +66 -66
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  20. package/out/IStore.sol/IStore.json +4 -4
  21. package/out/IStoreData.sol/IStoreData.json +4 -4
  22. package/out/IStoreHook.sol/IStoreHook.json +4 -4
  23. package/out/IStoreRead.sol/IStoreRead.json +4 -4
  24. package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
  25. package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
  26. package/out/ISystemHook.sol/ISystemHook.json +90 -90
  27. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  28. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  29. package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
  30. package/out/IWorldKernel.sol/IWorldCall.json +156 -156
  31. package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
  32. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
  33. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
  34. package/out/KeysInTable.sol/KeysInTable.json +10684 -10684
  35. package/out/KeysInTableHook.sol/KeysInTableHook.json +879 -879
  36. package/out/KeysInTableModule.sol/KeysInTableModule.json +542 -542
  37. package/out/KeysWithValue.sol/KeysWithValue.json +3844 -3844
  38. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1005 -1005
  39. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +431 -431
  40. package/out/Memory.sol/Memory.json +8 -8
  41. package/out/Module.sol/Module.json +93 -93
  42. package/out/ResourceIds.sol/ResourceIds.json +70 -70
  43. package/out/Schema.sol/SchemaInstance.json +76 -76
  44. package/out/Schema.sol/SchemaLib.json +76 -76
  45. package/out/SchemaType.sol/SchemaType.json +276 -276
  46. package/out/Slice.sol/SliceInstance.json +8 -8
  47. package/out/Slice.sol/SliceLib.json +8 -8
  48. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +308 -308
  49. package/out/Storage.sol/Storage.json +11 -11
  50. package/out/StoreCore.sol/StoreCore.json +59 -59
  51. package/out/StoreCore.sol/StoreCoreInternal.json +59 -59
  52. package/out/StoreHook.sol/StoreHook.json +362 -362
  53. package/out/StoreHooks.sol/StoreHooks.json +97 -97
  54. package/out/StoreSwitch.sol/StoreSwitch.json +16 -16
  55. package/out/System.sol/System.json +38 -38
  56. package/out/Tables.sol/Tables.json +98 -98
  57. package/out/TightCoder.sol/TightCoder.json +128 -128
  58. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +127 -127
  59. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2002 -2002
  60. package/out/UniqueEntity.sol/UniqueEntity.json +1418 -1418
  61. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +332 -332
  62. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +101 -101
  63. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2738 -2738
  64. package/out/WorldContext.sol/WorldContextConsumer.json +382 -382
  65. package/out/WorldContext.sol/WorldContextProvider.json +382 -382
  66. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  67. package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  68. package/out/constants.sol/LayoutOffsets.json +164 -140
  69. package/out/constants.sol/constants.json +115 -115
  70. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  71. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  72. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  73. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  74. package/out/hasKey.sol/hasKey.json +130 -130
  75. package/out/index.sol/index.json +53 -53
  76. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +142 -142
  77. package/out/leftMask.sol/leftMask.json +61 -61
  78. package/out/query.sol/query.json +1154 -1154
  79. package/out/revertWithBytes.sol/revertWithBytes.json +51 -51
  80. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  81. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +701 -701
  82. package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
  83. package/out/src/IStore.sol/IStore.json +57 -57
  84. package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
  85. package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
  86. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
  87. package/out/src/Memory.sol/Memory.json +93 -93
  88. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  89. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  90. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  91. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  92. package/out/src/Schema.sol/SchemaInstance.json +791 -791
  93. package/out/src/Schema.sol/SchemaLib.json +791 -791
  94. package/out/src/Slice.sol/SliceInstance.json +433 -433
  95. package/out/src/Slice.sol/SliceLib.json +433 -433
  96. package/out/src/StoreCore.sol/StoreCore.json +4471 -4471
  97. package/out/src/StoreCore.sol/StoreCoreInternal.json +4471 -4471
  98. package/out/src/StoreSwitch.sol/StoreSwitch.json +2470 -2470
  99. package/out/src/WorldContext.sol/WorldContextConsumer.json +382 -382
  100. package/out/src/WorldContext.sol/WorldContextProvider.json +382 -382
  101. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  102. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  103. package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
  104. package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
  105. package/out/tables/ResourceIds.sol/ResourceIds.json +1762 -1762
  106. package/out/tables/Tables.sol/Tables.json +7304 -7304
  107. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3250 -3250
  108. package/out/types.sol/types.json +39 -39
  109. package/out/version.sol/version.json +12 -12
  110. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  111. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  112. 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": 26303,
65
+ "id": 26327,
66
66
  "exportedSymbols": {
67
67
  "NAME_BITS": [
68
- 26250
68
+ 26274
69
69
  ],
70
70
  "ResourceId": [
71
- 26238
71
+ 26262
72
72
  ],
73
73
  "ResourceIdInstance": [
74
- 26302
74
+ 26326
75
75
  ],
76
76
  "ResourceIdLib": [
77
- 26284
77
+ 26308
78
78
  ],
79
79
  "TYPE_BITS": [
80
- 26243
80
+ 26267
81
81
  ],
82
82
  "TYPE_MASK": [
83
- 26256
83
+ 26280
84
84
  ]
85
85
  },
86
86
  "nodeType": "SourceUnit",
87
87
  "src": "32:543:67",
88
88
  "nodes": [
89
89
  {
90
- "id": 26236,
90
+ "id": 26260,
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": 26238,
102
+ "id": 26262,
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": 26237,
110
+ "id": 26261,
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": 26243,
121
+ "id": 26267,
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": 26303,
129
+ "scope": 26327,
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": 26239,
137
+ "id": 26263,
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": 26242,
151
+ "id": 26266,
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": 26240,
158
+ "id": 26264,
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": 26241,
176
+ "id": 26265,
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": 26250,
199
+ "id": 26274,
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": 26303,
207
+ "scope": 26327,
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": 26244,
215
+ "id": 26268,
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": 26249,
229
+ "id": 26273,
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": 26247,
239
+ "id": 26271,
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": 26245,
246
+ "id": 26269,
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": 26246,
264
+ "id": 26270,
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": 26248,
287
+ "id": 26272,
288
288
  "name": "TYPE_BITS",
289
289
  "nodeType": "Identifier",
290
290
  "overloadedDeclarations": [],
291
- "referencedDeclaration": 26243,
291
+ "referencedDeclaration": 26267,
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": 26256,
307
+ "id": 26280,
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": 26303,
315
+ "scope": 26327,
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": 26251,
323
+ "id": 26275,
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": 26254,
336
+ "id": 26278,
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": 26253,
357
+ "id": 26277,
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": 26252,
369
+ "id": 26276,
370
370
  "name": "bytes32",
371
371
  "nodeType": "ElementaryTypeName",
372
372
  "src": "203:7:67",
373
373
  "typeDescriptions": {}
374
374
  }
375
375
  },
376
- "id": 26255,
376
+ "id": 26279,
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": 26284,
395
+ "id": 26308,
396
396
  "nodeType": "ContractDefinition",
397
397
  "src": "224:189:67",
398
398
  "nodes": [
399
399
  {
400
- "id": 26283,
400
+ "id": 26307,
401
401
  "nodeType": "FunctionDefinition",
402
402
  "src": "250:161:67",
403
403
  "nodes": [],
404
404
  "body": {
405
- "id": 26282,
405
+ "id": 26306,
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": 26279,
418
+ "id": 26303,
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": 26270,
426
+ "id": 26294,
427
427
  "name": "typeId",
428
428
  "nodeType": "Identifier",
429
429
  "overloadedDeclarations": [],
430
- "referencedDeclaration": 26258,
430
+ "referencedDeclaration": 26282,
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": 26269,
445
+ "id": 26293,
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": 26268,
457
+ "id": 26292,
458
458
  "name": "bytes32",
459
459
  "nodeType": "ElementaryTypeName",
460
460
  "src": "359:7:67",
461
461
  "typeDescriptions": {}
462
462
  }
463
463
  },
464
- "id": 26271,
464
+ "id": 26295,
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": 26277,
489
+ "id": 26301,
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": 26274,
497
+ "id": 26298,
498
498
  "name": "name",
499
499
  "nodeType": "Identifier",
500
500
  "overloadedDeclarations": [],
501
- "referencedDeclaration": 26260,
501
+ "referencedDeclaration": 26284,
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": 26273,
516
+ "id": 26297,
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": 26272,
528
+ "id": 26296,
529
529
  "name": "bytes32",
530
530
  "nodeType": "ElementaryTypeName",
531
531
  "src": "378:7:67",
532
532
  "typeDescriptions": {}
533
533
  }
534
534
  },
535
- "id": 26275,
535
+ "id": 26299,
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": 26276,
554
+ "id": 26300,
555
555
  "name": "TYPE_BITS",
556
556
  "nodeType": "Identifier",
557
557
  "overloadedDeclarations": [],
558
- "referencedDeclaration": 26243,
558
+ "referencedDeclaration": 26267,
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": 26278,
572
+ "id": 26302,
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": 26266,
600
+ "id": 26290,
601
601
  "name": "ResourceId",
602
602
  "nodeType": "Identifier",
603
603
  "overloadedDeclarations": [],
604
- "referencedDeclaration": 26238,
604
+ "referencedDeclaration": 26262,
605
605
  "src": "343:10:67",
606
606
  "typeDescriptions": {
607
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26238_$",
607
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26262_$",
608
608
  "typeString": "type(ResourceId)"
609
609
  }
610
610
  },
611
- "id": 26267,
611
+ "id": 26291,
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_$26238_$",
621
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26262_$",
622
622
  "typeString": "function (bytes32) pure returns (ResourceId)"
623
623
  }
624
624
  },
625
- "id": 26280,
625
+ "id": 26304,
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_$26238",
637
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
638
638
  "typeString": "ResourceId"
639
639
  }
640
640
  },
641
- "functionReturnParameters": 26265,
642
- "id": 26281,
641
+ "functionReturnParameters": 26289,
642
+ "id": 26305,
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": 26261,
654
+ "id": 26285,
655
655
  "nodeType": "ParameterList",
656
656
  "parameters": [
657
657
  {
658
658
  "constant": false,
659
- "id": 26258,
659
+ "id": 26282,
660
660
  "mutability": "mutable",
661
661
  "name": "typeId",
662
662
  "nameLocation": "273:6:67",
663
663
  "nodeType": "VariableDeclaration",
664
- "scope": 26283,
664
+ "scope": 26307,
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": 26257,
673
+ "id": 26281,
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": 26260,
686
+ "id": 26284,
687
687
  "mutability": "mutable",
688
688
  "name": "name",
689
689
  "nameLocation": "289:4:67",
690
690
  "nodeType": "VariableDeclaration",
691
- "scope": 26283,
691
+ "scope": 26307,
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": 26259,
700
+ "id": 26283,
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": 26265,
715
+ "id": 26289,
716
716
  "nodeType": "ParameterList",
717
717
  "parameters": [
718
718
  {
719
719
  "constant": false,
720
- "id": 26264,
720
+ "id": 26288,
721
721
  "mutability": "mutable",
722
722
  "name": "",
723
723
  "nameLocation": "-1:-1:-1",
724
724
  "nodeType": "VariableDeclaration",
725
- "scope": 26283,
725
+ "scope": 26307,
726
726
  "src": "318:10:67",
727
727
  "stateVariable": false,
728
728
  "storageLocation": "default",
729
729
  "typeDescriptions": {
730
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
730
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
731
731
  "typeString": "ResourceId"
732
732
  },
733
733
  "typeName": {
734
- "id": 26263,
734
+ "id": 26287,
735
735
  "nodeType": "UserDefinedTypeName",
736
736
  "pathNode": {
737
- "id": 26262,
737
+ "id": 26286,
738
738
  "name": "ResourceId",
739
739
  "nameLocations": [
740
740
  "318:10:67"
741
741
  ],
742
742
  "nodeType": "IdentifierPath",
743
- "referencedDeclaration": 26238,
743
+ "referencedDeclaration": 26262,
744
744
  "src": "318:10:67"
745
745
  },
746
- "referencedDeclaration": 26238,
746
+ "referencedDeclaration": 26262,
747
747
  "src": "318:10:67",
748
748
  "typeDescriptions": {
749
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
749
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
750
750
  "typeString": "ResourceId"
751
751
  }
752
752
  },
@@ -755,7 +755,7 @@
755
755
  ],
756
756
  "src": "317:12:67"
757
757
  },
758
- "scope": 26284,
758
+ "scope": 26308,
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
- 26284
771
+ 26308
772
772
  ],
773
773
  "name": "ResourceIdLib",
774
774
  "nameLocation": "232:13:67",
775
- "scope": 26303,
775
+ "scope": 26327,
776
776
  "usedErrors": [],
777
777
  "usedEvents": []
778
778
  },
779
779
  {
780
- "id": 26302,
780
+ "id": 26326,
781
781
  "nodeType": "ContractDefinition",
782
782
  "src": "415:159:67",
783
783
  "nodes": [
784
784
  {
785
- "id": 26301,
785
+ "id": 26325,
786
786
  "nodeType": "FunctionDefinition",
787
787
  "src": "446:126:67",
788
788
  "nodes": [],
789
789
  "body": {
790
- "id": 26300,
790
+ "id": 26324,
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": 26296,
801
+ "id": 26320,
802
802
  "name": "resourceId",
803
803
  "nodeType": "Identifier",
804
804
  "overloadedDeclarations": [],
805
- "referencedDeclaration": 26287,
805
+ "referencedDeclaration": 26311,
806
806
  "src": "555:10:67",
807
807
  "typeDescriptions": {
808
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
808
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
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_$26238",
816
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
817
817
  "typeString": "ResourceId"
818
818
  }
819
819
  ],
820
820
  "expression": {
821
- "id": 26294,
821
+ "id": 26318,
822
822
  "name": "ResourceId",
823
823
  "nodeType": "Identifier",
824
824
  "overloadedDeclarations": [],
825
- "referencedDeclaration": 26238,
825
+ "referencedDeclaration": 26262,
826
826
  "src": "537:10:67",
827
827
  "typeDescriptions": {
828
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26238_$",
828
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26262_$",
829
829
  "typeString": "type(ResourceId)"
830
830
  }
831
831
  },
832
- "id": 26295,
832
+ "id": 26319,
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_$26238_$returns$_t_bytes32_$",
842
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$26262_$returns$_t_bytes32_$",
843
843
  "typeString": "function (ResourceId) pure returns (bytes32)"
844
844
  }
845
845
  },
846
- "id": 26297,
846
+ "id": 26321,
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": 26293,
870
+ "id": 26317,
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": 26292,
882
+ "id": 26316,
883
883
  "name": "bytes2",
884
884
  "nodeType": "ElementaryTypeName",
885
885
  "src": "530:6:67",
886
886
  "typeDescriptions": {}
887
887
  }
888
888
  },
889
- "id": 26298,
889
+ "id": 26322,
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": 26291,
906
- "id": 26299,
905
+ "functionReturnParameters": 26315,
906
+ "id": 26323,
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": 26288,
918
+ "id": 26312,
919
919
  "nodeType": "ParameterList",
920
920
  "parameters": [
921
921
  {
922
922
  "constant": false,
923
- "id": 26287,
923
+ "id": 26311,
924
924
  "mutability": "mutable",
925
925
  "name": "resourceId",
926
926
  "nameLocation": "474:10:67",
927
927
  "nodeType": "VariableDeclaration",
928
- "scope": 26301,
928
+ "scope": 26325,
929
929
  "src": "463:21:67",
930
930
  "stateVariable": false,
931
931
  "storageLocation": "default",
932
932
  "typeDescriptions": {
933
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
933
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
934
934
  "typeString": "ResourceId"
935
935
  },
936
936
  "typeName": {
937
- "id": 26286,
937
+ "id": 26310,
938
938
  "nodeType": "UserDefinedTypeName",
939
939
  "pathNode": {
940
- "id": 26285,
940
+ "id": 26309,
941
941
  "name": "ResourceId",
942
942
  "nameLocations": [
943
943
  "463:10:67"
944
944
  ],
945
945
  "nodeType": "IdentifierPath",
946
- "referencedDeclaration": 26238,
946
+ "referencedDeclaration": 26262,
947
947
  "src": "463:10:67"
948
948
  },
949
- "referencedDeclaration": 26238,
949
+ "referencedDeclaration": 26262,
950
950
  "src": "463:10:67",
951
951
  "typeDescriptions": {
952
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
952
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
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": 26291,
962
+ "id": 26315,
963
963
  "nodeType": "ParameterList",
964
964
  "parameters": [
965
965
  {
966
966
  "constant": false,
967
- "id": 26290,
967
+ "id": 26314,
968
968
  "mutability": "mutable",
969
969
  "name": "",
970
970
  "nameLocation": "-1:-1:-1",
971
971
  "nodeType": "VariableDeclaration",
972
- "scope": 26301,
972
+ "scope": 26325,
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": 26289,
981
+ "id": 26313,
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": 26302,
995
+ "scope": 26326,
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
- 26302
1008
+ 26326
1009
1009
  ],
1010
1010
  "name": "ResourceIdInstance",
1011
1011
  "nameLocation": "423:18:67",
1012
- "scope": 26303,
1012
+ "scope": 26327,
1013
1013
  "usedErrors": [],
1014
1014
  "usedEvents": []
1015
1015
  }