@latticexyz/world 2.0.0-alpha.63 → 2.0.0-alpha.65
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.json +15 -15
- package/abi/AccessControlTest.json +273 -273
- package/abi/AddressArray.json +782 -782
- package/abi/ArrayLib.json +139 -139
- package/abi/Bool.json +539 -539
- package/abi/Call.json +6 -6
- package/abi/CommonBase.json +125 -125
- package/abi/CoreModule.json +259 -111
- package/abi/DecodeSlice.json +3187 -3187
- package/abi/FunctionSelectors.json +1412 -1412
- package/abi/Hooks.json +773 -773
- package/abi/IBaseWorld.json +7 -7
- package/abi/IErrors.json +48 -48
- package/abi/IMulticall3.json +283 -283
- package/abi/IRegistrationSystem.json +1 -1
- package/abi/IWorldTestSystem.json +5366 -5366
- package/abi/InstalledModules.json +1139 -1139
- package/abi/KeysWithValue.json +782 -782
- package/abi/KeysWithValueHook.json +369 -369
- package/abi/KeysWithValueModule.json +216 -216
- package/abi/KeysWithValueModuleTest.json +1274 -1274
- package/abi/NamespaceOwner.json +613 -613
- package/abi/PayableFallbackSystem.json +5368 -5368
- package/abi/RegistrationModule.json +307 -307
- package/abi/RegistrationSystem.json +885 -885
- package/abi/ResourceAccess.json +750 -750
- package/abi/ResourceType.json +627 -627
- package/abi/ScriptBase.json +125 -125
- package/abi/StdAssertions.json +1894 -1894
- package/abi/StdChains.json +1051 -1051
- package/abi/StdCheats.json +3257 -3257
- package/abi/StdCheatsSafe.json +3257 -3257
- package/abi/StdInvariant.json +336 -336
- package/abi/StdUtils.json +1122 -1122
- package/abi/Storage.json +488 -488
- package/abi/StoreView.json +7 -7
- package/abi/SystemRegistry.json +625 -625
- package/abi/SystemTest.json +146 -146
- package/abi/Systems.json +1180 -1180
- package/abi/TableId.json +27 -27
- package/abi/Test.json +52 -52
- package/abi/TestBase.json +125 -125
- package/abi/TestSystem.json +146 -146
- package/abi/TightCoder.json +240 -240
- package/abi/Utils.json +67 -67
- package/abi/Vm.json +1850 -1850
- package/abi/VmSafe.json +1850 -1850
- package/abi/World.json +55 -55
- package/abi/WorldTest.json +5368 -5368
- package/abi/WorldTestSystem.json +5368 -5368
- package/abi/WorldTestTableHook.json +5368 -5368
- package/abi/console2.json +11459 -11459
- package/abi/constants.json +7 -7
- package/abi/getKeysWithValue.json +125 -125
- package/abi/getTargetTableSelector.json +72 -72
- package/abi/stdError.json +78 -78
- 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 +5 -5
- package/src/modules/core/CoreModule.sol +1 -0
- package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
- package/types/ethers-contracts/factories/KeysWithValueModuleTest__factory.ts +1 -1
- package/types/ethers-contracts/factories/PayableFallbackSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
- package/types/ethers-contracts/factories/WorldTest__factory.ts +1 -1
package/abi/IBaseWorld.json
CHANGED
|
@@ -2632,7 +2632,7 @@
|
|
|
2632
2632
|
57597,
|
|
2633
2633
|
57329,
|
|
2634
2634
|
1163,
|
|
2635
|
-
|
|
2635
|
+
70274
|
|
2636
2636
|
],
|
|
2637
2637
|
"name": "IBaseWorld",
|
|
2638
2638
|
"nameLocation": "421:10:96",
|
|
@@ -2646,12 +2646,12 @@
|
|
|
2646
2646
|
57320,
|
|
2647
2647
|
57324,
|
|
2648
2648
|
57328,
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2649
|
+
70251,
|
|
2650
|
+
70257,
|
|
2651
|
+
70259,
|
|
2652
|
+
70265,
|
|
2653
|
+
70271,
|
|
2654
|
+
70273
|
|
2655
2655
|
]
|
|
2656
2656
|
}
|
|
2657
2657
|
],
|
package/abi/IErrors.json
CHANGED
|
@@ -222,17 +222,17 @@
|
|
|
222
222
|
},
|
|
223
223
|
"ast": {
|
|
224
224
|
"absolutePath": "../../node_modules/@latticexyz/store/src/IErrors.sol",
|
|
225
|
-
"id":
|
|
225
|
+
"id": 70275,
|
|
226
226
|
"exportedSymbols": {
|
|
227
227
|
"IErrors": [
|
|
228
|
-
|
|
228
|
+
70274
|
|
229
229
|
]
|
|
230
230
|
},
|
|
231
231
|
"nodeType": "SourceUnit",
|
|
232
232
|
"src": "32:532:2",
|
|
233
233
|
"nodes": [
|
|
234
234
|
{
|
|
235
|
-
"id":
|
|
235
|
+
"id": 70245,
|
|
236
236
|
"nodeType": "PragmaDirective",
|
|
237
237
|
"src": "32:24:2",
|
|
238
238
|
"nodes": [],
|
|
@@ -244,12 +244,12 @@
|
|
|
244
244
|
]
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
|
-
"id":
|
|
247
|
+
"id": 70274,
|
|
248
248
|
"nodeType": "ContractDefinition",
|
|
249
249
|
"src": "58:505:2",
|
|
250
250
|
"nodes": [
|
|
251
251
|
{
|
|
252
|
-
"id":
|
|
252
|
+
"id": 70251,
|
|
253
253
|
"nodeType": "ErrorDefinition",
|
|
254
254
|
"src": "189:74:2",
|
|
255
255
|
"nodes": [],
|
|
@@ -257,17 +257,17 @@
|
|
|
257
257
|
"name": "StoreCore_TableAlreadyExists",
|
|
258
258
|
"nameLocation": "195:28:2",
|
|
259
259
|
"parameters": {
|
|
260
|
-
"id":
|
|
260
|
+
"id": 70250,
|
|
261
261
|
"nodeType": "ParameterList",
|
|
262
262
|
"parameters": [
|
|
263
263
|
{
|
|
264
264
|
"constant": false,
|
|
265
|
-
"id":
|
|
265
|
+
"id": 70247,
|
|
266
266
|
"mutability": "mutable",
|
|
267
267
|
"name": "tableId",
|
|
268
268
|
"nameLocation": "232:7:2",
|
|
269
269
|
"nodeType": "VariableDeclaration",
|
|
270
|
-
"scope":
|
|
270
|
+
"scope": 70251,
|
|
271
271
|
"src": "224:15:2",
|
|
272
272
|
"stateVariable": false,
|
|
273
273
|
"storageLocation": "default",
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
"typeString": "uint256"
|
|
277
277
|
},
|
|
278
278
|
"typeName": {
|
|
279
|
-
"id":
|
|
279
|
+
"id": 70246,
|
|
280
280
|
"name": "uint256",
|
|
281
281
|
"nodeType": "ElementaryTypeName",
|
|
282
282
|
"src": "224:7:2",
|
|
@@ -289,12 +289,12 @@
|
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
291
|
"constant": false,
|
|
292
|
-
"id":
|
|
292
|
+
"id": 70249,
|
|
293
293
|
"mutability": "mutable",
|
|
294
294
|
"name": "tableIdString",
|
|
295
295
|
"nameLocation": "248:13:2",
|
|
296
296
|
"nodeType": "VariableDeclaration",
|
|
297
|
-
"scope":
|
|
297
|
+
"scope": 70251,
|
|
298
298
|
"src": "241:20:2",
|
|
299
299
|
"stateVariable": false,
|
|
300
300
|
"storageLocation": "default",
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
"typeString": "string"
|
|
304
304
|
},
|
|
305
305
|
"typeName": {
|
|
306
|
-
"id":
|
|
306
|
+
"id": 70248,
|
|
307
307
|
"name": "string",
|
|
308
308
|
"nodeType": "ElementaryTypeName",
|
|
309
309
|
"src": "241:6:2",
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
}
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
|
-
"id":
|
|
322
|
+
"id": 70257,
|
|
323
323
|
"nodeType": "ErrorDefinition",
|
|
324
324
|
"src": "266:69:2",
|
|
325
325
|
"nodes": [],
|
|
@@ -327,17 +327,17 @@
|
|
|
327
327
|
"name": "StoreCore_TableNotFound",
|
|
328
328
|
"nameLocation": "272:23:2",
|
|
329
329
|
"parameters": {
|
|
330
|
-
"id":
|
|
330
|
+
"id": 70256,
|
|
331
331
|
"nodeType": "ParameterList",
|
|
332
332
|
"parameters": [
|
|
333
333
|
{
|
|
334
334
|
"constant": false,
|
|
335
|
-
"id":
|
|
335
|
+
"id": 70253,
|
|
336
336
|
"mutability": "mutable",
|
|
337
337
|
"name": "tableId",
|
|
338
338
|
"nameLocation": "304:7:2",
|
|
339
339
|
"nodeType": "VariableDeclaration",
|
|
340
|
-
"scope":
|
|
340
|
+
"scope": 70257,
|
|
341
341
|
"src": "296:15:2",
|
|
342
342
|
"stateVariable": false,
|
|
343
343
|
"storageLocation": "default",
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
"typeString": "uint256"
|
|
347
347
|
},
|
|
348
348
|
"typeName": {
|
|
349
|
-
"id":
|
|
349
|
+
"id": 70252,
|
|
350
350
|
"name": "uint256",
|
|
351
351
|
"nodeType": "ElementaryTypeName",
|
|
352
352
|
"src": "296:7:2",
|
|
@@ -359,12 +359,12 @@
|
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
361
|
"constant": false,
|
|
362
|
-
"id":
|
|
362
|
+
"id": 70255,
|
|
363
363
|
"mutability": "mutable",
|
|
364
364
|
"name": "tableIdString",
|
|
365
365
|
"nameLocation": "320:13:2",
|
|
366
366
|
"nodeType": "VariableDeclaration",
|
|
367
|
-
"scope":
|
|
367
|
+
"scope": 70257,
|
|
368
368
|
"src": "313:20:2",
|
|
369
369
|
"stateVariable": false,
|
|
370
370
|
"storageLocation": "default",
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"typeString": "string"
|
|
374
374
|
},
|
|
375
375
|
"typeName": {
|
|
376
|
-
"id":
|
|
376
|
+
"id": 70254,
|
|
377
377
|
"name": "string",
|
|
378
378
|
"nodeType": "ElementaryTypeName",
|
|
379
379
|
"src": "313:6:2",
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
}
|
|
390
390
|
},
|
|
391
391
|
{
|
|
392
|
-
"id":
|
|
392
|
+
"id": 70259,
|
|
393
393
|
"nodeType": "ErrorDefinition",
|
|
394
394
|
"src": "339:33:2",
|
|
395
395
|
"nodes": [],
|
|
@@ -397,14 +397,14 @@
|
|
|
397
397
|
"name": "StoreCore_NotImplemented",
|
|
398
398
|
"nameLocation": "345:24:2",
|
|
399
399
|
"parameters": {
|
|
400
|
-
"id":
|
|
400
|
+
"id": 70258,
|
|
401
401
|
"nodeType": "ParameterList",
|
|
402
402
|
"parameters": [],
|
|
403
403
|
"src": "369:2:2"
|
|
404
404
|
}
|
|
405
405
|
},
|
|
406
406
|
{
|
|
407
|
-
"id":
|
|
407
|
+
"id": 70265,
|
|
408
408
|
"nodeType": "ErrorDefinition",
|
|
409
409
|
"src": "375:70:2",
|
|
410
410
|
"nodes": [],
|
|
@@ -412,17 +412,17 @@
|
|
|
412
412
|
"name": "StoreCore_InvalidDataLength",
|
|
413
413
|
"nameLocation": "381:27:2",
|
|
414
414
|
"parameters": {
|
|
415
|
-
"id":
|
|
415
|
+
"id": 70264,
|
|
416
416
|
"nodeType": "ParameterList",
|
|
417
417
|
"parameters": [
|
|
418
418
|
{
|
|
419
419
|
"constant": false,
|
|
420
|
-
"id":
|
|
420
|
+
"id": 70261,
|
|
421
421
|
"mutability": "mutable",
|
|
422
422
|
"name": "expected",
|
|
423
423
|
"nameLocation": "417:8:2",
|
|
424
424
|
"nodeType": "VariableDeclaration",
|
|
425
|
-
"scope":
|
|
425
|
+
"scope": 70265,
|
|
426
426
|
"src": "409:16:2",
|
|
427
427
|
"stateVariable": false,
|
|
428
428
|
"storageLocation": "default",
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
"typeString": "uint256"
|
|
432
432
|
},
|
|
433
433
|
"typeName": {
|
|
434
|
-
"id":
|
|
434
|
+
"id": 70260,
|
|
435
435
|
"name": "uint256",
|
|
436
436
|
"nodeType": "ElementaryTypeName",
|
|
437
437
|
"src": "409:7:2",
|
|
@@ -444,12 +444,12 @@
|
|
|
444
444
|
},
|
|
445
445
|
{
|
|
446
446
|
"constant": false,
|
|
447
|
-
"id":
|
|
447
|
+
"id": 70263,
|
|
448
448
|
"mutability": "mutable",
|
|
449
449
|
"name": "received",
|
|
450
450
|
"nameLocation": "435:8:2",
|
|
451
451
|
"nodeType": "VariableDeclaration",
|
|
452
|
-
"scope":
|
|
452
|
+
"scope": 70265,
|
|
453
453
|
"src": "427:16:2",
|
|
454
454
|
"stateVariable": false,
|
|
455
455
|
"storageLocation": "default",
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
"typeString": "uint256"
|
|
459
459
|
},
|
|
460
460
|
"typeName": {
|
|
461
|
-
"id":
|
|
461
|
+
"id": 70262,
|
|
462
462
|
"name": "uint256",
|
|
463
463
|
"nodeType": "ElementaryTypeName",
|
|
464
464
|
"src": "427:7:2",
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
}
|
|
475
475
|
},
|
|
476
476
|
{
|
|
477
|
-
"id":
|
|
477
|
+
"id": 70271,
|
|
478
478
|
"nodeType": "ErrorDefinition",
|
|
479
479
|
"src": "448:76:2",
|
|
480
480
|
"nodes": [],
|
|
@@ -482,17 +482,17 @@
|
|
|
482
482
|
"name": "StoreCore_InvalidFieldNamesLength",
|
|
483
483
|
"nameLocation": "454:33:2",
|
|
484
484
|
"parameters": {
|
|
485
|
-
"id":
|
|
485
|
+
"id": 70270,
|
|
486
486
|
"nodeType": "ParameterList",
|
|
487
487
|
"parameters": [
|
|
488
488
|
{
|
|
489
489
|
"constant": false,
|
|
490
|
-
"id":
|
|
490
|
+
"id": 70267,
|
|
491
491
|
"mutability": "mutable",
|
|
492
492
|
"name": "expected",
|
|
493
493
|
"nameLocation": "496:8:2",
|
|
494
494
|
"nodeType": "VariableDeclaration",
|
|
495
|
-
"scope":
|
|
495
|
+
"scope": 70271,
|
|
496
496
|
"src": "488:16:2",
|
|
497
497
|
"stateVariable": false,
|
|
498
498
|
"storageLocation": "default",
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
"typeString": "uint256"
|
|
502
502
|
},
|
|
503
503
|
"typeName": {
|
|
504
|
-
"id":
|
|
504
|
+
"id": 70266,
|
|
505
505
|
"name": "uint256",
|
|
506
506
|
"nodeType": "ElementaryTypeName",
|
|
507
507
|
"src": "488:7:2",
|
|
@@ -514,12 +514,12 @@
|
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
516
|
"constant": false,
|
|
517
|
-
"id":
|
|
517
|
+
"id": 70269,
|
|
518
518
|
"mutability": "mutable",
|
|
519
519
|
"name": "received",
|
|
520
520
|
"nameLocation": "514:8:2",
|
|
521
521
|
"nodeType": "VariableDeclaration",
|
|
522
|
-
"scope":
|
|
522
|
+
"scope": 70271,
|
|
523
523
|
"src": "506:16:2",
|
|
524
524
|
"stateVariable": false,
|
|
525
525
|
"storageLocation": "default",
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
"typeString": "uint256"
|
|
529
529
|
},
|
|
530
530
|
"typeName": {
|
|
531
|
-
"id":
|
|
531
|
+
"id": 70268,
|
|
532
532
|
"name": "uint256",
|
|
533
533
|
"nodeType": "ElementaryTypeName",
|
|
534
534
|
"src": "506:7:2",
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
}
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
|
-
"id":
|
|
547
|
+
"id": 70273,
|
|
548
548
|
"nodeType": "ErrorDefinition",
|
|
549
549
|
"src": "527:34:2",
|
|
550
550
|
"nodes": [],
|
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
"name": "StoreCore_NotDynamicField",
|
|
553
553
|
"nameLocation": "533:25:2",
|
|
554
554
|
"parameters": {
|
|
555
|
-
"id":
|
|
555
|
+
"id": 70272,
|
|
556
556
|
"nodeType": "ParameterList",
|
|
557
557
|
"parameters": [],
|
|
558
558
|
"src": "558:2:2"
|
|
@@ -566,18 +566,18 @@
|
|
|
566
566
|
"contractKind": "interface",
|
|
567
567
|
"fullyImplemented": true,
|
|
568
568
|
"linearizedBaseContracts": [
|
|
569
|
-
|
|
569
|
+
70274
|
|
570
570
|
],
|
|
571
571
|
"name": "IErrors",
|
|
572
572
|
"nameLocation": "68:7:2",
|
|
573
|
-
"scope":
|
|
573
|
+
"scope": 70275,
|
|
574
574
|
"usedErrors": [
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
575
|
+
70251,
|
|
576
|
+
70257,
|
|
577
|
+
70259,
|
|
578
|
+
70265,
|
|
579
|
+
70271,
|
|
580
|
+
70273
|
|
581
581
|
]
|
|
582
582
|
}
|
|
583
583
|
],
|