@latticexyz/world-modules 2.0.0-main-071aadb9 → 2.0.0-main-7987c94d

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 +215 -215
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2599 -2599
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
  5. package/out/DelegationControl.sol/DelegationControl.json +94 -94
  6. package/out/EncodeArray.sol/EncodeArray.json +3345 -3345
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +47 -47
  9. package/out/Hook.sol/HookInstance.json +13 -13
  10. package/out/Hook.sol/HookLib.json +13 -13
  11. package/out/Hooks.sol/Hooks.json +3393 -3393
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +58 -58
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +54 -54
  14. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +52 -52
  16. package/out/ICoreSystem.sol/ICoreSystem.json +7 -7
  17. package/out/IDelegationControl.sol/IDelegationControl.json +62 -62
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +28 -28
  20. package/out/ISystemHook.sol/ISystemHook.json +86 -86
  21. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  22. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  23. package/out/IWorldErrors.sol/IWorldErrors.json +152 -152
  24. package/out/IWorldKernel.sol/IWorldCall.json +154 -154
  25. package/out/IWorldKernel.sol/IWorldKernel.json +154 -154
  26. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
  27. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +190 -190
  28. package/out/KeysInTable.sol/KeysInTable.json +10672 -10672
  29. package/out/KeysInTableHook.sol/KeysInTableHook.json +867 -867
  30. package/out/KeysInTableModule.sol/KeysInTableModule.json +538 -538
  31. package/out/KeysWithValue.sol/KeysWithValue.json +3832 -3832
  32. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +993 -993
  33. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +426 -426
  34. package/out/Memory.sol/Memory.json +4 -4
  35. package/out/Module.sol/Module.json +84 -84
  36. package/out/ResourceIds.sol/ResourceIds.json +1363 -1363
  37. package/out/Schema.sol/SchemaInstance.json +72 -72
  38. package/out/Schema.sol/SchemaLib.json +72 -72
  39. package/out/SchemaType.sol/SchemaType.json +276 -276
  40. package/out/Slice.sol/SliceInstance.json +4 -4
  41. package/out/Slice.sol/SliceLib.json +4 -4
  42. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +303 -303
  43. package/out/Storage.sol/Storage.json +7 -7
  44. package/out/StoreCore.sol/StoreCore.json +708 -737
  45. package/out/StoreCore.sol/StoreCoreInternal.json +710 -739
  46. package/out/StoreHook.sol/StoreHook.json +368 -368
  47. package/out/StoreHooks.sol/StoreHooks.json +3232 -3232
  48. package/out/StoreSwitch.sol/StoreSwitch.json +1885 -1885
  49. package/out/System.sol/System.json +31 -31
  50. package/out/Tables.sol/Tables.json +5585 -5585
  51. package/out/TightCoder.sol/TightCoder.json +124 -124
  52. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +119 -119
  53. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1990 -1990
  54. package/out/UniqueEntity.sol/UniqueEntity.json +1406 -1406
  55. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +327 -327
  56. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +93 -93
  57. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2727 -2727
  58. package/out/WorldContext.sol/WorldContextConsumer.json +1380 -988
  59. package/out/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1381 -989
  60. package/out/WorldContext.sol/WorldContextProviderLib.json +3910 -0
  61. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  62. package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  63. package/out/constants.sol/LayoutOffsets.json +79 -79
  64. package/out/constants.sol/constants.json +115 -115
  65. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  66. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  67. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  68. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  69. package/out/hasKey.sol/hasKey.json +130 -130
  70. package/out/index.sol/index.json +53 -53
  71. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +131 -131
  72. package/out/leftMask.sol/leftMask.json +31 -31
  73. package/out/query.sol/query.json +1154 -1154
  74. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  75. package/out/src/Bytes.sol/Bytes.json +1338 -1338
  76. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
  77. package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
  78. package/out/src/IStore.sol/IStore.json +53 -53
  79. package/out/src/IWorldKernel.sol/IWorldCall.json +153 -153
  80. package/out/src/IWorldKernel.sol/IWorldKernel.json +153 -153
  81. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +153 -153
  82. package/out/src/Memory.sol/Memory.json +91 -91
  83. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  84. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  85. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  86. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  87. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  88. package/out/src/Schema.sol/SchemaLib.json +790 -790
  89. package/out/src/Slice.sol/SliceInstance.json +430 -430
  90. package/out/src/Slice.sol/SliceLib.json +430 -430
  91. package/out/src/StoreCore.sol/StoreCore.json +4695 -4724
  92. package/out/src/StoreCore.sol/StoreCoreInternal.json +4697 -4726
  93. package/out/src/StoreSwitch.sol/StoreSwitch.json +2487 -2487
  94. package/out/src/WorldContext.sol/WorldContextConsumer.json +1291 -899
  95. package/out/src/WorldContext.sol/WorldContextConsumerLib.abi.json +1 -0
  96. package/out/src/WorldContext.sol/{WorldContextProvider.json → WorldContextConsumerLib.json} +1292 -900
  97. package/out/src/WorldContext.sol/WorldContextProviderLib.abi.json +1 -0
  98. package/out/src/WorldContext.sol/WorldContextProviderLib.json +3910 -0
  99. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  100. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  101. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  102. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  103. package/out/tables/ResourceIds.sol/ResourceIds.json +1751 -1751
  104. package/out/tables/Tables.sol/Tables.json +7292 -7292
  105. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  106. package/out/types.sol/types.json +41 -41
  107. package/out/version.sol/version.json +7 -7
  108. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  109. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  110. package/package.json +8 -8
  111. /package/out/WorldContext.sol/{WorldContextProvider.abi.json → WorldContextConsumerLib.abi.json} +0 -0
  112. /package/out/{src/WorldContext.sol/WorldContextProvider.abi.json → WorldContext.sol/WorldContextProviderLib.abi.json} +0 -0
@@ -221,20 +221,20 @@
221
221
  },
222
222
  "ast": {
223
223
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IAccessManagementSystem.sol",
224
- "id": 24096,
224
+ "id": 24128,
225
225
  "exportedSymbols": {
226
226
  "IAccessManagementSystem": [
227
- 24095
227
+ 24127
228
228
  ],
229
229
  "ResourceId": [
230
- 26573
230
+ 26605
231
231
  ]
232
232
  },
233
233
  "nodeType": "SourceUnit",
234
234
  "src": "32:557:42",
235
235
  "nodes": [
236
236
  {
237
- "id": 24067,
237
+ "id": 24099,
238
238
  "nodeType": "PragmaDirective",
239
239
  "src": "32:25:42",
240
240
  "nodes": [],
@@ -246,23 +246,23 @@
246
246
  ]
247
247
  },
248
248
  {
249
- "id": 24069,
249
+ "id": 24101,
250
250
  "nodeType": "ImportDirective",
251
251
  "src": "108:57:42",
252
252
  "nodes": [],
253
253
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/WorldResourceId.sol",
254
254
  "file": "./../../WorldResourceId.sol",
255
255
  "nameLocation": "-1:-1:-1",
256
- "scope": 24096,
257
- "sourceUnit": 24066,
256
+ "scope": 24128,
257
+ "sourceUnit": 24098,
258
258
  "symbolAliases": [
259
259
  {
260
260
  "foreign": {
261
- "id": 24068,
261
+ "id": 24100,
262
262
  "name": "ResourceId",
263
263
  "nodeType": "Identifier",
264
264
  "overloadedDeclarations": [],
265
- "referencedDeclaration": 26573,
265
+ "referencedDeclaration": 26605,
266
266
  "src": "117:10:42",
267
267
  "typeDescriptions": {}
268
268
  },
@@ -272,12 +272,12 @@
272
272
  "unitAlias": ""
273
273
  },
274
274
  {
275
- "id": 24095,
275
+ "id": 24127,
276
276
  "nodeType": "ContractDefinition",
277
277
  "src": "321:267:42",
278
278
  "nodes": [
279
279
  {
280
- "id": 24078,
280
+ "id": 24110,
281
281
  "nodeType": "FunctionDefinition",
282
282
  "src": "359:70:42",
283
283
  "nodes": [],
@@ -288,41 +288,41 @@
288
288
  "name": "grantAccess",
289
289
  "nameLocation": "368:11:42",
290
290
  "parameters": {
291
- "id": 24076,
291
+ "id": 24108,
292
292
  "nodeType": "ParameterList",
293
293
  "parameters": [
294
294
  {
295
295
  "constant": false,
296
- "id": 24073,
296
+ "id": 24105,
297
297
  "mutability": "mutable",
298
298
  "name": "resourceId",
299
299
  "nameLocation": "391:10:42",
300
300
  "nodeType": "VariableDeclaration",
301
- "scope": 24078,
301
+ "scope": 24110,
302
302
  "src": "380:21:42",
303
303
  "stateVariable": false,
304
304
  "storageLocation": "default",
305
305
  "typeDescriptions": {
306
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
306
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
307
307
  "typeString": "ResourceId"
308
308
  },
309
309
  "typeName": {
310
- "id": 24072,
310
+ "id": 24104,
311
311
  "nodeType": "UserDefinedTypeName",
312
312
  "pathNode": {
313
- "id": 24071,
313
+ "id": 24103,
314
314
  "name": "ResourceId",
315
315
  "nameLocations": [
316
316
  "380:10:42"
317
317
  ],
318
318
  "nodeType": "IdentifierPath",
319
- "referencedDeclaration": 26573,
319
+ "referencedDeclaration": 26605,
320
320
  "src": "380:10:42"
321
321
  },
322
- "referencedDeclaration": 26573,
322
+ "referencedDeclaration": 26605,
323
323
  "src": "380:10:42",
324
324
  "typeDescriptions": {
325
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
325
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
326
326
  "typeString": "ResourceId"
327
327
  }
328
328
  },
@@ -330,12 +330,12 @@
330
330
  },
331
331
  {
332
332
  "constant": false,
333
- "id": 24075,
333
+ "id": 24107,
334
334
  "mutability": "mutable",
335
335
  "name": "grantee",
336
336
  "nameLocation": "411:7:42",
337
337
  "nodeType": "VariableDeclaration",
338
- "scope": 24078,
338
+ "scope": 24110,
339
339
  "src": "403:15:42",
340
340
  "stateVariable": false,
341
341
  "storageLocation": "default",
@@ -344,7 +344,7 @@
344
344
  "typeString": "address"
345
345
  },
346
346
  "typeName": {
347
- "id": 24074,
347
+ "id": 24106,
348
348
  "name": "address",
349
349
  "nodeType": "ElementaryTypeName",
350
350
  "src": "403:7:42",
@@ -360,18 +360,18 @@
360
360
  "src": "379:40:42"
361
361
  },
362
362
  "returnParameters": {
363
- "id": 24077,
363
+ "id": 24109,
364
364
  "nodeType": "ParameterList",
365
365
  "parameters": [],
366
366
  "src": "428:0:42"
367
367
  },
368
- "scope": 24095,
368
+ "scope": 24127,
369
369
  "stateMutability": "nonpayable",
370
370
  "virtual": false,
371
371
  "visibility": "external"
372
372
  },
373
373
  {
374
- "id": 24086,
374
+ "id": 24118,
375
375
  "nodeType": "FunctionDefinition",
376
376
  "src": "433:71:42",
377
377
  "nodes": [],
@@ -382,41 +382,41 @@
382
382
  "name": "revokeAccess",
383
383
  "nameLocation": "442:12:42",
384
384
  "parameters": {
385
- "id": 24084,
385
+ "id": 24116,
386
386
  "nodeType": "ParameterList",
387
387
  "parameters": [
388
388
  {
389
389
  "constant": false,
390
- "id": 24081,
390
+ "id": 24113,
391
391
  "mutability": "mutable",
392
392
  "name": "resourceId",
393
393
  "nameLocation": "466:10:42",
394
394
  "nodeType": "VariableDeclaration",
395
- "scope": 24086,
395
+ "scope": 24118,
396
396
  "src": "455:21:42",
397
397
  "stateVariable": false,
398
398
  "storageLocation": "default",
399
399
  "typeDescriptions": {
400
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
400
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
401
401
  "typeString": "ResourceId"
402
402
  },
403
403
  "typeName": {
404
- "id": 24080,
404
+ "id": 24112,
405
405
  "nodeType": "UserDefinedTypeName",
406
406
  "pathNode": {
407
- "id": 24079,
407
+ "id": 24111,
408
408
  "name": "ResourceId",
409
409
  "nameLocations": [
410
410
  "455:10:42"
411
411
  ],
412
412
  "nodeType": "IdentifierPath",
413
- "referencedDeclaration": 26573,
413
+ "referencedDeclaration": 26605,
414
414
  "src": "455:10:42"
415
415
  },
416
- "referencedDeclaration": 26573,
416
+ "referencedDeclaration": 26605,
417
417
  "src": "455:10:42",
418
418
  "typeDescriptions": {
419
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
419
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
420
420
  "typeString": "ResourceId"
421
421
  }
422
422
  },
@@ -424,12 +424,12 @@
424
424
  },
425
425
  {
426
426
  "constant": false,
427
- "id": 24083,
427
+ "id": 24115,
428
428
  "mutability": "mutable",
429
429
  "name": "grantee",
430
430
  "nameLocation": "486:7:42",
431
431
  "nodeType": "VariableDeclaration",
432
- "scope": 24086,
432
+ "scope": 24118,
433
433
  "src": "478:15:42",
434
434
  "stateVariable": false,
435
435
  "storageLocation": "default",
@@ -438,7 +438,7 @@
438
438
  "typeString": "address"
439
439
  },
440
440
  "typeName": {
441
- "id": 24082,
441
+ "id": 24114,
442
442
  "name": "address",
443
443
  "nodeType": "ElementaryTypeName",
444
444
  "src": "478:7:42",
@@ -454,18 +454,18 @@
454
454
  "src": "454:40:42"
455
455
  },
456
456
  "returnParameters": {
457
- "id": 24085,
457
+ "id": 24117,
458
458
  "nodeType": "ParameterList",
459
459
  "parameters": [],
460
460
  "src": "503:0:42"
461
461
  },
462
- "scope": 24095,
462
+ "scope": 24127,
463
463
  "stateMutability": "nonpayable",
464
464
  "virtual": false,
465
465
  "visibility": "external"
466
466
  },
467
467
  {
468
- "id": 24094,
468
+ "id": 24126,
469
469
  "nodeType": "FunctionDefinition",
470
470
  "src": "508:78:42",
471
471
  "nodes": [],
@@ -476,41 +476,41 @@
476
476
  "name": "transferOwnership",
477
477
  "nameLocation": "517:17:42",
478
478
  "parameters": {
479
- "id": 24092,
479
+ "id": 24124,
480
480
  "nodeType": "ParameterList",
481
481
  "parameters": [
482
482
  {
483
483
  "constant": false,
484
- "id": 24089,
484
+ "id": 24121,
485
485
  "mutability": "mutable",
486
486
  "name": "namespaceId",
487
487
  "nameLocation": "546:11:42",
488
488
  "nodeType": "VariableDeclaration",
489
- "scope": 24094,
489
+ "scope": 24126,
490
490
  "src": "535:22:42",
491
491
  "stateVariable": false,
492
492
  "storageLocation": "default",
493
493
  "typeDescriptions": {
494
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
494
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
495
495
  "typeString": "ResourceId"
496
496
  },
497
497
  "typeName": {
498
- "id": 24088,
498
+ "id": 24120,
499
499
  "nodeType": "UserDefinedTypeName",
500
500
  "pathNode": {
501
- "id": 24087,
501
+ "id": 24119,
502
502
  "name": "ResourceId",
503
503
  "nameLocations": [
504
504
  "535:10:42"
505
505
  ],
506
506
  "nodeType": "IdentifierPath",
507
- "referencedDeclaration": 26573,
507
+ "referencedDeclaration": 26605,
508
508
  "src": "535:10:42"
509
509
  },
510
- "referencedDeclaration": 26573,
510
+ "referencedDeclaration": 26605,
511
511
  "src": "535:10:42",
512
512
  "typeDescriptions": {
513
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26573",
513
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26605",
514
514
  "typeString": "ResourceId"
515
515
  }
516
516
  },
@@ -518,12 +518,12 @@
518
518
  },
519
519
  {
520
520
  "constant": false,
521
- "id": 24091,
521
+ "id": 24123,
522
522
  "mutability": "mutable",
523
523
  "name": "newOwner",
524
524
  "nameLocation": "567:8:42",
525
525
  "nodeType": "VariableDeclaration",
526
- "scope": 24094,
526
+ "scope": 24126,
527
527
  "src": "559:16:42",
528
528
  "stateVariable": false,
529
529
  "storageLocation": "default",
@@ -532,7 +532,7 @@
532
532
  "typeString": "address"
533
533
  },
534
534
  "typeName": {
535
- "id": 24090,
535
+ "id": 24122,
536
536
  "name": "address",
537
537
  "nodeType": "ElementaryTypeName",
538
538
  "src": "559:7:42",
@@ -548,12 +548,12 @@
548
548
  "src": "534:42:42"
549
549
  },
550
550
  "returnParameters": {
551
- "id": 24093,
551
+ "id": 24125,
552
552
  "nodeType": "ParameterList",
553
553
  "parameters": [],
554
554
  "src": "585:0:42"
555
555
  },
556
- "scope": 24095,
556
+ "scope": 24127,
557
557
  "stateMutability": "nonpayable",
558
558
  "virtual": false,
559
559
  "visibility": "external"
@@ -565,18 +565,18 @@
565
565
  "contractDependencies": [],
566
566
  "contractKind": "interface",
567
567
  "documentation": {
568
- "id": 24070,
568
+ "id": 24102,
569
569
  "nodeType": "StructuredDocumentation",
570
570
  "src": "167:153:42",
571
571
  "text": " @title IAccessManagementSystem\n @dev This interface is automatically generated from the corresponding system contract. Do not edit manually."
572
572
  },
573
573
  "fullyImplemented": false,
574
574
  "linearizedBaseContracts": [
575
- 24095
575
+ 24127
576
576
  ],
577
577
  "name": "IAccessManagementSystem",
578
578
  "nameLocation": "331:23:42",
579
- "scope": 24096,
579
+ "scope": 24128,
580
580
  "usedErrors": [],
581
581
  "usedEvents": []
582
582
  }