@latticexyz/world-modules 2.0.0-main-5d19b125 → 2.0.0-main-fd10cff6

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 (89) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +228 -215
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  4. package/out/DelegationControl.sol/DelegationControl.json +157 -131
  5. package/out/Hooks.sol/Hooks.json +45 -45
  6. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +57 -57
  7. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  8. package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
  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 +105 -99
  12. package/out/IModule.sol/IModule.json +181 -151
  13. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +34 -34
  14. package/out/ISystemHook.sol/ISystemHook.json +91 -91
  15. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  16. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +75 -75
  17. package/out/IWorldErrors.sol/IWorldErrors.json +134 -134
  18. package/out/IWorldKernel.sol/IWorldCall.json +155 -155
  19. package/out/IWorldKernel.sol/IWorldKernel.json +155 -155
  20. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +155 -155
  21. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +186 -186
  22. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  23. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  24. package/out/KeysInTableModule.sol/KeysInTableModule.json +562 -537
  25. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  26. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +992 -992
  27. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +451 -426
  28. package/out/Module.sol/Module.json +162 -119
  29. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  30. package/out/Schema.sol/SchemaInstance.json +30 -30
  31. package/out/Schema.sol/SchemaLib.json +30 -30
  32. package/out/SchemaType.sol/SchemaType.json +276 -276
  33. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +327 -308
  34. package/out/StoreHook.sol/StoreHook.json +358 -358
  35. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  36. package/out/System.sol/System.json +23 -23
  37. package/out/Tables.sol/Tables.json +73 -73
  38. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +132 -119
  39. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  40. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  41. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +345 -326
  42. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +86 -86
  43. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  44. package/out/WorldContext.sol/WorldContextConsumer.json +357 -357
  45. package/out/WorldContext.sol/WorldContextProvider.json +357 -357
  46. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  47. package/out/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  48. package/out/constants.sol/constants.json +115 -115
  49. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  50. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  51. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  52. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  53. package/out/hasKey.sol/hasKey.json +130 -130
  54. package/out/index.sol/index.json +53 -53
  55. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +130 -130
  56. package/out/query.sol/query.json +1154 -1154
  57. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  58. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  59. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  60. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  61. package/out/src/IStore.sol/IStore.json +53 -53
  62. package/out/src/IWorldKernel.sol/IWorldCall.json +156 -156
  63. package/out/src/IWorldKernel.sol/IWorldKernel.json +156 -156
  64. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
  65. package/out/src/Memory.sol/Memory.json +89 -89
  66. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  67. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  68. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  69. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  70. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  71. package/out/src/Schema.sol/SchemaLib.json +787 -787
  72. package/out/src/Slice.sol/SliceInstance.json +429 -429
  73. package/out/src/Slice.sol/SliceLib.json +429 -429
  74. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  75. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  76. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  77. package/out/src/WorldContext.sol/WorldContextConsumer.json +357 -357
  78. package/out/src/WorldContext.sol/WorldContextProvider.json +357 -357
  79. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  80. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  81. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  82. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  83. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  84. package/out/tables/Tables.sol/Tables.json +7288 -7288
  85. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  86. package/out/types.sol/types.json +39 -39
  87. package/out/world/src/IERC165.sol/IERC165.json +63 -57
  88. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  89. package/package.json +8 -8
@@ -102,59 +102,59 @@
102
102
  },
103
103
  "ast": {
104
104
  "absolutePath": "node_modules/@latticexyz/world/src/WorldResourceId.sol",
105
- "id": 39104,
105
+ "id": 39115,
106
106
  "exportedSymbols": {
107
107
  "Bytes": [
108
- 25066
108
+ 25073
109
109
  ],
110
110
  "MASK_RESOURCE_NAMESPACE": [
111
- 39233
111
+ 39244
112
112
  ],
113
113
  "NAMESPACE_BITS": [
114
- 38840
114
+ 38851
115
115
  ],
116
116
  "NAMESPACE_MASK": [
117
- 38870
117
+ 38881
118
118
  ],
119
119
  "NAME_BITS": [
120
- 38845
120
+ 38856
121
121
  ],
122
122
  "RESOURCE_NAMESPACE": [
123
- 39221
123
+ 39232
124
124
  ],
125
125
  "ROOT_NAME": [
126
- 39152
126
+ 39163
127
127
  ],
128
128
  "ROOT_NAMESPACE": [
129
- 39149
129
+ 39160
130
130
  ],
131
131
  "ROOT_NAMESPACE_STRING": [
132
- 38851
132
+ 38862
133
133
  ],
134
134
  "ROOT_NAME_STRING": [
135
- 38857
135
+ 38868
136
136
  ],
137
137
  "ResourceId": [
138
- 26191
138
+ 26198
139
139
  ],
140
140
  "ResourceIdInstance": [
141
- 26255
141
+ 26262
142
142
  ],
143
143
  "TYPE_BITS": [
144
- 26196
144
+ 26203
145
145
  ],
146
146
  "WorldResourceIdInstance": [
147
- 39103
147
+ 39114
148
148
  ],
149
149
  "WorldResourceIdLib": [
150
- 38983
150
+ 38994
151
151
  ]
152
152
  },
153
153
  "nodeType": "SourceUnit",
154
154
  "src": "32:3232:98",
155
155
  "nodes": [
156
156
  {
157
- "id": 38823,
157
+ "id": 38834,
158
158
  "nodeType": "PragmaDirective",
159
159
  "src": "32:25:98",
160
160
  "nodes": [],
@@ -166,23 +166,23 @@
166
166
  ]
167
167
  },
168
168
  {
169
- "id": 38825,
169
+ "id": 38836,
170
170
  "nodeType": "ImportDirective",
171
171
  "src": "59:56:98",
172
172
  "nodes": [],
173
173
  "absolutePath": "node_modules/@latticexyz/store/src/Bytes.sol",
174
174
  "file": "@latticexyz/store/src/Bytes.sol",
175
175
  "nameLocation": "-1:-1:-1",
176
- "scope": 39104,
177
- "sourceUnit": 25067,
176
+ "scope": 39115,
177
+ "sourceUnit": 25074,
178
178
  "symbolAliases": [
179
179
  {
180
180
  "foreign": {
181
- "id": 38824,
181
+ "id": 38835,
182
182
  "name": "Bytes",
183
183
  "nodeType": "Identifier",
184
184
  "overloadedDeclarations": [],
185
- "referencedDeclaration": 25066,
185
+ "referencedDeclaration": 25073,
186
186
  "src": "68:5:98",
187
187
  "typeDescriptions": {}
188
188
  },
@@ -192,23 +192,23 @@
192
192
  "unitAlias": ""
193
193
  },
194
194
  {
195
- "id": 38829,
195
+ "id": 38840,
196
196
  "nodeType": "ImportDirective",
197
197
  "src": "116:97:98",
198
198
  "nodes": [],
199
199
  "absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
200
200
  "file": "@latticexyz/store/src/ResourceId.sol",
201
201
  "nameLocation": "-1:-1:-1",
202
- "scope": 39104,
203
- "sourceUnit": 26256,
202
+ "scope": 39115,
203
+ "sourceUnit": 26263,
204
204
  "symbolAliases": [
205
205
  {
206
206
  "foreign": {
207
- "id": 38826,
207
+ "id": 38837,
208
208
  "name": "ResourceId",
209
209
  "nodeType": "Identifier",
210
210
  "overloadedDeclarations": [],
211
- "referencedDeclaration": 26191,
211
+ "referencedDeclaration": 26198,
212
212
  "src": "125:10:98",
213
213
  "typeDescriptions": {}
214
214
  },
@@ -216,11 +216,11 @@
216
216
  },
217
217
  {
218
218
  "foreign": {
219
- "id": 38827,
219
+ "id": 38838,
220
220
  "name": "ResourceIdInstance",
221
221
  "nodeType": "Identifier",
222
222
  "overloadedDeclarations": [],
223
- "referencedDeclaration": 26255,
223
+ "referencedDeclaration": 26262,
224
224
  "src": "137:18:98",
225
225
  "typeDescriptions": {}
226
226
  },
@@ -228,11 +228,11 @@
228
228
  },
229
229
  {
230
230
  "foreign": {
231
- "id": 38828,
231
+ "id": 38839,
232
232
  "name": "TYPE_BITS",
233
233
  "nodeType": "Identifier",
234
234
  "overloadedDeclarations": [],
235
- "referencedDeclaration": 26196,
235
+ "referencedDeclaration": 26203,
236
236
  "src": "157:9:98",
237
237
  "typeDescriptions": {}
238
238
  },
@@ -242,23 +242,23 @@
242
242
  "unitAlias": ""
243
243
  },
244
244
  {
245
- "id": 38832,
245
+ "id": 38843,
246
246
  "nodeType": "ImportDirective",
247
247
  "src": "215:60:98",
248
248
  "nodes": [],
249
249
  "absolutePath": "node_modules/@latticexyz/world/src/constants.sol",
250
250
  "file": "./constants.sol",
251
251
  "nameLocation": "-1:-1:-1",
252
- "scope": 39104,
253
- "sourceUnit": 39204,
252
+ "scope": 39115,
253
+ "sourceUnit": 39215,
254
254
  "symbolAliases": [
255
255
  {
256
256
  "foreign": {
257
- "id": 38830,
257
+ "id": 38841,
258
258
  "name": "ROOT_NAMESPACE",
259
259
  "nodeType": "Identifier",
260
260
  "overloadedDeclarations": [],
261
- "referencedDeclaration": 39149,
261
+ "referencedDeclaration": 39160,
262
262
  "src": "224:14:98",
263
263
  "typeDescriptions": {}
264
264
  },
@@ -266,11 +266,11 @@
266
266
  },
267
267
  {
268
268
  "foreign": {
269
- "id": 38831,
269
+ "id": 38842,
270
270
  "name": "ROOT_NAME",
271
271
  "nodeType": "Identifier",
272
272
  "overloadedDeclarations": [],
273
- "referencedDeclaration": 39152,
273
+ "referencedDeclaration": 39163,
274
274
  "src": "240:9:98",
275
275
  "typeDescriptions": {}
276
276
  },
@@ -280,23 +280,23 @@
280
280
  "unitAlias": ""
281
281
  },
282
282
  {
283
- "id": 38835,
283
+ "id": 38846,
284
284
  "nodeType": "ImportDirective",
285
285
  "src": "276:87:98",
286
286
  "nodes": [],
287
287
  "absolutePath": "node_modules/@latticexyz/world/src/worldResourceTypes.sol",
288
288
  "file": "./worldResourceTypes.sol",
289
289
  "nameLocation": "-1:-1:-1",
290
- "scope": 39104,
291
- "sourceUnit": 39246,
290
+ "scope": 39115,
291
+ "sourceUnit": 39257,
292
292
  "symbolAliases": [
293
293
  {
294
294
  "foreign": {
295
- "id": 38833,
295
+ "id": 38844,
296
296
  "name": "RESOURCE_NAMESPACE",
297
297
  "nodeType": "Identifier",
298
298
  "overloadedDeclarations": [],
299
- "referencedDeclaration": 39221,
299
+ "referencedDeclaration": 39232,
300
300
  "src": "285:18:98",
301
301
  "typeDescriptions": {}
302
302
  },
@@ -304,11 +304,11 @@
304
304
  },
305
305
  {
306
306
  "foreign": {
307
- "id": 38834,
307
+ "id": 38845,
308
308
  "name": "MASK_RESOURCE_NAMESPACE",
309
309
  "nodeType": "Identifier",
310
310
  "overloadedDeclarations": [],
311
- "referencedDeclaration": 39233,
311
+ "referencedDeclaration": 39244,
312
312
  "src": "305:23:98",
313
313
  "typeDescriptions": {}
314
314
  },
@@ -318,7 +318,7 @@
318
318
  "unitAlias": ""
319
319
  },
320
320
  {
321
- "id": 38840,
321
+ "id": 38851,
322
322
  "nodeType": "VariableDeclaration",
323
323
  "src": "365:40:98",
324
324
  "nodes": [],
@@ -326,7 +326,7 @@
326
326
  "mutability": "constant",
327
327
  "name": "NAMESPACE_BITS",
328
328
  "nameLocation": "382:14:98",
329
- "scope": 39104,
329
+ "scope": 39115,
330
330
  "stateVariable": false,
331
331
  "storageLocation": "default",
332
332
  "typeDescriptions": {
@@ -334,7 +334,7 @@
334
334
  "typeString": "uint256"
335
335
  },
336
336
  "typeName": {
337
- "id": 38836,
337
+ "id": 38847,
338
338
  "name": "uint256",
339
339
  "nodeType": "ElementaryTypeName",
340
340
  "src": "365:7:98",
@@ -348,14 +348,14 @@
348
348
  "typeIdentifier": "t_rational_112_by_1",
349
349
  "typeString": "int_const 112"
350
350
  },
351
- "id": 38839,
351
+ "id": 38850,
352
352
  "isConstant": false,
353
353
  "isLValue": false,
354
354
  "isPure": true,
355
355
  "lValueRequested": false,
356
356
  "leftExpression": {
357
357
  "hexValue": "3134",
358
- "id": 38837,
358
+ "id": 38848,
359
359
  "isConstant": false,
360
360
  "isLValue": false,
361
361
  "isPure": true,
@@ -373,7 +373,7 @@
373
373
  "operator": "*",
374
374
  "rightExpression": {
375
375
  "hexValue": "38",
376
- "id": 38838,
376
+ "id": 38849,
377
377
  "isConstant": false,
378
378
  "isLValue": false,
379
379
  "isPure": true,
@@ -396,7 +396,7 @@
396
396
  "visibility": "internal"
397
397
  },
398
398
  {
399
- "id": 38845,
399
+ "id": 38856,
400
400
  "nodeType": "VariableDeclaration",
401
401
  "src": "407:35:98",
402
402
  "nodes": [],
@@ -404,7 +404,7 @@
404
404
  "mutability": "constant",
405
405
  "name": "NAME_BITS",
406
406
  "nameLocation": "424:9:98",
407
- "scope": 39104,
407
+ "scope": 39115,
408
408
  "stateVariable": false,
409
409
  "storageLocation": "default",
410
410
  "typeDescriptions": {
@@ -412,7 +412,7 @@
412
412
  "typeString": "uint256"
413
413
  },
414
414
  "typeName": {
415
- "id": 38841,
415
+ "id": 38852,
416
416
  "name": "uint256",
417
417
  "nodeType": "ElementaryTypeName",
418
418
  "src": "407:7:98",
@@ -426,14 +426,14 @@
426
426
  "typeIdentifier": "t_rational_128_by_1",
427
427
  "typeString": "int_const 128"
428
428
  },
429
- "id": 38844,
429
+ "id": 38855,
430
430
  "isConstant": false,
431
431
  "isLValue": false,
432
432
  "isPure": true,
433
433
  "lValueRequested": false,
434
434
  "leftExpression": {
435
435
  "hexValue": "3136",
436
- "id": 38842,
436
+ "id": 38853,
437
437
  "isConstant": false,
438
438
  "isLValue": false,
439
439
  "isPure": true,
@@ -451,7 +451,7 @@
451
451
  "operator": "*",
452
452
  "rightExpression": {
453
453
  "hexValue": "38",
454
- "id": 38843,
454
+ "id": 38854,
455
455
  "isConstant": false,
456
456
  "isLValue": false,
457
457
  "isPure": true,
@@ -474,7 +474,7 @@
474
474
  "visibility": "internal"
475
475
  },
476
476
  {
477
- "id": 38851,
477
+ "id": 38862,
478
478
  "nodeType": "VariableDeclaration",
479
479
  "src": "445:66:98",
480
480
  "nodes": [],
@@ -482,7 +482,7 @@
482
482
  "mutability": "constant",
483
483
  "name": "ROOT_NAMESPACE_STRING",
484
484
  "nameLocation": "462:21:98",
485
- "scope": 39104,
485
+ "scope": 39115,
486
486
  "stateVariable": false,
487
487
  "storageLocation": "default",
488
488
  "typeDescriptions": {
@@ -490,7 +490,7 @@
490
490
  "typeString": "bytes16"
491
491
  },
492
492
  "typeName": {
493
- "id": 38846,
493
+ "id": 38857,
494
494
  "name": "bytes16",
495
495
  "nodeType": "ElementaryTypeName",
496
496
  "src": "445:7:98",
@@ -503,7 +503,7 @@
503
503
  "arguments": [
504
504
  {
505
505
  "hexValue": "524f4f545f4e414d455350414345",
506
- "id": 38849,
506
+ "id": 38860,
507
507
  "isConstant": false,
508
508
  "isLValue": false,
509
509
  "isPure": true,
@@ -525,7 +525,7 @@
525
525
  "typeString": "literal_string \"ROOT_NAMESPACE\""
526
526
  }
527
527
  ],
528
- "id": 38848,
528
+ "id": 38859,
529
529
  "isConstant": false,
530
530
  "isLValue": false,
531
531
  "isPure": true,
@@ -537,14 +537,14 @@
537
537
  "typeString": "type(bytes16)"
538
538
  },
539
539
  "typeName": {
540
- "id": 38847,
540
+ "id": 38858,
541
541
  "name": "bytes16",
542
542
  "nodeType": "ElementaryTypeName",
543
543
  "src": "486:7:98",
544
544
  "typeDescriptions": {}
545
545
  }
546
546
  },
547
- "id": 38850,
547
+ "id": 38861,
548
548
  "isConstant": false,
549
549
  "isLValue": false,
550
550
  "isPure": true,
@@ -563,7 +563,7 @@
563
563
  "visibility": "internal"
564
564
  },
565
565
  {
566
- "id": 38857,
566
+ "id": 38868,
567
567
  "nodeType": "VariableDeclaration",
568
568
  "src": "513:56:98",
569
569
  "nodes": [],
@@ -571,7 +571,7 @@
571
571
  "mutability": "constant",
572
572
  "name": "ROOT_NAME_STRING",
573
573
  "nameLocation": "530:16:98",
574
- "scope": 39104,
574
+ "scope": 39115,
575
575
  "stateVariable": false,
576
576
  "storageLocation": "default",
577
577
  "typeDescriptions": {
@@ -579,7 +579,7 @@
579
579
  "typeString": "bytes16"
580
580
  },
581
581
  "typeName": {
582
- "id": 38852,
582
+ "id": 38863,
583
583
  "name": "bytes16",
584
584
  "nodeType": "ElementaryTypeName",
585
585
  "src": "513:7:98",
@@ -592,7 +592,7 @@
592
592
  "arguments": [
593
593
  {
594
594
  "hexValue": "524f4f545f4e414d45",
595
- "id": 38855,
595
+ "id": 38866,
596
596
  "isConstant": false,
597
597
  "isLValue": false,
598
598
  "isPure": true,
@@ -614,7 +614,7 @@
614
614
  "typeString": "literal_string \"ROOT_NAME\""
615
615
  }
616
616
  ],
617
- "id": 38854,
617
+ "id": 38865,
618
618
  "isConstant": false,
619
619
  "isLValue": false,
620
620
  "isPure": true,
@@ -626,14 +626,14 @@
626
626
  "typeString": "type(bytes16)"
627
627
  },
628
628
  "typeName": {
629
- "id": 38853,
629
+ "id": 38864,
630
630
  "name": "bytes16",
631
631
  "nodeType": "ElementaryTypeName",
632
632
  "src": "549:7:98",
633
633
  "typeDescriptions": {}
634
634
  }
635
635
  },
636
- "id": 38856,
636
+ "id": 38867,
637
637
  "isConstant": false,
638
638
  "isLValue": false,
639
639
  "isPure": true,
@@ -652,7 +652,7 @@
652
652
  "visibility": "internal"
653
653
  },
654
654
  {
655
- "id": 38870,
655
+ "id": 38881,
656
656
  "nodeType": "VariableDeclaration",
657
657
  "src": "572:70:98",
658
658
  "nodes": [],
@@ -660,7 +660,7 @@
660
660
  "mutability": "constant",
661
661
  "name": "NAMESPACE_MASK",
662
662
  "nameLocation": "589:14:98",
663
- "scope": 39104,
663
+ "scope": 39115,
664
664
  "stateVariable": false,
665
665
  "storageLocation": "default",
666
666
  "typeDescriptions": {
@@ -668,7 +668,7 @@
668
668
  "typeString": "bytes32"
669
669
  },
670
670
  "typeName": {
671
- "id": 38858,
671
+ "id": 38869,
672
672
  "name": "bytes32",
673
673
  "nodeType": "ElementaryTypeName",
674
674
  "src": "572:7:98",
@@ -682,7 +682,7 @@
682
682
  "typeIdentifier": "t_bytes32",
683
683
  "typeString": "bytes32"
684
684
  },
685
- "id": 38869,
685
+ "id": 38880,
686
686
  "isConstant": false,
687
687
  "isLValue": false,
688
688
  "isPure": true,
@@ -690,7 +690,7 @@
690
690
  "leftExpression": {
691
691
  "arguments": [
692
692
  {
693
- "id": 38865,
693
+ "id": 38876,
694
694
  "isConstant": false,
695
695
  "isLValue": false,
696
696
  "isPure": true,
@@ -703,7 +703,7 @@
703
703
  "arguments": [
704
704
  {
705
705
  "hexValue": "",
706
- "id": 38863,
706
+ "id": 38874,
707
707
  "isConstant": false,
708
708
  "isLValue": false,
709
709
  "isPure": true,
@@ -725,7 +725,7 @@
725
725
  "typeString": "literal_string \"\""
726
726
  }
727
727
  ],
728
- "id": 38862,
728
+ "id": 38873,
729
729
  "isConstant": false,
730
730
  "isLValue": false,
731
731
  "isPure": true,
@@ -737,14 +737,14 @@
737
737
  "typeString": "type(bytes14)"
738
738
  },
739
739
  "typeName": {
740
- "id": 38861,
740
+ "id": 38872,
741
741
  "name": "bytes14",
742
742
  "nodeType": "ElementaryTypeName",
743
743
  "src": "615:7:98",
744
744
  "typeDescriptions": {}
745
745
  }
746
746
  },
747
- "id": 38864,
747
+ "id": 38875,
748
748
  "isConstant": false,
749
749
  "isLValue": false,
750
750
  "isPure": true,
@@ -773,7 +773,7 @@
773
773
  "typeString": "bytes14"
774
774
  }
775
775
  ],
776
- "id": 38860,
776
+ "id": 38871,
777
777
  "isConstant": false,
778
778
  "isLValue": false,
779
779
  "isPure": true,
@@ -785,14 +785,14 @@
785
785
  "typeString": "type(bytes32)"
786
786
  },
787
787
  "typeName": {
788
- "id": 38859,
788
+ "id": 38870,
789
789
  "name": "bytes32",
790
790
  "nodeType": "ElementaryTypeName",
791
791
  "src": "606:7:98",
792
792
  "typeDescriptions": {}
793
793
  }
794
794
  },
795
- "id": 38866,
795
+ "id": 38877,
796
796
  "isConstant": false,
797
797
  "isLValue": false,
798
798
  "isPure": true,
@@ -813,11 +813,11 @@
813
813
  "rightExpression": {
814
814
  "components": [
815
815
  {
816
- "id": 38867,
816
+ "id": 38878,
817
817
  "name": "TYPE_BITS",
818
818
  "nodeType": "Identifier",
819
819
  "overloadedDeclarations": [],
820
- "referencedDeclaration": 26196,
820
+ "referencedDeclaration": 26203,
821
821
  "src": "632:9:98",
822
822
  "typeDescriptions": {
823
823
  "typeIdentifier": "t_uint256",
@@ -825,7 +825,7 @@
825
825
  }
826
826
  }
827
827
  ],
828
- "id": 38868,
828
+ "id": 38879,
829
829
  "isConstant": false,
830
830
  "isInlineArray": false,
831
831
  "isLValue": false,
@@ -847,17 +847,17 @@
847
847
  "visibility": "internal"
848
848
  },
849
849
  {
850
- "id": 38983,
850
+ "id": 38994,
851
851
  "nodeType": "ContractDefinition",
852
852
  "src": "645:1255:98",
853
853
  "nodes": [
854
854
  {
855
- "id": 38911,
855
+ "id": 38922,
856
856
  "nodeType": "FunctionDefinition",
857
857
  "src": "969:257:98",
858
858
  "nodes": [],
859
859
  "body": {
860
- "id": 38910,
860
+ "id": 38921,
861
861
  "nodeType": "Block",
862
862
  "src": "1068:158:98",
863
863
  "nodes": [],
@@ -870,7 +870,7 @@
870
870
  "typeIdentifier": "t_bytes32",
871
871
  "typeString": "bytes32"
872
872
  },
873
- "id": 38907,
873
+ "id": 38918,
874
874
  "isConstant": false,
875
875
  "isLValue": false,
876
876
  "isPure": false,
@@ -880,7 +880,7 @@
880
880
  "typeIdentifier": "t_bytes32",
881
881
  "typeString": "bytes32"
882
882
  },
883
- "id": 38896,
883
+ "id": 38907,
884
884
  "isConstant": false,
885
885
  "isLValue": false,
886
886
  "isPure": false,
@@ -888,11 +888,11 @@
888
888
  "leftExpression": {
889
889
  "arguments": [
890
890
  {
891
- "id": 38887,
891
+ "id": 38898,
892
892
  "name": "typeId",
893
893
  "nodeType": "Identifier",
894
894
  "overloadedDeclarations": [],
895
- "referencedDeclaration": 38873,
895
+ "referencedDeclaration": 38884,
896
896
  "src": "1120:6:98",
897
897
  "typeDescriptions": {
898
898
  "typeIdentifier": "t_bytes2",
@@ -907,7 +907,7 @@
907
907
  "typeString": "bytes2"
908
908
  }
909
909
  ],
910
- "id": 38886,
910
+ "id": 38897,
911
911
  "isConstant": false,
912
912
  "isLValue": false,
913
913
  "isPure": true,
@@ -919,14 +919,14 @@
919
919
  "typeString": "type(bytes32)"
920
920
  },
921
921
  "typeName": {
922
- "id": 38885,
922
+ "id": 38896,
923
923
  "name": "bytes32",
924
924
  "nodeType": "ElementaryTypeName",
925
925
  "src": "1112:7:98",
926
926
  "typeDescriptions": {}
927
927
  }
928
928
  },
929
- "id": 38888,
929
+ "id": 38899,
930
930
  "isConstant": false,
931
931
  "isLValue": false,
932
932
  "isPure": false,
@@ -951,7 +951,7 @@
951
951
  "typeIdentifier": "t_bytes32",
952
952
  "typeString": "bytes32"
953
953
  },
954
- "id": 38894,
954
+ "id": 38905,
955
955
  "isConstant": false,
956
956
  "isLValue": false,
957
957
  "isPure": false,
@@ -959,11 +959,11 @@
959
959
  "leftExpression": {
960
960
  "arguments": [
961
961
  {
962
- "id": 38891,
962
+ "id": 38902,
963
963
  "name": "namespace",
964
964
  "nodeType": "Identifier",
965
965
  "overloadedDeclarations": [],
966
- "referencedDeclaration": 38875,
966
+ "referencedDeclaration": 38886,
967
967
  "src": "1139:9:98",
968
968
  "typeDescriptions": {
969
969
  "typeIdentifier": "t_bytes14",
@@ -978,7 +978,7 @@
978
978
  "typeString": "bytes14"
979
979
  }
980
980
  ],
981
- "id": 38890,
981
+ "id": 38901,
982
982
  "isConstant": false,
983
983
  "isLValue": false,
984
984
  "isPure": true,
@@ -990,14 +990,14 @@
990
990
  "typeString": "type(bytes32)"
991
991
  },
992
992
  "typeName": {
993
- "id": 38889,
993
+ "id": 38900,
994
994
  "name": "bytes32",
995
995
  "nodeType": "ElementaryTypeName",
996
996
  "src": "1131:7:98",
997
997
  "typeDescriptions": {}
998
998
  }
999
999
  },
1000
- "id": 38892,
1000
+ "id": 38903,
1001
1001
  "isConstant": false,
1002
1002
  "isLValue": false,
1003
1003
  "isPure": false,
@@ -1016,11 +1016,11 @@
1016
1016
  "nodeType": "BinaryOperation",
1017
1017
  "operator": ">>",
1018
1018
  "rightExpression": {
1019
- "id": 38893,
1019
+ "id": 38904,
1020
1020
  "name": "TYPE_BITS",
1021
1021
  "nodeType": "Identifier",
1022
1022
  "overloadedDeclarations": [],
1023
- "referencedDeclaration": 26196,
1023
+ "referencedDeclaration": 26203,
1024
1024
  "src": "1153:9:98",
1025
1025
  "typeDescriptions": {
1026
1026
  "typeIdentifier": "t_uint256",
@@ -1034,7 +1034,7 @@
1034
1034
  }
1035
1035
  }
1036
1036
  ],
1037
- "id": 38895,
1037
+ "id": 38906,
1038
1038
  "isConstant": false,
1039
1039
  "isInlineArray": false,
1040
1040
  "isLValue": false,
@@ -1062,7 +1062,7 @@
1062
1062
  "typeIdentifier": "t_bytes32",
1063
1063
  "typeString": "bytes32"
1064
1064
  },
1065
- "id": 38905,
1065
+ "id": 38916,
1066
1066
  "isConstant": false,
1067
1067
  "isLValue": false,
1068
1068
  "isPure": false,
@@ -1070,11 +1070,11 @@
1070
1070
  "leftExpression": {
1071
1071
  "arguments": [
1072
1072
  {
1073
- "id": 38899,
1073
+ "id": 38910,
1074
1074
  "name": "name",
1075
1075
  "nodeType": "Identifier",
1076
1076
  "overloadedDeclarations": [],
1077
- "referencedDeclaration": 38877,
1077
+ "referencedDeclaration": 38888,
1078
1078
  "src": "1175:4:98",
1079
1079
  "typeDescriptions": {
1080
1080
  "typeIdentifier": "t_bytes16",
@@ -1089,7 +1089,7 @@
1089
1089
  "typeString": "bytes16"
1090
1090
  }
1091
1091
  ],
1092
- "id": 38898,
1092
+ "id": 38909,
1093
1093
  "isConstant": false,
1094
1094
  "isLValue": false,
1095
1095
  "isPure": true,
@@ -1101,14 +1101,14 @@
1101
1101
  "typeString": "type(bytes32)"
1102
1102
  },
1103
1103
  "typeName": {
1104
- "id": 38897,
1104
+ "id": 38908,
1105
1105
  "name": "bytes32",
1106
1106
  "nodeType": "ElementaryTypeName",
1107
1107
  "src": "1167:7:98",
1108
1108
  "typeDescriptions": {}
1109
1109
  }
1110
1110
  },
1111
- "id": 38900,
1111
+ "id": 38911,
1112
1112
  "isConstant": false,
1113
1113
  "isLValue": false,
1114
1114
  "isPure": false,
@@ -1133,17 +1133,17 @@
1133
1133
  "typeIdentifier": "t_uint256",
1134
1134
  "typeString": "uint256"
1135
1135
  },
1136
- "id": 38903,
1136
+ "id": 38914,
1137
1137
  "isConstant": false,
1138
1138
  "isLValue": false,
1139
1139
  "isPure": true,
1140
1140
  "lValueRequested": false,
1141
1141
  "leftExpression": {
1142
- "id": 38901,
1142
+ "id": 38912,
1143
1143
  "name": "TYPE_BITS",
1144
1144
  "nodeType": "Identifier",
1145
1145
  "overloadedDeclarations": [],
1146
- "referencedDeclaration": 26196,
1146
+ "referencedDeclaration": 26203,
1147
1147
  "src": "1185:9:98",
1148
1148
  "typeDescriptions": {
1149
1149
  "typeIdentifier": "t_uint256",
@@ -1153,11 +1153,11 @@
1153
1153
  "nodeType": "BinaryOperation",
1154
1154
  "operator": "+",
1155
1155
  "rightExpression": {
1156
- "id": 38902,
1156
+ "id": 38913,
1157
1157
  "name": "NAMESPACE_BITS",
1158
1158
  "nodeType": "Identifier",
1159
1159
  "overloadedDeclarations": [],
1160
- "referencedDeclaration": 38840,
1160
+ "referencedDeclaration": 38851,
1161
1161
  "src": "1197:14:98",
1162
1162
  "typeDescriptions": {
1163
1163
  "typeIdentifier": "t_uint256",
@@ -1171,7 +1171,7 @@
1171
1171
  }
1172
1172
  }
1173
1173
  ],
1174
- "id": 38904,
1174
+ "id": 38915,
1175
1175
  "isConstant": false,
1176
1176
  "isInlineArray": false,
1177
1177
  "isLValue": false,
@@ -1191,7 +1191,7 @@
1191
1191
  }
1192
1192
  }
1193
1193
  ],
1194
- "id": 38906,
1194
+ "id": 38917,
1195
1195
  "isConstant": false,
1196
1196
  "isInlineArray": false,
1197
1197
  "isLValue": false,
@@ -1219,18 +1219,18 @@
1219
1219
  }
1220
1220
  ],
1221
1221
  "expression": {
1222
- "id": 38883,
1222
+ "id": 38894,
1223
1223
  "name": "ResourceId",
1224
1224
  "nodeType": "Identifier",
1225
1225
  "overloadedDeclarations": [],
1226
- "referencedDeclaration": 26191,
1226
+ "referencedDeclaration": 26198,
1227
1227
  "src": "1087:10:98",
1228
1228
  "typeDescriptions": {
1229
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26191_$",
1229
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26198_$",
1230
1230
  "typeString": "type(ResourceId)"
1231
1231
  }
1232
1232
  },
1233
- "id": 38884,
1233
+ "id": 38895,
1234
1234
  "isConstant": false,
1235
1235
  "isLValue": false,
1236
1236
  "isPure": true,
@@ -1240,11 +1240,11 @@
1240
1240
  "nodeType": "MemberAccess",
1241
1241
  "src": "1087:15:98",
1242
1242
  "typeDescriptions": {
1243
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26191_$",
1243
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26198_$",
1244
1244
  "typeString": "function (bytes32) pure returns (ResourceId)"
1245
1245
  }
1246
1246
  },
1247
- "id": 38908,
1247
+ "id": 38919,
1248
1248
  "isConstant": false,
1249
1249
  "isLValue": false,
1250
1250
  "isPure": false,
@@ -1256,19 +1256,19 @@
1256
1256
  "src": "1087:134:98",
1257
1257
  "tryCall": false,
1258
1258
  "typeDescriptions": {
1259
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
1259
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
1260
1260
  "typeString": "ResourceId"
1261
1261
  }
1262
1262
  },
1263
- "functionReturnParameters": 38882,
1264
- "id": 38909,
1263
+ "functionReturnParameters": 38893,
1264
+ "id": 38920,
1265
1265
  "nodeType": "Return",
1266
1266
  "src": "1074:147:98"
1267
1267
  }
1268
1268
  ]
1269
1269
  },
1270
1270
  "documentation": {
1271
- "id": 38871,
1271
+ "id": 38882,
1272
1272
  "nodeType": "StructuredDocumentation",
1273
1273
  "src": "676:290:98",
1274
1274
  "text": " Create a 32-byte resource ID from a namespace, name and type.\n A resource ID is a 32-byte value that uniquely identifies a resource.\n The first 14 bytes represent the namespace,\n the next 16 bytes represent the name,\n the last 2 bytes represent the type."
@@ -1279,17 +1279,17 @@
1279
1279
  "name": "encode",
1280
1280
  "nameLocation": "978:6:98",
1281
1281
  "parameters": {
1282
- "id": 38878,
1282
+ "id": 38889,
1283
1283
  "nodeType": "ParameterList",
1284
1284
  "parameters": [
1285
1285
  {
1286
1286
  "constant": false,
1287
- "id": 38873,
1287
+ "id": 38884,
1288
1288
  "mutability": "mutable",
1289
1289
  "name": "typeId",
1290
1290
  "nameLocation": "992:6:98",
1291
1291
  "nodeType": "VariableDeclaration",
1292
- "scope": 38911,
1292
+ "scope": 38922,
1293
1293
  "src": "985:13:98",
1294
1294
  "stateVariable": false,
1295
1295
  "storageLocation": "default",
@@ -1298,7 +1298,7 @@
1298
1298
  "typeString": "bytes2"
1299
1299
  },
1300
1300
  "typeName": {
1301
- "id": 38872,
1301
+ "id": 38883,
1302
1302
  "name": "bytes2",
1303
1303
  "nodeType": "ElementaryTypeName",
1304
1304
  "src": "985:6:98",
@@ -1311,12 +1311,12 @@
1311
1311
  },
1312
1312
  {
1313
1313
  "constant": false,
1314
- "id": 38875,
1314
+ "id": 38886,
1315
1315
  "mutability": "mutable",
1316
1316
  "name": "namespace",
1317
1317
  "nameLocation": "1008:9:98",
1318
1318
  "nodeType": "VariableDeclaration",
1319
- "scope": 38911,
1319
+ "scope": 38922,
1320
1320
  "src": "1000:17:98",
1321
1321
  "stateVariable": false,
1322
1322
  "storageLocation": "default",
@@ -1325,7 +1325,7 @@
1325
1325
  "typeString": "bytes14"
1326
1326
  },
1327
1327
  "typeName": {
1328
- "id": 38874,
1328
+ "id": 38885,
1329
1329
  "name": "bytes14",
1330
1330
  "nodeType": "ElementaryTypeName",
1331
1331
  "src": "1000:7:98",
@@ -1338,12 +1338,12 @@
1338
1338
  },
1339
1339
  {
1340
1340
  "constant": false,
1341
- "id": 38877,
1341
+ "id": 38888,
1342
1342
  "mutability": "mutable",
1343
1343
  "name": "name",
1344
1344
  "nameLocation": "1027:4:98",
1345
1345
  "nodeType": "VariableDeclaration",
1346
- "scope": 38911,
1346
+ "scope": 38922,
1347
1347
  "src": "1019:12:98",
1348
1348
  "stateVariable": false,
1349
1349
  "storageLocation": "default",
@@ -1352,7 +1352,7 @@
1352
1352
  "typeString": "bytes16"
1353
1353
  },
1354
1354
  "typeName": {
1355
- "id": 38876,
1355
+ "id": 38887,
1356
1356
  "name": "bytes16",
1357
1357
  "nodeType": "ElementaryTypeName",
1358
1358
  "src": "1019:7:98",
@@ -1367,41 +1367,41 @@
1367
1367
  "src": "984:48:98"
1368
1368
  },
1369
1369
  "returnParameters": {
1370
- "id": 38882,
1370
+ "id": 38893,
1371
1371
  "nodeType": "ParameterList",
1372
1372
  "parameters": [
1373
1373
  {
1374
1374
  "constant": false,
1375
- "id": 38881,
1375
+ "id": 38892,
1376
1376
  "mutability": "mutable",
1377
1377
  "name": "",
1378
1378
  "nameLocation": "-1:-1:-1",
1379
1379
  "nodeType": "VariableDeclaration",
1380
- "scope": 38911,
1380
+ "scope": 38922,
1381
1381
  "src": "1056:10:98",
1382
1382
  "stateVariable": false,
1383
1383
  "storageLocation": "default",
1384
1384
  "typeDescriptions": {
1385
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
1385
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
1386
1386
  "typeString": "ResourceId"
1387
1387
  },
1388
1388
  "typeName": {
1389
- "id": 38880,
1389
+ "id": 38891,
1390
1390
  "nodeType": "UserDefinedTypeName",
1391
1391
  "pathNode": {
1392
- "id": 38879,
1392
+ "id": 38890,
1393
1393
  "name": "ResourceId",
1394
1394
  "nameLocations": [
1395
1395
  "1056:10:98"
1396
1396
  ],
1397
1397
  "nodeType": "IdentifierPath",
1398
- "referencedDeclaration": 26191,
1398
+ "referencedDeclaration": 26198,
1399
1399
  "src": "1056:10:98"
1400
1400
  },
1401
- "referencedDeclaration": 26191,
1401
+ "referencedDeclaration": 26198,
1402
1402
  "src": "1056:10:98",
1403
1403
  "typeDescriptions": {
1404
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
1404
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
1405
1405
  "typeString": "ResourceId"
1406
1406
  }
1407
1407
  },
@@ -1410,18 +1410,18 @@
1410
1410
  ],
1411
1411
  "src": "1055:12:98"
1412
1412
  },
1413
- "scope": 38983,
1413
+ "scope": 38994,
1414
1414
  "stateMutability": "pure",
1415
1415
  "virtual": false,
1416
1416
  "visibility": "internal"
1417
1417
  },
1418
1418
  {
1419
- "id": 38938,
1419
+ "id": 38949,
1420
1420
  "nodeType": "FunctionDefinition",
1421
1421
  "src": "1294:179:98",
1422
1422
  "nodes": [],
1423
1423
  "body": {
1424
- "id": 38937,
1424
+ "id": 38948,
1425
1425
  "nodeType": "Block",
1426
1426
  "src": "1373:100:98",
1427
1427
  "nodes": [],
@@ -1434,7 +1434,7 @@
1434
1434
  "typeIdentifier": "t_bytes32",
1435
1435
  "typeString": "bytes32"
1436
1436
  },
1437
- "id": 38934,
1437
+ "id": 38945,
1438
1438
  "isConstant": false,
1439
1439
  "isLValue": false,
1440
1440
  "isPure": false,
@@ -1442,11 +1442,11 @@
1442
1442
  "leftExpression": {
1443
1443
  "arguments": [
1444
1444
  {
1445
- "id": 38924,
1445
+ "id": 38935,
1446
1446
  "name": "RESOURCE_NAMESPACE",
1447
1447
  "nodeType": "Identifier",
1448
1448
  "overloadedDeclarations": [],
1449
- "referencedDeclaration": 39221,
1449
+ "referencedDeclaration": 39232,
1450
1450
  "src": "1410:18:98",
1451
1451
  "typeDescriptions": {
1452
1452
  "typeIdentifier": "t_bytes2",
@@ -1461,7 +1461,7 @@
1461
1461
  "typeString": "bytes2"
1462
1462
  }
1463
1463
  ],
1464
- "id": 38923,
1464
+ "id": 38934,
1465
1465
  "isConstant": false,
1466
1466
  "isLValue": false,
1467
1467
  "isPure": true,
@@ -1473,14 +1473,14 @@
1473
1473
  "typeString": "type(bytes32)"
1474
1474
  },
1475
1475
  "typeName": {
1476
- "id": 38922,
1476
+ "id": 38933,
1477
1477
  "name": "bytes32",
1478
1478
  "nodeType": "ElementaryTypeName",
1479
1479
  "src": "1402:7:98",
1480
1480
  "typeDescriptions": {}
1481
1481
  }
1482
1482
  },
1483
- "id": 38925,
1483
+ "id": 38936,
1484
1484
  "isConstant": false,
1485
1485
  "isLValue": false,
1486
1486
  "isPure": true,
@@ -1505,7 +1505,7 @@
1505
1505
  "typeIdentifier": "t_bytes32",
1506
1506
  "typeString": "bytes32"
1507
1507
  },
1508
- "id": 38932,
1508
+ "id": 38943,
1509
1509
  "isConstant": false,
1510
1510
  "isLValue": false,
1511
1511
  "isPure": false,
@@ -1513,11 +1513,11 @@
1513
1513
  "leftExpression": {
1514
1514
  "arguments": [
1515
1515
  {
1516
- "id": 38928,
1516
+ "id": 38939,
1517
1517
  "name": "namespace",
1518
1518
  "nodeType": "Identifier",
1519
1519
  "overloadedDeclarations": [],
1520
- "referencedDeclaration": 38914,
1520
+ "referencedDeclaration": 38925,
1521
1521
  "src": "1441:9:98",
1522
1522
  "typeDescriptions": {
1523
1523
  "typeIdentifier": "t_bytes14",
@@ -1532,7 +1532,7 @@
1532
1532
  "typeString": "bytes14"
1533
1533
  }
1534
1534
  ],
1535
- "id": 38927,
1535
+ "id": 38938,
1536
1536
  "isConstant": false,
1537
1537
  "isLValue": false,
1538
1538
  "isPure": true,
@@ -1544,14 +1544,14 @@
1544
1544
  "typeString": "type(bytes32)"
1545
1545
  },
1546
1546
  "typeName": {
1547
- "id": 38926,
1547
+ "id": 38937,
1548
1548
  "name": "bytes32",
1549
1549
  "nodeType": "ElementaryTypeName",
1550
1550
  "src": "1433:7:98",
1551
1551
  "typeDescriptions": {}
1552
1552
  }
1553
1553
  },
1554
- "id": 38929,
1554
+ "id": 38940,
1555
1555
  "isConstant": false,
1556
1556
  "isLValue": false,
1557
1557
  "isPure": false,
@@ -1572,11 +1572,11 @@
1572
1572
  "rightExpression": {
1573
1573
  "components": [
1574
1574
  {
1575
- "id": 38930,
1575
+ "id": 38941,
1576
1576
  "name": "TYPE_BITS",
1577
1577
  "nodeType": "Identifier",
1578
1578
  "overloadedDeclarations": [],
1579
- "referencedDeclaration": 26196,
1579
+ "referencedDeclaration": 26203,
1580
1580
  "src": "1456:9:98",
1581
1581
  "typeDescriptions": {
1582
1582
  "typeIdentifier": "t_uint256",
@@ -1584,7 +1584,7 @@
1584
1584
  }
1585
1585
  }
1586
1586
  ],
1587
- "id": 38931,
1587
+ "id": 38942,
1588
1588
  "isConstant": false,
1589
1589
  "isInlineArray": false,
1590
1590
  "isLValue": false,
@@ -1604,7 +1604,7 @@
1604
1604
  }
1605
1605
  }
1606
1606
  ],
1607
- "id": 38933,
1607
+ "id": 38944,
1608
1608
  "isConstant": false,
1609
1609
  "isInlineArray": false,
1610
1610
  "isLValue": false,
@@ -1632,18 +1632,18 @@
1632
1632
  }
1633
1633
  ],
1634
1634
  "expression": {
1635
- "id": 38920,
1635
+ "id": 38931,
1636
1636
  "name": "ResourceId",
1637
1637
  "nodeType": "Identifier",
1638
1638
  "overloadedDeclarations": [],
1639
- "referencedDeclaration": 26191,
1639
+ "referencedDeclaration": 26198,
1640
1640
  "src": "1386:10:98",
1641
1641
  "typeDescriptions": {
1642
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26191_$",
1642
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26198_$",
1643
1643
  "typeString": "type(ResourceId)"
1644
1644
  }
1645
1645
  },
1646
- "id": 38921,
1646
+ "id": 38932,
1647
1647
  "isConstant": false,
1648
1648
  "isLValue": false,
1649
1649
  "isPure": true,
@@ -1653,11 +1653,11 @@
1653
1653
  "nodeType": "MemberAccess",
1654
1654
  "src": "1386:15:98",
1655
1655
  "typeDescriptions": {
1656
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26191_$",
1656
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26198_$",
1657
1657
  "typeString": "function (bytes32) pure returns (ResourceId)"
1658
1658
  }
1659
1659
  },
1660
- "id": 38935,
1660
+ "id": 38946,
1661
1661
  "isConstant": false,
1662
1662
  "isLValue": false,
1663
1663
  "isPure": false,
@@ -1669,19 +1669,19 @@
1669
1669
  "src": "1386:82:98",
1670
1670
  "tryCall": false,
1671
1671
  "typeDescriptions": {
1672
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
1672
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
1673
1673
  "typeString": "ResourceId"
1674
1674
  }
1675
1675
  },
1676
- "functionReturnParameters": 38919,
1677
- "id": 38936,
1676
+ "functionReturnParameters": 38930,
1677
+ "id": 38947,
1678
1678
  "nodeType": "Return",
1679
1679
  "src": "1379:89:98"
1680
1680
  }
1681
1681
  ]
1682
1682
  },
1683
1683
  "documentation": {
1684
- "id": 38912,
1684
+ "id": 38923,
1685
1685
  "nodeType": "StructuredDocumentation",
1686
1686
  "src": "1230:61:98",
1687
1687
  "text": " Create a 32-byte resource ID from a namespace."
@@ -1692,17 +1692,17 @@
1692
1692
  "name": "encodeNamespace",
1693
1693
  "nameLocation": "1303:15:98",
1694
1694
  "parameters": {
1695
- "id": 38915,
1695
+ "id": 38926,
1696
1696
  "nodeType": "ParameterList",
1697
1697
  "parameters": [
1698
1698
  {
1699
1699
  "constant": false,
1700
- "id": 38914,
1700
+ "id": 38925,
1701
1701
  "mutability": "mutable",
1702
1702
  "name": "namespace",
1703
1703
  "nameLocation": "1327:9:98",
1704
1704
  "nodeType": "VariableDeclaration",
1705
- "scope": 38938,
1705
+ "scope": 38949,
1706
1706
  "src": "1319:17:98",
1707
1707
  "stateVariable": false,
1708
1708
  "storageLocation": "default",
@@ -1711,7 +1711,7 @@
1711
1711
  "typeString": "bytes14"
1712
1712
  },
1713
1713
  "typeName": {
1714
- "id": 38913,
1714
+ "id": 38924,
1715
1715
  "name": "bytes14",
1716
1716
  "nodeType": "ElementaryTypeName",
1717
1717
  "src": "1319:7:98",
@@ -1726,41 +1726,41 @@
1726
1726
  "src": "1318:19:98"
1727
1727
  },
1728
1728
  "returnParameters": {
1729
- "id": 38919,
1729
+ "id": 38930,
1730
1730
  "nodeType": "ParameterList",
1731
1731
  "parameters": [
1732
1732
  {
1733
1733
  "constant": false,
1734
- "id": 38918,
1734
+ "id": 38929,
1735
1735
  "mutability": "mutable",
1736
1736
  "name": "",
1737
1737
  "nameLocation": "-1:-1:-1",
1738
1738
  "nodeType": "VariableDeclaration",
1739
- "scope": 38938,
1739
+ "scope": 38949,
1740
1740
  "src": "1361:10:98",
1741
1741
  "stateVariable": false,
1742
1742
  "storageLocation": "default",
1743
1743
  "typeDescriptions": {
1744
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
1744
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
1745
1745
  "typeString": "ResourceId"
1746
1746
  },
1747
1747
  "typeName": {
1748
- "id": 38917,
1748
+ "id": 38928,
1749
1749
  "nodeType": "UserDefinedTypeName",
1750
1750
  "pathNode": {
1751
- "id": 38916,
1751
+ "id": 38927,
1752
1752
  "name": "ResourceId",
1753
1753
  "nameLocations": [
1754
1754
  "1361:10:98"
1755
1755
  ],
1756
1756
  "nodeType": "IdentifierPath",
1757
- "referencedDeclaration": 26191,
1757
+ "referencedDeclaration": 26198,
1758
1758
  "src": "1361:10:98"
1759
1759
  },
1760
- "referencedDeclaration": 26191,
1760
+ "referencedDeclaration": 26198,
1761
1761
  "src": "1361:10:98",
1762
1762
  "typeDescriptions": {
1763
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
1763
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
1764
1764
  "typeString": "ResourceId"
1765
1765
  }
1766
1766
  },
@@ -1769,35 +1769,35 @@
1769
1769
  ],
1770
1770
  "src": "1360:12:98"
1771
1771
  },
1772
- "scope": 38983,
1772
+ "scope": 38994,
1773
1773
  "stateMutability": "pure",
1774
1774
  "virtual": false,
1775
1775
  "visibility": "internal"
1776
1776
  },
1777
1777
  {
1778
- "id": 38982,
1778
+ "id": 38993,
1779
1779
  "nodeType": "FunctionDefinition",
1780
1780
  "src": "1576:322:98",
1781
1781
  "nodes": [],
1782
1782
  "body": {
1783
- "id": 38981,
1783
+ "id": 38992,
1784
1784
  "nodeType": "Block",
1785
1785
  "src": "1661:237:98",
1786
1786
  "nodes": [],
1787
1787
  "statements": [
1788
1788
  {
1789
1789
  "assignments": [
1790
- 38947
1790
+ 38958
1791
1791
  ],
1792
1792
  "declarations": [
1793
1793
  {
1794
1794
  "constant": false,
1795
- "id": 38947,
1795
+ "id": 38958,
1796
1796
  "mutability": "mutable",
1797
1797
  "name": "length",
1798
1798
  "nameLocation": "1675:6:98",
1799
1799
  "nodeType": "VariableDeclaration",
1800
- "scope": 38981,
1800
+ "scope": 38992,
1801
1801
  "src": "1667:14:98",
1802
1802
  "stateVariable": false,
1803
1803
  "storageLocation": "default",
@@ -1806,7 +1806,7 @@
1806
1806
  "typeString": "uint256"
1807
1807
  },
1808
1808
  "typeName": {
1809
- "id": 38946,
1809
+ "id": 38957,
1810
1810
  "name": "uint256",
1811
1811
  "nodeType": "ElementaryTypeName",
1812
1812
  "src": "1667:7:98",
@@ -1818,7 +1818,7 @@
1818
1818
  "visibility": "internal"
1819
1819
  }
1820
1820
  ],
1821
- "id": 38948,
1821
+ "id": 38959,
1822
1822
  "nodeType": "VariableDeclarationStatement",
1823
1823
  "src": "1667:14:98"
1824
1824
  },
@@ -1829,7 +1829,7 @@
1829
1829
  "typeIdentifier": "t_bytes1",
1830
1830
  "typeString": "bytes1"
1831
1831
  },
1832
- "id": 38961,
1832
+ "id": 38972,
1833
1833
  "isConstant": false,
1834
1834
  "isLValue": false,
1835
1835
  "isPure": false,
@@ -1837,11 +1837,11 @@
1837
1837
  "leftExpression": {
1838
1838
  "arguments": [
1839
1839
  {
1840
- "id": 38957,
1840
+ "id": 38968,
1841
1841
  "name": "paddedString",
1842
1842
  "nodeType": "Identifier",
1843
1843
  "overloadedDeclarations": [],
1844
- "referencedDeclaration": 38941,
1844
+ "referencedDeclaration": 38952,
1845
1845
  "src": "1734:12:98",
1846
1846
  "typeDescriptions": {
1847
1847
  "typeIdentifier": "t_bytes16",
@@ -1849,11 +1849,11 @@
1849
1849
  }
1850
1850
  },
1851
1851
  {
1852
- "id": 38958,
1852
+ "id": 38969,
1853
1853
  "name": "length",
1854
1854
  "nodeType": "Identifier",
1855
1855
  "overloadedDeclarations": [],
1856
- "referencedDeclaration": 38947,
1856
+ "referencedDeclaration": 38958,
1857
1857
  "src": "1748:6:98",
1858
1858
  "typeDescriptions": {
1859
1859
  "typeIdentifier": "t_uint256",
@@ -1873,18 +1873,18 @@
1873
1873
  }
1874
1874
  ],
1875
1875
  "expression": {
1876
- "id": 38955,
1876
+ "id": 38966,
1877
1877
  "name": "Bytes",
1878
1878
  "nodeType": "Identifier",
1879
1879
  "overloadedDeclarations": [],
1880
- "referencedDeclaration": 25066,
1880
+ "referencedDeclaration": 25073,
1881
1881
  "src": "1721:5:98",
1882
1882
  "typeDescriptions": {
1883
- "typeIdentifier": "t_type$_t_contract$_Bytes_$25066_$",
1883
+ "typeIdentifier": "t_type$_t_contract$_Bytes_$25073_$",
1884
1884
  "typeString": "type(library Bytes)"
1885
1885
  }
1886
1886
  },
1887
- "id": 38956,
1887
+ "id": 38967,
1888
1888
  "isConstant": false,
1889
1889
  "isLValue": false,
1890
1890
  "isPure": false,
@@ -1892,14 +1892,14 @@
1892
1892
  "memberLocation": "1727:6:98",
1893
1893
  "memberName": "slice1",
1894
1894
  "nodeType": "MemberAccess",
1895
- "referencedDeclaration": 24490,
1895
+ "referencedDeclaration": 24497,
1896
1896
  "src": "1721:12:98",
1897
1897
  "typeDescriptions": {
1898
1898
  "typeIdentifier": "t_function_internal_pure$_t_bytes32_$_t_uint256_$returns$_t_bytes1_$",
1899
1899
  "typeString": "function (bytes32,uint256) pure returns (bytes1)"
1900
1900
  }
1901
1901
  },
1902
- "id": 38959,
1902
+ "id": 38970,
1903
1903
  "isConstant": false,
1904
1904
  "isLValue": false,
1905
1905
  "isPure": false,
@@ -1919,7 +1919,7 @@
1919
1919
  "operator": "==",
1920
1920
  "rightExpression": {
1921
1921
  "hexValue": "30",
1922
- "id": 38960,
1922
+ "id": 38971,
1923
1923
  "isConstant": false,
1924
1924
  "isLValue": false,
1925
1925
  "isPure": true,
@@ -1939,11 +1939,11 @@
1939
1939
  "typeString": "bool"
1940
1940
  }
1941
1941
  },
1942
- "id": 38963,
1942
+ "id": 38974,
1943
1943
  "nodeType": "IfStatement",
1944
1944
  "src": "1717:50:98",
1945
1945
  "trueBody": {
1946
- "id": 38962,
1946
+ "id": 38973,
1947
1947
  "nodeType": "Break",
1948
1948
  "src": "1762:5:98"
1949
1949
  }
@@ -1953,17 +1953,17 @@
1953
1953
  "typeIdentifier": "t_uint256",
1954
1954
  "typeString": "uint256"
1955
1955
  },
1956
- "id": 38951,
1956
+ "id": 38962,
1957
1957
  "isConstant": false,
1958
1958
  "isLValue": false,
1959
1959
  "isPure": false,
1960
1960
  "lValueRequested": false,
1961
1961
  "leftExpression": {
1962
- "id": 38949,
1962
+ "id": 38960,
1963
1963
  "name": "length",
1964
1964
  "nodeType": "Identifier",
1965
1965
  "overloadedDeclarations": [],
1966
- "referencedDeclaration": 38947,
1966
+ "referencedDeclaration": 38958,
1967
1967
  "src": "1694:6:98",
1968
1968
  "typeDescriptions": {
1969
1969
  "typeIdentifier": "t_uint256",
@@ -1974,7 +1974,7 @@
1974
1974
  "operator": "<",
1975
1975
  "rightExpression": {
1976
1976
  "hexValue": "3136",
1977
- "id": 38950,
1977
+ "id": 38961,
1978
1978
  "isConstant": false,
1979
1979
  "isLValue": false,
1980
1980
  "isPure": true,
@@ -1994,10 +1994,10 @@
1994
1994
  "typeString": "bool"
1995
1995
  }
1996
1996
  },
1997
- "id": 38964,
1997
+ "id": 38975,
1998
1998
  "loopExpression": {
1999
1999
  "expression": {
2000
- "id": 38953,
2000
+ "id": 38964,
2001
2001
  "isConstant": false,
2002
2002
  "isLValue": false,
2003
2003
  "isPure": false,
@@ -2007,11 +2007,11 @@
2007
2007
  "prefix": false,
2008
2008
  "src": "1707:8:98",
2009
2009
  "subExpression": {
2010
- "id": 38952,
2010
+ "id": 38963,
2011
2011
  "name": "length",
2012
2012
  "nodeType": "Identifier",
2013
2013
  "overloadedDeclarations": [],
2014
- "referencedDeclaration": 38947,
2014
+ "referencedDeclaration": 38958,
2015
2015
  "src": "1707:6:98",
2016
2016
  "typeDescriptions": {
2017
2017
  "typeIdentifier": "t_uint256",
@@ -2023,7 +2023,7 @@
2023
2023
  "typeString": "uint256"
2024
2024
  }
2025
2025
  },
2026
- "id": 38954,
2026
+ "id": 38965,
2027
2027
  "nodeType": "ExpressionStatement",
2028
2028
  "src": "1707:8:98"
2029
2029
  },
@@ -2032,17 +2032,17 @@
2032
2032
  },
2033
2033
  {
2034
2034
  "assignments": [
2035
- 38966
2035
+ 38977
2036
2036
  ],
2037
2037
  "declarations": [
2038
2038
  {
2039
2039
  "constant": false,
2040
- "id": 38966,
2040
+ "id": 38977,
2041
2041
  "mutability": "mutable",
2042
2042
  "name": "packedSelector",
2043
2043
  "nameLocation": "1786:14:98",
2044
2044
  "nodeType": "VariableDeclaration",
2045
- "scope": 38981,
2045
+ "scope": 38992,
2046
2046
  "src": "1773:27:98",
2047
2047
  "stateVariable": false,
2048
2048
  "storageLocation": "memory",
@@ -2051,7 +2051,7 @@
2051
2051
  "typeString": "bytes"
2052
2052
  },
2053
2053
  "typeName": {
2054
- "id": 38965,
2054
+ "id": 38976,
2055
2055
  "name": "bytes",
2056
2056
  "nodeType": "ElementaryTypeName",
2057
2057
  "src": "1773:5:98",
@@ -2063,15 +2063,15 @@
2063
2063
  "visibility": "internal"
2064
2064
  }
2065
2065
  ],
2066
- "id": 38971,
2066
+ "id": 38982,
2067
2067
  "initialValue": {
2068
2068
  "arguments": [
2069
2069
  {
2070
- "id": 38969,
2070
+ "id": 38980,
2071
2071
  "name": "paddedString",
2072
2072
  "nodeType": "Identifier",
2073
2073
  "overloadedDeclarations": [],
2074
- "referencedDeclaration": 38941,
2074
+ "referencedDeclaration": 38952,
2075
2075
  "src": "1820:12:98",
2076
2076
  "typeDescriptions": {
2077
2077
  "typeIdentifier": "t_bytes16",
@@ -2087,7 +2087,7 @@
2087
2087
  }
2088
2088
  ],
2089
2089
  "expression": {
2090
- "id": 38967,
2090
+ "id": 38978,
2091
2091
  "name": "abi",
2092
2092
  "nodeType": "Identifier",
2093
2093
  "overloadedDeclarations": [],
@@ -2098,7 +2098,7 @@
2098
2098
  "typeString": "abi"
2099
2099
  }
2100
2100
  },
2101
- "id": 38968,
2101
+ "id": 38979,
2102
2102
  "isConstant": false,
2103
2103
  "isLValue": false,
2104
2104
  "isPure": true,
@@ -2112,7 +2112,7 @@
2112
2112
  "typeString": "function () pure returns (bytes memory)"
2113
2113
  }
2114
2114
  },
2115
- "id": 38970,
2115
+ "id": 38981,
2116
2116
  "isConstant": false,
2117
2117
  "isLValue": false,
2118
2118
  "isPure": false,
@@ -2137,11 +2137,11 @@
2137
2137
  {
2138
2138
  "arguments": [
2139
2139
  {
2140
- "id": 38976,
2140
+ "id": 38987,
2141
2141
  "name": "packedSelector",
2142
2142
  "nodeType": "Identifier",
2143
2143
  "overloadedDeclarations": [],
2144
- "referencedDeclaration": 38966,
2144
+ "referencedDeclaration": 38977,
2145
2145
  "src": "1869:14:98",
2146
2146
  "typeDescriptions": {
2147
2147
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -2149,11 +2149,11 @@
2149
2149
  }
2150
2150
  },
2151
2151
  {
2152
- "id": 38977,
2152
+ "id": 38988,
2153
2153
  "name": "length",
2154
2154
  "nodeType": "Identifier",
2155
2155
  "overloadedDeclarations": [],
2156
- "referencedDeclaration": 38947,
2156
+ "referencedDeclaration": 38958,
2157
2157
  "src": "1885:6:98",
2158
2158
  "typeDescriptions": {
2159
2159
  "typeIdentifier": "t_uint256",
@@ -2173,18 +2173,18 @@
2173
2173
  }
2174
2174
  ],
2175
2175
  "expression": {
2176
- "id": 38974,
2176
+ "id": 38985,
2177
2177
  "name": "Bytes",
2178
2178
  "nodeType": "Identifier",
2179
2179
  "overloadedDeclarations": [],
2180
- "referencedDeclaration": 25066,
2180
+ "referencedDeclaration": 25073,
2181
2181
  "src": "1853:5:98",
2182
2182
  "typeDescriptions": {
2183
- "typeIdentifier": "t_type$_t_contract$_Bytes_$25066_$",
2183
+ "typeIdentifier": "t_type$_t_contract$_Bytes_$25073_$",
2184
2184
  "typeString": "type(library Bytes)"
2185
2185
  }
2186
2186
  },
2187
- "id": 38975,
2187
+ "id": 38986,
2188
2188
  "isConstant": false,
2189
2189
  "isLValue": false,
2190
2190
  "isPure": false,
@@ -2192,14 +2192,14 @@
2192
2192
  "memberLocation": "1859:9:98",
2193
2193
  "memberName": "setLength",
2194
2194
  "nodeType": "MemberAccess",
2195
- "referencedDeclaration": 24323,
2195
+ "referencedDeclaration": 24330,
2196
2196
  "src": "1853:15:98",
2197
2197
  "typeDescriptions": {
2198
2198
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes_memory_ptr_$",
2199
2199
  "typeString": "function (bytes memory,uint256) pure returns (bytes memory)"
2200
2200
  }
2201
2201
  },
2202
- "id": 38978,
2202
+ "id": 38989,
2203
2203
  "isConstant": false,
2204
2204
  "isLValue": false,
2205
2205
  "isPure": false,
@@ -2223,7 +2223,7 @@
2223
2223
  "typeString": "bytes memory"
2224
2224
  }
2225
2225
  ],
2226
- "id": 38973,
2226
+ "id": 38984,
2227
2227
  "isConstant": false,
2228
2228
  "isLValue": false,
2229
2229
  "isPure": true,
@@ -2235,14 +2235,14 @@
2235
2235
  "typeString": "type(string storage pointer)"
2236
2236
  },
2237
2237
  "typeName": {
2238
- "id": 38972,
2238
+ "id": 38983,
2239
2239
  "name": "string",
2240
2240
  "nodeType": "ElementaryTypeName",
2241
2241
  "src": "1846:6:98",
2242
2242
  "typeDescriptions": {}
2243
2243
  }
2244
2244
  },
2245
- "id": 38979,
2245
+ "id": 38990,
2246
2246
  "isConstant": false,
2247
2247
  "isLValue": false,
2248
2248
  "isPure": false,
@@ -2258,15 +2258,15 @@
2258
2258
  "typeString": "string memory"
2259
2259
  }
2260
2260
  },
2261
- "functionReturnParameters": 38945,
2262
- "id": 38980,
2261
+ "functionReturnParameters": 38956,
2262
+ "id": 38991,
2263
2263
  "nodeType": "Return",
2264
2264
  "src": "1839:54:98"
2265
2265
  }
2266
2266
  ]
2267
2267
  },
2268
2268
  "documentation": {
2269
- "id": 38939,
2269
+ "id": 38950,
2270
2270
  "nodeType": "StructuredDocumentation",
2271
2271
  "src": "1477:96:98",
2272
2272
  "text": " Convert a padded string to a trimmed string (no trailing `null` ASCII characters)"
@@ -2277,17 +2277,17 @@
2277
2277
  "name": "toTrimmedString",
2278
2278
  "nameLocation": "1585:15:98",
2279
2279
  "parameters": {
2280
- "id": 38942,
2280
+ "id": 38953,
2281
2281
  "nodeType": "ParameterList",
2282
2282
  "parameters": [
2283
2283
  {
2284
2284
  "constant": false,
2285
- "id": 38941,
2285
+ "id": 38952,
2286
2286
  "mutability": "mutable",
2287
2287
  "name": "paddedString",
2288
2288
  "nameLocation": "1609:12:98",
2289
2289
  "nodeType": "VariableDeclaration",
2290
- "scope": 38982,
2290
+ "scope": 38993,
2291
2291
  "src": "1601:20:98",
2292
2292
  "stateVariable": false,
2293
2293
  "storageLocation": "default",
@@ -2296,7 +2296,7 @@
2296
2296
  "typeString": "bytes16"
2297
2297
  },
2298
2298
  "typeName": {
2299
- "id": 38940,
2299
+ "id": 38951,
2300
2300
  "name": "bytes16",
2301
2301
  "nodeType": "ElementaryTypeName",
2302
2302
  "src": "1601:7:98",
@@ -2311,17 +2311,17 @@
2311
2311
  "src": "1600:22:98"
2312
2312
  },
2313
2313
  "returnParameters": {
2314
- "id": 38945,
2314
+ "id": 38956,
2315
2315
  "nodeType": "ParameterList",
2316
2316
  "parameters": [
2317
2317
  {
2318
2318
  "constant": false,
2319
- "id": 38944,
2319
+ "id": 38955,
2320
2320
  "mutability": "mutable",
2321
2321
  "name": "",
2322
2322
  "nameLocation": "-1:-1:-1",
2323
2323
  "nodeType": "VariableDeclaration",
2324
- "scope": 38982,
2324
+ "scope": 38993,
2325
2325
  "src": "1646:13:98",
2326
2326
  "stateVariable": false,
2327
2327
  "storageLocation": "memory",
@@ -2330,7 +2330,7 @@
2330
2330
  "typeString": "string"
2331
2331
  },
2332
2332
  "typeName": {
2333
- "id": 38943,
2333
+ "id": 38954,
2334
2334
  "name": "string",
2335
2335
  "nodeType": "ElementaryTypeName",
2336
2336
  "src": "1646:6:98",
@@ -2344,7 +2344,7 @@
2344
2344
  ],
2345
2345
  "src": "1645:15:98"
2346
2346
  },
2347
- "scope": 38983,
2347
+ "scope": 38994,
2348
2348
  "stateMutability": "pure",
2349
2349
  "virtual": false,
2350
2350
  "visibility": "internal"
@@ -2357,26 +2357,26 @@
2357
2357
  "contractKind": "library",
2358
2358
  "fullyImplemented": true,
2359
2359
  "linearizedBaseContracts": [
2360
- 38983
2360
+ 38994
2361
2361
  ],
2362
2362
  "name": "WorldResourceIdLib",
2363
2363
  "nameLocation": "653:18:98",
2364
- "scope": 39104,
2364
+ "scope": 39115,
2365
2365
  "usedErrors": [],
2366
2366
  "usedEvents": []
2367
2367
  },
2368
2368
  {
2369
- "id": 39103,
2369
+ "id": 39114,
2370
2370
  "nodeType": "ContractDefinition",
2371
2371
  "src": "1902:1361:98",
2372
2372
  "nodes": [
2373
2373
  {
2374
- "id": 39004,
2374
+ "id": 39015,
2375
2375
  "nodeType": "FunctionDefinition",
2376
2376
  "src": "1991:148:98",
2377
2377
  "nodes": [],
2378
2378
  "body": {
2379
- "id": 39003,
2379
+ "id": 39014,
2380
2380
  "nodeType": "Block",
2381
2381
  "src": "2068:71:98",
2382
2382
  "nodes": [],
@@ -2389,7 +2389,7 @@
2389
2389
  "typeIdentifier": "t_bytes32",
2390
2390
  "typeString": "bytes32"
2391
2391
  },
2392
- "id": 39000,
2392
+ "id": 39011,
2393
2393
  "isConstant": false,
2394
2394
  "isLValue": false,
2395
2395
  "isPure": false,
@@ -2397,14 +2397,14 @@
2397
2397
  "leftExpression": {
2398
2398
  "arguments": [
2399
2399
  {
2400
- "id": 38996,
2400
+ "id": 39007,
2401
2401
  "name": "resourceId",
2402
2402
  "nodeType": "Identifier",
2403
2403
  "overloadedDeclarations": [],
2404
- "referencedDeclaration": 38987,
2404
+ "referencedDeclaration": 38998,
2405
2405
  "src": "2107:10:98",
2406
2406
  "typeDescriptions": {
2407
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2407
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2408
2408
  "typeString": "ResourceId"
2409
2409
  }
2410
2410
  }
@@ -2412,23 +2412,23 @@
2412
2412
  "expression": {
2413
2413
  "argumentTypes": [
2414
2414
  {
2415
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2415
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2416
2416
  "typeString": "ResourceId"
2417
2417
  }
2418
2418
  ],
2419
2419
  "expression": {
2420
- "id": 38994,
2420
+ "id": 39005,
2421
2421
  "name": "ResourceId",
2422
2422
  "nodeType": "Identifier",
2423
2423
  "overloadedDeclarations": [],
2424
- "referencedDeclaration": 26191,
2424
+ "referencedDeclaration": 26198,
2425
2425
  "src": "2089:10:98",
2426
2426
  "typeDescriptions": {
2427
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26191_$",
2427
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26198_$",
2428
2428
  "typeString": "type(ResourceId)"
2429
2429
  }
2430
2430
  },
2431
- "id": 38995,
2431
+ "id": 39006,
2432
2432
  "isConstant": false,
2433
2433
  "isLValue": false,
2434
2434
  "isPure": true,
@@ -2438,11 +2438,11 @@
2438
2438
  "nodeType": "MemberAccess",
2439
2439
  "src": "2089:17:98",
2440
2440
  "typeDescriptions": {
2441
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$26191_$returns$_t_bytes32_$",
2441
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$26198_$returns$_t_bytes32_$",
2442
2442
  "typeString": "function (ResourceId) pure returns (bytes32)"
2443
2443
  }
2444
2444
  },
2445
- "id": 38997,
2445
+ "id": 39008,
2446
2446
  "isConstant": false,
2447
2447
  "isLValue": false,
2448
2448
  "isPure": false,
@@ -2463,11 +2463,11 @@
2463
2463
  "rightExpression": {
2464
2464
  "components": [
2465
2465
  {
2466
- "id": 38998,
2466
+ "id": 39009,
2467
2467
  "name": "TYPE_BITS",
2468
2468
  "nodeType": "Identifier",
2469
2469
  "overloadedDeclarations": [],
2470
- "referencedDeclaration": 26196,
2470
+ "referencedDeclaration": 26203,
2471
2471
  "src": "2123:9:98",
2472
2472
  "typeDescriptions": {
2473
2473
  "typeIdentifier": "t_uint256",
@@ -2475,7 +2475,7 @@
2475
2475
  }
2476
2476
  }
2477
2477
  ],
2478
- "id": 38999,
2478
+ "id": 39010,
2479
2479
  "isConstant": false,
2480
2480
  "isInlineArray": false,
2481
2481
  "isLValue": false,
@@ -2502,7 +2502,7 @@
2502
2502
  "typeString": "bytes32"
2503
2503
  }
2504
2504
  ],
2505
- "id": 38993,
2505
+ "id": 39004,
2506
2506
  "isConstant": false,
2507
2507
  "isLValue": false,
2508
2508
  "isPure": true,
@@ -2514,14 +2514,14 @@
2514
2514
  "typeString": "type(bytes14)"
2515
2515
  },
2516
2516
  "typeName": {
2517
- "id": 38992,
2517
+ "id": 39003,
2518
2518
  "name": "bytes14",
2519
2519
  "nodeType": "ElementaryTypeName",
2520
2520
  "src": "2081:7:98",
2521
2521
  "typeDescriptions": {}
2522
2522
  }
2523
2523
  },
2524
- "id": 39001,
2524
+ "id": 39012,
2525
2525
  "isConstant": false,
2526
2526
  "isLValue": false,
2527
2527
  "isPure": false,
@@ -2537,15 +2537,15 @@
2537
2537
  "typeString": "bytes14"
2538
2538
  }
2539
2539
  },
2540
- "functionReturnParameters": 38991,
2541
- "id": 39002,
2540
+ "functionReturnParameters": 39002,
2541
+ "id": 39013,
2542
2542
  "nodeType": "Return",
2543
2543
  "src": "2074:60:98"
2544
2544
  }
2545
2545
  ]
2546
2546
  },
2547
2547
  "documentation": {
2548
- "id": 38984,
2548
+ "id": 38995,
2549
2549
  "nodeType": "StructuredDocumentation",
2550
2550
  "src": "1938:50:98",
2551
2551
  "text": " Get the namespace of a resource ID."
@@ -2556,41 +2556,41 @@
2556
2556
  "name": "getNamespace",
2557
2557
  "nameLocation": "2000:12:98",
2558
2558
  "parameters": {
2559
- "id": 38988,
2559
+ "id": 38999,
2560
2560
  "nodeType": "ParameterList",
2561
2561
  "parameters": [
2562
2562
  {
2563
2563
  "constant": false,
2564
- "id": 38987,
2564
+ "id": 38998,
2565
2565
  "mutability": "mutable",
2566
2566
  "name": "resourceId",
2567
2567
  "nameLocation": "2024:10:98",
2568
2568
  "nodeType": "VariableDeclaration",
2569
- "scope": 39004,
2569
+ "scope": 39015,
2570
2570
  "src": "2013:21:98",
2571
2571
  "stateVariable": false,
2572
2572
  "storageLocation": "default",
2573
2573
  "typeDescriptions": {
2574
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2574
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2575
2575
  "typeString": "ResourceId"
2576
2576
  },
2577
2577
  "typeName": {
2578
- "id": 38986,
2578
+ "id": 38997,
2579
2579
  "nodeType": "UserDefinedTypeName",
2580
2580
  "pathNode": {
2581
- "id": 38985,
2581
+ "id": 38996,
2582
2582
  "name": "ResourceId",
2583
2583
  "nameLocations": [
2584
2584
  "2013:10:98"
2585
2585
  ],
2586
2586
  "nodeType": "IdentifierPath",
2587
- "referencedDeclaration": 26191,
2587
+ "referencedDeclaration": 26198,
2588
2588
  "src": "2013:10:98"
2589
2589
  },
2590
- "referencedDeclaration": 26191,
2590
+ "referencedDeclaration": 26198,
2591
2591
  "src": "2013:10:98",
2592
2592
  "typeDescriptions": {
2593
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2593
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2594
2594
  "typeString": "ResourceId"
2595
2595
  }
2596
2596
  },
@@ -2600,17 +2600,17 @@
2600
2600
  "src": "2012:23:98"
2601
2601
  },
2602
2602
  "returnParameters": {
2603
- "id": 38991,
2603
+ "id": 39002,
2604
2604
  "nodeType": "ParameterList",
2605
2605
  "parameters": [
2606
2606
  {
2607
2607
  "constant": false,
2608
- "id": 38990,
2608
+ "id": 39001,
2609
2609
  "mutability": "mutable",
2610
2610
  "name": "",
2611
2611
  "nameLocation": "-1:-1:-1",
2612
2612
  "nodeType": "VariableDeclaration",
2613
- "scope": 39004,
2613
+ "scope": 39015,
2614
2614
  "src": "2059:7:98",
2615
2615
  "stateVariable": false,
2616
2616
  "storageLocation": "default",
@@ -2619,7 +2619,7 @@
2619
2619
  "typeString": "bytes14"
2620
2620
  },
2621
2621
  "typeName": {
2622
- "id": 38989,
2622
+ "id": 39000,
2623
2623
  "name": "bytes14",
2624
2624
  "nodeType": "ElementaryTypeName",
2625
2625
  "src": "2059:7:98",
@@ -2633,18 +2633,18 @@
2633
2633
  ],
2634
2634
  "src": "2058:9:98"
2635
2635
  },
2636
- "scope": 39103,
2636
+ "scope": 39114,
2637
2637
  "stateMutability": "pure",
2638
2638
  "virtual": false,
2639
2639
  "visibility": "internal"
2640
2640
  },
2641
2641
  {
2642
- "id": 39028,
2642
+ "id": 39039,
2643
2643
  "nodeType": "FunctionDefinition",
2644
2644
  "src": "2239:191:98",
2645
2645
  "nodes": [],
2646
2646
  "body": {
2647
- "id": 39027,
2647
+ "id": 39038,
2648
2648
  "nodeType": "Block",
2649
2649
  "src": "2321:109:98",
2650
2650
  "nodes": [],
@@ -2657,7 +2657,7 @@
2657
2657
  "typeIdentifier": "t_bytes32",
2658
2658
  "typeString": "bytes32"
2659
2659
  },
2660
- "id": 39024,
2660
+ "id": 39035,
2661
2661
  "isConstant": false,
2662
2662
  "isLValue": false,
2663
2663
  "isPure": false,
@@ -2669,7 +2669,7 @@
2669
2669
  "typeIdentifier": "t_bytes32",
2670
2670
  "typeString": "bytes32"
2671
2671
  },
2672
- "id": 39021,
2672
+ "id": 39032,
2673
2673
  "isConstant": false,
2674
2674
  "isLValue": false,
2675
2675
  "isPure": false,
@@ -2677,14 +2677,14 @@
2677
2677
  "leftExpression": {
2678
2678
  "arguments": [
2679
2679
  {
2680
- "id": 39018,
2680
+ "id": 39029,
2681
2681
  "name": "resourceId",
2682
2682
  "nodeType": "Identifier",
2683
2683
  "overloadedDeclarations": [],
2684
- "referencedDeclaration": 39008,
2684
+ "referencedDeclaration": 39019,
2685
2685
  "src": "2369:10:98",
2686
2686
  "typeDescriptions": {
2687
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2687
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2688
2688
  "typeString": "ResourceId"
2689
2689
  }
2690
2690
  }
@@ -2692,23 +2692,23 @@
2692
2692
  "expression": {
2693
2693
  "argumentTypes": [
2694
2694
  {
2695
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2695
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2696
2696
  "typeString": "ResourceId"
2697
2697
  }
2698
2698
  ],
2699
2699
  "expression": {
2700
- "id": 39016,
2700
+ "id": 39027,
2701
2701
  "name": "ResourceId",
2702
2702
  "nodeType": "Identifier",
2703
2703
  "overloadedDeclarations": [],
2704
- "referencedDeclaration": 26191,
2704
+ "referencedDeclaration": 26198,
2705
2705
  "src": "2351:10:98",
2706
2706
  "typeDescriptions": {
2707
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26191_$",
2707
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26198_$",
2708
2708
  "typeString": "type(ResourceId)"
2709
2709
  }
2710
2710
  },
2711
- "id": 39017,
2711
+ "id": 39028,
2712
2712
  "isConstant": false,
2713
2713
  "isLValue": false,
2714
2714
  "isPure": true,
@@ -2718,11 +2718,11 @@
2718
2718
  "nodeType": "MemberAccess",
2719
2719
  "src": "2351:17:98",
2720
2720
  "typeDescriptions": {
2721
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$26191_$returns$_t_bytes32_$",
2721
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$26198_$returns$_t_bytes32_$",
2722
2722
  "typeString": "function (ResourceId) pure returns (bytes32)"
2723
2723
  }
2724
2724
  },
2725
- "id": 39019,
2725
+ "id": 39030,
2726
2726
  "isConstant": false,
2727
2727
  "isLValue": false,
2728
2728
  "isPure": false,
@@ -2741,11 +2741,11 @@
2741
2741
  "nodeType": "BinaryOperation",
2742
2742
  "operator": "&",
2743
2743
  "rightExpression": {
2744
- "id": 39020,
2744
+ "id": 39031,
2745
2745
  "name": "NAMESPACE_MASK",
2746
2746
  "nodeType": "Identifier",
2747
2747
  "overloadedDeclarations": [],
2748
- "referencedDeclaration": 38870,
2748
+ "referencedDeclaration": 38881,
2749
2749
  "src": "2383:14:98",
2750
2750
  "typeDescriptions": {
2751
2751
  "typeIdentifier": "t_bytes32",
@@ -2759,7 +2759,7 @@
2759
2759
  }
2760
2760
  }
2761
2761
  ],
2762
- "id": 39022,
2762
+ "id": 39033,
2763
2763
  "isConstant": false,
2764
2764
  "isInlineArray": false,
2765
2765
  "isLValue": false,
@@ -2775,11 +2775,11 @@
2775
2775
  "nodeType": "BinaryOperation",
2776
2776
  "operator": "|",
2777
2777
  "rightExpression": {
2778
- "id": 39023,
2778
+ "id": 39034,
2779
2779
  "name": "MASK_RESOURCE_NAMESPACE",
2780
2780
  "nodeType": "Identifier",
2781
2781
  "overloadedDeclarations": [],
2782
- "referencedDeclaration": 39233,
2782
+ "referencedDeclaration": 39244,
2783
2783
  "src": "2401:23:98",
2784
2784
  "typeDescriptions": {
2785
2785
  "typeIdentifier": "t_bytes32",
@@ -2801,18 +2801,18 @@
2801
2801
  }
2802
2802
  ],
2803
2803
  "expression": {
2804
- "id": 39014,
2804
+ "id": 39025,
2805
2805
  "name": "ResourceId",
2806
2806
  "nodeType": "Identifier",
2807
2807
  "overloadedDeclarations": [],
2808
- "referencedDeclaration": 26191,
2808
+ "referencedDeclaration": 26198,
2809
2809
  "src": "2334:10:98",
2810
2810
  "typeDescriptions": {
2811
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26191_$",
2811
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26198_$",
2812
2812
  "typeString": "type(ResourceId)"
2813
2813
  }
2814
2814
  },
2815
- "id": 39015,
2815
+ "id": 39026,
2816
2816
  "isConstant": false,
2817
2817
  "isLValue": false,
2818
2818
  "isPure": true,
@@ -2822,11 +2822,11 @@
2822
2822
  "nodeType": "MemberAccess",
2823
2823
  "src": "2334:15:98",
2824
2824
  "typeDescriptions": {
2825
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26191_$",
2825
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$26198_$",
2826
2826
  "typeString": "function (bytes32) pure returns (ResourceId)"
2827
2827
  }
2828
2828
  },
2829
- "id": 39025,
2829
+ "id": 39036,
2830
2830
  "isConstant": false,
2831
2831
  "isLValue": false,
2832
2832
  "isPure": false,
@@ -2838,19 +2838,19 @@
2838
2838
  "src": "2334:91:98",
2839
2839
  "tryCall": false,
2840
2840
  "typeDescriptions": {
2841
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2841
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2842
2842
  "typeString": "ResourceId"
2843
2843
  }
2844
2844
  },
2845
- "functionReturnParameters": 39013,
2846
- "id": 39026,
2845
+ "functionReturnParameters": 39024,
2846
+ "id": 39037,
2847
2847
  "nodeType": "Return",
2848
2848
  "src": "2327:98:98"
2849
2849
  }
2850
2850
  ]
2851
2851
  },
2852
2852
  "documentation": {
2853
- "id": 39005,
2853
+ "id": 39016,
2854
2854
  "nodeType": "StructuredDocumentation",
2855
2855
  "src": "2143:93:98",
2856
2856
  "text": " Get the namespace resource ID corresponding to the namespace of a resource ID."
@@ -2861,41 +2861,41 @@
2861
2861
  "name": "getNamespaceId",
2862
2862
  "nameLocation": "2248:14:98",
2863
2863
  "parameters": {
2864
- "id": 39009,
2864
+ "id": 39020,
2865
2865
  "nodeType": "ParameterList",
2866
2866
  "parameters": [
2867
2867
  {
2868
2868
  "constant": false,
2869
- "id": 39008,
2869
+ "id": 39019,
2870
2870
  "mutability": "mutable",
2871
2871
  "name": "resourceId",
2872
2872
  "nameLocation": "2274:10:98",
2873
2873
  "nodeType": "VariableDeclaration",
2874
- "scope": 39028,
2874
+ "scope": 39039,
2875
2875
  "src": "2263:21:98",
2876
2876
  "stateVariable": false,
2877
2877
  "storageLocation": "default",
2878
2878
  "typeDescriptions": {
2879
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2879
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2880
2880
  "typeString": "ResourceId"
2881
2881
  },
2882
2882
  "typeName": {
2883
- "id": 39007,
2883
+ "id": 39018,
2884
2884
  "nodeType": "UserDefinedTypeName",
2885
2885
  "pathNode": {
2886
- "id": 39006,
2886
+ "id": 39017,
2887
2887
  "name": "ResourceId",
2888
2888
  "nameLocations": [
2889
2889
  "2263:10:98"
2890
2890
  ],
2891
2891
  "nodeType": "IdentifierPath",
2892
- "referencedDeclaration": 26191,
2892
+ "referencedDeclaration": 26198,
2893
2893
  "src": "2263:10:98"
2894
2894
  },
2895
- "referencedDeclaration": 26191,
2895
+ "referencedDeclaration": 26198,
2896
2896
  "src": "2263:10:98",
2897
2897
  "typeDescriptions": {
2898
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2898
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2899
2899
  "typeString": "ResourceId"
2900
2900
  }
2901
2901
  },
@@ -2905,41 +2905,41 @@
2905
2905
  "src": "2262:23:98"
2906
2906
  },
2907
2907
  "returnParameters": {
2908
- "id": 39013,
2908
+ "id": 39024,
2909
2909
  "nodeType": "ParameterList",
2910
2910
  "parameters": [
2911
2911
  {
2912
2912
  "constant": false,
2913
- "id": 39012,
2913
+ "id": 39023,
2914
2914
  "mutability": "mutable",
2915
2915
  "name": "",
2916
2916
  "nameLocation": "-1:-1:-1",
2917
2917
  "nodeType": "VariableDeclaration",
2918
- "scope": 39028,
2918
+ "scope": 39039,
2919
2919
  "src": "2309:10:98",
2920
2920
  "stateVariable": false,
2921
2921
  "storageLocation": "default",
2922
2922
  "typeDescriptions": {
2923
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2923
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2924
2924
  "typeString": "ResourceId"
2925
2925
  },
2926
2926
  "typeName": {
2927
- "id": 39011,
2927
+ "id": 39022,
2928
2928
  "nodeType": "UserDefinedTypeName",
2929
2929
  "pathNode": {
2930
- "id": 39010,
2930
+ "id": 39021,
2931
2931
  "name": "ResourceId",
2932
2932
  "nameLocations": [
2933
2933
  "2309:10:98"
2934
2934
  ],
2935
2935
  "nodeType": "IdentifierPath",
2936
- "referencedDeclaration": 26191,
2936
+ "referencedDeclaration": 26198,
2937
2937
  "src": "2309:10:98"
2938
2938
  },
2939
- "referencedDeclaration": 26191,
2939
+ "referencedDeclaration": 26198,
2940
2940
  "src": "2309:10:98",
2941
2941
  "typeDescriptions": {
2942
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2942
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2943
2943
  "typeString": "ResourceId"
2944
2944
  }
2945
2945
  },
@@ -2948,18 +2948,18 @@
2948
2948
  ],
2949
2949
  "src": "2308:12:98"
2950
2950
  },
2951
- "scope": 39103,
2951
+ "scope": 39114,
2952
2952
  "stateMutability": "pure",
2953
2953
  "virtual": false,
2954
2954
  "visibility": "internal"
2955
2955
  },
2956
2956
  {
2957
- "id": 39051,
2957
+ "id": 39062,
2958
2958
  "nodeType": "FunctionDefinition",
2959
2959
  "src": "2482:160:98",
2960
2960
  "nodes": [],
2961
2961
  "body": {
2962
- "id": 39050,
2962
+ "id": 39061,
2963
2963
  "nodeType": "Block",
2964
2964
  "src": "2554:88:98",
2965
2965
  "nodes": [],
@@ -2972,7 +2972,7 @@
2972
2972
  "typeIdentifier": "t_bytes32",
2973
2973
  "typeString": "bytes32"
2974
2974
  },
2975
- "id": 39047,
2975
+ "id": 39058,
2976
2976
  "isConstant": false,
2977
2977
  "isLValue": false,
2978
2978
  "isPure": false,
@@ -2980,14 +2980,14 @@
2980
2980
  "leftExpression": {
2981
2981
  "arguments": [
2982
2982
  {
2983
- "id": 39041,
2983
+ "id": 39052,
2984
2984
  "name": "resourceId",
2985
2985
  "nodeType": "Identifier",
2986
2986
  "overloadedDeclarations": [],
2987
- "referencedDeclaration": 39032,
2987
+ "referencedDeclaration": 39043,
2988
2988
  "src": "2593:10:98",
2989
2989
  "typeDescriptions": {
2990
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2990
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2991
2991
  "typeString": "ResourceId"
2992
2992
  }
2993
2993
  }
@@ -2995,23 +2995,23 @@
2995
2995
  "expression": {
2996
2996
  "argumentTypes": [
2997
2997
  {
2998
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
2998
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
2999
2999
  "typeString": "ResourceId"
3000
3000
  }
3001
3001
  ],
3002
3002
  "expression": {
3003
- "id": 39039,
3003
+ "id": 39050,
3004
3004
  "name": "ResourceId",
3005
3005
  "nodeType": "Identifier",
3006
3006
  "overloadedDeclarations": [],
3007
- "referencedDeclaration": 26191,
3007
+ "referencedDeclaration": 26198,
3008
3008
  "src": "2575:10:98",
3009
3009
  "typeDescriptions": {
3010
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26191_$",
3010
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$26198_$",
3011
3011
  "typeString": "type(ResourceId)"
3012
3012
  }
3013
3013
  },
3014
- "id": 39040,
3014
+ "id": 39051,
3015
3015
  "isConstant": false,
3016
3016
  "isLValue": false,
3017
3017
  "isPure": true,
@@ -3021,11 +3021,11 @@
3021
3021
  "nodeType": "MemberAccess",
3022
3022
  "src": "2575:17:98",
3023
3023
  "typeDescriptions": {
3024
- "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$26191_$returns$_t_bytes32_$",
3024
+ "typeIdentifier": "t_function_unwrap_pure$_t_userDefinedValueType$_ResourceId_$26198_$returns$_t_bytes32_$",
3025
3025
  "typeString": "function (ResourceId) pure returns (bytes32)"
3026
3026
  }
3027
3027
  },
3028
- "id": 39042,
3028
+ "id": 39053,
3029
3029
  "isConstant": false,
3030
3030
  "isLValue": false,
3031
3031
  "isPure": false,
@@ -3050,17 +3050,17 @@
3050
3050
  "typeIdentifier": "t_uint256",
3051
3051
  "typeString": "uint256"
3052
3052
  },
3053
- "id": 39045,
3053
+ "id": 39056,
3054
3054
  "isConstant": false,
3055
3055
  "isLValue": false,
3056
3056
  "isPure": true,
3057
3057
  "lValueRequested": false,
3058
3058
  "leftExpression": {
3059
- "id": 39043,
3059
+ "id": 39054,
3060
3060
  "name": "TYPE_BITS",
3061
3061
  "nodeType": "Identifier",
3062
3062
  "overloadedDeclarations": [],
3063
- "referencedDeclaration": 26196,
3063
+ "referencedDeclaration": 26203,
3064
3064
  "src": "2609:9:98",
3065
3065
  "typeDescriptions": {
3066
3066
  "typeIdentifier": "t_uint256",
@@ -3070,11 +3070,11 @@
3070
3070
  "nodeType": "BinaryOperation",
3071
3071
  "operator": "+",
3072
3072
  "rightExpression": {
3073
- "id": 39044,
3073
+ "id": 39055,
3074
3074
  "name": "NAMESPACE_BITS",
3075
3075
  "nodeType": "Identifier",
3076
3076
  "overloadedDeclarations": [],
3077
- "referencedDeclaration": 38840,
3077
+ "referencedDeclaration": 38851,
3078
3078
  "src": "2621:14:98",
3079
3079
  "typeDescriptions": {
3080
3080
  "typeIdentifier": "t_uint256",
@@ -3088,7 +3088,7 @@
3088
3088
  }
3089
3089
  }
3090
3090
  ],
3091
- "id": 39046,
3091
+ "id": 39057,
3092
3092
  "isConstant": false,
3093
3093
  "isInlineArray": false,
3094
3094
  "isLValue": false,
@@ -3115,7 +3115,7 @@
3115
3115
  "typeString": "bytes32"
3116
3116
  }
3117
3117
  ],
3118
- "id": 39038,
3118
+ "id": 39049,
3119
3119
  "isConstant": false,
3120
3120
  "isLValue": false,
3121
3121
  "isPure": true,
@@ -3127,14 +3127,14 @@
3127
3127
  "typeString": "type(bytes16)"
3128
3128
  },
3129
3129
  "typeName": {
3130
- "id": 39037,
3130
+ "id": 39048,
3131
3131
  "name": "bytes16",
3132
3132
  "nodeType": "ElementaryTypeName",
3133
3133
  "src": "2567:7:98",
3134
3134
  "typeDescriptions": {}
3135
3135
  }
3136
3136
  },
3137
- "id": 39048,
3137
+ "id": 39059,
3138
3138
  "isConstant": false,
3139
3139
  "isLValue": false,
3140
3140
  "isPure": false,
@@ -3150,15 +3150,15 @@
3150
3150
  "typeString": "bytes16"
3151
3151
  }
3152
3152
  },
3153
- "functionReturnParameters": 39036,
3154
- "id": 39049,
3153
+ "functionReturnParameters": 39047,
3154
+ "id": 39060,
3155
3155
  "nodeType": "Return",
3156
3156
  "src": "2560:77:98"
3157
3157
  }
3158
3158
  ]
3159
3159
  },
3160
3160
  "documentation": {
3161
- "id": 39029,
3161
+ "id": 39040,
3162
3162
  "nodeType": "StructuredDocumentation",
3163
3163
  "src": "2434:45:98",
3164
3164
  "text": " Get the name of a resource ID."
@@ -3169,41 +3169,41 @@
3169
3169
  "name": "getName",
3170
3170
  "nameLocation": "2491:7:98",
3171
3171
  "parameters": {
3172
- "id": 39033,
3172
+ "id": 39044,
3173
3173
  "nodeType": "ParameterList",
3174
3174
  "parameters": [
3175
3175
  {
3176
3176
  "constant": false,
3177
- "id": 39032,
3177
+ "id": 39043,
3178
3178
  "mutability": "mutable",
3179
3179
  "name": "resourceId",
3180
3180
  "nameLocation": "2510:10:98",
3181
3181
  "nodeType": "VariableDeclaration",
3182
- "scope": 39051,
3182
+ "scope": 39062,
3183
3183
  "src": "2499:21:98",
3184
3184
  "stateVariable": false,
3185
3185
  "storageLocation": "default",
3186
3186
  "typeDescriptions": {
3187
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3187
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3188
3188
  "typeString": "ResourceId"
3189
3189
  },
3190
3190
  "typeName": {
3191
- "id": 39031,
3191
+ "id": 39042,
3192
3192
  "nodeType": "UserDefinedTypeName",
3193
3193
  "pathNode": {
3194
- "id": 39030,
3194
+ "id": 39041,
3195
3195
  "name": "ResourceId",
3196
3196
  "nameLocations": [
3197
3197
  "2499:10:98"
3198
3198
  ],
3199
3199
  "nodeType": "IdentifierPath",
3200
- "referencedDeclaration": 26191,
3200
+ "referencedDeclaration": 26198,
3201
3201
  "src": "2499:10:98"
3202
3202
  },
3203
- "referencedDeclaration": 26191,
3203
+ "referencedDeclaration": 26198,
3204
3204
  "src": "2499:10:98",
3205
3205
  "typeDescriptions": {
3206
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3206
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3207
3207
  "typeString": "ResourceId"
3208
3208
  }
3209
3209
  },
@@ -3213,17 +3213,17 @@
3213
3213
  "src": "2498:23:98"
3214
3214
  },
3215
3215
  "returnParameters": {
3216
- "id": 39036,
3216
+ "id": 39047,
3217
3217
  "nodeType": "ParameterList",
3218
3218
  "parameters": [
3219
3219
  {
3220
3220
  "constant": false,
3221
- "id": 39035,
3221
+ "id": 39046,
3222
3222
  "mutability": "mutable",
3223
3223
  "name": "",
3224
3224
  "nameLocation": "-1:-1:-1",
3225
3225
  "nodeType": "VariableDeclaration",
3226
- "scope": 39051,
3226
+ "scope": 39062,
3227
3227
  "src": "2545:7:98",
3228
3228
  "stateVariable": false,
3229
3229
  "storageLocation": "default",
@@ -3232,7 +3232,7 @@
3232
3232
  "typeString": "bytes16"
3233
3233
  },
3234
3234
  "typeName": {
3235
- "id": 39034,
3235
+ "id": 39045,
3236
3236
  "name": "bytes16",
3237
3237
  "nodeType": "ElementaryTypeName",
3238
3238
  "src": "2545:7:98",
@@ -3246,35 +3246,35 @@
3246
3246
  ],
3247
3247
  "src": "2544:9:98"
3248
3248
  },
3249
- "scope": 39103,
3249
+ "scope": 39114,
3250
3250
  "stateMutability": "pure",
3251
3251
  "virtual": false,
3252
3252
  "visibility": "internal"
3253
3253
  },
3254
3254
  {
3255
- "id": 39102,
3255
+ "id": 39113,
3256
3256
  "nodeType": "FunctionDefinition",
3257
3257
  "src": "2720:541:98",
3258
3258
  "nodes": [],
3259
3259
  "body": {
3260
- "id": 39101,
3260
+ "id": 39112,
3261
3261
  "nodeType": "Block",
3262
3262
  "src": "2799:462:98",
3263
3263
  "nodes": [],
3264
3264
  "statements": [
3265
3265
  {
3266
3266
  "assignments": [
3267
- 39061
3267
+ 39072
3268
3268
  ],
3269
3269
  "declarations": [
3270
3270
  {
3271
3271
  "constant": false,
3272
- "id": 39061,
3272
+ "id": 39072,
3273
3273
  "mutability": "mutable",
3274
3274
  "name": "resourceType",
3275
3275
  "nameLocation": "2812:12:98",
3276
3276
  "nodeType": "VariableDeclaration",
3277
- "scope": 39101,
3277
+ "scope": 39112,
3278
3278
  "src": "2805:19:98",
3279
3279
  "stateVariable": false,
3280
3280
  "storageLocation": "default",
@@ -3283,7 +3283,7 @@
3283
3283
  "typeString": "bytes2"
3284
3284
  },
3285
3285
  "typeName": {
3286
- "id": 39060,
3286
+ "id": 39071,
3287
3287
  "name": "bytes2",
3288
3288
  "nodeType": "ElementaryTypeName",
3289
3289
  "src": "2805:6:98",
@@ -3295,18 +3295,18 @@
3295
3295
  "visibility": "internal"
3296
3296
  }
3297
3297
  ],
3298
- "id": 39066,
3298
+ "id": 39077,
3299
3299
  "initialValue": {
3300
3300
  "arguments": [
3301
3301
  {
3302
- "id": 39064,
3302
+ "id": 39075,
3303
3303
  "name": "resourceId",
3304
3304
  "nodeType": "Identifier",
3305
3305
  "overloadedDeclarations": [],
3306
- "referencedDeclaration": 39055,
3306
+ "referencedDeclaration": 39066,
3307
3307
  "src": "2854:10:98",
3308
3308
  "typeDescriptions": {
3309
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3309
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3310
3310
  "typeString": "ResourceId"
3311
3311
  }
3312
3312
  }
@@ -3314,23 +3314,23 @@
3314
3314
  "expression": {
3315
3315
  "argumentTypes": [
3316
3316
  {
3317
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3317
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3318
3318
  "typeString": "ResourceId"
3319
3319
  }
3320
3320
  ],
3321
3321
  "expression": {
3322
- "id": 39062,
3322
+ "id": 39073,
3323
3323
  "name": "ResourceIdInstance",
3324
3324
  "nodeType": "Identifier",
3325
3325
  "overloadedDeclarations": [],
3326
- "referencedDeclaration": 26255,
3326
+ "referencedDeclaration": 26262,
3327
3327
  "src": "2827:18:98",
3328
3328
  "typeDescriptions": {
3329
- "typeIdentifier": "t_type$_t_contract$_ResourceIdInstance_$26255_$",
3329
+ "typeIdentifier": "t_type$_t_contract$_ResourceIdInstance_$26262_$",
3330
3330
  "typeString": "type(library ResourceIdInstance)"
3331
3331
  }
3332
3332
  },
3333
- "id": 39063,
3333
+ "id": 39074,
3334
3334
  "isConstant": false,
3335
3335
  "isLValue": false,
3336
3336
  "isPure": false,
@@ -3338,14 +3338,14 @@
3338
3338
  "memberLocation": "2846:7:98",
3339
3339
  "memberName": "getType",
3340
3340
  "nodeType": "MemberAccess",
3341
- "referencedDeclaration": 26254,
3341
+ "referencedDeclaration": 26261,
3342
3342
  "src": "2827:26:98",
3343
3343
  "typeDescriptions": {
3344
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26191_$returns$_t_bytes2_$",
3344
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26198_$returns$_t_bytes2_$",
3345
3345
  "typeString": "function (ResourceId) pure returns (bytes2)"
3346
3346
  }
3347
3347
  },
3348
- "id": 39065,
3348
+ "id": 39076,
3349
3349
  "isConstant": false,
3350
3350
  "isLValue": false,
3351
3351
  "isPure": false,
@@ -3366,17 +3366,17 @@
3366
3366
  },
3367
3367
  {
3368
3368
  "assignments": [
3369
- 39068
3369
+ 39079
3370
3370
  ],
3371
3371
  "declarations": [
3372
3372
  {
3373
3373
  "constant": false,
3374
- "id": 39068,
3374
+ "id": 39079,
3375
3375
  "mutability": "mutable",
3376
3376
  "name": "resourceNamespace",
3377
3377
  "nameLocation": "2879:17:98",
3378
3378
  "nodeType": "VariableDeclaration",
3379
- "scope": 39101,
3379
+ "scope": 39112,
3380
3380
  "src": "2871:25:98",
3381
3381
  "stateVariable": false,
3382
3382
  "storageLocation": "default",
@@ -3385,7 +3385,7 @@
3385
3385
  "typeString": "bytes14"
3386
3386
  },
3387
3387
  "typeName": {
3388
- "id": 39067,
3388
+ "id": 39078,
3389
3389
  "name": "bytes14",
3390
3390
  "nodeType": "ElementaryTypeName",
3391
3391
  "src": "2871:7:98",
@@ -3397,18 +3397,18 @@
3397
3397
  "visibility": "internal"
3398
3398
  }
3399
3399
  ],
3400
- "id": 39072,
3400
+ "id": 39083,
3401
3401
  "initialValue": {
3402
3402
  "arguments": [
3403
3403
  {
3404
- "id": 39070,
3404
+ "id": 39081,
3405
3405
  "name": "resourceId",
3406
3406
  "nodeType": "Identifier",
3407
3407
  "overloadedDeclarations": [],
3408
- "referencedDeclaration": 39055,
3408
+ "referencedDeclaration": 39066,
3409
3409
  "src": "2912:10:98",
3410
3410
  "typeDescriptions": {
3411
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3411
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3412
3412
  "typeString": "ResourceId"
3413
3413
  }
3414
3414
  }
@@ -3416,22 +3416,22 @@
3416
3416
  "expression": {
3417
3417
  "argumentTypes": [
3418
3418
  {
3419
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3419
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3420
3420
  "typeString": "ResourceId"
3421
3421
  }
3422
3422
  ],
3423
- "id": 39069,
3423
+ "id": 39080,
3424
3424
  "name": "getNamespace",
3425
3425
  "nodeType": "Identifier",
3426
3426
  "overloadedDeclarations": [],
3427
- "referencedDeclaration": 39004,
3427
+ "referencedDeclaration": 39015,
3428
3428
  "src": "2899:12:98",
3429
3429
  "typeDescriptions": {
3430
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26191_$returns$_t_bytes14_$",
3430
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26198_$returns$_t_bytes14_$",
3431
3431
  "typeString": "function (ResourceId) pure returns (bytes14)"
3432
3432
  }
3433
3433
  },
3434
- "id": 39071,
3434
+ "id": 39082,
3435
3435
  "isConstant": false,
3436
3436
  "isLValue": false,
3437
3437
  "isPure": false,
@@ -3452,17 +3452,17 @@
3452
3452
  },
3453
3453
  {
3454
3454
  "assignments": [
3455
- 39074
3455
+ 39085
3456
3456
  ],
3457
3457
  "declarations": [
3458
3458
  {
3459
3459
  "constant": false,
3460
- "id": 39074,
3460
+ "id": 39085,
3461
3461
  "mutability": "mutable",
3462
3462
  "name": "resourceName",
3463
3463
  "nameLocation": "2937:12:98",
3464
3464
  "nodeType": "VariableDeclaration",
3465
- "scope": 39101,
3465
+ "scope": 39112,
3466
3466
  "src": "2929:20:98",
3467
3467
  "stateVariable": false,
3468
3468
  "storageLocation": "default",
@@ -3471,7 +3471,7 @@
3471
3471
  "typeString": "bytes16"
3472
3472
  },
3473
3473
  "typeName": {
3474
- "id": 39073,
3474
+ "id": 39084,
3475
3475
  "name": "bytes16",
3476
3476
  "nodeType": "ElementaryTypeName",
3477
3477
  "src": "2929:7:98",
@@ -3483,18 +3483,18 @@
3483
3483
  "visibility": "internal"
3484
3484
  }
3485
3485
  ],
3486
- "id": 39078,
3486
+ "id": 39089,
3487
3487
  "initialValue": {
3488
3488
  "arguments": [
3489
3489
  {
3490
- "id": 39076,
3490
+ "id": 39087,
3491
3491
  "name": "resourceId",
3492
3492
  "nodeType": "Identifier",
3493
3493
  "overloadedDeclarations": [],
3494
- "referencedDeclaration": 39055,
3494
+ "referencedDeclaration": 39066,
3495
3495
  "src": "2960:10:98",
3496
3496
  "typeDescriptions": {
3497
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3497
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3498
3498
  "typeString": "ResourceId"
3499
3499
  }
3500
3500
  }
@@ -3502,22 +3502,22 @@
3502
3502
  "expression": {
3503
3503
  "argumentTypes": [
3504
3504
  {
3505
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3505
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3506
3506
  "typeString": "ResourceId"
3507
3507
  }
3508
3508
  ],
3509
- "id": 39075,
3509
+ "id": 39086,
3510
3510
  "name": "getName",
3511
3511
  "nodeType": "Identifier",
3512
3512
  "overloadedDeclarations": [],
3513
- "referencedDeclaration": 39051,
3513
+ "referencedDeclaration": 39062,
3514
3514
  "src": "2952:7:98",
3515
3515
  "typeDescriptions": {
3516
- "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26191_$returns$_t_bytes16_$",
3516
+ "typeIdentifier": "t_function_internal_pure$_t_userDefinedValueType$_ResourceId_$26198_$returns$_t_bytes16_$",
3517
3517
  "typeString": "function (ResourceId) pure returns (bytes16)"
3518
3518
  }
3519
3519
  },
3520
- "id": 39077,
3520
+ "id": 39088,
3521
3521
  "isConstant": false,
3522
3522
  "isLValue": false,
3523
3523
  "isPure": false,
@@ -3542,11 +3542,11 @@
3542
3542
  {
3543
3543
  "arguments": [
3544
3544
  {
3545
- "id": 39083,
3545
+ "id": 39094,
3546
3546
  "name": "resourceType",
3547
3547
  "nodeType": "Identifier",
3548
3548
  "overloadedDeclarations": [],
3549
- "referencedDeclaration": 39061,
3549
+ "referencedDeclaration": 39072,
3550
3550
  "src": "3034:12:98",
3551
3551
  "typeDescriptions": {
3552
3552
  "typeIdentifier": "t_bytes2",
@@ -3555,7 +3555,7 @@
3555
3555
  },
3556
3556
  {
3557
3557
  "hexValue": "3a",
3558
- "id": 39084,
3558
+ "id": 39095,
3559
3559
  "isConstant": false,
3560
3560
  "isLValue": false,
3561
3561
  "isPure": true,
@@ -3575,17 +3575,17 @@
3575
3575
  "typeIdentifier": "t_bytes14",
3576
3576
  "typeString": "bytes14"
3577
3577
  },
3578
- "id": 39087,
3578
+ "id": 39098,
3579
3579
  "isConstant": false,
3580
3580
  "isLValue": false,
3581
3581
  "isPure": false,
3582
3582
  "lValueRequested": false,
3583
3583
  "leftExpression": {
3584
- "id": 39085,
3584
+ "id": 39096,
3585
3585
  "name": "resourceNamespace",
3586
3586
  "nodeType": "Identifier",
3587
3587
  "overloadedDeclarations": [],
3588
- "referencedDeclaration": 39068,
3588
+ "referencedDeclaration": 39079,
3589
3589
  "src": "3073:17:98",
3590
3590
  "typeDescriptions": {
3591
3591
  "typeIdentifier": "t_bytes14",
@@ -3595,11 +3595,11 @@
3595
3595
  "nodeType": "BinaryOperation",
3596
3596
  "operator": "==",
3597
3597
  "rightExpression": {
3598
- "id": 39086,
3598
+ "id": 39097,
3599
3599
  "name": "ROOT_NAMESPACE",
3600
3600
  "nodeType": "Identifier",
3601
3601
  "overloadedDeclarations": [],
3602
- "referencedDeclaration": 39149,
3602
+ "referencedDeclaration": 39160,
3603
3603
  "src": "3094:14:98",
3604
3604
  "typeDescriptions": {
3605
3605
  "typeIdentifier": "t_bytes14",
@@ -3613,18 +3613,18 @@
3613
3613
  }
3614
3614
  },
3615
3615
  "falseExpression": {
3616
- "id": 39089,
3616
+ "id": 39100,
3617
3617
  "name": "resourceNamespace",
3618
3618
  "nodeType": "Identifier",
3619
3619
  "overloadedDeclarations": [],
3620
- "referencedDeclaration": 39068,
3620
+ "referencedDeclaration": 39079,
3621
3621
  "src": "3135:17:98",
3622
3622
  "typeDescriptions": {
3623
3623
  "typeIdentifier": "t_bytes14",
3624
3624
  "typeString": "bytes14"
3625
3625
  }
3626
3626
  },
3627
- "id": 39090,
3627
+ "id": 39101,
3628
3628
  "isConstant": false,
3629
3629
  "isLValue": false,
3630
3630
  "isPure": false,
@@ -3632,11 +3632,11 @@
3632
3632
  "nodeType": "Conditional",
3633
3633
  "src": "3073:79:98",
3634
3634
  "trueExpression": {
3635
- "id": 39088,
3635
+ "id": 39099,
3636
3636
  "name": "ROOT_NAMESPACE_STRING",
3637
3637
  "nodeType": "Identifier",
3638
3638
  "overloadedDeclarations": [],
3639
- "referencedDeclaration": 38851,
3639
+ "referencedDeclaration": 38862,
3640
3640
  "src": "3111:21:98",
3641
3641
  "typeDescriptions": {
3642
3642
  "typeIdentifier": "t_bytes16",
@@ -3650,7 +3650,7 @@
3650
3650
  },
3651
3651
  {
3652
3652
  "hexValue": "3a",
3653
- "id": 39091,
3653
+ "id": 39102,
3654
3654
  "isConstant": false,
3655
3655
  "isLValue": false,
3656
3656
  "isPure": true,
@@ -3670,17 +3670,17 @@
3670
3670
  "typeIdentifier": "t_bytes16",
3671
3671
  "typeString": "bytes16"
3672
3672
  },
3673
- "id": 39094,
3673
+ "id": 39105,
3674
3674
  "isConstant": false,
3675
3675
  "isLValue": false,
3676
3676
  "isPure": false,
3677
3677
  "lValueRequested": false,
3678
3678
  "leftExpression": {
3679
- "id": 39092,
3679
+ "id": 39103,
3680
3680
  "name": "resourceName",
3681
3681
  "nodeType": "Identifier",
3682
3682
  "overloadedDeclarations": [],
3683
- "referencedDeclaration": 39074,
3683
+ "referencedDeclaration": 39085,
3684
3684
  "src": "3179:12:98",
3685
3685
  "typeDescriptions": {
3686
3686
  "typeIdentifier": "t_bytes16",
@@ -3690,11 +3690,11 @@
3690
3690
  "nodeType": "BinaryOperation",
3691
3691
  "operator": "==",
3692
3692
  "rightExpression": {
3693
- "id": 39093,
3693
+ "id": 39104,
3694
3694
  "name": "ROOT_NAME",
3695
3695
  "nodeType": "Identifier",
3696
3696
  "overloadedDeclarations": [],
3697
- "referencedDeclaration": 39152,
3697
+ "referencedDeclaration": 39163,
3698
3698
  "src": "3195:9:98",
3699
3699
  "typeDescriptions": {
3700
3700
  "typeIdentifier": "t_bytes16",
@@ -3708,18 +3708,18 @@
3708
3708
  }
3709
3709
  },
3710
3710
  "falseExpression": {
3711
- "id": 39096,
3711
+ "id": 39107,
3712
3712
  "name": "resourceName",
3713
3713
  "nodeType": "Identifier",
3714
3714
  "overloadedDeclarations": [],
3715
- "referencedDeclaration": 39074,
3715
+ "referencedDeclaration": 39085,
3716
3716
  "src": "3226:12:98",
3717
3717
  "typeDescriptions": {
3718
3718
  "typeIdentifier": "t_bytes16",
3719
3719
  "typeString": "bytes16"
3720
3720
  }
3721
3721
  },
3722
- "id": 39097,
3722
+ "id": 39108,
3723
3723
  "isConstant": false,
3724
3724
  "isLValue": false,
3725
3725
  "isPure": false,
@@ -3727,11 +3727,11 @@
3727
3727
  "nodeType": "Conditional",
3728
3728
  "src": "3179:59:98",
3729
3729
  "trueExpression": {
3730
- "id": 39095,
3730
+ "id": 39106,
3731
3731
  "name": "ROOT_NAME_STRING",
3732
3732
  "nodeType": "Identifier",
3733
3733
  "overloadedDeclarations": [],
3734
- "referencedDeclaration": 38857,
3734
+ "referencedDeclaration": 38868,
3735
3735
  "src": "3207:16:98",
3736
3736
  "typeDescriptions": {
3737
3737
  "typeIdentifier": "t_bytes16",
@@ -3768,7 +3768,7 @@
3768
3768
  }
3769
3769
  ],
3770
3770
  "expression": {
3771
- "id": 39081,
3771
+ "id": 39092,
3772
3772
  "name": "abi",
3773
3773
  "nodeType": "Identifier",
3774
3774
  "overloadedDeclarations": [],
@@ -3779,7 +3779,7 @@
3779
3779
  "typeString": "abi"
3780
3780
  }
3781
3781
  },
3782
- "id": 39082,
3782
+ "id": 39093,
3783
3783
  "isConstant": false,
3784
3784
  "isLValue": false,
3785
3785
  "isPure": true,
@@ -3793,7 +3793,7 @@
3793
3793
  "typeString": "function () pure returns (bytes memory)"
3794
3794
  }
3795
3795
  },
3796
- "id": 39098,
3796
+ "id": 39109,
3797
3797
  "isConstant": false,
3798
3798
  "isLValue": false,
3799
3799
  "isPure": false,
@@ -3817,7 +3817,7 @@
3817
3817
  "typeString": "bytes memory"
3818
3818
  }
3819
3819
  ],
3820
- "id": 39080,
3820
+ "id": 39091,
3821
3821
  "isConstant": false,
3822
3822
  "isLValue": false,
3823
3823
  "isPure": true,
@@ -3829,14 +3829,14 @@
3829
3829
  "typeString": "type(string storage pointer)"
3830
3830
  },
3831
3831
  "typeName": {
3832
- "id": 39079,
3832
+ "id": 39090,
3833
3833
  "name": "string",
3834
3834
  "nodeType": "ElementaryTypeName",
3835
3835
  "src": "2990:6:98",
3836
3836
  "typeDescriptions": {}
3837
3837
  }
3838
3838
  },
3839
- "id": 39099,
3839
+ "id": 39110,
3840
3840
  "isConstant": false,
3841
3841
  "isLValue": false,
3842
3842
  "isPure": false,
@@ -3852,15 +3852,15 @@
3852
3852
  "typeString": "string memory"
3853
3853
  }
3854
3854
  },
3855
- "functionReturnParameters": 39059,
3856
- "id": 39100,
3855
+ "functionReturnParameters": 39070,
3856
+ "id": 39111,
3857
3857
  "nodeType": "Return",
3858
3858
  "src": "2977:279:98"
3859
3859
  }
3860
3860
  ]
3861
3861
  },
3862
3862
  "documentation": {
3863
- "id": 39052,
3863
+ "id": 39063,
3864
3864
  "nodeType": "StructuredDocumentation",
3865
3865
  "src": "2646:71:98",
3866
3866
  "text": " Convert a resource ID to a string for more readable logs"
@@ -3871,41 +3871,41 @@
3871
3871
  "name": "toString",
3872
3872
  "nameLocation": "2729:8:98",
3873
3873
  "parameters": {
3874
- "id": 39056,
3874
+ "id": 39067,
3875
3875
  "nodeType": "ParameterList",
3876
3876
  "parameters": [
3877
3877
  {
3878
3878
  "constant": false,
3879
- "id": 39055,
3879
+ "id": 39066,
3880
3880
  "mutability": "mutable",
3881
3881
  "name": "resourceId",
3882
3882
  "nameLocation": "2749:10:98",
3883
3883
  "nodeType": "VariableDeclaration",
3884
- "scope": 39102,
3884
+ "scope": 39113,
3885
3885
  "src": "2738:21:98",
3886
3886
  "stateVariable": false,
3887
3887
  "storageLocation": "default",
3888
3888
  "typeDescriptions": {
3889
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3889
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3890
3890
  "typeString": "ResourceId"
3891
3891
  },
3892
3892
  "typeName": {
3893
- "id": 39054,
3893
+ "id": 39065,
3894
3894
  "nodeType": "UserDefinedTypeName",
3895
3895
  "pathNode": {
3896
- "id": 39053,
3896
+ "id": 39064,
3897
3897
  "name": "ResourceId",
3898
3898
  "nameLocations": [
3899
3899
  "2738:10:98"
3900
3900
  ],
3901
3901
  "nodeType": "IdentifierPath",
3902
- "referencedDeclaration": 26191,
3902
+ "referencedDeclaration": 26198,
3903
3903
  "src": "2738:10:98"
3904
3904
  },
3905
- "referencedDeclaration": 26191,
3905
+ "referencedDeclaration": 26198,
3906
3906
  "src": "2738:10:98",
3907
3907
  "typeDescriptions": {
3908
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
3908
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
3909
3909
  "typeString": "ResourceId"
3910
3910
  }
3911
3911
  },
@@ -3915,17 +3915,17 @@
3915
3915
  "src": "2737:23:98"
3916
3916
  },
3917
3917
  "returnParameters": {
3918
- "id": 39059,
3918
+ "id": 39070,
3919
3919
  "nodeType": "ParameterList",
3920
3920
  "parameters": [
3921
3921
  {
3922
3922
  "constant": false,
3923
- "id": 39058,
3923
+ "id": 39069,
3924
3924
  "mutability": "mutable",
3925
3925
  "name": "",
3926
3926
  "nameLocation": "-1:-1:-1",
3927
3927
  "nodeType": "VariableDeclaration",
3928
- "scope": 39102,
3928
+ "scope": 39113,
3929
3929
  "src": "2784:13:98",
3930
3930
  "stateVariable": false,
3931
3931
  "storageLocation": "memory",
@@ -3934,7 +3934,7 @@
3934
3934
  "typeString": "string"
3935
3935
  },
3936
3936
  "typeName": {
3937
- "id": 39057,
3937
+ "id": 39068,
3938
3938
  "name": "string",
3939
3939
  "nodeType": "ElementaryTypeName",
3940
3940
  "src": "2784:6:98",
@@ -3948,7 +3948,7 @@
3948
3948
  ],
3949
3949
  "src": "2783:15:98"
3950
3950
  },
3951
- "scope": 39103,
3951
+ "scope": 39114,
3952
3952
  "stateMutability": "pure",
3953
3953
  "virtual": false,
3954
3954
  "visibility": "internal"
@@ -3961,11 +3961,11 @@
3961
3961
  "contractKind": "library",
3962
3962
  "fullyImplemented": true,
3963
3963
  "linearizedBaseContracts": [
3964
- 39103
3964
+ 39114
3965
3965
  ],
3966
3966
  "name": "WorldResourceIdInstance",
3967
3967
  "nameLocation": "1910:23:98",
3968
- "scope": 39104,
3968
+ "scope": 39115,
3969
3969
  "usedErrors": [],
3970
3970
  "usedEvents": []
3971
3971
  }