@latticexyz/world-modules 2.0.0-main-c07fa021 → 2.0.0-main-5741d53d

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 (104) hide show
  1. package/out/ArrayLib.sol/ArrayLib.json +255 -255
  2. package/out/Callbacks.sol/Callbacks.json +45 -45
  3. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +203 -203
  4. package/out/CallboundDelegations.sol/CallboundDelegations.json +2595 -2595
  5. package/out/DelegationControl.sol/DelegationControl.json +83 -83
  6. package/out/Hooks.sol/Hooks.json +45 -45
  7. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +14 -14
  8. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +15 -15
  9. package/out/IBaseWorld.sol/IBaseWorld.json +64 -64
  10. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  11. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  12. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  13. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  14. package/out/IDelegationControl.sol/IDelegationControl.json +60 -60
  15. package/out/IModule.sol/IModule.json +76 -76
  16. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  17. package/out/ISystemHook.sol/ISystemHook.json +82 -82
  18. package/out/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  19. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
  20. package/out/IWorldErrors.sol/IWorldErrors.json +136 -136
  21. package/out/IWorldKernel.sol/IWorldCall.json +149 -149
  22. package/out/IWorldKernel.sol/IWorldKernel.json +149 -149
  23. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +149 -149
  24. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +175 -175
  25. package/out/KeyEncoding.sol/KeyEncoding.json +80 -80
  26. package/out/KeysInTable.sol/KeysInTable.json +10668 -10668
  27. package/out/KeysInTableHook.sol/KeysInTableHook.json +862 -862
  28. package/out/KeysInTableModule.sol/KeysInTableModule.json +534 -534
  29. package/out/KeysWithValue.sol/KeysWithValue.json +3828 -3828
  30. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +996 -996
  31. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +423 -423
  32. package/out/Mixed.sol/Mixed.json +66 -66
  33. package/out/Module.sol/Module.json +73 -73
  34. package/out/ResourceIds.sol/ResourceIds.json +45 -45
  35. package/out/Schema.sol/SchemaInstance.json +30 -30
  36. package/out/Schema.sol/SchemaLib.json +30 -30
  37. package/out/SchemaType.sol/SchemaType.json +276 -276
  38. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +300 -300
  39. package/out/StoreHook.sol/StoreHook.json +358 -358
  40. package/out/StoreHooks.sol/StoreHooks.json +45 -45
  41. package/out/System.sol/System.json +18 -18
  42. package/out/Tables.sol/Tables.json +73 -73
  43. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +107 -107
  44. package/out/TimeboundDelegations.sol/TimeboundDelegations.json +1986 -1986
  45. package/out/UniqueEntity.sol/UniqueEntity.json +1402 -1402
  46. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +324 -324
  47. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +81 -81
  48. package/out/UsedKeysIndex.sol/UsedKeysIndex.json +2722 -2722
  49. package/out/Vector2.sol/Vector2.json +52 -52
  50. package/out/WorldContext.sol/WorldContextConsumer.json +28 -28
  51. package/out/WorldContext.sol/WorldContextProvider.json +28 -28
  52. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +103 -103
  53. package/out/WorldResourceId.sol/WorldResourceIdLib.json +103 -103
  54. package/out/constants.sol/constants.json +85 -85
  55. package/out/getKeysInTable.sol/getKeysInTable.json +564 -564
  56. package/out/getKeysWithValue.sol/getKeysWithValue.json +264 -264
  57. package/out/getTargetTableId.sol/getTargetTableId.json +163 -163
  58. package/out/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  59. package/out/hasKey.sol/hasKey.json +130 -130
  60. package/out/index.sol/index.json +53 -53
  61. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  62. package/out/interfaces/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  63. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +244 -171
  64. package/out/interfaces/IERC165.sol/IERC165.json +27 -27
  65. package/out/interfaces/IWorldKernel.sol/IWorldCall.json +151 -151
  66. package/out/interfaces/IWorldKernel.sol/IWorldKernel.json +151 -151
  67. package/out/interfaces/IWorldKernel.sol/IWorldModuleInstallation.json +151 -151
  68. package/out/query.sol/query.json +1154 -1154
  69. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  70. package/out/src/Bytes.sol/Bytes.json +1332 -1332
  71. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +697 -697
  72. package/out/src/FieldLayout.sol/FieldLayoutLib.json +697 -697
  73. package/out/src/IStore.sol/IStore.json +886 -886
  74. package/out/src/IStore.sol/IStoreData.json +886 -886
  75. package/out/src/IStore.sol/IStoreRead.json +886 -886
  76. package/out/src/IStore.sol/IStoreRegistration.json +886 -886
  77. package/out/src/IStore.sol/IStoreWrite.json +886 -886
  78. package/out/src/Memory.sol/Memory.json +89 -89
  79. package/out/src/PackedCounter.sol/PackedCounterInstance.json +923 -923
  80. package/out/src/PackedCounter.sol/PackedCounterLib.json +923 -923
  81. package/out/src/ResourceId.sol/ResourceIdInstance.json +112 -112
  82. package/out/src/ResourceId.sol/ResourceIdLib.json +112 -112
  83. package/out/src/Schema.sol/SchemaInstance.json +787 -787
  84. package/out/src/Schema.sol/SchemaLib.json +787 -787
  85. package/out/src/Slice.sol/SliceInstance.json +429 -429
  86. package/out/src/Slice.sol/SliceLib.json +429 -429
  87. package/out/src/StoreCore.sol/StoreCore.json +4461 -4461
  88. package/out/src/StoreCore.sol/StoreCoreInternal.json +4461 -4461
  89. package/out/src/StoreSwitch.sol/StoreSwitch.json +2454 -2454
  90. package/out/src/WorldContext.sol/WorldContextConsumer.json +353 -353
  91. package/out/src/WorldContext.sol/WorldContextProvider.json +353 -353
  92. package/out/src/WorldResourceId.sol/WorldResourceIdInstance.json +474 -474
  93. package/out/src/WorldResourceId.sol/WorldResourceIdLib.json +474 -474
  94. package/out/storeHookTypes.sol/storeHookTypes.json +115 -115
  95. package/out/storeResourceTypes.sol/storeResourceTypes.json +12 -12
  96. package/out/tables/ResourceIds.sol/ResourceIds.json +1746 -1746
  97. package/out/tables/Tables.sol/Tables.json +7288 -7288
  98. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +3246 -3246
  99. package/out/types.sol/types.json +131 -23
  100. package/out/worldResourceTypes.sol/worldResourceTypes.json +53 -53
  101. package/package.json +8 -8
  102. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  103. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  104. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
@@ -364,16 +364,16 @@
364
364
  32669
365
365
  ],
366
366
  "ERC165_INTERFACE_ID": [
367
- 33412
367
+ 33423
368
368
  ],
369
369
  "IWorldContextConsumer": [
370
- 33545
370
+ 33556
371
371
  ],
372
372
  "StoreSwitch": [
373
- 41001
373
+ 41020
374
374
  ],
375
375
  "WORLD_CONTEXT_CONSUMER_INTERFACE_ID": [
376
- 33527
376
+ 33538
377
377
  ],
378
378
  "WorldContextConsumer": [
379
379
  32724
@@ -382,7 +382,7 @@
382
382
  32873
383
383
  ],
384
384
  "revertWithBytes": [
385
- 33718
385
+ 33737
386
386
  ]
387
387
  },
388
388
  "nodeType": "SourceUnit",
@@ -409,7 +409,7 @@
409
409
  "file": "@latticexyz/store/src/StoreSwitch.sol",
410
410
  "nameLocation": "-1:-1:-1",
411
411
  "scope": 32874,
412
- "sourceUnit": 41002,
412
+ "sourceUnit": 41021,
413
413
  "symbolAliases": [
414
414
  {
415
415
  "foreign": {
@@ -417,7 +417,7 @@
417
417
  "name": "StoreSwitch",
418
418
  "nodeType": "Identifier",
419
419
  "overloadedDeclarations": [],
420
- "referencedDeclaration": 41001,
420
+ "referencedDeclaration": 41020,
421
421
  "src": "68:11:33",
422
422
  "typeDescriptions": {}
423
423
  },
@@ -435,7 +435,7 @@
435
435
  "file": "./revertWithBytes.sol",
436
436
  "nameLocation": "-1:-1:-1",
437
437
  "scope": 32874,
438
- "sourceUnit": 33719,
438
+ "sourceUnit": 33738,
439
439
  "symbolAliases": [
440
440
  {
441
441
  "foreign": {
@@ -443,7 +443,7 @@
443
443
  "name": "revertWithBytes",
444
444
  "nodeType": "Identifier",
445
445
  "overloadedDeclarations": [],
446
- "referencedDeclaration": 33718,
446
+ "referencedDeclaration": 33737,
447
447
  "src": "137:15:33",
448
448
  "typeDescriptions": {}
449
449
  },
@@ -461,7 +461,7 @@
461
461
  "file": "./interfaces/IERC165.sol",
462
462
  "nameLocation": "-1:-1:-1",
463
463
  "scope": 32874,
464
- "sourceUnit": 33422,
464
+ "sourceUnit": 33433,
465
465
  "symbolAliases": [
466
466
  {
467
467
  "foreign": {
@@ -469,7 +469,7 @@
469
469
  "name": "ERC165_INTERFACE_ID",
470
470
  "nodeType": "Identifier",
471
471
  "overloadedDeclarations": [],
472
- "referencedDeclaration": 33412,
472
+ "referencedDeclaration": 33423,
473
473
  "src": "194:19:33",
474
474
  "typeDescriptions": {}
475
475
  },
@@ -487,7 +487,7 @@
487
487
  "file": "./interfaces/IWorldContextConsumer.sol",
488
488
  "nameLocation": "-1:-1:-1",
489
489
  "scope": 32874,
490
- "sourceUnit": 33546,
490
+ "sourceUnit": 33557,
491
491
  "symbolAliases": [
492
492
  {
493
493
  "foreign": {
@@ -495,7 +495,7 @@
495
495
  "name": "IWorldContextConsumer",
496
496
  "nodeType": "Identifier",
497
497
  "overloadedDeclarations": [],
498
- "referencedDeclaration": 33545,
498
+ "referencedDeclaration": 33556,
499
499
  "src": "258:21:33",
500
500
  "typeDescriptions": {}
501
501
  },
@@ -507,7 +507,7 @@
507
507
  "name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
508
508
  "nodeType": "Identifier",
509
509
  "overloadedDeclarations": [],
510
- "referencedDeclaration": 33527,
510
+ "referencedDeclaration": 33538,
511
511
  "src": "281:35:33",
512
512
  "typeDescriptions": {}
513
513
  },
@@ -874,7 +874,7 @@
874
874
  ]
875
875
  },
876
876
  "baseFunctions": [
877
- 33534
877
+ 33545
878
878
  ],
879
879
  "functionSelector": "119df25f",
880
880
  "implemented": true,
@@ -1023,7 +1023,7 @@
1023
1023
  ]
1024
1024
  },
1025
1025
  "baseFunctions": [
1026
- 33539
1026
+ 33550
1027
1027
  ],
1028
1028
  "functionSelector": "45ec9354",
1029
1029
  "implemented": true,
@@ -1097,10 +1097,10 @@
1097
1097
  "name": "StoreSwitch",
1098
1098
  "nodeType": "Identifier",
1099
1099
  "overloadedDeclarations": [],
1100
- "referencedDeclaration": 41001,
1100
+ "referencedDeclaration": 41020,
1101
1101
  "src": "1525:11:33",
1102
1102
  "typeDescriptions": {
1103
- "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$41001_$",
1103
+ "typeIdentifier": "t_type$_t_contract$_StoreSwitch_$41020_$",
1104
1104
  "typeString": "type(library StoreSwitch)"
1105
1105
  }
1106
1106
  },
@@ -1112,7 +1112,7 @@
1112
1112
  "memberLocation": "1537:15:33",
1113
1113
  "memberName": "getStoreAddress",
1114
1114
  "nodeType": "MemberAccess",
1115
- "referencedDeclaration": 39771,
1115
+ "referencedDeclaration": 39790,
1116
1116
  "src": "1525:27:33",
1117
1117
  "typeDescriptions": {
1118
1118
  "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$",
@@ -1143,7 +1143,7 @@
1143
1143
  ]
1144
1144
  },
1145
1145
  "baseFunctions": [
1146
- 33544
1146
+ 33555
1147
1147
  ],
1148
1148
  "functionSelector": "e1af802c",
1149
1149
  "implemented": true,
@@ -1248,7 +1248,7 @@
1248
1248
  "name": "WORLD_CONTEXT_CONSUMER_INTERFACE_ID",
1249
1249
  "nodeType": "Identifier",
1250
1250
  "overloadedDeclarations": [],
1251
- "referencedDeclaration": 33527,
1251
+ "referencedDeclaration": 33538,
1252
1252
  "src": "1749:35:33",
1253
1253
  "typeDescriptions": {
1254
1254
  "typeIdentifier": "t_bytes4",
@@ -1292,7 +1292,7 @@
1292
1292
  "name": "ERC165_INTERFACE_ID",
1293
1293
  "nodeType": "Identifier",
1294
1294
  "overloadedDeclarations": [],
1295
- "referencedDeclaration": 33412,
1295
+ "referencedDeclaration": 33423,
1296
1296
  "src": "1803:19:33",
1297
1297
  "typeDescriptions": {
1298
1298
  "typeIdentifier": "t_bytes4",
@@ -1319,7 +1319,7 @@
1319
1319
  ]
1320
1320
  },
1321
1321
  "baseFunctions": [
1322
- 33420
1322
+ 33431
1323
1323
  ],
1324
1324
  "functionSelector": "01ffc9a7",
1325
1325
  "implemented": true,
@@ -1411,7 +1411,7 @@
1411
1411
  "706:21:33"
1412
1412
  ],
1413
1413
  "nodeType": "IdentifierPath",
1414
- "referencedDeclaration": 33545,
1414
+ "referencedDeclaration": 33556,
1415
1415
  "src": "706:21:33"
1416
1416
  },
1417
1417
  "id": 32671,
@@ -1425,8 +1425,8 @@
1425
1425
  "fullyImplemented": true,
1426
1426
  "linearizedBaseContracts": [
1427
1427
  32724,
1428
- 33545,
1429
- 33421
1428
+ 33556,
1429
+ 33432
1430
1430
  ],
1431
1431
  "name": "WorldContextConsumer",
1432
1432
  "nameLocation": "682:20:33",
@@ -2770,7 +2770,7 @@
2770
2770
  "name": "revertWithBytes",
2771
2771
  "nodeType": "Identifier",
2772
2772
  "overloadedDeclarations": [],
2773
- "referencedDeclaration": 33718,
2773
+ "referencedDeclaration": 33737,
2774
2774
  "src": "3206:15:33",
2775
2775
  "typeDescriptions": {
2776
2776
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",
@@ -3220,7 +3220,7 @@
3220
3220
  "name": "revertWithBytes",
3221
3221
  "nodeType": "Identifier",
3222
3222
  "overloadedDeclarations": [],
3223
- "referencedDeclaration": 33718,
3223
+ "referencedDeclaration": 33737,
3224
3224
  "src": "3625:15:33",
3225
3225
  "typeDescriptions": {
3226
3226
  "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$returns$__$",