@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-c07fa021

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 (91) hide show
  1. package/dist/mud.config.js +1 -1
  2. package/dist/mud.config.js.map +1 -1
  3. package/out/ArrayLib.sol/ArrayLib.json +477 -477
  4. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +314 -314
  5. package/out/CallboundDelegations.sol/CallboundDelegations.json +4012 -4012
  6. package/out/DelegationControl.sol/DelegationControl.json +22 -22
  7. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +97 -97
  8. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +81 -81
  9. package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
  10. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
  11. package/out/IBaseWorld.sol/IBaseWorld.json +63 -143
  12. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +51 -51
  13. package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
  14. package/out/IDelegationControl.sol/IDelegationControl.json +93 -93
  15. package/out/IModule.sol/IModule.json +139 -139
  16. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
  17. package/out/ISystemHook.sol/ISystemHook.json +129 -129
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
  19. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
  20. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
  21. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
  22. package/out/IWorldErrors.sol/IWorldErrors.json +238 -238
  23. package/out/IWorldKernel.sol/IWorldCall.json +241 -241
  24. package/out/IWorldKernel.sol/IWorldKernel.json +241 -241
  25. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +241 -241
  26. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +282 -282
  27. package/out/KeysInTable.sol/KeysInTable.json +15792 -15792
  28. package/out/KeysInTableHook.sol/KeysInTableHook.json +1253 -1253
  29. package/out/KeysInTableModule.sol/KeysInTableModule.json +798 -798
  30. package/out/KeysWithValue.sol/KeysWithValue.json +5879 -5879
  31. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1335 -1335
  32. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +619 -619
  33. package/out/Module.sol/Module.json +20 -20
  34. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +467 -467
  35. package/out/StoreHook.sol/StoreHook.json +31 -31
  36. package/out/System.sol/System.json +3 -3
  37. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +166 -166
  38. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3149 -3149
  39. package/out/UniqueEntity.sol/UniqueEntity.json +1976 -1976
  40. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +486 -486
  41. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
  42. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +3954 -3954
  43. package/out/WorldContext.sol/WorldContextConsumer.json +17 -17
  44. package/out/WorldContext.sol/WorldContextProvider.json +17 -17
  45. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +7 -7
  46. package/out/WorldResourceId.sol/WorldResourceIdLib.json +7 -7
  47. package/out/constants.sol/constants.json +116 -116
  48. package/out/getKeysInTable.sol/getKeysInTable.json +819 -819
  49. package/out/getKeysWithValue.sol/getKeysWithValue.json +374 -374
  50. package/out/getTargetTableId.sol/getTargetTableId.json +232 -232
  51. package/out/getUniqueEntity.sol/getUniqueEntity.json +143 -143
  52. package/out/hasKey.sol/hasKey.json +189 -189
  53. package/out/index.sol/index.json +73 -73
  54. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +197 -197
  55. package/out/interfaces/IERC165.sol/IERC165.json +50 -50
  56. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +137 -137
  57. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +137 -137
  58. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +137 -137
  59. package/out/query.sol/query.json +1791 -1791
  60. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  61. package/out/src/FieldLayout.sol/FieldLayoutLib.json +47 -47
  62. package/out/src/IStore.sol/IStore.json +21 -21
  63. package/out/src/IStore.sol/IStoreData.json +21 -21
  64. package/out/src/IStore.sol/IStoreRead.json +21 -21
  65. package/out/src/IStore.sol/IStoreRegistration.json +21 -21
  66. package/out/src/IStore.sol/IStoreWrite.json +21 -21
  67. package/out/src/Memory.sol/Memory.json +4 -4
  68. package/out/src/Schema.sol/SchemaInstance.json +42 -42
  69. package/out/src/Schema.sol/SchemaLib.json +42 -42
  70. package/out/src/Slice.sol/SliceInstance.json +4 -4
  71. package/out/src/Slice.sol/SliceLib.json +4 -4
  72. package/out/src/StoreCore.sol/StoreCore.json +294 -294
  73. package/out/src/StoreCore.sol/StoreCoreInternal.json +294 -294
  74. package/out/src/StoreSwitch.sol/StoreSwitch.json +23 -23
  75. package/out/src/WorldContext.sol/WorldContextConsumer.json +22 -22
  76. package/out/src/WorldContext.sol/WorldContextProvider.json +22 -22
  77. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +14 -14
  78. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +14 -14
  79. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +297 -297
  80. package/package.json +8 -8
  81. package/src/interfaces/IBaseWorld.sol +1 -3
  82. package/src/interfaces/IUniqueEntitySystem.sol +2 -3
  83. package/src/modules/keysintable/KeysInTableModule.sol +1 -1
  84. package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
  85. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
  86. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
  87. package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
  88. package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
  89. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
  90. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
  91. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/constants.sol",
13
- "id": 33202,
13
+ "id": 33377,
14
14
  "exportedSymbols": {
15
15
  "RESOURCE_NAMESPACE": [
16
16
  33726
@@ -19,28 +19,28 @@
19
19
  33732
20
20
  ],
21
21
  "ROOT_NAME": [
22
- 33168
22
+ 33343
23
23
  ],
24
24
  "ROOT_NAMESPACE": [
25
- 33165
25
+ 33340
26
26
  ],
27
27
  "ROOT_NAMESPACE_ID": [
28
- 33183
28
+ 33358
29
29
  ],
30
30
  "ResourceId": [
31
31
  36365
32
32
  ],
33
33
  "UNLIMITED_DELEGATION": [
34
- 33201
34
+ 33376
35
35
  ]
36
36
  },
37
37
  "nodeType": "SourceUnit",
38
- "src": "32:530:35",
38
+ "src": "32:530:41",
39
39
  "nodes": [
40
40
  {
41
- "id": 33157,
41
+ "id": 33332,
42
42
  "nodeType": "PragmaDirective",
43
- "src": "32:25:35",
43
+ "src": "32:25:41",
44
44
  "nodes": [],
45
45
  "literals": [
46
46
  "solidity",
@@ -50,24 +50,24 @@
50
50
  ]
51
51
  },
52
52
  {
53
- "id": 33159,
53
+ "id": 33334,
54
54
  "nodeType": "ImportDirective",
55
- "src": "59:66:35",
55
+ "src": "59:66:41",
56
56
  "nodes": [],
57
57
  "absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
58
58
  "file": "@latticexyz/store/src/ResourceId.sol",
59
59
  "nameLocation": "-1:-1:-1",
60
- "scope": 33202,
60
+ "scope": 33377,
61
61
  "sourceUnit": 36430,
62
62
  "symbolAliases": [
63
63
  {
64
64
  "foreign": {
65
- "id": 33158,
65
+ "id": 33333,
66
66
  "name": "ResourceId",
67
67
  "nodeType": "Identifier",
68
68
  "overloadedDeclarations": [],
69
69
  "referencedDeclaration": 36365,
70
- "src": "68:10:35",
70
+ "src": "68:10:41",
71
71
  "typeDescriptions": {}
72
72
  },
73
73
  "nameLocation": "-1:-1:-1"
@@ -76,36 +76,36 @@
76
76
  "unitAlias": ""
77
77
  },
78
78
  {
79
- "id": 33162,
79
+ "id": 33337,
80
80
  "nodeType": "ImportDirective",
81
- "src": "127:79:35",
81
+ "src": "127:79:41",
82
82
  "nodes": [],
83
83
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/worldResourceTypes.sol",
84
84
  "file": "./worldResourceTypes.sol",
85
85
  "nameLocation": "-1:-1:-1",
86
- "scope": 33202,
86
+ "scope": 33377,
87
87
  "sourceUnit": 33751,
88
88
  "symbolAliases": [
89
89
  {
90
90
  "foreign": {
91
- "id": 33160,
91
+ "id": 33335,
92
92
  "name": "RESOURCE_SYSTEM",
93
93
  "nodeType": "Identifier",
94
94
  "overloadedDeclarations": [],
95
95
  "referencedDeclaration": 33732,
96
- "src": "136:15:35",
96
+ "src": "136:15:41",
97
97
  "typeDescriptions": {}
98
98
  },
99
99
  "nameLocation": "-1:-1:-1"
100
100
  },
101
101
  {
102
102
  "foreign": {
103
- "id": 33161,
103
+ "id": 33336,
104
104
  "name": "RESOURCE_NAMESPACE",
105
105
  "nodeType": "Identifier",
106
106
  "overloadedDeclarations": [],
107
107
  "referencedDeclaration": 33726,
108
- "src": "153:18:35",
108
+ "src": "153:18:41",
109
109
  "typeDescriptions": {}
110
110
  },
111
111
  "nameLocation": "-1:-1:-1"
@@ -114,15 +114,15 @@
114
114
  "unitAlias": ""
115
115
  },
116
116
  {
117
- "id": 33165,
117
+ "id": 33340,
118
118
  "nodeType": "VariableDeclaration",
119
- "src": "208:36:35",
119
+ "src": "208:36:41",
120
120
  "nodes": [],
121
121
  "constant": true,
122
122
  "mutability": "constant",
123
123
  "name": "ROOT_NAMESPACE",
124
- "nameLocation": "225:14:35",
125
- "scope": 33202,
124
+ "nameLocation": "225:14:41",
125
+ "scope": 33377,
126
126
  "stateVariable": false,
127
127
  "storageLocation": "default",
128
128
  "typeDescriptions": {
@@ -130,10 +130,10 @@
130
130
  "typeString": "bytes14"
131
131
  },
132
132
  "typeName": {
133
- "id": 33163,
133
+ "id": 33338,
134
134
  "name": "bytes14",
135
135
  "nodeType": "ElementaryTypeName",
136
- "src": "208:7:35",
136
+ "src": "208:7:41",
137
137
  "typeDescriptions": {
138
138
  "typeIdentifier": "t_bytes14",
139
139
  "typeString": "bytes14"
@@ -141,14 +141,14 @@
141
141
  },
142
142
  "value": {
143
143
  "hexValue": "",
144
- "id": 33164,
144
+ "id": 33339,
145
145
  "isConstant": false,
146
146
  "isLValue": false,
147
147
  "isPure": true,
148
148
  "kind": "string",
149
149
  "lValueRequested": false,
150
150
  "nodeType": "Literal",
151
- "src": "242:2:35",
151
+ "src": "242:2:41",
152
152
  "typeDescriptions": {
153
153
  "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
154
154
  "typeString": "literal_string \"\""
@@ -158,15 +158,15 @@
158
158
  "visibility": "internal"
159
159
  },
160
160
  {
161
- "id": 33168,
161
+ "id": 33343,
162
162
  "nodeType": "VariableDeclaration",
163
- "src": "246:31:35",
163
+ "src": "246:31:41",
164
164
  "nodes": [],
165
165
  "constant": true,
166
166
  "mutability": "constant",
167
167
  "name": "ROOT_NAME",
168
- "nameLocation": "263:9:35",
169
- "scope": 33202,
168
+ "nameLocation": "263:9:41",
169
+ "scope": 33377,
170
170
  "stateVariable": false,
171
171
  "storageLocation": "default",
172
172
  "typeDescriptions": {
@@ -174,10 +174,10 @@
174
174
  "typeString": "bytes16"
175
175
  },
176
176
  "typeName": {
177
- "id": 33166,
177
+ "id": 33341,
178
178
  "name": "bytes16",
179
179
  "nodeType": "ElementaryTypeName",
180
- "src": "246:7:35",
180
+ "src": "246:7:41",
181
181
  "typeDescriptions": {
182
182
  "typeIdentifier": "t_bytes16",
183
183
  "typeString": "bytes16"
@@ -185,14 +185,14 @@
185
185
  },
186
186
  "value": {
187
187
  "hexValue": "",
188
- "id": 33167,
188
+ "id": 33342,
189
189
  "isConstant": false,
190
190
  "isLValue": false,
191
191
  "isPure": true,
192
192
  "kind": "string",
193
193
  "lValueRequested": false,
194
194
  "nodeType": "Literal",
195
- "src": "275:2:35",
195
+ "src": "275:2:41",
196
196
  "typeDescriptions": {
197
197
  "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
198
198
  "typeString": "literal_string \"\""
@@ -202,15 +202,15 @@
202
202
  "visibility": "internal"
203
203
  },
204
204
  {
205
- "id": 33183,
205
+ "id": 33358,
206
206
  "nodeType": "VariableDeclaration",
207
- "src": "280:133:35",
207
+ "src": "280:133:41",
208
208
  "nodes": [],
209
209
  "constant": true,
210
210
  "mutability": "constant",
211
211
  "name": "ROOT_NAMESPACE_ID",
212
- "nameLocation": "300:17:35",
213
- "scope": 33202,
212
+ "nameLocation": "300:17:41",
213
+ "scope": 33377,
214
214
  "stateVariable": false,
215
215
  "storageLocation": "default",
216
216
  "typeDescriptions": {
@@ -218,20 +218,20 @@
218
218
  "typeString": "ResourceId"
219
219
  },
220
220
  "typeName": {
221
- "id": 33170,
221
+ "id": 33345,
222
222
  "nodeType": "UserDefinedTypeName",
223
223
  "pathNode": {
224
- "id": 33169,
224
+ "id": 33344,
225
225
  "name": "ResourceId",
226
226
  "nameLocations": [
227
- "280:10:35"
227
+ "280:10:41"
228
228
  ],
229
229
  "nodeType": "IdentifierPath",
230
230
  "referencedDeclaration": 36365,
231
- "src": "280:10:35"
231
+ "src": "280:10:41"
232
232
  },
233
233
  "referencedDeclaration": 36365,
234
- "src": "280:10:35",
234
+ "src": "280:10:41",
235
235
  "typeDescriptions": {
236
236
  "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
237
237
  "typeString": "ResourceId"
@@ -244,36 +244,36 @@
244
244
  {
245
245
  "arguments": [
246
246
  {
247
- "id": 33177,
247
+ "id": 33352,
248
248
  "name": "RESOURCE_NAMESPACE",
249
249
  "nodeType": "Identifier",
250
250
  "overloadedDeclarations": [],
251
251
  "referencedDeclaration": 33726,
252
- "src": "364:18:35",
252
+ "src": "364:18:41",
253
253
  "typeDescriptions": {
254
254
  "typeIdentifier": "t_bytes2",
255
255
  "typeString": "bytes2"
256
256
  }
257
257
  },
258
258
  {
259
- "id": 33178,
259
+ "id": 33353,
260
260
  "name": "ROOT_NAMESPACE",
261
261
  "nodeType": "Identifier",
262
262
  "overloadedDeclarations": [],
263
- "referencedDeclaration": 33165,
264
- "src": "384:14:35",
263
+ "referencedDeclaration": 33340,
264
+ "src": "384:14:41",
265
265
  "typeDescriptions": {
266
266
  "typeIdentifier": "t_bytes14",
267
267
  "typeString": "bytes14"
268
268
  }
269
269
  },
270
270
  {
271
- "id": 33179,
271
+ "id": 33354,
272
272
  "name": "ROOT_NAME",
273
273
  "nodeType": "Identifier",
274
274
  "overloadedDeclarations": [],
275
- "referencedDeclaration": 33168,
276
- "src": "400:9:35",
275
+ "referencedDeclaration": 33343,
276
+ "src": "400:9:41",
277
277
  "typeDescriptions": {
278
278
  "typeIdentifier": "t_bytes16",
279
279
  "typeString": "bytes16"
@@ -296,32 +296,32 @@
296
296
  }
297
297
  ],
298
298
  "expression": {
299
- "id": 33175,
299
+ "id": 33350,
300
300
  "name": "abi",
301
301
  "nodeType": "Identifier",
302
302
  "overloadedDeclarations": [],
303
303
  "referencedDeclaration": -1,
304
- "src": "347:3:35",
304
+ "src": "347:3:41",
305
305
  "typeDescriptions": {
306
306
  "typeIdentifier": "t_magic_abi",
307
307
  "typeString": "abi"
308
308
  }
309
309
  },
310
- "id": 33176,
310
+ "id": 33351,
311
311
  "isConstant": false,
312
312
  "isLValue": false,
313
313
  "isPure": true,
314
314
  "lValueRequested": false,
315
- "memberLocation": "351:12:35",
315
+ "memberLocation": "351:12:41",
316
316
  "memberName": "encodePacked",
317
317
  "nodeType": "MemberAccess",
318
- "src": "347:16:35",
318
+ "src": "347:16:41",
319
319
  "typeDescriptions": {
320
320
  "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
321
321
  "typeString": "function () pure returns (bytes memory)"
322
322
  }
323
323
  },
324
- "id": 33180,
324
+ "id": 33355,
325
325
  "isConstant": false,
326
326
  "isLValue": false,
327
327
  "isPure": true,
@@ -330,7 +330,7 @@
330
330
  "nameLocations": [],
331
331
  "names": [],
332
332
  "nodeType": "FunctionCall",
333
- "src": "347:63:35",
333
+ "src": "347:63:41",
334
334
  "tryCall": false,
335
335
  "typeDescriptions": {
336
336
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -345,26 +345,26 @@
345
345
  "typeString": "bytes memory"
346
346
  }
347
347
  ],
348
- "id": 33174,
348
+ "id": 33349,
349
349
  "isConstant": false,
350
350
  "isLValue": false,
351
351
  "isPure": true,
352
352
  "lValueRequested": false,
353
353
  "nodeType": "ElementaryTypeNameExpression",
354
- "src": "339:7:35",
354
+ "src": "339:7:41",
355
355
  "typeDescriptions": {
356
356
  "typeIdentifier": "t_type$_t_bytes32_$",
357
357
  "typeString": "type(bytes32)"
358
358
  },
359
359
  "typeName": {
360
- "id": 33173,
360
+ "id": 33348,
361
361
  "name": "bytes32",
362
362
  "nodeType": "ElementaryTypeName",
363
- "src": "339:7:35",
363
+ "src": "339:7:41",
364
364
  "typeDescriptions": {}
365
365
  }
366
366
  },
367
- "id": 33181,
367
+ "id": 33356,
368
368
  "isConstant": false,
369
369
  "isLValue": false,
370
370
  "isPure": true,
@@ -373,7 +373,7 @@
373
373
  "nameLocations": [],
374
374
  "names": [],
375
375
  "nodeType": "FunctionCall",
376
- "src": "339:72:35",
376
+ "src": "339:72:41",
377
377
  "tryCall": false,
378
378
  "typeDescriptions": {
379
379
  "typeIdentifier": "t_bytes32",
@@ -389,32 +389,32 @@
389
389
  }
390
390
  ],
391
391
  "expression": {
392
- "id": 33171,
392
+ "id": 33346,
393
393
  "name": "ResourceId",
394
394
  "nodeType": "Identifier",
395
395
  "overloadedDeclarations": [],
396
396
  "referencedDeclaration": 36365,
397
- "src": "320:10:35",
397
+ "src": "320:10:41",
398
398
  "typeDescriptions": {
399
399
  "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$36365_$",
400
400
  "typeString": "type(ResourceId)"
401
401
  }
402
402
  },
403
- "id": 33172,
403
+ "id": 33347,
404
404
  "isConstant": false,
405
405
  "isLValue": false,
406
406
  "isPure": true,
407
407
  "lValueRequested": false,
408
- "memberLocation": "331:4:35",
408
+ "memberLocation": "331:4:41",
409
409
  "memberName": "wrap",
410
410
  "nodeType": "MemberAccess",
411
- "src": "320:15:35",
411
+ "src": "320:15:41",
412
412
  "typeDescriptions": {
413
413
  "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$36365_$",
414
414
  "typeString": "function (bytes32) pure returns (ResourceId)"
415
415
  }
416
416
  },
417
- "id": 33182,
417
+ "id": 33357,
418
418
  "isConstant": false,
419
419
  "isLValue": false,
420
420
  "isPure": true,
@@ -423,7 +423,7 @@
423
423
  "nameLocations": [],
424
424
  "names": [],
425
425
  "nodeType": "FunctionCall",
426
- "src": "320:93:35",
426
+ "src": "320:93:41",
427
427
  "tryCall": false,
428
428
  "typeDescriptions": {
429
429
  "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
@@ -433,15 +433,15 @@
433
433
  "visibility": "internal"
434
434
  },
435
435
  {
436
- "id": 33201,
436
+ "id": 33376,
437
437
  "nodeType": "VariableDeclaration",
438
- "src": "416:144:35",
438
+ "src": "416:144:41",
439
439
  "nodes": [],
440
440
  "constant": true,
441
441
  "mutability": "constant",
442
442
  "name": "UNLIMITED_DELEGATION",
443
- "nameLocation": "436:20:35",
444
- "scope": 33202,
443
+ "nameLocation": "436:20:41",
444
+ "scope": 33377,
445
445
  "stateVariable": false,
446
446
  "storageLocation": "default",
447
447
  "typeDescriptions": {
@@ -449,20 +449,20 @@
449
449
  "typeString": "ResourceId"
450
450
  },
451
451
  "typeName": {
452
- "id": 33185,
452
+ "id": 33360,
453
453
  "nodeType": "UserDefinedTypeName",
454
454
  "pathNode": {
455
- "id": 33184,
455
+ "id": 33359,
456
456
  "name": "ResourceId",
457
457
  "nameLocations": [
458
- "416:10:35"
458
+ "416:10:41"
459
459
  ],
460
460
  "nodeType": "IdentifierPath",
461
461
  "referencedDeclaration": 36365,
462
- "src": "416:10:35"
462
+ "src": "416:10:41"
463
463
  },
464
464
  "referencedDeclaration": 36365,
465
- "src": "416:10:35",
465
+ "src": "416:10:41",
466
466
  "typeDescriptions": {
467
467
  "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
468
468
  "typeString": "ResourceId"
@@ -475,24 +475,24 @@
475
475
  {
476
476
  "arguments": [
477
477
  {
478
- "id": 33192,
478
+ "id": 33367,
479
479
  "name": "RESOURCE_SYSTEM",
480
480
  "nodeType": "Identifier",
481
481
  "overloadedDeclarations": [],
482
482
  "referencedDeclaration": 33732,
483
- "src": "503:15:35",
483
+ "src": "503:15:41",
484
484
  "typeDescriptions": {
485
485
  "typeIdentifier": "t_bytes2",
486
486
  "typeString": "bytes2"
487
487
  }
488
488
  },
489
489
  {
490
- "id": 33193,
490
+ "id": 33368,
491
491
  "name": "ROOT_NAMESPACE",
492
492
  "nodeType": "Identifier",
493
493
  "overloadedDeclarations": [],
494
- "referencedDeclaration": 33165,
495
- "src": "520:14:35",
494
+ "referencedDeclaration": 33340,
495
+ "src": "520:14:41",
496
496
  "typeDescriptions": {
497
497
  "typeIdentifier": "t_bytes14",
498
498
  "typeString": "bytes14"
@@ -502,14 +502,14 @@
502
502
  "arguments": [
503
503
  {
504
504
  "hexValue": "756e6c696d69746564",
505
- "id": 33196,
505
+ "id": 33371,
506
506
  "isConstant": false,
507
507
  "isLValue": false,
508
508
  "isPure": true,
509
509
  "kind": "string",
510
510
  "lValueRequested": false,
511
511
  "nodeType": "Literal",
512
- "src": "544:11:35",
512
+ "src": "544:11:41",
513
513
  "typeDescriptions": {
514
514
  "typeIdentifier": "t_stringliteral_2a99c007357d7836fff579cc3480b735ced34796eb2805e33c23d0eaeefdc492",
515
515
  "typeString": "literal_string \"unlimited\""
@@ -524,26 +524,26 @@
524
524
  "typeString": "literal_string \"unlimited\""
525
525
  }
526
526
  ],
527
- "id": 33195,
527
+ "id": 33370,
528
528
  "isConstant": false,
529
529
  "isLValue": false,
530
530
  "isPure": true,
531
531
  "lValueRequested": false,
532
532
  "nodeType": "ElementaryTypeNameExpression",
533
- "src": "536:7:35",
533
+ "src": "536:7:41",
534
534
  "typeDescriptions": {
535
535
  "typeIdentifier": "t_type$_t_bytes16_$",
536
536
  "typeString": "type(bytes16)"
537
537
  },
538
538
  "typeName": {
539
- "id": 33194,
539
+ "id": 33369,
540
540
  "name": "bytes16",
541
541
  "nodeType": "ElementaryTypeName",
542
- "src": "536:7:35",
542
+ "src": "536:7:41",
543
543
  "typeDescriptions": {}
544
544
  }
545
545
  },
546
- "id": 33197,
546
+ "id": 33372,
547
547
  "isConstant": false,
548
548
  "isLValue": false,
549
549
  "isPure": true,
@@ -552,7 +552,7 @@
552
552
  "nameLocations": [],
553
553
  "names": [],
554
554
  "nodeType": "FunctionCall",
555
- "src": "536:20:35",
555
+ "src": "536:20:41",
556
556
  "tryCall": false,
557
557
  "typeDescriptions": {
558
558
  "typeIdentifier": "t_bytes16",
@@ -576,32 +576,32 @@
576
576
  }
577
577
  ],
578
578
  "expression": {
579
- "id": 33190,
579
+ "id": 33365,
580
580
  "name": "abi",
581
581
  "nodeType": "Identifier",
582
582
  "overloadedDeclarations": [],
583
583
  "referencedDeclaration": -1,
584
- "src": "486:3:35",
584
+ "src": "486:3:41",
585
585
  "typeDescriptions": {
586
586
  "typeIdentifier": "t_magic_abi",
587
587
  "typeString": "abi"
588
588
  }
589
589
  },
590
- "id": 33191,
590
+ "id": 33366,
591
591
  "isConstant": false,
592
592
  "isLValue": false,
593
593
  "isPure": true,
594
594
  "lValueRequested": false,
595
- "memberLocation": "490:12:35",
595
+ "memberLocation": "490:12:41",
596
596
  "memberName": "encodePacked",
597
597
  "nodeType": "MemberAccess",
598
- "src": "486:16:35",
598
+ "src": "486:16:41",
599
599
  "typeDescriptions": {
600
600
  "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$",
601
601
  "typeString": "function () pure returns (bytes memory)"
602
602
  }
603
603
  },
604
- "id": 33198,
604
+ "id": 33373,
605
605
  "isConstant": false,
606
606
  "isLValue": false,
607
607
  "isPure": true,
@@ -610,7 +610,7 @@
610
610
  "nameLocations": [],
611
611
  "names": [],
612
612
  "nodeType": "FunctionCall",
613
- "src": "486:71:35",
613
+ "src": "486:71:41",
614
614
  "tryCall": false,
615
615
  "typeDescriptions": {
616
616
  "typeIdentifier": "t_bytes_memory_ptr",
@@ -625,26 +625,26 @@
625
625
  "typeString": "bytes memory"
626
626
  }
627
627
  ],
628
- "id": 33189,
628
+ "id": 33364,
629
629
  "isConstant": false,
630
630
  "isLValue": false,
631
631
  "isPure": true,
632
632
  "lValueRequested": false,
633
633
  "nodeType": "ElementaryTypeNameExpression",
634
- "src": "478:7:35",
634
+ "src": "478:7:41",
635
635
  "typeDescriptions": {
636
636
  "typeIdentifier": "t_type$_t_bytes32_$",
637
637
  "typeString": "type(bytes32)"
638
638
  },
639
639
  "typeName": {
640
- "id": 33188,
640
+ "id": 33363,
641
641
  "name": "bytes32",
642
642
  "nodeType": "ElementaryTypeName",
643
- "src": "478:7:35",
643
+ "src": "478:7:41",
644
644
  "typeDescriptions": {}
645
645
  }
646
646
  },
647
- "id": 33199,
647
+ "id": 33374,
648
648
  "isConstant": false,
649
649
  "isLValue": false,
650
650
  "isPure": true,
@@ -653,7 +653,7 @@
653
653
  "nameLocations": [],
654
654
  "names": [],
655
655
  "nodeType": "FunctionCall",
656
- "src": "478:80:35",
656
+ "src": "478:80:41",
657
657
  "tryCall": false,
658
658
  "typeDescriptions": {
659
659
  "typeIdentifier": "t_bytes32",
@@ -669,32 +669,32 @@
669
669
  }
670
670
  ],
671
671
  "expression": {
672
- "id": 33186,
672
+ "id": 33361,
673
673
  "name": "ResourceId",
674
674
  "nodeType": "Identifier",
675
675
  "overloadedDeclarations": [],
676
676
  "referencedDeclaration": 36365,
677
- "src": "459:10:35",
677
+ "src": "459:10:41",
678
678
  "typeDescriptions": {
679
679
  "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$36365_$",
680
680
  "typeString": "type(ResourceId)"
681
681
  }
682
682
  },
683
- "id": 33187,
683
+ "id": 33362,
684
684
  "isConstant": false,
685
685
  "isLValue": false,
686
686
  "isPure": true,
687
687
  "lValueRequested": false,
688
- "memberLocation": "470:4:35",
688
+ "memberLocation": "470:4:41",
689
689
  "memberName": "wrap",
690
690
  "nodeType": "MemberAccess",
691
- "src": "459:15:35",
691
+ "src": "459:15:41",
692
692
  "typeDescriptions": {
693
693
  "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$36365_$",
694
694
  "typeString": "function (bytes32) pure returns (ResourceId)"
695
695
  }
696
696
  },
697
- "id": 33200,
697
+ "id": 33375,
698
698
  "isConstant": false,
699
699
  "isLValue": false,
700
700
  "isPure": true,
@@ -703,7 +703,7 @@
703
703
  "nameLocations": [],
704
704
  "names": [],
705
705
  "nodeType": "FunctionCall",
706
- "src": "459:101:35",
706
+ "src": "459:101:41",
707
707
  "tryCall": false,
708
708
  "typeDescriptions": {
709
709
  "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
@@ -715,5 +715,5 @@
715
715
  ],
716
716
  "license": "MIT"
717
717
  },
718
- "id": 35
718
+ "id": 41
719
719
  }