@paraspell/pallets 11.14.10 → 12.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/dist/index.cjs +0 -1845
package/dist/index.cjs DELETED
@@ -1,1845 +0,0 @@
1
- 'use strict';
2
-
3
- var CROSSCHAIN_PALLETS = ['XTokens', 'PolkadotXcm', 'XTransfer', 'XcmPallet'];
4
- var ASSETS_PALLETS = ['Balances', 'Tokens', 'Currencies', 'Assets', 'ForeignAssets', 'AssetManager', 'System', 'Fungibles', 'OrmlTokens'];
5
- var OTHER_PALLETS = ['Utility'];
6
- var PALLETS = [].concat(CROSSCHAIN_PALLETS, ASSETS_PALLETS, OTHER_PALLETS);
7
-
8
- var AssetHubPolkadot = {
9
- defaultPallet: "PolkadotXcm",
10
- supportedPallets: [
11
- {
12
- name: "Balances",
13
- index: 10
14
- },
15
- {
16
- name: "PolkadotXcm",
17
- index: 31
18
- },
19
- {
20
- name: "Assets",
21
- index: 50
22
- },
23
- {
24
- name: "ForeignAssets",
25
- index: 53
26
- }
27
- ],
28
- nativeAssets: "Balances",
29
- otherAssets: [
30
- "Assets",
31
- "ForeignAssets"
32
- ]
33
- };
34
- var Acala = {
35
- defaultPallet: "XTokens",
36
- supportedPallets: [
37
- {
38
- name: "Balances",
39
- index: 10
40
- },
41
- {
42
- name: "Currencies",
43
- index: 12
44
- },
45
- {
46
- name: "PolkadotXcm",
47
- index: 51
48
- },
49
- {
50
- name: "XTokens",
51
- index: 54
52
- }
53
- ],
54
- nativeAssets: "Balances",
55
- otherAssets: [
56
- "Currencies",
57
- "Tokens"
58
- ]
59
- };
60
- var Astar = {
61
- defaultPallet: "XTokens",
62
- supportedPallets: [
63
- {
64
- name: "Balances",
65
- index: 31
66
- },
67
- {
68
- name: "Assets",
69
- index: 36
70
- },
71
- {
72
- name: "PolkadotXcm",
73
- index: 51
74
- },
75
- {
76
- name: "XTokens",
77
- index: 55
78
- }
79
- ],
80
- nativeAssets: "Balances",
81
- otherAssets: [
82
- "Assets"
83
- ]
84
- };
85
- var BifrostPolkadot = {
86
- defaultPallet: "XTokens",
87
- supportedPallets: [
88
- {
89
- name: "Balances",
90
- index: 10
91
- },
92
- {
93
- name: "PolkadotXcm",
94
- index: 41
95
- },
96
- {
97
- name: "XTokens",
98
- index: 70
99
- },
100
- {
101
- name: "Tokens",
102
- index: 71
103
- }
104
- ],
105
- nativeAssets: "Balances",
106
- otherAssets: [
107
- "Tokens",
108
- "Currencies"
109
- ]
110
- };
111
- var CoretimeKusama = {
112
- defaultPallet: "PolkadotXcm",
113
- supportedPallets: [
114
- {
115
- name: "Balances",
116
- index: 10
117
- },
118
- {
119
- name: "PolkadotXcm",
120
- index: 31
121
- }
122
- ],
123
- nativeAssets: "Balances",
124
- otherAssets: [
125
- ]
126
- };
127
- var Centrifuge = {
128
- defaultPallet: "XTokens",
129
- supportedPallets: [
130
- {
131
- name: "Balances",
132
- index: 20
133
- },
134
- {
135
- name: "Tokens",
136
- index: 98
137
- },
138
- {
139
- name: "PolkadotXcm",
140
- index: 121
141
- },
142
- {
143
- name: "XTokens",
144
- index: 124
145
- }
146
- ],
147
- nativeAssets: "Balances",
148
- otherAssets: [
149
- "Tokens",
150
- "OrmlTokens"
151
- ]
152
- };
153
- var Darwinia = {
154
- defaultPallet: "PolkadotXcm",
155
- supportedPallets: [
156
- {
157
- name: "Balances",
158
- index: 5
159
- },
160
- {
161
- name: "Assets",
162
- index: 7
163
- },
164
- {
165
- name: "PolkadotXcm",
166
- index: 33
167
- },
168
- {
169
- name: "AssetManager",
170
- index: 45
171
- }
172
- ],
173
- nativeAssets: "Balances",
174
- otherAssets: [
175
- "Assets",
176
- "AssetManager"
177
- ]
178
- };
179
- var Hydration = {
180
- defaultPallet: "XTokens",
181
- supportedPallets: [
182
- {
183
- name: "Balances",
184
- index: 7
185
- },
186
- {
187
- name: "Tokens",
188
- index: 77
189
- },
190
- {
191
- name: "Currencies",
192
- index: 79
193
- },
194
- {
195
- name: "PolkadotXcm",
196
- index: 107
197
- },
198
- {
199
- name: "XTokens",
200
- index: 137
201
- }
202
- ],
203
- nativeAssets: "Balances",
204
- otherAssets: [
205
- "Currencies",
206
- "Tokens"
207
- ]
208
- };
209
- var Interlay = {
210
- defaultPallet: "XTokens",
211
- supportedPallets: [
212
- {
213
- name: "Tokens",
214
- index: 21
215
- },
216
- {
217
- name: "PolkadotXcm",
218
- index: 91
219
- },
220
- {
221
- name: "XTokens",
222
- index: 94
223
- }
224
- ],
225
- nativeAssets: "Tokens",
226
- otherAssets: [
227
- "Tokens"
228
- ]
229
- };
230
- var Heima = {
231
- defaultPallet: "PolkadotXcm",
232
- supportedPallets: [
233
- {
234
- name: "Balances",
235
- index: 10
236
- },
237
- {
238
- name: "PolkadotXcm",
239
- index: 51
240
- },
241
- {
242
- name: "Assets",
243
- index: 56
244
- },
245
- {
246
- name: "AssetManager",
247
- index: 64
248
- }
249
- ],
250
- nativeAssets: "Balances",
251
- otherAssets: [
252
- "Assets",
253
- "AssetManager"
254
- ]
255
- };
256
- var Moonbeam = {
257
- defaultPallet: "PolkadotXcm",
258
- supportedPallets: [
259
- {
260
- name: "Balances",
261
- index: 10
262
- },
263
- {
264
- name: "PolkadotXcm",
265
- index: 103
266
- },
267
- {
268
- name: "Assets",
269
- index: 104
270
- }
271
- ],
272
- nativeAssets: "Balances",
273
- otherAssets: [
274
- "System"
275
- ]
276
- };
277
- var AssetHubKusama = {
278
- defaultPallet: "PolkadotXcm",
279
- supportedPallets: [
280
- {
281
- name: "Balances",
282
- index: 10
283
- },
284
- {
285
- name: "PolkadotXcm",
286
- index: 31
287
- },
288
- {
289
- name: "Assets",
290
- index: 50
291
- },
292
- {
293
- name: "ForeignAssets",
294
- index: 53
295
- }
296
- ],
297
- nativeAssets: "Balances",
298
- otherAssets: [
299
- "Assets",
300
- "ForeignAssets"
301
- ]
302
- };
303
- var Encointer = {
304
- defaultPallet: "PolkadotXcm",
305
- supportedPallets: [
306
- {
307
- name: "Balances",
308
- index: 10
309
- },
310
- {
311
- name: "PolkadotXcm",
312
- index: 31
313
- }
314
- ],
315
- nativeAssets: "Balances",
316
- otherAssets: [
317
- ]
318
- };
319
- var Altair = {
320
- defaultPallet: "XTokens",
321
- supportedPallets: [
322
- {
323
- name: "Balances",
324
- index: 20
325
- },
326
- {
327
- name: "Tokens",
328
- index: 97
329
- },
330
- {
331
- name: "PolkadotXcm",
332
- index: 121
333
- },
334
- {
335
- name: "XTokens",
336
- index: 124
337
- }
338
- ],
339
- nativeAssets: "Balances",
340
- otherAssets: [
341
- "Tokens",
342
- "OrmlTokens"
343
- ]
344
- };
345
- var Amplitude = {
346
- defaultPallet: "XTokens",
347
- supportedPallets: [
348
- {
349
- name: "Balances",
350
- index: 10
351
- },
352
- {
353
- name: "PolkadotXcm",
354
- index: 41
355
- },
356
- {
357
- name: "Currencies",
358
- index: 52
359
- },
360
- {
361
- name: "Tokens",
362
- index: 53
363
- },
364
- {
365
- name: "XTokens",
366
- index: 54
367
- }
368
- ],
369
- nativeAssets: "Balances",
370
- otherAssets: [
371
- "Currencies",
372
- "Tokens"
373
- ]
374
- };
375
- var Basilisk = {
376
- defaultPallet: "XTokens",
377
- supportedPallets: [
378
- {
379
- name: "Balances",
380
- index: 2
381
- },
382
- {
383
- name: "PolkadotXcm",
384
- index: 52
385
- },
386
- {
387
- name: "Currencies",
388
- index: 150
389
- },
390
- {
391
- name: "Tokens",
392
- index: 151
393
- },
394
- {
395
- name: "XTokens",
396
- index: 154
397
- }
398
- ],
399
- nativeAssets: "Balances",
400
- otherAssets: [
401
- "Currencies",
402
- "Tokens"
403
- ]
404
- };
405
- var BifrostKusama = {
406
- defaultPallet: "XTokens",
407
- supportedPallets: [
408
- {
409
- name: "Balances",
410
- index: 10
411
- },
412
- {
413
- name: "PolkadotXcm",
414
- index: 41
415
- },
416
- {
417
- name: "XTokens",
418
- index: 70
419
- },
420
- {
421
- name: "Tokens",
422
- index: 71
423
- }
424
- ],
425
- nativeAssets: "Balances",
426
- otherAssets: [
427
- "Tokens",
428
- "Currencies"
429
- ]
430
- };
431
- var CrustShadow = {
432
- defaultPallet: "XTokens",
433
- supportedPallets: [
434
- {
435
- name: "Balances",
436
- index: 2
437
- },
438
- {
439
- name: "PolkadotXcm",
440
- index: 13
441
- },
442
- {
443
- name: "Assets",
444
- index: 124
445
- },
446
- {
447
- name: "XTokens",
448
- index: 125
449
- },
450
- {
451
- name: "AssetManager",
452
- index: 126
453
- }
454
- ],
455
- nativeAssets: "Balances",
456
- otherAssets: [
457
- "Assets",
458
- "AssetManager"
459
- ]
460
- };
461
- var Crab = {
462
- defaultPallet: "PolkadotXcm",
463
- supportedPallets: [
464
- {
465
- name: "Balances",
466
- index: 5
467
- },
468
- {
469
- name: "Assets",
470
- index: 7
471
- },
472
- {
473
- name: "PolkadotXcm",
474
- index: 33
475
- }
476
- ],
477
- nativeAssets: "Balances",
478
- otherAssets: [
479
- "Assets"
480
- ]
481
- };
482
- var Karura = {
483
- defaultPallet: "XTokens",
484
- supportedPallets: [
485
- {
486
- name: "Balances",
487
- index: 10
488
- },
489
- {
490
- name: "Currencies",
491
- index: 12
492
- },
493
- {
494
- name: "PolkadotXcm",
495
- index: 51
496
- },
497
- {
498
- name: "XTokens",
499
- index: 54
500
- }
501
- ],
502
- nativeAssets: "Balances",
503
- otherAssets: [
504
- "Currencies",
505
- "Tokens"
506
- ]
507
- };
508
- var Kintsugi = {
509
- defaultPallet: "XTokens",
510
- supportedPallets: [
511
- {
512
- name: "Tokens",
513
- index: 21
514
- },
515
- {
516
- name: "PolkadotXcm",
517
- index: 91
518
- },
519
- {
520
- name: "XTokens",
521
- index: 94
522
- }
523
- ],
524
- nativeAssets: "Tokens",
525
- otherAssets: [
526
- "Tokens"
527
- ]
528
- };
529
- var Moonriver = {
530
- defaultPallet: "PolkadotXcm",
531
- supportedPallets: [
532
- {
533
- name: "Balances",
534
- index: 10
535
- },
536
- {
537
- name: "PolkadotXcm",
538
- index: 103
539
- }
540
- ],
541
- nativeAssets: "Balances",
542
- otherAssets: [
543
- "System"
544
- ]
545
- };
546
- var Quartz = {
547
- defaultPallet: "XTokens",
548
- supportedPallets: [
549
- {
550
- name: "Balances",
551
- index: 30
552
- },
553
- {
554
- name: "XTokens",
555
- index: 38
556
- },
557
- {
558
- name: "PolkadotXcm",
559
- index: 51
560
- },
561
- {
562
- name: "ForeignAssets",
563
- index: 80
564
- }
565
- ],
566
- nativeAssets: "Balances",
567
- otherAssets: [
568
- "ForeignAssets"
569
- ]
570
- };
571
- var RobonomicsKusama = {
572
- defaultPallet: "PolkadotXcm",
573
- supportedPallets: [
574
- {
575
- name: "Balances",
576
- index: 31
577
- },
578
- {
579
- name: "Assets",
580
- index: 34
581
- },
582
- {
583
- name: "PolkadotXcm",
584
- index: 71
585
- }
586
- ],
587
- nativeAssets: "Balances",
588
- otherAssets: [
589
- "Assets"
590
- ]
591
- };
592
- var Shiden = {
593
- defaultPallet: "XTokens",
594
- supportedPallets: [
595
- {
596
- name: "Balances",
597
- index: 31
598
- },
599
- {
600
- name: "Assets",
601
- index: 36
602
- },
603
- {
604
- name: "PolkadotXcm",
605
- index: 51
606
- },
607
- {
608
- name: "XTokens",
609
- index: 55
610
- }
611
- ],
612
- nativeAssets: "Balances",
613
- otherAssets: [
614
- "Assets"
615
- ]
616
- };
617
- var Unique = {
618
- defaultPallet: "XTokens",
619
- supportedPallets: [
620
- {
621
- name: "Balances",
622
- index: 30
623
- },
624
- {
625
- name: "XTokens",
626
- index: 38
627
- },
628
- {
629
- name: "PolkadotXcm",
630
- index: 51
631
- },
632
- {
633
- name: "ForeignAssets",
634
- index: 80
635
- }
636
- ],
637
- nativeAssets: "Balances",
638
- otherAssets: [
639
- "ForeignAssets"
640
- ]
641
- };
642
- var Crust = {
643
- defaultPallet: "XTokens",
644
- supportedPallets: [
645
- {
646
- name: "Balances",
647
- index: 2
648
- },
649
- {
650
- name: "PolkadotXcm",
651
- index: 14
652
- },
653
- {
654
- name: "Assets",
655
- index: 124
656
- },
657
- {
658
- name: "XTokens",
659
- index: 125
660
- },
661
- {
662
- name: "AssetManager",
663
- index: 126
664
- }
665
- ],
666
- nativeAssets: "Balances",
667
- otherAssets: [
668
- "Assets",
669
- "AssetManager"
670
- ]
671
- };
672
- var Manta = {
673
- defaultPallet: "XTokens",
674
- supportedPallets: [
675
- {
676
- name: "Balances",
677
- index: 10
678
- },
679
- {
680
- name: "PolkadotXcm",
681
- index: 31
682
- },
683
- {
684
- name: "XTokens",
685
- index: 34
686
- },
687
- {
688
- name: "Assets",
689
- index: 45
690
- },
691
- {
692
- name: "AssetManager",
693
- index: 46
694
- }
695
- ],
696
- nativeAssets: "Balances",
697
- otherAssets: [
698
- "Assets",
699
- "AssetManager"
700
- ]
701
- };
702
- var Nodle = {
703
- defaultPallet: "PolkadotXcm",
704
- supportedPallets: [
705
- {
706
- name: "Balances",
707
- index: 2
708
- },
709
- {
710
- name: "PolkadotXcm",
711
- index: 35
712
- }
713
- ],
714
- nativeAssets: "Balances",
715
- otherAssets: [
716
- ]
717
- };
718
- var NeuroWeb = {
719
- defaultPallet: "PolkadotXcm",
720
- supportedPallets: [
721
- {
722
- name: "Balances",
723
- index: 10
724
- },
725
- {
726
- name: "Assets",
727
- index: 14
728
- },
729
- {
730
- name: "ForeignAssets",
731
- index: 16
732
- },
733
- {
734
- name: "PolkadotXcm",
735
- index: 31
736
- }
737
- ],
738
- nativeAssets: "Balances",
739
- otherAssets: [
740
- "Assets",
741
- "ForeignAssets"
742
- ]
743
- };
744
- var Pendulum = {
745
- defaultPallet: "XTokens",
746
- supportedPallets: [
747
- {
748
- name: "Balances",
749
- index: 10
750
- },
751
- {
752
- name: "PolkadotXcm",
753
- index: 41
754
- },
755
- {
756
- name: "Currencies",
757
- index: 52
758
- },
759
- {
760
- name: "Tokens",
761
- index: 53
762
- },
763
- {
764
- name: "XTokens",
765
- index: 54
766
- }
767
- ],
768
- nativeAssets: "Balances",
769
- otherAssets: [
770
- "Currencies",
771
- "Tokens"
772
- ]
773
- };
774
- var Zeitgeist = {
775
- defaultPallet: "XTokens",
776
- supportedPallets: [
777
- {
778
- name: "Balances",
779
- index: 10
780
- },
781
- {
782
- name: "AssetManager",
783
- index: 40
784
- },
785
- {
786
- name: "PolkadotXcm",
787
- index: 122
788
- },
789
- {
790
- name: "XTokens",
791
- index: 126
792
- }
793
- ],
794
- nativeAssets: "Balances",
795
- otherAssets: [
796
- "AssetManager",
797
- "Tokens"
798
- ]
799
- };
800
- var Collectives = {
801
- defaultPallet: "PolkadotXcm",
802
- supportedPallets: [
803
- {
804
- name: "Balances",
805
- index: 10
806
- },
807
- {
808
- name: "PolkadotXcm",
809
- index: 31
810
- }
811
- ],
812
- nativeAssets: "Balances",
813
- otherAssets: [
814
- ]
815
- };
816
- var Phala = {
817
- defaultPallet: "XTransfer",
818
- supportedPallets: [
819
- {
820
- name: "PolkadotXcm",
821
- index: 33
822
- },
823
- {
824
- name: "Balances",
825
- index: 40
826
- },
827
- {
828
- name: "Assets",
829
- index: 42
830
- },
831
- {
832
- name: "XTransfer",
833
- index: 82
834
- }
835
- ],
836
- nativeAssets: "Balances",
837
- otherAssets: [
838
- "Assets"
839
- ]
840
- };
841
- var KiltSpiritnet = {
842
- defaultPallet: "PolkadotXcm",
843
- supportedPallets: [
844
- {
845
- name: "Balances",
846
- index: 6
847
- },
848
- {
849
- name: "Fungibles",
850
- index: 49
851
- },
852
- {
853
- name: "PolkadotXcm",
854
- index: 83
855
- }
856
- ],
857
- nativeAssets: "Balances",
858
- otherAssets: [
859
- "Fungibles"
860
- ]
861
- };
862
- var Curio = {
863
- defaultPallet: "XTokens",
864
- supportedPallets: [
865
- {
866
- name: "Balances",
867
- index: 10
868
- },
869
- {
870
- name: "PolkadotXcm",
871
- index: 41
872
- },
873
- {
874
- name: "Currencies",
875
- index: 72
876
- },
877
- {
878
- name: "Tokens",
879
- index: 73
880
- },
881
- {
882
- name: "XTokens",
883
- index: 75
884
- }
885
- ],
886
- nativeAssets: "Balances",
887
- otherAssets: [
888
- "Currencies",
889
- "Tokens"
890
- ]
891
- };
892
- var BridgeHubPolkadot = {
893
- defaultPallet: "PolkadotXcm",
894
- supportedPallets: [
895
- {
896
- name: "Balances",
897
- index: 10
898
- },
899
- {
900
- name: "PolkadotXcm",
901
- index: 31
902
- }
903
- ],
904
- nativeAssets: "Balances",
905
- otherAssets: [
906
- ]
907
- };
908
- var BridgeHubKusama = {
909
- defaultPallet: "PolkadotXcm",
910
- supportedPallets: [
911
- {
912
- name: "Balances",
913
- index: 10
914
- },
915
- {
916
- name: "PolkadotXcm",
917
- index: 31
918
- }
919
- ],
920
- nativeAssets: "Balances",
921
- otherAssets: [
922
- ]
923
- };
924
- var Mythos = {
925
- defaultPallet: "PolkadotXcm",
926
- supportedPallets: [
927
- {
928
- name: "Balances",
929
- index: 10
930
- },
931
- {
932
- name: "PolkadotXcm",
933
- index: 31
934
- }
935
- ],
936
- nativeAssets: "Balances",
937
- otherAssets: [
938
- ]
939
- };
940
- var Peaq = {
941
- defaultPallet: "XTokens",
942
- supportedPallets: [
943
- {
944
- name: "Balances",
945
- index: 4
946
- },
947
- {
948
- name: "PolkadotXcm",
949
- index: 31
950
- },
951
- {
952
- name: "XTokens",
953
- index: 36
954
- },
955
- {
956
- name: "Assets",
957
- index: 39
958
- }
959
- ],
960
- nativeAssets: "Balances",
961
- otherAssets: [
962
- "Assets"
963
- ]
964
- };
965
- var CoretimePolkadot = {
966
- defaultPallet: "PolkadotXcm",
967
- supportedPallets: [
968
- {
969
- name: "Balances",
970
- index: 10
971
- },
972
- {
973
- name: "PolkadotXcm",
974
- index: 31
975
- }
976
- ],
977
- nativeAssets: "Balances",
978
- otherAssets: [
979
- ]
980
- };
981
- var RobonomicsPolkadot = {
982
- defaultPallet: "PolkadotXcm",
983
- supportedPallets: [
984
- {
985
- name: "Balances",
986
- index: 31
987
- },
988
- {
989
- name: "Assets",
990
- index: 34
991
- },
992
- {
993
- name: "PolkadotXcm",
994
- index: 71
995
- }
996
- ],
997
- nativeAssets: "Balances",
998
- otherAssets: [
999
- "Assets"
1000
- ]
1001
- };
1002
- var PeoplePolkadot = {
1003
- defaultPallet: "PolkadotXcm",
1004
- supportedPallets: [
1005
- {
1006
- name: "Balances",
1007
- index: 10
1008
- },
1009
- {
1010
- name: "PolkadotXcm",
1011
- index: 31
1012
- }
1013
- ],
1014
- nativeAssets: "Balances",
1015
- otherAssets: [
1016
- ]
1017
- };
1018
- var PeopleKusama = {
1019
- defaultPallet: "PolkadotXcm",
1020
- supportedPallets: [
1021
- {
1022
- name: "Balances",
1023
- index: 10
1024
- },
1025
- {
1026
- name: "PolkadotXcm",
1027
- index: 31
1028
- }
1029
- ],
1030
- nativeAssets: "Balances",
1031
- otherAssets: [
1032
- ]
1033
- };
1034
- var Polkadot = {
1035
- defaultPallet: "XcmPallet",
1036
- supportedPallets: [
1037
- {
1038
- name: "Balances",
1039
- index: 5
1040
- },
1041
- {
1042
- name: "XcmPallet",
1043
- index: 99
1044
- }
1045
- ],
1046
- nativeAssets: "Balances",
1047
- otherAssets: [
1048
- ]
1049
- };
1050
- var Kusama = {
1051
- defaultPallet: "XcmPallet",
1052
- supportedPallets: [
1053
- {
1054
- name: "Balances",
1055
- index: 4
1056
- },
1057
- {
1058
- name: "XcmPallet",
1059
- index: 99
1060
- }
1061
- ],
1062
- nativeAssets: "Balances",
1063
- otherAssets: [
1064
- ]
1065
- };
1066
- var Ajuna = {
1067
- defaultPallet: "XTokens",
1068
- supportedPallets: [
1069
- {
1070
- name: "Balances",
1071
- index: 15
1072
- },
1073
- {
1074
- name: "PolkadotXcm",
1075
- index: 31
1076
- },
1077
- {
1078
- name: "XTokens",
1079
- index: 35
1080
- },
1081
- {
1082
- name: "Assets",
1083
- index: 90
1084
- }
1085
- ],
1086
- nativeAssets: "Balances",
1087
- otherAssets: [
1088
- "Assets"
1089
- ]
1090
- };
1091
- var Laos = {
1092
- defaultPallet: "PolkadotXcm",
1093
- supportedPallets: [
1094
- {
1095
- name: "Balances",
1096
- index: 10
1097
- },
1098
- {
1099
- name: "PolkadotXcm",
1100
- index: 31
1101
- }
1102
- ],
1103
- nativeAssets: "Balances",
1104
- otherAssets: [
1105
- ]
1106
- };
1107
- var Jamton = {
1108
- defaultPallet: "XTokens",
1109
- supportedPallets: [
1110
- {
1111
- name: "Balances",
1112
- index: 10
1113
- },
1114
- {
1115
- name: "Tokens",
1116
- index: 12
1117
- },
1118
- {
1119
- name: "Currencies",
1120
- index: 16
1121
- },
1122
- {
1123
- name: "XTokens",
1124
- index: 18
1125
- },
1126
- {
1127
- name: "PolkadotXcm",
1128
- index: 31
1129
- }
1130
- ],
1131
- nativeAssets: "Balances",
1132
- otherAssets: [
1133
- "Currencies",
1134
- "Tokens"
1135
- ]
1136
- };
1137
- var AssetHubWestend = {
1138
- defaultPallet: "PolkadotXcm",
1139
- supportedPallets: [
1140
- {
1141
- name: "Balances",
1142
- index: 10
1143
- },
1144
- {
1145
- name: "PolkadotXcm",
1146
- index: 31
1147
- },
1148
- {
1149
- name: "Assets",
1150
- index: 50
1151
- },
1152
- {
1153
- name: "ForeignAssets",
1154
- index: 53
1155
- }
1156
- ],
1157
- nativeAssets: "Balances",
1158
- otherAssets: [
1159
- "Assets",
1160
- "ForeignAssets"
1161
- ]
1162
- };
1163
- var BridgeHubWestend = {
1164
- defaultPallet: "PolkadotXcm",
1165
- supportedPallets: [
1166
- {
1167
- name: "Balances",
1168
- index: 10
1169
- },
1170
- {
1171
- name: "PolkadotXcm",
1172
- index: 31
1173
- }
1174
- ],
1175
- nativeAssets: "Balances",
1176
- otherAssets: [
1177
- ]
1178
- };
1179
- var CollectivesWestend = {
1180
- defaultPallet: "PolkadotXcm",
1181
- supportedPallets: [
1182
- {
1183
- name: "Balances",
1184
- index: 10
1185
- },
1186
- {
1187
- name: "PolkadotXcm",
1188
- index: 31
1189
- }
1190
- ],
1191
- nativeAssets: "Balances",
1192
- otherAssets: [
1193
- ]
1194
- };
1195
- var CoretimeWestend = {
1196
- defaultPallet: "PolkadotXcm",
1197
- supportedPallets: [
1198
- {
1199
- name: "Balances",
1200
- index: 10
1201
- },
1202
- {
1203
- name: "PolkadotXcm",
1204
- index: 31
1205
- }
1206
- ],
1207
- nativeAssets: "Balances",
1208
- otherAssets: [
1209
- ]
1210
- };
1211
- var PeopleWestend = {
1212
- defaultPallet: "PolkadotXcm",
1213
- supportedPallets: [
1214
- {
1215
- name: "Balances",
1216
- index: 10
1217
- },
1218
- {
1219
- name: "PolkadotXcm",
1220
- index: 31
1221
- }
1222
- ],
1223
- nativeAssets: "Balances",
1224
- otherAssets: [
1225
- ]
1226
- };
1227
- var Penpal = {
1228
- defaultPallet: "PolkadotXcm",
1229
- supportedPallets: [
1230
- {
1231
- name: "Balances",
1232
- index: 10
1233
- },
1234
- {
1235
- name: "PolkadotXcm",
1236
- index: 31
1237
- },
1238
- {
1239
- name: "Assets",
1240
- index: 50
1241
- },
1242
- {
1243
- name: "ForeignAssets",
1244
- index: 51
1245
- }
1246
- ],
1247
- nativeAssets: "Balances",
1248
- otherAssets: [
1249
- "Assets",
1250
- "ForeignAssets"
1251
- ]
1252
- };
1253
- var AssetHubPaseo = {
1254
- defaultPallet: "PolkadotXcm",
1255
- supportedPallets: [
1256
- {
1257
- name: "Balances",
1258
- index: 10
1259
- },
1260
- {
1261
- name: "PolkadotXcm",
1262
- index: 31
1263
- },
1264
- {
1265
- name: "Assets",
1266
- index: 50
1267
- },
1268
- {
1269
- name: "ForeignAssets",
1270
- index: 53
1271
- }
1272
- ],
1273
- nativeAssets: "Balances",
1274
- otherAssets: [
1275
- "Assets",
1276
- "ForeignAssets"
1277
- ]
1278
- };
1279
- var BridgeHubPaseo = {
1280
- defaultPallet: "PolkadotXcm",
1281
- supportedPallets: [
1282
- {
1283
- name: "Balances",
1284
- index: 10
1285
- },
1286
- {
1287
- name: "PolkadotXcm",
1288
- index: 31
1289
- }
1290
- ],
1291
- nativeAssets: "Balances",
1292
- otherAssets: [
1293
- ]
1294
- };
1295
- var CoretimePaseo = {
1296
- defaultPallet: "PolkadotXcm",
1297
- supportedPallets: [
1298
- {
1299
- name: "Balances",
1300
- index: 10
1301
- },
1302
- {
1303
- name: "PolkadotXcm",
1304
- index: 31
1305
- }
1306
- ],
1307
- nativeAssets: "Balances",
1308
- otherAssets: [
1309
- ]
1310
- };
1311
- var PAssetHub = {
1312
- defaultPallet: "PolkadotXcm",
1313
- supportedPallets: [
1314
- {
1315
- name: "Balances",
1316
- index: 10
1317
- },
1318
- {
1319
- name: "PolkadotXcm",
1320
- index: 31
1321
- },
1322
- {
1323
- name: "Assets",
1324
- index: 50
1325
- },
1326
- {
1327
- name: "ForeignAssets",
1328
- index: 53
1329
- }
1330
- ],
1331
- nativeAssets: "Balances",
1332
- otherAssets: [
1333
- "Assets",
1334
- "ForeignAssets"
1335
- ]
1336
- };
1337
- var PeoplePaseo = {
1338
- defaultPallet: "PolkadotXcm",
1339
- supportedPallets: [
1340
- {
1341
- name: "Balances",
1342
- index: 10
1343
- },
1344
- {
1345
- name: "PolkadotXcm",
1346
- index: 31
1347
- }
1348
- ],
1349
- nativeAssets: "Balances",
1350
- otherAssets: [
1351
- ]
1352
- };
1353
- var AjunaPaseo = {
1354
- defaultPallet: "XTokens",
1355
- supportedPallets: [
1356
- {
1357
- name: "Balances",
1358
- index: 15
1359
- },
1360
- {
1361
- name: "PolkadotXcm",
1362
- index: 31
1363
- },
1364
- {
1365
- name: "XTokens",
1366
- index: 35
1367
- },
1368
- {
1369
- name: "Assets",
1370
- index: 90
1371
- }
1372
- ],
1373
- nativeAssets: "Balances",
1374
- otherAssets: [
1375
- "Assets"
1376
- ]
1377
- };
1378
- var BifrostPaseo = {
1379
- defaultPallet: "XTokens",
1380
- supportedPallets: [
1381
- {
1382
- name: "Balances",
1383
- index: 10
1384
- },
1385
- {
1386
- name: "PolkadotXcm",
1387
- index: 41
1388
- },
1389
- {
1390
- name: "XTokens",
1391
- index: 70
1392
- },
1393
- {
1394
- name: "Tokens",
1395
- index: 71
1396
- }
1397
- ],
1398
- nativeAssets: "Balances",
1399
- otherAssets: [
1400
- "Tokens",
1401
- "Currencies"
1402
- ]
1403
- };
1404
- var HeimaPaseo = {
1405
- defaultPallet: "PolkadotXcm",
1406
- supportedPallets: [
1407
- {
1408
- name: "Balances",
1409
- index: 10
1410
- },
1411
- {
1412
- name: "PolkadotXcm",
1413
- index: 51
1414
- },
1415
- {
1416
- name: "Assets",
1417
- index: 56
1418
- },
1419
- {
1420
- name: "AssetManager",
1421
- index: 64
1422
- }
1423
- ],
1424
- nativeAssets: "Balances",
1425
- otherAssets: [
1426
- "Assets",
1427
- "AssetManager"
1428
- ]
1429
- };
1430
- var HydrationPaseo = {
1431
- defaultPallet: "XTokens",
1432
- supportedPallets: [
1433
- {
1434
- name: "Balances",
1435
- index: 7
1436
- },
1437
- {
1438
- name: "Tokens",
1439
- index: 77
1440
- },
1441
- {
1442
- name: "Currencies",
1443
- index: 79
1444
- },
1445
- {
1446
- name: "PolkadotXcm",
1447
- index: 107
1448
- },
1449
- {
1450
- name: "XTokens",
1451
- index: 137
1452
- }
1453
- ],
1454
- nativeAssets: "Balances",
1455
- otherAssets: [
1456
- "Currencies",
1457
- "Tokens"
1458
- ]
1459
- };
1460
- var KiltPaseo = {
1461
- defaultPallet: "PolkadotXcm",
1462
- supportedPallets: [
1463
- {
1464
- name: "Balances",
1465
- index: 6
1466
- },
1467
- {
1468
- name: "Fungibles",
1469
- index: 49
1470
- },
1471
- {
1472
- name: "PolkadotXcm",
1473
- index: 83
1474
- }
1475
- ],
1476
- nativeAssets: "Balances",
1477
- otherAssets: [
1478
- "Fungibles"
1479
- ]
1480
- };
1481
- var LaosPaseo = {
1482
- defaultPallet: "PolkadotXcm",
1483
- supportedPallets: [
1484
- {
1485
- name: "Balances",
1486
- index: 10
1487
- },
1488
- {
1489
- name: "PolkadotXcm",
1490
- index: 31
1491
- }
1492
- ],
1493
- nativeAssets: "Balances",
1494
- otherAssets: [
1495
- ]
1496
- };
1497
- var NeuroWebPaseo = {
1498
- defaultPallet: "PolkadotXcm",
1499
- supportedPallets: [
1500
- {
1501
- name: "Balances",
1502
- index: 10
1503
- },
1504
- {
1505
- name: "Assets",
1506
- index: 14
1507
- },
1508
- {
1509
- name: "ForeignAssets",
1510
- index: 16
1511
- },
1512
- {
1513
- name: "PolkadotXcm",
1514
- index: 31
1515
- }
1516
- ],
1517
- nativeAssets: "Balances",
1518
- otherAssets: [
1519
- "Assets",
1520
- "ForeignAssets"
1521
- ]
1522
- };
1523
- var ZeitgeistPaseo = {
1524
- defaultPallet: "XTokens",
1525
- supportedPallets: [
1526
- {
1527
- name: "Balances",
1528
- index: 10
1529
- },
1530
- {
1531
- name: "AssetManager",
1532
- index: 40
1533
- },
1534
- {
1535
- name: "PolkadotXcm",
1536
- index: 122
1537
- },
1538
- {
1539
- name: "XTokens",
1540
- index: 126
1541
- }
1542
- ],
1543
- nativeAssets: "Balances",
1544
- otherAssets: [
1545
- "AssetManager",
1546
- "Tokens"
1547
- ]
1548
- };
1549
- var Westend = {
1550
- defaultPallet: "XcmPallet",
1551
- supportedPallets: [
1552
- {
1553
- name: "Balances",
1554
- index: 4
1555
- },
1556
- {
1557
- name: "XcmPallet",
1558
- index: 99
1559
- }
1560
- ],
1561
- nativeAssets: "Balances",
1562
- otherAssets: [
1563
- ]
1564
- };
1565
- var Paseo = {
1566
- defaultPallet: "XcmPallet",
1567
- supportedPallets: [
1568
- {
1569
- name: "Balances",
1570
- index: 5
1571
- },
1572
- {
1573
- name: "XcmPallet",
1574
- index: 99
1575
- }
1576
- ],
1577
- nativeAssets: "Balances",
1578
- otherAssets: [
1579
- ]
1580
- };
1581
- var EnergyWebX = {
1582
- defaultPallet: "PolkadotXcm",
1583
- supportedPallets: [
1584
- {
1585
- name: "Balances",
1586
- index: 10
1587
- },
1588
- {
1589
- name: "PolkadotXcm",
1590
- index: 31
1591
- },
1592
- {
1593
- name: "Assets",
1594
- index: 60
1595
- }
1596
- ],
1597
- nativeAssets: "Balances",
1598
- otherAssets: [
1599
- "Assets"
1600
- ]
1601
- };
1602
- var EnergyWebXPaseo = {
1603
- defaultPallet: "PolkadotXcm",
1604
- supportedPallets: [
1605
- {
1606
- name: "Balances",
1607
- index: 10
1608
- },
1609
- {
1610
- name: "PolkadotXcm",
1611
- index: 31
1612
- },
1613
- {
1614
- name: "Assets",
1615
- index: 60
1616
- }
1617
- ],
1618
- nativeAssets: "Balances",
1619
- otherAssets: [
1620
- "Assets"
1621
- ]
1622
- };
1623
- var Xode = {
1624
- defaultPallet: "PolkadotXcm",
1625
- supportedPallets: [
1626
- {
1627
- name: "Balances",
1628
- index: 10
1629
- },
1630
- {
1631
- name: "PolkadotXcm",
1632
- index: 31
1633
- },
1634
- {
1635
- name: "Assets",
1636
- index: 50
1637
- }
1638
- ],
1639
- nativeAssets: "Balances",
1640
- otherAssets: [
1641
- "Assets"
1642
- ]
1643
- };
1644
- var pallets = {
1645
- AssetHubPolkadot: AssetHubPolkadot,
1646
- Acala: Acala,
1647
- Astar: Astar,
1648
- BifrostPolkadot: BifrostPolkadot,
1649
- CoretimeKusama: CoretimeKusama,
1650
- Centrifuge: Centrifuge,
1651
- Darwinia: Darwinia,
1652
- Hydration: Hydration,
1653
- Interlay: Interlay,
1654
- Heima: Heima,
1655
- Moonbeam: Moonbeam,
1656
- AssetHubKusama: AssetHubKusama,
1657
- Encointer: Encointer,
1658
- Altair: Altair,
1659
- Amplitude: Amplitude,
1660
- Basilisk: Basilisk,
1661
- BifrostKusama: BifrostKusama,
1662
- CrustShadow: CrustShadow,
1663
- Crab: Crab,
1664
- Karura: Karura,
1665
- Kintsugi: Kintsugi,
1666
- Moonriver: Moonriver,
1667
- Quartz: Quartz,
1668
- RobonomicsKusama: RobonomicsKusama,
1669
- Shiden: Shiden,
1670
- Unique: Unique,
1671
- Crust: Crust,
1672
- Manta: Manta,
1673
- Nodle: Nodle,
1674
- NeuroWeb: NeuroWeb,
1675
- Pendulum: Pendulum,
1676
- Zeitgeist: Zeitgeist,
1677
- Collectives: Collectives,
1678
- Phala: Phala,
1679
- KiltSpiritnet: KiltSpiritnet,
1680
- Curio: Curio,
1681
- BridgeHubPolkadot: BridgeHubPolkadot,
1682
- BridgeHubKusama: BridgeHubKusama,
1683
- Mythos: Mythos,
1684
- Peaq: Peaq,
1685
- CoretimePolkadot: CoretimePolkadot,
1686
- RobonomicsPolkadot: RobonomicsPolkadot,
1687
- PeoplePolkadot: PeoplePolkadot,
1688
- PeopleKusama: PeopleKusama,
1689
- Polkadot: Polkadot,
1690
- Kusama: Kusama,
1691
- Ajuna: Ajuna,
1692
- Laos: Laos,
1693
- Jamton: Jamton,
1694
- AssetHubWestend: AssetHubWestend,
1695
- BridgeHubWestend: BridgeHubWestend,
1696
- CollectivesWestend: CollectivesWestend,
1697
- CoretimeWestend: CoretimeWestend,
1698
- PeopleWestend: PeopleWestend,
1699
- Penpal: Penpal,
1700
- AssetHubPaseo: AssetHubPaseo,
1701
- BridgeHubPaseo: BridgeHubPaseo,
1702
- CoretimePaseo: CoretimePaseo,
1703
- PAssetHub: PAssetHub,
1704
- PeoplePaseo: PeoplePaseo,
1705
- AjunaPaseo: AjunaPaseo,
1706
- BifrostPaseo: BifrostPaseo,
1707
- HeimaPaseo: HeimaPaseo,
1708
- HydrationPaseo: HydrationPaseo,
1709
- KiltPaseo: KiltPaseo,
1710
- LaosPaseo: LaosPaseo,
1711
- NeuroWebPaseo: NeuroWebPaseo,
1712
- ZeitgeistPaseo: ZeitgeistPaseo,
1713
- Westend: Westend,
1714
- Paseo: Paseo,
1715
- EnergyWebX: EnergyWebX,
1716
- EnergyWebXPaseo: EnergyWebXPaseo,
1717
- Xode: Xode
1718
- };
1719
-
1720
- var palletsMapJson = /*#__PURE__*/Object.freeze({
1721
- __proto__: null,
1722
- Acala: Acala,
1723
- Ajuna: Ajuna,
1724
- AjunaPaseo: AjunaPaseo,
1725
- Altair: Altair,
1726
- Amplitude: Amplitude,
1727
- AssetHubKusama: AssetHubKusama,
1728
- AssetHubPaseo: AssetHubPaseo,
1729
- AssetHubPolkadot: AssetHubPolkadot,
1730
- AssetHubWestend: AssetHubWestend,
1731
- Astar: Astar,
1732
- Basilisk: Basilisk,
1733
- BifrostKusama: BifrostKusama,
1734
- BifrostPaseo: BifrostPaseo,
1735
- BifrostPolkadot: BifrostPolkadot,
1736
- BridgeHubKusama: BridgeHubKusama,
1737
- BridgeHubPaseo: BridgeHubPaseo,
1738
- BridgeHubPolkadot: BridgeHubPolkadot,
1739
- BridgeHubWestend: BridgeHubWestend,
1740
- Centrifuge: Centrifuge,
1741
- Collectives: Collectives,
1742
- CollectivesWestend: CollectivesWestend,
1743
- CoretimeKusama: CoretimeKusama,
1744
- CoretimePaseo: CoretimePaseo,
1745
- CoretimePolkadot: CoretimePolkadot,
1746
- CoretimeWestend: CoretimeWestend,
1747
- Crab: Crab,
1748
- Crust: Crust,
1749
- CrustShadow: CrustShadow,
1750
- Curio: Curio,
1751
- Darwinia: Darwinia,
1752
- Encointer: Encointer,
1753
- EnergyWebX: EnergyWebX,
1754
- EnergyWebXPaseo: EnergyWebXPaseo,
1755
- Heima: Heima,
1756
- HeimaPaseo: HeimaPaseo,
1757
- Hydration: Hydration,
1758
- HydrationPaseo: HydrationPaseo,
1759
- Interlay: Interlay,
1760
- Jamton: Jamton,
1761
- Karura: Karura,
1762
- KiltPaseo: KiltPaseo,
1763
- KiltSpiritnet: KiltSpiritnet,
1764
- Kintsugi: Kintsugi,
1765
- Kusama: Kusama,
1766
- Laos: Laos,
1767
- LaosPaseo: LaosPaseo,
1768
- Manta: Manta,
1769
- Moonbeam: Moonbeam,
1770
- Moonriver: Moonriver,
1771
- Mythos: Mythos,
1772
- NeuroWeb: NeuroWeb,
1773
- NeuroWebPaseo: NeuroWebPaseo,
1774
- Nodle: Nodle,
1775
- PAssetHub: PAssetHub,
1776
- Paseo: Paseo,
1777
- Peaq: Peaq,
1778
- Pendulum: Pendulum,
1779
- Penpal: Penpal,
1780
- PeopleKusama: PeopleKusama,
1781
- PeoplePaseo: PeoplePaseo,
1782
- PeoplePolkadot: PeoplePolkadot,
1783
- PeopleWestend: PeopleWestend,
1784
- Phala: Phala,
1785
- Polkadot: Polkadot,
1786
- Quartz: Quartz,
1787
- RobonomicsKusama: RobonomicsKusama,
1788
- RobonomicsPolkadot: RobonomicsPolkadot,
1789
- Shiden: Shiden,
1790
- Unique: Unique,
1791
- Westend: Westend,
1792
- Xode: Xode,
1793
- Zeitgeist: Zeitgeist,
1794
- ZeitgeistPaseo: ZeitgeistPaseo,
1795
- default: pallets
1796
- });
1797
-
1798
- // Script that pulls XCM Pallets for selected Parachain
1799
- var palletsMap = palletsMapJson;
1800
- /**
1801
- * Retrieves the default pallet for a specified chain.
1802
- *
1803
- * @param chain - The chain for which to get the default pallet.
1804
- * @returns The default pallet associated with the chain.
1805
- */
1806
- var getDefaultPallet = function getDefaultPallet(chain) {
1807
- return palletsMap[chain].defaultPallet;
1808
- };
1809
- /**
1810
- * Retrieves the list of supported pallets for a specified chain.
1811
- *
1812
- * @param chain - The chain for which to get supported pallets.
1813
- * @returns An array of pallets supported by the chain.
1814
- */
1815
- var getSupportedPallets = function getSupportedPallets(chain) {
1816
- return palletsMap[chain].supportedPallets.map(function (pallet) {
1817
- return pallet.name;
1818
- });
1819
- };
1820
- var getSupportedPalletsDetails = function getSupportedPalletsDetails(chain) {
1821
- return palletsMap[chain].supportedPallets;
1822
- };
1823
- var getPalletIndex = function getPalletIndex(chain, pallet) {
1824
- var _palletsMap$chain$sup;
1825
- return (_palletsMap$chain$sup = palletsMap[chain].supportedPallets.find(function (p) {
1826
- return p.name === pallet;
1827
- })) === null || _palletsMap$chain$sup === void 0 ? void 0 : _palletsMap$chain$sup.index;
1828
- };
1829
- var getNativeAssetsPallet = function getNativeAssetsPallet(chain) {
1830
- return palletsMap[chain].nativeAssets;
1831
- };
1832
- var getOtherAssetsPallets = function getOtherAssetsPallets(chain) {
1833
- return palletsMap[chain].otherAssets;
1834
- };
1835
-
1836
- exports.ASSETS_PALLETS = ASSETS_PALLETS;
1837
- exports.CROSSCHAIN_PALLETS = CROSSCHAIN_PALLETS;
1838
- exports.OTHER_PALLETS = OTHER_PALLETS;
1839
- exports.PALLETS = PALLETS;
1840
- exports.getDefaultPallet = getDefaultPallet;
1841
- exports.getNativeAssetsPallet = getNativeAssetsPallet;
1842
- exports.getOtherAssetsPallets = getOtherAssetsPallets;
1843
- exports.getPalletIndex = getPalletIndex;
1844
- exports.getSupportedPallets = getSupportedPallets;
1845
- exports.getSupportedPalletsDetails = getSupportedPalletsDetails;