@latticexyz/world 3.0.0-main-3440a86b5 → 3.0.0-main-69eb63b59
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/dist/{chunk-OZBNK257.js → chunk-2DPDMM6H.js} +2 -2
- package/dist/chunk-3EELS6P3.js +2 -0
- package/dist/chunk-3EELS6P3.js.map +1 -0
- package/dist/config/v2.d.ts +1 -1
- package/dist/config/v2.js +1 -1
- package/dist/index.d.ts +3 -12
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internal.js +1 -1
- package/dist/mud.config.d.ts +269 -288
- package/dist/mud.config.js +1 -1
- package/dist/node.js +1 -1
- package/dist/node.js.map +1 -1
- package/dist/{world-6e8198d8.d.ts → world-ae07544a.d.ts} +3 -5
- package/out/AccessControl.sol/AccessControl.json +1 -1
- package/out/AccessControl.t.sol/AccessControlTest.json +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/AddressArray.sol/AddressArray.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/Balances.sol/Balances.json +1 -1
- package/out/BatchCall.t.sol/BatchCallTest.json +1 -1
- package/out/BatchCall.t.sol/TestSystem.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/Bool.sol/Bool.json +1 -1
- package/out/Delegation.sol/Delegation.json +1 -1
- package/out/DelegationControl.sol/DelegationControl.json +1 -1
- package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
- package/out/Factories.t.sol/FactoriesTest.json +1 -1
- package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
- package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
- package/out/Hook.sol/HookInstance.json +1 -1
- package/out/Hook.sol/HookLib.json +1 -1
- package/out/Hooks.sol/Hooks.json +1 -1
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/InitModule.t.sol/InitModuleTest.json +1 -1
- package/out/InitModule.t.sol/WorldMock.json +1 -1
- package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
- package/out/InitSystems.t.sol/LimitedCallContextTest.json +1 -1
- package/out/InstalledModules.sol/InstalledModules.json +1 -1
- package/out/Module.sol/Module.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
- package/out/MudTest.t.sol/MudTest.json +1 -1
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
- package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
- package/out/ResourceIds.sol/ResourceIds.json +1 -1
- package/out/Store.sol/Store.json +1 -1
- package/out/StoreCore.sol/StoreCore.json +1 -1
- package/out/StoreCore.sol/StoreCoreInternal.json +1 -1
- package/out/StoreHooks.sol/StoreHooks.json +1 -1
- package/out/StoreKernel.sol/StoreKernel.json +1 -1
- package/out/StoreMock.sol/StoreMock.json +1 -1
- package/out/StoreRead.sol/StoreRead.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
- package/out/StoreSwitch.sol/StoreSwitch.json +1 -1
- package/out/System.sol/System.json +1 -1
- package/out/System.t.sol/SystemTest.json +1 -1
- package/out/System.t.sol/TestSystem.json +1 -1
- package/out/SystemCall.sol/SystemCall.json +1 -1
- package/out/SystemHook.t.sol/SystemHookTest.json +1 -1
- package/out/SystemHooks.sol/SystemHooks.json +1 -1
- package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
- package/out/Systems.sol/Systems.json +1 -1
- package/out/Tables.sol/Tables.json +1 -1
- package/out/TwoFields.sol/TwoFields.json +1 -1
- package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
- package/out/Utils.sol/Utils.json +1 -1
- package/out/Utils.t.sol/UtilsTest.json +1 -1
- package/out/Utils.t.sol/UtilsTestSystem.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/World.t.sol/EchoSystemHook.json +1 -1
- package/out/World.t.sol/IWorldTestSystem.json +1 -1
- package/out/World.t.sol/PayableFallbackSystem.json +1 -1
- package/out/World.t.sol/RevertSystemHook.json +1 -1
- package/out/World.t.sol/WorldTest.json +1 -1
- package/out/World.t.sol/WorldTestSystem.json +1 -1
- package/out/WorldBalance.t.sol/WorldBalanceTest.json +1 -1
- package/out/WorldBalance.t.sol/WorldBalanceTestSystem.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
- package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
- package/out/WorldContext.t.sol/TestContextConsumer.json +1 -1
- package/out/WorldContext.t.sol/WorldContextTest.json +1 -1
- package/out/WorldDynamicUpdate.t.sol/UpdateInDynamicFieldTest.json +1 -1
- package/out/WorldFactory.sol/WorldFactory.json +1 -1
- package/out/WorldProxy.sol/WorldProxy.json +1 -1
- package/out/WorldProxy.t.sol/WorldProxyTest.json +1 -1
- package/out/WorldProxyFactory.sol/WorldProxyFactory.json +1 -1
- package/out/WorldProxyFactory.t.sol/WorldProxyFactoryTest.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
- package/out/build-info/{11c85b26e1969ca82de39d2cfbd09ca2.json → 7d027d3c2c4234c547896a757e5b3269.json} +1 -1
- package/package.json +8 -8
- package/src/codegen/interfaces/IAccessManagementSystem.sol +1 -1
- package/src/codegen/interfaces/IBatchCallSystem.sol +1 -1
- package/src/codegen/interfaces/IModuleInstallationSystem.sol +1 -1
- package/src/codegen/interfaces/IWorldRegistrationSystem.sol +2 -2
- package/dist/chunk-BH75YTBY.js +0 -2
- package/dist/chunk-BH75YTBY.js.map +0 -1
- /package/dist/{chunk-OZBNK257.js.map → chunk-2DPDMM6H.js.map} +0 -0
package/dist/mud.config.d.ts
CHANGED
@@ -358,348 +358,329 @@ declare const _default: {
|
|
358
358
|
readonly world: {
|
359
359
|
readonly label: "world";
|
360
360
|
readonly namespace: string;
|
361
|
-
readonly tables: {
|
362
|
-
readonly NamespaceOwner: {
|
363
|
-
readonly label: "NamespaceOwner";
|
364
|
-
readonly type: "table";
|
365
|
-
readonly namespace: string;
|
366
|
-
readonly name: string;
|
367
|
-
readonly tableId: `0x${string}`;
|
361
|
+
readonly tables: _latticexyz_store_config_v2.resolveTables<{
|
362
|
+
readonly NamespaceOwner: _latticexyz_store_config_v2.mergeIfUndefined<{
|
368
363
|
readonly schema: {
|
369
|
-
readonly namespaceId:
|
370
|
-
|
371
|
-
readonly internalType: "ResourceId";
|
372
|
-
};
|
373
|
-
readonly owner: {
|
374
|
-
readonly type: "address";
|
375
|
-
readonly internalType: "address";
|
376
|
-
};
|
364
|
+
readonly namespaceId: "ResourceId";
|
365
|
+
readonly owner: "address";
|
377
366
|
};
|
378
367
|
readonly key: readonly ["namespaceId"];
|
379
|
-
|
380
|
-
readonly outputDirectory: string;
|
381
|
-
readonly tableIdArgument: false;
|
382
|
-
readonly storeArgument: false;
|
383
|
-
readonly dataStruct: boolean;
|
384
|
-
};
|
385
|
-
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
386
|
-
readonly disabled: false;
|
387
|
-
}>;
|
388
|
-
};
|
389
|
-
readonly ResourceAccess: {
|
390
|
-
readonly label: "ResourceAccess";
|
391
|
-
readonly type: "table";
|
368
|
+
}, {
|
392
369
|
readonly namespace: string;
|
393
|
-
|
394
|
-
|
370
|
+
}>;
|
371
|
+
readonly ResourceAccess: _latticexyz_store_config_v2.mergeIfUndefined<{
|
395
372
|
readonly schema: {
|
396
|
-
readonly resourceId:
|
397
|
-
|
398
|
-
|
399
|
-
};
|
400
|
-
readonly caller: {
|
401
|
-
readonly type: "address";
|
402
|
-
readonly internalType: "address";
|
403
|
-
};
|
404
|
-
readonly access: {
|
405
|
-
readonly type: "bool";
|
406
|
-
readonly internalType: "bool";
|
407
|
-
};
|
373
|
+
readonly resourceId: "ResourceId";
|
374
|
+
readonly caller: "address";
|
375
|
+
readonly access: "bool";
|
408
376
|
};
|
409
377
|
readonly key: readonly ["resourceId", "caller"];
|
410
|
-
|
411
|
-
readonly outputDirectory: string;
|
412
|
-
readonly tableIdArgument: false;
|
413
|
-
readonly storeArgument: false;
|
414
|
-
readonly dataStruct: boolean;
|
415
|
-
};
|
416
|
-
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
417
|
-
readonly disabled: false;
|
418
|
-
}>;
|
419
|
-
};
|
420
|
-
readonly InstalledModules: {
|
421
|
-
readonly label: "InstalledModules";
|
422
|
-
readonly type: "table";
|
378
|
+
}, {
|
423
379
|
readonly namespace: string;
|
424
|
-
|
425
|
-
|
380
|
+
}>;
|
381
|
+
readonly InstalledModules: _latticexyz_store_config_v2.mergeIfUndefined<{
|
426
382
|
readonly schema: {
|
427
|
-
readonly moduleAddress:
|
428
|
-
|
429
|
-
|
430
|
-
};
|
431
|
-
readonly argumentsHash: {
|
432
|
-
readonly type: "bytes32";
|
433
|
-
readonly internalType: "bytes32";
|
434
|
-
};
|
435
|
-
readonly isInstalled: {
|
436
|
-
readonly type: "bool";
|
437
|
-
readonly internalType: "bool";
|
438
|
-
};
|
383
|
+
readonly moduleAddress: "address";
|
384
|
+
readonly argumentsHash: "bytes32";
|
385
|
+
readonly isInstalled: "bool";
|
439
386
|
};
|
440
387
|
readonly key: readonly ["moduleAddress", "argumentsHash"];
|
441
|
-
|
442
|
-
readonly outputDirectory: string;
|
443
|
-
readonly tableIdArgument: false;
|
444
|
-
readonly storeArgument: false;
|
445
|
-
readonly dataStruct: boolean;
|
446
|
-
};
|
447
|
-
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
448
|
-
readonly disabled: false;
|
449
|
-
}>;
|
450
|
-
};
|
451
|
-
readonly UserDelegationControl: {
|
452
|
-
readonly label: "UserDelegationControl";
|
453
|
-
readonly type: "table";
|
388
|
+
}, {
|
454
389
|
readonly namespace: string;
|
455
|
-
|
456
|
-
|
390
|
+
}>;
|
391
|
+
readonly UserDelegationControl: _latticexyz_store_config_v2.mergeIfUndefined<{
|
457
392
|
readonly schema: {
|
458
|
-
readonly delegator:
|
459
|
-
|
460
|
-
|
461
|
-
};
|
462
|
-
readonly delegatee: {
|
463
|
-
readonly type: "address";
|
464
|
-
readonly internalType: "address";
|
465
|
-
};
|
466
|
-
readonly delegationControlId: {
|
467
|
-
readonly type: "bytes32";
|
468
|
-
readonly internalType: "ResourceId";
|
469
|
-
};
|
393
|
+
readonly delegator: "address";
|
394
|
+
readonly delegatee: "address";
|
395
|
+
readonly delegationControlId: "ResourceId";
|
470
396
|
};
|
471
397
|
readonly key: readonly ["delegator", "delegatee"];
|
472
|
-
|
473
|
-
readonly outputDirectory: string;
|
474
|
-
readonly tableIdArgument: false;
|
475
|
-
readonly storeArgument: false;
|
476
|
-
readonly dataStruct: boolean;
|
477
|
-
};
|
478
|
-
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
479
|
-
readonly disabled: false;
|
480
|
-
}>;
|
481
|
-
};
|
482
|
-
readonly NamespaceDelegationControl: {
|
483
|
-
readonly label: "NamespaceDelegationControl";
|
484
|
-
readonly type: "table";
|
398
|
+
}, {
|
485
399
|
readonly namespace: string;
|
486
|
-
|
487
|
-
|
400
|
+
}>;
|
401
|
+
readonly NamespaceDelegationControl: _latticexyz_store_config_v2.mergeIfUndefined<{
|
488
402
|
readonly schema: {
|
489
|
-
readonly namespaceId:
|
490
|
-
|
491
|
-
readonly internalType: "ResourceId";
|
492
|
-
};
|
493
|
-
readonly delegationControlId: {
|
494
|
-
readonly type: "bytes32";
|
495
|
-
readonly internalType: "ResourceId";
|
496
|
-
};
|
403
|
+
readonly namespaceId: "ResourceId";
|
404
|
+
readonly delegationControlId: "ResourceId";
|
497
405
|
};
|
498
406
|
readonly key: readonly ["namespaceId"];
|
499
|
-
|
500
|
-
readonly outputDirectory: string;
|
501
|
-
readonly tableIdArgument: false;
|
502
|
-
readonly storeArgument: false;
|
503
|
-
readonly dataStruct: boolean;
|
504
|
-
};
|
505
|
-
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
506
|
-
readonly disabled: false;
|
507
|
-
}>;
|
508
|
-
};
|
509
|
-
readonly Balances: {
|
510
|
-
readonly label: "Balances";
|
511
|
-
readonly type: "table";
|
407
|
+
}, {
|
512
408
|
readonly namespace: string;
|
513
|
-
|
514
|
-
|
409
|
+
}>;
|
410
|
+
readonly Balances: _latticexyz_store_config_v2.mergeIfUndefined<{
|
515
411
|
readonly schema: {
|
516
|
-
readonly namespaceId:
|
517
|
-
|
518
|
-
readonly internalType: "ResourceId";
|
519
|
-
};
|
520
|
-
readonly balance: {
|
521
|
-
readonly type: "uint256";
|
522
|
-
readonly internalType: "uint256";
|
523
|
-
};
|
412
|
+
readonly namespaceId: "ResourceId";
|
413
|
+
readonly balance: "uint256";
|
524
414
|
};
|
525
415
|
readonly key: readonly ["namespaceId"];
|
526
|
-
|
527
|
-
readonly outputDirectory: string;
|
528
|
-
readonly tableIdArgument: false;
|
529
|
-
readonly storeArgument: false;
|
530
|
-
readonly dataStruct: boolean;
|
531
|
-
};
|
532
|
-
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
533
|
-
readonly disabled: false;
|
534
|
-
}>;
|
535
|
-
};
|
536
|
-
readonly Systems: {
|
537
|
-
readonly label: "Systems";
|
538
|
-
readonly type: "table";
|
416
|
+
}, {
|
539
417
|
readonly namespace: string;
|
540
|
-
|
541
|
-
|
418
|
+
}>;
|
419
|
+
readonly Systems: _latticexyz_store_config_v2.mergeIfUndefined<{
|
542
420
|
readonly schema: {
|
543
|
-
readonly systemId:
|
544
|
-
|
545
|
-
|
546
|
-
};
|
547
|
-
readonly system: {
|
548
|
-
readonly type: "address";
|
549
|
-
readonly internalType: "address";
|
550
|
-
};
|
551
|
-
readonly publicAccess: {
|
552
|
-
readonly type: "bool";
|
553
|
-
readonly internalType: "bool";
|
554
|
-
};
|
421
|
+
readonly systemId: "ResourceId";
|
422
|
+
readonly system: "address";
|
423
|
+
readonly publicAccess: "bool";
|
555
424
|
};
|
556
425
|
readonly key: readonly ["systemId"];
|
557
426
|
readonly codegen: {
|
558
|
-
readonly outputDirectory: string;
|
559
|
-
readonly tableIdArgument: false;
|
560
|
-
readonly storeArgument: false;
|
561
427
|
readonly dataStruct: false;
|
562
428
|
};
|
563
|
-
|
564
|
-
readonly disabled: false;
|
565
|
-
}>;
|
566
|
-
};
|
567
|
-
readonly SystemRegistry: {
|
568
|
-
readonly label: "SystemRegistry";
|
569
|
-
readonly type: "table";
|
429
|
+
}, {
|
570
430
|
readonly namespace: string;
|
571
|
-
|
572
|
-
|
431
|
+
}>;
|
432
|
+
readonly SystemRegistry: _latticexyz_store_config_v2.mergeIfUndefined<{
|
573
433
|
readonly schema: {
|
574
|
-
readonly system:
|
575
|
-
|
576
|
-
readonly internalType: "address";
|
577
|
-
};
|
578
|
-
readonly systemId: {
|
579
|
-
readonly type: "bytes32";
|
580
|
-
readonly internalType: "ResourceId";
|
581
|
-
};
|
434
|
+
readonly system: "address";
|
435
|
+
readonly systemId: "ResourceId";
|
582
436
|
};
|
583
437
|
readonly key: readonly ["system"];
|
584
|
-
|
585
|
-
readonly outputDirectory: string;
|
586
|
-
readonly tableIdArgument: false;
|
587
|
-
readonly storeArgument: false;
|
588
|
-
readonly dataStruct: boolean;
|
589
|
-
};
|
590
|
-
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
591
|
-
readonly disabled: false;
|
592
|
-
}>;
|
593
|
-
};
|
594
|
-
readonly SystemHooks: {
|
595
|
-
readonly label: "SystemHooks";
|
596
|
-
readonly type: "table";
|
438
|
+
}, {
|
597
439
|
readonly namespace: string;
|
598
|
-
|
599
|
-
|
440
|
+
}>;
|
441
|
+
readonly SystemHooks: _latticexyz_store_config_v2.mergeIfUndefined<{
|
600
442
|
readonly schema: {
|
601
|
-
readonly systemId:
|
602
|
-
|
603
|
-
readonly internalType: "ResourceId";
|
604
|
-
};
|
605
|
-
readonly value: {
|
606
|
-
readonly type: "bytes21[]";
|
607
|
-
readonly internalType: "bytes21[]";
|
608
|
-
};
|
443
|
+
readonly systemId: "ResourceId";
|
444
|
+
readonly value: "bytes21[]";
|
609
445
|
};
|
610
446
|
readonly key: readonly ["systemId"];
|
611
|
-
|
612
|
-
readonly outputDirectory: string;
|
613
|
-
readonly tableIdArgument: false;
|
614
|
-
readonly storeArgument: false;
|
615
|
-
readonly dataStruct: boolean;
|
616
|
-
};
|
617
|
-
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
618
|
-
readonly disabled: false;
|
619
|
-
}>;
|
620
|
-
};
|
621
|
-
readonly FunctionSelectors: {
|
622
|
-
readonly label: "FunctionSelectors";
|
623
|
-
readonly type: "table";
|
447
|
+
}, {
|
624
448
|
readonly namespace: string;
|
625
|
-
|
626
|
-
|
449
|
+
}>;
|
450
|
+
readonly FunctionSelectors: _latticexyz_store_config_v2.mergeIfUndefined<{
|
627
451
|
readonly schema: {
|
628
|
-
readonly worldFunctionSelector:
|
629
|
-
|
630
|
-
|
631
|
-
};
|
632
|
-
readonly systemId: {
|
633
|
-
readonly type: "bytes32";
|
634
|
-
readonly internalType: "ResourceId";
|
635
|
-
};
|
636
|
-
readonly systemFunctionSelector: {
|
637
|
-
readonly type: "bytes4";
|
638
|
-
readonly internalType: "bytes4";
|
639
|
-
};
|
452
|
+
readonly worldFunctionSelector: "bytes4";
|
453
|
+
readonly systemId: "ResourceId";
|
454
|
+
readonly systemFunctionSelector: "bytes4";
|
640
455
|
};
|
641
456
|
readonly key: readonly ["worldFunctionSelector"];
|
642
457
|
readonly codegen: {
|
643
|
-
readonly outputDirectory: string;
|
644
|
-
readonly tableIdArgument: false;
|
645
|
-
readonly storeArgument: false;
|
646
458
|
readonly dataStruct: false;
|
647
459
|
};
|
648
|
-
|
649
|
-
readonly disabled: false;
|
650
|
-
}>;
|
651
|
-
};
|
652
|
-
readonly FunctionSignatures: {
|
653
|
-
readonly label: "FunctionSignatures";
|
654
|
-
readonly type: "offchainTable";
|
460
|
+
}, {
|
655
461
|
readonly namespace: string;
|
656
|
-
|
657
|
-
|
462
|
+
}>;
|
463
|
+
readonly FunctionSignatures: _latticexyz_store_config_v2.mergeIfUndefined<{
|
464
|
+
readonly type: "offchainTable";
|
658
465
|
readonly schema: {
|
659
|
-
readonly functionSelector:
|
660
|
-
|
661
|
-
readonly internalType: "bytes4";
|
662
|
-
};
|
663
|
-
readonly functionSignature: {
|
664
|
-
readonly type: "string";
|
665
|
-
readonly internalType: "string";
|
666
|
-
};
|
466
|
+
readonly functionSelector: "bytes4";
|
467
|
+
readonly functionSignature: "string";
|
667
468
|
};
|
668
469
|
readonly key: readonly ["functionSelector"];
|
669
|
-
|
670
|
-
readonly outputDirectory: string;
|
671
|
-
readonly tableIdArgument: false;
|
672
|
-
readonly storeArgument: false;
|
673
|
-
readonly dataStruct: boolean;
|
674
|
-
};
|
675
|
-
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
676
|
-
readonly disabled: false;
|
677
|
-
}>;
|
678
|
-
};
|
679
|
-
readonly InitModuleAddress: {
|
680
|
-
readonly label: "InitModuleAddress";
|
681
|
-
readonly type: "table";
|
470
|
+
}, {
|
682
471
|
readonly namespace: string;
|
683
|
-
|
684
|
-
|
472
|
+
}>;
|
473
|
+
readonly InitModuleAddress: _latticexyz_store_config_v2.mergeIfUndefined<{
|
685
474
|
readonly schema: {
|
686
|
-
readonly value:
|
687
|
-
readonly type: "address";
|
688
|
-
readonly internalType: "address";
|
689
|
-
};
|
475
|
+
readonly value: "address";
|
690
476
|
};
|
691
477
|
readonly key: readonly [];
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
478
|
+
}, {
|
479
|
+
readonly namespace: string;
|
480
|
+
}>;
|
481
|
+
}, {
|
482
|
+
types: {
|
483
|
+
string: "string";
|
484
|
+
bytes32: "bytes32";
|
485
|
+
uint8: "uint8";
|
486
|
+
uint16: "uint16";
|
487
|
+
uint24: "uint24";
|
488
|
+
uint32: "uint32";
|
489
|
+
uint40: "uint40";
|
490
|
+
uint48: "uint48";
|
491
|
+
uint56: "uint56";
|
492
|
+
uint64: "uint64";
|
493
|
+
uint72: "uint72";
|
494
|
+
uint80: "uint80";
|
495
|
+
uint88: "uint88";
|
496
|
+
uint96: "uint96";
|
497
|
+
uint104: "uint104";
|
498
|
+
uint112: "uint112";
|
499
|
+
uint120: "uint120";
|
500
|
+
uint128: "uint128";
|
501
|
+
uint136: "uint136";
|
502
|
+
uint144: "uint144";
|
503
|
+
uint152: "uint152";
|
504
|
+
uint160: "uint160";
|
505
|
+
uint168: "uint168";
|
506
|
+
uint176: "uint176";
|
507
|
+
uint184: "uint184";
|
508
|
+
uint192: "uint192";
|
509
|
+
uint200: "uint200";
|
510
|
+
uint208: "uint208";
|
511
|
+
uint216: "uint216";
|
512
|
+
uint224: "uint224";
|
513
|
+
uint232: "uint232";
|
514
|
+
uint240: "uint240";
|
515
|
+
uint248: "uint248";
|
516
|
+
uint256: "uint256";
|
517
|
+
int8: "int8";
|
518
|
+
int16: "int16";
|
519
|
+
int24: "int24";
|
520
|
+
int32: "int32";
|
521
|
+
int40: "int40";
|
522
|
+
int48: "int48";
|
523
|
+
int56: "int56";
|
524
|
+
int64: "int64";
|
525
|
+
int72: "int72";
|
526
|
+
int80: "int80";
|
527
|
+
int88: "int88";
|
528
|
+
int96: "int96";
|
529
|
+
int104: "int104";
|
530
|
+
int112: "int112";
|
531
|
+
int120: "int120";
|
532
|
+
int128: "int128";
|
533
|
+
int136: "int136";
|
534
|
+
int144: "int144";
|
535
|
+
int152: "int152";
|
536
|
+
int160: "int160";
|
537
|
+
int168: "int168";
|
538
|
+
int176: "int176";
|
539
|
+
int184: "int184";
|
540
|
+
int192: "int192";
|
541
|
+
int200: "int200";
|
542
|
+
int208: "int208";
|
543
|
+
int216: "int216";
|
544
|
+
int224: "int224";
|
545
|
+
int232: "int232";
|
546
|
+
int240: "int240";
|
547
|
+
int248: "int248";
|
548
|
+
int256: "int256";
|
549
|
+
bytes1: "bytes1";
|
550
|
+
bytes2: "bytes2";
|
551
|
+
bytes3: "bytes3";
|
552
|
+
bytes4: "bytes4";
|
553
|
+
bytes5: "bytes5";
|
554
|
+
bytes6: "bytes6";
|
555
|
+
bytes7: "bytes7";
|
556
|
+
bytes8: "bytes8";
|
557
|
+
bytes9: "bytes9";
|
558
|
+
bytes10: "bytes10";
|
559
|
+
bytes11: "bytes11";
|
560
|
+
bytes12: "bytes12";
|
561
|
+
bytes13: "bytes13";
|
562
|
+
bytes14: "bytes14";
|
563
|
+
bytes15: "bytes15";
|
564
|
+
bytes16: "bytes16";
|
565
|
+
bytes17: "bytes17";
|
566
|
+
bytes18: "bytes18";
|
567
|
+
bytes19: "bytes19";
|
568
|
+
bytes20: "bytes20";
|
569
|
+
bytes21: "bytes21";
|
570
|
+
bytes22: "bytes22";
|
571
|
+
bytes23: "bytes23";
|
572
|
+
bytes24: "bytes24";
|
573
|
+
bytes25: "bytes25";
|
574
|
+
bytes26: "bytes26";
|
575
|
+
bytes27: "bytes27";
|
576
|
+
bytes28: "bytes28";
|
577
|
+
bytes29: "bytes29";
|
578
|
+
bytes30: "bytes30";
|
579
|
+
bytes31: "bytes31";
|
580
|
+
bool: "bool";
|
581
|
+
address: "address";
|
582
|
+
"uint8[]": "uint8[]";
|
583
|
+
"uint16[]": "uint16[]";
|
584
|
+
"uint24[]": "uint24[]";
|
585
|
+
"uint32[]": "uint32[]";
|
586
|
+
"uint40[]": "uint40[]";
|
587
|
+
"uint48[]": "uint48[]";
|
588
|
+
"uint56[]": "uint56[]";
|
589
|
+
"uint64[]": "uint64[]";
|
590
|
+
"uint72[]": "uint72[]";
|
591
|
+
"uint80[]": "uint80[]";
|
592
|
+
"uint88[]": "uint88[]";
|
593
|
+
"uint96[]": "uint96[]";
|
594
|
+
"uint104[]": "uint104[]";
|
595
|
+
"uint112[]": "uint112[]";
|
596
|
+
"uint120[]": "uint120[]";
|
597
|
+
"uint128[]": "uint128[]";
|
598
|
+
"uint136[]": "uint136[]";
|
599
|
+
"uint144[]": "uint144[]";
|
600
|
+
"uint152[]": "uint152[]";
|
601
|
+
"uint160[]": "uint160[]";
|
602
|
+
"uint168[]": "uint168[]";
|
603
|
+
"uint176[]": "uint176[]";
|
604
|
+
"uint184[]": "uint184[]";
|
605
|
+
"uint192[]": "uint192[]";
|
606
|
+
"uint200[]": "uint200[]";
|
607
|
+
"uint208[]": "uint208[]";
|
608
|
+
"uint216[]": "uint216[]";
|
609
|
+
"uint224[]": "uint224[]";
|
610
|
+
"uint232[]": "uint232[]";
|
611
|
+
"uint240[]": "uint240[]";
|
612
|
+
"uint248[]": "uint248[]";
|
613
|
+
"uint256[]": "uint256[]";
|
614
|
+
"int8[]": "int8[]";
|
615
|
+
"int16[]": "int16[]";
|
616
|
+
"int24[]": "int24[]";
|
617
|
+
"int32[]": "int32[]";
|
618
|
+
"int40[]": "int40[]";
|
619
|
+
"int48[]": "int48[]";
|
620
|
+
"int56[]": "int56[]";
|
621
|
+
"int64[]": "int64[]";
|
622
|
+
"int72[]": "int72[]";
|
623
|
+
"int80[]": "int80[]";
|
624
|
+
"int88[]": "int88[]";
|
625
|
+
"int96[]": "int96[]";
|
626
|
+
"int104[]": "int104[]";
|
627
|
+
"int112[]": "int112[]";
|
628
|
+
"int120[]": "int120[]";
|
629
|
+
"int128[]": "int128[]";
|
630
|
+
"int136[]": "int136[]";
|
631
|
+
"int144[]": "int144[]";
|
632
|
+
"int152[]": "int152[]";
|
633
|
+
"int160[]": "int160[]";
|
634
|
+
"int168[]": "int168[]";
|
635
|
+
"int176[]": "int176[]";
|
636
|
+
"int184[]": "int184[]";
|
637
|
+
"int192[]": "int192[]";
|
638
|
+
"int200[]": "int200[]";
|
639
|
+
"int208[]": "int208[]";
|
640
|
+
"int216[]": "int216[]";
|
641
|
+
"int224[]": "int224[]";
|
642
|
+
"int232[]": "int232[]";
|
643
|
+
"int240[]": "int240[]";
|
644
|
+
"int248[]": "int248[]";
|
645
|
+
"int256[]": "int256[]";
|
646
|
+
"bytes1[]": "bytes1[]";
|
647
|
+
"bytes2[]": "bytes2[]";
|
648
|
+
"bytes3[]": "bytes3[]";
|
649
|
+
"bytes4[]": "bytes4[]";
|
650
|
+
"bytes5[]": "bytes5[]";
|
651
|
+
"bytes6[]": "bytes6[]";
|
652
|
+
"bytes7[]": "bytes7[]";
|
653
|
+
"bytes8[]": "bytes8[]";
|
654
|
+
"bytes9[]": "bytes9[]";
|
655
|
+
"bytes10[]": "bytes10[]";
|
656
|
+
"bytes11[]": "bytes11[]";
|
657
|
+
"bytes12[]": "bytes12[]";
|
658
|
+
"bytes13[]": "bytes13[]";
|
659
|
+
"bytes14[]": "bytes14[]";
|
660
|
+
"bytes15[]": "bytes15[]";
|
661
|
+
"bytes16[]": "bytes16[]";
|
662
|
+
"bytes17[]": "bytes17[]";
|
663
|
+
"bytes18[]": "bytes18[]";
|
664
|
+
"bytes19[]": "bytes19[]";
|
665
|
+
"bytes20[]": "bytes20[]";
|
666
|
+
"bytes21[]": "bytes21[]";
|
667
|
+
"bytes22[]": "bytes22[]";
|
668
|
+
"bytes23[]": "bytes23[]";
|
669
|
+
"bytes24[]": "bytes24[]";
|
670
|
+
"bytes25[]": "bytes25[]";
|
671
|
+
"bytes26[]": "bytes26[]";
|
672
|
+
"bytes27[]": "bytes27[]";
|
673
|
+
"bytes28[]": "bytes28[]";
|
674
|
+
"bytes29[]": "bytes29[]";
|
675
|
+
"bytes30[]": "bytes30[]";
|
676
|
+
"bytes31[]": "bytes31[]";
|
677
|
+
"bytes32[]": "bytes32[]";
|
678
|
+
"bool[]": "bool[]";
|
679
|
+
"address[]": "address[]";
|
680
|
+
bytes: "bytes";
|
681
|
+
readonly ResourceId: "bytes32";
|
701
682
|
};
|
702
|
-
}
|
683
|
+
}>;
|
703
684
|
};
|
704
685
|
};
|
705
686
|
readonly systems: {};
|
package/dist/mud.config.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import{a}from"./chunk-
|
1
|
+
import{a}from"./chunk-2DPDMM6H.js";import"./chunk-3EELS6P3.js";import"./chunk-DK3XOTC2.js";export{a as default};
|
2
2
|
//# sourceMappingURL=mud.config.js.map
|
package/dist/node.js
CHANGED
@@ -17,7 +17,7 @@ import{a as We,b as Vs,c as Pe,d as p,e as O,f as x,g as it,m as je}from"./chunk
|
|
17
17
|
) external ${a} ${Zs(l)};
|
18
18
|
`)}
|
19
19
|
}
|
20
|
-
`}function Zs(n){return n.length>0?`returns (${we(n)})`:""}import{renderArguments as Xs,renderedSolidityHeader as Qs,renderAbsoluteImports as ti,renderRelativeImports as ei}from"@latticexyz/common/codegen";function Be(n){let{interfaceName:t,storeImportPath:e,worldImportPath:s,imports:i}=n,r=t==="IBaseWorld"?[{symbol:"IStore",path:`${e}IStore.sol`},{symbol:"IWorldKernel",path:`${s}IWorldKernel.sol`}]:[{symbol:"IBaseWorld",path:`${s}codegen/interfaces/IBaseWorld.sol`}],o=[...r,...i].map(({symbol:h})=>h);return`
|
20
|
+
`}function Zs(n){return n.length>0?`returns (${we(n)})`:""}import{renderArguments as Xs,renderedSolidityHeader as Qs,renderAbsoluteImports as ti,renderRelativeImports as ei}from"@latticexyz/common/codegen";function Be(n){let{interfaceName:t,storeImportPath:e,worldImportPath:s,imports:i}=n,r=t==="IBaseWorld"?[{symbol:"IStore",path:`${e}/IStore.sol`},{symbol:"IWorldKernel",path:`${s}IWorldKernel.sol`}]:[{symbol:"IBaseWorld",path:`${s}codegen/interfaces/IBaseWorld.sol`}],o=[...r,...i].map(({symbol:h})=>h);return`
|
21
21
|
${Qs}
|
22
22
|
|
23
23
|
${ti(r)}
|