@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
|
@@ -63,17 +63,17 @@
|
|
|
63
63
|
},
|
|
64
64
|
"ast": {
|
|
65
65
|
"absolutePath": "/home/runner/work/mud/mud/packages/store/src/TableId.sol",
|
|
66
|
-
"id":
|
|
66
|
+
"id": 5823,
|
|
67
67
|
"exportedSymbols": {
|
|
68
68
|
"TableId": [
|
|
69
|
-
|
|
69
|
+
5822
|
|
70
70
|
]
|
|
71
71
|
},
|
|
72
72
|
"nodeType": "SourceUnit",
|
|
73
73
|
"src": "32:173:10",
|
|
74
74
|
"nodes": [
|
|
75
75
|
{
|
|
76
|
-
"id":
|
|
76
|
+
"id": 5805,
|
|
77
77
|
"nodeType": "PragmaDirective",
|
|
78
78
|
"src": "32:24:10",
|
|
79
79
|
"nodes": [],
|
|
@@ -85,17 +85,17 @@
|
|
|
85
85
|
]
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
"id":
|
|
88
|
+
"id": 5822,
|
|
89
89
|
"nodeType": "ContractDefinition",
|
|
90
90
|
"src": "58:146:10",
|
|
91
91
|
"nodes": [
|
|
92
92
|
{
|
|
93
|
-
"id":
|
|
93
|
+
"id": 5821,
|
|
94
94
|
"nodeType": "FunctionDefinition",
|
|
95
95
|
"src": "78:124:10",
|
|
96
96
|
"nodes": [],
|
|
97
97
|
"body": {
|
|
98
|
-
"id":
|
|
98
|
+
"id": 5820,
|
|
99
99
|
"nodeType": "Block",
|
|
100
100
|
"src": "151:51:10",
|
|
101
101
|
"nodes": [],
|
|
@@ -106,11 +106,11 @@
|
|
|
106
106
|
{
|
|
107
107
|
"arguments": [
|
|
108
108
|
{
|
|
109
|
-
"id":
|
|
109
|
+
"id": 5816,
|
|
110
110
|
"name": "tableId",
|
|
111
111
|
"nodeType": "Identifier",
|
|
112
112
|
"overloadedDeclarations": [],
|
|
113
|
-
"referencedDeclaration":
|
|
113
|
+
"referencedDeclaration": 5807,
|
|
114
114
|
"src": "188:7:10",
|
|
115
115
|
"typeDescriptions": {
|
|
116
116
|
"typeIdentifier": "t_bytes32",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
}
|
|
127
127
|
],
|
|
128
128
|
"expression": {
|
|
129
|
-
"id":
|
|
129
|
+
"id": 5814,
|
|
130
130
|
"name": "abi",
|
|
131
131
|
"nodeType": "Identifier",
|
|
132
132
|
"overloadedDeclarations": [],
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"typeString": "abi"
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
|
-
"id":
|
|
140
|
+
"id": 5815,
|
|
141
141
|
"isConstant": false,
|
|
142
142
|
"isLValue": false,
|
|
143
143
|
"isPure": true,
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"typeString": "function () pure returns (bytes memory)"
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
|
-
"id":
|
|
153
|
+
"id": 5817,
|
|
154
154
|
"isConstant": false,
|
|
155
155
|
"isLValue": false,
|
|
156
156
|
"isPure": false,
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"typeString": "bytes memory"
|
|
174
174
|
}
|
|
175
175
|
],
|
|
176
|
-
"id":
|
|
176
|
+
"id": 5813,
|
|
177
177
|
"isConstant": false,
|
|
178
178
|
"isLValue": false,
|
|
179
179
|
"isPure": true,
|
|
@@ -185,14 +185,14 @@
|
|
|
185
185
|
"typeString": "type(string storage pointer)"
|
|
186
186
|
},
|
|
187
187
|
"typeName": {
|
|
188
|
-
"id":
|
|
188
|
+
"id": 5812,
|
|
189
189
|
"name": "string",
|
|
190
190
|
"nodeType": "ElementaryTypeName",
|
|
191
191
|
"src": "164:6:10",
|
|
192
192
|
"typeDescriptions": {}
|
|
193
193
|
}
|
|
194
194
|
},
|
|
195
|
-
"id":
|
|
195
|
+
"id": 5818,
|
|
196
196
|
"isConstant": false,
|
|
197
197
|
"isLValue": false,
|
|
198
198
|
"isPure": false,
|
|
@@ -207,8 +207,8 @@
|
|
|
207
207
|
"typeString": "string memory"
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
|
-
"functionReturnParameters":
|
|
211
|
-
"id":
|
|
210
|
+
"functionReturnParameters": 5811,
|
|
211
|
+
"id": 5819,
|
|
212
212
|
"nodeType": "Return",
|
|
213
213
|
"src": "157:40:10"
|
|
214
214
|
}
|
|
@@ -220,17 +220,17 @@
|
|
|
220
220
|
"name": "toString",
|
|
221
221
|
"nameLocation": "87:8:10",
|
|
222
222
|
"parameters": {
|
|
223
|
-
"id":
|
|
223
|
+
"id": 5808,
|
|
224
224
|
"nodeType": "ParameterList",
|
|
225
225
|
"parameters": [
|
|
226
226
|
{
|
|
227
227
|
"constant": false,
|
|
228
|
-
"id":
|
|
228
|
+
"id": 5807,
|
|
229
229
|
"mutability": "mutable",
|
|
230
230
|
"name": "tableId",
|
|
231
231
|
"nameLocation": "104:7:10",
|
|
232
232
|
"nodeType": "VariableDeclaration",
|
|
233
|
-
"scope":
|
|
233
|
+
"scope": 5821,
|
|
234
234
|
"src": "96:15:10",
|
|
235
235
|
"stateVariable": false,
|
|
236
236
|
"storageLocation": "default",
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
"typeString": "bytes32"
|
|
240
240
|
},
|
|
241
241
|
"typeName": {
|
|
242
|
-
"id":
|
|
242
|
+
"id": 5806,
|
|
243
243
|
"name": "bytes32",
|
|
244
244
|
"nodeType": "ElementaryTypeName",
|
|
245
245
|
"src": "96:7:10",
|
|
@@ -254,17 +254,17 @@
|
|
|
254
254
|
"src": "95:17:10"
|
|
255
255
|
},
|
|
256
256
|
"returnParameters": {
|
|
257
|
-
"id":
|
|
257
|
+
"id": 5811,
|
|
258
258
|
"nodeType": "ParameterList",
|
|
259
259
|
"parameters": [
|
|
260
260
|
{
|
|
261
261
|
"constant": false,
|
|
262
|
-
"id":
|
|
262
|
+
"id": 5810,
|
|
263
263
|
"mutability": "mutable",
|
|
264
264
|
"name": "",
|
|
265
265
|
"nameLocation": "-1:-1:-1",
|
|
266
266
|
"nodeType": "VariableDeclaration",
|
|
267
|
-
"scope":
|
|
267
|
+
"scope": 5821,
|
|
268
268
|
"src": "136:13:10",
|
|
269
269
|
"stateVariable": false,
|
|
270
270
|
"storageLocation": "memory",
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
"typeString": "string"
|
|
274
274
|
},
|
|
275
275
|
"typeName": {
|
|
276
|
-
"id":
|
|
276
|
+
"id": 5809,
|
|
277
277
|
"name": "string",
|
|
278
278
|
"nodeType": "ElementaryTypeName",
|
|
279
279
|
"src": "136:6:10",
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
],
|
|
288
288
|
"src": "135:15:10"
|
|
289
289
|
},
|
|
290
|
-
"scope":
|
|
290
|
+
"scope": 5822,
|
|
291
291
|
"stateMutability": "pure",
|
|
292
292
|
"virtual": false,
|
|
293
293
|
"visibility": "internal"
|
|
@@ -300,11 +300,11 @@
|
|
|
300
300
|
"contractKind": "library",
|
|
301
301
|
"fullyImplemented": true,
|
|
302
302
|
"linearizedBaseContracts": [
|
|
303
|
-
|
|
303
|
+
5822
|
|
304
304
|
],
|
|
305
305
|
"name": "TableId",
|
|
306
306
|
"nameLocation": "66:7:10",
|
|
307
|
-
"scope":
|
|
307
|
+
"scope": 5823,
|
|
308
308
|
"usedErrors": []
|
|
309
309
|
}
|
|
310
310
|
],
|