@latticexyz/world-modules 2.0.0-main-85218618 → 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.
Files changed (112) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +223 -223
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2611 -2611
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3155 -3155
  5. package/out/DelegationControl.sol/DelegationControl.json +104 -104
  6. package/out/EncodeArray.sol/EncodeArray.json +3250 -3250
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
  9. package/out/Hook.sol/HookInstance.json +16 -16
  10. package/out/Hook.sol/HookLib.json +16 -16
  11. package/out/Hooks.sol/Hooks.json +96 -96
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  14. package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  16. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  17. package/out/IDelegationControl.sol/IDelegationControl.json +66 -66
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  20. package/out/IStore.sol/IStore.json +4 -4
  21. package/out/IStoreData.sol/IStoreData.json +4 -4
  22. package/out/IStoreHook.sol/IStoreHook.json +4 -4
  23. package/out/IStoreRead.sol/IStoreRead.json +4 -4
  24. package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
  25. package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
  26. package/out/ISystemHook.sol/ISystemHook.json +90 -90
  27. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  28. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  29. package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
  30. package/out/IWorldKernel.sol/IWorldCall.json +156 -156
  31. package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
  32. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
  33. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +201 -201
  34. package/out/KeysInTable.sol/KeysInTable.json +10684 -10684
  35. package/out/KeysInTableHook.sol/KeysInTableHook.json +879 -879
  36. package/out/KeysInTableModule.sol/KeysInTableModule.json +542 -542
  37. package/out/KeysWithValue.sol/KeysWithValue.json +3844 -3844
  38. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1005 -1005
  39. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +431 -431
  40. package/out/Memory.sol/Memory.json +8 -8
  41. package/out/Module.sol/Module.json +93 -93
  42. package/out/ResourceIds.sol/ResourceIds.json +70 -70
  43. package/out/Schema.sol/SchemaInstance.json +76 -76
  44. package/out/Schema.sol/SchemaLib.json +76 -76
  45. package/out/SchemaType.sol/SchemaType.json +276 -276
  46. package/out/Slice.sol/SliceInstance.json +8 -8
  47. package/out/Slice.sol/SliceLib.json +8 -8
  48. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +308 -308
  49. package/out/Storage.sol/Storage.json +11 -11
  50. package/out/StoreCore.sol/StoreCore.json +59 -59
  51. package/out/StoreCore.sol/StoreCoreInternal.json +59 -59
  52. package/out/StoreHook.sol/StoreHook.json +362 -362
  53. package/out/StoreHooks.sol/StoreHooks.json +97 -97
  54. package/out/StoreSwitch.sol/StoreSwitch.json +16 -16
  55. package/out/System.sol/System.json +38 -38
  56. package/out/Tables.sol/Tables.json +98 -98
  57. package/out/TightCoder.sol/TightCoder.json +128 -128
  58. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +127 -127
  59. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2002 -2002
  60. package/out/UniqueEntity.sol/UniqueEntity.json +1418 -1418
  61. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +332 -332
  62. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +101 -101
  63. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2738 -2738
  64. package/out/WorldContext.sol/WorldContextConsumer.json +382 -382
  65. package/out/WorldContext.sol/WorldContextProvider.json +382 -382
  66. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  67. package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  68. package/out/constants.sol/LayoutOffsets.json +164 -140
  69. package/out/constants.sol/constants.json +115 -115
  70. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  71. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  72. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  73. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  74. package/out/hasKey.sol/hasKey.json +130 -130
  75. package/out/index.sol/index.json +53 -53
  76. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +142 -142
  77. package/out/leftMask.sol/leftMask.json +61 -61
  78. package/out/query.sol/query.json +1154 -1154
  79. package/out/revertWithBytes.sol/revertWithBytes.json +51 -51
  80. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  81. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +701 -701
  82. package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
  83. package/out/src/IStore.sol/IStore.json +57 -57
  84. package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
  85. package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
  86. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
  87. package/out/src/Memory.sol/Memory.json +93 -93
  88. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  89. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  90. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  91. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  92. package/out/src/Schema.sol/SchemaInstance.json +791 -791
  93. package/out/src/Schema.sol/SchemaLib.json +791 -791
  94. package/out/src/Slice.sol/SliceInstance.json +433 -433
  95. package/out/src/Slice.sol/SliceLib.json +433 -433
  96. package/out/src/StoreCore.sol/StoreCore.json +4471 -4471
  97. package/out/src/StoreCore.sol/StoreCoreInternal.json +4471 -4471
  98. package/out/src/StoreSwitch.sol/StoreSwitch.json +2470 -2470
  99. package/out/src/WorldContext.sol/WorldContextConsumer.json +382 -382
  100. package/out/src/WorldContext.sol/WorldContextProvider.json +382 -382
  101. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  102. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  103. package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
  104. package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
  105. package/out/tables/ResourceIds.sol/ResourceIds.json +1762 -1762
  106. package/out/tables/Tables.sol/Tables.json +7304 -7304
  107. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3250 -3250
  108. package/out/types.sol/types.json +39 -39
  109. package/out/version.sol/version.json +12 -12
  110. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  111. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  112. 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": 23840,
220
+ "id": 23864,
221
221
  "exportedSymbols": {
222
222
  "IBatchCallSystem": [
223
- 23839
223
+ 23863
224
224
  ],
225
225
  "SystemCallData": [
226
- 24018
226
+ 24042
227
227
  ],
228
228
  "SystemCallFromData": [
229
- 24026
229
+ 24050
230
230
  ]
231
231
  },
232
232
  "nodeType": "SourceUnit",
233
233
  "src": "32:416:44",
234
234
  "nodes": [
235
235
  {
236
- "id": 23815,
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": 23818,
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": 23840,
256
- "sourceUnit": 24027,
255
+ "scope": 23864,
256
+ "sourceUnit": 24051,
257
257
  "symbolAliases": [
258
258
  {
259
259
  "foreign": {
260
- "id": 23816,
260
+ "id": 23840,
261
261
  "name": "SystemCallData",
262
262
  "nodeType": "Identifier",
263
263
  "overloadedDeclarations": [],
264
- "referencedDeclaration": 24018,
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": 23817,
272
+ "id": 23841,
273
273
  "name": "SystemCallFromData",
274
274
  "nodeType": "Identifier",
275
275
  "overloadedDeclarations": [],
276
- "referencedDeclaration": 24026,
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": 23839,
286
+ "id": 23863,
287
287
  "nodeType": "ContractDefinition",
288
288
  "src": "194:253:44",
289
289
  "nodes": [
290
290
  {
291
- "id": 23828,
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": 23823,
302
+ "id": 23847,
303
303
  "nodeType": "ParameterList",
304
304
  "parameters": [
305
305
  {
306
306
  "constant": false,
307
- "id": 23822,
307
+ "id": 23846,
308
308
  "mutability": "mutable",
309
309
  "name": "systemCalls",
310
310
  "nameLocation": "270:11:44",
311
311
  "nodeType": "VariableDeclaration",
312
- "scope": 23828,
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_$24018_calldata_ptr_$dyn_calldata_ptr",
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": 23820,
322
+ "id": 23844,
323
323
  "nodeType": "UserDefinedTypeName",
324
324
  "pathNode": {
325
- "id": 23819,
325
+ "id": 23843,
326
326
  "name": "SystemCallData",
327
327
  "nameLocations": [
328
328
  "244:14:44"
329
329
  ],
330
330
  "nodeType": "IdentifierPath",
331
- "referencedDeclaration": 24018,
331
+ "referencedDeclaration": 24042,
332
332
  "src": "244:14:44"
333
333
  },
334
- "referencedDeclaration": 24018,
334
+ "referencedDeclaration": 24042,
335
335
  "src": "244:14:44",
336
336
  "typeDescriptions": {
337
- "typeIdentifier": "t_struct$_SystemCallData_$24018_storage_ptr",
337
+ "typeIdentifier": "t_struct$_SystemCallData_$24042_storage_ptr",
338
338
  "typeString": "struct SystemCallData"
339
339
  }
340
340
  },
341
- "id": 23821,
341
+ "id": 23845,
342
342
  "nodeType": "ArrayTypeName",
343
343
  "src": "244:16:44",
344
344
  "typeDescriptions": {
345
- "typeIdentifier": "t_array$_t_struct$_SystemCallData_$24018_storage_$dyn_storage_ptr",
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": 23827,
355
+ "id": 23851,
356
356
  "nodeType": "ParameterList",
357
357
  "parameters": [
358
358
  {
359
359
  "constant": false,
360
- "id": 23826,
360
+ "id": 23850,
361
361
  "mutability": "mutable",
362
362
  "name": "returnDatas",
363
363
  "nameLocation": "316:11:44",
364
364
  "nodeType": "VariableDeclaration",
365
- "scope": 23828,
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": 23824,
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": 23825,
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": 23839,
397
+ "scope": 23863,
398
398
  "stateMutability": "nonpayable",
399
399
  "virtual": false,
400
400
  "visibility": "external"
401
401
  },
402
402
  {
403
- "id": 23838,
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": 23833,
414
+ "id": 23857,
415
415
  "nodeType": "ParameterList",
416
416
  "parameters": [
417
417
  {
418
418
  "constant": false,
419
- "id": 23832,
419
+ "id": 23856,
420
420
  "mutability": "mutable",
421
421
  "name": "systemCalls",
422
422
  "nameLocation": "386:11:44",
423
423
  "nodeType": "VariableDeclaration",
424
- "scope": 23838,
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_$24026_calldata_ptr_$dyn_calldata_ptr",
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": 23830,
434
+ "id": 23854,
435
435
  "nodeType": "UserDefinedTypeName",
436
436
  "pathNode": {
437
- "id": 23829,
437
+ "id": 23853,
438
438
  "name": "SystemCallFromData",
439
439
  "nameLocations": [
440
440
  "356:18:44"
441
441
  ],
442
442
  "nodeType": "IdentifierPath",
443
- "referencedDeclaration": 24026,
443
+ "referencedDeclaration": 24050,
444
444
  "src": "356:18:44"
445
445
  },
446
- "referencedDeclaration": 24026,
446
+ "referencedDeclaration": 24050,
447
447
  "src": "356:18:44",
448
448
  "typeDescriptions": {
449
- "typeIdentifier": "t_struct$_SystemCallFromData_$24026_storage_ptr",
449
+ "typeIdentifier": "t_struct$_SystemCallFromData_$24050_storage_ptr",
450
450
  "typeString": "struct SystemCallFromData"
451
451
  }
452
452
  },
453
- "id": 23831,
453
+ "id": 23855,
454
454
  "nodeType": "ArrayTypeName",
455
455
  "src": "356:20:44",
456
456
  "typeDescriptions": {
457
- "typeIdentifier": "t_array$_t_struct$_SystemCallFromData_$24026_storage_$dyn_storage_ptr",
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": 23837,
467
+ "id": 23861,
468
468
  "nodeType": "ParameterList",
469
469
  "parameters": [
470
470
  {
471
471
  "constant": false,
472
- "id": 23836,
472
+ "id": 23860,
473
473
  "mutability": "mutable",
474
474
  "name": "returnDatas",
475
475
  "nameLocation": "432:11:44",
476
476
  "nodeType": "VariableDeclaration",
477
- "scope": 23838,
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": 23834,
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": 23835,
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": 23839,
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
- 23839
522
+ 23863
523
523
  ],
524
524
  "name": "IBatchCallSystem",
525
525
  "nameLocation": "204:16:44",
526
- "scope": 23840,
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": 23843,
65
+ "id": 23867,
66
66
  "exportedSymbols": {
67
67
  "ICoreSystem": [
68
- 23842
68
+ 23866
69
69
  ]
70
70
  },
71
71
  "nodeType": "SourceUnit",
72
72
  "src": "32:103:45",
73
73
  "nodes": [
74
74
  {
75
- "id": 23841,
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": 23842,
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
- 23842
98
+ 23866
99
99
  ],
100
100
  "name": "ICoreSystem",
101
101
  "nameLocation": "118:11:45",
102
- "scope": 23843,
102
+ "scope": 23867,
103
103
  "usedErrors": [],
104
104
  "usedEvents": []
105
105
  }