@latticexyz/world-modules 2.0.0-main-5d19b125 → 2.0.0-main-fd10cff6

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 (89) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +228 -215
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  4. package/out/DelegationControl.sol/DelegationControl.json +157 -131
  5. package/out/Hooks.sol/Hooks.json +45 -45
  6. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +57 -57
  7. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  8. package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
  9. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  10. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  11. package/out/IDelegationControl.sol/IDelegationControl.json +105 -99
  12. package/out/IModule.sol/IModule.json +181 -151
  13. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +34 -34
  14. package/out/ISystemHook.sol/ISystemHook.json +91 -91
  15. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  16. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +75 -75
  17. package/out/IWorldErrors.sol/IWorldErrors.json +134 -134
  18. package/out/IWorldKernel.sol/IWorldCall.json +155 -155
  19. package/out/IWorldKernel.sol/IWorldKernel.json +155 -155
  20. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +155 -155
  21. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +186 -186
  22. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  23. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  24. package/out/KeysInTableModule.sol/KeysInTableModule.json +562 -537
  25. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  26. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +992 -992
  27. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +451 -426
  28. package/out/Module.sol/Module.json +162 -119
  29. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  30. package/out/Schema.sol/SchemaInstance.json +30 -30
  31. package/out/Schema.sol/SchemaLib.json +30 -30
  32. package/out/SchemaType.sol/SchemaType.json +276 -276
  33. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +327 -308
  34. package/out/StoreHook.sol/StoreHook.json +358 -358
  35. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  36. package/out/System.sol/System.json +23 -23
  37. package/out/Tables.sol/Tables.json +73 -73
  38. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +132 -119
  39. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  40. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  41. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +345 -326
  42. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +86 -86
  43. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  44. package/out/WorldContext.sol/WorldContextConsumer.json +357 -357
  45. package/out/WorldContext.sol/WorldContextProvider.json +357 -357
  46. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  47. package/out/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  48. package/out/constants.sol/constants.json +115 -115
  49. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  50. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  51. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  52. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  53. package/out/hasKey.sol/hasKey.json +130 -130
  54. package/out/index.sol/index.json +53 -53
  55. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +130 -130
  56. package/out/query.sol/query.json +1154 -1154
  57. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  58. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  59. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  60. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  61. package/out/src/IStore.sol/IStore.json +53 -53
  62. package/out/src/IWorldKernel.sol/IWorldCall.json +156 -156
  63. package/out/src/IWorldKernel.sol/IWorldKernel.json +156 -156
  64. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
  65. package/out/src/Memory.sol/Memory.json +89 -89
  66. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  67. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  68. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  69. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  70. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  71. package/out/src/Schema.sol/SchemaLib.json +787 -787
  72. package/out/src/Slice.sol/SliceInstance.json +429 -429
  73. package/out/src/Slice.sol/SliceLib.json +429 -429
  74. package/out/src/StoreCore.sol/StoreCore.json +4455 -4455
  75. package/out/src/StoreCore.sol/StoreCoreInternal.json +4455 -4455
  76. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  77. package/out/src/WorldContext.sol/WorldContextConsumer.json +357 -357
  78. package/out/src/WorldContext.sol/WorldContextProvider.json +357 -357
  79. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  80. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  81. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  82. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  83. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  84. package/out/tables/Tables.sol/Tables.json +7288 -7288
  85. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  86. package/out/types.sol/types.json +39 -39
  87. package/out/world/src/IERC165.sol/IERC165.json +63 -57
  88. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  89. package/package.json +8 -8
@@ -2364,26 +2364,26 @@
2364
2364
  },
2365
2365
  "ast": {
2366
2366
  "absolutePath": "node_modules/@latticexyz/store/src/IStore.sol",
2367
- "id": 25511,
2367
+ "id": 25518,
2368
2368
  "exportedSymbols": {
2369
2369
  "IStore": [
2370
- 25510
2370
+ 25517
2371
2371
  ],
2372
2372
  "IStoreData": [
2373
- 57446
2373
+ 57457
2374
2374
  ],
2375
2375
  "IStoreErrors": [
2376
- 57512
2376
+ 57523
2377
2377
  ],
2378
2378
  "IStoreRegistration": [
2379
- 57565
2379
+ 57576
2380
2380
  ]
2381
2381
  },
2382
2382
  "nodeType": "SourceUnit",
2383
2383
  "src": "32:257:57",
2384
2384
  "nodes": [
2385
2385
  {
2386
- "id": 25497,
2386
+ "id": 25504,
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": 25499,
2398
+ "id": 25506,
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": 25511,
2406
- "sourceUnit": 57513,
2405
+ "scope": 25518,
2406
+ "sourceUnit": 57524,
2407
2407
  "symbolAliases": [
2408
2408
  {
2409
2409
  "foreign": {
2410
- "id": 25498,
2410
+ "id": 25505,
2411
2411
  "name": "IStoreErrors",
2412
2412
  "nodeType": "Identifier",
2413
2413
  "overloadedDeclarations": [],
2414
- "referencedDeclaration": 57512,
2414
+ "referencedDeclaration": 57523,
2415
2415
  "src": "68:12:57",
2416
2416
  "typeDescriptions": {}
2417
2417
  },
@@ -2421,23 +2421,23 @@
2421
2421
  "unitAlias": ""
2422
2422
  },
2423
2423
  {
2424
- "id": 25501,
2424
+ "id": 25508,
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": 25511,
2432
- "sourceUnit": 57447,
2431
+ "scope": 25518,
2432
+ "sourceUnit": 57458,
2433
2433
  "symbolAliases": [
2434
2434
  {
2435
2435
  "foreign": {
2436
- "id": 25500,
2436
+ "id": 25507,
2437
2437
  "name": "IStoreData",
2438
2438
  "nodeType": "Identifier",
2439
2439
  "overloadedDeclarations": [],
2440
- "referencedDeclaration": 57446,
2440
+ "referencedDeclaration": 57457,
2441
2441
  "src": "119:10:57",
2442
2442
  "typeDescriptions": {}
2443
2443
  },
@@ -2447,23 +2447,23 @@
2447
2447
  "unitAlias": ""
2448
2448
  },
2449
2449
  {
2450
- "id": 25503,
2450
+ "id": 25510,
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": 25511,
2458
- "sourceUnit": 57566,
2457
+ "scope": 25518,
2458
+ "sourceUnit": 57577,
2459
2459
  "symbolAliases": [
2460
2460
  {
2461
2461
  "foreign": {
2462
- "id": 25502,
2462
+ "id": 25509,
2463
2463
  "name": "IStoreRegistration",
2464
2464
  "nodeType": "Identifier",
2465
2465
  "overloadedDeclarations": [],
2466
- "referencedDeclaration": 57565,
2466
+ "referencedDeclaration": 57576,
2467
2467
  "src": "166:18:57",
2468
2468
  "typeDescriptions": {}
2469
2469
  },
@@ -2473,7 +2473,7 @@
2473
2473
  "unitAlias": ""
2474
2474
  },
2475
2475
  {
2476
- "id": 25510,
2476
+ "id": 25517,
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": 25504,
2484
+ "id": 25511,
2485
2485
  "name": "IStoreData",
2486
2486
  "nameLocations": [
2487
2487
  "241:10:57"
2488
2488
  ],
2489
2489
  "nodeType": "IdentifierPath",
2490
- "referencedDeclaration": 57446,
2490
+ "referencedDeclaration": 57457,
2491
2491
  "src": "241:10:57"
2492
2492
  },
2493
- "id": 25505,
2493
+ "id": 25512,
2494
2494
  "nodeType": "InheritanceSpecifier",
2495
2495
  "src": "241:10:57"
2496
2496
  },
2497
2497
  {
2498
2498
  "baseName": {
2499
- "id": 25506,
2499
+ "id": 25513,
2500
2500
  "name": "IStoreRegistration",
2501
2501
  "nameLocations": [
2502
2502
  "253:18:57"
2503
2503
  ],
2504
2504
  "nodeType": "IdentifierPath",
2505
- "referencedDeclaration": 57565,
2505
+ "referencedDeclaration": 57576,
2506
2506
  "src": "253:18:57"
2507
2507
  },
2508
- "id": 25507,
2508
+ "id": 25514,
2509
2509
  "nodeType": "InheritanceSpecifier",
2510
2510
  "src": "253:18:57"
2511
2511
  },
2512
2512
  {
2513
2513
  "baseName": {
2514
- "id": 25508,
2514
+ "id": 25515,
2515
2515
  "name": "IStoreErrors",
2516
2516
  "nameLocations": [
2517
2517
  "273:12:57"
2518
2518
  ],
2519
2519
  "nodeType": "IdentifierPath",
2520
- "referencedDeclaration": 57512,
2520
+ "referencedDeclaration": 57523,
2521
2521
  "src": "273:12:57"
2522
2522
  },
2523
- "id": 25509,
2523
+ "id": 25516,
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
- 25510,
2534
- 57512,
2535
- 57565,
2536
- 57446,
2537
- 61430,
2538
- 66729,
2539
- 61278
2533
+ 25517,
2534
+ 57523,
2535
+ 57576,
2536
+ 57457,
2537
+ 61448,
2538
+ 66747,
2539
+ 61296
2540
2540
  ],
2541
2541
  "name": "IStore",
2542
2542
  "nameLocation": "231:6:57",
2543
- "scope": 25511,
2543
+ "scope": 25518,
2544
2544
  "usedErrors": [
2545
- 57457,
2546
- 57464,
2547
- 57473,
2548
- 57479,
2549
- 57485,
2550
- 57491,
2551
- 57497,
2552
- 57503,
2553
- 57511
2545
+ 57468,
2546
+ 57475,
2547
+ 57484,
2548
+ 57490,
2549
+ 57496,
2550
+ 57502,
2551
+ 57508,
2552
+ 57514,
2553
+ 57522
2554
2554
  ],
2555
2555
  "usedEvents": [
2556
- 57440,
2557
- 66691,
2558
- 66703,
2559
- 66720,
2560
- 66728
2556
+ 57451,
2557
+ 66709,
2558
+ 66721,
2559
+ 66738,
2560
+ 66746
2561
2561
  ]
2562
2562
  }
2563
2563
  ],