@latticexyz/world-modules 2.0.0-main-251170e1 → 2.0.0-main-5741d53d

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 (121) 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/Callbacks.sol/Callbacks.json +45 -45
  5. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +350 -350
  6. package/out/CallboundDelegations.sol/CallboundDelegations.json +4497 -4497
  7. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  8. package/out/Hooks.sol/Hooks.json +45 -45
  9. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +111 -111
  10. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +96 -96
  11. package/out/IBaseWorld.sol/IBaseWorld.abi.json +0 -13
  12. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +0 -13
  13. package/out/IBaseWorld.sol/IBaseWorld.json +81 -161
  14. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  16. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  17. package/out/ICoreSystem.sol/ICoreSystem.json +15 -15
  18. package/out/IDelegationControl.sol/IDelegationControl.json +100 -100
  19. package/out/IModule.sol/IModule.json +139 -139
  20. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +58 -58
  21. package/out/ISystemHook.sol/ISystemHook.json +141 -141
  22. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +2 -2
  23. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +2 -2
  24. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +37 -37
  25. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +118 -118
  26. package/out/IWorldErrors.sol/IWorldErrors.json +257 -257
  27. package/out/IWorldKernel.sol/IWorldCall.json +251 -251
  28. package/out/IWorldKernel.sol/IWorldKernel.json +251 -251
  29. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +251 -251
  30. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +321 -321
  31. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  32. package/out/KeysInTable.sol/KeysInTable.json +18190 -18190
  33. package/out/KeysInTableHook.sol/KeysInTableHook.json +1407 -1407
  34. package/out/KeysInTableModule.sol/KeysInTableModule.json +885 -885
  35. package/out/KeysWithValue.sol/KeysWithValue.json +6631 -6631
  36. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1604 -1604
  37. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +700 -700
  38. package/out/Mixed.sol/Mixed.json +66 -66
  39. package/out/Module.sol/Module.json +73 -73
  40. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  41. package/out/Schema.sol/SchemaInstance.json +30 -30
  42. package/out/Schema.sol/SchemaLib.json +30 -30
  43. package/out/SchemaType.sol/SchemaType.json +276 -276
  44. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +495 -495
  45. package/out/StoreHook.sol/StoreHook.json +358 -358
  46. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  47. package/out/System.sol/System.json +19 -19
  48. package/out/Tables.sol/Tables.json +73 -73
  49. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +183 -183
  50. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3474 -3474
  51. package/out/UniqueEntity.sol/UniqueEntity.json +2345 -2345
  52. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +529 -529
  53. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +128 -128
  54. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4588 -4588
  55. package/out/Vector2.sol/Vector2.json +52 -52
  56. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  57. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  58. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  59. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  60. package/out/constants.sol/constants.json +142 -142
  61. package/out/getKeysInTable.sol/getKeysInTable.json +918 -918
  62. package/out/getKeysWithValue.sol/getKeysWithValue.json +431 -431
  63. package/out/getTargetTableId.sol/getTargetTableId.json +272 -272
  64. package/out/getUniqueEntity.sol/getUniqueEntity.json +149 -149
  65. package/out/hasKey.sol/hasKey.json +215 -215
  66. package/out/index.sol/index.json +73 -73
  67. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  68. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  69. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +326 -253
  70. package/out/interfaces/IERC165.sol/IERC165.json +50 -50
  71. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +149 -149
  72. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +149 -149
  73. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  74. package/out/query.sol/query.json +1892 -1892
  75. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  76. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  77. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  78. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  79. package/out/src/IStore.sol/IStore.json +885 -885
  80. package/out/src/IStore.sol/IStoreData.json +885 -885
  81. package/out/src/IStore.sol/IStoreRead.json +885 -885
  82. package/out/src/IStore.sol/IStoreRegistration.json +885 -885
  83. package/out/src/IStore.sol/IStoreWrite.json +885 -885
  84. package/out/src/Memory.sol/Memory.json +89 -89
  85. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  86. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  87. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  88. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  89. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  90. package/out/src/Schema.sol/SchemaLib.json +787 -787
  91. package/out/src/Slice.sol/SliceInstance.json +429 -429
  92. package/out/src/Slice.sol/SliceLib.json +429 -429
  93. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  94. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  95. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  96. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  97. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  98. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  99. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  100. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  101. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  102. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  103. package/out/tables/Tables.sol/Tables.json +7288 -7288
  104. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  105. package/out/types.sol/types.json +131 -23
  106. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  107. package/package.json +8 -8
  108. package/src/interfaces/IBaseWorld.sol +1 -3
  109. package/src/interfaces/IUniqueEntitySystem.sol +2 -3
  110. package/src/modules/keysintable/KeysInTableModule.sol +1 -1
  111. package/src/modules/keyswithvalue/KeysWithValueHook.sol +1 -1
  112. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -1
  113. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -1
  114. package/src/modules/uniqueentity/UniqueEntityModule.sol +1 -1
  115. package/src/modules/uniqueentity/getUniqueEntity.sol +2 -2
  116. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  117. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  118. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
  119. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json +0 -15
  120. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.abi.json.d.ts +0 -16
  121. package/out/interfaces/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +0 -197
@@ -10,37 +10,37 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/constants.sol",
13
- "id": 33202,
13
+ "id": 33388,
14
14
  "exportedSymbols": {
15
15
  "RESOURCE_NAMESPACE": [
16
- 33726
16
+ 33745
17
17
  ],
18
18
  "RESOURCE_SYSTEM": [
19
- 33732
19
+ 33751
20
20
  ],
21
21
  "ROOT_NAME": [
22
- 33168
22
+ 33354
23
23
  ],
24
24
  "ROOT_NAMESPACE": [
25
- 33165
25
+ 33351
26
26
  ],
27
27
  "ROOT_NAMESPACE_ID": [
28
- 33183
28
+ 33369
29
29
  ],
30
30
  "ResourceId": [
31
- 36365
31
+ 36384
32
32
  ],
33
33
  "UNLIMITED_DELEGATION": [
34
- 33201
34
+ 33387
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": 33343,
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": 33345,
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,
61
- "sourceUnit": 36430,
60
+ "scope": 33388,
61
+ "sourceUnit": 36449,
62
62
  "symbolAliases": [
63
63
  {
64
64
  "foreign": {
65
- "id": 33158,
65
+ "id": 33344,
66
66
  "name": "ResourceId",
67
67
  "nodeType": "Identifier",
68
68
  "overloadedDeclarations": [],
69
- "referencedDeclaration": 36365,
70
- "src": "68:10:35",
69
+ "referencedDeclaration": 36384,
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": 33348,
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,
87
- "sourceUnit": 33751,
86
+ "scope": 33388,
87
+ "sourceUnit": 33770,
88
88
  "symbolAliases": [
89
89
  {
90
90
  "foreign": {
91
- "id": 33160,
91
+ "id": 33346,
92
92
  "name": "RESOURCE_SYSTEM",
93
93
  "nodeType": "Identifier",
94
94
  "overloadedDeclarations": [],
95
- "referencedDeclaration": 33732,
96
- "src": "136:15:35",
95
+ "referencedDeclaration": 33751,
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": 33347,
104
104
  "name": "RESOURCE_NAMESPACE",
105
105
  "nodeType": "Identifier",
106
106
  "overloadedDeclarations": [],
107
- "referencedDeclaration": 33726,
108
- "src": "153:18:35",
107
+ "referencedDeclaration": 33745,
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": 33351,
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": 33388,
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": 33349,
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": 33350,
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": 33354,
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": 33388,
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": 33352,
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": 33353,
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,38 +202,38 @@
202
202
  "visibility": "internal"
203
203
  },
204
204
  {
205
- "id": 33183,
205
+ "id": 33369,
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": 33388,
214
214
  "stateVariable": false,
215
215
  "storageLocation": "default",
216
216
  "typeDescriptions": {
217
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
217
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
218
218
  "typeString": "ResourceId"
219
219
  },
220
220
  "typeName": {
221
- "id": 33170,
221
+ "id": 33356,
222
222
  "nodeType": "UserDefinedTypeName",
223
223
  "pathNode": {
224
- "id": 33169,
224
+ "id": 33355,
225
225
  "name": "ResourceId",
226
226
  "nameLocations": [
227
- "280:10:35"
227
+ "280:10:41"
228
228
  ],
229
229
  "nodeType": "IdentifierPath",
230
- "referencedDeclaration": 36365,
231
- "src": "280:10:35"
230
+ "referencedDeclaration": 36384,
231
+ "src": "280:10:41"
232
232
  },
233
- "referencedDeclaration": 36365,
234
- "src": "280:10:35",
233
+ "referencedDeclaration": 36384,
234
+ "src": "280:10:41",
235
235
  "typeDescriptions": {
236
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
236
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
237
237
  "typeString": "ResourceId"
238
238
  }
239
239
  },
@@ -244,36 +244,36 @@
244
244
  {
245
245
  "arguments": [
246
246
  {
247
- "id": 33177,
247
+ "id": 33363,
248
248
  "name": "RESOURCE_NAMESPACE",
249
249
  "nodeType": "Identifier",
250
250
  "overloadedDeclarations": [],
251
- "referencedDeclaration": 33726,
252
- "src": "364:18:35",
251
+ "referencedDeclaration": 33745,
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": 33364,
260
260
  "name": "ROOT_NAMESPACE",
261
261
  "nodeType": "Identifier",
262
262
  "overloadedDeclarations": [],
263
- "referencedDeclaration": 33165,
264
- "src": "384:14:35",
263
+ "referencedDeclaration": 33351,
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": 33365,
272
272
  "name": "ROOT_NAME",
273
273
  "nodeType": "Identifier",
274
274
  "overloadedDeclarations": [],
275
- "referencedDeclaration": 33168,
276
- "src": "400:9:35",
275
+ "referencedDeclaration": 33354,
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": 33361,
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": 33362,
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": 33366,
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": 33360,
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": 33359,
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": 33367,
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": 33357,
393
393
  "name": "ResourceId",
394
394
  "nodeType": "Identifier",
395
395
  "overloadedDeclarations": [],
396
- "referencedDeclaration": 36365,
397
- "src": "320:10:35",
396
+ "referencedDeclaration": 36384,
397
+ "src": "320:10:41",
398
398
  "typeDescriptions": {
399
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$36365_$",
399
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$36384_$",
400
400
  "typeString": "type(ResourceId)"
401
401
  }
402
402
  },
403
- "id": 33172,
403
+ "id": 33358,
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
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$36365_$",
413
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$36384_$",
414
414
  "typeString": "function (bytes32) pure returns (ResourceId)"
415
415
  }
416
416
  },
417
- "id": 33182,
417
+ "id": 33368,
418
418
  "isConstant": false,
419
419
  "isLValue": false,
420
420
  "isPure": true,
@@ -423,48 +423,48 @@
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
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
429
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
430
430
  "typeString": "ResourceId"
431
431
  }
432
432
  },
433
433
  "visibility": "internal"
434
434
  },
435
435
  {
436
- "id": 33201,
436
+ "id": 33387,
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": 33388,
445
445
  "stateVariable": false,
446
446
  "storageLocation": "default",
447
447
  "typeDescriptions": {
448
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
448
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
449
449
  "typeString": "ResourceId"
450
450
  },
451
451
  "typeName": {
452
- "id": 33185,
452
+ "id": 33371,
453
453
  "nodeType": "UserDefinedTypeName",
454
454
  "pathNode": {
455
- "id": 33184,
455
+ "id": 33370,
456
456
  "name": "ResourceId",
457
457
  "nameLocations": [
458
- "416:10:35"
458
+ "416:10:41"
459
459
  ],
460
460
  "nodeType": "IdentifierPath",
461
- "referencedDeclaration": 36365,
462
- "src": "416:10:35"
461
+ "referencedDeclaration": 36384,
462
+ "src": "416:10:41"
463
463
  },
464
- "referencedDeclaration": 36365,
465
- "src": "416:10:35",
464
+ "referencedDeclaration": 36384,
465
+ "src": "416:10:41",
466
466
  "typeDescriptions": {
467
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
467
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
468
468
  "typeString": "ResourceId"
469
469
  }
470
470
  },
@@ -475,24 +475,24 @@
475
475
  {
476
476
  "arguments": [
477
477
  {
478
- "id": 33192,
478
+ "id": 33378,
479
479
  "name": "RESOURCE_SYSTEM",
480
480
  "nodeType": "Identifier",
481
481
  "overloadedDeclarations": [],
482
- "referencedDeclaration": 33732,
483
- "src": "503:15:35",
482
+ "referencedDeclaration": 33751,
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": 33379,
491
491
  "name": "ROOT_NAMESPACE",
492
492
  "nodeType": "Identifier",
493
493
  "overloadedDeclarations": [],
494
- "referencedDeclaration": 33165,
495
- "src": "520:14:35",
494
+ "referencedDeclaration": 33351,
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": 33382,
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": 33381,
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": 33380,
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": 33383,
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": 33376,
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": 33377,
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": 33384,
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": 33375,
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": 33374,
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": 33385,
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": 33372,
673
673
  "name": "ResourceId",
674
674
  "nodeType": "Identifier",
675
675
  "overloadedDeclarations": [],
676
- "referencedDeclaration": 36365,
677
- "src": "459:10:35",
676
+ "referencedDeclaration": 36384,
677
+ "src": "459:10:41",
678
678
  "typeDescriptions": {
679
- "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$36365_$",
679
+ "typeIdentifier": "t_type$_t_userDefinedValueType$_ResourceId_$36384_$",
680
680
  "typeString": "type(ResourceId)"
681
681
  }
682
682
  },
683
- "id": 33187,
683
+ "id": 33373,
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
- "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$36365_$",
693
+ "typeIdentifier": "t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueType$_ResourceId_$36384_$",
694
694
  "typeString": "function (bytes32) pure returns (ResourceId)"
695
695
  }
696
696
  },
697
- "id": 33200,
697
+ "id": 33386,
698
698
  "isConstant": false,
699
699
  "isLValue": false,
700
700
  "isPure": true,
@@ -703,10 +703,10 @@
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
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36365",
709
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$36384",
710
710
  "typeString": "ResourceId"
711
711
  }
712
712
  },
@@ -715,5 +715,5 @@
715
715
  ],
716
716
  "license": "MIT"
717
717
  },
718
- "id": 35
718
+ "id": 41
719
719
  }