@latticexyz/world 1.40.0 → 1.41.0
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/LICENSE +21 -0
- package/abi/AddressArraySchemaLib.json +718 -869
- package/abi/BoolSchemaLib.json +401 -401
- package/abi/Bytes.json +1162 -1162
- package/abi/CommonBase.json +125 -125
- package/abi/DSTest.json +2630 -2630
- package/abi/DecodeSlice.json +3883 -3883
- package/abi/EncodeArray.json +3336 -3336
- package/abi/Hooks.json +1491 -785
- package/abi/IMulticall3.json +283 -283
- package/abi/IStore.json +623 -421
- package/abi/IStoreHook.json +567 -421
- package/abi/ISystemHook.json +19 -19
- package/abi/Memory.json +131 -131
- package/abi/PackedCounterLib.json +683 -683
- package/abi/RouteAccess.json +2209 -1159
- package/abi/RouteOwnerSchemaLib.json +349 -349
- package/abi/RouteOwnerTable.json +297 -297
- package/abi/RouteSchemaLib.json +433 -433
- package/abi/RouteTable.json +336 -336
- package/abi/SchemaLib.json +1211 -1211
- package/abi/ScriptBase.json +125 -125
- package/abi/SliceInstance.json +429 -429
- package/abi/SliceLib.json +429 -429
- package/abi/StdAssertions.json +2135 -2135
- package/abi/StdChains.json +1051 -1051
- package/abi/StdCheats.json +3257 -3257
- package/abi/StdCheatsSafe.json +3257 -3257
- package/abi/StdInvariant.json +337 -337
- package/abi/StdUtils.json +1122 -1122
- package/abi/Storage.json +491 -491
- package/abi/Store.json +374 -209
- package/abi/StoreCore.json +10665 -7865
- package/abi/StoreCoreExtended.json +10443 -7722
- package/abi/StoreCoreInternal.json +10482 -7638
- package/abi/StoreMetadata.json +3719 -2417
- package/abi/StoreSwitch.json +1692 -783
- package/abi/System.json +16 -16
- package/abi/SystemRouteSchemaLib.json +402 -402
- package/abi/SystemRouteTable.json +336 -336
- package/abi/SystemTable.json +8544 -651
- package/abi/SystemTest.json +287 -303
- package/abi/Test.json +124 -124
- package/abi/TestBase.json +125 -125
- package/abi/TestSystem.json +287 -303
- package/abi/TightCoder.json +272 -272
- package/abi/Utils.json +67 -67
- package/abi/Vm.json +1850 -1850
- package/abi/VmSafe.json +1850 -1850
- package/abi/World.json +5183 -3374
- package/abi/WorldTest.json +9983 -10520
- package/abi/WorldTestSystem.json +9992 -10503
- package/abi/WorldTestTableHook.json +9978 -10511
- package/abi/console.json +11417 -11417
- package/abi/console2.json +11459 -11459
- package/abi/stdError.json +79 -79
- package/abi/stdJson.json +1016 -1016
- package/abi/stdMath.json +218 -218
- package/abi/stdStorage.json +2400 -2400
- package/abi/stdStorageSafe.json +2400 -2400
- package/package.json +8 -8
- package/src/World.sol +78 -32
- package/src/schemas/AddressArray.sol +5 -19
- package/src/tables/RouteAccess.sol +35 -30
- package/src/tables/SystemTable.sol +142 -23
- package/types/ethers-contracts/IStore.ts +49 -0
- package/types/ethers-contracts/Store.ts +49 -0
- package/types/ethers-contracts/World.ts +94 -0
- package/types/ethers-contracts/WorldTest.ts +27 -0
- package/types/ethers-contracts/factories/IStore__factory.ts +28 -0
- package/types/ethers-contracts/factories/StoreCore__factory.ts +2 -23
- package/types/ethers-contracts/factories/StoreSwitch__factory.ts +1 -1
- package/types/ethers-contracts/factories/Store__factory.ts +81 -0
- package/types/ethers-contracts/factories/SystemTest__factory.ts +1 -1
- package/types/ethers-contracts/factories/TestSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +12 -1
- package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTest__factory.ts +11 -34
- package/types/ethers-contracts/factories/World__factory.ts +70 -30
- package/types/ethers-contracts/index.ts +0 -2
- package/abi/SystemSchemaLib.json +0 -3704
- package/src/schemas/SystemSchema.sol +0 -78
- package/types/ethers-contracts/StoreCoreExtended.ts +0 -141
- package/types/ethers-contracts/factories/StoreCoreExtended__factory.ts +0 -123
package/abi/ISystemHook.json
CHANGED
|
@@ -121,17 +121,17 @@
|
|
|
121
121
|
},
|
|
122
122
|
"ast": {
|
|
123
123
|
"absolutePath": "src/ISystemHook.sol",
|
|
124
|
-
"id":
|
|
124
|
+
"id": 53967,
|
|
125
125
|
"exportedSymbols": {
|
|
126
126
|
"ISystemHook": [
|
|
127
|
-
|
|
127
|
+
53966
|
|
128
128
|
]
|
|
129
129
|
},
|
|
130
130
|
"nodeType": "SourceUnit",
|
|
131
131
|
"src": "32:178:62",
|
|
132
132
|
"nodes": [
|
|
133
133
|
{
|
|
134
|
-
"id":
|
|
134
|
+
"id": 53956,
|
|
135
135
|
"nodeType": "PragmaDirective",
|
|
136
136
|
"src": "32:24:62",
|
|
137
137
|
"nodes": [],
|
|
@@ -143,12 +143,12 @@
|
|
|
143
143
|
]
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
"id":
|
|
146
|
+
"id": 53966,
|
|
147
147
|
"nodeType": "ContractDefinition",
|
|
148
148
|
"src": "58:151:62",
|
|
149
149
|
"nodes": [
|
|
150
150
|
{
|
|
151
|
-
"id":
|
|
151
|
+
"id": 53965,
|
|
152
152
|
"nodeType": "FunctionDefinition",
|
|
153
153
|
"src": "84:123:62",
|
|
154
154
|
"nodes": [],
|
|
@@ -159,17 +159,17 @@
|
|
|
159
159
|
"name": "onCallSystem",
|
|
160
160
|
"nameLocation": "93:12:62",
|
|
161
161
|
"parameters": {
|
|
162
|
-
"id":
|
|
162
|
+
"id": 53963,
|
|
163
163
|
"nodeType": "ParameterList",
|
|
164
164
|
"parameters": [
|
|
165
165
|
{
|
|
166
166
|
"constant": false,
|
|
167
|
-
"id":
|
|
167
|
+
"id": 53958,
|
|
168
168
|
"mutability": "mutable",
|
|
169
169
|
"name": "msgSender",
|
|
170
170
|
"nameLocation": "119:9:62",
|
|
171
171
|
"nodeType": "VariableDeclaration",
|
|
172
|
-
"scope":
|
|
172
|
+
"scope": 53965,
|
|
173
173
|
"src": "111:17:62",
|
|
174
174
|
"stateVariable": false,
|
|
175
175
|
"storageLocation": "default",
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"typeString": "address"
|
|
179
179
|
},
|
|
180
180
|
"typeName": {
|
|
181
|
-
"id":
|
|
181
|
+
"id": 53957,
|
|
182
182
|
"name": "address",
|
|
183
183
|
"nodeType": "ElementaryTypeName",
|
|
184
184
|
"src": "111:7:62",
|
|
@@ -192,12 +192,12 @@
|
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
"constant": false,
|
|
195
|
-
"id":
|
|
195
|
+
"id": 53960,
|
|
196
196
|
"mutability": "mutable",
|
|
197
197
|
"name": "systemAddress",
|
|
198
198
|
"nameLocation": "142:13:62",
|
|
199
199
|
"nodeType": "VariableDeclaration",
|
|
200
|
-
"scope":
|
|
200
|
+
"scope": 53965,
|
|
201
201
|
"src": "134:21:62",
|
|
202
202
|
"stateVariable": false,
|
|
203
203
|
"storageLocation": "default",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"typeString": "address"
|
|
207
207
|
},
|
|
208
208
|
"typeName": {
|
|
209
|
-
"id":
|
|
209
|
+
"id": 53959,
|
|
210
210
|
"name": "address",
|
|
211
211
|
"nodeType": "ElementaryTypeName",
|
|
212
212
|
"src": "134:7:62",
|
|
@@ -220,12 +220,12 @@
|
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
"constant": false,
|
|
223
|
-
"id":
|
|
223
|
+
"id": 53962,
|
|
224
224
|
"mutability": "mutable",
|
|
225
225
|
"name": "funcSelectorAndArgs",
|
|
226
226
|
"nameLocation": "174:19:62",
|
|
227
227
|
"nodeType": "VariableDeclaration",
|
|
228
|
-
"scope":
|
|
228
|
+
"scope": 53965,
|
|
229
229
|
"src": "161:32:62",
|
|
230
230
|
"stateVariable": false,
|
|
231
231
|
"storageLocation": "memory",
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"typeString": "bytes"
|
|
235
235
|
},
|
|
236
236
|
"typeName": {
|
|
237
|
-
"id":
|
|
237
|
+
"id": 53961,
|
|
238
238
|
"name": "bytes",
|
|
239
239
|
"nodeType": "ElementaryTypeName",
|
|
240
240
|
"src": "161:5:62",
|
|
@@ -249,12 +249,12 @@
|
|
|
249
249
|
"src": "105:92:62"
|
|
250
250
|
},
|
|
251
251
|
"returnParameters": {
|
|
252
|
-
"id":
|
|
252
|
+
"id": 53964,
|
|
253
253
|
"nodeType": "ParameterList",
|
|
254
254
|
"parameters": [],
|
|
255
255
|
"src": "206:0:62"
|
|
256
256
|
},
|
|
257
|
-
"scope":
|
|
257
|
+
"scope": 53966,
|
|
258
258
|
"stateMutability": "nonpayable",
|
|
259
259
|
"virtual": false,
|
|
260
260
|
"visibility": "external"
|
|
@@ -267,11 +267,11 @@
|
|
|
267
267
|
"contractKind": "interface",
|
|
268
268
|
"fullyImplemented": false,
|
|
269
269
|
"linearizedBaseContracts": [
|
|
270
|
-
|
|
270
|
+
53966
|
|
271
271
|
],
|
|
272
272
|
"name": "ISystemHook",
|
|
273
273
|
"nameLocation": "68:11:62",
|
|
274
|
-
"scope":
|
|
274
|
+
"scope": 53967,
|
|
275
275
|
"usedErrors": []
|
|
276
276
|
}
|
|
277
277
|
],
|