@latticexyz/world-modules 2.0.0-main-fa74f25e → 2.0.0-main-3086581a

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 +220 -220
  3. package/out/CallboundDelegations.sol/CallboundDelegations.json +2611 -2611
  4. package/out/DecodeSlice.sol/DecodeSlice.json +3155 -3155
  5. package/out/DelegationControl.sol/DelegationControl.json +101 -101
  6. package/out/EncodeArray.sol/EncodeArray.json +3250 -3250
  7. package/out/FieldLayout.sol/FieldLayoutInstance.json +51 -51
  8. package/out/FieldLayout.sol/FieldLayoutLib.json +51 -51
  9. package/out/Hook.sol/HookInstance.json +16 -16
  10. package/out/Hook.sol/HookLib.json +16 -16
  11. package/out/Hooks.sol/Hooks.json +96 -96
  12. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +61 -61
  13. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +53 -53
  14. package/out/IBaseWorld.sol/IBaseWorld.json +70 -70
  15. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +51 -51
  16. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  17. package/out/IDelegationControl.sol/IDelegationControl.json +66 -66
  18. package/out/IModule.sol/IModule.json +78 -78
  19. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  20. package/out/IStore.sol/IStore.json +4 -4
  21. package/out/IStoreData.sol/IStoreData.json +4 -4
  22. package/out/IStoreHook.sol/IStoreHook.json +4 -4
  23. package/out/IStoreRead.sol/IStoreRead.json +4 -4
  24. package/out/IStoreRegistration.sol/IStoreRegistration.json +4 -4
  25. package/out/IStoreWrite.sol/IStoreWrite.json +4 -4
  26. package/out/ISystemHook.sol/ISystemHook.json +90 -90
  27. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  28. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +71 -71
  29. package/out/IWorldErrors.sol/IWorldErrors.json +150 -150
  30. package/out/IWorldKernel.sol/IWorldCall.json +156 -156
  31. package/out/IWorldKernel.sol/IWorldKernel.json +156 -156
  32. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +156 -156
  33. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
  34. package/out/KeysInTable.sol/KeysInTable.json +10684 -10684
  35. package/out/KeysInTableHook.sol/KeysInTableHook.json +879 -879
  36. package/out/KeysInTableModule.sol/KeysInTableModule.json +539 -539
  37. package/out/KeysWithValue.sol/KeysWithValue.json +3844 -3844
  38. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1002 -1002
  39. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +428 -428
  40. package/out/Memory.sol/Memory.json +8 -8
  41. package/out/Module.sol/Module.json +90 -90
  42. package/out/ResourceIds.sol/ResourceIds.json +70 -70
  43. package/out/Schema.sol/SchemaInstance.json +76 -76
  44. package/out/Schema.sol/SchemaLib.json +76 -76
  45. package/out/SchemaType.sol/SchemaType.json +276 -276
  46. package/out/Slice.sol/SliceInstance.json +8 -8
  47. package/out/Slice.sol/SliceLib.json +8 -8
  48. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +305 -305
  49. package/out/Storage.sol/Storage.json +11 -11
  50. package/out/StoreCore.sol/StoreCore.json +59 -59
  51. package/out/StoreCore.sol/StoreCoreInternal.json +59 -59
  52. package/out/StoreHook.sol/StoreHook.json +362 -362
  53. package/out/StoreHooks.sol/StoreHooks.json +97 -97
  54. package/out/StoreSwitch.sol/StoreSwitch.json +16 -16
  55. package/out/System.sol/System.json +35 -35
  56. package/out/Tables.sol/Tables.json +98 -98
  57. package/out/TightCoder.sol/TightCoder.json +128 -128
  58. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +124 -124
  59. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +2002 -2002
  60. package/out/UniqueEntity.sol/UniqueEntity.json +1418 -1418
  61. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +329 -329
  62. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +98 -98
  63. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2738 -2738
  64. package/out/WorldContext.sol/WorldContextConsumer.json +379 -379
  65. package/out/WorldContext.sol/WorldContextProvider.json +379 -379
  66. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  67. package/out/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  68. package/out/constants.sol/LayoutOffsets.json +164 -140
  69. package/out/constants.sol/constants.json +115 -115
  70. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  71. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  72. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  73. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  74. package/out/hasKey.sol/hasKey.json +130 -130
  75. package/out/index.sol/index.json +53 -53
  76. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +139 -139
  77. package/out/leftMask.sol/leftMask.json +61 -61
  78. package/out/query.sol/query.json +1154 -1154
  79. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  80. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  81. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +701 -701
  82. package/out/src/FieldLayout.sol/FieldLayoutLib.json +701 -701
  83. package/out/src/IStore.sol/IStore.json +57 -57
  84. package/out/src/IWorldKernel.sol/IWorldCall.json +157 -157
  85. package/out/src/IWorldKernel.sol/IWorldKernel.json +157 -157
  86. package/out/src/IWorldKernel.sol/IWorldModuleInstallation.json +157 -157
  87. package/out/src/Memory.sol/Memory.json +93 -93
  88. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  89. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  90. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  91. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  92. package/out/src/Schema.sol/SchemaInstance.json +791 -791
  93. package/out/src/Schema.sol/SchemaLib.json +791 -791
  94. package/out/src/Slice.sol/SliceInstance.json +433 -433
  95. package/out/src/Slice.sol/SliceLib.json +433 -433
  96. package/out/src/StoreCore.sol/StoreCore.json +4471 -4471
  97. package/out/src/StoreCore.sol/StoreCoreInternal.json +4471 -4471
  98. package/out/src/StoreSwitch.sol/StoreSwitch.json +2470 -2470
  99. package/out/src/WorldContext.sol/WorldContextConsumer.json +379 -379
  100. package/out/src/WorldContext.sol/WorldContextProvider.json +379 -379
  101. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +480 -480
  102. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +480 -480
  103. package/out/storeHookTypes.sol/storeHookTypes.json +202 -202
  104. package/out/storeResourceTypes.sol/storeResourceTypes.json +21 -21
  105. package/out/tables/ResourceIds.sol/ResourceIds.json +1762 -1762
  106. package/out/tables/Tables.sol/Tables.json +7304 -7304
  107. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3250 -3250
  108. package/out/types.sol/types.json +39 -39
  109. package/out/version.sol/version.json +12 -12
  110. package/out/world/src/IERC165.sol/IERC165.json +28 -28
  111. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  112. package/package.json +8 -8
@@ -165,20 +165,20 @@
165
165
  },
166
166
  "ast": {
167
167
  "absolutePath": "/home/runner/work/mud/mud/packages/world/src/codegen/interfaces/IBalanceTransferSystem.sol",
168
- "id": 23814,
168
+ "id": 23838,
169
169
  "exportedSymbols": {
170
170
  "IBalanceTransferSystem": [
171
- 23813
171
+ 23837
172
172
  ],
173
173
  "ResourceId": [
174
- 26238
174
+ 26262
175
175
  ]
176
176
  },
177
177
  "nodeType": "SourceUnit",
178
178
  "src": "32:409:43",
179
179
  "nodes": [
180
180
  {
181
- "id": 23789,
181
+ "id": 23813,
182
182
  "nodeType": "PragmaDirective",
183
183
  "src": "32:25:43",
184
184
  "nodes": [],
@@ -190,23 +190,23 @@
190
190
  ]
191
191
  },
192
192
  {
193
- "id": 23791,
193
+ "id": 23815,
194
194
  "nodeType": "ImportDirective",
195
195
  "src": "108:66:43",
196
196
  "nodes": [],
197
197
  "absolutePath": "node_modules/@latticexyz/store/src/ResourceId.sol",
198
198
  "file": "@latticexyz/store/src/ResourceId.sol",
199
199
  "nameLocation": "-1:-1:-1",
200
- "scope": 23814,
201
- "sourceUnit": 26303,
200
+ "scope": 23838,
201
+ "sourceUnit": 26327,
202
202
  "symbolAliases": [
203
203
  {
204
204
  "foreign": {
205
- "id": 23790,
205
+ "id": 23814,
206
206
  "name": "ResourceId",
207
207
  "nodeType": "Identifier",
208
208
  "overloadedDeclarations": [],
209
- "referencedDeclaration": 26238,
209
+ "referencedDeclaration": 26262,
210
210
  "src": "117:10:43",
211
211
  "typeDescriptions": {}
212
212
  },
@@ -216,12 +216,12 @@
216
216
  "unitAlias": ""
217
217
  },
218
218
  {
219
- "id": 23813,
219
+ "id": 23837,
220
220
  "nodeType": "ContractDefinition",
221
221
  "src": "176:264:43",
222
222
  "nodes": [
223
223
  {
224
- "id": 23802,
224
+ "id": 23826,
225
225
  "nodeType": "FunctionDefinition",
226
226
  "src": "213:115:43",
227
227
  "nodes": [],
@@ -232,41 +232,41 @@
232
232
  "name": "transferBalanceToNamespace",
233
233
  "nameLocation": "222:26:43",
234
234
  "parameters": {
235
- "id": 23800,
235
+ "id": 23824,
236
236
  "nodeType": "ParameterList",
237
237
  "parameters": [
238
238
  {
239
239
  "constant": false,
240
- "id": 23794,
240
+ "id": 23818,
241
241
  "mutability": "mutable",
242
242
  "name": "fromNamespaceId",
243
243
  "nameLocation": "260:15:43",
244
244
  "nodeType": "VariableDeclaration",
245
- "scope": 23802,
245
+ "scope": 23826,
246
246
  "src": "249:26:43",
247
247
  "stateVariable": false,
248
248
  "storageLocation": "default",
249
249
  "typeDescriptions": {
250
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
250
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
251
251
  "typeString": "ResourceId"
252
252
  },
253
253
  "typeName": {
254
- "id": 23793,
254
+ "id": 23817,
255
255
  "nodeType": "UserDefinedTypeName",
256
256
  "pathNode": {
257
- "id": 23792,
257
+ "id": 23816,
258
258
  "name": "ResourceId",
259
259
  "nameLocations": [
260
260
  "249:10:43"
261
261
  ],
262
262
  "nodeType": "IdentifierPath",
263
- "referencedDeclaration": 26238,
263
+ "referencedDeclaration": 26262,
264
264
  "src": "249:10:43"
265
265
  },
266
- "referencedDeclaration": 26238,
266
+ "referencedDeclaration": 26262,
267
267
  "src": "249:10:43",
268
268
  "typeDescriptions": {
269
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
269
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
270
270
  "typeString": "ResourceId"
271
271
  }
272
272
  },
@@ -274,36 +274,36 @@
274
274
  },
275
275
  {
276
276
  "constant": false,
277
- "id": 23797,
277
+ "id": 23821,
278
278
  "mutability": "mutable",
279
279
  "name": "toNamespaceId",
280
280
  "nameLocation": "288:13:43",
281
281
  "nodeType": "VariableDeclaration",
282
- "scope": 23802,
282
+ "scope": 23826,
283
283
  "src": "277:24:43",
284
284
  "stateVariable": false,
285
285
  "storageLocation": "default",
286
286
  "typeDescriptions": {
287
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
287
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
288
288
  "typeString": "ResourceId"
289
289
  },
290
290
  "typeName": {
291
- "id": 23796,
291
+ "id": 23820,
292
292
  "nodeType": "UserDefinedTypeName",
293
293
  "pathNode": {
294
- "id": 23795,
294
+ "id": 23819,
295
295
  "name": "ResourceId",
296
296
  "nameLocations": [
297
297
  "277:10:43"
298
298
  ],
299
299
  "nodeType": "IdentifierPath",
300
- "referencedDeclaration": 26238,
300
+ "referencedDeclaration": 26262,
301
301
  "src": "277:10:43"
302
302
  },
303
- "referencedDeclaration": 26238,
303
+ "referencedDeclaration": 26262,
304
304
  "src": "277:10:43",
305
305
  "typeDescriptions": {
306
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
306
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
307
307
  "typeString": "ResourceId"
308
308
  }
309
309
  },
@@ -311,12 +311,12 @@
311
311
  },
312
312
  {
313
313
  "constant": false,
314
- "id": 23799,
314
+ "id": 23823,
315
315
  "mutability": "mutable",
316
316
  "name": "amount",
317
317
  "nameLocation": "311:6:43",
318
318
  "nodeType": "VariableDeclaration",
319
- "scope": 23802,
319
+ "scope": 23826,
320
320
  "src": "303:14:43",
321
321
  "stateVariable": false,
322
322
  "storageLocation": "default",
@@ -325,7 +325,7 @@
325
325
  "typeString": "uint256"
326
326
  },
327
327
  "typeName": {
328
- "id": 23798,
328
+ "id": 23822,
329
329
  "name": "uint256",
330
330
  "nodeType": "ElementaryTypeName",
331
331
  "src": "303:7:43",
@@ -340,18 +340,18 @@
340
340
  "src": "248:70:43"
341
341
  },
342
342
  "returnParameters": {
343
- "id": 23801,
343
+ "id": 23825,
344
344
  "nodeType": "ParameterList",
345
345
  "parameters": [],
346
346
  "src": "327:0:43"
347
347
  },
348
- "scope": 23813,
348
+ "scope": 23837,
349
349
  "stateMutability": "nonpayable",
350
350
  "virtual": false,
351
351
  "visibility": "external"
352
352
  },
353
353
  {
354
- "id": 23812,
354
+ "id": 23836,
355
355
  "nodeType": "FunctionDefinition",
356
356
  "src": "332:106:43",
357
357
  "nodes": [],
@@ -362,41 +362,41 @@
362
362
  "name": "transferBalanceToAddress",
363
363
  "nameLocation": "341:24:43",
364
364
  "parameters": {
365
- "id": 23810,
365
+ "id": 23834,
366
366
  "nodeType": "ParameterList",
367
367
  "parameters": [
368
368
  {
369
369
  "constant": false,
370
- "id": 23805,
370
+ "id": 23829,
371
371
  "mutability": "mutable",
372
372
  "name": "fromNamespaceId",
373
373
  "nameLocation": "377:15:43",
374
374
  "nodeType": "VariableDeclaration",
375
- "scope": 23812,
375
+ "scope": 23836,
376
376
  "src": "366:26:43",
377
377
  "stateVariable": false,
378
378
  "storageLocation": "default",
379
379
  "typeDescriptions": {
380
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
380
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
381
381
  "typeString": "ResourceId"
382
382
  },
383
383
  "typeName": {
384
- "id": 23804,
384
+ "id": 23828,
385
385
  "nodeType": "UserDefinedTypeName",
386
386
  "pathNode": {
387
- "id": 23803,
387
+ "id": 23827,
388
388
  "name": "ResourceId",
389
389
  "nameLocations": [
390
390
  "366:10:43"
391
391
  ],
392
392
  "nodeType": "IdentifierPath",
393
- "referencedDeclaration": 26238,
393
+ "referencedDeclaration": 26262,
394
394
  "src": "366:10:43"
395
395
  },
396
- "referencedDeclaration": 26238,
396
+ "referencedDeclaration": 26262,
397
397
  "src": "366:10:43",
398
398
  "typeDescriptions": {
399
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26238",
399
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26262",
400
400
  "typeString": "ResourceId"
401
401
  }
402
402
  },
@@ -404,12 +404,12 @@
404
404
  },
405
405
  {
406
406
  "constant": false,
407
- "id": 23807,
407
+ "id": 23831,
408
408
  "mutability": "mutable",
409
409
  "name": "toAddress",
410
410
  "nameLocation": "402:9:43",
411
411
  "nodeType": "VariableDeclaration",
412
- "scope": 23812,
412
+ "scope": 23836,
413
413
  "src": "394:17:43",
414
414
  "stateVariable": false,
415
415
  "storageLocation": "default",
@@ -418,7 +418,7 @@
418
418
  "typeString": "address"
419
419
  },
420
420
  "typeName": {
421
- "id": 23806,
421
+ "id": 23830,
422
422
  "name": "address",
423
423
  "nodeType": "ElementaryTypeName",
424
424
  "src": "394:7:43",
@@ -432,12 +432,12 @@
432
432
  },
433
433
  {
434
434
  "constant": false,
435
- "id": 23809,
435
+ "id": 23833,
436
436
  "mutability": "mutable",
437
437
  "name": "amount",
438
438
  "nameLocation": "421:6:43",
439
439
  "nodeType": "VariableDeclaration",
440
- "scope": 23812,
440
+ "scope": 23836,
441
441
  "src": "413:14:43",
442
442
  "stateVariable": false,
443
443
  "storageLocation": "default",
@@ -446,7 +446,7 @@
446
446
  "typeString": "uint256"
447
447
  },
448
448
  "typeName": {
449
- "id": 23808,
449
+ "id": 23832,
450
450
  "name": "uint256",
451
451
  "nodeType": "ElementaryTypeName",
452
452
  "src": "413:7:43",
@@ -461,12 +461,12 @@
461
461
  "src": "365:63:43"
462
462
  },
463
463
  "returnParameters": {
464
- "id": 23811,
464
+ "id": 23835,
465
465
  "nodeType": "ParameterList",
466
466
  "parameters": [],
467
467
  "src": "437:0:43"
468
468
  },
469
- "scope": 23813,
469
+ "scope": 23837,
470
470
  "stateMutability": "nonpayable",
471
471
  "virtual": false,
472
472
  "visibility": "external"
@@ -479,11 +479,11 @@
479
479
  "contractKind": "interface",
480
480
  "fullyImplemented": false,
481
481
  "linearizedBaseContracts": [
482
- 23813
482
+ 23837
483
483
  ],
484
484
  "name": "IBalanceTransferSystem",
485
485
  "nameLocation": "186:22:43",
486
- "scope": 23814,
486
+ "scope": 23838,
487
487
  "usedErrors": [],
488
488
  "usedEvents": []
489
489
  }