@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/System.json
CHANGED
|
@@ -72,17 +72,17 @@
|
|
|
72
72
|
},
|
|
73
73
|
"ast": {
|
|
74
74
|
"absolutePath": "src/System.sol",
|
|
75
|
-
"id":
|
|
75
|
+
"id": 53977,
|
|
76
76
|
"exportedSymbols": {
|
|
77
77
|
"System": [
|
|
78
|
-
|
|
78
|
+
53976
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
81
|
"nodeType": "SourceUnit",
|
|
82
82
|
"src": "32:293:63",
|
|
83
83
|
"nodes": [
|
|
84
84
|
{
|
|
85
|
-
"id":
|
|
85
|
+
"id": 53968,
|
|
86
86
|
"nodeType": "PragmaDirective",
|
|
87
87
|
"src": "32:24:63",
|
|
88
88
|
"nodes": [],
|
|
@@ -94,17 +94,17 @@
|
|
|
94
94
|
]
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
|
-
"id":
|
|
97
|
+
"id": 53976,
|
|
98
98
|
"nodeType": "ContractDefinition",
|
|
99
99
|
"src": "58:266:63",
|
|
100
100
|
"nodes": [
|
|
101
101
|
{
|
|
102
|
-
"id":
|
|
102
|
+
"id": 53975,
|
|
103
103
|
"nodeType": "FunctionDefinition",
|
|
104
104
|
"src": "145:177:63",
|
|
105
105
|
"nodes": [],
|
|
106
106
|
"body": {
|
|
107
|
-
"id":
|
|
107
|
+
"id": 53974,
|
|
108
108
|
"nodeType": "Block",
|
|
109
109
|
"src": "206:116:63",
|
|
110
110
|
"nodes": [],
|
|
@@ -187,14 +187,14 @@
|
|
|
187
187
|
"evmVersion": "london",
|
|
188
188
|
"externalReferences": [
|
|
189
189
|
{
|
|
190
|
-
"declaration":
|
|
190
|
+
"declaration": 53971,
|
|
191
191
|
"isOffset": false,
|
|
192
192
|
"isSlot": false,
|
|
193
193
|
"src": "256:6:63",
|
|
194
194
|
"valueSize": 1
|
|
195
195
|
}
|
|
196
196
|
],
|
|
197
|
-
"id":
|
|
197
|
+
"id": 53973,
|
|
198
198
|
"nodeType": "InlineAssembly",
|
|
199
199
|
"src": "212:106:63"
|
|
200
200
|
}
|
|
@@ -206,23 +206,23 @@
|
|
|
206
206
|
"name": "_msgSender",
|
|
207
207
|
"nameLocation": "154:10:63",
|
|
208
208
|
"parameters": {
|
|
209
|
-
"id":
|
|
209
|
+
"id": 53969,
|
|
210
210
|
"nodeType": "ParameterList",
|
|
211
211
|
"parameters": [],
|
|
212
212
|
"src": "164:2:63"
|
|
213
213
|
},
|
|
214
214
|
"returnParameters": {
|
|
215
|
-
"id":
|
|
215
|
+
"id": 53972,
|
|
216
216
|
"nodeType": "ParameterList",
|
|
217
217
|
"parameters": [
|
|
218
218
|
{
|
|
219
219
|
"constant": false,
|
|
220
|
-
"id":
|
|
220
|
+
"id": 53971,
|
|
221
221
|
"mutability": "mutable",
|
|
222
222
|
"name": "sender",
|
|
223
223
|
"nameLocation": "198:6:63",
|
|
224
224
|
"nodeType": "VariableDeclaration",
|
|
225
|
-
"scope":
|
|
225
|
+
"scope": 53975,
|
|
226
226
|
"src": "190:14:63",
|
|
227
227
|
"stateVariable": false,
|
|
228
228
|
"storageLocation": "default",
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
"typeString": "address"
|
|
232
232
|
},
|
|
233
233
|
"typeName": {
|
|
234
|
-
"id":
|
|
234
|
+
"id": 53970,
|
|
235
235
|
"name": "address",
|
|
236
236
|
"nodeType": "ElementaryTypeName",
|
|
237
237
|
"src": "190:7:63",
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
],
|
|
247
247
|
"src": "189:16:63"
|
|
248
248
|
},
|
|
249
|
-
"scope":
|
|
249
|
+
"scope": 53976,
|
|
250
250
|
"stateMutability": "pure",
|
|
251
251
|
"virtual": false,
|
|
252
252
|
"visibility": "internal"
|
|
@@ -259,11 +259,11 @@
|
|
|
259
259
|
"contractKind": "contract",
|
|
260
260
|
"fullyImplemented": true,
|
|
261
261
|
"linearizedBaseContracts": [
|
|
262
|
-
|
|
262
|
+
53976
|
|
263
263
|
],
|
|
264
264
|
"name": "System",
|
|
265
265
|
"nameLocation": "67:6:63",
|
|
266
|
-
"scope":
|
|
266
|
+
"scope": 53977,
|
|
267
267
|
"usedErrors": []
|
|
268
268
|
}
|
|
269
269
|
],
|