@latticexyz/world-modules 3.0.0-main-8f6fa588d → 3.0.0-main-61895408d
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/mud.config.d.ts +626 -22
- package/package.json +9 -9
package/dist/mud.config.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
import * as _latticexyz_store_config_v2 from '@latticexyz/store/config/v2';
|
2
2
|
|
3
3
|
declare const _default: {
|
4
|
-
readonly sourceDirectory: "src";
|
5
4
|
readonly tables: _latticexyz_store_config_v2.resolveNamespacedTables<{
|
6
5
|
readonly KeysWithValue: {
|
7
6
|
readonly label: "KeysWithValue";
|
8
7
|
readonly type: "table";
|
9
|
-
readonly namespace:
|
8
|
+
readonly namespace: string;
|
10
9
|
readonly name: string;
|
11
10
|
readonly tableId: `0x${string}`;
|
12
11
|
readonly schema: {
|
@@ -33,7 +32,7 @@ declare const _default: {
|
|
33
32
|
readonly KeysInTable: {
|
34
33
|
readonly label: "KeysInTable";
|
35
34
|
readonly type: "table";
|
36
|
-
readonly namespace:
|
35
|
+
readonly namespace: string;
|
37
36
|
readonly name: string;
|
38
37
|
readonly tableId: `0x${string}`;
|
39
38
|
readonly schema: {
|
@@ -76,7 +75,7 @@ declare const _default: {
|
|
76
75
|
readonly UsedKeysIndex: {
|
77
76
|
readonly label: "UsedKeysIndex";
|
78
77
|
readonly type: "table";
|
79
|
-
readonly namespace:
|
78
|
+
readonly namespace: string;
|
80
79
|
readonly name: string;
|
81
80
|
readonly tableId: `0x${string}`;
|
82
81
|
readonly schema: {
|
@@ -111,7 +110,7 @@ declare const _default: {
|
|
111
110
|
readonly UniqueEntity: {
|
112
111
|
readonly label: "UniqueEntity";
|
113
112
|
readonly type: "table";
|
114
|
-
readonly namespace:
|
113
|
+
readonly namespace: string;
|
115
114
|
readonly name: string;
|
116
115
|
readonly tableId: `0x${string}`;
|
117
116
|
readonly schema: {
|
@@ -134,7 +133,7 @@ declare const _default: {
|
|
134
133
|
readonly CallboundDelegations: {
|
135
134
|
readonly label: "CallboundDelegations";
|
136
135
|
readonly type: "table";
|
137
|
-
readonly namespace:
|
136
|
+
readonly namespace: string;
|
138
137
|
readonly name: string;
|
139
138
|
readonly tableId: `0x${string}`;
|
140
139
|
readonly schema: {
|
@@ -173,7 +172,7 @@ declare const _default: {
|
|
173
172
|
readonly SystemboundDelegations: {
|
174
173
|
readonly label: "SystemboundDelegations";
|
175
174
|
readonly type: "table";
|
176
|
-
readonly namespace:
|
175
|
+
readonly namespace: string;
|
177
176
|
readonly name: string;
|
178
177
|
readonly tableId: `0x${string}`;
|
179
178
|
readonly schema: {
|
@@ -208,7 +207,7 @@ declare const _default: {
|
|
208
207
|
readonly TimeboundDelegations: {
|
209
208
|
readonly label: "TimeboundDelegations";
|
210
209
|
readonly type: "table";
|
211
|
-
readonly namespace:
|
210
|
+
readonly namespace: string;
|
212
211
|
readonly name: string;
|
213
212
|
readonly tableId: `0x${string}`;
|
214
213
|
readonly schema: {
|
@@ -239,7 +238,7 @@ declare const _default: {
|
|
239
238
|
readonly PuppetRegistry: {
|
240
239
|
readonly label: "PuppetRegistry";
|
241
240
|
readonly type: "table";
|
242
|
-
readonly namespace:
|
241
|
+
readonly namespace: string;
|
243
242
|
readonly name: string;
|
244
243
|
readonly tableId: `0x${string}`;
|
245
244
|
readonly schema: {
|
@@ -266,7 +265,7 @@ declare const _default: {
|
|
266
265
|
readonly Balances: {
|
267
266
|
readonly label: "Balances";
|
268
267
|
readonly type: "table";
|
269
|
-
readonly namespace:
|
268
|
+
readonly namespace: string;
|
270
269
|
readonly name: string;
|
271
270
|
readonly tableId: `0x${string}`;
|
272
271
|
readonly schema: {
|
@@ -293,7 +292,7 @@ declare const _default: {
|
|
293
292
|
readonly ERC20Metadata: {
|
294
293
|
readonly label: "ERC20Metadata";
|
295
294
|
readonly type: "table";
|
296
|
-
readonly namespace:
|
295
|
+
readonly namespace: string;
|
297
296
|
readonly name: string;
|
298
297
|
readonly tableId: `0x${string}`;
|
299
298
|
readonly schema: {
|
@@ -324,7 +323,7 @@ declare const _default: {
|
|
324
323
|
readonly Allowances: {
|
325
324
|
readonly label: "Allowances";
|
326
325
|
readonly type: "table";
|
327
|
-
readonly namespace:
|
326
|
+
readonly namespace: string;
|
328
327
|
readonly name: string;
|
329
328
|
readonly tableId: `0x${string}`;
|
330
329
|
readonly schema: {
|
@@ -355,7 +354,7 @@ declare const _default: {
|
|
355
354
|
readonly TotalSupply: {
|
356
355
|
readonly label: "TotalSupply";
|
357
356
|
readonly type: "table";
|
358
|
-
readonly namespace:
|
357
|
+
readonly namespace: string;
|
359
358
|
readonly name: string;
|
360
359
|
readonly tableId: `0x${string}`;
|
361
360
|
readonly schema: {
|
@@ -378,7 +377,7 @@ declare const _default: {
|
|
378
377
|
readonly ERC20Registry: {
|
379
378
|
readonly label: "ERC20Registry";
|
380
379
|
readonly type: "table";
|
381
|
-
readonly namespace:
|
380
|
+
readonly namespace: string;
|
382
381
|
readonly name: string;
|
383
382
|
readonly tableId: `0x${string}`;
|
384
383
|
readonly schema: {
|
@@ -405,7 +404,7 @@ declare const _default: {
|
|
405
404
|
readonly ERC721Metadata: {
|
406
405
|
readonly label: "ERC721Metadata";
|
407
406
|
readonly type: "table";
|
408
|
-
readonly namespace:
|
407
|
+
readonly namespace: string;
|
409
408
|
readonly name: string;
|
410
409
|
readonly tableId: `0x${string}`;
|
411
410
|
readonly schema: {
|
@@ -436,7 +435,7 @@ declare const _default: {
|
|
436
435
|
readonly TokenURI: {
|
437
436
|
readonly label: "TokenURI";
|
438
437
|
readonly type: "table";
|
439
|
-
readonly namespace:
|
438
|
+
readonly namespace: string;
|
440
439
|
readonly name: string;
|
441
440
|
readonly tableId: `0x${string}`;
|
442
441
|
readonly schema: {
|
@@ -463,7 +462,7 @@ declare const _default: {
|
|
463
462
|
readonly Owners: {
|
464
463
|
readonly label: "Owners";
|
465
464
|
readonly type: "table";
|
466
|
-
readonly namespace:
|
465
|
+
readonly namespace: string;
|
467
466
|
readonly name: string;
|
468
467
|
readonly tableId: `0x${string}`;
|
469
468
|
readonly schema: {
|
@@ -490,7 +489,7 @@ declare const _default: {
|
|
490
489
|
readonly TokenApproval: {
|
491
490
|
readonly label: "TokenApproval";
|
492
491
|
readonly type: "table";
|
493
|
-
readonly namespace:
|
492
|
+
readonly namespace: string;
|
494
493
|
readonly name: string;
|
495
494
|
readonly tableId: `0x${string}`;
|
496
495
|
readonly schema: {
|
@@ -517,7 +516,7 @@ declare const _default: {
|
|
517
516
|
readonly OperatorApproval: {
|
518
517
|
readonly label: "OperatorApproval";
|
519
518
|
readonly type: "table";
|
520
|
-
readonly namespace:
|
519
|
+
readonly namespace: string;
|
521
520
|
readonly name: string;
|
522
521
|
readonly tableId: `0x${string}`;
|
523
522
|
readonly schema: {
|
@@ -548,7 +547,7 @@ declare const _default: {
|
|
548
547
|
readonly ERC721Registry: {
|
549
548
|
readonly label: "ERC721Registry";
|
550
549
|
readonly type: "table";
|
551
|
-
readonly namespace:
|
550
|
+
readonly namespace: string;
|
552
551
|
readonly name: string;
|
553
552
|
readonly tableId: `0x${string}`;
|
554
553
|
readonly schema: {
|
@@ -575,7 +574,7 @@ declare const _default: {
|
|
575
574
|
readonly CallWithSignatureNonces: {
|
576
575
|
readonly label: "CallWithSignatureNonces";
|
577
576
|
readonly type: "table";
|
578
|
-
readonly namespace:
|
577
|
+
readonly namespace: string;
|
579
578
|
readonly name: string;
|
580
579
|
readonly tableId: `0x${string}`;
|
581
580
|
readonly schema: {
|
@@ -600,6 +599,8 @@ declare const _default: {
|
|
600
599
|
}>;
|
601
600
|
};
|
602
601
|
}, "">;
|
602
|
+
readonly namespace: string;
|
603
|
+
readonly sourceDirectory: "src";
|
603
604
|
readonly userTypes: {
|
604
605
|
ResourceId: {
|
605
606
|
filePath: string;
|
@@ -608,7 +609,6 @@ declare const _default: {
|
|
608
609
|
};
|
609
610
|
readonly enums: {};
|
610
611
|
readonly enumValues: {};
|
611
|
-
readonly namespace: "";
|
612
612
|
readonly codegen: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
613
613
|
readonly storeImportPath: "@latticexyz/store/src/";
|
614
614
|
readonly userTypesFilename: "common.sol";
|
@@ -620,6 +620,610 @@ declare const _default: {
|
|
620
620
|
readonly worldgenDirectory: "world";
|
621
621
|
readonly worldImportPath: "@latticexyz/world/src/";
|
622
622
|
};
|
623
|
+
readonly namespaces: {
|
624
|
+
readonly "": {
|
625
|
+
readonly label: "";
|
626
|
+
readonly namespace: string;
|
627
|
+
readonly tables: {
|
628
|
+
readonly KeysWithValue: {
|
629
|
+
readonly label: "KeysWithValue";
|
630
|
+
readonly type: "table";
|
631
|
+
readonly namespace: string;
|
632
|
+
readonly name: string;
|
633
|
+
readonly tableId: `0x${string}`;
|
634
|
+
readonly schema: {
|
635
|
+
readonly valueHash: {
|
636
|
+
readonly type: "bytes32";
|
637
|
+
readonly internalType: "bytes32";
|
638
|
+
};
|
639
|
+
readonly keysWithValue: {
|
640
|
+
readonly type: "bytes32[]";
|
641
|
+
readonly internalType: "bytes32[]";
|
642
|
+
};
|
643
|
+
};
|
644
|
+
readonly key: readonly ["valueHash"];
|
645
|
+
readonly codegen: {
|
646
|
+
readonly outputDirectory: string;
|
647
|
+
readonly tableIdArgument: true;
|
648
|
+
readonly storeArgument: true;
|
649
|
+
readonly dataStruct: boolean;
|
650
|
+
};
|
651
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
652
|
+
readonly disabled: false;
|
653
|
+
}>;
|
654
|
+
};
|
655
|
+
readonly KeysInTable: {
|
656
|
+
readonly label: "KeysInTable";
|
657
|
+
readonly type: "table";
|
658
|
+
readonly namespace: string;
|
659
|
+
readonly name: string;
|
660
|
+
readonly tableId: `0x${string}`;
|
661
|
+
readonly schema: {
|
662
|
+
readonly sourceTableId: {
|
663
|
+
readonly type: "bytes32";
|
664
|
+
readonly internalType: "ResourceId";
|
665
|
+
};
|
666
|
+
readonly keys0: {
|
667
|
+
readonly type: "bytes32[]";
|
668
|
+
readonly internalType: "bytes32[]";
|
669
|
+
};
|
670
|
+
readonly keys1: {
|
671
|
+
readonly type: "bytes32[]";
|
672
|
+
readonly internalType: "bytes32[]";
|
673
|
+
};
|
674
|
+
readonly keys2: {
|
675
|
+
readonly type: "bytes32[]";
|
676
|
+
readonly internalType: "bytes32[]";
|
677
|
+
};
|
678
|
+
readonly keys3: {
|
679
|
+
readonly type: "bytes32[]";
|
680
|
+
readonly internalType: "bytes32[]";
|
681
|
+
};
|
682
|
+
readonly keys4: {
|
683
|
+
readonly type: "bytes32[]";
|
684
|
+
readonly internalType: "bytes32[]";
|
685
|
+
};
|
686
|
+
};
|
687
|
+
readonly key: readonly ["sourceTableId"];
|
688
|
+
readonly codegen: {
|
689
|
+
readonly outputDirectory: string;
|
690
|
+
readonly tableIdArgument: false;
|
691
|
+
readonly storeArgument: true;
|
692
|
+
readonly dataStruct: boolean;
|
693
|
+
};
|
694
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
695
|
+
readonly disabled: false;
|
696
|
+
}>;
|
697
|
+
};
|
698
|
+
readonly UsedKeysIndex: {
|
699
|
+
readonly label: "UsedKeysIndex";
|
700
|
+
readonly type: "table";
|
701
|
+
readonly namespace: string;
|
702
|
+
readonly name: string;
|
703
|
+
readonly tableId: `0x${string}`;
|
704
|
+
readonly schema: {
|
705
|
+
readonly sourceTableId: {
|
706
|
+
readonly type: "bytes32";
|
707
|
+
readonly internalType: "ResourceId";
|
708
|
+
};
|
709
|
+
readonly keysHash: {
|
710
|
+
readonly type: "bytes32";
|
711
|
+
readonly internalType: "bytes32";
|
712
|
+
};
|
713
|
+
readonly has: {
|
714
|
+
readonly type: "bool";
|
715
|
+
readonly internalType: "bool";
|
716
|
+
};
|
717
|
+
readonly index: {
|
718
|
+
readonly type: "uint40";
|
719
|
+
readonly internalType: "uint40";
|
720
|
+
};
|
721
|
+
};
|
722
|
+
readonly key: readonly ["sourceTableId", "keysHash"];
|
723
|
+
readonly codegen: {
|
724
|
+
readonly outputDirectory: string;
|
725
|
+
readonly tableIdArgument: false;
|
726
|
+
readonly storeArgument: true;
|
727
|
+
readonly dataStruct: false;
|
728
|
+
};
|
729
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
730
|
+
readonly disabled: false;
|
731
|
+
}>;
|
732
|
+
};
|
733
|
+
readonly UniqueEntity: {
|
734
|
+
readonly label: "UniqueEntity";
|
735
|
+
readonly type: "table";
|
736
|
+
readonly namespace: string;
|
737
|
+
readonly name: string;
|
738
|
+
readonly tableId: `0x${string}`;
|
739
|
+
readonly schema: {
|
740
|
+
readonly value: {
|
741
|
+
readonly type: "uint256";
|
742
|
+
readonly internalType: "uint256";
|
743
|
+
};
|
744
|
+
};
|
745
|
+
readonly key: readonly [];
|
746
|
+
readonly codegen: {
|
747
|
+
readonly outputDirectory: string;
|
748
|
+
readonly tableIdArgument: true;
|
749
|
+
readonly storeArgument: true;
|
750
|
+
readonly dataStruct: boolean;
|
751
|
+
};
|
752
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
753
|
+
readonly disabled: false;
|
754
|
+
}>;
|
755
|
+
};
|
756
|
+
readonly CallboundDelegations: {
|
757
|
+
readonly label: "CallboundDelegations";
|
758
|
+
readonly type: "table";
|
759
|
+
readonly namespace: string;
|
760
|
+
readonly name: string;
|
761
|
+
readonly tableId: `0x${string}`;
|
762
|
+
readonly schema: {
|
763
|
+
readonly delegator: {
|
764
|
+
readonly type: "address";
|
765
|
+
readonly internalType: "address";
|
766
|
+
};
|
767
|
+
readonly delegatee: {
|
768
|
+
readonly type: "address";
|
769
|
+
readonly internalType: "address";
|
770
|
+
};
|
771
|
+
readonly systemId: {
|
772
|
+
readonly type: "bytes32";
|
773
|
+
readonly internalType: "ResourceId";
|
774
|
+
};
|
775
|
+
readonly callDataHash: {
|
776
|
+
readonly type: "bytes32";
|
777
|
+
readonly internalType: "bytes32";
|
778
|
+
};
|
779
|
+
readonly availableCalls: {
|
780
|
+
readonly type: "uint256";
|
781
|
+
readonly internalType: "uint256";
|
782
|
+
};
|
783
|
+
};
|
784
|
+
readonly key: readonly ["delegator", "delegatee", "systemId", "callDataHash"];
|
785
|
+
readonly codegen: {
|
786
|
+
readonly outputDirectory: string;
|
787
|
+
readonly tableIdArgument: false;
|
788
|
+
readonly storeArgument: false;
|
789
|
+
readonly dataStruct: boolean;
|
790
|
+
};
|
791
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
792
|
+
readonly disabled: false;
|
793
|
+
}>;
|
794
|
+
};
|
795
|
+
readonly SystemboundDelegations: {
|
796
|
+
readonly label: "SystemboundDelegations";
|
797
|
+
readonly type: "table";
|
798
|
+
readonly namespace: string;
|
799
|
+
readonly name: string;
|
800
|
+
readonly tableId: `0x${string}`;
|
801
|
+
readonly schema: {
|
802
|
+
readonly delegator: {
|
803
|
+
readonly type: "address";
|
804
|
+
readonly internalType: "address";
|
805
|
+
};
|
806
|
+
readonly delegatee: {
|
807
|
+
readonly type: "address";
|
808
|
+
readonly internalType: "address";
|
809
|
+
};
|
810
|
+
readonly systemId: {
|
811
|
+
readonly type: "bytes32";
|
812
|
+
readonly internalType: "ResourceId";
|
813
|
+
};
|
814
|
+
readonly availableCalls: {
|
815
|
+
readonly type: "uint256";
|
816
|
+
readonly internalType: "uint256";
|
817
|
+
};
|
818
|
+
};
|
819
|
+
readonly key: readonly ["delegator", "delegatee", "systemId"];
|
820
|
+
readonly codegen: {
|
821
|
+
readonly outputDirectory: string;
|
822
|
+
readonly tableIdArgument: false;
|
823
|
+
readonly storeArgument: false;
|
824
|
+
readonly dataStruct: boolean;
|
825
|
+
};
|
826
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
827
|
+
readonly disabled: false;
|
828
|
+
}>;
|
829
|
+
};
|
830
|
+
readonly TimeboundDelegations: {
|
831
|
+
readonly label: "TimeboundDelegations";
|
832
|
+
readonly type: "table";
|
833
|
+
readonly namespace: string;
|
834
|
+
readonly name: string;
|
835
|
+
readonly tableId: `0x${string}`;
|
836
|
+
readonly schema: {
|
837
|
+
readonly delegator: {
|
838
|
+
readonly type: "address";
|
839
|
+
readonly internalType: "address";
|
840
|
+
};
|
841
|
+
readonly delegatee: {
|
842
|
+
readonly type: "address";
|
843
|
+
readonly internalType: "address";
|
844
|
+
};
|
845
|
+
readonly maxTimestamp: {
|
846
|
+
readonly type: "uint256";
|
847
|
+
readonly internalType: "uint256";
|
848
|
+
};
|
849
|
+
};
|
850
|
+
readonly key: readonly ["delegator", "delegatee"];
|
851
|
+
readonly codegen: {
|
852
|
+
readonly outputDirectory: string;
|
853
|
+
readonly tableIdArgument: false;
|
854
|
+
readonly storeArgument: false;
|
855
|
+
readonly dataStruct: boolean;
|
856
|
+
};
|
857
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
858
|
+
readonly disabled: false;
|
859
|
+
}>;
|
860
|
+
};
|
861
|
+
readonly PuppetRegistry: {
|
862
|
+
readonly label: "PuppetRegistry";
|
863
|
+
readonly type: "table";
|
864
|
+
readonly namespace: string;
|
865
|
+
readonly name: string;
|
866
|
+
readonly tableId: `0x${string}`;
|
867
|
+
readonly schema: {
|
868
|
+
readonly systemId: {
|
869
|
+
readonly type: "bytes32";
|
870
|
+
readonly internalType: "ResourceId";
|
871
|
+
};
|
872
|
+
readonly puppet: {
|
873
|
+
readonly type: "address";
|
874
|
+
readonly internalType: "address";
|
875
|
+
};
|
876
|
+
};
|
877
|
+
readonly key: readonly ["systemId"];
|
878
|
+
readonly codegen: {
|
879
|
+
readonly outputDirectory: string;
|
880
|
+
readonly tableIdArgument: true;
|
881
|
+
readonly storeArgument: false;
|
882
|
+
readonly dataStruct: boolean;
|
883
|
+
};
|
884
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
885
|
+
readonly disabled: false;
|
886
|
+
}>;
|
887
|
+
};
|
888
|
+
readonly Balances: {
|
889
|
+
readonly label: "Balances";
|
890
|
+
readonly type: "table";
|
891
|
+
readonly namespace: string;
|
892
|
+
readonly name: string;
|
893
|
+
readonly tableId: `0x${string}`;
|
894
|
+
readonly schema: {
|
895
|
+
readonly account: {
|
896
|
+
readonly type: "address";
|
897
|
+
readonly internalType: "address";
|
898
|
+
};
|
899
|
+
readonly value: {
|
900
|
+
readonly type: "uint256";
|
901
|
+
readonly internalType: "uint256";
|
902
|
+
};
|
903
|
+
};
|
904
|
+
readonly key: readonly ["account"];
|
905
|
+
readonly codegen: {
|
906
|
+
readonly outputDirectory: string;
|
907
|
+
readonly tableIdArgument: true;
|
908
|
+
readonly storeArgument: false;
|
909
|
+
readonly dataStruct: boolean;
|
910
|
+
};
|
911
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
912
|
+
readonly disabled: false;
|
913
|
+
}>;
|
914
|
+
};
|
915
|
+
readonly ERC20Metadata: {
|
916
|
+
readonly label: "ERC20Metadata";
|
917
|
+
readonly type: "table";
|
918
|
+
readonly namespace: string;
|
919
|
+
readonly name: string;
|
920
|
+
readonly tableId: `0x${string}`;
|
921
|
+
readonly schema: {
|
922
|
+
readonly decimals: {
|
923
|
+
readonly type: "uint8";
|
924
|
+
readonly internalType: "uint8";
|
925
|
+
};
|
926
|
+
readonly name: {
|
927
|
+
readonly type: "string";
|
928
|
+
readonly internalType: "string";
|
929
|
+
};
|
930
|
+
readonly symbol: {
|
931
|
+
readonly type: "string";
|
932
|
+
readonly internalType: "string";
|
933
|
+
};
|
934
|
+
};
|
935
|
+
readonly key: readonly [];
|
936
|
+
readonly codegen: {
|
937
|
+
readonly outputDirectory: string;
|
938
|
+
readonly tableIdArgument: true;
|
939
|
+
readonly storeArgument: false;
|
940
|
+
readonly dataStruct: boolean;
|
941
|
+
};
|
942
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
943
|
+
readonly disabled: false;
|
944
|
+
}>;
|
945
|
+
};
|
946
|
+
readonly Allowances: {
|
947
|
+
readonly label: "Allowances";
|
948
|
+
readonly type: "table";
|
949
|
+
readonly namespace: string;
|
950
|
+
readonly name: string;
|
951
|
+
readonly tableId: `0x${string}`;
|
952
|
+
readonly schema: {
|
953
|
+
readonly account: {
|
954
|
+
readonly type: "address";
|
955
|
+
readonly internalType: "address";
|
956
|
+
};
|
957
|
+
readonly spender: {
|
958
|
+
readonly type: "address";
|
959
|
+
readonly internalType: "address";
|
960
|
+
};
|
961
|
+
readonly value: {
|
962
|
+
readonly type: "uint256";
|
963
|
+
readonly internalType: "uint256";
|
964
|
+
};
|
965
|
+
};
|
966
|
+
readonly key: readonly ["account", "spender"];
|
967
|
+
readonly codegen: {
|
968
|
+
readonly outputDirectory: string;
|
969
|
+
readonly tableIdArgument: true;
|
970
|
+
readonly storeArgument: false;
|
971
|
+
readonly dataStruct: boolean;
|
972
|
+
};
|
973
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
974
|
+
readonly disabled: false;
|
975
|
+
}>;
|
976
|
+
};
|
977
|
+
readonly TotalSupply: {
|
978
|
+
readonly label: "TotalSupply";
|
979
|
+
readonly type: "table";
|
980
|
+
readonly namespace: string;
|
981
|
+
readonly name: string;
|
982
|
+
readonly tableId: `0x${string}`;
|
983
|
+
readonly schema: {
|
984
|
+
readonly totalSupply: {
|
985
|
+
readonly type: "uint256";
|
986
|
+
readonly internalType: "uint256";
|
987
|
+
};
|
988
|
+
};
|
989
|
+
readonly key: readonly [];
|
990
|
+
readonly codegen: {
|
991
|
+
readonly outputDirectory: string;
|
992
|
+
readonly tableIdArgument: true;
|
993
|
+
readonly storeArgument: false;
|
994
|
+
readonly dataStruct: boolean;
|
995
|
+
};
|
996
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
997
|
+
readonly disabled: false;
|
998
|
+
}>;
|
999
|
+
};
|
1000
|
+
readonly ERC20Registry: {
|
1001
|
+
readonly label: "ERC20Registry";
|
1002
|
+
readonly type: "table";
|
1003
|
+
readonly namespace: string;
|
1004
|
+
readonly name: string;
|
1005
|
+
readonly tableId: `0x${string}`;
|
1006
|
+
readonly schema: {
|
1007
|
+
readonly namespaceId: {
|
1008
|
+
readonly type: "bytes32";
|
1009
|
+
readonly internalType: "ResourceId";
|
1010
|
+
};
|
1011
|
+
readonly tokenAddress: {
|
1012
|
+
readonly type: "address";
|
1013
|
+
readonly internalType: "address";
|
1014
|
+
};
|
1015
|
+
};
|
1016
|
+
readonly key: readonly ["namespaceId"];
|
1017
|
+
readonly codegen: {
|
1018
|
+
readonly outputDirectory: string;
|
1019
|
+
readonly tableIdArgument: true;
|
1020
|
+
readonly storeArgument: false;
|
1021
|
+
readonly dataStruct: boolean;
|
1022
|
+
};
|
1023
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
1024
|
+
readonly disabled: false;
|
1025
|
+
}>;
|
1026
|
+
};
|
1027
|
+
readonly ERC721Metadata: {
|
1028
|
+
readonly label: "ERC721Metadata";
|
1029
|
+
readonly type: "table";
|
1030
|
+
readonly namespace: string;
|
1031
|
+
readonly name: string;
|
1032
|
+
readonly tableId: `0x${string}`;
|
1033
|
+
readonly schema: {
|
1034
|
+
readonly name: {
|
1035
|
+
readonly type: "string";
|
1036
|
+
readonly internalType: "string";
|
1037
|
+
};
|
1038
|
+
readonly symbol: {
|
1039
|
+
readonly type: "string";
|
1040
|
+
readonly internalType: "string";
|
1041
|
+
};
|
1042
|
+
readonly baseURI: {
|
1043
|
+
readonly type: "string";
|
1044
|
+
readonly internalType: "string";
|
1045
|
+
};
|
1046
|
+
};
|
1047
|
+
readonly key: readonly [];
|
1048
|
+
readonly codegen: {
|
1049
|
+
readonly outputDirectory: string;
|
1050
|
+
readonly tableIdArgument: true;
|
1051
|
+
readonly storeArgument: false;
|
1052
|
+
readonly dataStruct: boolean;
|
1053
|
+
};
|
1054
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
1055
|
+
readonly disabled: false;
|
1056
|
+
}>;
|
1057
|
+
};
|
1058
|
+
readonly TokenURI: {
|
1059
|
+
readonly label: "TokenURI";
|
1060
|
+
readonly type: "table";
|
1061
|
+
readonly namespace: string;
|
1062
|
+
readonly name: string;
|
1063
|
+
readonly tableId: `0x${string}`;
|
1064
|
+
readonly schema: {
|
1065
|
+
readonly tokenId: {
|
1066
|
+
readonly type: "uint256";
|
1067
|
+
readonly internalType: "uint256";
|
1068
|
+
};
|
1069
|
+
readonly tokenURI: {
|
1070
|
+
readonly type: "string";
|
1071
|
+
readonly internalType: "string";
|
1072
|
+
};
|
1073
|
+
};
|
1074
|
+
readonly key: readonly ["tokenId"];
|
1075
|
+
readonly codegen: {
|
1076
|
+
readonly outputDirectory: string;
|
1077
|
+
readonly tableIdArgument: true;
|
1078
|
+
readonly storeArgument: false;
|
1079
|
+
readonly dataStruct: boolean;
|
1080
|
+
};
|
1081
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
1082
|
+
readonly disabled: false;
|
1083
|
+
}>;
|
1084
|
+
};
|
1085
|
+
readonly Owners: {
|
1086
|
+
readonly label: "Owners";
|
1087
|
+
readonly type: "table";
|
1088
|
+
readonly namespace: string;
|
1089
|
+
readonly name: string;
|
1090
|
+
readonly tableId: `0x${string}`;
|
1091
|
+
readonly schema: {
|
1092
|
+
readonly tokenId: {
|
1093
|
+
readonly type: "uint256";
|
1094
|
+
readonly internalType: "uint256";
|
1095
|
+
};
|
1096
|
+
readonly owner: {
|
1097
|
+
readonly type: "address";
|
1098
|
+
readonly internalType: "address";
|
1099
|
+
};
|
1100
|
+
};
|
1101
|
+
readonly key: readonly ["tokenId"];
|
1102
|
+
readonly codegen: {
|
1103
|
+
readonly outputDirectory: string;
|
1104
|
+
readonly tableIdArgument: true;
|
1105
|
+
readonly storeArgument: false;
|
1106
|
+
readonly dataStruct: boolean;
|
1107
|
+
};
|
1108
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
1109
|
+
readonly disabled: false;
|
1110
|
+
}>;
|
1111
|
+
};
|
1112
|
+
readonly TokenApproval: {
|
1113
|
+
readonly label: "TokenApproval";
|
1114
|
+
readonly type: "table";
|
1115
|
+
readonly namespace: string;
|
1116
|
+
readonly name: string;
|
1117
|
+
readonly tableId: `0x${string}`;
|
1118
|
+
readonly schema: {
|
1119
|
+
readonly tokenId: {
|
1120
|
+
readonly type: "uint256";
|
1121
|
+
readonly internalType: "uint256";
|
1122
|
+
};
|
1123
|
+
readonly account: {
|
1124
|
+
readonly type: "address";
|
1125
|
+
readonly internalType: "address";
|
1126
|
+
};
|
1127
|
+
};
|
1128
|
+
readonly key: readonly ["tokenId"];
|
1129
|
+
readonly codegen: {
|
1130
|
+
readonly outputDirectory: string;
|
1131
|
+
readonly tableIdArgument: true;
|
1132
|
+
readonly storeArgument: false;
|
1133
|
+
readonly dataStruct: boolean;
|
1134
|
+
};
|
1135
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
1136
|
+
readonly disabled: false;
|
1137
|
+
}>;
|
1138
|
+
};
|
1139
|
+
readonly OperatorApproval: {
|
1140
|
+
readonly label: "OperatorApproval";
|
1141
|
+
readonly type: "table";
|
1142
|
+
readonly namespace: string;
|
1143
|
+
readonly name: string;
|
1144
|
+
readonly tableId: `0x${string}`;
|
1145
|
+
readonly schema: {
|
1146
|
+
readonly owner: {
|
1147
|
+
readonly type: "address";
|
1148
|
+
readonly internalType: "address";
|
1149
|
+
};
|
1150
|
+
readonly operator: {
|
1151
|
+
readonly type: "address";
|
1152
|
+
readonly internalType: "address";
|
1153
|
+
};
|
1154
|
+
readonly approved: {
|
1155
|
+
readonly type: "bool";
|
1156
|
+
readonly internalType: "bool";
|
1157
|
+
};
|
1158
|
+
};
|
1159
|
+
readonly key: readonly ["owner", "operator"];
|
1160
|
+
readonly codegen: {
|
1161
|
+
readonly outputDirectory: string;
|
1162
|
+
readonly tableIdArgument: true;
|
1163
|
+
readonly storeArgument: false;
|
1164
|
+
readonly dataStruct: boolean;
|
1165
|
+
};
|
1166
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
1167
|
+
readonly disabled: false;
|
1168
|
+
}>;
|
1169
|
+
};
|
1170
|
+
readonly ERC721Registry: {
|
1171
|
+
readonly label: "ERC721Registry";
|
1172
|
+
readonly type: "table";
|
1173
|
+
readonly namespace: string;
|
1174
|
+
readonly name: string;
|
1175
|
+
readonly tableId: `0x${string}`;
|
1176
|
+
readonly schema: {
|
1177
|
+
readonly namespaceId: {
|
1178
|
+
readonly type: "bytes32";
|
1179
|
+
readonly internalType: "ResourceId";
|
1180
|
+
};
|
1181
|
+
readonly tokenAddress: {
|
1182
|
+
readonly type: "address";
|
1183
|
+
readonly internalType: "address";
|
1184
|
+
};
|
1185
|
+
};
|
1186
|
+
readonly key: readonly ["namespaceId"];
|
1187
|
+
readonly codegen: {
|
1188
|
+
readonly outputDirectory: string;
|
1189
|
+
readonly tableIdArgument: true;
|
1190
|
+
readonly storeArgument: false;
|
1191
|
+
readonly dataStruct: boolean;
|
1192
|
+
};
|
1193
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
1194
|
+
readonly disabled: false;
|
1195
|
+
}>;
|
1196
|
+
};
|
1197
|
+
readonly CallWithSignatureNonces: {
|
1198
|
+
readonly label: "CallWithSignatureNonces";
|
1199
|
+
readonly type: "table";
|
1200
|
+
readonly namespace: string;
|
1201
|
+
readonly name: string;
|
1202
|
+
readonly tableId: `0x${string}`;
|
1203
|
+
readonly schema: {
|
1204
|
+
readonly signer: {
|
1205
|
+
readonly type: "address";
|
1206
|
+
readonly internalType: "address";
|
1207
|
+
};
|
1208
|
+
readonly nonce: {
|
1209
|
+
readonly type: "uint256";
|
1210
|
+
readonly internalType: "uint256";
|
1211
|
+
};
|
1212
|
+
};
|
1213
|
+
readonly key: readonly ["signer"];
|
1214
|
+
readonly codegen: {
|
1215
|
+
readonly outputDirectory: string;
|
1216
|
+
readonly tableIdArgument: false;
|
1217
|
+
readonly storeArgument: false;
|
1218
|
+
readonly dataStruct: boolean;
|
1219
|
+
};
|
1220
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
1221
|
+
readonly disabled: false;
|
1222
|
+
}>;
|
1223
|
+
};
|
1224
|
+
};
|
1225
|
+
};
|
1226
|
+
};
|
623
1227
|
readonly systems: {};
|
624
1228
|
readonly excludeSystems: string[];
|
625
1229
|
readonly modules: readonly [];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@latticexyz/world-modules",
|
3
|
-
"version": "3.0.0-main-
|
3
|
+
"version": "3.0.0-main-61895408d",
|
4
4
|
"description": "World modules",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -27,11 +27,11 @@
|
|
27
27
|
],
|
28
28
|
"dependencies": {
|
29
29
|
"zod": "^3.22.2",
|
30
|
-
"@latticexyz/common": "3.0.0-main-
|
31
|
-
"@latticexyz/config": "3.0.0-main-
|
32
|
-
"@latticexyz/store": "3.0.0-main-
|
33
|
-
"@latticexyz/
|
34
|
-
"@latticexyz/
|
30
|
+
"@latticexyz/common": "3.0.0-main-61895408d",
|
31
|
+
"@latticexyz/config": "3.0.0-main-61895408d",
|
32
|
+
"@latticexyz/store": "3.0.0-main-61895408d",
|
33
|
+
"@latticexyz/schema-type": "3.0.0-main-61895408d",
|
34
|
+
"@latticexyz/world": "3.0.0-main-61895408d"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
37
|
"@types/ejs": "^3.1.1",
|
@@ -44,9 +44,9 @@
|
|
44
44
|
"tsup": "^6.7.0",
|
45
45
|
"tsx": "^3.12.6",
|
46
46
|
"vitest": "0.34.6",
|
47
|
-
"@latticexyz/abi-ts": "3.0.0-main-
|
48
|
-
"@latticexyz/cli": "3.0.0-main-
|
49
|
-
"@latticexyz/gas-report": "3.0.0-main-
|
47
|
+
"@latticexyz/abi-ts": "3.0.0-main-61895408d",
|
48
|
+
"@latticexyz/cli": "3.0.0-main-61895408d",
|
49
|
+
"@latticexyz/gas-report": "3.0.0-main-61895408d"
|
50
50
|
},
|
51
51
|
"publishConfig": {
|
52
52
|
"access": "public"
|