@latticexyz/world-modules 2.0.0-main-cf2104eb → 2.0.0-main-fe005ee0

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 (96) 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 +4203 -4203
  4. package/out/DelegationControl.sol/DelegationControl.json +98 -98
  5. package/out/Hook.sol/HookInstance.json +13 -13
  6. package/out/Hook.sol/HookLib.json +13 -13
  7. package/out/Hooks.sol/Hooks.json +2917 -2917
  8. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  9. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  10. package/out/IBaseWorld.sol/IBaseWorld.json +75 -75
  11. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +19 -19
  12. package/out/IDelegationControl.sol/IDelegationControl.json +7 -7
  13. package/out/ISystemHook.sol/ISystemHook.json +12 -12
  14. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  15. package/out/IWorldErrors.sol/IWorldErrors.json +19 -19
  16. package/out/IWorldKernel.sol/IWorldCall.json +10 -10
  17. package/out/IWorldKernel.sol/IWorldKernel.json +10 -10
  18. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +10 -10
  19. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +52 -52
  20. package/out/KeysInTable.sol/KeysInTable.json +17953 -17953
  21. package/out/KeysInTableHook.sol/KeysInTableHook.json +882 -882
  22. package/out/KeysInTableModule.sol/KeysInTableModule.json +549 -549
  23. package/out/KeysWithValue.sol/KeysWithValue.json +6427 -6427
  24. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1008 -1008
  25. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +434 -434
  26. package/out/Module.sol/Module.json +88 -88
  27. package/out/ResourceIds.sol/ResourceIds.json +964 -964
  28. package/out/Schema.sol/SchemaInstance.json +30 -30
  29. package/out/Schema.sol/SchemaLib.json +30 -30
  30. package/out/SchemaType.sol/SchemaType.json +276 -276
  31. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +315 -315
  32. package/out/StoreCore.sol/StoreCore.json +13 -13
  33. package/out/StoreCore.sol/StoreCoreInternal.json +13 -13
  34. package/out/StoreHook.sol/StoreHook.json +368 -368
  35. package/out/StoreHooks.sol/StoreHooks.json +2692 -2692
  36. package/out/StoreSwitch.sol/StoreSwitch.json +13 -13
  37. package/out/System.sol/System.json +32 -32
  38. package/out/Tables.sol/Tables.json +4684 -4684
  39. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
  40. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +3210 -3210
  41. package/out/UniqueEntity.sol/UniqueEntity.json +2125 -2125
  42. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +336 -336
  43. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
  44. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +4308 -4308
  45. package/out/WorldContext.sol/WorldContextConsumer.json +24 -24
  46. package/out/WorldContext.sol/WorldContextProvider.json +24 -24
  47. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +96 -96
  48. package/out/WorldResourceId.sol/WorldResourceIdLib.json +96 -96
  49. package/out/constants.sol/constants.json +35 -35
  50. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  51. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  52. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  53. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  54. package/out/hasKey.sol/hasKey.json +130 -130
  55. package/out/index.sol/index.json +53 -53
  56. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +168 -168
  57. package/out/query.sol/query.json +1154 -1154
  58. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  59. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  60. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  61. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  62. package/out/src/IStore.sol/IStore.json +52 -52
  63. package/out/src/IWorldKernel.sol/IWorldCall.json +150 -150
  64. package/out/src/IWorldKernel.sol/IWorldKernel.json +150 -150
  65. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +150 -150
  66. package/out/src/Memory.sol/Memory.json +91 -91
  67. package/out/src/PackedCounter.sol/PackedCounterInstance.json +929 -929
  68. package/out/src/PackedCounter.sol/PackedCounterLib.json +929 -929
  69. package/out/src/ResourceId.sol/ResourceIdInstance.json +116 -116
  70. package/out/src/ResourceId.sol/ResourceIdLib.json +116 -116
  71. package/out/src/Schema.sol/SchemaInstance.json +790 -790
  72. package/out/src/Schema.sol/SchemaLib.json +790 -790
  73. package/out/src/Slice.sol/SliceInstance.json +430 -430
  74. package/out/src/Slice.sol/SliceLib.json +430 -430
  75. package/out/src/StoreCore.sol/StoreCore.json +4468 -4468
  76. package/out/src/StoreCore.sol/StoreCoreInternal.json +4468 -4468
  77. package/out/src/StoreSwitch.sol/StoreSwitch.json +2496 -2496
  78. package/out/src/WorldContext.sol/WorldContextConsumer.json +376 -376
  79. package/out/src/WorldContext.sol/WorldContextProvider.json +376 -376
  80. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +476 -476
  81. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +476 -476
  82. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  83. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  84. package/out/tables/ResourceIds.sol/ResourceIds.json +2665 -2665
  85. package/out/tables/Tables.sol/Tables.json +11899 -11899
  86. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3345 -3345
  87. package/out/types.sol/types.json +60 -72
  88. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  89. package/package.json +8 -8
  90. package/src/interfaces/IBaseWorld.sol +3 -2
  91. package/src/modules/keysintable/tables/KeysInTable.sol +285 -135
  92. package/src/modules/keysintable/tables/UsedKeysIndex.sol +36 -12
  93. package/src/modules/keyswithvalue/tables/KeysWithValue.sol +114 -54
  94. package/src/modules/std-delegations/tables/CallboundDelegations.sol +36 -12
  95. package/src/modules/std-delegations/tables/TimeboundDelegations.sol +36 -12
  96. package/src/modules/uniqueentity/tables/UniqueEntity.sol +36 -12
@@ -2364,26 +2364,26 @@
2364
2364
  },
2365
2365
  "ast": {
2366
2366
  "absolutePath": "node_modules/@latticexyz/store/src/IStore.sol",
2367
- "id": 25840,
2367
+ "id": 25833,
2368
2368
  "exportedSymbols": {
2369
2369
  "IStore": [
2370
- 25839
2370
+ 25832
2371
2371
  ],
2372
2372
  "IStoreData": [
2373
- 57976
2373
+ 57969
2374
2374
  ],
2375
2375
  "IStoreErrors": [
2376
- 58042
2376
+ 58035
2377
2377
  ],
2378
2378
  "IStoreRegistration": [
2379
- 58095
2379
+ 58088
2380
2380
  ]
2381
2381
  },
2382
2382
  "nodeType": "SourceUnit",
2383
2383
  "src": "32:257:57",
2384
2384
  "nodes": [
2385
2385
  {
2386
- "id": 25826,
2386
+ "id": 25819,
2387
2387
  "nodeType": "PragmaDirective",
2388
2388
  "src": "32:25:57",
2389
2389
  "nodes": [],
@@ -2395,23 +2395,23 @@
2395
2395
  ]
2396
2396
  },
2397
2397
  {
2398
- "id": 25828,
2398
+ "id": 25821,
2399
2399
  "nodeType": "ImportDirective",
2400
2400
  "src": "59:50:57",
2401
2401
  "nodes": [],
2402
2402
  "absolutePath": "node_modules/@latticexyz/store/src/IStoreErrors.sol",
2403
2403
  "file": "./IStoreErrors.sol",
2404
2404
  "nameLocation": "-1:-1:-1",
2405
- "scope": 25840,
2406
- "sourceUnit": 58043,
2405
+ "scope": 25833,
2406
+ "sourceUnit": 58036,
2407
2407
  "symbolAliases": [
2408
2408
  {
2409
2409
  "foreign": {
2410
- "id": 25827,
2410
+ "id": 25820,
2411
2411
  "name": "IStoreErrors",
2412
2412
  "nodeType": "Identifier",
2413
2413
  "overloadedDeclarations": [],
2414
- "referencedDeclaration": 58042,
2414
+ "referencedDeclaration": 58035,
2415
2415
  "src": "68:12:57",
2416
2416
  "typeDescriptions": {}
2417
2417
  },
@@ -2421,23 +2421,23 @@
2421
2421
  "unitAlias": ""
2422
2422
  },
2423
2423
  {
2424
- "id": 25830,
2424
+ "id": 25823,
2425
2425
  "nodeType": "ImportDirective",
2426
2426
  "src": "110:46:57",
2427
2427
  "nodes": [],
2428
2428
  "absolutePath": "node_modules/@latticexyz/store/src/IStoreData.sol",
2429
2429
  "file": "./IStoreData.sol",
2430
2430
  "nameLocation": "-1:-1:-1",
2431
- "scope": 25840,
2432
- "sourceUnit": 57977,
2431
+ "scope": 25833,
2432
+ "sourceUnit": 57970,
2433
2433
  "symbolAliases": [
2434
2434
  {
2435
2435
  "foreign": {
2436
- "id": 25829,
2436
+ "id": 25822,
2437
2437
  "name": "IStoreData",
2438
2438
  "nodeType": "Identifier",
2439
2439
  "overloadedDeclarations": [],
2440
- "referencedDeclaration": 57976,
2440
+ "referencedDeclaration": 57969,
2441
2441
  "src": "119:10:57",
2442
2442
  "typeDescriptions": {}
2443
2443
  },
@@ -2447,23 +2447,23 @@
2447
2447
  "unitAlias": ""
2448
2448
  },
2449
2449
  {
2450
- "id": 25832,
2450
+ "id": 25825,
2451
2451
  "nodeType": "ImportDirective",
2452
2452
  "src": "157:62:57",
2453
2453
  "nodes": [],
2454
2454
  "absolutePath": "node_modules/@latticexyz/store/src/IStoreRegistration.sol",
2455
2455
  "file": "./IStoreRegistration.sol",
2456
2456
  "nameLocation": "-1:-1:-1",
2457
- "scope": 25840,
2458
- "sourceUnit": 58096,
2457
+ "scope": 25833,
2458
+ "sourceUnit": 58089,
2459
2459
  "symbolAliases": [
2460
2460
  {
2461
2461
  "foreign": {
2462
- "id": 25831,
2462
+ "id": 25824,
2463
2463
  "name": "IStoreRegistration",
2464
2464
  "nodeType": "Identifier",
2465
2465
  "overloadedDeclarations": [],
2466
- "referencedDeclaration": 58095,
2466
+ "referencedDeclaration": 58088,
2467
2467
  "src": "166:18:57",
2468
2468
  "typeDescriptions": {}
2469
2469
  },
@@ -2473,7 +2473,7 @@
2473
2473
  "unitAlias": ""
2474
2474
  },
2475
2475
  {
2476
- "id": 25839,
2476
+ "id": 25832,
2477
2477
  "nodeType": "ContractDefinition",
2478
2478
  "src": "221:67:57",
2479
2479
  "nodes": [],
@@ -2481,46 +2481,46 @@
2481
2481
  "baseContracts": [
2482
2482
  {
2483
2483
  "baseName": {
2484
- "id": 25833,
2484
+ "id": 25826,
2485
2485
  "name": "IStoreData",
2486
2486
  "nameLocations": [
2487
2487
  "241:10:57"
2488
2488
  ],
2489
2489
  "nodeType": "IdentifierPath",
2490
- "referencedDeclaration": 57976,
2490
+ "referencedDeclaration": 57969,
2491
2491
  "src": "241:10:57"
2492
2492
  },
2493
- "id": 25834,
2493
+ "id": 25827,
2494
2494
  "nodeType": "InheritanceSpecifier",
2495
2495
  "src": "241:10:57"
2496
2496
  },
2497
2497
  {
2498
2498
  "baseName": {
2499
- "id": 25835,
2499
+ "id": 25828,
2500
2500
  "name": "IStoreRegistration",
2501
2501
  "nameLocations": [
2502
2502
  "253:18:57"
2503
2503
  ],
2504
2504
  "nodeType": "IdentifierPath",
2505
- "referencedDeclaration": 58095,
2505
+ "referencedDeclaration": 58088,
2506
2506
  "src": "253:18:57"
2507
2507
  },
2508
- "id": 25836,
2508
+ "id": 25829,
2509
2509
  "nodeType": "InheritanceSpecifier",
2510
2510
  "src": "253:18:57"
2511
2511
  },
2512
2512
  {
2513
2513
  "baseName": {
2514
- "id": 25837,
2514
+ "id": 25830,
2515
2515
  "name": "IStoreErrors",
2516
2516
  "nameLocations": [
2517
2517
  "273:12:57"
2518
2518
  ],
2519
2519
  "nodeType": "IdentifierPath",
2520
- "referencedDeclaration": 58042,
2520
+ "referencedDeclaration": 58035,
2521
2521
  "src": "273:12:57"
2522
2522
  },
2523
- "id": 25838,
2523
+ "id": 25831,
2524
2524
  "nodeType": "InheritanceSpecifier",
2525
2525
  "src": "273:12:57"
2526
2526
  }
@@ -2530,34 +2530,34 @@
2530
2530
  "contractKind": "interface",
2531
2531
  "fullyImplemented": false,
2532
2532
  "linearizedBaseContracts": [
2533
- 25839,
2534
- 58042,
2535
- 58095,
2536
- 57976,
2537
- 62092,
2538
- 67402,
2539
- 61940
2533
+ 25832,
2534
+ 58035,
2535
+ 58088,
2536
+ 57969,
2537
+ 62085,
2538
+ 67388,
2539
+ 61933
2540
2540
  ],
2541
2541
  "name": "IStore",
2542
2542
  "nameLocation": "231:6:57",
2543
- "scope": 25840,
2543
+ "scope": 25833,
2544
2544
  "usedErrors": [
2545
+ 57980,
2545
2546
  57987,
2546
- 57994,
2547
- 58003,
2548
- 58009,
2549
- 58015,
2550
- 58021,
2551
- 58027,
2552
- 58033,
2553
- 58041
2547
+ 57996,
2548
+ 58002,
2549
+ 58008,
2550
+ 58014,
2551
+ 58020,
2552
+ 58026,
2553
+ 58034
2554
2554
  ],
2555
2555
  "usedEvents": [
2556
- 57970,
2557
- 67364,
2558
- 67376,
2559
- 67393,
2560
- 67401
2556
+ 57963,
2557
+ 67350,
2558
+ 67362,
2559
+ 67379,
2560
+ 67387
2561
2561
  ]
2562
2562
  }
2563
2563
  ],