@latticexyz/world 2.0.0-alpha.1.21 → 2.0.0-alpha.1.22

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 (133) hide show
  1. package/abi/AccessControl.sol/AccessControl.json +241 -241
  2. package/abi/AccessManagementSystem.sol/AccessManagementSystem.json +157 -157
  3. package/abi/AddressArray.sol/AddressArray.json +1124 -1124
  4. package/abi/ArrayLib.sol/ArrayLib.json +139 -139
  5. package/abi/Bool.sol/Bool.json +704 -704
  6. package/abi/Bytes.sol/Bytes.json +6 -6
  7. package/abi/Call.sol/Call.json +112 -112
  8. package/abi/Callbacks.sol/Callbacks.json +1100 -1100
  9. package/abi/CoreModule.sol/CoreModule.json +542 -542
  10. package/abi/CoreSystem.sol/CoreSystem.json +92 -92
  11. package/abi/DecodeSlice.sol/DecodeSlice.json +3891 -3891
  12. package/abi/EncodeArray.sol/EncodeArray.json +3344 -3344
  13. package/abi/FunctionSelectors.sol/FunctionSelectors.json +1678 -1678
  14. package/abi/Hooks.sol/Hooks.json +1100 -1100
  15. package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.json +32 -32
  16. package/abi/IBaseWorld.sol/IBaseWorld.json +224 -99
  17. package/abi/ICoreSystem.sol/ICoreSystem.json +6 -6
  18. package/abi/IModule.sol/IModule.json +28 -28
  19. package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +40 -40
  20. package/abi/IStore.sol/IStore.json +551 -349
  21. package/abi/IStore.sol/IStoreData.json +551 -349
  22. package/abi/IStore.sol/IStoreHook.json +495 -349
  23. package/abi/IStore.sol/IStoreRead.json +495 -349
  24. package/abi/IStore.sol/IStoreRegistration.json +495 -349
  25. package/abi/IStore.sol/IStoreWrite.json +551 -349
  26. package/abi/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +80 -80
  27. package/abi/ISystemHook.sol/ISystemHook.json +19 -19
  28. package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
  29. package/abi/IWorldKernel.sol/IWorldCall.json +455 -276
  30. package/abi/IWorldKernel.sol/IWorldData.json +524 -276
  31. package/abi/IWorldKernel.sol/IWorldKernel.json +524 -276
  32. package/abi/IWorldKernel.sol/IWorldModuleInstallation.json +455 -276
  33. package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
  34. package/abi/InstalledModules.sol/InstalledModules.json +1351 -1351
  35. package/abi/KeysWithValue.sol/KeysWithValue.json +1124 -1124
  36. package/abi/KeysWithValueHook.sol/KeysWithValueHook.json +416 -416
  37. package/abi/KeysWithValueModule.sol/KeysWithValueModule.json +293 -293
  38. package/abi/Memory.sol/Memory.json +131 -131
  39. package/abi/Mixed.sol/Mixed.json +2781 -2781
  40. package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +138 -138
  41. package/abi/NamespaceOwner.sol/NamespaceOwner.json +782 -782
  42. package/abi/PackedCounter.sol/PackedCounterLib.json +665 -665
  43. package/abi/ResourceAccess.sol/ResourceAccess.json +926 -926
  44. package/abi/ResourceSelector.sol/ResourceSelector.json +253 -253
  45. package/abi/ResourceType.sol/ResourceType.json +831 -831
  46. package/abi/Schema.sol/SchemaLib.json +1469 -1469
  47. package/abi/SchemaType.sol/SchemaType.json +315 -315
  48. package/abi/Slice.sol/SliceInstance.json +429 -429
  49. package/abi/Slice.sol/SliceLib.json +429 -429
  50. package/abi/Storage.sol/Storage.json +1024 -1061
  51. package/abi/StoreCore.sol/StoreCore.json +10434 -7652
  52. package/abi/StoreCore.sol/StoreCoreExtended.json +10434 -7652
  53. package/abi/StoreCore.sol/StoreCoreInternal.json +10434 -7652
  54. package/abi/StoreMetadata.sol/StoreMetadata.json +2116 -2116
  55. package/abi/StoreRead.sol/StoreRead.json +247 -247
  56. package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +339 -339
  57. package/abi/StoreSwitch.sol/StoreSwitch.json +1814 -1359
  58. package/abi/System.sol/System.json +31 -31
  59. package/abi/SystemRegistry.sol/SystemRegistry.json +794 -794
  60. package/abi/Systems.sol/Systems.json +1412 -1412
  61. package/abi/TableId.sol/TableId.json +27 -27
  62. package/abi/Tables.sol/Tables.json +92 -92
  63. package/abi/TightCoder.sol/TightCoder.json +275 -275
  64. package/abi/Types.sol/Types.json +8 -8
  65. package/abi/UniqueEntity.sol/UniqueEntity.json +683 -683
  66. package/abi/UniqueEntityModule.sol/UniqueEntityModule.json +232 -232
  67. package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
  68. package/abi/Utils.sol/Utils.json +67 -67
  69. package/abi/Vector2.sol/Vector2.json +1473 -1473
  70. package/abi/World.sol/World.json +2426 -1491
  71. package/abi/WorldContext.sol/WorldContext.json +65 -65
  72. package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1140 -1140
  73. package/abi/console.sol/console.json +11417 -11417
  74. package/abi/constants.sol/constants.json +34 -34
  75. package/abi/getKeysWithValue.sol/getKeysWithValue.json +129 -129
  76. package/abi/getTargetTableSelector.sol/getTargetTableSelector.json +75 -75
  77. package/abi/getUniqueEntity.sol/getUniqueEntity.json +88 -88
  78. package/abi/interfaces/IErrors.sol/IErrors.json +57 -57
  79. package/abi/src/Bytes.sol/Bytes.json +1225 -1225
  80. package/abi/src/IStore.sol/IStore.json +727 -525
  81. package/abi/src/IStore.sol/IStoreData.json +727 -525
  82. package/abi/src/IStore.sol/IStoreHook.json +671 -525
  83. package/abi/src/IStore.sol/IStoreRead.json +671 -525
  84. package/abi/src/IStore.sol/IStoreRegistration.json +671 -525
  85. package/abi/src/IStore.sol/IStoreWrite.json +727 -525
  86. package/abi/src/Memory.sol/Memory.json +131 -131
  87. package/abi/src/PackedCounter.sol/PackedCounterLib.json +683 -683
  88. package/abi/src/Schema.sol/SchemaLib.json +1493 -1493
  89. package/abi/src/Slice.sol/SliceInstance.json +429 -429
  90. package/abi/src/Slice.sol/SliceLib.json +429 -429
  91. package/abi/src/StoreCore.sol/StoreCore.json +12500 -9718
  92. package/abi/src/StoreCore.sol/StoreCoreExtended.json +12500 -9718
  93. package/abi/src/StoreCore.sol/StoreCoreInternal.json +12500 -9718
  94. package/abi/src/StoreSwitch.sol/StoreSwitch.json +1822 -1367
  95. package/abi/tightcoder/EncodeArray.sol/EncodeArray.json +3344 -3344
  96. package/package.json +6 -6
  97. package/src/World.sol +32 -0
  98. package/src/interfaces/IWorldKernel.sol +12 -0
  99. package/types/ethers-contracts/IBaseWorld.ts +116 -0
  100. package/types/ethers-contracts/IStore.sol/IStore.ts +55 -0
  101. package/types/ethers-contracts/IStore.sol/IStoreData.ts +55 -0
  102. package/types/ethers-contracts/IStore.sol/IStoreWrite.ts +55 -0
  103. package/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts +61 -0
  104. package/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts +61 -0
  105. package/types/ethers-contracts/World.ts +116 -0
  106. package/types/ethers-contracts/factories/AccessManagementSystem__factory.ts +1 -1
  107. package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
  108. package/types/ethers-contracts/factories/CoreSystem__factory.ts +1 -1
  109. package/types/ethers-contracts/factories/IBaseWorld__factory.ts +61 -0
  110. package/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +28 -0
  111. package/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +28 -0
  112. package/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +28 -0
  113. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts +33 -0
  114. package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts +33 -0
  115. package/types/ethers-contracts/factories/KeysWithValueHook__factory.ts +1 -1
  116. package/types/ethers-contracts/factories/KeysWithValueModule__factory.ts +1 -1
  117. package/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts +1 -1
  118. package/types/ethers-contracts/factories/StoreCore__factory.ts +1 -1
  119. package/types/ethers-contracts/factories/StoreRead__factory.ts +1 -1
  120. package/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts +1 -1
  121. package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
  122. package/types/ethers-contracts/factories/UniqueEntityModule__factory.ts +1 -1
  123. package/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts +1 -1
  124. package/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts +1 -1
  125. package/types/ethers-contracts/factories/World__factory.ts +62 -1
  126. package/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts +28 -0
  127. package/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts +28 -0
  128. package/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts +28 -0
  129. package/types/ethers-contracts/factories/src/StoreCore__factory.ts +1 -1
  130. package/types/ethers-contracts/factories/src/StoreSwitch__factory.ts +1 -1
  131. package/types/ethers-contracts/src/IStore.sol/IStore.ts +55 -0
  132. package/types/ethers-contracts/src/IStore.sol/IStoreData.ts +55 -0
  133. package/types/ethers-contracts/src/IStore.sol/IStoreWrite.ts +55 -0
@@ -10,26 +10,26 @@
10
10
  },
11
11
  "ast": {
12
12
  "absolutePath": "src/modules/uniqueentity/constants.sol",
13
- "id": 39262,
13
+ "id": 39863,
14
14
  "exportedSymbols": {
15
15
  "MODULE_NAME": [
16
- 39249
16
+ 39850
17
17
  ],
18
18
  "NAMESPACE": [
19
- 39243
19
+ 39844
20
20
  ],
21
21
  "SYSTEM_NAME": [
22
- 39255
22
+ 39856
23
23
  ],
24
24
  "TABLE_NAME": [
25
- 39261
25
+ 39862
26
26
  ]
27
27
  },
28
28
  "nodeType": "SourceUnit",
29
29
  "src": "32:236:83",
30
30
  "nodes": [
31
31
  {
32
- "id": 39237,
32
+ "id": 39838,
33
33
  "nodeType": "PragmaDirective",
34
34
  "src": "32:24:83",
35
35
  "nodes": [],
@@ -41,7 +41,7 @@
41
41
  ]
42
42
  },
43
43
  {
44
- "id": 39243,
44
+ "id": 39844,
45
45
  "nodeType": "VariableDeclaration",
46
46
  "src": "58:52:83",
47
47
  "nodes": [],
@@ -49,7 +49,7 @@
49
49
  "mutability": "constant",
50
50
  "name": "NAMESPACE",
51
51
  "nameLocation": "75:9:83",
52
- "scope": 39262,
52
+ "scope": 39863,
53
53
  "stateVariable": false,
54
54
  "storageLocation": "default",
55
55
  "typeDescriptions": {
@@ -57,7 +57,7 @@
57
57
  "typeString": "bytes16"
58
58
  },
59
59
  "typeName": {
60
- "id": 39238,
60
+ "id": 39839,
61
61
  "name": "bytes16",
62
62
  "nodeType": "ElementaryTypeName",
63
63
  "src": "58:7:83",
@@ -70,7 +70,7 @@
70
70
  "arguments": [
71
71
  {
72
72
  "hexValue": "756e69717565456e74697479",
73
- "id": 39241,
73
+ "id": 39842,
74
74
  "isConstant": false,
75
75
  "isLValue": false,
76
76
  "isPure": true,
@@ -92,7 +92,7 @@
92
92
  "typeString": "literal_string \"uniqueEntity\""
93
93
  }
94
94
  ],
95
- "id": 39240,
95
+ "id": 39841,
96
96
  "isConstant": false,
97
97
  "isLValue": false,
98
98
  "isPure": true,
@@ -104,14 +104,14 @@
104
104
  "typeString": "type(bytes16)"
105
105
  },
106
106
  "typeName": {
107
- "id": 39239,
107
+ "id": 39840,
108
108
  "name": "bytes16",
109
109
  "nodeType": "ElementaryTypeName",
110
110
  "src": "87:7:83",
111
111
  "typeDescriptions": {}
112
112
  }
113
113
  },
114
- "id": 39242,
114
+ "id": 39843,
115
115
  "isConstant": false,
116
116
  "isLValue": false,
117
117
  "isPure": true,
@@ -129,7 +129,7 @@
129
129
  "visibility": "internal"
130
130
  },
131
131
  {
132
- "id": 39249,
132
+ "id": 39850,
133
133
  "nodeType": "VariableDeclaration",
134
134
  "src": "112:56:83",
135
135
  "nodes": [],
@@ -137,7 +137,7 @@
137
137
  "mutability": "constant",
138
138
  "name": "MODULE_NAME",
139
139
  "nameLocation": "129:11:83",
140
- "scope": 39262,
140
+ "scope": 39863,
141
141
  "stateVariable": false,
142
142
  "storageLocation": "default",
143
143
  "typeDescriptions": {
@@ -145,7 +145,7 @@
145
145
  "typeString": "bytes16"
146
146
  },
147
147
  "typeName": {
148
- "id": 39244,
148
+ "id": 39845,
149
149
  "name": "bytes16",
150
150
  "nodeType": "ElementaryTypeName",
151
151
  "src": "112:7:83",
@@ -158,7 +158,7 @@
158
158
  "arguments": [
159
159
  {
160
160
  "hexValue": "756e69717565456e746974792e6d",
161
- "id": 39247,
161
+ "id": 39848,
162
162
  "isConstant": false,
163
163
  "isLValue": false,
164
164
  "isPure": true,
@@ -180,7 +180,7 @@
180
180
  "typeString": "literal_string \"uniqueEntity.m\""
181
181
  }
182
182
  ],
183
- "id": 39246,
183
+ "id": 39847,
184
184
  "isConstant": false,
185
185
  "isLValue": false,
186
186
  "isPure": true,
@@ -192,14 +192,14 @@
192
192
  "typeString": "type(bytes16)"
193
193
  },
194
194
  "typeName": {
195
- "id": 39245,
195
+ "id": 39846,
196
196
  "name": "bytes16",
197
197
  "nodeType": "ElementaryTypeName",
198
198
  "src": "143:7:83",
199
199
  "typeDescriptions": {}
200
200
  }
201
201
  },
202
- "id": 39248,
202
+ "id": 39849,
203
203
  "isConstant": false,
204
204
  "isLValue": false,
205
205
  "isPure": true,
@@ -217,7 +217,7 @@
217
217
  "visibility": "internal"
218
218
  },
219
219
  {
220
- "id": 39255,
220
+ "id": 39856,
221
221
  "nodeType": "VariableDeclaration",
222
222
  "src": "170:48:83",
223
223
  "nodes": [],
@@ -225,7 +225,7 @@
225
225
  "mutability": "constant",
226
226
  "name": "SYSTEM_NAME",
227
227
  "nameLocation": "187:11:83",
228
- "scope": 39262,
228
+ "scope": 39863,
229
229
  "stateVariable": false,
230
230
  "storageLocation": "default",
231
231
  "typeDescriptions": {
@@ -233,7 +233,7 @@
233
233
  "typeString": "bytes16"
234
234
  },
235
235
  "typeName": {
236
- "id": 39250,
236
+ "id": 39851,
237
237
  "name": "bytes16",
238
238
  "nodeType": "ElementaryTypeName",
239
239
  "src": "170:7:83",
@@ -246,7 +246,7 @@
246
246
  "arguments": [
247
247
  {
248
248
  "hexValue": "73797374656d",
249
- "id": 39253,
249
+ "id": 39854,
250
250
  "isConstant": false,
251
251
  "isLValue": false,
252
252
  "isPure": true,
@@ -268,7 +268,7 @@
268
268
  "typeString": "literal_string \"system\""
269
269
  }
270
270
  ],
271
- "id": 39252,
271
+ "id": 39853,
272
272
  "isConstant": false,
273
273
  "isLValue": false,
274
274
  "isPure": true,
@@ -280,14 +280,14 @@
280
280
  "typeString": "type(bytes16)"
281
281
  },
282
282
  "typeName": {
283
- "id": 39251,
283
+ "id": 39852,
284
284
  "name": "bytes16",
285
285
  "nodeType": "ElementaryTypeName",
286
286
  "src": "201:7:83",
287
287
  "typeDescriptions": {}
288
288
  }
289
289
  },
290
- "id": 39254,
290
+ "id": 39855,
291
291
  "isConstant": false,
292
292
  "isLValue": false,
293
293
  "isPure": true,
@@ -305,7 +305,7 @@
305
305
  "visibility": "internal"
306
306
  },
307
307
  {
308
- "id": 39261,
308
+ "id": 39862,
309
309
  "nodeType": "VariableDeclaration",
310
310
  "src": "220:46:83",
311
311
  "nodes": [],
@@ -313,7 +313,7 @@
313
313
  "mutability": "constant",
314
314
  "name": "TABLE_NAME",
315
315
  "nameLocation": "237:10:83",
316
- "scope": 39262,
316
+ "scope": 39863,
317
317
  "stateVariable": false,
318
318
  "storageLocation": "default",
319
319
  "typeDescriptions": {
@@ -321,7 +321,7 @@
321
321
  "typeString": "bytes16"
322
322
  },
323
323
  "typeName": {
324
- "id": 39256,
324
+ "id": 39857,
325
325
  "name": "bytes16",
326
326
  "nodeType": "ElementaryTypeName",
327
327
  "src": "220:7:83",
@@ -334,7 +334,7 @@
334
334
  "arguments": [
335
335
  {
336
336
  "hexValue": "7461626c65",
337
- "id": 39259,
337
+ "id": 39860,
338
338
  "isConstant": false,
339
339
  "isLValue": false,
340
340
  "isPure": true,
@@ -356,7 +356,7 @@
356
356
  "typeString": "literal_string \"table\""
357
357
  }
358
358
  ],
359
- "id": 39258,
359
+ "id": 39859,
360
360
  "isConstant": false,
361
361
  "isLValue": false,
362
362
  "isPure": true,
@@ -368,14 +368,14 @@
368
368
  "typeString": "type(bytes16)"
369
369
  },
370
370
  "typeName": {
371
- "id": 39257,
371
+ "id": 39858,
372
372
  "name": "bytes16",
373
373
  "nodeType": "ElementaryTypeName",
374
374
  "src": "250:7:83",
375
375
  "typeDescriptions": {}
376
376
  }
377
377
  },
378
- "id": 39260,
378
+ "id": 39861,
379
379
  "isConstant": false,
380
380
  "isLValue": false,
381
381
  "isPure": true,