@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
@@ -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": 23768,
168
+ "id": 23775,
169
169
  "exportedSymbols": {
170
170
  "IBalanceTransferSystem": [
171
- 23767
171
+ 23774
172
172
  ],
173
173
  "ResourceId": [
174
- 26191
174
+ 26198
175
175
  ]
176
176
  },
177
177
  "nodeType": "SourceUnit",
178
178
  "src": "32:409:43",
179
179
  "nodes": [
180
180
  {
181
- "id": 23743,
181
+ "id": 23750,
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": 23745,
193
+ "id": 23752,
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": 23768,
201
- "sourceUnit": 26256,
200
+ "scope": 23775,
201
+ "sourceUnit": 26263,
202
202
  "symbolAliases": [
203
203
  {
204
204
  "foreign": {
205
- "id": 23744,
205
+ "id": 23751,
206
206
  "name": "ResourceId",
207
207
  "nodeType": "Identifier",
208
208
  "overloadedDeclarations": [],
209
- "referencedDeclaration": 26191,
209
+ "referencedDeclaration": 26198,
210
210
  "src": "117:10:43",
211
211
  "typeDescriptions": {}
212
212
  },
@@ -216,12 +216,12 @@
216
216
  "unitAlias": ""
217
217
  },
218
218
  {
219
- "id": 23767,
219
+ "id": 23774,
220
220
  "nodeType": "ContractDefinition",
221
221
  "src": "176:264:43",
222
222
  "nodes": [
223
223
  {
224
- "id": 23756,
224
+ "id": 23763,
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": 23754,
235
+ "id": 23761,
236
236
  "nodeType": "ParameterList",
237
237
  "parameters": [
238
238
  {
239
239
  "constant": false,
240
- "id": 23748,
240
+ "id": 23755,
241
241
  "mutability": "mutable",
242
242
  "name": "fromNamespaceId",
243
243
  "nameLocation": "260:15:43",
244
244
  "nodeType": "VariableDeclaration",
245
- "scope": 23756,
245
+ "scope": 23763,
246
246
  "src": "249:26:43",
247
247
  "stateVariable": false,
248
248
  "storageLocation": "default",
249
249
  "typeDescriptions": {
250
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
250
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
251
251
  "typeString": "ResourceId"
252
252
  },
253
253
  "typeName": {
254
- "id": 23747,
254
+ "id": 23754,
255
255
  "nodeType": "UserDefinedTypeName",
256
256
  "pathNode": {
257
- "id": 23746,
257
+ "id": 23753,
258
258
  "name": "ResourceId",
259
259
  "nameLocations": [
260
260
  "249:10:43"
261
261
  ],
262
262
  "nodeType": "IdentifierPath",
263
- "referencedDeclaration": 26191,
263
+ "referencedDeclaration": 26198,
264
264
  "src": "249:10:43"
265
265
  },
266
- "referencedDeclaration": 26191,
266
+ "referencedDeclaration": 26198,
267
267
  "src": "249:10:43",
268
268
  "typeDescriptions": {
269
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
269
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
270
270
  "typeString": "ResourceId"
271
271
  }
272
272
  },
@@ -274,36 +274,36 @@
274
274
  },
275
275
  {
276
276
  "constant": false,
277
- "id": 23751,
277
+ "id": 23758,
278
278
  "mutability": "mutable",
279
279
  "name": "toNamespaceId",
280
280
  "nameLocation": "288:13:43",
281
281
  "nodeType": "VariableDeclaration",
282
- "scope": 23756,
282
+ "scope": 23763,
283
283
  "src": "277:24:43",
284
284
  "stateVariable": false,
285
285
  "storageLocation": "default",
286
286
  "typeDescriptions": {
287
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
287
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
288
288
  "typeString": "ResourceId"
289
289
  },
290
290
  "typeName": {
291
- "id": 23750,
291
+ "id": 23757,
292
292
  "nodeType": "UserDefinedTypeName",
293
293
  "pathNode": {
294
- "id": 23749,
294
+ "id": 23756,
295
295
  "name": "ResourceId",
296
296
  "nameLocations": [
297
297
  "277:10:43"
298
298
  ],
299
299
  "nodeType": "IdentifierPath",
300
- "referencedDeclaration": 26191,
300
+ "referencedDeclaration": 26198,
301
301
  "src": "277:10:43"
302
302
  },
303
- "referencedDeclaration": 26191,
303
+ "referencedDeclaration": 26198,
304
304
  "src": "277:10:43",
305
305
  "typeDescriptions": {
306
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
306
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
307
307
  "typeString": "ResourceId"
308
308
  }
309
309
  },
@@ -311,12 +311,12 @@
311
311
  },
312
312
  {
313
313
  "constant": false,
314
- "id": 23753,
314
+ "id": 23760,
315
315
  "mutability": "mutable",
316
316
  "name": "amount",
317
317
  "nameLocation": "311:6:43",
318
318
  "nodeType": "VariableDeclaration",
319
- "scope": 23756,
319
+ "scope": 23763,
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": 23752,
328
+ "id": 23759,
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": 23755,
343
+ "id": 23762,
344
344
  "nodeType": "ParameterList",
345
345
  "parameters": [],
346
346
  "src": "327:0:43"
347
347
  },
348
- "scope": 23767,
348
+ "scope": 23774,
349
349
  "stateMutability": "nonpayable",
350
350
  "virtual": false,
351
351
  "visibility": "external"
352
352
  },
353
353
  {
354
- "id": 23766,
354
+ "id": 23773,
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": 23764,
365
+ "id": 23771,
366
366
  "nodeType": "ParameterList",
367
367
  "parameters": [
368
368
  {
369
369
  "constant": false,
370
- "id": 23759,
370
+ "id": 23766,
371
371
  "mutability": "mutable",
372
372
  "name": "fromNamespaceId",
373
373
  "nameLocation": "377:15:43",
374
374
  "nodeType": "VariableDeclaration",
375
- "scope": 23766,
375
+ "scope": 23773,
376
376
  "src": "366:26:43",
377
377
  "stateVariable": false,
378
378
  "storageLocation": "default",
379
379
  "typeDescriptions": {
380
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
380
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
381
381
  "typeString": "ResourceId"
382
382
  },
383
383
  "typeName": {
384
- "id": 23758,
384
+ "id": 23765,
385
385
  "nodeType": "UserDefinedTypeName",
386
386
  "pathNode": {
387
- "id": 23757,
387
+ "id": 23764,
388
388
  "name": "ResourceId",
389
389
  "nameLocations": [
390
390
  "366:10:43"
391
391
  ],
392
392
  "nodeType": "IdentifierPath",
393
- "referencedDeclaration": 26191,
393
+ "referencedDeclaration": 26198,
394
394
  "src": "366:10:43"
395
395
  },
396
- "referencedDeclaration": 26191,
396
+ "referencedDeclaration": 26198,
397
397
  "src": "366:10:43",
398
398
  "typeDescriptions": {
399
- "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26191",
399
+ "typeIdentifier": "t_userDefinedValueType$_ResourceId_$26198",
400
400
  "typeString": "ResourceId"
401
401
  }
402
402
  },
@@ -404,12 +404,12 @@
404
404
  },
405
405
  {
406
406
  "constant": false,
407
- "id": 23761,
407
+ "id": 23768,
408
408
  "mutability": "mutable",
409
409
  "name": "toAddress",
410
410
  "nameLocation": "402:9:43",
411
411
  "nodeType": "VariableDeclaration",
412
- "scope": 23766,
412
+ "scope": 23773,
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": 23760,
421
+ "id": 23767,
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": 23763,
435
+ "id": 23770,
436
436
  "mutability": "mutable",
437
437
  "name": "amount",
438
438
  "nameLocation": "421:6:43",
439
439
  "nodeType": "VariableDeclaration",
440
- "scope": 23766,
440
+ "scope": 23773,
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": 23762,
449
+ "id": 23769,
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": 23765,
464
+ "id": 23772,
465
465
  "nodeType": "ParameterList",
466
466
  "parameters": [],
467
467
  "src": "437:0:43"
468
468
  },
469
- "scope": 23767,
469
+ "scope": 23774,
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
- 23767
482
+ 23774
483
483
  ],
484
484
  "name": "IBalanceTransferSystem",
485
485
  "nameLocation": "186:22:43",
486
- "scope": 23768,
486
+ "scope": 23775,
487
487
  "usedErrors": [],
488
488
  "usedEvents": []
489
489
  }