@latticexyz/world 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 (105) hide show
  1. package/out/AccessControl.sol/AccessControl.json +24 -24
  2. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +166 -166
  3. package/out/AddressArray.sol/AddressArray.json +3094 -3094
  4. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +275 -275
  5. package/out/Balances.sol/Balances.json +1249 -1249
  6. package/out/{CallBatchSystem.sol/CallBatchSystem.abi.json → BatchCallSystem.sol/BatchCallSystem.abi.json} +37 -1
  7. package/out/{CallBatchSystem.sol/CallBatchSystem.abi.json.d.ts → BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts} +37 -1
  8. package/out/BatchCallSystem.sol/BatchCallSystem.json +3229 -0
  9. package/out/Bool.sol/Bool.json +1066 -1066
  10. package/out/CoreModule.sol/CoreModule.json +601 -585
  11. package/out/CoreSystem.sol/CoreSystem.abi.json +37 -1
  12. package/out/CoreSystem.sol/CoreSystem.abi.json.d.ts +37 -1
  13. package/out/CoreSystem.sol/CoreSystem.json +205 -129
  14. package/out/Create2.sol/Create2.json +27 -27
  15. package/out/Create2Factory.sol/Create2Factory.json +57 -57
  16. package/out/Delegation.sol/Delegation.json +10 -10
  17. package/out/DelegationControl.sol/DelegationControl.json +22 -22
  18. package/out/DelegationControlMock.sol/DelegationControlMock.json +80 -80
  19. package/out/FunctionSelectors.sol/FunctionSelectors.json +1788 -1788
  20. package/out/FunctionSignatures.sol/FunctionSignatures.json +895 -895
  21. package/out/IBaseWorld.sol/IBaseWorld.abi.json +51 -15
  22. package/out/IBaseWorld.sol/IBaseWorld.abi.json.d.ts +51 -15
  23. package/out/IBaseWorld.sol/IBaseWorld.json +172 -99
  24. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json +69 -0
  25. package/out/IBatchCallSystem.sol/IBatchCallSystem.abi.json.d.ts +70 -0
  26. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +534 -0
  27. package/out/ICoreSystem.sol/ICoreSystem.json +6 -6
  28. package/out/IDelegationControl.sol/IDelegationControl.json +53 -53
  29. package/out/IModule.sol/IModule.json +76 -76
  30. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +27 -27
  31. package/out/ISystemHook.sol/ISystemHook.json +70 -70
  32. package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +67 -67
  33. package/out/IWorldErrors.sol/IWorldErrors.json +117 -117
  34. package/out/IWorldFactory.sol/IWorldFactory.json +23 -23
  35. package/out/IWorldKernel.sol/IWorldCall.json +139 -139
  36. package/out/IWorldKernel.sol/IWorldKernel.json +139 -139
  37. package/out/IWorldKernel.sol/IWorldModuleInstallation.json +139 -139
  38. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +136 -136
  39. package/out/InstalledModules.sol/InstalledModules.json +1421 -1421
  40. package/out/Module.sol/Module.json +20 -20
  41. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +127 -127
  42. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1269 -1269
  43. package/out/NamespaceOwner.sol/NamespaceOwner.json +1249 -1249
  44. package/out/ResourceAccess.sol/ResourceAccess.json +1617 -1617
  45. package/out/StoreRead.sol/StoreRead.json +6 -6
  46. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +356 -356
  47. package/out/System.sol/System.json +2 -2
  48. package/out/SystemCall.sol/SystemCall.json +56 -56
  49. package/out/SystemHook.sol/SystemHook.json +14 -14
  50. package/out/SystemHooks.sol/SystemHooks.json +3101 -3101
  51. package/out/SystemRegistry.sol/SystemRegistry.json +1349 -1349
  52. package/out/Systems.sol/Systems.json +1831 -1831
  53. package/out/TwoFields.sol/TwoFields.json +1813 -1813
  54. package/out/UserDelegationControl.sol/UserDelegationControl.json +1684 -1684
  55. package/out/Utils.sol/Utils.json +6 -6
  56. package/out/World.sol/World.json +151 -151
  57. package/out/WorldContext.sol/WorldContextConsumer.json +22 -22
  58. package/out/WorldContext.sol/WorldContextProvider.json +22 -22
  59. package/out/WorldFactory.sol/WorldFactory.json +154 -154
  60. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1023 -1023
  61. package/out/WorldResourceId.sol/WorldResourceIdInstance.json +14 -14
  62. package/out/WorldResourceId.sol/WorldResourceIdLib.json +14 -14
  63. package/out/constants.sol/constants.json +45 -45
  64. package/out/index.sol/index.json +66 -66
  65. package/out/interfaces/IERC165.sol/IERC165.json +27 -27
  66. package/out/requireInterface.sol/requireInterface.json +75 -75
  67. package/out/revertWithBytes.sol/revertWithBytes.json +15 -15
  68. package/out/src/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  69. package/out/src/FieldLayout.sol/FieldLayoutLib.json +47 -47
  70. package/out/src/Hook.sol/HookInstance.json +9 -9
  71. package/out/src/Hook.sol/HookLib.json +9 -9
  72. package/out/src/IStore.sol/IStore.json +14 -14
  73. package/out/src/IStore.sol/IStoreData.json +14 -14
  74. package/out/src/IStore.sol/IStoreRead.json +14 -14
  75. package/out/src/IStore.sol/IStoreRegistration.json +14 -14
  76. package/out/src/IStore.sol/IStoreWrite.json +14 -14
  77. package/out/src/IStoreHook.sol/IStoreHook.json +8 -8
  78. package/out/src/Memory.sol/Memory.json +4 -4
  79. package/out/src/Schema.sol/SchemaInstance.json +42 -42
  80. package/out/src/Schema.sol/SchemaLib.json +42 -42
  81. package/out/src/Slice.sol/SliceInstance.json +4 -4
  82. package/out/src/Slice.sol/SliceLib.json +4 -4
  83. package/out/src/StoreCore.sol/StoreCore.json +165 -165
  84. package/out/src/StoreCore.sol/StoreCoreInternal.json +165 -165
  85. package/out/systemHookTypes.sol/systemHookTypes.json +25 -25
  86. package/out/tables/AddressArray.sol/AddressArray.json +3094 -3094
  87. package/out/tables/Bool.sol/Bool.json +1066 -1066
  88. package/out/tables/TwoFields.sol/TwoFields.json +1813 -1813
  89. package/out/tightcoder/EncodeArray.sol/EncodeArray.json +297 -297
  90. package/out/types.sol/types.json +124 -16
  91. package/out/version.sol/version.json +7 -7
  92. package/out/worldResourceTypes.sol/worldResourceTypes.json +48 -48
  93. package/package.json +7 -7
  94. package/src/codegen/interfaces/IBaseWorld.sol +2 -2
  95. package/src/codegen/interfaces/IBatchCallSystem.sol +12 -0
  96. package/src/modules/core/CoreModule.sol +5 -4
  97. package/src/modules/core/CoreSystem.sol +2 -2
  98. package/src/modules/core/implementations/BatchCallSystem.sol +44 -0
  99. package/src/modules/core/types.sol +6 -0
  100. package/out/CallBatchSystem.sol/CallBatchSystem.json +0 -1977
  101. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json +0 -33
  102. package/out/ICallBatchSystem.sol/ICallBatchSystem.abi.json.d.ts +0 -34
  103. package/out/ICallBatchSystem.sol/ICallBatchSystem.json +0 -334
  104. package/src/codegen/interfaces/ICallBatchSystem.sol +0 -10
  105. package/src/modules/core/implementations/CallBatchSystem.sol +0 -27
@@ -388,13 +388,13 @@
388
388
  43799
389
389
  ],
390
390
  "IWorldErrors": [
391
- 60432
391
+ 60443
392
392
  ],
393
393
  "NamespaceOwner": [
394
- 52223
394
+ 52234
395
395
  ],
396
396
  "ResourceAccess": [
397
- 53526
397
+ 53537
398
398
  ],
399
399
  "ResourceId": [
400
400
  35642
@@ -465,7 +465,7 @@
465
465
  "file": "./interfaces/IWorldErrors.sol",
466
466
  "nameLocation": "-1:-1:-1",
467
467
  "scope": 43800,
468
- "sourceUnit": 60433,
468
+ "sourceUnit": 60444,
469
469
  "symbolAliases": [
470
470
  {
471
471
  "foreign": {
@@ -473,7 +473,7 @@
473
473
  "name": "IWorldErrors",
474
474
  "nodeType": "Identifier",
475
475
  "overloadedDeclarations": [],
476
- "referencedDeclaration": 60432,
476
+ "referencedDeclaration": 60443,
477
477
  "src": "145:12:68",
478
478
  "typeDescriptions": {}
479
479
  },
@@ -491,7 +491,7 @@
491
491
  "file": "./codegen/tables/ResourceAccess.sol",
492
492
  "nameLocation": "-1:-1:-1",
493
493
  "scope": 43800,
494
- "sourceUnit": 53536,
494
+ "sourceUnit": 53547,
495
495
  "symbolAliases": [
496
496
  {
497
497
  "foreign": {
@@ -499,7 +499,7 @@
499
499
  "name": "ResourceAccess",
500
500
  "nodeType": "Identifier",
501
501
  "overloadedDeclarations": [],
502
- "referencedDeclaration": 53526,
502
+ "referencedDeclaration": 53537,
503
503
  "src": "208:14:68",
504
504
  "typeDescriptions": {}
505
505
  },
@@ -517,7 +517,7 @@
517
517
  "file": "./codegen/tables/NamespaceOwner.sol",
518
518
  "nameLocation": "-1:-1:-1",
519
519
  "scope": 43800,
520
- "sourceUnit": 52224,
520
+ "sourceUnit": 52235,
521
521
  "symbolAliases": [
522
522
  {
523
523
  "foreign": {
@@ -525,7 +525,7 @@
525
525
  "name": "NamespaceOwner",
526
526
  "nodeType": "Identifier",
527
527
  "overloadedDeclarations": [],
528
- "referencedDeclaration": 52223,
528
+ "referencedDeclaration": 52234,
529
529
  "src": "278:14:68",
530
530
  "typeDescriptions": {}
531
531
  },
@@ -676,10 +676,10 @@
676
676
  "name": "ResourceAccess",
677
677
  "nodeType": "Identifier",
678
678
  "overloadedDeclarations": [],
679
- "referencedDeclaration": 53526,
679
+ "referencedDeclaration": 53537,
680
680
  "src": "736:14:68",
681
681
  "typeDescriptions": {
682
- "typeIdentifier": "t_type$_t_contract$_ResourceAccess_$53526_$",
682
+ "typeIdentifier": "t_type$_t_contract$_ResourceAccess_$53537_$",
683
683
  "typeString": "type(library ResourceAccess)"
684
684
  }
685
685
  },
@@ -691,7 +691,7 @@
691
691
  "memberLocation": "751:4:68",
692
692
  "memberName": "_get",
693
693
  "nodeType": "MemberAccess",
694
- "referencedDeclaration": 52826,
694
+ "referencedDeclaration": 52837,
695
695
  "src": "736:19:68",
696
696
  "typeDescriptions": {
697
697
  "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$35642_$_t_address_$returns$_t_bool_$",
@@ -759,10 +759,10 @@
759
759
  "name": "ResourceAccess",
760
760
  "nodeType": "Identifier",
761
761
  "overloadedDeclarations": [],
762
- "referencedDeclaration": 53526,
762
+ "referencedDeclaration": 53537,
763
763
  "src": "796:14:68",
764
764
  "typeDescriptions": {
765
- "typeIdentifier": "t_type$_t_contract$_ResourceAccess_$53526_$",
765
+ "typeIdentifier": "t_type$_t_contract$_ResourceAccess_$53537_$",
766
766
  "typeString": "type(library ResourceAccess)"
767
767
  }
768
768
  },
@@ -774,7 +774,7 @@
774
774
  "memberLocation": "811:4:68",
775
775
  "memberName": "_get",
776
776
  "nodeType": "MemberAccess",
777
- "referencedDeclaration": 52826,
777
+ "referencedDeclaration": 52837,
778
778
  "src": "796:19:68",
779
779
  "typeDescriptions": {
780
780
  "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$35642_$_t_address_$returns$_t_bool_$",
@@ -1111,10 +1111,10 @@
1111
1111
  "name": "IWorldErrors",
1112
1112
  "nodeType": "Identifier",
1113
1113
  "overloadedDeclarations": [],
1114
- "referencedDeclaration": 60432,
1114
+ "referencedDeclaration": 60443,
1115
1115
  "src": "1188:12:68",
1116
1116
  "typeDescriptions": {
1117
- "typeIdentifier": "t_type$_t_contract$_IWorldErrors_$60432_$",
1117
+ "typeIdentifier": "t_type$_t_contract$_IWorldErrors_$60443_$",
1118
1118
  "typeString": "type(contract IWorldErrors)"
1119
1119
  }
1120
1120
  },
@@ -1126,7 +1126,7 @@
1126
1126
  "memberLocation": "1201:18:68",
1127
1127
  "memberName": "World_AccessDenied",
1128
1128
  "nodeType": "MemberAccess",
1129
- "referencedDeclaration": 60379,
1129
+ "referencedDeclaration": 60390,
1130
1130
  "src": "1188:31:68",
1131
1131
  "typeDescriptions": {
1132
1132
  "typeIdentifier": "t_function_error_pure$_t_string_memory_ptr_$_t_address_$returns$__$",
@@ -1336,10 +1336,10 @@
1336
1336
  "name": "NamespaceOwner",
1337
1337
  "nodeType": "Identifier",
1338
1338
  "overloadedDeclarations": [],
1339
- "referencedDeclaration": 52223,
1339
+ "referencedDeclaration": 52234,
1340
1340
  "src": "1487:14:68",
1341
1341
  "typeDescriptions": {
1342
- "typeIdentifier": "t_type$_t_contract$_NamespaceOwner_$52223_$",
1342
+ "typeIdentifier": "t_type$_t_contract$_NamespaceOwner_$52234_$",
1343
1343
  "typeString": "type(library NamespaceOwner)"
1344
1344
  }
1345
1345
  },
@@ -1351,7 +1351,7 @@
1351
1351
  "memberLocation": "1502:4:68",
1352
1352
  "memberName": "_get",
1353
1353
  "nodeType": "MemberAccess",
1354
- "referencedDeclaration": 51712,
1354
+ "referencedDeclaration": 51723,
1355
1355
  "src": "1487:19:68",
1356
1356
  "typeDescriptions": {
1357
1357
  "typeIdentifier": "t_function_internal_view$_t_userDefinedValueType$_ResourceId_$35642_$returns$_t_address_$",
@@ -1481,10 +1481,10 @@
1481
1481
  "name": "IWorldErrors",
1482
1482
  "nodeType": "Identifier",
1483
1483
  "overloadedDeclarations": [],
1484
- "referencedDeclaration": 60432,
1484
+ "referencedDeclaration": 60443,
1485
1485
  "src": "1562:12:68",
1486
1486
  "typeDescriptions": {
1487
- "typeIdentifier": "t_type$_t_contract$_IWorldErrors_$60432_$",
1487
+ "typeIdentifier": "t_type$_t_contract$_IWorldErrors_$60443_$",
1488
1488
  "typeString": "type(contract IWorldErrors)"
1489
1489
  }
1490
1490
  },
@@ -1496,7 +1496,7 @@
1496
1496
  "memberLocation": "1575:18:68",
1497
1497
  "memberName": "World_AccessDenied",
1498
1498
  "nodeType": "MemberAccess",
1499
- "referencedDeclaration": 60379,
1499
+ "referencedDeclaration": 60390,
1500
1500
  "src": "1562:31:68",
1501
1501
  "typeDescriptions": {
1502
1502
  "typeIdentifier": "t_function_error_pure$_t_string_memory_ptr_$_t_address_$returns$__$",