@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.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +228 -215
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
- package/out/DelegationControl.sol/DelegationControl.json +157 -131
- package/out/Hooks.sol/Hooks.json +45 -45
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +57 -57
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
- package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
- package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/out/IDelegationControl.sol/IDelegationControl.json +105 -99
- package/out/IModule.sol/IModule.json +181 -151
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +34 -34
- package/out/ISystemHook.sol/ISystemHook.json +91 -91
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +75 -75
- package/out/IWorldErrors.sol/IWorldErrors.json +134 -134
- package/out/IWorldKernel.sol/IWorldCall.json +155 -155
- package/out/IWorldKernel.sol/IWorldKernel.json +155 -155
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +155 -155
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +186 -186
- package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
- package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
- package/out/KeysInTableModule.sol/KeysInTableModule.json +562 -537
- package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +992 -992
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +451 -426
- package/out/Module.sol/Module.json +162 -119
- package/out/ResourceIds.sol/ResourceIds.json +45 -45
- package/out/Schema.sol/SchemaInstance.json +30 -30
- package/out/Schema.sol/SchemaLib.json +30 -30
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +327 -308
- package/out/StoreHook.sol/StoreHook.json +358 -358
- package/out/StoreHooks.sol/StoreHooks.json +45 -45
- package/out/System.sol/System.json +23 -23
- package/out/Tables.sol/Tables.json +73 -73
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +132 -119
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
- package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +345 -326
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +86 -86
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
- package/out/WorldContext.sol/WorldContextConsumer.json +357 -357
- package/out/WorldContext.sol/WorldContextProvider.json +357 -357
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/constants.sol/constants.json +115 -115
- package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
- package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
- package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
- package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/out/hasKey.sol/hasKey.json +130 -130
- package/out/index.sol/index.json +53 -53
- package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +130 -130
- package/out/query.sol/query.json +1154 -1154
- package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
- package/out/src/Bytes.sol/Bytes.json +1332 -1332
- package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
- package/out/src/IStore.sol/IStore.json +53 -53
- package/out/src/IWorldKernel.sol/IWorldCall.json +156 -156
- package/out/src/IWorldKernel.sol/IWorldKernel.json +156 -156
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
- package/out/src/Memory.sol/Memory.json +89 -89
- package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
- package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
- package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
- package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
- package/out/src/Schema.sol/SchemaInstance.json +787 -787
- package/out/src/Schema.sol/SchemaLib.json +787 -787
- package/out/src/Slice.sol/SliceInstance.json +429 -429
- package/out/src/Slice.sol/SliceLib.json +429 -429
- package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
- package/out/src/WorldContext.sol/WorldContextConsumer.json +357 -357
- package/out/src/WorldContext.sol/WorldContextProvider.json +357 -357
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
- package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
- package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
- package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
- package/out/tables/Tables.sol/Tables.json +7288 -7288
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
- package/out/types.sol/types.json +39 -39
- package/out/world/src/IERC165.sol/IERC165.json +63 -57
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
@@ -165,20 +165,20 @@
|
|
165
165
|
},
|
166
166
|
"ast": {
|
167
167
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol",
|
168
|
-
"id":
|
168
|
+
"id": 23775,
|
169
169
|
"exportedSymbols": {
|
170
170
|
"IBalanceTransferSystem": [
|
171
|
-
|
171
|
+
23774
|
172
172
|
],
|
173
173
|
"ResourceId": [
|
174
|
-
|
174
|
+
26198
|
175
175
|
]
|
176
176
|
},
|
177
177
|
"nodeType": "SourceUnit",
|
178
178
|
"src": "32:409:43",
|
179
179
|
"nodes": [
|
180
180
|
{
|
181
|
-
"id":
|
181
|
+
"id": 23750,
|
182
182
|
"nodeType": "PragmaDirective",
|
183
183
|
"src": "32:25:43",
|
184
184
|
"nodes": [],
|
@@ -190,23 +190,23 @@
|
|
190
190
|
]
|
191
191
|
},
|
192
192
|
{
|
193
|
-
"id":
|
193
|
+
"id": 23752,
|
194
194
|
"nodeType": "ImportDirective",
|
195
195
|
"src": "108:66:43",
|
196
196
|
"nodes": [],
|
197
197
|
"absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
|
198
198
|
"file": "@latticexyz/store/src/ResourceId.sol",
|
199
199
|
"nameLocation": "-1:-1:-1",
|
200
|
-
"scope":
|
201
|
-
"sourceUnit":
|
200
|
+
"scope": 23775,
|
201
|
+
"sourceUnit": 26263,
|
202
202
|
"symbolAliases": [
|
203
203
|
{
|
204
204
|
"foreign": {
|
205
|
-
"id":
|
205
|
+
"id": 23751,
|
206
206
|
"name": "ResourceId",
|
207
207
|
"nodeType": "Identifier",
|
208
208
|
"overloadedDeclarations": [],
|
209
|
-
"referencedDeclaration":
|
209
|
+
"referencedDeclaration": 26198,
|
210
210
|
"src": "117:10:43",
|
211
211
|
"typeDescriptions": {}
|
212
212
|
},
|
@@ -216,12 +216,12 @@
|
|
216
216
|
"unitAlias": ""
|
217
217
|
},
|
218
218
|
{
|
219
|
-
"id":
|
219
|
+
"id": 23774,
|
220
220
|
"nodeType": "ContractDefinition",
|
221
221
|
"src": "176:264:43",
|
222
222
|
"nodes": [
|
223
223
|
{
|
224
|
-
"id":
|
224
|
+
"id": 23763,
|
225
225
|
"nodeType": "FunctionDefinition",
|
226
226
|
"src": "213:115:43",
|
227
227
|
"nodes": [],
|
@@ -232,41 +232,41 @@
|
|
232
232
|
"name": "transferBalanceToNamespace",
|
233
233
|
"nameLocation": "222:26:43",
|
234
234
|
"parameters": {
|
235
|
-
"id":
|
235
|
+
"id": 23761,
|
236
236
|
"nodeType": "ParameterList",
|
237
237
|
"parameters": [
|
238
238
|
{
|
239
239
|
"constant": false,
|
240
|
-
"id":
|
240
|
+
"id": 23755,
|
241
241
|
"mutability": "mutable",
|
242
242
|
"name": "fromNamespaceId",
|
243
243
|
"nameLocation": "260:15:43",
|
244
244
|
"nodeType": "VariableDeclaration",
|
245
|
-
"scope":
|
245
|
+
"scope": 23763,
|
246
246
|
"src": "249:26:43",
|
247
247
|
"stateVariable": false,
|
248
248
|
"storageLocation": "default",
|
249
249
|
"typeDescriptions": {
|
250
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
250
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
251
251
|
"typeString": "ResourceId"
|
252
252
|
},
|
253
253
|
"typeName": {
|
254
|
-
"id":
|
254
|
+
"id": 23754,
|
255
255
|
"nodeType": "UserDefinedTypeName",
|
256
256
|
"pathNode": {
|
257
|
-
"id":
|
257
|
+
"id": 23753,
|
258
258
|
"name": "ResourceId",
|
259
259
|
"nameLocations": [
|
260
260
|
"249:10:43"
|
261
261
|
],
|
262
262
|
"nodeType": "IdentifierPath",
|
263
|
-
"referencedDeclaration":
|
263
|
+
"referencedDeclaration": 26198,
|
264
264
|
"src": "249:10:43"
|
265
265
|
},
|
266
|
-
"referencedDeclaration":
|
266
|
+
"referencedDeclaration": 26198,
|
267
267
|
"src": "249:10:43",
|
268
268
|
"typeDescriptions": {
|
269
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
269
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
270
270
|
"typeString": "ResourceId"
|
271
271
|
}
|
272
272
|
},
|
@@ -274,36 +274,36 @@
|
|
274
274
|
},
|
275
275
|
{
|
276
276
|
"constant": false,
|
277
|
-
"id":
|
277
|
+
"id": 23758,
|
278
278
|
"mutability": "mutable",
|
279
279
|
"name": "toNamespaceId",
|
280
280
|
"nameLocation": "288:13:43",
|
281
281
|
"nodeType": "VariableDeclaration",
|
282
|
-
"scope":
|
282
|
+
"scope": 23763,
|
283
283
|
"src": "277:24:43",
|
284
284
|
"stateVariable": false,
|
285
285
|
"storageLocation": "default",
|
286
286
|
"typeDescriptions": {
|
287
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
287
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
288
288
|
"typeString": "ResourceId"
|
289
289
|
},
|
290
290
|
"typeName": {
|
291
|
-
"id":
|
291
|
+
"id": 23757,
|
292
292
|
"nodeType": "UserDefinedTypeName",
|
293
293
|
"pathNode": {
|
294
|
-
"id":
|
294
|
+
"id": 23756,
|
295
295
|
"name": "ResourceId",
|
296
296
|
"nameLocations": [
|
297
297
|
"277:10:43"
|
298
298
|
],
|
299
299
|
"nodeType": "IdentifierPath",
|
300
|
-
"referencedDeclaration":
|
300
|
+
"referencedDeclaration": 26198,
|
301
301
|
"src": "277:10:43"
|
302
302
|
},
|
303
|
-
"referencedDeclaration":
|
303
|
+
"referencedDeclaration": 26198,
|
304
304
|
"src": "277:10:43",
|
305
305
|
"typeDescriptions": {
|
306
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
306
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
307
307
|
"typeString": "ResourceId"
|
308
308
|
}
|
309
309
|
},
|
@@ -311,12 +311,12 @@
|
|
311
311
|
},
|
312
312
|
{
|
313
313
|
"constant": false,
|
314
|
-
"id":
|
314
|
+
"id": 23760,
|
315
315
|
"mutability": "mutable",
|
316
316
|
"name": "amount",
|
317
317
|
"nameLocation": "311:6:43",
|
318
318
|
"nodeType": "VariableDeclaration",
|
319
|
-
"scope":
|
319
|
+
"scope": 23763,
|
320
320
|
"src": "303:14:43",
|
321
321
|
"stateVariable": false,
|
322
322
|
"storageLocation": "default",
|
@@ -325,7 +325,7 @@
|
|
325
325
|
"typeString": "uint256"
|
326
326
|
},
|
327
327
|
"typeName": {
|
328
|
-
"id":
|
328
|
+
"id": 23759,
|
329
329
|
"name": "uint256",
|
330
330
|
"nodeType": "ElementaryTypeName",
|
331
331
|
"src": "303:7:43",
|
@@ -340,18 +340,18 @@
|
|
340
340
|
"src": "248:70:43"
|
341
341
|
},
|
342
342
|
"returnParameters": {
|
343
|
-
"id":
|
343
|
+
"id": 23762,
|
344
344
|
"nodeType": "ParameterList",
|
345
345
|
"parameters": [],
|
346
346
|
"src": "327:0:43"
|
347
347
|
},
|
348
|
-
"scope":
|
348
|
+
"scope": 23774,
|
349
349
|
"stateMutability": "nonpayable",
|
350
350
|
"virtual": false,
|
351
351
|
"visibility": "external"
|
352
352
|
},
|
353
353
|
{
|
354
|
-
"id":
|
354
|
+
"id": 23773,
|
355
355
|
"nodeType": "FunctionDefinition",
|
356
356
|
"src": "332:106:43",
|
357
357
|
"nodes": [],
|
@@ -362,41 +362,41 @@
|
|
362
362
|
"name": "transferBalanceToAddress",
|
363
363
|
"nameLocation": "341:24:43",
|
364
364
|
"parameters": {
|
365
|
-
"id":
|
365
|
+
"id": 23771,
|
366
366
|
"nodeType": "ParameterList",
|
367
367
|
"parameters": [
|
368
368
|
{
|
369
369
|
"constant": false,
|
370
|
-
"id":
|
370
|
+
"id": 23766,
|
371
371
|
"mutability": "mutable",
|
372
372
|
"name": "fromNamespaceId",
|
373
373
|
"nameLocation": "377:15:43",
|
374
374
|
"nodeType": "VariableDeclaration",
|
375
|
-
"scope":
|
375
|
+
"scope": 23773,
|
376
376
|
"src": "366:26:43",
|
377
377
|
"stateVariable": false,
|
378
378
|
"storageLocation": "default",
|
379
379
|
"typeDescriptions": {
|
380
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
380
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
381
381
|
"typeString": "ResourceId"
|
382
382
|
},
|
383
383
|
"typeName": {
|
384
|
-
"id":
|
384
|
+
"id": 23765,
|
385
385
|
"nodeType": "UserDefinedTypeName",
|
386
386
|
"pathNode": {
|
387
|
-
"id":
|
387
|
+
"id": 23764,
|
388
388
|
"name": "ResourceId",
|
389
389
|
"nameLocations": [
|
390
390
|
"366:10:43"
|
391
391
|
],
|
392
392
|
"nodeType": "IdentifierPath",
|
393
|
-
"referencedDeclaration":
|
393
|
+
"referencedDeclaration": 26198,
|
394
394
|
"src": "366:10:43"
|
395
395
|
},
|
396
|
-
"referencedDeclaration":
|
396
|
+
"referencedDeclaration": 26198,
|
397
397
|
"src": "366:10:43",
|
398
398
|
"typeDescriptions": {
|
399
|
-
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$
|
399
|
+
"typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
|
400
400
|
"typeString": "ResourceId"
|
401
401
|
}
|
402
402
|
},
|
@@ -404,12 +404,12 @@
|
|
404
404
|
},
|
405
405
|
{
|
406
406
|
"constant": false,
|
407
|
-
"id":
|
407
|
+
"id": 23768,
|
408
408
|
"mutability": "mutable",
|
409
409
|
"name": "toAddress",
|
410
410
|
"nameLocation": "402:9:43",
|
411
411
|
"nodeType": "VariableDeclaration",
|
412
|
-
"scope":
|
412
|
+
"scope": 23773,
|
413
413
|
"src": "394:17:43",
|
414
414
|
"stateVariable": false,
|
415
415
|
"storageLocation": "default",
|
@@ -418,7 +418,7 @@
|
|
418
418
|
"typeString": "address"
|
419
419
|
},
|
420
420
|
"typeName": {
|
421
|
-
"id":
|
421
|
+
"id": 23767,
|
422
422
|
"name": "address",
|
423
423
|
"nodeType": "ElementaryTypeName",
|
424
424
|
"src": "394:7:43",
|
@@ -432,12 +432,12 @@
|
|
432
432
|
},
|
433
433
|
{
|
434
434
|
"constant": false,
|
435
|
-
"id":
|
435
|
+
"id": 23770,
|
436
436
|
"mutability": "mutable",
|
437
437
|
"name": "amount",
|
438
438
|
"nameLocation": "421:6:43",
|
439
439
|
"nodeType": "VariableDeclaration",
|
440
|
-
"scope":
|
440
|
+
"scope": 23773,
|
441
441
|
"src": "413:14:43",
|
442
442
|
"stateVariable": false,
|
443
443
|
"storageLocation": "default",
|
@@ -446,7 +446,7 @@
|
|
446
446
|
"typeString": "uint256"
|
447
447
|
},
|
448
448
|
"typeName": {
|
449
|
-
"id":
|
449
|
+
"id": 23769,
|
450
450
|
"name": "uint256",
|
451
451
|
"nodeType": "ElementaryTypeName",
|
452
452
|
"src": "413:7:43",
|
@@ -461,12 +461,12 @@
|
|
461
461
|
"src": "365:63:43"
|
462
462
|
},
|
463
463
|
"returnParameters": {
|
464
|
-
"id":
|
464
|
+
"id": 23772,
|
465
465
|
"nodeType": "ParameterList",
|
466
466
|
"parameters": [],
|
467
467
|
"src": "437:0:43"
|
468
468
|
},
|
469
|
-
"scope":
|
469
|
+
"scope": 23774,
|
470
470
|
"stateMutability": "nonpayable",
|
471
471
|
"virtual": false,
|
472
472
|
"visibility": "external"
|
@@ -479,11 +479,11 @@
|
|
479
479
|
"contractKind": "interface",
|
480
480
|
"fullyImplemented": false,
|
481
481
|
"linearizedBaseContracts": [
|
482
|
-
|
482
|
+
23774
|
483
483
|
],
|
484
484
|
"name": "IBalanceTransferSystem",
|
485
485
|
"nameLocation": "186:22:43",
|
486
|
-
"scope":
|
486
|
+
"scope": 23775,
|
487
487
|
"usedErrors": [],
|
488
488
|
"usedEvents": []
|
489
489
|
}
|