@latticexyz/world 2.0.0-main-efd53d0e → 2.0.0-main-64014e49

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/abi/AccessControl.sol/AccessControl.json +24 -24
  2. package/abi/AccessManagementSystem.sol/AccessManagementSystem.json +277 -277
  3. package/abi/AddressArray.sol/AddressArray.json +2378 -2378
  4. package/abi/ArrayLib.sol/ArrayLib.json +464 -464
  5. package/abi/BalanceTransferSystem.sol/BalanceTransferSystem.json +388 -388
  6. package/abi/Balances.sol/Balances.json +1243 -1243
  7. package/abi/Bool.sol/Bool.json +1079 -1079
  8. package/abi/CallboundDelegationControl.sol/CallboundDelegationControl.json +281 -281
  9. package/abi/CallboundDelegations.sol/CallboundDelegations.json +1957 -1957
  10. package/abi/CoreModule.sol/CoreModule.json +815 -815
  11. package/abi/CoreSystem.sol/CoreSystem.json +132 -132
  12. package/abi/Create2.sol/Create2.abi.json +1 -0
  13. package/abi/Create2.sol/Create2.json +424 -0
  14. package/abi/Create2Factory.sol/Create2Factory.abi.json +39 -0
  15. package/abi/Create2Factory.sol/Create2Factory.abi.json.d.ts +40 -0
  16. package/abi/Create2Factory.sol/Create2Factory.json +592 -0
  17. package/abi/Delegation.sol/DelegationInstance.json +6 -6
  18. package/abi/DelegationControl.sol/DelegationControl.json +22 -22
  19. package/abi/Delegations.sol/Delegations.json +1609 -1609
  20. package/abi/EphemeralRecordSystem.sol/EphemeralRecordSystem.json +144 -144
  21. package/abi/FunctionSelectors.sol/FunctionSelectors.json +2241 -2241
  22. package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.json +71 -71
  23. package/abi/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +63 -63
  24. package/abi/IBaseWorld.sol/IBaseWorld.json +130 -130
  25. package/abi/ICoreSystem.sol/ICoreSystem.json +11 -11
  26. package/abi/IDelegationControl.sol/IDelegationControl.json +82 -82
  27. package/abi/IModule.sol/IModule.json +144 -144
  28. package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +45 -45
  29. package/abi/ISystemHook.sol/ISystemHook.json +113 -113
  30. package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +25 -25
  31. package/abi/IWorldContextConsumer.sol/IWorldContextConsumer.json +111 -111
  32. package/abi/IWorldErrors.sol/IWorldErrors.json +167 -167
  33. package/abi/IWorldFactory.sol/IWorldFactory.abi.json +35 -0
  34. package/abi/IWorldFactory.sol/IWorldFactory.abi.json.d.ts +36 -0
  35. package/abi/IWorldFactory.sol/IWorldFactory.json +311 -0
  36. package/abi/IWorldKernel.sol/IWorldCall.json +163 -163
  37. package/abi/IWorldKernel.sol/IWorldKernel.json +163 -163
  38. package/abi/IWorldKernel.sol/IWorldModuleInstallation.json +163 -163
  39. package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +213 -213
  40. package/abi/InstalledModules.sol/InstalledModules.json +2139 -2139
  41. package/abi/KeysInTable.sol/KeysInTable.json +9569 -9569
  42. package/abi/KeysInTableHook.sol/KeysInTableHook.json +1212 -1212
  43. package/abi/KeysInTableModule.sol/KeysInTableModule.json +719 -719
  44. package/abi/KeysWithValue.sol/KeysWithValue.json +2366 -2366
  45. package/abi/KeysWithValueHook.sol/KeysWithValueHook.json +801 -801
  46. package/abi/KeysWithValueModule.sol/KeysWithValueModule.json +401 -401
  47. package/abi/Module.sol/Module.json +21 -21
  48. package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +206 -206
  49. package/abi/NamespaceOwner.sol/NamespaceOwner.json +1243 -1243
  50. package/abi/ResourceAccess.sol/ResourceAccess.json +1538 -1538
  51. package/abi/ResourceType.sol/ResourceType.json +1228 -1228
  52. package/abi/StandardDelegationsModule.sol/StandardDelegationsModule.json +416 -416
  53. package/abi/StoreRead.sol/StoreRead.json +9 -9
  54. package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +613 -613
  55. package/abi/System.sol/System.json +3 -3
  56. package/abi/SystemCall.sol/SystemCall.json +45 -45
  57. package/abi/SystemHook.sol/SystemHook.json +20 -20
  58. package/abi/SystemHook.sol/SystemHookLib.json +20 -20
  59. package/abi/SystemHooks.sol/SystemHooks.json +2303 -2303
  60. package/abi/SystemRegistry.sol/SystemRegistry.json +1315 -1315
  61. package/abi/Systems.sol/Systems.json +2235 -2235
  62. package/abi/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +150 -150
  63. package/abi/TimeboundDelegations.sol/TimeboundDelegations.json +1621 -1621
  64. package/abi/UniqueEntity.sol/UniqueEntity.json +1036 -1036
  65. package/abi/UniqueEntityModule.sol/UniqueEntityModule.json +287 -287
  66. package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.json +142 -142
  67. package/abi/UsedKeysIndex.sol/UsedKeysIndex.json +2563 -2563
  68. package/abi/Utils.sol/Utils.json +5 -5
  69. package/abi/World.sol/World.json +111 -111
  70. package/abi/WorldContext.sol/WorldContextConsumer.json +22 -22
  71. package/abi/WorldContext.sol/WorldContextProvider.json +22 -22
  72. package/abi/WorldFactory.sol/WorldFactory.abi.json +59 -0
  73. package/abi/WorldFactory.sol/WorldFactory.abi.json.d.ts +60 -0
  74. package/abi/WorldFactory.sol/WorldFactory.json +1779 -0
  75. package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1437 -1437
  76. package/abi/constants.sol/constants.json +65 -65
  77. package/abi/getKeysInTable.sol/getKeysInTable.json +789 -789
  78. package/abi/getKeysWithValue.sol/getKeysWithValue.json +203 -203
  79. package/abi/getTargetTableSelector.sol/getTargetTableSelector.json +128 -128
  80. package/abi/getUniqueEntity.sol/getUniqueEntity.json +135 -135
  81. package/abi/hasKey.sol/hasKey.json +173 -173
  82. package/abi/interfaces/IERC165.sol/IERC165.json +48 -48
  83. package/abi/query.sol/query.json +1579 -1579
  84. package/abi/requireInterface.sol/requireInterface.json +125 -125
  85. package/abi/revertWithBytes.sol/revertWithBytes.json +41 -41
  86. package/abi/src/FieldLayout.sol/FieldLayoutInstance.json +47 -47
  87. package/abi/src/FieldLayout.sol/FieldLayoutLib.json +47 -47
  88. package/abi/src/Hook.sol/HookInstance.json +9 -9
  89. package/abi/src/Hook.sol/HookLib.json +9 -9
  90. package/abi/src/IStore.sol/IStore.json +14 -14
  91. package/abi/src/IStore.sol/IStoreData.json +14 -14
  92. package/abi/src/IStore.sol/IStoreEphemeral.json +14 -14
  93. package/abi/src/IStore.sol/IStoreRead.json +14 -14
  94. package/abi/src/IStore.sol/IStoreRegistration.json +14 -14
  95. package/abi/src/IStore.sol/IStoreWrite.json +14 -14
  96. package/abi/src/IStoreHook.sol/IStoreHook.json +8 -8
  97. package/abi/src/Memory.sol/Memory.json +4 -4
  98. package/abi/src/Schema.sol/SchemaInstance.json +42 -42
  99. package/abi/src/Schema.sol/SchemaLib.json +42 -42
  100. package/abi/src/Slice.sol/SliceInstance.json +4 -4
  101. package/abi/src/Slice.sol/SliceLib.json +4 -4
  102. package/abi/src/StoreCore.sol/StoreCore.json +158 -158
  103. package/abi/src/StoreCore.sol/StoreCoreInternal.json +158 -158
  104. package/abi/src/StoreHook.sol/StoreHook.json +6 -6
  105. package/abi/src/StoreHook.sol/StoreHookLib.json +6 -6
  106. package/abi/src/Tables.sol/Tables.json +86 -86
  107. package/abi/tightcoder/EncodeArray.sol/EncodeArray.json +297 -297
  108. package/package.json +7 -7
  109. package/src/factories/Create2.sol +25 -0
  110. package/src/factories/Create2Factory.sol +19 -0
  111. package/src/factories/IWorldFactory.sol +10 -0
  112. package/src/factories/WorldFactory.sol +34 -0
@@ -349,13 +349,13 @@
349
349
  31736
350
350
  ],
351
351
  "IWorldErrors": [
352
- 33727
352
+ 33874
353
353
  ],
354
354
  "NamespaceOwner": [
355
- 53432
355
+ 53579
356
356
  ],
357
357
  "ResourceAccess": [
358
- 54091
358
+ 54238
359
359
  ],
360
360
  "ResourceSelector": [
361
361
  32118
@@ -411,7 +411,7 @@
411
411
  "file": "./interfaces/IWorldErrors.sol",
412
412
  "nameLocation": "-1:-1:-1",
413
413
  "scope": 31737,
414
- "sourceUnit": 33728,
414
+ "sourceUnit": 33875,
415
415
  "symbolAliases": [
416
416
  {
417
417
  "foreign": {
@@ -419,7 +419,7 @@
419
419
  "name": "IWorldErrors",
420
420
  "nodeType": "Identifier",
421
421
  "overloadedDeclarations": [],
422
- "referencedDeclaration": 33727,
422
+ "referencedDeclaration": 33874,
423
423
  "src": "126:12:60",
424
424
  "typeDescriptions": {}
425
425
  },
@@ -437,7 +437,7 @@
437
437
  "file": "./tables/ResourceAccess.sol",
438
438
  "nameLocation": "-1:-1:-1",
439
439
  "scope": 31737,
440
- "sourceUnit": 54101,
440
+ "sourceUnit": 54248,
441
441
  "symbolAliases": [
442
442
  {
443
443
  "foreign": {
@@ -445,7 +445,7 @@
445
445
  "name": "ResourceAccess",
446
446
  "nodeType": "Identifier",
447
447
  "overloadedDeclarations": [],
448
- "referencedDeclaration": 54091,
448
+ "referencedDeclaration": 54238,
449
449
  "src": "189:14:60",
450
450
  "typeDescriptions": {}
451
451
  },
@@ -463,7 +463,7 @@
463
463
  "file": "./tables/NamespaceOwner.sol",
464
464
  "nameLocation": "-1:-1:-1",
465
465
  "scope": 31737,
466
- "sourceUnit": 53433,
466
+ "sourceUnit": 53580,
467
467
  "symbolAliases": [
468
468
  {
469
469
  "foreign": {
@@ -471,7 +471,7 @@
471
471
  "name": "NamespaceOwner",
472
472
  "nodeType": "Identifier",
473
473
  "overloadedDeclarations": [],
474
- "referencedDeclaration": 53432,
474
+ "referencedDeclaration": 53579,
475
475
  "src": "251:14:60",
476
476
  "typeDescriptions": {}
477
477
  },
@@ -705,10 +705,10 @@
705
705
  "name": "ResourceAccess",
706
706
  "nodeType": "Identifier",
707
707
  "overloadedDeclarations": [],
708
- "referencedDeclaration": 54091,
708
+ "referencedDeclaration": 54238,
709
709
  "src": "656:14:60",
710
710
  "typeDescriptions": {
711
- "typeIdentifier": "t_type$_t_contract$_ResourceAccess_$54091_$",
711
+ "typeIdentifier": "t_type$_t_contract$_ResourceAccess_$54238_$",
712
712
  "typeString": "type(library ResourceAccess)"
713
713
  }
714
714
  },
@@ -719,7 +719,7 @@
719
719
  "lValueRequested": false,
720
720
  "memberName": "get",
721
721
  "nodeType": "MemberAccess",
722
- "referencedDeclaration": 53741,
722
+ "referencedDeclaration": 53888,
723
723
  "src": "656:18:60",
724
724
  "typeDescriptions": {
725
725
  "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$",
@@ -792,10 +792,10 @@
792
792
  "name": "ResourceAccess",
793
793
  "nodeType": "Identifier",
794
794
  "overloadedDeclarations": [],
795
- "referencedDeclaration": 54091,
795
+ "referencedDeclaration": 54238,
796
796
  "src": "769:14:60",
797
797
  "typeDescriptions": {
798
- "typeIdentifier": "t_type$_t_contract$_ResourceAccess_$54091_$",
798
+ "typeIdentifier": "t_type$_t_contract$_ResourceAccess_$54238_$",
799
799
  "typeString": "type(library ResourceAccess)"
800
800
  }
801
801
  },
@@ -806,7 +806,7 @@
806
806
  "lValueRequested": false,
807
807
  "memberName": "get",
808
808
  "nodeType": "MemberAccess",
809
- "referencedDeclaration": 53741,
809
+ "referencedDeclaration": 53888,
810
810
  "src": "769:18:60",
811
811
  "typeDescriptions": {
812
812
  "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$",
@@ -1129,10 +1129,10 @@
1129
1129
  "name": "IWorldErrors",
1130
1130
  "nodeType": "Identifier",
1131
1131
  "overloadedDeclarations": [],
1132
- "referencedDeclaration": 33727,
1132
+ "referencedDeclaration": 33874,
1133
1133
  "src": "1228:12:60",
1134
1134
  "typeDescriptions": {
1135
- "typeIdentifier": "t_type$_t_contract$_IWorldErrors_$33727_$",
1135
+ "typeIdentifier": "t_type$_t_contract$_IWorldErrors_$33874_$",
1136
1136
  "typeString": "type(contract IWorldErrors)"
1137
1137
  }
1138
1138
  },
@@ -1143,7 +1143,7 @@
1143
1143
  "lValueRequested": false,
1144
1144
  "memberName": "AccessDenied",
1145
1145
  "nodeType": "MemberAccess",
1146
- "referencedDeclaration": 33688,
1146
+ "referencedDeclaration": 33835,
1147
1147
  "src": "1228:25:60",
1148
1148
  "typeDescriptions": {
1149
1149
  "typeIdentifier": "t_function_error_pure$_t_string_memory_ptr_$_t_address_$returns$__$",
@@ -1340,10 +1340,10 @@
1340
1340
  "name": "NamespaceOwner",
1341
1341
  "nodeType": "Identifier",
1342
1342
  "overloadedDeclarations": [],
1343
- "referencedDeclaration": 53432,
1343
+ "referencedDeclaration": 53579,
1344
1344
  "src": "1530:14:60",
1345
1345
  "typeDescriptions": {
1346
- "typeIdentifier": "t_type$_t_contract$_NamespaceOwner_$53432_$",
1346
+ "typeIdentifier": "t_type$_t_contract$_NamespaceOwner_$53579_$",
1347
1347
  "typeString": "type(library NamespaceOwner)"
1348
1348
  }
1349
1349
  },
@@ -1354,7 +1354,7 @@
1354
1354
  "lValueRequested": false,
1355
1355
  "memberName": "get",
1356
1356
  "nodeType": "MemberAccess",
1357
- "referencedDeclaration": 53168,
1357
+ "referencedDeclaration": 53315,
1358
1358
  "src": "1530:18:60",
1359
1359
  "typeDescriptions": {
1360
1360
  "typeIdentifier": "t_function_internal_view$_t_bytes16_$returns$_t_address_$",
@@ -1481,10 +1481,10 @@
1481
1481
  "name": "IWorldErrors",
1482
1482
  "nodeType": "Identifier",
1483
1483
  "overloadedDeclarations": [],
1484
- "referencedDeclaration": 33727,
1484
+ "referencedDeclaration": 33874,
1485
1485
  "src": "1608:12:60",
1486
1486
  "typeDescriptions": {
1487
- "typeIdentifier": "t_type$_t_contract$_IWorldErrors_$33727_$",
1487
+ "typeIdentifier": "t_type$_t_contract$_IWorldErrors_$33874_$",
1488
1488
  "typeString": "type(contract IWorldErrors)"
1489
1489
  }
1490
1490
  },
@@ -1495,7 +1495,7 @@
1495
1495
  "lValueRequested": false,
1496
1496
  "memberName": "AccessDenied",
1497
1497
  "nodeType": "MemberAccess",
1498
- "referencedDeclaration": 33688,
1498
+ "referencedDeclaration": 33835,
1499
1499
  "src": "1608:25:60",
1500
1500
  "typeDescriptions": {
1501
1501
  "typeIdentifier": "t_function_error_pure$_t_string_memory_ptr_$_t_address_$returns$__$",