@latticexyz/world-modules 2.0.0-main-e20633d4 → 2.0.0-main-071aadb9

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 (113) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +220 -220
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +4463 -4463
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3250 -3250
  5. package/out/DelegationControl.sol/DelegationControl.json +98 -98
  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 +3186 -3186
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +106 -100
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +98 -92
  14. package/out/IBaseWorld.sol/IBaseWorld.json +79 -79
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +92 -86
  16. package/out/ICoreSystem.sol/ICoreSystem.json +19 -13
  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 +52 -46
  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 +329 -323
  28. package/out/KeysInTable.sol/KeysInTable.json +18239 -18239
  29. package/out/KeysInTableHook.sol/KeysInTableHook.json +882 -882
  30. package/out/KeysInTableModule.sol/KeysInTableModule.json +564 -564
  31. package/out/KeysWithValue.sol/KeysWithValue.json +6661 -6661
  32. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1023 -1023
  33. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +450 -450
  34. package/out/Memory.sol/Memory.json +4 -4
  35. package/out/Module.sol/Module.json +88 -88
  36. package/out/ResourceIds.sol/ResourceIds.json +1237 -1231
  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 +330 -330
  43. package/out/Storage.sol/Storage.json +7 -7
  44. package/out/StoreCore.sol/StoreCore.json +101 -101
  45. package/out/StoreCore.sol/StoreCoreInternal.json +101 -101
  46. package/out/StoreHook.sol/StoreHook.json +368 -368
  47. package/out/StoreHooks.sol/StoreHooks.json +6042 -6042
  48. package/out/StoreSwitch.sol/StoreSwitch.json +13 -13
  49. package/out/System.sol/System.json +32 -32
  50. package/out/Tables.sol/Tables.json +10401 -10401
  51. package/out/TightCoder.sol/TightCoder.json +124 -124
  52. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
  53. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3442 -3442
  54. package/out/UniqueEntity.sol/UniqueEntity.json +2344 -2344
  55. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +351 -351
  56. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
  57. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4568 -4562
  58. package/out/WorldContext.sol/WorldContextConsumer.json +376 -376
  59. package/out/WorldContext.sol/WorldContextProvider.json +376 -376
  60. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  61. package/out/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  62. package/out/constants.sol/LayoutOffsets.json +79 -79
  63. package/out/constants.sol/constants.json +115 -115
  64. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  65. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  66. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  67. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  68. package/out/hasKey.sol/hasKey.json +130 -130
  69. package/out/index.sol/index.json +53 -53
  70. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +186 -186
  71. package/out/leftMask.sol/leftMask.json +31 -31
  72. package/out/query.sol/query.json +1154 -1154
  73. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  74. package/out/src/Bytes.sol/Bytes.json +1338 -1338
  75. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +698 -698
  76. package/out/src/FieldLayout.sol/FieldLayoutLib.json +698 -698
  77. package/out/src/IStore.sol/IStore.json +52 -52
  78. package/out/src/IWorldKernel.sol/IWorldCall.json +154 -154
  79. package/out/src/IWorldKernel.sol/IWorldKernel.json +154 -154
  80. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +154 -154
  81. package/out/src/Memory.sol/Memory.json +91 -91
  82. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  83. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  84. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  85. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  86. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  87. package/out/src/Schema.sol/SchemaLib.json +790 -790
  88. package/out/src/Slice.sol/SliceInstance.json +430 -430
  89. package/out/src/Slice.sol/SliceLib.json +430 -430
  90. package/out/src/StoreCore.sol/StoreCore.json +4473 -4473
  91. package/out/src/StoreCore.sol/StoreCoreInternal.json +4473 -4473
  92. package/out/src/StoreSwitch.sol/StoreSwitch.json +2496 -2496
  93. package/out/src/WorldContext.sol/WorldContextConsumer.json +376 -376
  94. package/out/src/WorldContext.sol/WorldContextProvider.json +376 -376
  95. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  96. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  97. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  98. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  99. package/out/tables/ResourceIds.sol/ResourceIds.json +2889 -2883
  100. package/out/tables/Tables.sol/Tables.json +12187 -12187
  101. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  102. package/out/types.sol/types.json +41 -41
  103. package/out/version.sol/version.json +7 -7
  104. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  105. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  106. package/package.json +8 -8
  107. package/src/interfaces/IBaseWorld.sol +4 -2
  108. package/src/modules/keysintable/tables/KeysInTable.sol +357 -163
  109. package/src/modules/keysintable/tables/UsedKeysIndex.sol +116 -36
  110. package/src/modules/keyswithvalue/tables/KeysWithValue.sol +163 -69
  111. package/src/modules/std-delegations/tables/CallboundDelegations.sol +87 -26
  112. package/src/modules/std-delegations/tables/TimeboundDelegations.sol +87 -26
  113. package/src/modules/uniqueentity/tables/UniqueEntity.sol +87 -26
@@ -2373,26 +2373,26 @@
2373
2373
  },
2374
2374
  "ast": {
2375
2375
  "absolutePath": "node_modules/@latticexyz/store/src/IStore.sol",
2376
- "id": 25878,
2376
+ "id": 25885,
2377
2377
  "exportedSymbols": {
2378
2378
  "IStore": [
2379
- 25877
2379
+ 25884
2380
2380
  ],
2381
2381
  "IStoreData": [
2382
- 58023
2382
+ 58032
2383
2383
  ],
2384
2384
  "IStoreErrors": [
2385
- 58089
2385
+ 58098
2386
2386
  ],
2387
2387
  "IStoreRegistration": [
2388
- 58142
2388
+ 58151
2389
2389
  ]
2390
2390
  },
2391
2391
  "nodeType": "SourceUnit",
2392
2392
  "src": "32:257:57",
2393
2393
  "nodes": [
2394
2394
  {
2395
- "id": 25864,
2395
+ "id": 25871,
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": 25866,
2407
+ "id": 25873,
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": 25878,
2415
- "sourceUnit": 58090,
2414
+ "scope": 25885,
2415
+ "sourceUnit": 58099,
2416
2416
  "symbolAliases": [
2417
2417
  {
2418
2418
  "foreign": {
2419
- "id": 25865,
2419
+ "id": 25872,
2420
2420
  "name": "IStoreErrors",
2421
2421
  "nodeType": "Identifier",
2422
2422
  "overloadedDeclarations": [],
2423
- "referencedDeclaration": 58089,
2423
+ "referencedDeclaration": 58098,
2424
2424
  "src": "68:12:57",
2425
2425
  "typeDescriptions": {}
2426
2426
  },
@@ -2430,23 +2430,23 @@
2430
2430
  "unitAlias": ""
2431
2431
  },
2432
2432
  {
2433
- "id": 25868,
2433
+ "id": 25875,
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": 25878,
2441
- "sourceUnit": 58024,
2440
+ "scope": 25885,
2441
+ "sourceUnit": 58033,
2442
2442
  "symbolAliases": [
2443
2443
  {
2444
2444
  "foreign": {
2445
- "id": 25867,
2445
+ "id": 25874,
2446
2446
  "name": "IStoreData",
2447
2447
  "nodeType": "Identifier",
2448
2448
  "overloadedDeclarations": [],
2449
- "referencedDeclaration": 58023,
2449
+ "referencedDeclaration": 58032,
2450
2450
  "src": "119:10:57",
2451
2451
  "typeDescriptions": {}
2452
2452
  },
@@ -2456,23 +2456,23 @@
2456
2456
  "unitAlias": ""
2457
2457
  },
2458
2458
  {
2459
- "id": 25870,
2459
+ "id": 25877,
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": 25878,
2467
- "sourceUnit": 58143,
2466
+ "scope": 25885,
2467
+ "sourceUnit": 58152,
2468
2468
  "symbolAliases": [
2469
2469
  {
2470
2470
  "foreign": {
2471
- "id": 25869,
2471
+ "id": 25876,
2472
2472
  "name": "IStoreRegistration",
2473
2473
  "nodeType": "Identifier",
2474
2474
  "overloadedDeclarations": [],
2475
- "referencedDeclaration": 58142,
2475
+ "referencedDeclaration": 58151,
2476
2476
  "src": "166:18:57",
2477
2477
  "typeDescriptions": {}
2478
2478
  },
@@ -2482,7 +2482,7 @@
2482
2482
  "unitAlias": ""
2483
2483
  },
2484
2484
  {
2485
- "id": 25877,
2485
+ "id": 25884,
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": 25871,
2493
+ "id": 25878,
2494
2494
  "name": "IStoreData",
2495
2495
  "nameLocations": [
2496
2496
  "241:10:57"
2497
2497
  ],
2498
2498
  "nodeType": "IdentifierPath",
2499
- "referencedDeclaration": 58023,
2499
+ "referencedDeclaration": 58032,
2500
2500
  "src": "241:10:57"
2501
2501
  },
2502
- "id": 25872,
2502
+ "id": 25879,
2503
2503
  "nodeType": "InheritanceSpecifier",
2504
2504
  "src": "241:10:57"
2505
2505
  },
2506
2506
  {
2507
2507
  "baseName": {
2508
- "id": 25873,
2508
+ "id": 25880,
2509
2509
  "name": "IStoreRegistration",
2510
2510
  "nameLocations": [
2511
2511
  "253:18:57"
2512
2512
  ],
2513
2513
  "nodeType": "IdentifierPath",
2514
- "referencedDeclaration": 58142,
2514
+ "referencedDeclaration": 58151,
2515
2515
  "src": "253:18:57"
2516
2516
  },
2517
- "id": 25874,
2517
+ "id": 25881,
2518
2518
  "nodeType": "InheritanceSpecifier",
2519
2519
  "src": "253:18:57"
2520
2520
  },
2521
2521
  {
2522
2522
  "baseName": {
2523
- "id": 25875,
2523
+ "id": 25882,
2524
2524
  "name": "IStoreErrors",
2525
2525
  "nameLocations": [
2526
2526
  "273:12:57"
2527
2527
  ],
2528
2528
  "nodeType": "IdentifierPath",
2529
- "referencedDeclaration": 58089,
2529
+ "referencedDeclaration": 58098,
2530
2530
  "src": "273:12:57"
2531
2531
  },
2532
- "id": 25876,
2532
+ "id": 25883,
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
- 25877,
2543
- 58089,
2544
- 58142,
2545
- 58023,
2546
- 62150,
2547
- 67464,
2548
- 61998
2542
+ 25884,
2543
+ 58098,
2544
+ 58151,
2545
+ 58032,
2546
+ 62165,
2547
+ 67479,
2548
+ 62013
2549
2549
  ],
2550
2550
  "name": "IStore",
2551
2551
  "nameLocation": "231:6:57",
2552
- "scope": 25878,
2552
+ "scope": 25885,
2553
2553
  "usedErrors": [
2554
- 58034,
2555
- 58041,
2554
+ 58043,
2556
2555
  58050,
2557
- 58056,
2558
- 58062,
2559
- 58068,
2560
- 58074,
2561
- 58080,
2562
- 58088
2556
+ 58059,
2557
+ 58065,
2558
+ 58071,
2559
+ 58077,
2560
+ 58083,
2561
+ 58089,
2562
+ 58097
2563
2563
  ],
2564
2564
  "usedEvents": [
2565
- 58016,
2566
- 67423,
2567
- 67436,
2568
- 67454,
2569
- 67463
2565
+ 58025,
2566
+ 67438,
2567
+ 67451,
2568
+ 67469,
2569
+ 67478
2570
2570
  ]
2571
2571
  }
2572
2572
  ],