@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
@@ -2373,26 +2373,26 @@
2373
2373
  },
2374
2374
  "ast": {
2375
2375
  "absolutePath": "node_modules/@latticexyz/store/src/IStore.sol",
2376
- "id": 25885,
2376
+ "id": 25917,
2377
2377
  "exportedSymbols": {
2378
2378
  "IStore": [
2379
- 25884
2379
+ 25916
2380
2380
  ],
2381
2381
  "IStoreData": [
2382
- 58032
2382
+ 58096
2383
2383
  ],
2384
2384
  "IStoreErrors": [
2385
- 58098
2385
+ 58162
2386
2386
  ],
2387
2387
  "IStoreRegistration": [
2388
- 58151
2388
+ 58215
2389
2389
  ]
2390
2390
  },
2391
2391
  "nodeType": "SourceUnit",
2392
2392
  "src": "32:257:57",
2393
2393
  "nodes": [
2394
2394
  {
2395
- "id": 25871,
2395
+ "id": 25903,
2396
2396
  "nodeType": "PragmaDirective",
2397
2397
  "src": "32:25:57",
2398
2398
  "nodes": [],
@@ -2404,23 +2404,23 @@
2404
2404
  ]
2405
2405
  },
2406
2406
  {
2407
- "id": 25873,
2407
+ "id": 25905,
2408
2408
  "nodeType": "ImportDirective",
2409
2409
  "src": "59:50:57",
2410
2410
  "nodes": [],
2411
2411
  "absolutePath": "node_modules/@latticexyz/store/src/IStoreErrors.sol",
2412
2412
  "file": "./IStoreErrors.sol",
2413
2413
  "nameLocation": "-1:-1:-1",
2414
- "scope": 25885,
2415
- "sourceUnit": 58099,
2414
+ "scope": 25917,
2415
+ "sourceUnit": 58163,
2416
2416
  "symbolAliases": [
2417
2417
  {
2418
2418
  "foreign": {
2419
- "id": 25872,
2419
+ "id": 25904,
2420
2420
  "name": "IStoreErrors",
2421
2421
  "nodeType": "Identifier",
2422
2422
  "overloadedDeclarations": [],
2423
- "referencedDeclaration": 58098,
2423
+ "referencedDeclaration": 58162,
2424
2424
  "src": "68:12:57",
2425
2425
  "typeDescriptions": {}
2426
2426
  },
@@ -2430,23 +2430,23 @@
2430
2430
  "unitAlias": ""
2431
2431
  },
2432
2432
  {
2433
- "id": 25875,
2433
+ "id": 25907,
2434
2434
  "nodeType": "ImportDirective",
2435
2435
  "src": "110:46:57",
2436
2436
  "nodes": [],
2437
2437
  "absolutePath": "node_modules/@latticexyz/store/src/IStoreData.sol",
2438
2438
  "file": "./IStoreData.sol",
2439
2439
  "nameLocation": "-1:-1:-1",
2440
- "scope": 25885,
2441
- "sourceUnit": 58033,
2440
+ "scope": 25917,
2441
+ "sourceUnit": 58097,
2442
2442
  "symbolAliases": [
2443
2443
  {
2444
2444
  "foreign": {
2445
- "id": 25874,
2445
+ "id": 25906,
2446
2446
  "name": "IStoreData",
2447
2447
  "nodeType": "Identifier",
2448
2448
  "overloadedDeclarations": [],
2449
- "referencedDeclaration": 58032,
2449
+ "referencedDeclaration": 58096,
2450
2450
  "src": "119:10:57",
2451
2451
  "typeDescriptions": {}
2452
2452
  },
@@ -2456,23 +2456,23 @@
2456
2456
  "unitAlias": ""
2457
2457
  },
2458
2458
  {
2459
- "id": 25877,
2459
+ "id": 25909,
2460
2460
  "nodeType": "ImportDirective",
2461
2461
  "src": "157:62:57",
2462
2462
  "nodes": [],
2463
2463
  "absolutePath": "node_modules/@latticexyz/store/src/IStoreRegistration.sol",
2464
2464
  "file": "./IStoreRegistration.sol",
2465
2465
  "nameLocation": "-1:-1:-1",
2466
- "scope": 25885,
2467
- "sourceUnit": 58152,
2466
+ "scope": 25917,
2467
+ "sourceUnit": 58216,
2468
2468
  "symbolAliases": [
2469
2469
  {
2470
2470
  "foreign": {
2471
- "id": 25876,
2471
+ "id": 25908,
2472
2472
  "name": "IStoreRegistration",
2473
2473
  "nodeType": "Identifier",
2474
2474
  "overloadedDeclarations": [],
2475
- "referencedDeclaration": 58151,
2475
+ "referencedDeclaration": 58215,
2476
2476
  "src": "166:18:57",
2477
2477
  "typeDescriptions": {}
2478
2478
  },
@@ -2482,7 +2482,7 @@
2482
2482
  "unitAlias": ""
2483
2483
  },
2484
2484
  {
2485
- "id": 25884,
2485
+ "id": 25916,
2486
2486
  "nodeType": "ContractDefinition",
2487
2487
  "src": "221:67:57",
2488
2488
  "nodes": [],
@@ -2490,46 +2490,46 @@
2490
2490
  "baseContracts": [
2491
2491
  {
2492
2492
  "baseName": {
2493
- "id": 25878,
2493
+ "id": 25910,
2494
2494
  "name": "IStoreData",
2495
2495
  "nameLocations": [
2496
2496
  "241:10:57"
2497
2497
  ],
2498
2498
  "nodeType": "IdentifierPath",
2499
- "referencedDeclaration": 58032,
2499
+ "referencedDeclaration": 58096,
2500
2500
  "src": "241:10:57"
2501
2501
  },
2502
- "id": 25879,
2502
+ "id": 25911,
2503
2503
  "nodeType": "InheritanceSpecifier",
2504
2504
  "src": "241:10:57"
2505
2505
  },
2506
2506
  {
2507
2507
  "baseName": {
2508
- "id": 25880,
2508
+ "id": 25912,
2509
2509
  "name": "IStoreRegistration",
2510
2510
  "nameLocations": [
2511
2511
  "253:18:57"
2512
2512
  ],
2513
2513
  "nodeType": "IdentifierPath",
2514
- "referencedDeclaration": 58151,
2514
+ "referencedDeclaration": 58215,
2515
2515
  "src": "253:18:57"
2516
2516
  },
2517
- "id": 25881,
2517
+ "id": 25913,
2518
2518
  "nodeType": "InheritanceSpecifier",
2519
2519
  "src": "253:18:57"
2520
2520
  },
2521
2521
  {
2522
2522
  "baseName": {
2523
- "id": 25882,
2523
+ "id": 25914,
2524
2524
  "name": "IStoreErrors",
2525
2525
  "nameLocations": [
2526
2526
  "273:12:57"
2527
2527
  ],
2528
2528
  "nodeType": "IdentifierPath",
2529
- "referencedDeclaration": 58098,
2529
+ "referencedDeclaration": 58162,
2530
2530
  "src": "273:12:57"
2531
2531
  },
2532
- "id": 25883,
2532
+ "id": 25915,
2533
2533
  "nodeType": "InheritanceSpecifier",
2534
2534
  "src": "273:12:57"
2535
2535
  }
@@ -2539,34 +2539,34 @@
2539
2539
  "contractKind": "interface",
2540
2540
  "fullyImplemented": false,
2541
2541
  "linearizedBaseContracts": [
2542
- 25884,
2543
- 58098,
2544
- 58151,
2545
- 58032,
2546
- 62165,
2547
- 67479,
2548
- 62013
2542
+ 25916,
2543
+ 58162,
2544
+ 58215,
2545
+ 58096,
2546
+ 62229,
2547
+ 67543,
2548
+ 62077
2549
2549
  ],
2550
2550
  "name": "IStore",
2551
2551
  "nameLocation": "231:6:57",
2552
- "scope": 25885,
2552
+ "scope": 25917,
2553
2553
  "usedErrors": [
2554
- 58043,
2555
- 58050,
2556
- 58059,
2557
- 58065,
2558
- 58071,
2559
- 58077,
2560
- 58083,
2561
- 58089,
2562
- 58097
2554
+ 58107,
2555
+ 58114,
2556
+ 58123,
2557
+ 58129,
2558
+ 58135,
2559
+ 58141,
2560
+ 58147,
2561
+ 58153,
2562
+ 58161
2563
2563
  ],
2564
2564
  "usedEvents": [
2565
- 58025,
2566
- 67438,
2567
- 67451,
2568
- 67469,
2569
- 67478
2565
+ 58089,
2566
+ 67502,
2567
+ 67515,
2568
+ 67533,
2569
+ 67542
2570
2570
  ]
2571
2571
  }
2572
2572
  ],