@latticexyz/world-modules 2.0.0-main-fa74f25e → 2.0.0-main-3086581a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/ArrayLib.sol/ArrayLib.json +255 -255
- package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +220 -220
- package/out/CallboundDelegations.sol/CallboundDelegations.json +2611 -2611
- package/out/DecodeSlice.sol/DecodeSlice.json +3155 -3155
- package/out/DelegationControl.sol/DelegationControl.json +101 -101
- package/out/EncodeArray.sol/EncodeArray.json +3250 -3250
- package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
- package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
- package/out/Hook.sol/HookInstance.json +16 -16
- package/out/Hook.sol/HookLib.json +16 -16
- package/out/Hooks.sol/Hooks.json +96 -96
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
- 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 +66 -66
- package/out/IModule.sol/IModule.json +78 -78
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
- package/out/IStore.sol/IStore.json +4 -4
- package/out/IStoreData.sol/IStoreData.json +4 -4
- package/out/IStoreHook.sol/IStoreHook.json +4 -4
- package/out/IStoreRead.sol/IStoreRead.json +4 -4
- package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
- package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
- package/out/ISystemHook.sol/ISystemHook.json +90 -90
- package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
- package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
- package/out/IWorldKernel.sol/IWorldCall.json +156 -156
- package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
- package/out/KeysInTable.sol/KeysInTable.json +10684 -10684
- package/out/KeysInTableHook.sol/KeysInTableHook.json +879 -879
- package/out/KeysInTableModule.sol/KeysInTableModule.json +539 -539
- package/out/KeysWithValue.sol/KeysWithValue.json +3844 -3844
- package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1002 -1002
- package/out/KeysWithValueModule.sol/KeysWithValueModule.json +428 -428
- package/out/Memory.sol/Memory.json +8 -8
- package/out/Module.sol/Module.json +90 -90
- package/out/ResourceIds.sol/ResourceIds.json +70 -70
- package/out/Schema.sol/SchemaInstance.json +76 -76
- package/out/Schema.sol/SchemaLib.json +76 -76
- package/out/SchemaType.sol/SchemaType.json +276 -276
- package/out/Slice.sol/SliceInstance.json +8 -8
- package/out/Slice.sol/SliceLib.json +8 -8
- package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +305 -305
- package/out/Storage.sol/Storage.json +11 -11
- package/out/StoreCore.sol/StoreCore.json +59 -59
- package/out/StoreCore.sol/StoreCoreInternal.json +59 -59
- package/out/StoreHook.sol/StoreHook.json +362 -362
- package/out/StoreHooks.sol/StoreHooks.json +97 -97
- package/out/StoreSwitch.sol/StoreSwitch.json +16 -16
- package/out/System.sol/System.json +35 -35
- package/out/Tables.sol/Tables.json +98 -98
- package/out/TightCoder.sol/TightCoder.json +128 -128
- package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
- package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2002 -2002
- package/out/UniqueEntity.sol/UniqueEntity.json +1418 -1418
- package/out/UniqueEntityModule.sol/UniqueEntityModule.json +329 -329
- package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
- package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2738 -2738
- package/out/WorldContext.sol/WorldContextConsumer.json +379 -379
- package/out/WorldContext.sol/WorldContextProvider.json +379 -379
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/constants.sol/LayoutOffsets.json +164 -140
- 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 +139 -139
- package/out/leftMask.sol/leftMask.json +61 -61
- 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 +701 -701
- package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
- package/out/src/IStore.sol/IStore.json +57 -57
- package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
- package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
- package/out/src/Memory.sol/Memory.json +93 -93
- 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 +791 -791
- package/out/src/Schema.sol/SchemaLib.json +791 -791
- package/out/src/Slice.sol/SliceInstance.json +433 -433
- package/out/src/Slice.sol/SliceLib.json +433 -433
- package/out/src/StoreCore.sol/StoreCore.json +4471 -4471
- package/out/src/StoreCore.sol/StoreCoreInternal.json +4471 -4471
- package/out/src/StoreSwitch.sol/StoreSwitch.json +2470 -2470
- package/out/src/WorldContext.sol/WorldContextConsumer.json +379 -379
- package/out/src/WorldContext.sol/WorldContextProvider.json +379 -379
- package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
- package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
- package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
- package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
- package/out/tables/ResourceIds.sol/ResourceIds.json +1762 -1762
- package/out/tables/Tables.sol/Tables.json +7304 -7304
- package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3250 -3250
- package/out/types.sol/types.json +39 -39
- package/out/version.sol/version.json +12 -12
- package/out/world/src/IERC165.sol/IERC165.json +28 -28
- package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
- package/package.json +8 -8
@@ -217,23 +217,23 @@
|
|
217
217
|
},
|
218
218
|
"ast": {
|
219
219
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBatchCallSystem.sol",
|
220
|
-
"id":
|
220
|
+
"id": 23864,
|
221
221
|
"exportedSymbols": {
|
222
222
|
"IBatchCallSystem": [
|
223
|
-
|
223
|
+
23863
|
224
224
|
],
|
225
225
|
"SystemCallData": [
|
226
|
-
|
226
|
+
24042
|
227
227
|
],
|
228
228
|
"SystemCallFromData": [
|
229
|
-
|
229
|
+
24050
|
230
230
|
]
|
231
231
|
},
|
232
232
|
"nodeType": "SourceUnit",
|
233
233
|
"src": "32:416:44",
|
234
234
|
"nodes": [
|
235
235
|
{
|
236
|
-
"id":
|
236
|
+
"id": 23839,
|
237
237
|
"nodeType": "PragmaDirective",
|
238
238
|
"src": "32:25:44",
|
239
239
|
"nodes": [],
|
@@ -245,23 +245,23 @@
|
|
245
245
|
]
|
246
246
|
},
|
247
247
|
{
|
248
|
-
"id":
|
248
|
+
"id": 23842,
|
249
249
|
"nodeType": "ImportDirective",
|
250
250
|
"src": "108:84:44",
|
251
251
|
"nodes": [],
|
252
252
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/modules/core/types.sol",
|
253
253
|
"file": "./../../modules/core/types.sol",
|
254
254
|
"nameLocation": "-1:-1:-1",
|
255
|
-
"scope":
|
256
|
-
"sourceUnit":
|
255
|
+
"scope": 23864,
|
256
|
+
"sourceUnit": 24051,
|
257
257
|
"symbolAliases": [
|
258
258
|
{
|
259
259
|
"foreign": {
|
260
|
-
"id":
|
260
|
+
"id": 23840,
|
261
261
|
"name": "SystemCallData",
|
262
262
|
"nodeType": "Identifier",
|
263
263
|
"overloadedDeclarations": [],
|
264
|
-
"referencedDeclaration":
|
264
|
+
"referencedDeclaration": 24042,
|
265
265
|
"src": "117:14:44",
|
266
266
|
"typeDescriptions": {}
|
267
267
|
},
|
@@ -269,11 +269,11 @@
|
|
269
269
|
},
|
270
270
|
{
|
271
271
|
"foreign": {
|
272
|
-
"id":
|
272
|
+
"id": 23841,
|
273
273
|
"name": "SystemCallFromData",
|
274
274
|
"nodeType": "Identifier",
|
275
275
|
"overloadedDeclarations": [],
|
276
|
-
"referencedDeclaration":
|
276
|
+
"referencedDeclaration": 24050,
|
277
277
|
"src": "133:18:44",
|
278
278
|
"typeDescriptions": {}
|
279
279
|
},
|
@@ -283,12 +283,12 @@
|
|
283
283
|
"unitAlias": ""
|
284
284
|
},
|
285
285
|
{
|
286
|
-
"id":
|
286
|
+
"id": 23863,
|
287
287
|
"nodeType": "ContractDefinition",
|
288
288
|
"src": "194:253:44",
|
289
289
|
"nodes": [
|
290
290
|
{
|
291
|
-
"id":
|
291
|
+
"id": 23852,
|
292
292
|
"nodeType": "FunctionDefinition",
|
293
293
|
"src": "225:104:44",
|
294
294
|
"nodes": [],
|
@@ -299,50 +299,50 @@
|
|
299
299
|
"name": "batchCall",
|
300
300
|
"nameLocation": "234:9:44",
|
301
301
|
"parameters": {
|
302
|
-
"id":
|
302
|
+
"id": 23847,
|
303
303
|
"nodeType": "ParameterList",
|
304
304
|
"parameters": [
|
305
305
|
{
|
306
306
|
"constant": false,
|
307
|
-
"id":
|
307
|
+
"id": 23846,
|
308
308
|
"mutability": "mutable",
|
309
309
|
"name": "systemCalls",
|
310
310
|
"nameLocation": "270:11:44",
|
311
311
|
"nodeType": "VariableDeclaration",
|
312
|
-
"scope":
|
312
|
+
"scope": 23852,
|
313
313
|
"src": "244:37:44",
|
314
314
|
"stateVariable": false,
|
315
315
|
"storageLocation": "calldata",
|
316
316
|
"typeDescriptions": {
|
317
|
-
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$
|
317
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$24042_calldata_ptr_$dyn_calldata_ptr",
|
318
318
|
"typeString": "struct SystemCallData[]"
|
319
319
|
},
|
320
320
|
"typeName": {
|
321
321
|
"baseType": {
|
322
|
-
"id":
|
322
|
+
"id": 23844,
|
323
323
|
"nodeType": "UserDefinedTypeName",
|
324
324
|
"pathNode": {
|
325
|
-
"id":
|
325
|
+
"id": 23843,
|
326
326
|
"name": "SystemCallData",
|
327
327
|
"nameLocations": [
|
328
328
|
"244:14:44"
|
329
329
|
],
|
330
330
|
"nodeType": "IdentifierPath",
|
331
|
-
"referencedDeclaration":
|
331
|
+
"referencedDeclaration": 24042,
|
332
332
|
"src": "244:14:44"
|
333
333
|
},
|
334
|
-
"referencedDeclaration":
|
334
|
+
"referencedDeclaration": 24042,
|
335
335
|
"src": "244:14:44",
|
336
336
|
"typeDescriptions": {
|
337
|
-
"typeIdentifier": "t_struct$_SystemCallData_$
|
337
|
+
"typeIdentifier": "t_struct$_SystemCallData_$24042_storage_ptr",
|
338
338
|
"typeString": "struct SystemCallData"
|
339
339
|
}
|
340
340
|
},
|
341
|
-
"id":
|
341
|
+
"id": 23845,
|
342
342
|
"nodeType": "ArrayTypeName",
|
343
343
|
"src": "244:16:44",
|
344
344
|
"typeDescriptions": {
|
345
|
-
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$
|
345
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallData_$24042_storage_$dyn_storage_ptr",
|
346
346
|
"typeString": "struct SystemCallData[]"
|
347
347
|
}
|
348
348
|
},
|
@@ -352,17 +352,17 @@
|
|
352
352
|
"src": "243:39:44"
|
353
353
|
},
|
354
354
|
"returnParameters": {
|
355
|
-
"id":
|
355
|
+
"id": 23851,
|
356
356
|
"nodeType": "ParameterList",
|
357
357
|
"parameters": [
|
358
358
|
{
|
359
359
|
"constant": false,
|
360
|
-
"id":
|
360
|
+
"id": 23850,
|
361
361
|
"mutability": "mutable",
|
362
362
|
"name": "returnDatas",
|
363
363
|
"nameLocation": "316:11:44",
|
364
364
|
"nodeType": "VariableDeclaration",
|
365
|
-
"scope":
|
365
|
+
"scope": 23852,
|
366
366
|
"src": "301:26:44",
|
367
367
|
"stateVariable": false,
|
368
368
|
"storageLocation": "memory",
|
@@ -372,7 +372,7 @@
|
|
372
372
|
},
|
373
373
|
"typeName": {
|
374
374
|
"baseType": {
|
375
|
-
"id":
|
375
|
+
"id": 23848,
|
376
376
|
"name": "bytes",
|
377
377
|
"nodeType": "ElementaryTypeName",
|
378
378
|
"src": "301:5:44",
|
@@ -381,7 +381,7 @@
|
|
381
381
|
"typeString": "bytes"
|
382
382
|
}
|
383
383
|
},
|
384
|
-
"id":
|
384
|
+
"id": 23849,
|
385
385
|
"nodeType": "ArrayTypeName",
|
386
386
|
"src": "301:7:44",
|
387
387
|
"typeDescriptions": {
|
@@ -394,13 +394,13 @@
|
|
394
394
|
],
|
395
395
|
"src": "300:28:44"
|
396
396
|
},
|
397
|
-
"scope":
|
397
|
+
"scope": 23863,
|
398
398
|
"stateMutability": "nonpayable",
|
399
399
|
"virtual": false,
|
400
400
|
"visibility": "external"
|
401
401
|
},
|
402
402
|
{
|
403
|
-
"id":
|
403
|
+
"id": 23862,
|
404
404
|
"nodeType": "FunctionDefinition",
|
405
405
|
"src": "333:112:44",
|
406
406
|
"nodes": [],
|
@@ -411,50 +411,50 @@
|
|
411
411
|
"name": "batchCallFrom",
|
412
412
|
"nameLocation": "342:13:44",
|
413
413
|
"parameters": {
|
414
|
-
"id":
|
414
|
+
"id": 23857,
|
415
415
|
"nodeType": "ParameterList",
|
416
416
|
"parameters": [
|
417
417
|
{
|
418
418
|
"constant": false,
|
419
|
-
"id":
|
419
|
+
"id": 23856,
|
420
420
|
"mutability": "mutable",
|
421
421
|
"name": "systemCalls",
|
422
422
|
"nameLocation": "386:11:44",
|
423
423
|
"nodeType": "VariableDeclaration",
|
424
|
-
"scope":
|
424
|
+
"scope": 23862,
|
425
425
|
"src": "356:41:44",
|
426
426
|
"stateVariable": false,
|
427
427
|
"storageLocation": "calldata",
|
428
428
|
"typeDescriptions": {
|
429
|
-
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$
|
429
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$24050_calldata_ptr_$dyn_calldata_ptr",
|
430
430
|
"typeString": "struct SystemCallFromData[]"
|
431
431
|
},
|
432
432
|
"typeName": {
|
433
433
|
"baseType": {
|
434
|
-
"id":
|
434
|
+
"id": 23854,
|
435
435
|
"nodeType": "UserDefinedTypeName",
|
436
436
|
"pathNode": {
|
437
|
-
"id":
|
437
|
+
"id": 23853,
|
438
438
|
"name": "SystemCallFromData",
|
439
439
|
"nameLocations": [
|
440
440
|
"356:18:44"
|
441
441
|
],
|
442
442
|
"nodeType": "IdentifierPath",
|
443
|
-
"referencedDeclaration":
|
443
|
+
"referencedDeclaration": 24050,
|
444
444
|
"src": "356:18:44"
|
445
445
|
},
|
446
|
-
"referencedDeclaration":
|
446
|
+
"referencedDeclaration": 24050,
|
447
447
|
"src": "356:18:44",
|
448
448
|
"typeDescriptions": {
|
449
|
-
"typeIdentifier": "t_struct$_SystemCallFromData_$
|
449
|
+
"typeIdentifier": "t_struct$_SystemCallFromData_$24050_storage_ptr",
|
450
450
|
"typeString": "struct SystemCallFromData"
|
451
451
|
}
|
452
452
|
},
|
453
|
-
"id":
|
453
|
+
"id": 23855,
|
454
454
|
"nodeType": "ArrayTypeName",
|
455
455
|
"src": "356:20:44",
|
456
456
|
"typeDescriptions": {
|
457
|
-
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$
|
457
|
+
"typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$24050_storage_$dyn_storage_ptr",
|
458
458
|
"typeString": "struct SystemCallFromData[]"
|
459
459
|
}
|
460
460
|
},
|
@@ -464,17 +464,17 @@
|
|
464
464
|
"src": "355:43:44"
|
465
465
|
},
|
466
466
|
"returnParameters": {
|
467
|
-
"id":
|
467
|
+
"id": 23861,
|
468
468
|
"nodeType": "ParameterList",
|
469
469
|
"parameters": [
|
470
470
|
{
|
471
471
|
"constant": false,
|
472
|
-
"id":
|
472
|
+
"id": 23860,
|
473
473
|
"mutability": "mutable",
|
474
474
|
"name": "returnDatas",
|
475
475
|
"nameLocation": "432:11:44",
|
476
476
|
"nodeType": "VariableDeclaration",
|
477
|
-
"scope":
|
477
|
+
"scope": 23862,
|
478
478
|
"src": "417:26:44",
|
479
479
|
"stateVariable": false,
|
480
480
|
"storageLocation": "memory",
|
@@ -484,7 +484,7 @@
|
|
484
484
|
},
|
485
485
|
"typeName": {
|
486
486
|
"baseType": {
|
487
|
-
"id":
|
487
|
+
"id": 23858,
|
488
488
|
"name": "bytes",
|
489
489
|
"nodeType": "ElementaryTypeName",
|
490
490
|
"src": "417:5:44",
|
@@ -493,7 +493,7 @@
|
|
493
493
|
"typeString": "bytes"
|
494
494
|
}
|
495
495
|
},
|
496
|
-
"id":
|
496
|
+
"id": 23859,
|
497
497
|
"nodeType": "ArrayTypeName",
|
498
498
|
"src": "417:7:44",
|
499
499
|
"typeDescriptions": {
|
@@ -506,7 +506,7 @@
|
|
506
506
|
],
|
507
507
|
"src": "416:28:44"
|
508
508
|
},
|
509
|
-
"scope":
|
509
|
+
"scope": 23863,
|
510
510
|
"stateMutability": "nonpayable",
|
511
511
|
"virtual": false,
|
512
512
|
"visibility": "external"
|
@@ -519,11 +519,11 @@
|
|
519
519
|
"contractKind": "interface",
|
520
520
|
"fullyImplemented": false,
|
521
521
|
"linearizedBaseContracts": [
|
522
|
-
|
522
|
+
23863
|
523
523
|
],
|
524
524
|
"name": "IBatchCallSystem",
|
525
525
|
"nameLocation": "204:16:44",
|
526
|
-
"scope":
|
526
|
+
"scope": 23864,
|
527
527
|
"usedErrors": [],
|
528
528
|
"usedEvents": []
|
529
529
|
}
|
@@ -62,17 +62,17 @@
|
|
62
62
|
},
|
63
63
|
"ast": {
|
64
64
|
"absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/ICoreSystem.sol",
|
65
|
-
"id":
|
65
|
+
"id": 23867,
|
66
66
|
"exportedSymbols": {
|
67
67
|
"ICoreSystem": [
|
68
|
-
|
68
|
+
23866
|
69
69
|
]
|
70
70
|
},
|
71
71
|
"nodeType": "SourceUnit",
|
72
72
|
"src": "32:103:45",
|
73
73
|
"nodes": [
|
74
74
|
{
|
75
|
-
"id":
|
75
|
+
"id": 23865,
|
76
76
|
"nodeType": "PragmaDirective",
|
77
77
|
"src": "32:25:45",
|
78
78
|
"nodes": [],
|
@@ -84,7 +84,7 @@
|
|
84
84
|
]
|
85
85
|
},
|
86
86
|
{
|
87
|
-
"id":
|
87
|
+
"id": 23866,
|
88
88
|
"nodeType": "ContractDefinition",
|
89
89
|
"src": "108:26:45",
|
90
90
|
"nodes": [],
|
@@ -95,11 +95,11 @@
|
|
95
95
|
"contractKind": "interface",
|
96
96
|
"fullyImplemented": true,
|
97
97
|
"linearizedBaseContracts": [
|
98
|
-
|
98
|
+
23866
|
99
99
|
],
|
100
100
|
"name": "ICoreSystem",
|
101
101
|
"nameLocation": "118:11:45",
|
102
|
-
"scope":
|
102
|
+
"scope": 23867,
|
103
103
|
"usedErrors": [],
|
104
104
|
"usedEvents": []
|
105
105
|
}
|