@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.
- package/abi/AccessControl.sol/AccessControl.json +241 -241
- package/abi/AccessManagementSystem.sol/AccessManagementSystem.json +157 -157
- package/abi/AddressArray.sol/AddressArray.json +1124 -1124
- package/abi/ArrayLib.sol/ArrayLib.json +139 -139
- package/abi/Bool.sol/Bool.json +704 -704
- package/abi/Bytes.sol/Bytes.json +6 -6
- package/abi/Call.sol/Call.json +112 -112
- package/abi/Callbacks.sol/Callbacks.json +1100 -1100
- package/abi/CoreModule.sol/CoreModule.json +542 -542
- package/abi/CoreSystem.sol/CoreSystem.json +92 -92
- package/abi/DecodeSlice.sol/DecodeSlice.json +3891 -3891
- package/abi/EncodeArray.sol/EncodeArray.json +3344 -3344
- package/abi/FunctionSelectors.sol/FunctionSelectors.json +1678 -1678
- package/abi/Hooks.sol/Hooks.json +1100 -1100
- package/abi/IAccessManagementSystem.sol/IAccessManagementSystem.json +32 -32
- package/abi/IBaseWorld.sol/IBaseWorld.json +224 -99
- package/abi/ICoreSystem.sol/ICoreSystem.json +6 -6
- package/abi/IModule.sol/IModule.json +28 -28
- package/abi/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +40 -40
- package/abi/IStore.sol/IStore.json +551 -349
- package/abi/IStore.sol/IStoreData.json +551 -349
- package/abi/IStore.sol/IStoreHook.json +495 -349
- package/abi/IStore.sol/IStoreRead.json +495 -349
- package/abi/IStore.sol/IStoreRegistration.json +495 -349
- package/abi/IStore.sol/IStoreWrite.json +551 -349
- package/abi/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +80 -80
- package/abi/ISystemHook.sol/ISystemHook.json +19 -19
- package/abi/IUniqueEntitySystem.sol/IUniqueEntitySystem.json +13 -13
- package/abi/IWorldKernel.sol/IWorldCall.json +455 -276
- package/abi/IWorldKernel.sol/IWorldData.json +524 -276
- package/abi/IWorldKernel.sol/IWorldKernel.json +524 -276
- package/abi/IWorldKernel.sol/IWorldModuleInstallation.json +455 -276
- package/abi/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +198 -198
- package/abi/InstalledModules.sol/InstalledModules.json +1351 -1351
- package/abi/KeysWithValue.sol/KeysWithValue.json +1124 -1124
- package/abi/KeysWithValueHook.sol/KeysWithValueHook.json +416 -416
- package/abi/KeysWithValueModule.sol/KeysWithValueModule.json +293 -293
- package/abi/Memory.sol/Memory.json +131 -131
- package/abi/Mixed.sol/Mixed.json +2781 -2781
- package/abi/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +138 -138
- package/abi/NamespaceOwner.sol/NamespaceOwner.json +782 -782
- package/abi/PackedCounter.sol/PackedCounterLib.json +665 -665
- package/abi/ResourceAccess.sol/ResourceAccess.json +926 -926
- package/abi/ResourceSelector.sol/ResourceSelector.json +253 -253
- package/abi/ResourceType.sol/ResourceType.json +831 -831
- package/abi/Schema.sol/SchemaLib.json +1469 -1469
- package/abi/SchemaType.sol/SchemaType.json +315 -315
- package/abi/Slice.sol/SliceInstance.json +429 -429
- package/abi/Slice.sol/SliceLib.json +429 -429
- package/abi/Storage.sol/Storage.json +1024 -1061
- package/abi/StoreCore.sol/StoreCore.json +10434 -7652
- package/abi/StoreCore.sol/StoreCoreExtended.json +10434 -7652
- package/abi/StoreCore.sol/StoreCoreInternal.json +10434 -7652
- package/abi/StoreMetadata.sol/StoreMetadata.json +2116 -2116
- package/abi/StoreRead.sol/StoreRead.json +247 -247
- package/abi/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +339 -339
- package/abi/StoreSwitch.sol/StoreSwitch.json +1814 -1359
- package/abi/System.sol/System.json +31 -31
- package/abi/SystemRegistry.sol/SystemRegistry.json +794 -794
- package/abi/Systems.sol/Systems.json +1412 -1412
- package/abi/TableId.sol/TableId.json +27 -27
- package/abi/Tables.sol/Tables.json +92 -92
- package/abi/TightCoder.sol/TightCoder.json +275 -275
- package/abi/Types.sol/Types.json +8 -8
- package/abi/UniqueEntity.sol/UniqueEntity.json +683 -683
- package/abi/UniqueEntityModule.sol/UniqueEntityModule.json +232 -232
- package/abi/UniqueEntitySystem.sol/UniqueEntitySystem.json +114 -114
- package/abi/Utils.sol/Utils.json +67 -67
- package/abi/Vector2.sol/Vector2.json +1473 -1473
- package/abi/World.sol/World.json +2426 -1491
- package/abi/WorldContext.sol/WorldContext.json +65 -65
- package/abi/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1140 -1140
- package/abi/console.sol/console.json +11417 -11417
- package/abi/constants.sol/constants.json +34 -34
- package/abi/getKeysWithValue.sol/getKeysWithValue.json +129 -129
- package/abi/getTargetTableSelector.sol/getTargetTableSelector.json +75 -75
- package/abi/getUniqueEntity.sol/getUniqueEntity.json +88 -88
- package/abi/interfaces/IErrors.sol/IErrors.json +57 -57
- package/abi/src/Bytes.sol/Bytes.json +1225 -1225
- package/abi/src/IStore.sol/IStore.json +727 -525
- package/abi/src/IStore.sol/IStoreData.json +727 -525
- package/abi/src/IStore.sol/IStoreHook.json +671 -525
- package/abi/src/IStore.sol/IStoreRead.json +671 -525
- package/abi/src/IStore.sol/IStoreRegistration.json +671 -525
- package/abi/src/IStore.sol/IStoreWrite.json +727 -525
- package/abi/src/Memory.sol/Memory.json +131 -131
- package/abi/src/PackedCounter.sol/PackedCounterLib.json +683 -683
- package/abi/src/Schema.sol/SchemaLib.json +1493 -1493
- package/abi/src/Slice.sol/SliceInstance.json +429 -429
- package/abi/src/Slice.sol/SliceLib.json +429 -429
- package/abi/src/StoreCore.sol/StoreCore.json +12500 -9718
- package/abi/src/StoreCore.sol/StoreCoreExtended.json +12500 -9718
- package/abi/src/StoreCore.sol/StoreCoreInternal.json +12500 -9718
- package/abi/src/StoreSwitch.sol/StoreSwitch.json +1822 -1367
- package/abi/tightcoder/EncodeArray.sol/EncodeArray.json +3344 -3344
- package/package.json +6 -6
- package/src/World.sol +32 -0
- package/src/interfaces/IWorldKernel.sol +12 -0
- package/types/ethers-contracts/IBaseWorld.ts +116 -0
- package/types/ethers-contracts/IStore.sol/IStore.ts +55 -0
- package/types/ethers-contracts/IStore.sol/IStoreData.ts +55 -0
- package/types/ethers-contracts/IStore.sol/IStoreWrite.ts +55 -0
- package/types/ethers-contracts/IWorldKernel.sol/IWorldData.ts +61 -0
- package/types/ethers-contracts/IWorldKernel.sol/IWorldKernel.ts +61 -0
- package/types/ethers-contracts/World.ts +116 -0
- package/types/ethers-contracts/factories/AccessManagementSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/CoreSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/IBaseWorld__factory.ts +61 -0
- package/types/ethers-contracts/factories/IStore.sol/IStoreData__factory.ts +28 -0
- package/types/ethers-contracts/factories/IStore.sol/IStoreWrite__factory.ts +28 -0
- package/types/ethers-contracts/factories/IStore.sol/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldData__factory.ts +33 -0
- package/types/ethers-contracts/factories/IWorldKernel.sol/IWorldKernel__factory.ts +33 -0
- package/types/ethers-contracts/factories/KeysWithValueHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/KeysWithValueModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/ModuleInstallationSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreCore__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreRead__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreRegistrationSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/factories/UniqueEntityModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/UniqueEntitySystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldRegistrationSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/World__factory.ts +62 -1
- package/types/ethers-contracts/factories/src/IStore.sol/IStoreData__factory.ts +28 -0
- package/types/ethers-contracts/factories/src/IStore.sol/IStoreWrite__factory.ts +28 -0
- package/types/ethers-contracts/factories/src/IStore.sol/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/src/StoreCore__factory.ts +1 -1
- package/types/ethers-contracts/factories/src/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/src/IStore.sol/IStore.ts +55 -0
- package/types/ethers-contracts/src/IStore.sol/IStoreData.ts +55 -0
- 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":
|
|
13
|
+
"id": 39863,
|
|
14
14
|
"exportedSymbols": {
|
|
15
15
|
"MODULE_NAME": [
|
|
16
|
-
|
|
16
|
+
39850
|
|
17
17
|
],
|
|
18
18
|
"NAMESPACE": [
|
|
19
|
-
|
|
19
|
+
39844
|
|
20
20
|
],
|
|
21
21
|
"SYSTEM_NAME": [
|
|
22
|
-
|
|
22
|
+
39856
|
|
23
23
|
],
|
|
24
24
|
"TABLE_NAME": [
|
|
25
|
-
|
|
25
|
+
39862
|
|
26
26
|
]
|
|
27
27
|
},
|
|
28
28
|
"nodeType": "SourceUnit",
|
|
29
29
|
"src": "32:236:83",
|
|
30
30
|
"nodes": [
|
|
31
31
|
{
|
|
32
|
-
"id":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
378
|
+
"id": 39861,
|
|
379
379
|
"isConstant": false,
|
|
380
380
|
"isLValue": false,
|
|
381
381
|
"isPure": true,
|