@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.
Files changed (68) hide show
  1. package/abi/AccessControl.json +15 -15
  2. package/abi/AccessControlTest.json +273 -273
  3. package/abi/AddressArray.json +782 -782
  4. package/abi/ArrayLib.json +139 -139
  5. package/abi/Bool.json +539 -539
  6. package/abi/Call.json +6 -6
  7. package/abi/CommonBase.json +125 -125
  8. package/abi/CoreModule.json +259 -111
  9. package/abi/DecodeSlice.json +3187 -3187
  10. package/abi/FunctionSelectors.json +1412 -1412
  11. package/abi/Hooks.json +773 -773
  12. package/abi/IBaseWorld.json +7 -7
  13. package/abi/IErrors.json +48 -48
  14. package/abi/IMulticall3.json +283 -283
  15. package/abi/IRegistrationSystem.json +1 -1
  16. package/abi/IWorldTestSystem.json +5366 -5366
  17. package/abi/InstalledModules.json +1139 -1139
  18. package/abi/KeysWithValue.json +782 -782
  19. package/abi/KeysWithValueHook.json +369 -369
  20. package/abi/KeysWithValueModule.json +216 -216
  21. package/abi/KeysWithValueModuleTest.json +1274 -1274
  22. package/abi/NamespaceOwner.json +613 -613
  23. package/abi/PayableFallbackSystem.json +5368 -5368
  24. package/abi/RegistrationModule.json +307 -307
  25. package/abi/RegistrationSystem.json +885 -885
  26. package/abi/ResourceAccess.json +750 -750
  27. package/abi/ResourceType.json +627 -627
  28. package/abi/ScriptBase.json +125 -125
  29. package/abi/StdAssertions.json +1894 -1894
  30. package/abi/StdChains.json +1051 -1051
  31. package/abi/StdCheats.json +3257 -3257
  32. package/abi/StdCheatsSafe.json +3257 -3257
  33. package/abi/StdInvariant.json +336 -336
  34. package/abi/StdUtils.json +1122 -1122
  35. package/abi/Storage.json +488 -488
  36. package/abi/StoreView.json +7 -7
  37. package/abi/SystemRegistry.json +625 -625
  38. package/abi/SystemTest.json +146 -146
  39. package/abi/Systems.json +1180 -1180
  40. package/abi/TableId.json +27 -27
  41. package/abi/Test.json +52 -52
  42. package/abi/TestBase.json +125 -125
  43. package/abi/TestSystem.json +146 -146
  44. package/abi/TightCoder.json +240 -240
  45. package/abi/Utils.json +67 -67
  46. package/abi/Vm.json +1850 -1850
  47. package/abi/VmSafe.json +1850 -1850
  48. package/abi/World.json +55 -55
  49. package/abi/WorldTest.json +5368 -5368
  50. package/abi/WorldTestSystem.json +5368 -5368
  51. package/abi/WorldTestTableHook.json +5368 -5368
  52. package/abi/console2.json +11459 -11459
  53. package/abi/constants.json +7 -7
  54. package/abi/getKeysWithValue.json +125 -125
  55. package/abi/getTargetTableSelector.json +72 -72
  56. package/abi/stdError.json +78 -78
  57. package/abi/stdJson.json +1016 -1016
  58. package/abi/stdMath.json +218 -218
  59. package/abi/stdStorage.json +2400 -2400
  60. package/abi/stdStorageSafe.json +2400 -2400
  61. package/package.json +5 -5
  62. package/src/modules/core/CoreModule.sol +1 -0
  63. package/types/ethers-contracts/factories/CoreModule__factory.ts +1 -1
  64. package/types/ethers-contracts/factories/KeysWithValueModuleTest__factory.ts +1 -1
  65. package/types/ethers-contracts/factories/PayableFallbackSystem__factory.ts +1 -1
  66. package/types/ethers-contracts/factories/WorldTestSystem__factory.ts +1 -1
  67. package/types/ethers-contracts/factories/WorldTestTableHook__factory.ts +1 -1
  68. package/types/ethers-contracts/factories/WorldTest__factory.ts +1 -1
@@ -2632,7 +2632,7 @@
2632
2632
  57597,
2633
2633
  57329,
2634
2634
  1163,
2635
- 70263
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
- 70240,
2650
- 70246,
2651
- 70248,
2652
- 70254,
2653
- 70260,
2654
- 70262
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": 70264,
225
+ "id": 70275,
226
226
  "exportedSymbols": {
227
227
  "IErrors": [
228
- 70263
228
+ 70274
229
229
  ]
230
230
  },
231
231
  "nodeType": "SourceUnit",
232
232
  "src": "32:532:2",
233
233
  "nodes": [
234
234
  {
235
- "id": 70234,
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": 70263,
247
+ "id": 70274,
248
248
  "nodeType": "ContractDefinition",
249
249
  "src": "58:505:2",
250
250
  "nodes": [
251
251
  {
252
- "id": 70240,
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": 70239,
260
+ "id": 70250,
261
261
  "nodeType": "ParameterList",
262
262
  "parameters": [
263
263
  {
264
264
  "constant": false,
265
- "id": 70236,
265
+ "id": 70247,
266
266
  "mutability": "mutable",
267
267
  "name": "tableId",
268
268
  "nameLocation": "232:7:2",
269
269
  "nodeType": "VariableDeclaration",
270
- "scope": 70240,
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": 70235,
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": 70238,
292
+ "id": 70249,
293
293
  "mutability": "mutable",
294
294
  "name": "tableIdString",
295
295
  "nameLocation": "248:13:2",
296
296
  "nodeType": "VariableDeclaration",
297
- "scope": 70240,
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": 70237,
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": 70246,
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": 70245,
330
+ "id": 70256,
331
331
  "nodeType": "ParameterList",
332
332
  "parameters": [
333
333
  {
334
334
  "constant": false,
335
- "id": 70242,
335
+ "id": 70253,
336
336
  "mutability": "mutable",
337
337
  "name": "tableId",
338
338
  "nameLocation": "304:7:2",
339
339
  "nodeType": "VariableDeclaration",
340
- "scope": 70246,
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": 70241,
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": 70244,
362
+ "id": 70255,
363
363
  "mutability": "mutable",
364
364
  "name": "tableIdString",
365
365
  "nameLocation": "320:13:2",
366
366
  "nodeType": "VariableDeclaration",
367
- "scope": 70246,
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": 70243,
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": 70248,
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": 70247,
400
+ "id": 70258,
401
401
  "nodeType": "ParameterList",
402
402
  "parameters": [],
403
403
  "src": "369:2:2"
404
404
  }
405
405
  },
406
406
  {
407
- "id": 70254,
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": 70253,
415
+ "id": 70264,
416
416
  "nodeType": "ParameterList",
417
417
  "parameters": [
418
418
  {
419
419
  "constant": false,
420
- "id": 70250,
420
+ "id": 70261,
421
421
  "mutability": "mutable",
422
422
  "name": "expected",
423
423
  "nameLocation": "417:8:2",
424
424
  "nodeType": "VariableDeclaration",
425
- "scope": 70254,
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": 70249,
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": 70252,
447
+ "id": 70263,
448
448
  "mutability": "mutable",
449
449
  "name": "received",
450
450
  "nameLocation": "435:8:2",
451
451
  "nodeType": "VariableDeclaration",
452
- "scope": 70254,
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": 70251,
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": 70260,
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": 70259,
485
+ "id": 70270,
486
486
  "nodeType": "ParameterList",
487
487
  "parameters": [
488
488
  {
489
489
  "constant": false,
490
- "id": 70256,
490
+ "id": 70267,
491
491
  "mutability": "mutable",
492
492
  "name": "expected",
493
493
  "nameLocation": "496:8:2",
494
494
  "nodeType": "VariableDeclaration",
495
- "scope": 70260,
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": 70255,
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": 70258,
517
+ "id": 70269,
518
518
  "mutability": "mutable",
519
519
  "name": "received",
520
520
  "nameLocation": "514:8:2",
521
521
  "nodeType": "VariableDeclaration",
522
- "scope": 70260,
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": 70257,
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": 70262,
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": 70261,
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
- 70263
569
+ 70274
570
570
  ],
571
571
  "name": "IErrors",
572
572
  "nameLocation": "68:7:2",
573
- "scope": 70264,
573
+ "scope": 70275,
574
574
  "usedErrors": [
575
- 70240,
576
- 70246,
577
- 70248,
578
- 70254,
579
- 70260,
580
- 70262
575
+ 70251,
576
+ 70257,
577
+ 70259,
578
+ 70265,
579
+ 70271,
580
+ 70273
581
581
  ]
582
582
  }
583
583
  ],