@latticexyz/world-modules 3.0.0-main-560fd6a0c → 3.0.0-main-69e23a36b
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 +668 -64
- 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: {
|
@@ -26,14 +25,14 @@ declare const _default: {
|
|
26
25
|
readonly storeArgument: true;
|
27
26
|
readonly dataStruct: boolean;
|
28
27
|
};
|
29
|
-
readonly deploy: {
|
28
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
30
29
|
readonly disabled: false;
|
31
|
-
}
|
30
|
+
}>;
|
32
31
|
};
|
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: {
|
@@ -69,14 +68,14 @@ declare const _default: {
|
|
69
68
|
readonly storeArgument: true;
|
70
69
|
readonly dataStruct: boolean;
|
71
70
|
};
|
72
|
-
readonly deploy: {
|
71
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
73
72
|
readonly disabled: false;
|
74
|
-
}
|
73
|
+
}>;
|
75
74
|
};
|
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: {
|
@@ -104,14 +103,14 @@ declare const _default: {
|
|
104
103
|
readonly storeArgument: true;
|
105
104
|
readonly dataStruct: false;
|
106
105
|
};
|
107
|
-
readonly deploy: {
|
106
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
108
107
|
readonly disabled: false;
|
109
|
-
}
|
108
|
+
}>;
|
110
109
|
};
|
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: {
|
@@ -127,14 +126,14 @@ declare const _default: {
|
|
127
126
|
readonly storeArgument: true;
|
128
127
|
readonly dataStruct: boolean;
|
129
128
|
};
|
130
|
-
readonly deploy: {
|
129
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
131
130
|
readonly disabled: false;
|
132
|
-
}
|
131
|
+
}>;
|
133
132
|
};
|
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: {
|
@@ -166,14 +165,14 @@ declare const _default: {
|
|
166
165
|
readonly storeArgument: false;
|
167
166
|
readonly dataStruct: boolean;
|
168
167
|
};
|
169
|
-
readonly deploy: {
|
168
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
170
169
|
readonly disabled: false;
|
171
|
-
}
|
170
|
+
}>;
|
172
171
|
};
|
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: {
|
@@ -201,14 +200,14 @@ declare const _default: {
|
|
201
200
|
readonly storeArgument: false;
|
202
201
|
readonly dataStruct: boolean;
|
203
202
|
};
|
204
|
-
readonly deploy: {
|
203
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
205
204
|
readonly disabled: false;
|
206
|
-
}
|
205
|
+
}>;
|
207
206
|
};
|
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: {
|
@@ -232,14 +231,14 @@ declare const _default: {
|
|
232
231
|
readonly storeArgument: false;
|
233
232
|
readonly dataStruct: boolean;
|
234
233
|
};
|
235
|
-
readonly deploy: {
|
234
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
236
235
|
readonly disabled: false;
|
237
|
-
}
|
236
|
+
}>;
|
238
237
|
};
|
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: {
|
@@ -259,14 +258,14 @@ declare const _default: {
|
|
259
258
|
readonly storeArgument: false;
|
260
259
|
readonly dataStruct: boolean;
|
261
260
|
};
|
262
|
-
readonly deploy: {
|
261
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
263
262
|
readonly disabled: false;
|
264
|
-
}
|
263
|
+
}>;
|
265
264
|
};
|
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: {
|
@@ -286,14 +285,14 @@ declare const _default: {
|
|
286
285
|
readonly storeArgument: false;
|
287
286
|
readonly dataStruct: boolean;
|
288
287
|
};
|
289
|
-
readonly deploy: {
|
288
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
290
289
|
readonly disabled: false;
|
291
|
-
}
|
290
|
+
}>;
|
292
291
|
};
|
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: {
|
@@ -317,14 +316,14 @@ declare const _default: {
|
|
317
316
|
readonly storeArgument: false;
|
318
317
|
readonly dataStruct: boolean;
|
319
318
|
};
|
320
|
-
readonly deploy: {
|
319
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
321
320
|
readonly disabled: false;
|
322
|
-
}
|
321
|
+
}>;
|
323
322
|
};
|
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: {
|
@@ -348,14 +347,14 @@ declare const _default: {
|
|
348
347
|
readonly storeArgument: false;
|
349
348
|
readonly dataStruct: boolean;
|
350
349
|
};
|
351
|
-
readonly deploy: {
|
350
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
352
351
|
readonly disabled: false;
|
353
|
-
}
|
352
|
+
}>;
|
354
353
|
};
|
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: {
|
@@ -371,14 +370,14 @@ declare const _default: {
|
|
371
370
|
readonly storeArgument: false;
|
372
371
|
readonly dataStruct: boolean;
|
373
372
|
};
|
374
|
-
readonly deploy: {
|
373
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
375
374
|
readonly disabled: false;
|
376
|
-
}
|
375
|
+
}>;
|
377
376
|
};
|
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: {
|
@@ -398,14 +397,14 @@ declare const _default: {
|
|
398
397
|
readonly storeArgument: false;
|
399
398
|
readonly dataStruct: boolean;
|
400
399
|
};
|
401
|
-
readonly deploy: {
|
400
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
402
401
|
readonly disabled: false;
|
403
|
-
}
|
402
|
+
}>;
|
404
403
|
};
|
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: {
|
@@ -429,14 +428,14 @@ declare const _default: {
|
|
429
428
|
readonly storeArgument: false;
|
430
429
|
readonly dataStruct: boolean;
|
431
430
|
};
|
432
|
-
readonly deploy: {
|
431
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
433
432
|
readonly disabled: false;
|
434
|
-
}
|
433
|
+
}>;
|
435
434
|
};
|
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: {
|
@@ -456,14 +455,14 @@ declare const _default: {
|
|
456
455
|
readonly storeArgument: false;
|
457
456
|
readonly dataStruct: boolean;
|
458
457
|
};
|
459
|
-
readonly deploy: {
|
458
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
460
459
|
readonly disabled: false;
|
461
|
-
}
|
460
|
+
}>;
|
462
461
|
};
|
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: {
|
@@ -483,14 +482,14 @@ declare const _default: {
|
|
483
482
|
readonly storeArgument: false;
|
484
483
|
readonly dataStruct: boolean;
|
485
484
|
};
|
486
|
-
readonly deploy: {
|
485
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
487
486
|
readonly disabled: false;
|
488
|
-
}
|
487
|
+
}>;
|
489
488
|
};
|
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: {
|
@@ -510,14 +509,14 @@ declare const _default: {
|
|
510
509
|
readonly storeArgument: false;
|
511
510
|
readonly dataStruct: boolean;
|
512
511
|
};
|
513
|
-
readonly deploy: {
|
512
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
514
513
|
readonly disabled: false;
|
515
|
-
}
|
514
|
+
}>;
|
516
515
|
};
|
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: {
|
@@ -541,14 +540,14 @@ declare const _default: {
|
|
541
540
|
readonly storeArgument: false;
|
542
541
|
readonly dataStruct: boolean;
|
543
542
|
};
|
544
|
-
readonly deploy: {
|
543
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
545
544
|
readonly disabled: false;
|
546
|
-
}
|
545
|
+
}>;
|
547
546
|
};
|
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: {
|
@@ -568,14 +567,14 @@ declare const _default: {
|
|
568
567
|
readonly storeArgument: false;
|
569
568
|
readonly dataStruct: boolean;
|
570
569
|
};
|
571
|
-
readonly deploy: {
|
570
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
572
571
|
readonly disabled: false;
|
573
|
-
}
|
572
|
+
}>;
|
574
573
|
};
|
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: {
|
@@ -595,11 +594,13 @@ declare const _default: {
|
|
595
594
|
readonly storeArgument: false;
|
596
595
|
readonly dataStruct: boolean;
|
597
596
|
};
|
598
|
-
readonly deploy: {
|
597
|
+
readonly deploy: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
599
598
|
readonly disabled: false;
|
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,18 +609,621 @@ declare const _default: {
|
|
608
609
|
};
|
609
610
|
readonly enums: {};
|
610
611
|
readonly enumValues: {};
|
611
|
-
readonly
|
612
|
-
readonly codegen: {
|
612
|
+
readonly codegen: _latticexyz_store_config_v2.mergeIfUndefined<{}, {
|
613
613
|
readonly storeImportPath: "@latticexyz/store/src/";
|
614
614
|
readonly userTypesFilename: "common.sol";
|
615
615
|
readonly outputDirectory: "codegen";
|
616
616
|
readonly namespaceDirectories: false;
|
617
617
|
readonly indexFilename: "index.sol";
|
618
|
-
} & {
|
618
|
+
}> & {
|
619
619
|
readonly worldInterfaceName: "IWorld";
|
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-69e23a36b",
|
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/
|
33
|
-
"@latticexyz/
|
34
|
-
"@latticexyz/world": "3.0.0-main-
|
30
|
+
"@latticexyz/common": "3.0.0-main-69e23a36b",
|
31
|
+
"@latticexyz/config": "3.0.0-main-69e23a36b",
|
32
|
+
"@latticexyz/store": "3.0.0-main-69e23a36b",
|
33
|
+
"@latticexyz/schema-type": "3.0.0-main-69e23a36b",
|
34
|
+
"@latticexyz/world": "3.0.0-main-69e23a36b"
|
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/
|
49
|
-
"@latticexyz/
|
47
|
+
"@latticexyz/abi-ts": "3.0.0-main-69e23a36b",
|
48
|
+
"@latticexyz/gas-report": "3.0.0-main-69e23a36b",
|
49
|
+
"@latticexyz/cli": "3.0.0-main-69e23a36b"
|
50
50
|
},
|
51
51
|
"publishConfig": {
|
52
52
|
"access": "public"
|