@latticexyz/world-modules 2.0.0-main-a38a9f25 → 2.0.0-main-5fdbb127

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 +72 -60
  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
@@ -227,7 +227,7 @@
227
227
  24062
228
228
  ],
229
229
  "ResourceId": [
230
- 26521
230
+ 26528
231
231
  ]
232
232
  },
233
233
  "nodeType": "SourceUnit",
@@ -262,7 +262,7 @@
262
262
  "name": "ResourceId",
263
263
  "nodeType": "Identifier",
264
264
  "overloadedDeclarations": [],
265
- "referencedDeclaration": 26521,
265
+ "referencedDeclaration": 26528,
266
266
  "src": "117:10:42",
267
267
  "typeDescriptions": {}
268
268
  },
@@ -303,7 +303,7 @@
303
303
  "stateVariable": false,
304
304
  "storageLocation": "default",
305
305
  "typeDescriptions": {
306
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
306
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
307
307
  "typeString": "ResourceId"
308
308
  },
309
309
  "typeName": {
@@ -316,13 +316,13 @@
316
316
  "226:10:42"
317
317
  ],
318
318
  "nodeType": "IdentifierPath",
319
- "referencedDeclaration": 26521,
319
+ "referencedDeclaration": 26528,
320
320
  "src": "226:10:42"
321
321
  },
322
- "referencedDeclaration": 26521,
322
+ "referencedDeclaration": 26528,
323
323
  "src": "226:10:42",
324
324
  "typeDescriptions": {
325
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
325
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
326
326
  "typeString": "ResourceId"
327
327
  }
328
328
  },
@@ -397,7 +397,7 @@
397
397
  "stateVariable": false,
398
398
  "storageLocation": "default",
399
399
  "typeDescriptions": {
400
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
400
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
401
401
  "typeString": "ResourceId"
402
402
  },
403
403
  "typeName": {
@@ -410,13 +410,13 @@
410
410
  "301:10:42"
411
411
  ],
412
412
  "nodeType": "IdentifierPath",
413
- "referencedDeclaration": 26521,
413
+ "referencedDeclaration": 26528,
414
414
  "src": "301:10:42"
415
415
  },
416
- "referencedDeclaration": 26521,
416
+ "referencedDeclaration": 26528,
417
417
  "src": "301:10:42",
418
418
  "typeDescriptions": {
419
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
419
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
420
420
  "typeString": "ResourceId"
421
421
  }
422
422
  },
@@ -491,7 +491,7 @@
491
491
  "stateVariable": false,
492
492
  "storageLocation": "default",
493
493
  "typeDescriptions": {
494
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
494
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
495
495
  "typeString": "ResourceId"
496
496
  },
497
497
  "typeName": {
@@ -504,13 +504,13 @@
504
504
  "381:10:42"
505
505
  ],
506
506
  "nodeType": "IdentifierPath",
507
- "referencedDeclaration": 26521,
507
+ "referencedDeclaration": 26528,
508
508
  "src": "381:10:42"
509
509
  },
510
- "referencedDeclaration": 26521,
510
+ "referencedDeclaration": 26528,
511
511
  "src": "381:10:42",
512
512
  "typeDescriptions": {
513
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
513
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
514
514
  "typeString": "ResourceId"
515
515
  }
516
516
  },
@@ -171,7 +171,7 @@
171
171
  24088
172
172
  ],
173
173
  "ResourceId": [
174
- 26521
174
+ 26528
175
175
  ]
176
176
  },
177
177
  "nodeType": "SourceUnit",
@@ -198,7 +198,7 @@
198
198
  "file": "@latticexyz/store/src/ResourceId.sol",
199
199
  "nameLocation": "-1:-1:-1",
200
200
  "scope": 24089,
201
- "sourceUnit": 26593,
201
+ "sourceUnit": 26600,
202
202
  "symbolAliases": [
203
203
  {
204
204
  "foreign": {
@@ -206,7 +206,7 @@
206
206
  "name": "ResourceId",
207
207
  "nodeType": "Identifier",
208
208
  "overloadedDeclarations": [],
209
- "referencedDeclaration": 26521,
209
+ "referencedDeclaration": 26528,
210
210
  "src": "117:10:43",
211
211
  "typeDescriptions": {}
212
212
  },
@@ -247,7 +247,7 @@
247
247
  "stateVariable": false,
248
248
  "storageLocation": "default",
249
249
  "typeDescriptions": {
250
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
250
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
251
251
  "typeString": "ResourceId"
252
252
  },
253
253
  "typeName": {
@@ -260,13 +260,13 @@
260
260
  "249:10:43"
261
261
  ],
262
262
  "nodeType": "IdentifierPath",
263
- "referencedDeclaration": 26521,
263
+ "referencedDeclaration": 26528,
264
264
  "src": "249:10:43"
265
265
  },
266
- "referencedDeclaration": 26521,
266
+ "referencedDeclaration": 26528,
267
267
  "src": "249:10:43",
268
268
  "typeDescriptions": {
269
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
269
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
270
270
  "typeString": "ResourceId"
271
271
  }
272
272
  },
@@ -284,7 +284,7 @@
284
284
  "stateVariable": false,
285
285
  "storageLocation": "default",
286
286
  "typeDescriptions": {
287
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
287
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
288
288
  "typeString": "ResourceId"
289
289
  },
290
290
  "typeName": {
@@ -297,13 +297,13 @@
297
297
  "277:10:43"
298
298
  ],
299
299
  "nodeType": "IdentifierPath",
300
- "referencedDeclaration": 26521,
300
+ "referencedDeclaration": 26528,
301
301
  "src": "277:10:43"
302
302
  },
303
- "referencedDeclaration": 26521,
303
+ "referencedDeclaration": 26528,
304
304
  "src": "277:10:43",
305
305
  "typeDescriptions": {
306
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
306
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
307
307
  "typeString": "ResourceId"
308
308
  }
309
309
  },
@@ -377,7 +377,7 @@
377
377
  "stateVariable": false,
378
378
  "storageLocation": "default",
379
379
  "typeDescriptions": {
380
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
380
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
381
381
  "typeString": "ResourceId"
382
382
  },
383
383
  "typeName": {
@@ -390,13 +390,13 @@
390
390
  "366:10:43"
391
391
  ],
392
392
  "nodeType": "IdentifierPath",
393
- "referencedDeclaration": 26521,
393
+ "referencedDeclaration": 26528,
394
394
  "src": "366:10:43"
395
395
  },
396
- "referencedDeclaration": 26521,
396
+ "referencedDeclaration": 26528,
397
397
  "src": "366:10:43",
398
398
  "typeDescriptions": {
399
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26521",
399
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26528",
400
400
  "typeString": "ResourceId"
401
401
  }
402
402
  },