@moonbeam-network/xcm-config 3.4.1 → 3.4.2
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/build/index.d.ts +1 -3
- package/build/index.mjs +904 -1003
- package/build/index.mjs.map +1 -1
- package/package.json +4 -4
package/build/index.mjs
CHANGED
|
@@ -156,10 +156,6 @@ var maos = new Asset({
|
|
|
156
156
|
key: "maos",
|
|
157
157
|
originSymbol: "MAOS"
|
|
158
158
|
});
|
|
159
|
-
var mgx = new Asset({
|
|
160
|
-
key: "mgx",
|
|
161
|
-
originSymbol: "MGX"
|
|
162
|
-
});
|
|
163
159
|
var movr = new Asset({
|
|
164
160
|
key: "movr",
|
|
165
161
|
originSymbol: "MOVR"
|
|
@@ -377,7 +373,6 @@ var assetsList = [
|
|
|
377
373
|
lit,
|
|
378
374
|
manta,
|
|
379
375
|
maos,
|
|
380
|
-
mgx,
|
|
381
376
|
movr,
|
|
382
377
|
neuro,
|
|
383
378
|
nodl,
|
|
@@ -557,25 +552,41 @@ var bifrostKusama = new Parachain({
|
|
|
557
552
|
ChainAsset.fromAsset(bnc, {
|
|
558
553
|
decimals: 12,
|
|
559
554
|
ids: {
|
|
560
|
-
id: { Native: bnc.originSymbol }
|
|
555
|
+
id: { Native: bnc.originSymbol },
|
|
556
|
+
generalKey: {
|
|
557
|
+
length: 2,
|
|
558
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
559
|
+
}
|
|
561
560
|
}
|
|
562
561
|
}),
|
|
563
562
|
ChainAsset.fromAsset(vbnc, {
|
|
564
563
|
decimals: 12,
|
|
565
564
|
ids: {
|
|
566
|
-
id: { VToken: bnc.originSymbol }
|
|
565
|
+
id: { VToken: bnc.originSymbol },
|
|
566
|
+
generalKey: {
|
|
567
|
+
length: 2,
|
|
568
|
+
data: "0x0101000000000000000000000000000000000000000000000000000000000000"
|
|
569
|
+
}
|
|
567
570
|
}
|
|
568
571
|
}),
|
|
569
572
|
ChainAsset.fromAsset(vksm, {
|
|
570
573
|
decimals: 12,
|
|
571
574
|
ids: {
|
|
572
|
-
id: { VToken: ksm.originSymbol }
|
|
575
|
+
id: { VToken: ksm.originSymbol },
|
|
576
|
+
generalKey: {
|
|
577
|
+
length: 2,
|
|
578
|
+
data: "0x0104000000000000000000000000000000000000000000000000000000000000"
|
|
579
|
+
}
|
|
573
580
|
}
|
|
574
581
|
}),
|
|
575
582
|
ChainAsset.fromAsset(vmovr, {
|
|
576
583
|
decimals: 18,
|
|
577
584
|
ids: {
|
|
578
|
-
id: { VToken: movr.originSymbol }
|
|
585
|
+
id: { VToken: movr.originSymbol },
|
|
586
|
+
generalKey: {
|
|
587
|
+
length: 2,
|
|
588
|
+
data: "0x010a000000000000000000000000000000000000000000000000000000000000"
|
|
589
|
+
}
|
|
579
590
|
}
|
|
580
591
|
})
|
|
581
592
|
],
|
|
@@ -587,9 +598,9 @@ var bifrostKusama = new Parachain({
|
|
|
587
598
|
parachainId: 2001,
|
|
588
599
|
ss58Format: 6,
|
|
589
600
|
ws: [
|
|
590
|
-
"wss://bifrost-rpc.dwellir.com",
|
|
591
601
|
"wss://us.bifrost-rpc.liebi.com/ws",
|
|
592
|
-
"wss://bifrost-rpc.liebi.com/ws"
|
|
602
|
+
"wss://bifrost-rpc.liebi.com/ws",
|
|
603
|
+
"wss://bifrost-rpc.dwellir.com"
|
|
593
604
|
]
|
|
594
605
|
});
|
|
595
606
|
var bifrostPolkadot = new Parachain({
|
|
@@ -603,49 +614,81 @@ var bifrostPolkadot = new Parachain({
|
|
|
603
614
|
ChainAsset.fromAsset(bnc, {
|
|
604
615
|
decimals: 12,
|
|
605
616
|
ids: {
|
|
606
|
-
id: { Native: bnc.originSymbol }
|
|
617
|
+
id: { Native: bnc.originSymbol },
|
|
618
|
+
generalKey: {
|
|
619
|
+
length: 2,
|
|
620
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
621
|
+
}
|
|
607
622
|
}
|
|
608
623
|
}),
|
|
609
624
|
ChainAsset.fromAsset(bncs, {
|
|
610
625
|
decimals: 12,
|
|
611
626
|
ids: {
|
|
612
|
-
id: { Token2: 9 }
|
|
627
|
+
id: { Token2: 9 },
|
|
628
|
+
generalKey: {
|
|
629
|
+
length: 2,
|
|
630
|
+
data: "0x0809000000000000000000000000000000000000000000000000000000000000"
|
|
631
|
+
}
|
|
613
632
|
}
|
|
614
633
|
}),
|
|
615
634
|
ChainAsset.fromAsset(fil, {
|
|
616
635
|
decimals: 18,
|
|
617
636
|
ids: {
|
|
618
|
-
id: { Token2: 4 }
|
|
637
|
+
id: { Token2: 4 },
|
|
638
|
+
generalKey: {
|
|
639
|
+
length: 2,
|
|
640
|
+
data: "0x0804000000000000000000000000000000000000000000000000000000000000"
|
|
641
|
+
}
|
|
619
642
|
}
|
|
620
643
|
}),
|
|
621
644
|
ChainAsset.fromAsset(vastr, {
|
|
622
645
|
decimals: 18,
|
|
623
646
|
ids: {
|
|
624
|
-
id: { VToken2: 3 }
|
|
647
|
+
id: { VToken2: 3 },
|
|
648
|
+
generalKey: {
|
|
649
|
+
length: 2,
|
|
650
|
+
data: "0x0903000000000000000000000000000000000000000000000000000000000000"
|
|
651
|
+
}
|
|
625
652
|
}
|
|
626
653
|
}),
|
|
627
654
|
ChainAsset.fromAsset(vdot, {
|
|
628
655
|
decimals: 10,
|
|
629
656
|
ids: {
|
|
630
|
-
id: { VToken2: 0 }
|
|
657
|
+
id: { VToken2: 0 },
|
|
658
|
+
generalKey: {
|
|
659
|
+
length: 2,
|
|
660
|
+
data: "0x0900000000000000000000000000000000000000000000000000000000000000"
|
|
661
|
+
}
|
|
631
662
|
}
|
|
632
663
|
}),
|
|
633
664
|
ChainAsset.fromAsset(vfil, {
|
|
634
665
|
decimals: 18,
|
|
635
666
|
ids: {
|
|
636
|
-
id: { VToken2: 4 }
|
|
667
|
+
id: { VToken2: 4 },
|
|
668
|
+
generalKey: {
|
|
669
|
+
length: 2,
|
|
670
|
+
data: "0x0904000000000000000000000000000000000000000000000000000000000000"
|
|
671
|
+
}
|
|
637
672
|
}
|
|
638
673
|
}),
|
|
639
674
|
ChainAsset.fromAsset(vglmr, {
|
|
640
675
|
decimals: 18,
|
|
641
676
|
ids: {
|
|
642
|
-
id: { VToken2: 1 }
|
|
677
|
+
id: { VToken2: 1 },
|
|
678
|
+
generalKey: {
|
|
679
|
+
length: 2,
|
|
680
|
+
data: "0x0901000000000000000000000000000000000000000000000000000000000000"
|
|
681
|
+
}
|
|
643
682
|
}
|
|
644
683
|
}),
|
|
645
684
|
ChainAsset.fromAsset(vmanta, {
|
|
646
685
|
decimals: 18,
|
|
647
686
|
ids: {
|
|
648
|
-
id: { VToken2: 8 }
|
|
687
|
+
id: { VToken2: 8 },
|
|
688
|
+
generalKey: {
|
|
689
|
+
length: 2,
|
|
690
|
+
data: "0x0908000000000000000000000000000000000000000000000000000000000000"
|
|
691
|
+
}
|
|
649
692
|
}
|
|
650
693
|
})
|
|
651
694
|
],
|
|
@@ -657,9 +700,9 @@ var bifrostPolkadot = new Parachain({
|
|
|
657
700
|
parachainId: 2030,
|
|
658
701
|
ss58Format: 6,
|
|
659
702
|
ws: [
|
|
660
|
-
"wss://bifrost-polkadot-rpc.dwellir.com",
|
|
661
703
|
"wss://eu.bifrost-polkadot-rpc.liebi.com/ws",
|
|
662
|
-
"wss://hk.p.bifrost-rpc.liebi.com/ws"
|
|
704
|
+
"wss://hk.p.bifrost-rpc.liebi.com/ws",
|
|
705
|
+
"wss://bifrost-polkadot-rpc.dwellir.com"
|
|
663
706
|
]
|
|
664
707
|
});
|
|
665
708
|
var centrifuge = new Parachain({
|
|
@@ -1095,33 +1138,6 @@ var kusamaAssetHub = new Parachain({
|
|
|
1095
1138
|
"wss://kusama-asset-hub-rpc.polkadot.io"
|
|
1096
1139
|
]
|
|
1097
1140
|
});
|
|
1098
|
-
var mangataKusama = new Parachain({
|
|
1099
|
-
assets: [
|
|
1100
|
-
ChainAsset.fromAsset(mgx, {
|
|
1101
|
-
decimals: 18,
|
|
1102
|
-
ids: {
|
|
1103
|
-
id: 0
|
|
1104
|
-
}
|
|
1105
|
-
}),
|
|
1106
|
-
ChainAsset.fromAsset(movr, {
|
|
1107
|
-
decimals: 18,
|
|
1108
|
-
ids: {
|
|
1109
|
-
id: 39
|
|
1110
|
-
}
|
|
1111
|
-
})
|
|
1112
|
-
],
|
|
1113
|
-
ecosystem: Ecosystem.Kusama,
|
|
1114
|
-
genesisHash: "0xd611f22d291c5b7b69f1e105cca03352984c344c4421977efaa4cbdd1834e2aa",
|
|
1115
|
-
key: "mangata-kusama",
|
|
1116
|
-
name: "Mangata",
|
|
1117
|
-
nativeAsset: mgx,
|
|
1118
|
-
parachainId: 2110,
|
|
1119
|
-
ss58Format: 42,
|
|
1120
|
-
ws: [
|
|
1121
|
-
"wss://kusama-archive.mangata.online",
|
|
1122
|
-
"wss://kusama-rpc.mangata.online"
|
|
1123
|
-
]
|
|
1124
|
-
});
|
|
1125
1141
|
var mantaParachain = new Parachain({
|
|
1126
1142
|
assets: [
|
|
1127
1143
|
ChainAsset.fromAsset(manta, {
|
|
@@ -1810,13 +1826,6 @@ var moonriver = new EvmParachain({
|
|
|
1810
1826
|
id: "65216491554813189869575508812319036608"
|
|
1811
1827
|
}
|
|
1812
1828
|
}),
|
|
1813
|
-
ChainAsset.fromAsset(mgx, {
|
|
1814
|
-
address: "0xffFfFffF58d867EEa1Ce5126A4769542116324e9",
|
|
1815
|
-
decimals: 18,
|
|
1816
|
-
ids: {
|
|
1817
|
-
id: "118095707745084482624853002839493125353"
|
|
1818
|
-
}
|
|
1819
|
-
}),
|
|
1820
1829
|
ChainAsset.fromAsset(movr, {
|
|
1821
1830
|
address: "0x0000000000000000000000000000000000000802",
|
|
1822
1831
|
decimals: 18,
|
|
@@ -2498,7 +2507,6 @@ var chainsList = [
|
|
|
2498
2507
|
kusamaAssetHub,
|
|
2499
2508
|
laosAlphanet,
|
|
2500
2509
|
laosMainnet,
|
|
2501
|
-
mangataKusama,
|
|
2502
2510
|
mantaParachain,
|
|
2503
2511
|
moonbaseAlpha,
|
|
2504
2512
|
moonbaseBeta,
|
|
@@ -4452,7 +4460,7 @@ var astarRoutes = new ChainRoutes({
|
|
|
4452
4460
|
asset: astr
|
|
4453
4461
|
}
|
|
4454
4462
|
},
|
|
4455
|
-
extrinsic: ExtrinsicBuilder6().
|
|
4463
|
+
extrinsic: ExtrinsicBuilder6().polkadotXcm().limitedReserveTransferAssets().here()
|
|
4456
4464
|
},
|
|
4457
4465
|
{
|
|
4458
4466
|
source: {
|
|
@@ -4475,7 +4483,7 @@ var astarRoutes = new ChainRoutes({
|
|
|
4475
4483
|
asset: glmr
|
|
4476
4484
|
}
|
|
4477
4485
|
},
|
|
4478
|
-
extrinsic: ExtrinsicBuilder6().
|
|
4486
|
+
extrinsic: ExtrinsicBuilder6().polkadotXcm().limitedReserveTransferAssets().X2PalletInstance()
|
|
4479
4487
|
}
|
|
4480
4488
|
]
|
|
4481
4489
|
});
|
|
@@ -4511,7 +4519,7 @@ var bifrostKusamaRoutes = new ChainRoutes({
|
|
|
4511
4519
|
asset: bnc
|
|
4512
4520
|
}
|
|
4513
4521
|
},
|
|
4514
|
-
extrinsic: ExtrinsicBuilder7().
|
|
4522
|
+
extrinsic: ExtrinsicBuilder7().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4515
4523
|
},
|
|
4516
4524
|
{
|
|
4517
4525
|
source: {
|
|
@@ -4535,7 +4543,7 @@ var bifrostKusamaRoutes = new ChainRoutes({
|
|
|
4535
4543
|
asset: movr
|
|
4536
4544
|
}
|
|
4537
4545
|
},
|
|
4538
|
-
extrinsic: ExtrinsicBuilder7().
|
|
4546
|
+
extrinsic: ExtrinsicBuilder7().polkadotXcm().transferAssets().X2()
|
|
4539
4547
|
},
|
|
4540
4548
|
{
|
|
4541
4549
|
source: {
|
|
@@ -4559,7 +4567,7 @@ var bifrostKusamaRoutes = new ChainRoutes({
|
|
|
4559
4567
|
asset: bnc
|
|
4560
4568
|
}
|
|
4561
4569
|
},
|
|
4562
|
-
extrinsic: ExtrinsicBuilder7().
|
|
4570
|
+
extrinsic: ExtrinsicBuilder7().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4563
4571
|
},
|
|
4564
4572
|
{
|
|
4565
4573
|
source: {
|
|
@@ -4583,7 +4591,7 @@ var bifrostKusamaRoutes = new ChainRoutes({
|
|
|
4583
4591
|
asset: bnc
|
|
4584
4592
|
}
|
|
4585
4593
|
},
|
|
4586
|
-
extrinsic: ExtrinsicBuilder7().
|
|
4594
|
+
extrinsic: ExtrinsicBuilder7().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4587
4595
|
},
|
|
4588
4596
|
{
|
|
4589
4597
|
source: {
|
|
@@ -4607,7 +4615,7 @@ var bifrostKusamaRoutes = new ChainRoutes({
|
|
|
4607
4615
|
asset: bnc
|
|
4608
4616
|
}
|
|
4609
4617
|
},
|
|
4610
|
-
extrinsic: ExtrinsicBuilder7().
|
|
4618
|
+
extrinsic: ExtrinsicBuilder7().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4611
4619
|
}
|
|
4612
4620
|
]
|
|
4613
4621
|
});
|
|
@@ -4643,7 +4651,7 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4643
4651
|
asset: bnc
|
|
4644
4652
|
}
|
|
4645
4653
|
},
|
|
4646
|
-
extrinsic: ExtrinsicBuilder8().
|
|
4654
|
+
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4647
4655
|
},
|
|
4648
4656
|
{
|
|
4649
4657
|
source: {
|
|
@@ -4667,7 +4675,7 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4667
4675
|
asset: bnc
|
|
4668
4676
|
}
|
|
4669
4677
|
},
|
|
4670
|
-
extrinsic: ExtrinsicBuilder8().
|
|
4678
|
+
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4671
4679
|
},
|
|
4672
4680
|
{
|
|
4673
4681
|
source: {
|
|
@@ -4691,7 +4699,7 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4691
4699
|
asset: glmr
|
|
4692
4700
|
}
|
|
4693
4701
|
},
|
|
4694
|
-
extrinsic: ExtrinsicBuilder8().
|
|
4702
|
+
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X2()
|
|
4695
4703
|
},
|
|
4696
4704
|
{
|
|
4697
4705
|
source: {
|
|
@@ -4715,7 +4723,7 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4715
4723
|
asset: bnc
|
|
4716
4724
|
}
|
|
4717
4725
|
},
|
|
4718
|
-
extrinsic: ExtrinsicBuilder8().
|
|
4726
|
+
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4719
4727
|
},
|
|
4720
4728
|
{
|
|
4721
4729
|
source: {
|
|
@@ -4739,7 +4747,7 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4739
4747
|
asset: vdot
|
|
4740
4748
|
}
|
|
4741
4749
|
},
|
|
4742
|
-
extrinsic: ExtrinsicBuilder8().
|
|
4750
|
+
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4743
4751
|
},
|
|
4744
4752
|
{
|
|
4745
4753
|
source: {
|
|
@@ -4763,7 +4771,7 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4763
4771
|
asset: bnc
|
|
4764
4772
|
}
|
|
4765
4773
|
},
|
|
4766
|
-
extrinsic: ExtrinsicBuilder8().
|
|
4774
|
+
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1()
|
|
4767
4775
|
},
|
|
4768
4776
|
{
|
|
4769
4777
|
source: {
|
|
@@ -4787,7 +4795,7 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4787
4795
|
asset: bnc
|
|
4788
4796
|
}
|
|
4789
4797
|
},
|
|
4790
|
-
extrinsic: ExtrinsicBuilder8().
|
|
4798
|
+
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4791
4799
|
},
|
|
4792
4800
|
{
|
|
4793
4801
|
source: {
|
|
@@ -4811,7 +4819,7 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4811
4819
|
asset: bnc
|
|
4812
4820
|
}
|
|
4813
4821
|
},
|
|
4814
|
-
extrinsic: ExtrinsicBuilder8().
|
|
4822
|
+
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4815
4823
|
},
|
|
4816
4824
|
{
|
|
4817
4825
|
source: {
|
|
@@ -4835,7 +4843,7 @@ var bifrostPolkadotRoutes = new ChainRoutes({
|
|
|
4835
4843
|
asset: bnc
|
|
4836
4844
|
}
|
|
4837
4845
|
},
|
|
4838
|
-
extrinsic: ExtrinsicBuilder8().
|
|
4846
|
+
extrinsic: ExtrinsicBuilder8().polkadotXcm().transferAssets().X1GeneralKey()
|
|
4839
4847
|
}
|
|
4840
4848
|
]
|
|
4841
4849
|
});
|
|
@@ -5033,7 +5041,7 @@ var hydrationRoutes2 = new ChainRoutes({
|
|
|
5033
5041
|
asset: hdx
|
|
5034
5042
|
}
|
|
5035
5043
|
},
|
|
5036
|
-
extrinsic: ExtrinsicBuilder13().
|
|
5044
|
+
extrinsic: ExtrinsicBuilder13().polkadotXcm().transferAssets().X1()
|
|
5037
5045
|
},
|
|
5038
5046
|
{
|
|
5039
5047
|
source: {
|
|
@@ -5056,7 +5064,7 @@ var hydrationRoutes2 = new ChainRoutes({
|
|
|
5056
5064
|
asset: glmr
|
|
5057
5065
|
}
|
|
5058
5066
|
},
|
|
5059
|
-
extrinsic: ExtrinsicBuilder13().
|
|
5067
|
+
extrinsic: ExtrinsicBuilder13().polkadotXcm().transferAssets().X2()
|
|
5060
5068
|
},
|
|
5061
5069
|
{
|
|
5062
5070
|
source: {
|
|
@@ -5079,7 +5087,7 @@ var hydrationRoutes2 = new ChainRoutes({
|
|
|
5079
5087
|
asset: glmr
|
|
5080
5088
|
}
|
|
5081
5089
|
},
|
|
5082
|
-
extrinsic: ExtrinsicBuilder13().
|
|
5090
|
+
extrinsic: ExtrinsicBuilder13().polkadotXcm().transferAssets().X3()
|
|
5083
5091
|
},
|
|
5084
5092
|
{
|
|
5085
5093
|
source: {
|
|
@@ -5104,7 +5112,7 @@ var hydrationRoutes2 = new ChainRoutes({
|
|
|
5104
5112
|
asset: glmr
|
|
5105
5113
|
}
|
|
5106
5114
|
},
|
|
5107
|
-
extrinsic: ExtrinsicBuilder13().
|
|
5115
|
+
extrinsic: ExtrinsicBuilder13().polkadotXcm().transferAssets().X3()
|
|
5108
5116
|
},
|
|
5109
5117
|
{
|
|
5110
5118
|
source: {
|
|
@@ -5127,7 +5135,7 @@ var hydrationRoutes2 = new ChainRoutes({
|
|
|
5127
5135
|
asset: glmr
|
|
5128
5136
|
}
|
|
5129
5137
|
},
|
|
5130
|
-
extrinsic: ExtrinsicBuilder13().
|
|
5138
|
+
extrinsic: ExtrinsicBuilder13().polkadotXcm().transferAssets().X3()
|
|
5131
5139
|
},
|
|
5132
5140
|
{
|
|
5133
5141
|
source: {
|
|
@@ -5150,7 +5158,7 @@ var hydrationRoutes2 = new ChainRoutes({
|
|
|
5150
5158
|
asset: glmr
|
|
5151
5159
|
}
|
|
5152
5160
|
},
|
|
5153
|
-
extrinsic: ExtrinsicBuilder13().
|
|
5161
|
+
extrinsic: ExtrinsicBuilder13().polkadotXcm().transferAssets().X3()
|
|
5154
5162
|
},
|
|
5155
5163
|
{
|
|
5156
5164
|
source: {
|
|
@@ -5173,7 +5181,7 @@ var hydrationRoutes2 = new ChainRoutes({
|
|
|
5173
5181
|
asset: glmr
|
|
5174
5182
|
}
|
|
5175
5183
|
},
|
|
5176
|
-
extrinsic: ExtrinsicBuilder13().
|
|
5184
|
+
extrinsic: ExtrinsicBuilder13().polkadotXcm().transferAssets().X3()
|
|
5177
5185
|
}
|
|
5178
5186
|
]
|
|
5179
5187
|
});
|
|
@@ -5710,120 +5718,62 @@ var laosAlphanetRoutes = new ChainRoutes({
|
|
|
5710
5718
|
]
|
|
5711
5719
|
});
|
|
5712
5720
|
|
|
5713
|
-
// src/xcm-configs/
|
|
5721
|
+
// src/xcm-configs/mantaParachain.ts
|
|
5714
5722
|
import {
|
|
5723
|
+
AssetMinBuilder as AssetMinBuilder7,
|
|
5715
5724
|
BalanceBuilder as BalanceBuilder31,
|
|
5716
5725
|
ExtrinsicBuilder as ExtrinsicBuilder23,
|
|
5717
5726
|
FeeBuilder as FeeBuilder21
|
|
5718
5727
|
} from "@moonbeam-network/xcm-builder";
|
|
5719
|
-
var mangataKusamaRoutes = new ChainRoutes({
|
|
5720
|
-
chain: mangataKusama,
|
|
5721
|
-
routes: [
|
|
5722
|
-
{
|
|
5723
|
-
source: {
|
|
5724
|
-
asset: mgx,
|
|
5725
|
-
balance: BalanceBuilder31().substrate().tokens().accounts(),
|
|
5726
|
-
fee: {
|
|
5727
|
-
asset: mgx,
|
|
5728
|
-
balance: BalanceBuilder31().substrate().tokens().accounts()
|
|
5729
|
-
},
|
|
5730
|
-
destinationFee: {
|
|
5731
|
-
balance: BalanceBuilder31().substrate().tokens().accounts()
|
|
5732
|
-
}
|
|
5733
|
-
},
|
|
5734
|
-
destination: {
|
|
5735
|
-
asset: mgx,
|
|
5736
|
-
chain: moonriver,
|
|
5737
|
-
balance: BalanceBuilder31().evm().erc20(),
|
|
5738
|
-
fee: {
|
|
5739
|
-
amount: FeeBuilder21().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
5740
|
-
asset: mgx
|
|
5741
|
-
}
|
|
5742
|
-
},
|
|
5743
|
-
extrinsic: ExtrinsicBuilder23().xTokens().transfer()
|
|
5744
|
-
},
|
|
5745
|
-
{
|
|
5746
|
-
source: {
|
|
5747
|
-
asset: movr,
|
|
5748
|
-
balance: BalanceBuilder31().substrate().tokens().accounts(),
|
|
5749
|
-
fee: {
|
|
5750
|
-
asset: mgx,
|
|
5751
|
-
balance: BalanceBuilder31().substrate().tokens().accounts()
|
|
5752
|
-
},
|
|
5753
|
-
destinationFee: {
|
|
5754
|
-
balance: BalanceBuilder31().substrate().tokens().accounts()
|
|
5755
|
-
}
|
|
5756
|
-
},
|
|
5757
|
-
destination: {
|
|
5758
|
-
asset: movr,
|
|
5759
|
-
chain: moonriver,
|
|
5760
|
-
balance: BalanceBuilder31().substrate().system().account(),
|
|
5761
|
-
fee: {
|
|
5762
|
-
amount: FeeBuilder21().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
5763
|
-
asset: movr
|
|
5764
|
-
}
|
|
5765
|
-
},
|
|
5766
|
-
extrinsic: ExtrinsicBuilder23().xTokens().transfer()
|
|
5767
|
-
}
|
|
5768
|
-
]
|
|
5769
|
-
});
|
|
5770
|
-
|
|
5771
|
-
// src/xcm-configs/mantaParachain.ts
|
|
5772
|
-
import {
|
|
5773
|
-
AssetMinBuilder as AssetMinBuilder7,
|
|
5774
|
-
BalanceBuilder as BalanceBuilder32,
|
|
5775
|
-
ExtrinsicBuilder as ExtrinsicBuilder24,
|
|
5776
|
-
FeeBuilder as FeeBuilder22
|
|
5777
|
-
} from "@moonbeam-network/xcm-builder";
|
|
5778
5728
|
var mantaParachainRoutes = new ChainRoutes({
|
|
5779
5729
|
chain: mantaParachain,
|
|
5780
5730
|
routes: [
|
|
5781
5731
|
{
|
|
5782
5732
|
source: {
|
|
5783
5733
|
asset: manta,
|
|
5784
|
-
balance:
|
|
5734
|
+
balance: BalanceBuilder31().substrate().system().account(),
|
|
5785
5735
|
fee: {
|
|
5786
5736
|
asset: manta,
|
|
5787
|
-
balance:
|
|
5737
|
+
balance: BalanceBuilder31().substrate().system().account()
|
|
5788
5738
|
},
|
|
5789
5739
|
destinationFee: {
|
|
5790
|
-
balance:
|
|
5740
|
+
balance: BalanceBuilder31().substrate().system().account()
|
|
5791
5741
|
}
|
|
5792
5742
|
},
|
|
5793
5743
|
destination: {
|
|
5794
5744
|
asset: manta,
|
|
5795
5745
|
chain: moonbeam,
|
|
5796
|
-
balance:
|
|
5746
|
+
balance: BalanceBuilder31().evm().erc20(),
|
|
5797
5747
|
fee: {
|
|
5798
|
-
amount:
|
|
5748
|
+
amount: FeeBuilder21().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
5799
5749
|
asset: manta
|
|
5800
5750
|
}
|
|
5801
5751
|
},
|
|
5802
|
-
extrinsic:
|
|
5752
|
+
extrinsic: ExtrinsicBuilder23().xTokens().transfer()
|
|
5803
5753
|
},
|
|
5804
5754
|
{
|
|
5805
5755
|
source: {
|
|
5806
5756
|
asset: glmr,
|
|
5807
|
-
balance:
|
|
5757
|
+
balance: BalanceBuilder31().substrate().assets().account(),
|
|
5808
5758
|
fee: {
|
|
5809
5759
|
asset: manta,
|
|
5810
|
-
balance:
|
|
5760
|
+
balance: BalanceBuilder31().substrate().system().account()
|
|
5811
5761
|
},
|
|
5812
5762
|
min: AssetMinBuilder7().assets().asset(),
|
|
5813
5763
|
destinationFee: {
|
|
5814
|
-
balance:
|
|
5764
|
+
balance: BalanceBuilder31().substrate().assets().account()
|
|
5815
5765
|
}
|
|
5816
5766
|
},
|
|
5817
5767
|
destination: {
|
|
5818
5768
|
asset: glmr,
|
|
5819
5769
|
chain: moonbeam,
|
|
5820
|
-
balance:
|
|
5770
|
+
balance: BalanceBuilder31().substrate().system().account(),
|
|
5821
5771
|
fee: {
|
|
5822
|
-
amount:
|
|
5772
|
+
amount: FeeBuilder21().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
5823
5773
|
asset: glmr
|
|
5824
5774
|
}
|
|
5825
5775
|
},
|
|
5826
|
-
extrinsic:
|
|
5776
|
+
extrinsic: ExtrinsicBuilder23().xTokens().transfer()
|
|
5827
5777
|
}
|
|
5828
5778
|
]
|
|
5829
5779
|
});
|
|
@@ -5831,9 +5781,9 @@ var mantaParachainRoutes = new ChainRoutes({
|
|
|
5831
5781
|
// src/xcm-configs/moonbaseAlpha.ts
|
|
5832
5782
|
import {
|
|
5833
5783
|
AssetMinBuilder as AssetMinBuilder8,
|
|
5834
|
-
BalanceBuilder as
|
|
5784
|
+
BalanceBuilder as BalanceBuilder32,
|
|
5835
5785
|
ContractBuilder,
|
|
5836
|
-
FeeBuilder as
|
|
5786
|
+
FeeBuilder as FeeBuilder22
|
|
5837
5787
|
} from "@moonbeam-network/xcm-builder";
|
|
5838
5788
|
var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
5839
5789
|
chain: moonbaseAlpha,
|
|
@@ -5841,19 +5791,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
5841
5791
|
{
|
|
5842
5792
|
source: {
|
|
5843
5793
|
asset: dev,
|
|
5844
|
-
balance:
|
|
5794
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
5845
5795
|
fee: {
|
|
5846
5796
|
asset: dev,
|
|
5847
|
-
balance:
|
|
5797
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5848
5798
|
},
|
|
5849
5799
|
destinationFee: {
|
|
5850
|
-
balance:
|
|
5800
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5851
5801
|
}
|
|
5852
5802
|
},
|
|
5853
5803
|
destination: {
|
|
5854
5804
|
asset: dev,
|
|
5855
5805
|
chain: turingAlphanet,
|
|
5856
|
-
balance:
|
|
5806
|
+
balance: BalanceBuilder32().substrate().tokens().accounts(),
|
|
5857
5807
|
fee: {
|
|
5858
5808
|
amount: 1e-5,
|
|
5859
5809
|
asset: dev
|
|
@@ -5864,19 +5814,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
5864
5814
|
{
|
|
5865
5815
|
source: {
|
|
5866
5816
|
asset: dev,
|
|
5867
|
-
balance:
|
|
5817
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
5868
5818
|
fee: {
|
|
5869
5819
|
asset: dev,
|
|
5870
|
-
balance:
|
|
5820
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5871
5821
|
},
|
|
5872
5822
|
destinationFee: {
|
|
5873
|
-
balance:
|
|
5823
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5874
5824
|
}
|
|
5875
5825
|
},
|
|
5876
5826
|
destination: {
|
|
5877
5827
|
asset: dev,
|
|
5878
5828
|
chain: moonbaseBeta,
|
|
5879
|
-
balance:
|
|
5829
|
+
balance: BalanceBuilder32().substrate().assets().account(),
|
|
5880
5830
|
fee: {
|
|
5881
5831
|
amount: 2e-4,
|
|
5882
5832
|
asset: dev
|
|
@@ -5887,19 +5837,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
5887
5837
|
{
|
|
5888
5838
|
source: {
|
|
5889
5839
|
asset: dev,
|
|
5890
|
-
balance:
|
|
5840
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
5891
5841
|
fee: {
|
|
5892
5842
|
asset: dev,
|
|
5893
|
-
balance:
|
|
5843
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5894
5844
|
},
|
|
5895
5845
|
destinationFee: {
|
|
5896
|
-
balance:
|
|
5846
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5897
5847
|
}
|
|
5898
5848
|
},
|
|
5899
5849
|
destination: {
|
|
5900
5850
|
asset: dev,
|
|
5901
5851
|
chain: pendulumAlphanet,
|
|
5902
|
-
balance:
|
|
5852
|
+
balance: BalanceBuilder32().substrate().tokens().accounts(),
|
|
5903
5853
|
fee: {
|
|
5904
5854
|
amount: 1e-7,
|
|
5905
5855
|
asset: dev
|
|
@@ -5910,19 +5860,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
5910
5860
|
{
|
|
5911
5861
|
source: {
|
|
5912
5862
|
asset: alan,
|
|
5913
|
-
balance:
|
|
5863
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
5914
5864
|
fee: {
|
|
5915
5865
|
asset: dev,
|
|
5916
|
-
balance:
|
|
5866
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5917
5867
|
},
|
|
5918
5868
|
destinationFee: {
|
|
5919
|
-
balance:
|
|
5869
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5920
5870
|
}
|
|
5921
5871
|
},
|
|
5922
5872
|
destination: {
|
|
5923
5873
|
asset: alan,
|
|
5924
5874
|
chain: moonbaseBeta,
|
|
5925
|
-
balance:
|
|
5875
|
+
balance: BalanceBuilder32().substrate().assets().account(),
|
|
5926
5876
|
fee: {
|
|
5927
5877
|
amount: 2e-4,
|
|
5928
5878
|
asset: dev
|
|
@@ -5933,19 +5883,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
5933
5883
|
{
|
|
5934
5884
|
source: {
|
|
5935
5885
|
asset: ampe,
|
|
5936
|
-
balance:
|
|
5886
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
5937
5887
|
fee: {
|
|
5938
5888
|
asset: dev,
|
|
5939
|
-
balance:
|
|
5889
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5940
5890
|
},
|
|
5941
5891
|
destinationFee: {
|
|
5942
|
-
balance:
|
|
5892
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
5943
5893
|
}
|
|
5944
5894
|
},
|
|
5945
5895
|
destination: {
|
|
5946
5896
|
asset: ampe,
|
|
5947
5897
|
chain: pendulumAlphanet,
|
|
5948
|
-
balance:
|
|
5898
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
5949
5899
|
fee: {
|
|
5950
5900
|
amount: 1e-3,
|
|
5951
5901
|
asset: ampe
|
|
@@ -5956,19 +5906,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
5956
5906
|
{
|
|
5957
5907
|
source: {
|
|
5958
5908
|
asset: otp,
|
|
5959
|
-
balance:
|
|
5909
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
5960
5910
|
fee: {
|
|
5961
5911
|
asset: dev,
|
|
5962
|
-
balance:
|
|
5912
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5963
5913
|
},
|
|
5964
5914
|
destinationFee: {
|
|
5965
|
-
balance:
|
|
5915
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
5966
5916
|
}
|
|
5967
5917
|
},
|
|
5968
5918
|
destination: {
|
|
5969
5919
|
asset: otp,
|
|
5970
5920
|
chain: originTrailAlphanet,
|
|
5971
|
-
balance:
|
|
5921
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
5972
5922
|
fee: {
|
|
5973
5923
|
amount: 4e-3,
|
|
5974
5924
|
asset: otp
|
|
@@ -5979,19 +5929,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
5979
5929
|
{
|
|
5980
5930
|
source: {
|
|
5981
5931
|
asset: tt1,
|
|
5982
|
-
balance:
|
|
5932
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
5983
5933
|
fee: {
|
|
5984
5934
|
asset: dev,
|
|
5985
|
-
balance:
|
|
5935
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
5986
5936
|
},
|
|
5987
5937
|
destinationFee: {
|
|
5988
|
-
balance:
|
|
5938
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
5989
5939
|
}
|
|
5990
5940
|
},
|
|
5991
5941
|
destination: {
|
|
5992
5942
|
asset: tt1,
|
|
5993
5943
|
chain: alphanetAssetHub,
|
|
5994
|
-
balance:
|
|
5944
|
+
balance: BalanceBuilder32().substrate().assets().account(),
|
|
5995
5945
|
fee: {
|
|
5996
5946
|
amount: 5,
|
|
5997
5947
|
asset: tt1
|
|
@@ -6003,19 +5953,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6003
5953
|
{
|
|
6004
5954
|
source: {
|
|
6005
5955
|
asset: tur,
|
|
6006
|
-
balance:
|
|
5956
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6007
5957
|
fee: {
|
|
6008
5958
|
asset: dev,
|
|
6009
|
-
balance:
|
|
5959
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6010
5960
|
},
|
|
6011
5961
|
destinationFee: {
|
|
6012
|
-
balance:
|
|
5962
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
6013
5963
|
}
|
|
6014
5964
|
},
|
|
6015
5965
|
destination: {
|
|
6016
5966
|
asset: tur,
|
|
6017
5967
|
chain: turingAlphanet,
|
|
6018
|
-
balance:
|
|
5968
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
6019
5969
|
fee: {
|
|
6020
5970
|
amount: 0.2,
|
|
6021
5971
|
asset: tur
|
|
@@ -6026,21 +5976,21 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6026
5976
|
{
|
|
6027
5977
|
source: {
|
|
6028
5978
|
asset: unit,
|
|
6029
|
-
balance:
|
|
5979
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6030
5980
|
fee: {
|
|
6031
5981
|
asset: dev,
|
|
6032
|
-
balance:
|
|
5982
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6033
5983
|
},
|
|
6034
5984
|
destinationFee: {
|
|
6035
|
-
balance:
|
|
5985
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
6036
5986
|
}
|
|
6037
5987
|
},
|
|
6038
5988
|
destination: {
|
|
6039
5989
|
asset: unit,
|
|
6040
5990
|
chain: alphanetRelay,
|
|
6041
|
-
balance:
|
|
5991
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
6042
5992
|
fee: {
|
|
6043
|
-
amount:
|
|
5993
|
+
amount: FeeBuilder22().xcmPaymentApi().fromHere({
|
|
6044
5994
|
isAssetReserveChain: true,
|
|
6045
5995
|
parents: 0
|
|
6046
5996
|
}),
|
|
@@ -6052,19 +6002,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6052
6002
|
{
|
|
6053
6003
|
source: {
|
|
6054
6004
|
asset: usdcwh,
|
|
6055
|
-
balance:
|
|
6005
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6056
6006
|
fee: {
|
|
6057
6007
|
asset: dev,
|
|
6058
|
-
balance:
|
|
6008
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6059
6009
|
},
|
|
6060
6010
|
destinationFee: {
|
|
6061
|
-
balance:
|
|
6011
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
6062
6012
|
}
|
|
6063
6013
|
},
|
|
6064
6014
|
destination: {
|
|
6065
6015
|
asset: usdcwh,
|
|
6066
6016
|
chain: hydrationAlphanet,
|
|
6067
|
-
balance:
|
|
6017
|
+
balance: BalanceBuilder32().substrate().tokens().accounts(),
|
|
6068
6018
|
fee: {
|
|
6069
6019
|
amount: 0.1,
|
|
6070
6020
|
asset: usdcwh
|
|
@@ -6075,19 +6025,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6075
6025
|
{
|
|
6076
6026
|
source: {
|
|
6077
6027
|
asset: ftmwh,
|
|
6078
|
-
balance:
|
|
6028
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6079
6029
|
fee: {
|
|
6080
6030
|
asset: dev,
|
|
6081
|
-
balance:
|
|
6031
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6082
6032
|
},
|
|
6083
6033
|
destinationFee: {
|
|
6084
|
-
balance:
|
|
6034
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
6085
6035
|
}
|
|
6086
6036
|
},
|
|
6087
6037
|
destination: {
|
|
6088
6038
|
asset: ftmwh,
|
|
6089
6039
|
chain: hydrationAlphanet,
|
|
6090
|
-
balance:
|
|
6040
|
+
balance: BalanceBuilder32().substrate().tokens().accounts(),
|
|
6091
6041
|
fee: {
|
|
6092
6042
|
amount: 0.01,
|
|
6093
6043
|
asset: ftmwh
|
|
@@ -6098,19 +6048,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6098
6048
|
{
|
|
6099
6049
|
source: {
|
|
6100
6050
|
asset: ftmwh,
|
|
6101
|
-
balance:
|
|
6051
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6102
6052
|
fee: {
|
|
6103
6053
|
asset: dev,
|
|
6104
|
-
balance:
|
|
6054
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6105
6055
|
},
|
|
6106
6056
|
destinationFee: {
|
|
6107
|
-
balance:
|
|
6057
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
6108
6058
|
}
|
|
6109
6059
|
},
|
|
6110
6060
|
destination: {
|
|
6111
6061
|
asset: ftmwh,
|
|
6112
6062
|
chain: peaqAlphanet,
|
|
6113
|
-
balance:
|
|
6063
|
+
balance: BalanceBuilder32().substrate().assets().account(),
|
|
6114
6064
|
fee: {
|
|
6115
6065
|
amount: 0.01,
|
|
6116
6066
|
asset: ftmwh
|
|
@@ -6121,19 +6071,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6121
6071
|
{
|
|
6122
6072
|
source: {
|
|
6123
6073
|
asset: dev,
|
|
6124
|
-
balance:
|
|
6074
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
6125
6075
|
fee: {
|
|
6126
6076
|
asset: dev,
|
|
6127
|
-
balance:
|
|
6077
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6128
6078
|
},
|
|
6129
6079
|
destinationFee: {
|
|
6130
|
-
balance:
|
|
6080
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6131
6081
|
}
|
|
6132
6082
|
},
|
|
6133
6083
|
destination: {
|
|
6134
6084
|
asset: dev,
|
|
6135
6085
|
chain: hydrationAlphanet,
|
|
6136
|
-
balance:
|
|
6086
|
+
balance: BalanceBuilder32().substrate().tokens().accounts(),
|
|
6137
6087
|
fee: {
|
|
6138
6088
|
amount: 2e-4,
|
|
6139
6089
|
asset: dev
|
|
@@ -6144,19 +6094,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6144
6094
|
{
|
|
6145
6095
|
source: {
|
|
6146
6096
|
asset: hdx,
|
|
6147
|
-
balance:
|
|
6097
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6148
6098
|
fee: {
|
|
6149
6099
|
asset: dev,
|
|
6150
|
-
balance:
|
|
6100
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6151
6101
|
},
|
|
6152
6102
|
destinationFee: {
|
|
6153
|
-
balance:
|
|
6103
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
6154
6104
|
}
|
|
6155
6105
|
},
|
|
6156
6106
|
destination: {
|
|
6157
6107
|
asset: hdx,
|
|
6158
6108
|
chain: hydrationAlphanet,
|
|
6159
|
-
balance:
|
|
6109
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
6160
6110
|
fee: {
|
|
6161
6111
|
amount: 0.5,
|
|
6162
6112
|
asset: hdx
|
|
@@ -6167,19 +6117,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6167
6117
|
{
|
|
6168
6118
|
source: {
|
|
6169
6119
|
asset: dev,
|
|
6170
|
-
balance:
|
|
6120
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
6171
6121
|
fee: {
|
|
6172
6122
|
asset: dev,
|
|
6173
|
-
balance:
|
|
6123
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6174
6124
|
},
|
|
6175
6125
|
destinationFee: {
|
|
6176
|
-
balance:
|
|
6126
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6177
6127
|
}
|
|
6178
6128
|
},
|
|
6179
6129
|
destination: {
|
|
6180
6130
|
asset: dev,
|
|
6181
6131
|
chain: peaqAlphanet,
|
|
6182
|
-
balance:
|
|
6132
|
+
balance: BalanceBuilder32().substrate().assets().account(),
|
|
6183
6133
|
fee: {
|
|
6184
6134
|
amount: 1e-8,
|
|
6185
6135
|
asset: dev
|
|
@@ -6191,19 +6141,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6191
6141
|
{
|
|
6192
6142
|
source: {
|
|
6193
6143
|
asset: ftmwh,
|
|
6194
|
-
balance:
|
|
6144
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6195
6145
|
fee: {
|
|
6196
6146
|
asset: dev,
|
|
6197
|
-
balance:
|
|
6147
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6198
6148
|
},
|
|
6199
6149
|
destinationFee: {
|
|
6200
|
-
balance:
|
|
6150
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
6201
6151
|
}
|
|
6202
6152
|
},
|
|
6203
6153
|
destination: {
|
|
6204
6154
|
asset: ftmwh,
|
|
6205
6155
|
chain: peaqAlphanet,
|
|
6206
|
-
balance:
|
|
6156
|
+
balance: BalanceBuilder32().substrate().assets().account(),
|
|
6207
6157
|
fee: {
|
|
6208
6158
|
amount: 0.01,
|
|
6209
6159
|
asset: ftmwh
|
|
@@ -6215,19 +6165,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6215
6165
|
{
|
|
6216
6166
|
source: {
|
|
6217
6167
|
asset: agng,
|
|
6218
|
-
balance:
|
|
6168
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6219
6169
|
fee: {
|
|
6220
6170
|
asset: dev,
|
|
6221
|
-
balance:
|
|
6171
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6222
6172
|
},
|
|
6223
6173
|
destinationFee: {
|
|
6224
|
-
balance:
|
|
6174
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
6225
6175
|
}
|
|
6226
6176
|
},
|
|
6227
6177
|
destination: {
|
|
6228
6178
|
asset: agng,
|
|
6229
6179
|
chain: peaqAlphanet,
|
|
6230
|
-
balance:
|
|
6180
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
6231
6181
|
fee: {
|
|
6232
6182
|
amount: 0.01,
|
|
6233
6183
|
asset: agng
|
|
@@ -6238,19 +6188,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6238
6188
|
{
|
|
6239
6189
|
source: {
|
|
6240
6190
|
asset: dev,
|
|
6241
|
-
balance:
|
|
6191
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
6242
6192
|
fee: {
|
|
6243
6193
|
asset: dev,
|
|
6244
|
-
balance:
|
|
6194
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6245
6195
|
},
|
|
6246
6196
|
destinationFee: {
|
|
6247
|
-
balance:
|
|
6197
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6248
6198
|
}
|
|
6249
6199
|
},
|
|
6250
6200
|
destination: {
|
|
6251
6201
|
asset: dev,
|
|
6252
6202
|
chain: peaqEvmAlphanet,
|
|
6253
|
-
balance:
|
|
6203
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6254
6204
|
fee: {
|
|
6255
6205
|
amount: 1e-8,
|
|
6256
6206
|
asset: dev
|
|
@@ -6262,19 +6212,19 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6262
6212
|
{
|
|
6263
6213
|
source: {
|
|
6264
6214
|
asset: ftmwh,
|
|
6265
|
-
balance:
|
|
6215
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6266
6216
|
fee: {
|
|
6267
6217
|
asset: dev,
|
|
6268
|
-
balance:
|
|
6218
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6269
6219
|
},
|
|
6270
6220
|
destinationFee: {
|
|
6271
|
-
balance:
|
|
6221
|
+
balance: BalanceBuilder32().evm().erc20()
|
|
6272
6222
|
}
|
|
6273
6223
|
},
|
|
6274
6224
|
destination: {
|
|
6275
6225
|
asset: ftmwh,
|
|
6276
6226
|
chain: peaqEvmAlphanet,
|
|
6277
|
-
balance:
|
|
6227
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6278
6228
|
fee: {
|
|
6279
6229
|
amount: 0.01,
|
|
6280
6230
|
asset: ftmwh
|
|
@@ -6286,16 +6236,16 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6286
6236
|
{
|
|
6287
6237
|
source: {
|
|
6288
6238
|
asset: maos,
|
|
6289
|
-
balance:
|
|
6239
|
+
balance: BalanceBuilder32().evm().erc20(),
|
|
6290
6240
|
fee: {
|
|
6291
6241
|
asset: dev,
|
|
6292
|
-
balance:
|
|
6242
|
+
balance: BalanceBuilder32().substrate().system().account()
|
|
6293
6243
|
}
|
|
6294
6244
|
},
|
|
6295
6245
|
destination: {
|
|
6296
6246
|
asset: maos,
|
|
6297
6247
|
chain: laosAlphanet,
|
|
6298
|
-
balance:
|
|
6248
|
+
balance: BalanceBuilder32().substrate().system().account(),
|
|
6299
6249
|
fee: {
|
|
6300
6250
|
amount: 0.1,
|
|
6301
6251
|
asset: maos
|
|
@@ -6308,9 +6258,9 @@ var moonbaseAlphaRoutes2 = new ChainRoutes({
|
|
|
6308
6258
|
|
|
6309
6259
|
// src/xcm-configs/moonbaseBeta.ts
|
|
6310
6260
|
import {
|
|
6311
|
-
BalanceBuilder as
|
|
6312
|
-
ExtrinsicBuilder as
|
|
6313
|
-
FeeBuilder as
|
|
6261
|
+
BalanceBuilder as BalanceBuilder33,
|
|
6262
|
+
ExtrinsicBuilder as ExtrinsicBuilder24,
|
|
6263
|
+
FeeBuilder as FeeBuilder23
|
|
6314
6264
|
} from "@moonbeam-network/xcm-builder";
|
|
6315
6265
|
var moonbaseBetaRoutes3 = new ChainRoutes({
|
|
6316
6266
|
chain: moonbaseBeta,
|
|
@@ -6318,48 +6268,48 @@ var moonbaseBetaRoutes3 = new ChainRoutes({
|
|
|
6318
6268
|
{
|
|
6319
6269
|
source: {
|
|
6320
6270
|
asset: dev,
|
|
6321
|
-
balance:
|
|
6271
|
+
balance: BalanceBuilder33().substrate().assets().account(),
|
|
6322
6272
|
fee: {
|
|
6323
6273
|
asset: devBeta,
|
|
6324
|
-
balance:
|
|
6274
|
+
balance: BalanceBuilder33().substrate().system().account()
|
|
6325
6275
|
},
|
|
6326
6276
|
destinationFee: {
|
|
6327
|
-
balance:
|
|
6277
|
+
balance: BalanceBuilder33().substrate().assets().account()
|
|
6328
6278
|
}
|
|
6329
6279
|
},
|
|
6330
6280
|
destination: {
|
|
6331
6281
|
asset: dev,
|
|
6332
6282
|
chain: moonbaseAlpha,
|
|
6333
|
-
balance:
|
|
6283
|
+
balance: BalanceBuilder33().substrate().system().account(),
|
|
6334
6284
|
fee: {
|
|
6335
|
-
amount:
|
|
6285
|
+
amount: FeeBuilder23().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
6336
6286
|
asset: dev
|
|
6337
6287
|
}
|
|
6338
6288
|
},
|
|
6339
|
-
extrinsic:
|
|
6289
|
+
extrinsic: ExtrinsicBuilder24().polkadotXcm().transferAssets().X2()
|
|
6340
6290
|
},
|
|
6341
6291
|
{
|
|
6342
6292
|
source: {
|
|
6343
6293
|
asset: alan,
|
|
6344
|
-
balance:
|
|
6294
|
+
balance: BalanceBuilder33().substrate().assets().account(),
|
|
6345
6295
|
fee: {
|
|
6346
6296
|
asset: devBeta,
|
|
6347
|
-
balance:
|
|
6297
|
+
balance: BalanceBuilder33().substrate().system().account()
|
|
6348
6298
|
},
|
|
6349
6299
|
destinationFee: {
|
|
6350
|
-
balance:
|
|
6300
|
+
balance: BalanceBuilder33().substrate().system().account()
|
|
6351
6301
|
}
|
|
6352
6302
|
},
|
|
6353
6303
|
destination: {
|
|
6354
6304
|
asset: alan,
|
|
6355
6305
|
chain: moonbaseAlpha,
|
|
6356
|
-
balance:
|
|
6306
|
+
balance: BalanceBuilder33().evm().erc20(),
|
|
6357
6307
|
fee: {
|
|
6358
|
-
amount:
|
|
6308
|
+
amount: FeeBuilder23().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
6359
6309
|
asset: dev
|
|
6360
6310
|
}
|
|
6361
6311
|
},
|
|
6362
|
-
extrinsic:
|
|
6312
|
+
extrinsic: ExtrinsicBuilder24().polkadotXcm().transferAssets().X3()
|
|
6363
6313
|
}
|
|
6364
6314
|
]
|
|
6365
6315
|
});
|
|
@@ -6367,9 +6317,9 @@ var moonbaseBetaRoutes3 = new ChainRoutes({
|
|
|
6367
6317
|
// src/xcm-configs/moonbeam.ts
|
|
6368
6318
|
import {
|
|
6369
6319
|
AssetMinBuilder as AssetMinBuilder9,
|
|
6370
|
-
BalanceBuilder as
|
|
6320
|
+
BalanceBuilder as BalanceBuilder34,
|
|
6371
6321
|
ContractBuilder as ContractBuilder2,
|
|
6372
|
-
FeeBuilder as
|
|
6322
|
+
FeeBuilder as FeeBuilder24
|
|
6373
6323
|
} from "@moonbeam-network/xcm-builder";
|
|
6374
6324
|
var moonbeamRoutes2 = new ChainRoutes({
|
|
6375
6325
|
chain: moonbeam,
|
|
@@ -6377,19 +6327,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6377
6327
|
{
|
|
6378
6328
|
source: {
|
|
6379
6329
|
asset: glmr,
|
|
6380
|
-
balance:
|
|
6330
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6381
6331
|
fee: {
|
|
6382
6332
|
asset: glmr,
|
|
6383
|
-
balance:
|
|
6333
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6384
6334
|
},
|
|
6385
6335
|
destinationFee: {
|
|
6386
|
-
balance:
|
|
6336
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6387
6337
|
}
|
|
6388
6338
|
},
|
|
6389
6339
|
destination: {
|
|
6390
6340
|
asset: glmr,
|
|
6391
6341
|
chain: acala,
|
|
6392
|
-
balance:
|
|
6342
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6393
6343
|
fee: {
|
|
6394
6344
|
amount: 0.01,
|
|
6395
6345
|
asset: glmr
|
|
@@ -6401,21 +6351,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6401
6351
|
{
|
|
6402
6352
|
source: {
|
|
6403
6353
|
asset: glmr,
|
|
6404
|
-
balance:
|
|
6354
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6405
6355
|
fee: {
|
|
6406
6356
|
asset: glmr,
|
|
6407
|
-
balance:
|
|
6357
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6408
6358
|
},
|
|
6409
6359
|
destinationFee: {
|
|
6410
|
-
balance:
|
|
6360
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6411
6361
|
}
|
|
6412
6362
|
},
|
|
6413
6363
|
destination: {
|
|
6414
6364
|
asset: glmr,
|
|
6415
6365
|
chain: astar,
|
|
6416
|
-
balance:
|
|
6366
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6417
6367
|
fee: {
|
|
6418
|
-
amount:
|
|
6368
|
+
amount: FeeBuilder24().xcmPaymentApi().fromSourcePalletInstance({ isAssetReserveChain: false }),
|
|
6419
6369
|
asset: glmr
|
|
6420
6370
|
}
|
|
6421
6371
|
},
|
|
@@ -6424,21 +6374,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6424
6374
|
{
|
|
6425
6375
|
source: {
|
|
6426
6376
|
asset: glmr,
|
|
6427
|
-
balance:
|
|
6377
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6428
6378
|
fee: {
|
|
6429
6379
|
asset: glmr,
|
|
6430
|
-
balance:
|
|
6380
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6431
6381
|
},
|
|
6432
6382
|
destinationFee: {
|
|
6433
|
-
balance:
|
|
6383
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6434
6384
|
}
|
|
6435
6385
|
},
|
|
6436
6386
|
destination: {
|
|
6437
6387
|
asset: glmr,
|
|
6438
6388
|
chain: bifrostPolkadot,
|
|
6439
|
-
balance:
|
|
6389
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6440
6390
|
fee: {
|
|
6441
|
-
amount:
|
|
6391
|
+
amount: FeeBuilder24().xcmPaymentApi().fromSourcePalletInstance({
|
|
6442
6392
|
isAssetReserveChain: false
|
|
6443
6393
|
}),
|
|
6444
6394
|
asset: glmr
|
|
@@ -6450,21 +6400,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6450
6400
|
{
|
|
6451
6401
|
source: {
|
|
6452
6402
|
asset: glmr,
|
|
6453
|
-
balance:
|
|
6403
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6454
6404
|
fee: {
|
|
6455
6405
|
asset: glmr,
|
|
6456
|
-
balance:
|
|
6406
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6457
6407
|
},
|
|
6458
6408
|
destinationFee: {
|
|
6459
|
-
balance:
|
|
6409
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6460
6410
|
}
|
|
6461
6411
|
},
|
|
6462
6412
|
destination: {
|
|
6463
6413
|
asset: glmr,
|
|
6464
6414
|
chain: hydration,
|
|
6465
|
-
balance:
|
|
6415
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6466
6416
|
fee: {
|
|
6467
|
-
amount:
|
|
6417
|
+
amount: FeeBuilder24().xcmPaymentApi().fromSourcePalletInstance({ isAssetReserveChain: false }),
|
|
6468
6418
|
asset: glmr
|
|
6469
6419
|
}
|
|
6470
6420
|
},
|
|
@@ -6473,19 +6423,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6473
6423
|
{
|
|
6474
6424
|
source: {
|
|
6475
6425
|
asset: glmr,
|
|
6476
|
-
balance:
|
|
6426
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6477
6427
|
fee: {
|
|
6478
6428
|
asset: glmr,
|
|
6479
|
-
balance:
|
|
6429
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6480
6430
|
},
|
|
6481
6431
|
destinationFee: {
|
|
6482
|
-
balance:
|
|
6432
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6483
6433
|
}
|
|
6484
6434
|
},
|
|
6485
6435
|
destination: {
|
|
6486
6436
|
asset: glmr,
|
|
6487
6437
|
chain: interlay,
|
|
6488
|
-
balance:
|
|
6438
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6489
6439
|
fee: {
|
|
6490
6440
|
amount: 0.05,
|
|
6491
6441
|
asset: glmr
|
|
@@ -6496,19 +6446,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6496
6446
|
{
|
|
6497
6447
|
source: {
|
|
6498
6448
|
asset: glmr,
|
|
6499
|
-
balance:
|
|
6449
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6500
6450
|
fee: {
|
|
6501
6451
|
asset: glmr,
|
|
6502
|
-
balance:
|
|
6452
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6503
6453
|
},
|
|
6504
6454
|
destinationFee: {
|
|
6505
|
-
balance:
|
|
6455
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6506
6456
|
}
|
|
6507
6457
|
},
|
|
6508
6458
|
destination: {
|
|
6509
6459
|
asset: glmr,
|
|
6510
6460
|
chain: mantaParachain,
|
|
6511
|
-
balance:
|
|
6461
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6512
6462
|
fee: {
|
|
6513
6463
|
amount: 0.1,
|
|
6514
6464
|
asset: glmr
|
|
@@ -6520,19 +6470,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6520
6470
|
{
|
|
6521
6471
|
source: {
|
|
6522
6472
|
asset: glmr,
|
|
6523
|
-
balance:
|
|
6473
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6524
6474
|
fee: {
|
|
6525
6475
|
asset: glmr,
|
|
6526
|
-
balance:
|
|
6476
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6527
6477
|
},
|
|
6528
6478
|
destinationFee: {
|
|
6529
|
-
balance:
|
|
6479
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6530
6480
|
}
|
|
6531
6481
|
},
|
|
6532
6482
|
destination: {
|
|
6533
6483
|
asset: glmr,
|
|
6534
6484
|
chain: pendulum,
|
|
6535
|
-
balance:
|
|
6485
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6536
6486
|
fee: {
|
|
6537
6487
|
amount: 0.2,
|
|
6538
6488
|
asset: glmr
|
|
@@ -6543,19 +6493,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6543
6493
|
{
|
|
6544
6494
|
source: {
|
|
6545
6495
|
asset: glmr,
|
|
6546
|
-
balance:
|
|
6496
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6547
6497
|
fee: {
|
|
6548
6498
|
asset: glmr,
|
|
6549
|
-
balance:
|
|
6499
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6550
6500
|
},
|
|
6551
6501
|
destinationFee: {
|
|
6552
|
-
balance:
|
|
6502
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6553
6503
|
}
|
|
6554
6504
|
},
|
|
6555
6505
|
destination: {
|
|
6556
6506
|
asset: glmr,
|
|
6557
6507
|
chain: zeitgeist,
|
|
6558
|
-
balance:
|
|
6508
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6559
6509
|
fee: {
|
|
6560
6510
|
amount: 0.3,
|
|
6561
6511
|
asset: glmr
|
|
@@ -6566,19 +6516,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6566
6516
|
{
|
|
6567
6517
|
source: {
|
|
6568
6518
|
asset: aca,
|
|
6569
|
-
balance:
|
|
6519
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6570
6520
|
fee: {
|
|
6571
6521
|
asset: glmr,
|
|
6572
|
-
balance:
|
|
6522
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6573
6523
|
},
|
|
6574
6524
|
destinationFee: {
|
|
6575
|
-
balance:
|
|
6525
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6576
6526
|
}
|
|
6577
6527
|
},
|
|
6578
6528
|
destination: {
|
|
6579
6529
|
asset: aca,
|
|
6580
6530
|
chain: acala,
|
|
6581
|
-
balance:
|
|
6531
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6582
6532
|
fee: {
|
|
6583
6533
|
amount: 0.032,
|
|
6584
6534
|
asset: aca
|
|
@@ -6589,21 +6539,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6589
6539
|
{
|
|
6590
6540
|
source: {
|
|
6591
6541
|
asset: astr,
|
|
6592
|
-
balance:
|
|
6542
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6593
6543
|
fee: {
|
|
6594
6544
|
asset: glmr,
|
|
6595
|
-
balance:
|
|
6545
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6596
6546
|
},
|
|
6597
6547
|
destinationFee: {
|
|
6598
|
-
balance:
|
|
6548
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6599
6549
|
}
|
|
6600
6550
|
},
|
|
6601
6551
|
destination: {
|
|
6602
6552
|
asset: astr,
|
|
6603
6553
|
chain: astar,
|
|
6604
|
-
balance:
|
|
6554
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6605
6555
|
fee: {
|
|
6606
|
-
amount:
|
|
6556
|
+
amount: FeeBuilder24().xcmPaymentApi().fromHere({ isAssetReserveChain: true, parents: 0 }),
|
|
6607
6557
|
asset: astr
|
|
6608
6558
|
}
|
|
6609
6559
|
},
|
|
@@ -6612,19 +6562,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6612
6562
|
{
|
|
6613
6563
|
source: {
|
|
6614
6564
|
asset: aseed,
|
|
6615
|
-
balance:
|
|
6565
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6616
6566
|
fee: {
|
|
6617
6567
|
asset: glmr,
|
|
6618
|
-
balance:
|
|
6568
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6619
6569
|
},
|
|
6620
6570
|
destinationFee: {
|
|
6621
|
-
balance:
|
|
6571
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6622
6572
|
}
|
|
6623
6573
|
},
|
|
6624
6574
|
destination: {
|
|
6625
6575
|
asset: aseed,
|
|
6626
6576
|
chain: acala,
|
|
6627
|
-
balance:
|
|
6577
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6628
6578
|
fee: {
|
|
6629
6579
|
amount: 0.256,
|
|
6630
6580
|
asset: aseed
|
|
@@ -6636,21 +6586,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6636
6586
|
{
|
|
6637
6587
|
source: {
|
|
6638
6588
|
asset: bnc,
|
|
6639
|
-
balance:
|
|
6589
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6640
6590
|
fee: {
|
|
6641
6591
|
asset: glmr,
|
|
6642
|
-
balance:
|
|
6592
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6643
6593
|
},
|
|
6644
6594
|
destinationFee: {
|
|
6645
|
-
balance:
|
|
6595
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6646
6596
|
}
|
|
6647
6597
|
},
|
|
6648
6598
|
destination: {
|
|
6649
6599
|
asset: bnc,
|
|
6650
6600
|
chain: bifrostPolkadot,
|
|
6651
|
-
balance:
|
|
6601
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6652
6602
|
fee: {
|
|
6653
|
-
amount:
|
|
6603
|
+
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
6654
6604
|
isAssetReserveChain: true
|
|
6655
6605
|
}),
|
|
6656
6606
|
asset: bnc
|
|
@@ -6661,19 +6611,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6661
6611
|
{
|
|
6662
6612
|
source: {
|
|
6663
6613
|
asset: cfg,
|
|
6664
|
-
balance:
|
|
6614
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6665
6615
|
fee: {
|
|
6666
6616
|
asset: glmr,
|
|
6667
|
-
balance:
|
|
6617
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6668
6618
|
},
|
|
6669
6619
|
destinationFee: {
|
|
6670
|
-
balance:
|
|
6620
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6671
6621
|
}
|
|
6672
6622
|
},
|
|
6673
6623
|
destination: {
|
|
6674
6624
|
asset: cfg,
|
|
6675
6625
|
chain: centrifuge,
|
|
6676
|
-
balance:
|
|
6626
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6677
6627
|
fee: {
|
|
6678
6628
|
amount: 0.01,
|
|
6679
6629
|
asset: cfg
|
|
@@ -6684,21 +6634,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6684
6634
|
{
|
|
6685
6635
|
source: {
|
|
6686
6636
|
asset: dot,
|
|
6687
|
-
balance:
|
|
6637
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6688
6638
|
fee: {
|
|
6689
6639
|
asset: glmr,
|
|
6690
|
-
balance:
|
|
6640
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6691
6641
|
},
|
|
6692
6642
|
destinationFee: {
|
|
6693
|
-
balance:
|
|
6643
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6694
6644
|
}
|
|
6695
6645
|
},
|
|
6696
6646
|
destination: {
|
|
6697
6647
|
asset: dot,
|
|
6698
6648
|
chain: polkadot,
|
|
6699
|
-
balance:
|
|
6649
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6700
6650
|
fee: {
|
|
6701
|
-
amount:
|
|
6651
|
+
amount: FeeBuilder24().xcmPaymentApi().fromHere({ isAssetReserveChain: true, parents: 0 }),
|
|
6702
6652
|
asset: dot
|
|
6703
6653
|
}
|
|
6704
6654
|
},
|
|
@@ -6707,21 +6657,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6707
6657
|
{
|
|
6708
6658
|
source: {
|
|
6709
6659
|
asset: dot,
|
|
6710
|
-
balance:
|
|
6660
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6711
6661
|
fee: {
|
|
6712
6662
|
asset: glmr,
|
|
6713
|
-
balance:
|
|
6663
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6714
6664
|
},
|
|
6715
6665
|
destinationFee: {
|
|
6716
|
-
balance:
|
|
6666
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6717
6667
|
}
|
|
6718
6668
|
},
|
|
6719
6669
|
destination: {
|
|
6720
6670
|
asset: dot,
|
|
6721
6671
|
chain: polkadotAssetHub,
|
|
6722
|
-
balance:
|
|
6672
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6723
6673
|
fee: {
|
|
6724
|
-
amount:
|
|
6674
|
+
amount: FeeBuilder24().xcmPaymentApi().fromHere({ isAssetReserveChain: true }),
|
|
6725
6675
|
asset: dot
|
|
6726
6676
|
}
|
|
6727
6677
|
},
|
|
@@ -6730,19 +6680,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6730
6680
|
{
|
|
6731
6681
|
source: {
|
|
6732
6682
|
asset: ibtc,
|
|
6733
|
-
balance:
|
|
6683
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6734
6684
|
fee: {
|
|
6735
6685
|
asset: glmr,
|
|
6736
|
-
balance:
|
|
6686
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6737
6687
|
},
|
|
6738
6688
|
destinationFee: {
|
|
6739
|
-
balance:
|
|
6689
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6740
6690
|
}
|
|
6741
6691
|
},
|
|
6742
6692
|
destination: {
|
|
6743
6693
|
asset: ibtc,
|
|
6744
6694
|
chain: interlay,
|
|
6745
|
-
balance:
|
|
6695
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6746
6696
|
fee: {
|
|
6747
6697
|
amount: 64e-8,
|
|
6748
6698
|
asset: ibtc
|
|
@@ -6753,19 +6703,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6753
6703
|
{
|
|
6754
6704
|
source: {
|
|
6755
6705
|
asset: intr,
|
|
6756
|
-
balance:
|
|
6706
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6757
6707
|
fee: {
|
|
6758
6708
|
asset: glmr,
|
|
6759
|
-
balance:
|
|
6709
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6760
6710
|
},
|
|
6761
6711
|
destinationFee: {
|
|
6762
|
-
balance:
|
|
6712
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6763
6713
|
}
|
|
6764
6714
|
},
|
|
6765
6715
|
destination: {
|
|
6766
6716
|
asset: intr,
|
|
6767
6717
|
chain: interlay,
|
|
6768
|
-
balance:
|
|
6718
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6769
6719
|
fee: {
|
|
6770
6720
|
amount: 0.748,
|
|
6771
6721
|
asset: intr
|
|
@@ -6776,19 +6726,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6776
6726
|
{
|
|
6777
6727
|
source: {
|
|
6778
6728
|
asset: ldot,
|
|
6779
|
-
balance:
|
|
6729
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6780
6730
|
fee: {
|
|
6781
6731
|
asset: glmr,
|
|
6782
|
-
balance:
|
|
6732
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6783
6733
|
},
|
|
6784
6734
|
destinationFee: {
|
|
6785
|
-
balance:
|
|
6735
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6786
6736
|
}
|
|
6787
6737
|
},
|
|
6788
6738
|
destination: {
|
|
6789
6739
|
asset: ldot,
|
|
6790
6740
|
chain: acala,
|
|
6791
|
-
balance:
|
|
6741
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
6792
6742
|
fee: {
|
|
6793
6743
|
amount: 1e-3,
|
|
6794
6744
|
asset: ldot
|
|
@@ -6800,19 +6750,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6800
6750
|
{
|
|
6801
6751
|
source: {
|
|
6802
6752
|
asset: manta,
|
|
6803
|
-
balance:
|
|
6753
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6804
6754
|
fee: {
|
|
6805
6755
|
asset: glmr,
|
|
6806
|
-
balance:
|
|
6756
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6807
6757
|
},
|
|
6808
6758
|
destinationFee: {
|
|
6809
|
-
balance:
|
|
6759
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6810
6760
|
}
|
|
6811
6761
|
},
|
|
6812
6762
|
destination: {
|
|
6813
6763
|
asset: manta,
|
|
6814
6764
|
chain: mantaParachain,
|
|
6815
|
-
balance:
|
|
6765
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6816
6766
|
fee: {
|
|
6817
6767
|
amount: 1e-6,
|
|
6818
6768
|
asset: manta
|
|
@@ -6823,19 +6773,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6823
6773
|
{
|
|
6824
6774
|
source: {
|
|
6825
6775
|
asset: neuro,
|
|
6826
|
-
balance:
|
|
6776
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6827
6777
|
fee: {
|
|
6828
6778
|
asset: glmr,
|
|
6829
|
-
balance:
|
|
6779
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6830
6780
|
},
|
|
6831
6781
|
destinationFee: {
|
|
6832
|
-
balance:
|
|
6782
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6833
6783
|
}
|
|
6834
6784
|
},
|
|
6835
6785
|
destination: {
|
|
6836
6786
|
asset: neuro,
|
|
6837
6787
|
chain: neuroweb,
|
|
6838
|
-
balance:
|
|
6788
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6839
6789
|
fee: {
|
|
6840
6790
|
amount: 4e-3,
|
|
6841
6791
|
asset: neuro
|
|
@@ -6846,19 +6796,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6846
6796
|
{
|
|
6847
6797
|
source: {
|
|
6848
6798
|
asset: pen,
|
|
6849
|
-
balance:
|
|
6799
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6850
6800
|
fee: {
|
|
6851
6801
|
asset: glmr,
|
|
6852
|
-
balance:
|
|
6802
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6853
6803
|
},
|
|
6854
6804
|
destinationFee: {
|
|
6855
|
-
balance:
|
|
6805
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6856
6806
|
}
|
|
6857
6807
|
},
|
|
6858
6808
|
destination: {
|
|
6859
6809
|
asset: pen,
|
|
6860
6810
|
chain: pendulum,
|
|
6861
|
-
balance:
|
|
6811
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6862
6812
|
fee: {
|
|
6863
6813
|
amount: 1.01,
|
|
6864
6814
|
asset: pen
|
|
@@ -6869,19 +6819,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6869
6819
|
{
|
|
6870
6820
|
source: {
|
|
6871
6821
|
asset: pha,
|
|
6872
|
-
balance:
|
|
6822
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6873
6823
|
fee: {
|
|
6874
6824
|
asset: glmr,
|
|
6875
|
-
balance:
|
|
6825
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6876
6826
|
},
|
|
6877
6827
|
destinationFee: {
|
|
6878
|
-
balance:
|
|
6828
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6879
6829
|
}
|
|
6880
6830
|
},
|
|
6881
6831
|
destination: {
|
|
6882
6832
|
asset: pha,
|
|
6883
6833
|
chain: phala,
|
|
6884
|
-
balance:
|
|
6834
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6885
6835
|
fee: {
|
|
6886
6836
|
amount: 0.32,
|
|
6887
6837
|
asset: pha
|
|
@@ -6892,21 +6842,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6892
6842
|
{
|
|
6893
6843
|
source: {
|
|
6894
6844
|
asset: ring,
|
|
6895
|
-
balance:
|
|
6845
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6896
6846
|
fee: {
|
|
6897
6847
|
asset: glmr,
|
|
6898
|
-
balance:
|
|
6848
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6899
6849
|
},
|
|
6900
6850
|
destinationFee: {
|
|
6901
|
-
balance:
|
|
6851
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6902
6852
|
}
|
|
6903
6853
|
},
|
|
6904
6854
|
destination: {
|
|
6905
6855
|
asset: ring,
|
|
6906
6856
|
chain: darwinia,
|
|
6907
|
-
balance:
|
|
6857
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
6908
6858
|
fee: {
|
|
6909
|
-
amount:
|
|
6859
|
+
amount: FeeBuilder24().xcmPaymentApi().fromPalletInstance({
|
|
6910
6860
|
isAssetReserveChain: true
|
|
6911
6861
|
}),
|
|
6912
6862
|
asset: ring
|
|
@@ -6917,21 +6867,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6917
6867
|
{
|
|
6918
6868
|
source: {
|
|
6919
6869
|
asset: usdt,
|
|
6920
|
-
balance:
|
|
6870
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6921
6871
|
fee: {
|
|
6922
6872
|
asset: glmr,
|
|
6923
|
-
balance:
|
|
6873
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6924
6874
|
},
|
|
6925
6875
|
destinationFee: {
|
|
6926
|
-
balance:
|
|
6876
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6927
6877
|
}
|
|
6928
6878
|
},
|
|
6929
6879
|
destination: {
|
|
6930
6880
|
asset: usdt,
|
|
6931
6881
|
chain: polkadotAssetHub,
|
|
6932
|
-
balance:
|
|
6882
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6933
6883
|
fee: {
|
|
6934
|
-
amount:
|
|
6884
|
+
amount: FeeBuilder24().xcmPaymentApi().fromPalletInstanceAndGeneralIndex({
|
|
6935
6885
|
isAssetReserveChain: true
|
|
6936
6886
|
}),
|
|
6937
6887
|
asset: usdt
|
|
@@ -6943,21 +6893,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6943
6893
|
{
|
|
6944
6894
|
source: {
|
|
6945
6895
|
asset: usdc,
|
|
6946
|
-
balance:
|
|
6896
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6947
6897
|
fee: {
|
|
6948
6898
|
asset: glmr,
|
|
6949
|
-
balance:
|
|
6899
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6950
6900
|
},
|
|
6951
6901
|
destinationFee: {
|
|
6952
|
-
balance:
|
|
6902
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6953
6903
|
}
|
|
6954
6904
|
},
|
|
6955
6905
|
destination: {
|
|
6956
6906
|
asset: usdc,
|
|
6957
6907
|
chain: polkadotAssetHub,
|
|
6958
|
-
balance:
|
|
6908
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6959
6909
|
fee: {
|
|
6960
|
-
amount:
|
|
6910
|
+
amount: FeeBuilder24().xcmPaymentApi().fromPalletInstanceAndGeneralIndex({
|
|
6961
6911
|
isAssetReserveChain: true
|
|
6962
6912
|
}),
|
|
6963
6913
|
asset: usdc
|
|
@@ -6969,26 +6919,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6969
6919
|
{
|
|
6970
6920
|
source: {
|
|
6971
6921
|
asset: pink,
|
|
6972
|
-
balance:
|
|
6922
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
6973
6923
|
fee: {
|
|
6974
6924
|
asset: glmr,
|
|
6975
|
-
balance:
|
|
6925
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6976
6926
|
},
|
|
6977
6927
|
destinationFee: {
|
|
6978
|
-
balance:
|
|
6928
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
6979
6929
|
}
|
|
6980
6930
|
},
|
|
6981
6931
|
destination: {
|
|
6982
6932
|
asset: pink,
|
|
6983
6933
|
chain: polkadotAssetHub,
|
|
6984
|
-
balance:
|
|
6934
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
6985
6935
|
fee: {
|
|
6986
|
-
amount:
|
|
6936
|
+
amount: FeeBuilder24().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
6987
6937
|
isAssetReserveChain: true,
|
|
6988
6938
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
6989
6939
|
}),
|
|
6990
6940
|
asset: dot,
|
|
6991
|
-
balance:
|
|
6941
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
6992
6942
|
},
|
|
6993
6943
|
min: AssetMinBuilder9().assets().asset()
|
|
6994
6944
|
},
|
|
@@ -6997,26 +6947,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
6997
6947
|
{
|
|
6998
6948
|
source: {
|
|
6999
6949
|
asset: ded,
|
|
7000
|
-
balance:
|
|
6950
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7001
6951
|
fee: {
|
|
7002
6952
|
asset: glmr,
|
|
7003
|
-
balance:
|
|
6953
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7004
6954
|
},
|
|
7005
6955
|
destinationFee: {
|
|
7006
|
-
balance:
|
|
6956
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7007
6957
|
}
|
|
7008
6958
|
},
|
|
7009
6959
|
destination: {
|
|
7010
6960
|
asset: ded,
|
|
7011
6961
|
chain: polkadotAssetHub,
|
|
7012
|
-
balance:
|
|
6962
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7013
6963
|
fee: {
|
|
7014
|
-
amount:
|
|
6964
|
+
amount: FeeBuilder24().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
7015
6965
|
isAssetReserveChain: true,
|
|
7016
6966
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
7017
6967
|
}),
|
|
7018
6968
|
asset: dot,
|
|
7019
|
-
balance:
|
|
6969
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7020
6970
|
},
|
|
7021
6971
|
min: AssetMinBuilder9().assets().asset()
|
|
7022
6972
|
},
|
|
@@ -7025,26 +6975,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7025
6975
|
{
|
|
7026
6976
|
source: {
|
|
7027
6977
|
asset: stink,
|
|
7028
|
-
balance:
|
|
6978
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7029
6979
|
fee: {
|
|
7030
6980
|
asset: glmr,
|
|
7031
|
-
balance:
|
|
6981
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7032
6982
|
},
|
|
7033
6983
|
destinationFee: {
|
|
7034
|
-
balance:
|
|
6984
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7035
6985
|
}
|
|
7036
6986
|
},
|
|
7037
6987
|
destination: {
|
|
7038
6988
|
asset: stink,
|
|
7039
6989
|
chain: polkadotAssetHub,
|
|
7040
|
-
balance:
|
|
6990
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7041
6991
|
fee: {
|
|
7042
|
-
amount:
|
|
6992
|
+
amount: FeeBuilder24().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
7043
6993
|
isAssetReserveChain: true,
|
|
7044
6994
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
7045
6995
|
}),
|
|
7046
6996
|
asset: dot,
|
|
7047
|
-
balance:
|
|
6997
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7048
6998
|
},
|
|
7049
6999
|
min: AssetMinBuilder9().assets().asset()
|
|
7050
7000
|
},
|
|
@@ -7053,26 +7003,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7053
7003
|
{
|
|
7054
7004
|
source: {
|
|
7055
7005
|
asset: apillon,
|
|
7056
|
-
balance:
|
|
7006
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7057
7007
|
fee: {
|
|
7058
7008
|
asset: glmr,
|
|
7059
|
-
balance:
|
|
7009
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7060
7010
|
},
|
|
7061
7011
|
destinationFee: {
|
|
7062
|
-
balance:
|
|
7012
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7063
7013
|
}
|
|
7064
7014
|
},
|
|
7065
7015
|
destination: {
|
|
7066
7016
|
asset: apillon,
|
|
7067
7017
|
chain: polkadotAssetHub,
|
|
7068
|
-
balance:
|
|
7018
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7069
7019
|
fee: {
|
|
7070
|
-
amount:
|
|
7020
|
+
amount: FeeBuilder24().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
7071
7021
|
isAssetReserveChain: true,
|
|
7072
7022
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
7073
7023
|
}),
|
|
7074
7024
|
asset: dot,
|
|
7075
|
-
balance:
|
|
7025
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7076
7026
|
},
|
|
7077
7027
|
min: AssetMinBuilder9().assets().asset()
|
|
7078
7028
|
},
|
|
@@ -7081,21 +7031,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7081
7031
|
{
|
|
7082
7032
|
source: {
|
|
7083
7033
|
asset: hdx,
|
|
7084
|
-
balance:
|
|
7034
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7085
7035
|
fee: {
|
|
7086
7036
|
asset: glmr,
|
|
7087
|
-
balance:
|
|
7037
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7088
7038
|
},
|
|
7089
7039
|
destinationFee: {
|
|
7090
|
-
balance:
|
|
7040
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7091
7041
|
}
|
|
7092
7042
|
},
|
|
7093
7043
|
destination: {
|
|
7094
7044
|
asset: hdx,
|
|
7095
7045
|
chain: hydration,
|
|
7096
|
-
balance:
|
|
7046
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7097
7047
|
fee: {
|
|
7098
|
-
amount:
|
|
7048
|
+
amount: FeeBuilder24().xcmPaymentApi().fromGeneralIndex({ isAssetReserveChain: true }),
|
|
7099
7049
|
asset: hdx
|
|
7100
7050
|
}
|
|
7101
7051
|
},
|
|
@@ -7104,21 +7054,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7104
7054
|
{
|
|
7105
7055
|
source: {
|
|
7106
7056
|
asset: dai,
|
|
7107
|
-
balance:
|
|
7057
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7108
7058
|
fee: {
|
|
7109
7059
|
asset: glmr,
|
|
7110
|
-
balance:
|
|
7060
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7111
7061
|
},
|
|
7112
7062
|
destinationFee: {
|
|
7113
|
-
balance:
|
|
7063
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7114
7064
|
}
|
|
7115
7065
|
},
|
|
7116
7066
|
destination: {
|
|
7117
7067
|
asset: dai,
|
|
7118
7068
|
chain: hydration,
|
|
7119
|
-
balance:
|
|
7069
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7120
7070
|
fee: {
|
|
7121
|
-
amount:
|
|
7071
|
+
amount: FeeBuilder24().xcmPaymentApi().fromSourceAccountKey20({
|
|
7122
7072
|
isAssetReserveChain: false
|
|
7123
7073
|
}),
|
|
7124
7074
|
asset: dai
|
|
@@ -7129,21 +7079,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7129
7079
|
{
|
|
7130
7080
|
source: {
|
|
7131
7081
|
asset: usdcwh,
|
|
7132
|
-
balance:
|
|
7082
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7133
7083
|
fee: {
|
|
7134
7084
|
asset: glmr,
|
|
7135
|
-
balance:
|
|
7085
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7136
7086
|
},
|
|
7137
7087
|
destinationFee: {
|
|
7138
|
-
balance:
|
|
7088
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7139
7089
|
}
|
|
7140
7090
|
},
|
|
7141
7091
|
destination: {
|
|
7142
7092
|
asset: usdcwh,
|
|
7143
7093
|
chain: hydration,
|
|
7144
|
-
balance:
|
|
7094
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7145
7095
|
fee: {
|
|
7146
|
-
amount:
|
|
7096
|
+
amount: FeeBuilder24().xcmPaymentApi().fromSourceAccountKey20({
|
|
7147
7097
|
isAssetReserveChain: false
|
|
7148
7098
|
}),
|
|
7149
7099
|
asset: usdcwh
|
|
@@ -7154,21 +7104,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7154
7104
|
{
|
|
7155
7105
|
source: {
|
|
7156
7106
|
asset: usdtwh,
|
|
7157
|
-
balance:
|
|
7107
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7158
7108
|
fee: {
|
|
7159
7109
|
asset: glmr,
|
|
7160
|
-
balance:
|
|
7110
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7161
7111
|
},
|
|
7162
7112
|
destinationFee: {
|
|
7163
|
-
balance:
|
|
7113
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7164
7114
|
}
|
|
7165
7115
|
},
|
|
7166
7116
|
destination: {
|
|
7167
7117
|
asset: usdtwh,
|
|
7168
7118
|
chain: hydration,
|
|
7169
|
-
balance:
|
|
7119
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7170
7120
|
fee: {
|
|
7171
|
-
amount:
|
|
7121
|
+
amount: FeeBuilder24().xcmPaymentApi().fromSourceAccountKey20({
|
|
7172
7122
|
isAssetReserveChain: false
|
|
7173
7123
|
}),
|
|
7174
7124
|
asset: usdtwh
|
|
@@ -7179,21 +7129,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7179
7129
|
{
|
|
7180
7130
|
source: {
|
|
7181
7131
|
asset: vastr,
|
|
7182
|
-
balance:
|
|
7132
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7183
7133
|
fee: {
|
|
7184
7134
|
asset: glmr,
|
|
7185
|
-
balance:
|
|
7135
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7186
7136
|
},
|
|
7187
7137
|
destinationFee: {
|
|
7188
|
-
balance:
|
|
7138
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7189
7139
|
}
|
|
7190
7140
|
},
|
|
7191
7141
|
destination: {
|
|
7192
7142
|
asset: vastr,
|
|
7193
7143
|
chain: bifrostPolkadot,
|
|
7194
|
-
balance:
|
|
7144
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7195
7145
|
fee: {
|
|
7196
|
-
amount:
|
|
7146
|
+
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7197
7147
|
isAssetReserveChain: false
|
|
7198
7148
|
}),
|
|
7199
7149
|
asset: vastr
|
|
@@ -7205,21 +7155,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7205
7155
|
{
|
|
7206
7156
|
source: {
|
|
7207
7157
|
asset: vdot,
|
|
7208
|
-
balance:
|
|
7158
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7209
7159
|
fee: {
|
|
7210
7160
|
asset: glmr,
|
|
7211
|
-
balance:
|
|
7161
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7212
7162
|
},
|
|
7213
7163
|
destinationFee: {
|
|
7214
|
-
balance:
|
|
7164
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7215
7165
|
}
|
|
7216
7166
|
},
|
|
7217
7167
|
destination: {
|
|
7218
7168
|
asset: vdot,
|
|
7219
|
-
balance:
|
|
7169
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7220
7170
|
chain: bifrostPolkadot,
|
|
7221
7171
|
fee: {
|
|
7222
|
-
amount:
|
|
7172
|
+
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7223
7173
|
isAssetReserveChain: false
|
|
7224
7174
|
}),
|
|
7225
7175
|
asset: vdot
|
|
@@ -7231,21 +7181,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7231
7181
|
{
|
|
7232
7182
|
source: {
|
|
7233
7183
|
asset: vfil,
|
|
7234
|
-
balance:
|
|
7184
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7235
7185
|
fee: {
|
|
7236
7186
|
asset: glmr,
|
|
7237
|
-
balance:
|
|
7187
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7238
7188
|
},
|
|
7239
7189
|
destinationFee: {
|
|
7240
|
-
balance:
|
|
7190
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7241
7191
|
}
|
|
7242
7192
|
},
|
|
7243
7193
|
destination: {
|
|
7244
7194
|
asset: vfil,
|
|
7245
7195
|
chain: bifrostPolkadot,
|
|
7246
|
-
balance:
|
|
7196
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7247
7197
|
fee: {
|
|
7248
|
-
amount:
|
|
7198
|
+
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7249
7199
|
isAssetReserveChain: false
|
|
7250
7200
|
}),
|
|
7251
7201
|
asset: vfil
|
|
@@ -7257,21 +7207,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7257
7207
|
{
|
|
7258
7208
|
source: {
|
|
7259
7209
|
asset: vglmr,
|
|
7260
|
-
balance:
|
|
7210
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7261
7211
|
fee: {
|
|
7262
7212
|
asset: glmr,
|
|
7263
|
-
balance:
|
|
7213
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7264
7214
|
},
|
|
7265
7215
|
destinationFee: {
|
|
7266
|
-
balance:
|
|
7216
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7267
7217
|
}
|
|
7268
7218
|
},
|
|
7269
7219
|
destination: {
|
|
7270
7220
|
asset: vglmr,
|
|
7271
7221
|
chain: bifrostPolkadot,
|
|
7272
|
-
balance:
|
|
7222
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7273
7223
|
fee: {
|
|
7274
|
-
amount:
|
|
7224
|
+
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7275
7225
|
isAssetReserveChain: false
|
|
7276
7226
|
}),
|
|
7277
7227
|
asset: vglmr
|
|
@@ -7283,21 +7233,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7283
7233
|
{
|
|
7284
7234
|
source: {
|
|
7285
7235
|
asset: vmanta,
|
|
7286
|
-
balance:
|
|
7236
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7287
7237
|
fee: {
|
|
7288
7238
|
asset: glmr,
|
|
7289
|
-
balance:
|
|
7239
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7290
7240
|
},
|
|
7291
7241
|
destinationFee: {
|
|
7292
|
-
balance:
|
|
7242
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7293
7243
|
}
|
|
7294
7244
|
},
|
|
7295
7245
|
destination: {
|
|
7296
7246
|
asset: vmanta,
|
|
7297
7247
|
chain: bifrostPolkadot,
|
|
7298
|
-
balance:
|
|
7248
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7299
7249
|
fee: {
|
|
7300
|
-
amount:
|
|
7250
|
+
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7301
7251
|
isAssetReserveChain: false
|
|
7302
7252
|
}),
|
|
7303
7253
|
asset: vmanta
|
|
@@ -7309,21 +7259,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7309
7259
|
{
|
|
7310
7260
|
source: {
|
|
7311
7261
|
asset: wbtc,
|
|
7312
|
-
balance:
|
|
7262
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7313
7263
|
fee: {
|
|
7314
7264
|
asset: glmr,
|
|
7315
|
-
balance:
|
|
7265
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7316
7266
|
},
|
|
7317
7267
|
destinationFee: {
|
|
7318
|
-
balance:
|
|
7268
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7319
7269
|
}
|
|
7320
7270
|
},
|
|
7321
7271
|
destination: {
|
|
7322
7272
|
asset: wbtc,
|
|
7323
7273
|
chain: hydration,
|
|
7324
|
-
balance:
|
|
7274
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7325
7275
|
fee: {
|
|
7326
|
-
amount:
|
|
7276
|
+
amount: FeeBuilder24().xcmPaymentApi().fromSourceAccountKey20({
|
|
7327
7277
|
isAssetReserveChain: false
|
|
7328
7278
|
}),
|
|
7329
7279
|
asset: wbtc
|
|
@@ -7334,21 +7284,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7334
7284
|
{
|
|
7335
7285
|
source: {
|
|
7336
7286
|
asset: weth,
|
|
7337
|
-
balance:
|
|
7287
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7338
7288
|
fee: {
|
|
7339
7289
|
asset: glmr,
|
|
7340
|
-
balance:
|
|
7290
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7341
7291
|
},
|
|
7342
7292
|
destinationFee: {
|
|
7343
|
-
balance:
|
|
7293
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7344
7294
|
}
|
|
7345
7295
|
},
|
|
7346
7296
|
destination: {
|
|
7347
7297
|
asset: weth,
|
|
7348
7298
|
chain: hydration,
|
|
7349
|
-
balance:
|
|
7299
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7350
7300
|
fee: {
|
|
7351
|
-
amount:
|
|
7301
|
+
amount: FeeBuilder24().xcmPaymentApi().fromSourceAccountKey20({
|
|
7352
7302
|
isAssetReserveChain: false
|
|
7353
7303
|
}),
|
|
7354
7304
|
asset: weth
|
|
@@ -7359,21 +7309,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7359
7309
|
{
|
|
7360
7310
|
source: {
|
|
7361
7311
|
asset: fil,
|
|
7362
|
-
balance:
|
|
7312
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7363
7313
|
fee: {
|
|
7364
7314
|
asset: glmr,
|
|
7365
|
-
balance:
|
|
7315
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7366
7316
|
},
|
|
7367
7317
|
destinationFee: {
|
|
7368
|
-
balance:
|
|
7318
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7369
7319
|
}
|
|
7370
7320
|
},
|
|
7371
7321
|
destination: {
|
|
7372
7322
|
asset: fil,
|
|
7373
7323
|
chain: bifrostPolkadot,
|
|
7374
|
-
balance:
|
|
7324
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7375
7325
|
fee: {
|
|
7376
|
-
amount:
|
|
7326
|
+
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7377
7327
|
isAssetReserveChain: false
|
|
7378
7328
|
}),
|
|
7379
7329
|
asset: fil
|
|
@@ -7385,19 +7335,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7385
7335
|
{
|
|
7386
7336
|
source: {
|
|
7387
7337
|
asset: ztg,
|
|
7388
|
-
balance:
|
|
7338
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7389
7339
|
fee: {
|
|
7390
7340
|
asset: glmr,
|
|
7391
|
-
balance:
|
|
7341
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7392
7342
|
},
|
|
7393
7343
|
destinationFee: {
|
|
7394
|
-
balance:
|
|
7344
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7395
7345
|
}
|
|
7396
7346
|
},
|
|
7397
7347
|
destination: {
|
|
7398
7348
|
asset: ztg,
|
|
7399
7349
|
chain: zeitgeist,
|
|
7400
|
-
balance:
|
|
7350
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7401
7351
|
fee: {
|
|
7402
7352
|
amount: 0.01,
|
|
7403
7353
|
asset: ztg
|
|
@@ -7408,19 +7358,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7408
7358
|
{
|
|
7409
7359
|
source: {
|
|
7410
7360
|
asset: usdcwh,
|
|
7411
|
-
balance:
|
|
7361
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7412
7362
|
fee: {
|
|
7413
7363
|
asset: glmr,
|
|
7414
|
-
balance:
|
|
7364
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7415
7365
|
},
|
|
7416
7366
|
destinationFee: {
|
|
7417
|
-
balance:
|
|
7367
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7418
7368
|
}
|
|
7419
7369
|
},
|
|
7420
7370
|
destination: {
|
|
7421
7371
|
asset: usdcwh,
|
|
7422
7372
|
chain: zeitgeist,
|
|
7423
|
-
balance:
|
|
7373
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7424
7374
|
fee: {
|
|
7425
7375
|
amount: 0.101,
|
|
7426
7376
|
asset: usdcwh
|
|
@@ -7431,21 +7381,21 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7431
7381
|
{
|
|
7432
7382
|
source: {
|
|
7433
7383
|
asset: bncs,
|
|
7434
|
-
balance:
|
|
7384
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7435
7385
|
fee: {
|
|
7436
7386
|
asset: glmr,
|
|
7437
|
-
balance:
|
|
7387
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7438
7388
|
},
|
|
7439
7389
|
destinationFee: {
|
|
7440
|
-
balance:
|
|
7390
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7441
7391
|
}
|
|
7442
7392
|
},
|
|
7443
7393
|
destination: {
|
|
7444
7394
|
asset: bncs,
|
|
7445
7395
|
chain: bifrostPolkadot,
|
|
7446
|
-
balance:
|
|
7396
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7447
7397
|
fee: {
|
|
7448
|
-
amount:
|
|
7398
|
+
amount: FeeBuilder24().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
7449
7399
|
isAssetReserveChain: false
|
|
7450
7400
|
}),
|
|
7451
7401
|
asset: bncs
|
|
@@ -7457,19 +7407,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7457
7407
|
{
|
|
7458
7408
|
source: {
|
|
7459
7409
|
asset: glmr,
|
|
7460
|
-
balance:
|
|
7410
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7461
7411
|
fee: {
|
|
7462
7412
|
asset: glmr,
|
|
7463
|
-
balance:
|
|
7413
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7464
7414
|
},
|
|
7465
7415
|
destinationFee: {
|
|
7466
|
-
balance:
|
|
7416
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7467
7417
|
}
|
|
7468
7418
|
},
|
|
7469
7419
|
destination: {
|
|
7470
7420
|
asset: glmr,
|
|
7471
7421
|
chain: peaqChain,
|
|
7472
|
-
balance:
|
|
7422
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7473
7423
|
fee: {
|
|
7474
7424
|
amount: 1e-8,
|
|
7475
7425
|
asset: glmr
|
|
@@ -7481,19 +7431,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7481
7431
|
{
|
|
7482
7432
|
source: {
|
|
7483
7433
|
asset: usdcwh,
|
|
7484
|
-
balance:
|
|
7434
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7485
7435
|
fee: {
|
|
7486
7436
|
asset: glmr,
|
|
7487
|
-
balance:
|
|
7437
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7488
7438
|
},
|
|
7489
7439
|
destinationFee: {
|
|
7490
|
-
balance:
|
|
7440
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7491
7441
|
}
|
|
7492
7442
|
},
|
|
7493
7443
|
destination: {
|
|
7494
7444
|
asset: usdcwh,
|
|
7495
7445
|
chain: peaqChain,
|
|
7496
|
-
balance:
|
|
7446
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7497
7447
|
fee: {
|
|
7498
7448
|
amount: 1e-5,
|
|
7499
7449
|
asset: usdcwh
|
|
@@ -7505,19 +7455,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7505
7455
|
{
|
|
7506
7456
|
source: {
|
|
7507
7457
|
asset: usdtwh,
|
|
7508
|
-
balance:
|
|
7458
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7509
7459
|
fee: {
|
|
7510
7460
|
asset: glmr,
|
|
7511
|
-
balance:
|
|
7461
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7512
7462
|
},
|
|
7513
7463
|
destinationFee: {
|
|
7514
|
-
balance:
|
|
7464
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7515
7465
|
}
|
|
7516
7466
|
},
|
|
7517
7467
|
destination: {
|
|
7518
7468
|
asset: usdtwh,
|
|
7519
7469
|
chain: peaqChain,
|
|
7520
|
-
balance:
|
|
7470
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7521
7471
|
fee: {
|
|
7522
7472
|
amount: 1e-5,
|
|
7523
7473
|
asset: usdtwh
|
|
@@ -7529,19 +7479,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7529
7479
|
{
|
|
7530
7480
|
source: {
|
|
7531
7481
|
asset: dai,
|
|
7532
|
-
balance:
|
|
7482
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7533
7483
|
fee: {
|
|
7534
7484
|
asset: glmr,
|
|
7535
|
-
balance:
|
|
7485
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7536
7486
|
},
|
|
7537
7487
|
destinationFee: {
|
|
7538
|
-
balance:
|
|
7488
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7539
7489
|
}
|
|
7540
7490
|
},
|
|
7541
7491
|
destination: {
|
|
7542
7492
|
asset: dai,
|
|
7543
7493
|
chain: peaqChain,
|
|
7544
|
-
balance:
|
|
7494
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7545
7495
|
fee: {
|
|
7546
7496
|
amount: 1e-5,
|
|
7547
7497
|
asset: dai
|
|
@@ -7553,19 +7503,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7553
7503
|
{
|
|
7554
7504
|
source: {
|
|
7555
7505
|
asset: weth,
|
|
7556
|
-
balance:
|
|
7506
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7557
7507
|
fee: {
|
|
7558
7508
|
asset: glmr,
|
|
7559
|
-
balance:
|
|
7509
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7560
7510
|
},
|
|
7561
7511
|
destinationFee: {
|
|
7562
|
-
balance:
|
|
7512
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7563
7513
|
}
|
|
7564
7514
|
},
|
|
7565
7515
|
destination: {
|
|
7566
7516
|
asset: weth,
|
|
7567
7517
|
chain: peaqChain,
|
|
7568
|
-
balance:
|
|
7518
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7569
7519
|
fee: {
|
|
7570
7520
|
amount: 1e-6,
|
|
7571
7521
|
asset: weth
|
|
@@ -7577,19 +7527,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7577
7527
|
{
|
|
7578
7528
|
source: {
|
|
7579
7529
|
asset: wbtc,
|
|
7580
|
-
balance:
|
|
7530
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7581
7531
|
fee: {
|
|
7582
7532
|
asset: glmr,
|
|
7583
|
-
balance:
|
|
7533
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7584
7534
|
},
|
|
7585
7535
|
destinationFee: {
|
|
7586
|
-
balance:
|
|
7536
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7587
7537
|
}
|
|
7588
7538
|
},
|
|
7589
7539
|
destination: {
|
|
7590
7540
|
asset: wbtc,
|
|
7591
7541
|
chain: peaqChain,
|
|
7592
|
-
balance:
|
|
7542
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7593
7543
|
fee: {
|
|
7594
7544
|
amount: 1e-6,
|
|
7595
7545
|
asset: wbtc
|
|
@@ -7601,19 +7551,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7601
7551
|
{
|
|
7602
7552
|
source: {
|
|
7603
7553
|
asset: peaq,
|
|
7604
|
-
balance:
|
|
7554
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7605
7555
|
fee: {
|
|
7606
7556
|
asset: glmr,
|
|
7607
|
-
balance:
|
|
7557
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7608
7558
|
},
|
|
7609
7559
|
destinationFee: {
|
|
7610
|
-
balance:
|
|
7560
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7611
7561
|
}
|
|
7612
7562
|
},
|
|
7613
7563
|
destination: {
|
|
7614
7564
|
asset: peaq,
|
|
7615
7565
|
chain: peaqChain,
|
|
7616
|
-
balance:
|
|
7566
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7617
7567
|
fee: {
|
|
7618
7568
|
amount: 0.1,
|
|
7619
7569
|
asset: peaq
|
|
@@ -7624,19 +7574,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7624
7574
|
{
|
|
7625
7575
|
source: {
|
|
7626
7576
|
asset: glmr,
|
|
7627
|
-
balance:
|
|
7577
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7628
7578
|
fee: {
|
|
7629
7579
|
asset: glmr,
|
|
7630
|
-
balance:
|
|
7580
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7631
7581
|
},
|
|
7632
7582
|
destinationFee: {
|
|
7633
|
-
balance:
|
|
7583
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7634
7584
|
}
|
|
7635
7585
|
},
|
|
7636
7586
|
destination: {
|
|
7637
7587
|
asset: glmr,
|
|
7638
7588
|
chain: peaqEvm,
|
|
7639
|
-
balance:
|
|
7589
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7640
7590
|
fee: {
|
|
7641
7591
|
amount: 1e-8,
|
|
7642
7592
|
asset: glmr
|
|
@@ -7648,19 +7598,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7648
7598
|
{
|
|
7649
7599
|
source: {
|
|
7650
7600
|
asset: usdcwh,
|
|
7651
|
-
balance:
|
|
7601
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7652
7602
|
fee: {
|
|
7653
7603
|
asset: glmr,
|
|
7654
|
-
balance:
|
|
7604
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7655
7605
|
},
|
|
7656
7606
|
destinationFee: {
|
|
7657
|
-
balance:
|
|
7607
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7658
7608
|
}
|
|
7659
7609
|
},
|
|
7660
7610
|
destination: {
|
|
7661
7611
|
asset: usdcwh,
|
|
7662
7612
|
chain: peaqEvm,
|
|
7663
|
-
balance:
|
|
7613
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7664
7614
|
fee: {
|
|
7665
7615
|
amount: 1e-5,
|
|
7666
7616
|
asset: usdcwh
|
|
@@ -7672,19 +7622,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7672
7622
|
{
|
|
7673
7623
|
source: {
|
|
7674
7624
|
asset: usdtwh,
|
|
7675
|
-
balance:
|
|
7625
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7676
7626
|
fee: {
|
|
7677
7627
|
asset: glmr,
|
|
7678
|
-
balance:
|
|
7628
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7679
7629
|
},
|
|
7680
7630
|
destinationFee: {
|
|
7681
|
-
balance:
|
|
7631
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7682
7632
|
}
|
|
7683
7633
|
},
|
|
7684
7634
|
destination: {
|
|
7685
7635
|
asset: usdtwh,
|
|
7686
7636
|
chain: peaqEvm,
|
|
7687
|
-
balance:
|
|
7637
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7688
7638
|
fee: {
|
|
7689
7639
|
amount: 1e-5,
|
|
7690
7640
|
asset: usdtwh
|
|
@@ -7696,19 +7646,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7696
7646
|
{
|
|
7697
7647
|
source: {
|
|
7698
7648
|
asset: dai,
|
|
7699
|
-
balance:
|
|
7649
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7700
7650
|
fee: {
|
|
7701
7651
|
asset: glmr,
|
|
7702
|
-
balance:
|
|
7652
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7703
7653
|
},
|
|
7704
7654
|
destinationFee: {
|
|
7705
|
-
balance:
|
|
7655
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7706
7656
|
}
|
|
7707
7657
|
},
|
|
7708
7658
|
destination: {
|
|
7709
7659
|
asset: dai,
|
|
7710
7660
|
chain: peaqEvm,
|
|
7711
|
-
balance:
|
|
7661
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7712
7662
|
fee: {
|
|
7713
7663
|
amount: 1e-5,
|
|
7714
7664
|
asset: dai
|
|
@@ -7720,19 +7670,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7720
7670
|
{
|
|
7721
7671
|
source: {
|
|
7722
7672
|
asset: weth,
|
|
7723
|
-
balance:
|
|
7673
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7724
7674
|
fee: {
|
|
7725
7675
|
asset: glmr,
|
|
7726
|
-
balance:
|
|
7676
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7727
7677
|
},
|
|
7728
7678
|
destinationFee: {
|
|
7729
|
-
balance:
|
|
7679
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7730
7680
|
}
|
|
7731
7681
|
},
|
|
7732
7682
|
destination: {
|
|
7733
7683
|
asset: weth,
|
|
7734
7684
|
chain: peaqEvm,
|
|
7735
|
-
balance:
|
|
7685
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7736
7686
|
fee: {
|
|
7737
7687
|
amount: 1e-6,
|
|
7738
7688
|
asset: weth
|
|
@@ -7744,19 +7694,19 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7744
7694
|
{
|
|
7745
7695
|
source: {
|
|
7746
7696
|
asset: wbtc,
|
|
7747
|
-
balance:
|
|
7697
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7748
7698
|
fee: {
|
|
7749
7699
|
asset: glmr,
|
|
7750
|
-
balance:
|
|
7700
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7751
7701
|
},
|
|
7752
7702
|
destinationFee: {
|
|
7753
|
-
balance:
|
|
7703
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7754
7704
|
}
|
|
7755
7705
|
},
|
|
7756
7706
|
destination: {
|
|
7757
7707
|
asset: wbtc,
|
|
7758
7708
|
chain: peaqEvm,
|
|
7759
|
-
balance:
|
|
7709
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7760
7710
|
fee: {
|
|
7761
7711
|
amount: 1e-6,
|
|
7762
7712
|
asset: wbtc
|
|
@@ -7768,26 +7718,26 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7768
7718
|
{
|
|
7769
7719
|
source: {
|
|
7770
7720
|
asset: wifd,
|
|
7771
|
-
balance:
|
|
7721
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7772
7722
|
fee: {
|
|
7773
7723
|
asset: glmr,
|
|
7774
|
-
balance:
|
|
7724
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7775
7725
|
},
|
|
7776
7726
|
destinationFee: {
|
|
7777
|
-
balance:
|
|
7727
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7778
7728
|
}
|
|
7779
7729
|
},
|
|
7780
7730
|
destination: {
|
|
7781
7731
|
asset: wifd,
|
|
7782
7732
|
chain: polkadotAssetHub,
|
|
7783
|
-
balance:
|
|
7733
|
+
balance: BalanceBuilder34().substrate().assets().account(),
|
|
7784
7734
|
fee: {
|
|
7785
|
-
amount:
|
|
7735
|
+
amount: FeeBuilder24().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
7786
7736
|
isAssetReserveChain: true,
|
|
7787
7737
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
7788
7738
|
}),
|
|
7789
7739
|
asset: dot,
|
|
7790
|
-
balance:
|
|
7740
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7791
7741
|
},
|
|
7792
7742
|
min: AssetMinBuilder9().assets().asset()
|
|
7793
7743
|
},
|
|
@@ -7796,23 +7746,23 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7796
7746
|
{
|
|
7797
7747
|
source: {
|
|
7798
7748
|
asset: axlusdc,
|
|
7799
|
-
balance:
|
|
7749
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7800
7750
|
fee: {
|
|
7801
7751
|
asset: glmr,
|
|
7802
|
-
balance:
|
|
7752
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7803
7753
|
},
|
|
7804
7754
|
destinationFee: {
|
|
7805
|
-
balance:
|
|
7755
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7806
7756
|
}
|
|
7807
7757
|
},
|
|
7808
7758
|
destination: {
|
|
7809
7759
|
asset: axlusdc,
|
|
7810
7760
|
chain: pendulum,
|
|
7811
|
-
balance:
|
|
7761
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7812
7762
|
fee: {
|
|
7813
7763
|
amount: 0.02,
|
|
7814
7764
|
asset: axlusdc,
|
|
7815
|
-
balance:
|
|
7765
|
+
balance: BalanceBuilder34().substrate().tokens().accounts()
|
|
7816
7766
|
}
|
|
7817
7767
|
},
|
|
7818
7768
|
contract: ContractBuilder2().XcmPrecompile().transferAssetsToPara32()
|
|
@@ -7820,25 +7770,25 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7820
7770
|
{
|
|
7821
7771
|
source: {
|
|
7822
7772
|
asset: wbtce,
|
|
7823
|
-
balance:
|
|
7773
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7824
7774
|
fee: {
|
|
7825
7775
|
asset: glmr,
|
|
7826
|
-
balance:
|
|
7776
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7827
7777
|
},
|
|
7828
7778
|
destinationFee: {
|
|
7829
|
-
balance:
|
|
7779
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7830
7780
|
}
|
|
7831
7781
|
},
|
|
7832
7782
|
destination: {
|
|
7833
7783
|
asset: wbtce,
|
|
7834
7784
|
chain: polkadotAssetHub,
|
|
7835
|
-
balance:
|
|
7785
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account(),
|
|
7836
7786
|
fee: {
|
|
7837
|
-
amount:
|
|
7787
|
+
amount: FeeBuilder24().xcmPaymentApi().fromGlobalConsensus({
|
|
7838
7788
|
isAssetReserveChain: true
|
|
7839
7789
|
}),
|
|
7840
7790
|
asset: wbtce,
|
|
7841
|
-
balance:
|
|
7791
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account()
|
|
7842
7792
|
},
|
|
7843
7793
|
min: AssetMinBuilder9().foreignAssets().asset()
|
|
7844
7794
|
},
|
|
@@ -7847,25 +7797,25 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7847
7797
|
{
|
|
7848
7798
|
source: {
|
|
7849
7799
|
asset: wethe,
|
|
7850
|
-
balance:
|
|
7800
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7851
7801
|
fee: {
|
|
7852
7802
|
asset: glmr,
|
|
7853
|
-
balance:
|
|
7803
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7854
7804
|
},
|
|
7855
7805
|
destinationFee: {
|
|
7856
|
-
balance:
|
|
7806
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7857
7807
|
}
|
|
7858
7808
|
},
|
|
7859
7809
|
destination: {
|
|
7860
7810
|
asset: wethe,
|
|
7861
7811
|
chain: polkadotAssetHub,
|
|
7862
|
-
balance:
|
|
7812
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account(),
|
|
7863
7813
|
fee: {
|
|
7864
|
-
amount:
|
|
7814
|
+
amount: FeeBuilder24().xcmPaymentApi().fromGlobalConsensus({
|
|
7865
7815
|
isAssetReserveChain: true
|
|
7866
7816
|
}),
|
|
7867
7817
|
asset: wethe,
|
|
7868
|
-
balance:
|
|
7818
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account()
|
|
7869
7819
|
},
|
|
7870
7820
|
min: AssetMinBuilder9().foreignAssets().asset()
|
|
7871
7821
|
},
|
|
@@ -7874,25 +7824,25 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7874
7824
|
{
|
|
7875
7825
|
source: {
|
|
7876
7826
|
asset: wstethe,
|
|
7877
|
-
balance:
|
|
7827
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7878
7828
|
fee: {
|
|
7879
7829
|
asset: glmr,
|
|
7880
|
-
balance:
|
|
7830
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7881
7831
|
},
|
|
7882
7832
|
destinationFee: {
|
|
7883
|
-
balance:
|
|
7833
|
+
balance: BalanceBuilder34().evm().erc20()
|
|
7884
7834
|
}
|
|
7885
7835
|
},
|
|
7886
7836
|
destination: {
|
|
7887
7837
|
asset: wstethe,
|
|
7888
7838
|
chain: polkadotAssetHub,
|
|
7889
|
-
balance:
|
|
7839
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account(),
|
|
7890
7840
|
fee: {
|
|
7891
|
-
amount:
|
|
7841
|
+
amount: FeeBuilder24().xcmPaymentApi().fromGlobalConsensus({
|
|
7892
7842
|
isAssetReserveChain: true
|
|
7893
7843
|
}),
|
|
7894
7844
|
asset: wstethe,
|
|
7895
|
-
balance:
|
|
7845
|
+
balance: BalanceBuilder34().substrate().foreignAssets().account()
|
|
7896
7846
|
},
|
|
7897
7847
|
min: AssetMinBuilder9().foreignAssets().asset()
|
|
7898
7848
|
},
|
|
@@ -7901,18 +7851,18 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7901
7851
|
{
|
|
7902
7852
|
source: {
|
|
7903
7853
|
asset: laos,
|
|
7904
|
-
balance:
|
|
7854
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7905
7855
|
fee: {
|
|
7906
7856
|
asset: glmr,
|
|
7907
|
-
balance:
|
|
7857
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7908
7858
|
}
|
|
7909
7859
|
},
|
|
7910
7860
|
destination: {
|
|
7911
7861
|
asset: laos,
|
|
7912
7862
|
chain: laosMainnet,
|
|
7913
|
-
balance:
|
|
7863
|
+
balance: BalanceBuilder34().substrate().system().account(),
|
|
7914
7864
|
fee: {
|
|
7915
|
-
amount:
|
|
7865
|
+
amount: FeeBuilder24().xcmPaymentApi().fromHere({
|
|
7916
7866
|
isAssetReserveChain: true,
|
|
7917
7867
|
parents: 0
|
|
7918
7868
|
}),
|
|
@@ -7924,16 +7874,16 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7924
7874
|
{
|
|
7925
7875
|
source: {
|
|
7926
7876
|
asset: eurc,
|
|
7927
|
-
balance:
|
|
7877
|
+
balance: BalanceBuilder34().evm().erc20(),
|
|
7928
7878
|
fee: {
|
|
7929
7879
|
asset: glmr,
|
|
7930
|
-
balance:
|
|
7880
|
+
balance: BalanceBuilder34().substrate().system().account()
|
|
7931
7881
|
}
|
|
7932
7882
|
},
|
|
7933
7883
|
destination: {
|
|
7934
7884
|
asset: eurc,
|
|
7935
7885
|
chain: pendulum,
|
|
7936
|
-
balance:
|
|
7886
|
+
balance: BalanceBuilder34().substrate().tokens().accounts(),
|
|
7937
7887
|
fee: {
|
|
7938
7888
|
amount: 0.1,
|
|
7939
7889
|
asset: eurc
|
|
@@ -7948,9 +7898,9 @@ var moonbeamRoutes2 = new ChainRoutes({
|
|
|
7948
7898
|
// src/xcm-configs/moonriver.ts
|
|
7949
7899
|
import {
|
|
7950
7900
|
AssetMinBuilder as AssetMinBuilder10,
|
|
7951
|
-
BalanceBuilder as
|
|
7901
|
+
BalanceBuilder as BalanceBuilder35,
|
|
7952
7902
|
ContractBuilder as ContractBuilder3,
|
|
7953
|
-
FeeBuilder as
|
|
7903
|
+
FeeBuilder as FeeBuilder25
|
|
7954
7904
|
} from "@moonbeam-network/xcm-builder";
|
|
7955
7905
|
var moonriverRoutes = new ChainRoutes({
|
|
7956
7906
|
chain: moonriver,
|
|
@@ -7958,21 +7908,21 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
7958
7908
|
{
|
|
7959
7909
|
source: {
|
|
7960
7910
|
asset: movr,
|
|
7961
|
-
balance:
|
|
7911
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
7962
7912
|
fee: {
|
|
7963
7913
|
asset: movr,
|
|
7964
|
-
balance:
|
|
7914
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7965
7915
|
},
|
|
7966
7916
|
destinationFee: {
|
|
7967
|
-
balance:
|
|
7917
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7968
7918
|
}
|
|
7969
7919
|
},
|
|
7970
7920
|
destination: {
|
|
7971
7921
|
asset: movr,
|
|
7972
7922
|
chain: bifrostKusama,
|
|
7973
|
-
balance:
|
|
7923
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
7974
7924
|
fee: {
|
|
7975
|
-
amount:
|
|
7925
|
+
amount: FeeBuilder25().xcmPaymentApi().fromSourcePalletInstance({
|
|
7976
7926
|
isAssetReserveChain: false
|
|
7977
7927
|
}),
|
|
7978
7928
|
asset: movr
|
|
@@ -7984,19 +7934,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
7984
7934
|
{
|
|
7985
7935
|
source: {
|
|
7986
7936
|
asset: movr,
|
|
7987
|
-
balance:
|
|
7937
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
7988
7938
|
fee: {
|
|
7989
7939
|
asset: movr,
|
|
7990
|
-
balance:
|
|
7940
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7991
7941
|
},
|
|
7992
7942
|
destinationFee: {
|
|
7993
|
-
balance:
|
|
7943
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
7994
7944
|
}
|
|
7995
7945
|
},
|
|
7996
7946
|
destination: {
|
|
7997
7947
|
asset: movr,
|
|
7998
7948
|
chain: crustShadow,
|
|
7999
|
-
balance:
|
|
7949
|
+
balance: BalanceBuilder35().substrate().assets().account(),
|
|
8000
7950
|
fee: {
|
|
8001
7951
|
amount: 2e-4,
|
|
8002
7952
|
asset: movr
|
|
@@ -8007,19 +7957,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8007
7957
|
{
|
|
8008
7958
|
source: {
|
|
8009
7959
|
asset: movr,
|
|
8010
|
-
balance:
|
|
7960
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8011
7961
|
fee: {
|
|
8012
7962
|
asset: movr,
|
|
8013
|
-
balance:
|
|
7963
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8014
7964
|
},
|
|
8015
7965
|
destinationFee: {
|
|
8016
|
-
balance:
|
|
7966
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8017
7967
|
}
|
|
8018
7968
|
},
|
|
8019
7969
|
destination: {
|
|
8020
7970
|
asset: movr,
|
|
8021
7971
|
chain: karura,
|
|
8022
|
-
balance:
|
|
7972
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8023
7973
|
fee: {
|
|
8024
7974
|
amount: 1e-3,
|
|
8025
7975
|
asset: movr
|
|
@@ -8031,44 +7981,21 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8031
7981
|
{
|
|
8032
7982
|
source: {
|
|
8033
7983
|
asset: movr,
|
|
8034
|
-
balance:
|
|
8035
|
-
fee: {
|
|
8036
|
-
asset: movr,
|
|
8037
|
-
balance: BalanceBuilder36().substrate().system().account()
|
|
8038
|
-
},
|
|
8039
|
-
destinationFee: {
|
|
8040
|
-
balance: BalanceBuilder36().substrate().system().account()
|
|
8041
|
-
}
|
|
8042
|
-
},
|
|
8043
|
-
destination: {
|
|
8044
|
-
asset: movr,
|
|
8045
|
-
chain: mangataKusama,
|
|
8046
|
-
balance: BalanceBuilder36().substrate().tokens().accounts(),
|
|
8047
|
-
fee: {
|
|
8048
|
-
amount: 2e-3,
|
|
8049
|
-
asset: movr
|
|
8050
|
-
}
|
|
8051
|
-
},
|
|
8052
|
-
contract: ContractBuilder3().XcmPrecompile().transferAssetsToPara32()
|
|
8053
|
-
},
|
|
8054
|
-
{
|
|
8055
|
-
source: {
|
|
8056
|
-
asset: movr,
|
|
8057
|
-
balance: BalanceBuilder36().substrate().system().account(),
|
|
7984
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8058
7985
|
fee: {
|
|
8059
7986
|
asset: movr,
|
|
8060
|
-
balance:
|
|
7987
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8061
7988
|
},
|
|
8062
7989
|
destinationFee: {
|
|
8063
|
-
balance:
|
|
7990
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8064
7991
|
}
|
|
8065
7992
|
},
|
|
8066
7993
|
destination: {
|
|
8067
7994
|
asset: movr,
|
|
8068
7995
|
chain: shiden,
|
|
8069
|
-
balance:
|
|
7996
|
+
balance: BalanceBuilder35().substrate().assets().account(),
|
|
8070
7997
|
fee: {
|
|
8071
|
-
amount:
|
|
7998
|
+
amount: FeeBuilder25().xcmPaymentApi().fromSourcePalletInstance({
|
|
8072
7999
|
isAssetReserveChain: false
|
|
8073
8000
|
}),
|
|
8074
8001
|
asset: movr
|
|
@@ -8079,21 +8006,21 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8079
8006
|
{
|
|
8080
8007
|
source: {
|
|
8081
8008
|
asset: bnc,
|
|
8082
|
-
balance:
|
|
8009
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8083
8010
|
fee: {
|
|
8084
8011
|
asset: movr,
|
|
8085
|
-
balance:
|
|
8012
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8086
8013
|
},
|
|
8087
8014
|
destinationFee: {
|
|
8088
|
-
balance:
|
|
8015
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8089
8016
|
}
|
|
8090
8017
|
},
|
|
8091
8018
|
destination: {
|
|
8092
8019
|
asset: bnc,
|
|
8093
8020
|
chain: bifrostKusama,
|
|
8094
|
-
balance:
|
|
8021
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8095
8022
|
fee: {
|
|
8096
|
-
amount:
|
|
8023
|
+
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8097
8024
|
isAssetReserveChain: true
|
|
8098
8025
|
}),
|
|
8099
8026
|
asset: bnc
|
|
@@ -8104,19 +8031,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8104
8031
|
{
|
|
8105
8032
|
source: {
|
|
8106
8033
|
asset: crab,
|
|
8107
|
-
balance:
|
|
8034
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8108
8035
|
fee: {
|
|
8109
8036
|
asset: movr,
|
|
8110
|
-
balance:
|
|
8037
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8111
8038
|
},
|
|
8112
8039
|
destinationFee: {
|
|
8113
|
-
balance:
|
|
8040
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8114
8041
|
}
|
|
8115
8042
|
},
|
|
8116
8043
|
destination: {
|
|
8117
8044
|
asset: crab,
|
|
8118
8045
|
chain: darwiniaCrab,
|
|
8119
|
-
balance:
|
|
8046
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8120
8047
|
fee: {
|
|
8121
8048
|
amount: 0.1,
|
|
8122
8049
|
asset: crab
|
|
@@ -8127,19 +8054,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8127
8054
|
{
|
|
8128
8055
|
source: {
|
|
8129
8056
|
asset: csm,
|
|
8130
|
-
balance:
|
|
8057
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8131
8058
|
fee: {
|
|
8132
8059
|
asset: movr,
|
|
8133
|
-
balance:
|
|
8060
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8134
8061
|
},
|
|
8135
8062
|
destinationFee: {
|
|
8136
|
-
balance:
|
|
8063
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8137
8064
|
}
|
|
8138
8065
|
},
|
|
8139
8066
|
destination: {
|
|
8140
8067
|
asset: csm,
|
|
8141
8068
|
chain: crustShadow,
|
|
8142
|
-
balance:
|
|
8069
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8143
8070
|
fee: {
|
|
8144
8071
|
amount: 4e-3,
|
|
8145
8072
|
asset: csm
|
|
@@ -8150,19 +8077,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8150
8077
|
{
|
|
8151
8078
|
source: {
|
|
8152
8079
|
asset: kar,
|
|
8153
|
-
balance:
|
|
8080
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8154
8081
|
fee: {
|
|
8155
8082
|
asset: movr,
|
|
8156
|
-
balance:
|
|
8083
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8157
8084
|
},
|
|
8158
8085
|
destinationFee: {
|
|
8159
|
-
balance:
|
|
8086
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8160
8087
|
}
|
|
8161
8088
|
},
|
|
8162
8089
|
destination: {
|
|
8163
8090
|
asset: kar,
|
|
8164
8091
|
chain: karura,
|
|
8165
|
-
balance:
|
|
8092
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8166
8093
|
fee: {
|
|
8167
8094
|
amount: 0.032,
|
|
8168
8095
|
asset: kar
|
|
@@ -8173,19 +8100,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8173
8100
|
{
|
|
8174
8101
|
source: {
|
|
8175
8102
|
asset: aseed,
|
|
8176
|
-
balance:
|
|
8103
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8177
8104
|
fee: {
|
|
8178
8105
|
asset: movr,
|
|
8179
|
-
balance:
|
|
8106
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8180
8107
|
},
|
|
8181
8108
|
destinationFee: {
|
|
8182
|
-
balance:
|
|
8109
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8183
8110
|
}
|
|
8184
8111
|
},
|
|
8185
8112
|
destination: {
|
|
8186
8113
|
asset: aseed,
|
|
8187
8114
|
chain: karura,
|
|
8188
|
-
balance:
|
|
8115
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8189
8116
|
fee: {
|
|
8190
8117
|
amount: 0.256,
|
|
8191
8118
|
asset: aseed
|
|
@@ -8197,19 +8124,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8197
8124
|
{
|
|
8198
8125
|
source: {
|
|
8199
8126
|
asset: kbtc,
|
|
8200
|
-
balance:
|
|
8127
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8201
8128
|
fee: {
|
|
8202
8129
|
asset: movr,
|
|
8203
|
-
balance:
|
|
8130
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8204
8131
|
},
|
|
8205
8132
|
destinationFee: {
|
|
8206
|
-
balance:
|
|
8133
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8207
8134
|
}
|
|
8208
8135
|
},
|
|
8209
8136
|
destination: {
|
|
8210
8137
|
asset: kbtc,
|
|
8211
8138
|
chain: kintsugi,
|
|
8212
|
-
balance:
|
|
8139
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8213
8140
|
fee: {
|
|
8214
8141
|
amount: 11e-7,
|
|
8215
8142
|
asset: kbtc
|
|
@@ -8220,19 +8147,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8220
8147
|
{
|
|
8221
8148
|
source: {
|
|
8222
8149
|
asset: kint,
|
|
8223
|
-
balance:
|
|
8150
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8224
8151
|
fee: {
|
|
8225
8152
|
asset: movr,
|
|
8226
|
-
balance:
|
|
8153
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8227
8154
|
},
|
|
8228
8155
|
destinationFee: {
|
|
8229
|
-
balance:
|
|
8156
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8230
8157
|
}
|
|
8231
8158
|
},
|
|
8232
8159
|
destination: {
|
|
8233
8160
|
asset: kint,
|
|
8234
8161
|
chain: kintsugi,
|
|
8235
|
-
balance:
|
|
8162
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8236
8163
|
fee: {
|
|
8237
8164
|
amount: 84e-5,
|
|
8238
8165
|
asset: kint
|
|
@@ -8243,21 +8170,21 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8243
8170
|
{
|
|
8244
8171
|
source: {
|
|
8245
8172
|
asset: ksm,
|
|
8246
|
-
balance:
|
|
8173
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8247
8174
|
fee: {
|
|
8248
8175
|
asset: movr,
|
|
8249
|
-
balance:
|
|
8176
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8250
8177
|
},
|
|
8251
8178
|
destinationFee: {
|
|
8252
|
-
balance:
|
|
8179
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8253
8180
|
}
|
|
8254
8181
|
},
|
|
8255
8182
|
destination: {
|
|
8256
8183
|
asset: ksm,
|
|
8257
8184
|
chain: kusama,
|
|
8258
|
-
balance:
|
|
8185
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8259
8186
|
fee: {
|
|
8260
|
-
amount:
|
|
8187
|
+
amount: FeeBuilder25().xcmPaymentApi().fromHere({
|
|
8261
8188
|
isAssetReserveChain: true,
|
|
8262
8189
|
parents: 0
|
|
8263
8190
|
}),
|
|
@@ -8266,47 +8193,24 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8266
8193
|
},
|
|
8267
8194
|
contract: ContractBuilder3().XcmPrecompile().transferAssetsToRelay()
|
|
8268
8195
|
},
|
|
8269
|
-
{
|
|
8270
|
-
source: {
|
|
8271
|
-
asset: mgx,
|
|
8272
|
-
balance: BalanceBuilder36().evm().erc20(),
|
|
8273
|
-
fee: {
|
|
8274
|
-
asset: movr,
|
|
8275
|
-
balance: BalanceBuilder36().substrate().system().account()
|
|
8276
|
-
},
|
|
8277
|
-
destinationFee: {
|
|
8278
|
-
balance: BalanceBuilder36().evm().erc20()
|
|
8279
|
-
}
|
|
8280
|
-
},
|
|
8281
|
-
destination: {
|
|
8282
|
-
asset: mgx,
|
|
8283
|
-
chain: mangataKusama,
|
|
8284
|
-
balance: BalanceBuilder36().substrate().tokens().accounts(),
|
|
8285
|
-
fee: {
|
|
8286
|
-
amount: 5.5,
|
|
8287
|
-
asset: mgx
|
|
8288
|
-
}
|
|
8289
|
-
},
|
|
8290
|
-
contract: ContractBuilder3().XcmPrecompile().transferAssetsToPara32()
|
|
8291
|
-
},
|
|
8292
8196
|
{
|
|
8293
8197
|
source: {
|
|
8294
8198
|
asset: rmrk,
|
|
8295
|
-
balance:
|
|
8199
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8296
8200
|
fee: {
|
|
8297
8201
|
asset: movr,
|
|
8298
|
-
balance:
|
|
8202
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8299
8203
|
},
|
|
8300
8204
|
destinationFee: {
|
|
8301
|
-
balance:
|
|
8205
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8302
8206
|
}
|
|
8303
8207
|
},
|
|
8304
8208
|
destination: {
|
|
8305
8209
|
asset: rmrk,
|
|
8306
8210
|
chain: kusamaAssetHub,
|
|
8307
|
-
balance:
|
|
8211
|
+
balance: BalanceBuilder35().substrate().assets().account(),
|
|
8308
8212
|
fee: {
|
|
8309
|
-
amount:
|
|
8213
|
+
amount: FeeBuilder25().xcmPaymentApi().fromHereAndGeneralIndex({
|
|
8310
8214
|
isAssetReserveChain: true,
|
|
8311
8215
|
shouldTransferAssetPrecedeFeeAsset: true
|
|
8312
8216
|
}),
|
|
@@ -8319,21 +8223,21 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8319
8223
|
{
|
|
8320
8224
|
source: {
|
|
8321
8225
|
asset: sdn,
|
|
8322
|
-
balance:
|
|
8226
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8323
8227
|
fee: {
|
|
8324
8228
|
asset: movr,
|
|
8325
|
-
balance:
|
|
8229
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8326
8230
|
},
|
|
8327
8231
|
destinationFee: {
|
|
8328
|
-
balance:
|
|
8232
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8329
8233
|
}
|
|
8330
8234
|
},
|
|
8331
8235
|
destination: {
|
|
8332
8236
|
asset: sdn,
|
|
8333
8237
|
chain: shiden,
|
|
8334
|
-
balance:
|
|
8238
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8335
8239
|
fee: {
|
|
8336
|
-
amount:
|
|
8240
|
+
amount: FeeBuilder25().xcmPaymentApi().fromHere({
|
|
8337
8241
|
isAssetReserveChain: true,
|
|
8338
8242
|
parents: 0
|
|
8339
8243
|
}),
|
|
@@ -8345,19 +8249,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8345
8249
|
{
|
|
8346
8250
|
source: {
|
|
8347
8251
|
asset: teer,
|
|
8348
|
-
balance:
|
|
8252
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8349
8253
|
fee: {
|
|
8350
8254
|
asset: movr,
|
|
8351
|
-
balance:
|
|
8255
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8352
8256
|
},
|
|
8353
8257
|
destinationFee: {
|
|
8354
|
-
balance:
|
|
8258
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8355
8259
|
}
|
|
8356
8260
|
},
|
|
8357
8261
|
destination: {
|
|
8358
8262
|
asset: teer,
|
|
8359
8263
|
chain: integritee,
|
|
8360
|
-
balance:
|
|
8264
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8361
8265
|
fee: {
|
|
8362
8266
|
amount: 4e-3,
|
|
8363
8267
|
asset: teer
|
|
@@ -8368,21 +8272,21 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8368
8272
|
{
|
|
8369
8273
|
source: {
|
|
8370
8274
|
asset: usdt,
|
|
8371
|
-
balance:
|
|
8275
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8372
8276
|
fee: {
|
|
8373
8277
|
asset: movr,
|
|
8374
|
-
balance:
|
|
8278
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8375
8279
|
},
|
|
8376
8280
|
destinationFee: {
|
|
8377
|
-
balance:
|
|
8281
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8378
8282
|
}
|
|
8379
8283
|
},
|
|
8380
8284
|
destination: {
|
|
8381
8285
|
asset: usdt,
|
|
8382
8286
|
chain: kusamaAssetHub,
|
|
8383
|
-
balance:
|
|
8287
|
+
balance: BalanceBuilder35().substrate().assets().account(),
|
|
8384
8288
|
fee: {
|
|
8385
|
-
amount:
|
|
8289
|
+
amount: FeeBuilder25().xcmPaymentApi().fromPalletInstanceAndGeneralIndex({
|
|
8386
8290
|
isAssetReserveChain: true
|
|
8387
8291
|
}),
|
|
8388
8292
|
asset: usdt
|
|
@@ -8394,19 +8298,19 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8394
8298
|
{
|
|
8395
8299
|
source: {
|
|
8396
8300
|
asset: xrt,
|
|
8397
|
-
balance:
|
|
8301
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8398
8302
|
fee: {
|
|
8399
8303
|
asset: movr,
|
|
8400
|
-
balance:
|
|
8304
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8401
8305
|
},
|
|
8402
8306
|
destinationFee: {
|
|
8403
|
-
balance:
|
|
8307
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8404
8308
|
}
|
|
8405
8309
|
},
|
|
8406
8310
|
destination: {
|
|
8407
8311
|
asset: xrt,
|
|
8408
8312
|
chain: robonomics,
|
|
8409
|
-
balance:
|
|
8313
|
+
balance: BalanceBuilder35().substrate().system().account(),
|
|
8410
8314
|
fee: {
|
|
8411
8315
|
amount: 32e-6,
|
|
8412
8316
|
asset: xrt
|
|
@@ -8417,21 +8321,21 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8417
8321
|
{
|
|
8418
8322
|
source: {
|
|
8419
8323
|
asset: vbnc,
|
|
8420
|
-
balance:
|
|
8324
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8421
8325
|
fee: {
|
|
8422
8326
|
asset: movr,
|
|
8423
|
-
balance:
|
|
8327
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8424
8328
|
},
|
|
8425
8329
|
destinationFee: {
|
|
8426
|
-
balance:
|
|
8330
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8427
8331
|
}
|
|
8428
8332
|
},
|
|
8429
8333
|
destination: {
|
|
8430
8334
|
asset: vbnc,
|
|
8431
8335
|
chain: bifrostKusama,
|
|
8432
|
-
balance:
|
|
8336
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8433
8337
|
fee: {
|
|
8434
|
-
amount:
|
|
8338
|
+
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8435
8339
|
isAssetReserveChain: false
|
|
8436
8340
|
}),
|
|
8437
8341
|
asset: vbnc
|
|
@@ -8443,21 +8347,21 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8443
8347
|
{
|
|
8444
8348
|
source: {
|
|
8445
8349
|
asset: vksm,
|
|
8446
|
-
balance:
|
|
8350
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8447
8351
|
fee: {
|
|
8448
8352
|
asset: movr,
|
|
8449
|
-
balance:
|
|
8353
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8450
8354
|
},
|
|
8451
8355
|
destinationFee: {
|
|
8452
|
-
balance:
|
|
8356
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8453
8357
|
}
|
|
8454
8358
|
},
|
|
8455
8359
|
destination: {
|
|
8456
8360
|
asset: vksm,
|
|
8457
8361
|
chain: bifrostKusama,
|
|
8458
|
-
balance:
|
|
8362
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8459
8363
|
fee: {
|
|
8460
|
-
amount:
|
|
8364
|
+
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8461
8365
|
isAssetReserveChain: false
|
|
8462
8366
|
}),
|
|
8463
8367
|
asset: vksm
|
|
@@ -8469,21 +8373,21 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8469
8373
|
{
|
|
8470
8374
|
source: {
|
|
8471
8375
|
asset: vmovr,
|
|
8472
|
-
balance:
|
|
8376
|
+
balance: BalanceBuilder35().evm().erc20(),
|
|
8473
8377
|
fee: {
|
|
8474
8378
|
asset: movr,
|
|
8475
|
-
balance:
|
|
8379
|
+
balance: BalanceBuilder35().substrate().system().account()
|
|
8476
8380
|
},
|
|
8477
8381
|
destinationFee: {
|
|
8478
|
-
balance:
|
|
8382
|
+
balance: BalanceBuilder35().evm().erc20()
|
|
8479
8383
|
}
|
|
8480
8384
|
},
|
|
8481
8385
|
destination: {
|
|
8482
8386
|
asset: vmovr,
|
|
8483
8387
|
chain: bifrostKusama,
|
|
8484
|
-
balance:
|
|
8388
|
+
balance: BalanceBuilder35().substrate().tokens().accounts(),
|
|
8485
8389
|
fee: {
|
|
8486
|
-
amount:
|
|
8390
|
+
amount: FeeBuilder25().xcmPaymentApi().fromCurrencyIdToLocations({
|
|
8487
8391
|
isAssetReserveChain: false
|
|
8488
8392
|
}),
|
|
8489
8393
|
asset: vmovr
|
|
@@ -8497,9 +8401,9 @@ var moonriverRoutes = new ChainRoutes({
|
|
|
8497
8401
|
|
|
8498
8402
|
// src/xcm-configs/neuroweb.ts
|
|
8499
8403
|
import {
|
|
8500
|
-
BalanceBuilder as
|
|
8501
|
-
ExtrinsicBuilder as
|
|
8502
|
-
FeeBuilder as
|
|
8404
|
+
BalanceBuilder as BalanceBuilder36,
|
|
8405
|
+
ExtrinsicBuilder as ExtrinsicBuilder25,
|
|
8406
|
+
FeeBuilder as FeeBuilder26
|
|
8503
8407
|
} from "@moonbeam-network/xcm-builder";
|
|
8504
8408
|
var neurowebRoutes = new ChainRoutes({
|
|
8505
8409
|
chain: neuroweb,
|
|
@@ -8507,34 +8411,34 @@ var neurowebRoutes = new ChainRoutes({
|
|
|
8507
8411
|
{
|
|
8508
8412
|
source: {
|
|
8509
8413
|
asset: neuro,
|
|
8510
|
-
balance:
|
|
8414
|
+
balance: BalanceBuilder36().substrate().system().account(),
|
|
8511
8415
|
fee: {
|
|
8512
8416
|
asset: neuro,
|
|
8513
|
-
balance:
|
|
8417
|
+
balance: BalanceBuilder36().substrate().system().account()
|
|
8514
8418
|
},
|
|
8515
8419
|
destinationFee: {
|
|
8516
|
-
balance:
|
|
8420
|
+
balance: BalanceBuilder36().substrate().system().account()
|
|
8517
8421
|
}
|
|
8518
8422
|
},
|
|
8519
8423
|
destination: {
|
|
8520
8424
|
asset: neuro,
|
|
8521
8425
|
chain: moonbeam,
|
|
8522
|
-
balance:
|
|
8426
|
+
balance: BalanceBuilder36().evm().erc20(),
|
|
8523
8427
|
fee: {
|
|
8524
|
-
amount:
|
|
8428
|
+
amount: FeeBuilder26().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
8525
8429
|
asset: neuro
|
|
8526
8430
|
}
|
|
8527
8431
|
},
|
|
8528
|
-
extrinsic:
|
|
8432
|
+
extrinsic: ExtrinsicBuilder25().polkadotXcm().limitedReserveTransferAssets().X1()
|
|
8529
8433
|
}
|
|
8530
8434
|
]
|
|
8531
8435
|
});
|
|
8532
8436
|
|
|
8533
8437
|
// src/xcm-configs/originTrailAlphanet.ts
|
|
8534
8438
|
import {
|
|
8535
|
-
BalanceBuilder as
|
|
8536
|
-
ExtrinsicBuilder as
|
|
8537
|
-
FeeBuilder as
|
|
8439
|
+
BalanceBuilder as BalanceBuilder37,
|
|
8440
|
+
ExtrinsicBuilder as ExtrinsicBuilder26,
|
|
8441
|
+
FeeBuilder as FeeBuilder27
|
|
8538
8442
|
} from "@moonbeam-network/xcm-builder";
|
|
8539
8443
|
var originTrailAlphanetRoutes = new ChainRoutes({
|
|
8540
8444
|
chain: originTrailAlphanet,
|
|
@@ -8542,25 +8446,25 @@ var originTrailAlphanetRoutes = new ChainRoutes({
|
|
|
8542
8446
|
{
|
|
8543
8447
|
source: {
|
|
8544
8448
|
asset: otp,
|
|
8545
|
-
balance:
|
|
8449
|
+
balance: BalanceBuilder37().substrate().system().account(),
|
|
8546
8450
|
fee: {
|
|
8547
8451
|
asset: otp,
|
|
8548
|
-
balance:
|
|
8452
|
+
balance: BalanceBuilder37().substrate().system().account()
|
|
8549
8453
|
},
|
|
8550
8454
|
destinationFee: {
|
|
8551
|
-
balance:
|
|
8455
|
+
balance: BalanceBuilder37().substrate().system().account()
|
|
8552
8456
|
}
|
|
8553
8457
|
},
|
|
8554
8458
|
destination: {
|
|
8555
8459
|
asset: otp,
|
|
8556
8460
|
chain: moonbaseAlpha,
|
|
8557
|
-
balance:
|
|
8461
|
+
balance: BalanceBuilder37().evm().erc20(),
|
|
8558
8462
|
fee: {
|
|
8559
|
-
amount:
|
|
8463
|
+
amount: FeeBuilder27().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
8560
8464
|
asset: otp
|
|
8561
8465
|
}
|
|
8562
8466
|
},
|
|
8563
|
-
extrinsic:
|
|
8467
|
+
extrinsic: ExtrinsicBuilder26().polkadotXcm().limitedReserveTransferAssets().X1()
|
|
8564
8468
|
}
|
|
8565
8469
|
]
|
|
8566
8470
|
});
|
|
@@ -8568,9 +8472,9 @@ var originTrailAlphanetRoutes = new ChainRoutes({
|
|
|
8568
8472
|
// src/xcm-configs/peaq.ts
|
|
8569
8473
|
import {
|
|
8570
8474
|
AssetMinBuilder as AssetMinBuilder11,
|
|
8571
|
-
BalanceBuilder as
|
|
8572
|
-
ExtrinsicBuilder as
|
|
8573
|
-
FeeBuilder as
|
|
8475
|
+
BalanceBuilder as BalanceBuilder38,
|
|
8476
|
+
ExtrinsicBuilder as ExtrinsicBuilder27,
|
|
8477
|
+
FeeBuilder as FeeBuilder28
|
|
8574
8478
|
} from "@moonbeam-network/xcm-builder";
|
|
8575
8479
|
var peaqRoutes = new ChainRoutes({
|
|
8576
8480
|
chain: peaqChain,
|
|
@@ -8578,169 +8482,169 @@ var peaqRoutes = new ChainRoutes({
|
|
|
8578
8482
|
{
|
|
8579
8483
|
source: {
|
|
8580
8484
|
asset: peaq,
|
|
8581
|
-
balance:
|
|
8485
|
+
balance: BalanceBuilder38().substrate().system().account(),
|
|
8582
8486
|
fee: {
|
|
8583
8487
|
asset: peaq,
|
|
8584
|
-
balance:
|
|
8488
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8585
8489
|
},
|
|
8586
8490
|
destinationFee: {
|
|
8587
|
-
balance:
|
|
8491
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8588
8492
|
}
|
|
8589
8493
|
},
|
|
8590
8494
|
destination: {
|
|
8591
8495
|
asset: peaq,
|
|
8592
8496
|
chain: moonbeam,
|
|
8593
|
-
balance:
|
|
8497
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8594
8498
|
fee: {
|
|
8595
|
-
amount:
|
|
8499
|
+
amount: FeeBuilder28().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
8596
8500
|
asset: peaq
|
|
8597
8501
|
}
|
|
8598
8502
|
},
|
|
8599
|
-
extrinsic:
|
|
8503
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transfer()
|
|
8600
8504
|
},
|
|
8601
8505
|
{
|
|
8602
8506
|
source: {
|
|
8603
8507
|
asset: glmr,
|
|
8604
|
-
balance:
|
|
8508
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8605
8509
|
fee: {
|
|
8606
8510
|
asset: peaq,
|
|
8607
|
-
balance:
|
|
8511
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8608
8512
|
},
|
|
8609
8513
|
min: AssetMinBuilder11().assets().asset(),
|
|
8610
8514
|
destinationFee: {
|
|
8611
|
-
balance:
|
|
8515
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8612
8516
|
}
|
|
8613
8517
|
},
|
|
8614
8518
|
destination: {
|
|
8615
8519
|
asset: glmr,
|
|
8616
8520
|
chain: moonbeam,
|
|
8617
|
-
balance:
|
|
8521
|
+
balance: BalanceBuilder38().substrate().system().account(),
|
|
8618
8522
|
fee: {
|
|
8619
|
-
amount:
|
|
8523
|
+
amount: FeeBuilder28().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
8620
8524
|
asset: glmr
|
|
8621
8525
|
}
|
|
8622
8526
|
},
|
|
8623
|
-
extrinsic:
|
|
8527
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transfer()
|
|
8624
8528
|
},
|
|
8625
8529
|
{
|
|
8626
8530
|
source: {
|
|
8627
8531
|
asset: usdcwh,
|
|
8628
|
-
balance:
|
|
8532
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8629
8533
|
fee: {
|
|
8630
8534
|
asset: peaq,
|
|
8631
|
-
balance:
|
|
8535
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8632
8536
|
},
|
|
8633
8537
|
min: AssetMinBuilder11().assets().asset(),
|
|
8634
8538
|
destinationFee: {
|
|
8635
|
-
balance:
|
|
8539
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8636
8540
|
}
|
|
8637
8541
|
},
|
|
8638
8542
|
destination: {
|
|
8639
8543
|
asset: usdcwh,
|
|
8640
8544
|
chain: moonbeam,
|
|
8641
|
-
balance:
|
|
8545
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8642
8546
|
fee: {
|
|
8643
|
-
amount:
|
|
8547
|
+
amount: FeeBuilder28().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8644
8548
|
asset: glmr
|
|
8645
8549
|
}
|
|
8646
8550
|
},
|
|
8647
|
-
extrinsic:
|
|
8551
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8648
8552
|
},
|
|
8649
8553
|
{
|
|
8650
8554
|
source: {
|
|
8651
8555
|
asset: dai,
|
|
8652
|
-
balance:
|
|
8556
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8653
8557
|
fee: {
|
|
8654
8558
|
asset: peaq,
|
|
8655
|
-
balance:
|
|
8559
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8656
8560
|
},
|
|
8657
8561
|
min: AssetMinBuilder11().assets().asset(),
|
|
8658
8562
|
destinationFee: {
|
|
8659
|
-
balance:
|
|
8563
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8660
8564
|
}
|
|
8661
8565
|
},
|
|
8662
8566
|
destination: {
|
|
8663
8567
|
asset: dai,
|
|
8664
8568
|
chain: moonbeam,
|
|
8665
|
-
balance:
|
|
8569
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8666
8570
|
fee: {
|
|
8667
|
-
amount:
|
|
8571
|
+
amount: FeeBuilder28().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8668
8572
|
asset: glmr
|
|
8669
8573
|
}
|
|
8670
8574
|
},
|
|
8671
|
-
extrinsic:
|
|
8575
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8672
8576
|
},
|
|
8673
8577
|
{
|
|
8674
8578
|
source: {
|
|
8675
8579
|
asset: wbtc,
|
|
8676
|
-
balance:
|
|
8580
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8677
8581
|
fee: {
|
|
8678
8582
|
asset: peaq,
|
|
8679
|
-
balance:
|
|
8583
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8680
8584
|
},
|
|
8681
8585
|
min: AssetMinBuilder11().assets().asset(),
|
|
8682
8586
|
destinationFee: {
|
|
8683
|
-
balance:
|
|
8587
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8684
8588
|
}
|
|
8685
8589
|
},
|
|
8686
8590
|
destination: {
|
|
8687
8591
|
asset: wbtc,
|
|
8688
8592
|
chain: moonbeam,
|
|
8689
|
-
balance:
|
|
8593
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8690
8594
|
fee: {
|
|
8691
|
-
amount:
|
|
8595
|
+
amount: FeeBuilder28().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8692
8596
|
asset: glmr
|
|
8693
8597
|
}
|
|
8694
8598
|
},
|
|
8695
|
-
extrinsic:
|
|
8599
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8696
8600
|
},
|
|
8697
8601
|
{
|
|
8698
8602
|
source: {
|
|
8699
8603
|
asset: weth,
|
|
8700
|
-
balance:
|
|
8604
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8701
8605
|
fee: {
|
|
8702
8606
|
asset: peaq,
|
|
8703
|
-
balance:
|
|
8607
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8704
8608
|
},
|
|
8705
8609
|
min: AssetMinBuilder11().assets().asset(),
|
|
8706
8610
|
destinationFee: {
|
|
8707
|
-
balance:
|
|
8611
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8708
8612
|
}
|
|
8709
8613
|
},
|
|
8710
8614
|
destination: {
|
|
8711
8615
|
asset: weth,
|
|
8712
8616
|
chain: moonbeam,
|
|
8713
|
-
balance:
|
|
8617
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8714
8618
|
fee: {
|
|
8715
|
-
amount:
|
|
8619
|
+
amount: FeeBuilder28().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8716
8620
|
asset: glmr
|
|
8717
8621
|
}
|
|
8718
8622
|
},
|
|
8719
|
-
extrinsic:
|
|
8623
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8720
8624
|
},
|
|
8721
8625
|
{
|
|
8722
8626
|
source: {
|
|
8723
8627
|
asset: usdtwh,
|
|
8724
|
-
balance:
|
|
8628
|
+
balance: BalanceBuilder38().substrate().assets().account(),
|
|
8725
8629
|
fee: {
|
|
8726
8630
|
asset: peaq,
|
|
8727
|
-
balance:
|
|
8631
|
+
balance: BalanceBuilder38().substrate().system().account()
|
|
8728
8632
|
},
|
|
8729
8633
|
min: AssetMinBuilder11().assets().asset(),
|
|
8730
8634
|
destinationFee: {
|
|
8731
|
-
balance:
|
|
8635
|
+
balance: BalanceBuilder38().substrate().assets().account()
|
|
8732
8636
|
}
|
|
8733
8637
|
},
|
|
8734
8638
|
destination: {
|
|
8735
8639
|
asset: usdtwh,
|
|
8736
8640
|
chain: moonbeam,
|
|
8737
|
-
balance:
|
|
8641
|
+
balance: BalanceBuilder38().evm().erc20(),
|
|
8738
8642
|
fee: {
|
|
8739
|
-
amount:
|
|
8643
|
+
amount: FeeBuilder28().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8740
8644
|
asset: glmr
|
|
8741
8645
|
}
|
|
8742
8646
|
},
|
|
8743
|
-
extrinsic:
|
|
8647
|
+
extrinsic: ExtrinsicBuilder27().xTokens().transferMultiCurrencies()
|
|
8744
8648
|
}
|
|
8745
8649
|
]
|
|
8746
8650
|
});
|
|
@@ -8748,9 +8652,9 @@ var peaqRoutes = new ChainRoutes({
|
|
|
8748
8652
|
// src/xcm-configs/peaqAlphanet.ts
|
|
8749
8653
|
import {
|
|
8750
8654
|
AssetMinBuilder as AssetMinBuilder12,
|
|
8751
|
-
BalanceBuilder as
|
|
8752
|
-
ExtrinsicBuilder as
|
|
8753
|
-
FeeBuilder as
|
|
8655
|
+
BalanceBuilder as BalanceBuilder39,
|
|
8656
|
+
ExtrinsicBuilder as ExtrinsicBuilder28,
|
|
8657
|
+
FeeBuilder as FeeBuilder29
|
|
8754
8658
|
} from "@moonbeam-network/xcm-builder";
|
|
8755
8659
|
var peaqAlphanetRoutes2 = new ChainRoutes({
|
|
8756
8660
|
chain: peaqAlphanet,
|
|
@@ -8758,73 +8662,73 @@ var peaqAlphanetRoutes2 = new ChainRoutes({
|
|
|
8758
8662
|
{
|
|
8759
8663
|
source: {
|
|
8760
8664
|
asset: agng,
|
|
8761
|
-
balance:
|
|
8665
|
+
balance: BalanceBuilder39().substrate().system().account(),
|
|
8762
8666
|
fee: {
|
|
8763
8667
|
asset: agng,
|
|
8764
|
-
balance:
|
|
8668
|
+
balance: BalanceBuilder39().substrate().system().account()
|
|
8765
8669
|
},
|
|
8766
8670
|
destinationFee: {
|
|
8767
|
-
balance:
|
|
8671
|
+
balance: BalanceBuilder39().substrate().system().account()
|
|
8768
8672
|
}
|
|
8769
8673
|
},
|
|
8770
8674
|
destination: {
|
|
8771
8675
|
asset: agng,
|
|
8772
8676
|
chain: moonbaseAlpha,
|
|
8773
|
-
balance:
|
|
8677
|
+
balance: BalanceBuilder39().evm().erc20(),
|
|
8774
8678
|
fee: {
|
|
8775
|
-
amount:
|
|
8679
|
+
amount: FeeBuilder29().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
8776
8680
|
asset: agng
|
|
8777
8681
|
}
|
|
8778
8682
|
},
|
|
8779
|
-
extrinsic:
|
|
8683
|
+
extrinsic: ExtrinsicBuilder28().xTokens().transfer()
|
|
8780
8684
|
},
|
|
8781
8685
|
{
|
|
8782
8686
|
source: {
|
|
8783
8687
|
asset: dev,
|
|
8784
|
-
balance:
|
|
8688
|
+
balance: BalanceBuilder39().substrate().assets().account(),
|
|
8785
8689
|
fee: {
|
|
8786
8690
|
asset: agng,
|
|
8787
|
-
balance:
|
|
8691
|
+
balance: BalanceBuilder39().substrate().system().account()
|
|
8788
8692
|
},
|
|
8789
8693
|
min: AssetMinBuilder12().assets().asset(),
|
|
8790
8694
|
destinationFee: {
|
|
8791
|
-
balance:
|
|
8695
|
+
balance: BalanceBuilder39().substrate().assets().account()
|
|
8792
8696
|
}
|
|
8793
8697
|
},
|
|
8794
8698
|
destination: {
|
|
8795
8699
|
asset: dev,
|
|
8796
8700
|
chain: moonbaseAlpha,
|
|
8797
|
-
balance:
|
|
8701
|
+
balance: BalanceBuilder39().substrate().system().account(),
|
|
8798
8702
|
fee: {
|
|
8799
|
-
amount:
|
|
8703
|
+
amount: FeeBuilder29().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
8800
8704
|
asset: dev
|
|
8801
8705
|
}
|
|
8802
8706
|
},
|
|
8803
|
-
extrinsic:
|
|
8707
|
+
extrinsic: ExtrinsicBuilder28().xTokens().transfer()
|
|
8804
8708
|
},
|
|
8805
8709
|
{
|
|
8806
8710
|
source: {
|
|
8807
8711
|
asset: ftmwh,
|
|
8808
|
-
balance:
|
|
8712
|
+
balance: BalanceBuilder39().substrate().assets().account(),
|
|
8809
8713
|
fee: {
|
|
8810
8714
|
asset: agng,
|
|
8811
|
-
balance:
|
|
8715
|
+
balance: BalanceBuilder39().substrate().system().account()
|
|
8812
8716
|
},
|
|
8813
8717
|
min: AssetMinBuilder12().assets().asset(),
|
|
8814
8718
|
destinationFee: {
|
|
8815
|
-
balance:
|
|
8719
|
+
balance: BalanceBuilder39().substrate().assets().account()
|
|
8816
8720
|
}
|
|
8817
8721
|
},
|
|
8818
8722
|
destination: {
|
|
8819
8723
|
asset: ftmwh,
|
|
8820
8724
|
chain: moonbaseAlpha,
|
|
8821
|
-
balance:
|
|
8725
|
+
balance: BalanceBuilder39().evm().erc20(),
|
|
8822
8726
|
fee: {
|
|
8823
|
-
amount:
|
|
8727
|
+
amount: FeeBuilder29().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8824
8728
|
asset: dev
|
|
8825
8729
|
}
|
|
8826
8730
|
},
|
|
8827
|
-
extrinsic:
|
|
8731
|
+
extrinsic: ExtrinsicBuilder28().xTokens().transferMultiCurrencies()
|
|
8828
8732
|
}
|
|
8829
8733
|
]
|
|
8830
8734
|
});
|
|
@@ -8832,9 +8736,9 @@ var peaqAlphanetRoutes2 = new ChainRoutes({
|
|
|
8832
8736
|
// src/xcm-configs/peaqEvm.ts
|
|
8833
8737
|
import {
|
|
8834
8738
|
AssetMinBuilder as AssetMinBuilder13,
|
|
8835
|
-
BalanceBuilder as
|
|
8739
|
+
BalanceBuilder as BalanceBuilder40,
|
|
8836
8740
|
ContractBuilder as ContractBuilder4,
|
|
8837
|
-
FeeBuilder as
|
|
8741
|
+
FeeBuilder as FeeBuilder30
|
|
8838
8742
|
} from "@moonbeam-network/xcm-builder";
|
|
8839
8743
|
var peaqEvmRoutes = new ChainRoutes({
|
|
8840
8744
|
chain: peaqEvm,
|
|
@@ -8842,22 +8746,22 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8842
8746
|
{
|
|
8843
8747
|
source: {
|
|
8844
8748
|
asset: glmr,
|
|
8845
|
-
balance:
|
|
8749
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8846
8750
|
fee: {
|
|
8847
8751
|
asset: peaq,
|
|
8848
|
-
balance:
|
|
8752
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8849
8753
|
},
|
|
8850
8754
|
min: AssetMinBuilder13().assets().asset(),
|
|
8851
8755
|
destinationFee: {
|
|
8852
|
-
balance:
|
|
8756
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8853
8757
|
}
|
|
8854
8758
|
},
|
|
8855
8759
|
destination: {
|
|
8856
8760
|
asset: glmr,
|
|
8857
8761
|
chain: moonbeam,
|
|
8858
|
-
balance:
|
|
8762
|
+
balance: BalanceBuilder40().substrate().system().account(),
|
|
8859
8763
|
fee: {
|
|
8860
|
-
amount:
|
|
8764
|
+
amount: FeeBuilder30().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
8861
8765
|
asset: glmr
|
|
8862
8766
|
}
|
|
8863
8767
|
},
|
|
@@ -8866,22 +8770,22 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8866
8770
|
{
|
|
8867
8771
|
source: {
|
|
8868
8772
|
asset: usdcwh,
|
|
8869
|
-
balance:
|
|
8773
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8870
8774
|
fee: {
|
|
8871
8775
|
asset: peaq,
|
|
8872
|
-
balance:
|
|
8776
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8873
8777
|
},
|
|
8874
8778
|
min: AssetMinBuilder13().assets().asset(),
|
|
8875
8779
|
destinationFee: {
|
|
8876
|
-
balance:
|
|
8780
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8877
8781
|
}
|
|
8878
8782
|
},
|
|
8879
8783
|
destination: {
|
|
8880
8784
|
asset: usdcwh,
|
|
8881
8785
|
chain: moonbeam,
|
|
8882
|
-
balance:
|
|
8786
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8883
8787
|
fee: {
|
|
8884
|
-
amount:
|
|
8788
|
+
amount: FeeBuilder30().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8885
8789
|
asset: glmr
|
|
8886
8790
|
}
|
|
8887
8791
|
},
|
|
@@ -8890,22 +8794,22 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8890
8794
|
{
|
|
8891
8795
|
source: {
|
|
8892
8796
|
asset: dai,
|
|
8893
|
-
balance:
|
|
8797
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8894
8798
|
fee: {
|
|
8895
8799
|
asset: peaq,
|
|
8896
|
-
balance:
|
|
8800
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8897
8801
|
},
|
|
8898
8802
|
min: AssetMinBuilder13().assets().asset(),
|
|
8899
8803
|
destinationFee: {
|
|
8900
|
-
balance:
|
|
8804
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8901
8805
|
}
|
|
8902
8806
|
},
|
|
8903
8807
|
destination: {
|
|
8904
8808
|
asset: dai,
|
|
8905
8809
|
chain: moonbeam,
|
|
8906
|
-
balance:
|
|
8810
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8907
8811
|
fee: {
|
|
8908
|
-
amount:
|
|
8812
|
+
amount: FeeBuilder30().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8909
8813
|
asset: glmr
|
|
8910
8814
|
}
|
|
8911
8815
|
},
|
|
@@ -8914,22 +8818,22 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8914
8818
|
{
|
|
8915
8819
|
source: {
|
|
8916
8820
|
asset: wbtc,
|
|
8917
|
-
balance:
|
|
8821
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8918
8822
|
fee: {
|
|
8919
8823
|
asset: peaq,
|
|
8920
|
-
balance:
|
|
8824
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8921
8825
|
},
|
|
8922
8826
|
min: AssetMinBuilder13().assets().asset(),
|
|
8923
8827
|
destinationFee: {
|
|
8924
|
-
balance:
|
|
8828
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8925
8829
|
}
|
|
8926
8830
|
},
|
|
8927
8831
|
destination: {
|
|
8928
8832
|
asset: wbtc,
|
|
8929
8833
|
chain: moonbeam,
|
|
8930
|
-
balance:
|
|
8834
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8931
8835
|
fee: {
|
|
8932
|
-
amount:
|
|
8836
|
+
amount: FeeBuilder30().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8933
8837
|
asset: glmr
|
|
8934
8838
|
}
|
|
8935
8839
|
},
|
|
@@ -8938,22 +8842,22 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8938
8842
|
{
|
|
8939
8843
|
source: {
|
|
8940
8844
|
asset: weth,
|
|
8941
|
-
balance:
|
|
8845
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8942
8846
|
fee: {
|
|
8943
8847
|
asset: peaq,
|
|
8944
|
-
balance:
|
|
8848
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8945
8849
|
},
|
|
8946
8850
|
min: AssetMinBuilder13().assets().asset(),
|
|
8947
8851
|
destinationFee: {
|
|
8948
|
-
balance:
|
|
8852
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8949
8853
|
}
|
|
8950
8854
|
},
|
|
8951
8855
|
destination: {
|
|
8952
8856
|
asset: weth,
|
|
8953
8857
|
chain: moonbeam,
|
|
8954
|
-
balance:
|
|
8858
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8955
8859
|
fee: {
|
|
8956
|
-
amount:
|
|
8860
|
+
amount: FeeBuilder30().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8957
8861
|
asset: glmr
|
|
8958
8862
|
}
|
|
8959
8863
|
},
|
|
@@ -8962,22 +8866,22 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8962
8866
|
{
|
|
8963
8867
|
source: {
|
|
8964
8868
|
asset: usdtwh,
|
|
8965
|
-
balance:
|
|
8869
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8966
8870
|
fee: {
|
|
8967
8871
|
asset: peaq,
|
|
8968
|
-
balance:
|
|
8872
|
+
balance: BalanceBuilder40().substrate().system().accountEvmTo32()
|
|
8969
8873
|
},
|
|
8970
8874
|
min: AssetMinBuilder13().assets().asset(),
|
|
8971
8875
|
destinationFee: {
|
|
8972
|
-
balance:
|
|
8876
|
+
balance: BalanceBuilder40().evm().erc20()
|
|
8973
8877
|
}
|
|
8974
8878
|
},
|
|
8975
8879
|
destination: {
|
|
8976
8880
|
asset: usdtwh,
|
|
8977
8881
|
chain: moonbeam,
|
|
8978
|
-
balance:
|
|
8882
|
+
balance: BalanceBuilder40().evm().erc20(),
|
|
8979
8883
|
fee: {
|
|
8980
|
-
amount:
|
|
8884
|
+
amount: FeeBuilder30().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
8981
8885
|
asset: glmr
|
|
8982
8886
|
}
|
|
8983
8887
|
},
|
|
@@ -8989,9 +8893,9 @@ var peaqEvmRoutes = new ChainRoutes({
|
|
|
8989
8893
|
// src/xcm-configs/peaqEvmAlphanet.ts
|
|
8990
8894
|
import {
|
|
8991
8895
|
AssetMinBuilder as AssetMinBuilder14,
|
|
8992
|
-
BalanceBuilder as
|
|
8896
|
+
BalanceBuilder as BalanceBuilder41,
|
|
8993
8897
|
ContractBuilder as ContractBuilder5,
|
|
8994
|
-
FeeBuilder as
|
|
8898
|
+
FeeBuilder as FeeBuilder31
|
|
8995
8899
|
} from "@moonbeam-network/xcm-builder";
|
|
8996
8900
|
var peaqEvmAlphanetRoutes2 = new ChainRoutes({
|
|
8997
8901
|
chain: peaqEvmAlphanet,
|
|
@@ -8999,22 +8903,22 @@ var peaqEvmAlphanetRoutes2 = new ChainRoutes({
|
|
|
8999
8903
|
{
|
|
9000
8904
|
source: {
|
|
9001
8905
|
asset: ftmwh,
|
|
9002
|
-
balance:
|
|
8906
|
+
balance: BalanceBuilder41().evm().erc20(),
|
|
9003
8907
|
fee: {
|
|
9004
8908
|
asset: agng,
|
|
9005
|
-
balance:
|
|
8909
|
+
balance: BalanceBuilder41().substrate().system().accountEvmTo32()
|
|
9006
8910
|
},
|
|
9007
8911
|
min: AssetMinBuilder14().assets().asset(),
|
|
9008
8912
|
destinationFee: {
|
|
9009
|
-
balance:
|
|
8913
|
+
balance: BalanceBuilder41().evm().erc20()
|
|
9010
8914
|
}
|
|
9011
8915
|
},
|
|
9012
8916
|
destination: {
|
|
9013
8917
|
asset: ftmwh,
|
|
9014
8918
|
chain: moonbaseAlpha,
|
|
9015
|
-
balance:
|
|
8919
|
+
balance: BalanceBuilder41().evm().erc20(),
|
|
9016
8920
|
fee: {
|
|
9017
|
-
amount:
|
|
8921
|
+
amount: FeeBuilder31().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
9018
8922
|
asset: dev
|
|
9019
8923
|
}
|
|
9020
8924
|
},
|
|
@@ -9023,22 +8927,22 @@ var peaqEvmAlphanetRoutes2 = new ChainRoutes({
|
|
|
9023
8927
|
{
|
|
9024
8928
|
source: {
|
|
9025
8929
|
asset: dev,
|
|
9026
|
-
balance:
|
|
8930
|
+
balance: BalanceBuilder41().evm().erc20(),
|
|
9027
8931
|
fee: {
|
|
9028
8932
|
asset: agng,
|
|
9029
|
-
balance:
|
|
8933
|
+
balance: BalanceBuilder41().substrate().system().accountEvmTo32()
|
|
9030
8934
|
},
|
|
9031
8935
|
min: AssetMinBuilder14().assets().asset(),
|
|
9032
8936
|
destinationFee: {
|
|
9033
|
-
balance:
|
|
8937
|
+
balance: BalanceBuilder41().evm().erc20()
|
|
9034
8938
|
}
|
|
9035
8939
|
},
|
|
9036
8940
|
destination: {
|
|
9037
8941
|
asset: dev,
|
|
9038
8942
|
chain: moonbaseAlpha,
|
|
9039
|
-
balance:
|
|
8943
|
+
balance: BalanceBuilder41().substrate().system().account(),
|
|
9040
8944
|
fee: {
|
|
9041
|
-
amount:
|
|
8945
|
+
amount: FeeBuilder31().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9042
8946
|
asset: dev
|
|
9043
8947
|
}
|
|
9044
8948
|
},
|
|
@@ -9050,9 +8954,9 @@ var peaqEvmAlphanetRoutes2 = new ChainRoutes({
|
|
|
9050
8954
|
// src/xcm-configs/pendulum.ts
|
|
9051
8955
|
import {
|
|
9052
8956
|
AssetMinBuilder as AssetMinBuilder15,
|
|
9053
|
-
BalanceBuilder as
|
|
9054
|
-
ExtrinsicBuilder as
|
|
9055
|
-
FeeBuilder as
|
|
8957
|
+
BalanceBuilder as BalanceBuilder42,
|
|
8958
|
+
ExtrinsicBuilder as ExtrinsicBuilder29,
|
|
8959
|
+
FeeBuilder as FeeBuilder32
|
|
9056
8960
|
} from "@moonbeam-network/xcm-builder";
|
|
9057
8961
|
var pendulumRoutes = new ChainRoutes({
|
|
9058
8962
|
chain: pendulum,
|
|
@@ -9060,104 +8964,104 @@ var pendulumRoutes = new ChainRoutes({
|
|
|
9060
8964
|
{
|
|
9061
8965
|
source: {
|
|
9062
8966
|
asset: pen,
|
|
9063
|
-
balance:
|
|
8967
|
+
balance: BalanceBuilder42().substrate().system().account(),
|
|
9064
8968
|
fee: {
|
|
9065
8969
|
asset: pen,
|
|
9066
|
-
balance:
|
|
8970
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
9067
8971
|
},
|
|
9068
8972
|
destinationFee: {
|
|
9069
|
-
balance:
|
|
8973
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
9070
8974
|
}
|
|
9071
8975
|
},
|
|
9072
8976
|
destination: {
|
|
9073
8977
|
asset: pen,
|
|
9074
8978
|
chain: moonbeam,
|
|
9075
|
-
balance:
|
|
8979
|
+
balance: BalanceBuilder42().evm().erc20(),
|
|
9076
8980
|
fee: {
|
|
9077
|
-
amount:
|
|
8981
|
+
amount: FeeBuilder32().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9078
8982
|
asset: pen
|
|
9079
8983
|
}
|
|
9080
8984
|
},
|
|
9081
|
-
extrinsic:
|
|
8985
|
+
extrinsic: ExtrinsicBuilder29().xTokens().transfer()
|
|
9082
8986
|
},
|
|
9083
8987
|
{
|
|
9084
8988
|
source: {
|
|
9085
8989
|
asset: glmr,
|
|
9086
|
-
balance:
|
|
8990
|
+
balance: BalanceBuilder42().substrate().tokens().accounts(),
|
|
9087
8991
|
fee: {
|
|
9088
8992
|
asset: pen,
|
|
9089
|
-
balance:
|
|
8993
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
9090
8994
|
},
|
|
9091
8995
|
destinationFee: {
|
|
9092
|
-
balance:
|
|
8996
|
+
balance: BalanceBuilder42().substrate().tokens().accounts()
|
|
9093
8997
|
}
|
|
9094
8998
|
},
|
|
9095
8999
|
destination: {
|
|
9096
9000
|
asset: glmr,
|
|
9097
9001
|
chain: moonbeam,
|
|
9098
|
-
balance:
|
|
9002
|
+
balance: BalanceBuilder42().substrate().system().account(),
|
|
9099
9003
|
fee: {
|
|
9100
|
-
amount:
|
|
9004
|
+
amount: FeeBuilder32().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9101
9005
|
asset: glmr
|
|
9102
9006
|
}
|
|
9103
9007
|
},
|
|
9104
|
-
extrinsic:
|
|
9008
|
+
extrinsic: ExtrinsicBuilder29().xTokens().transfer()
|
|
9105
9009
|
},
|
|
9106
9010
|
{
|
|
9107
9011
|
source: {
|
|
9108
9012
|
asset: axlusdc,
|
|
9109
|
-
balance:
|
|
9013
|
+
balance: BalanceBuilder42().substrate().tokens().accounts(),
|
|
9110
9014
|
fee: {
|
|
9111
9015
|
asset: pen,
|
|
9112
|
-
balance:
|
|
9016
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
9113
9017
|
},
|
|
9114
9018
|
destinationFee: {
|
|
9115
|
-
balance:
|
|
9019
|
+
balance: BalanceBuilder42().substrate().tokens().accounts()
|
|
9116
9020
|
}
|
|
9117
9021
|
},
|
|
9118
9022
|
destination: {
|
|
9119
9023
|
asset: axlusdc,
|
|
9120
9024
|
chain: moonbeam,
|
|
9121
|
-
balance:
|
|
9025
|
+
balance: BalanceBuilder42().evm().erc20(),
|
|
9122
9026
|
fee: {
|
|
9123
|
-
amount:
|
|
9027
|
+
amount: FeeBuilder32().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
9124
9028
|
asset: glmr
|
|
9125
9029
|
}
|
|
9126
9030
|
},
|
|
9127
|
-
extrinsic:
|
|
9031
|
+
extrinsic: ExtrinsicBuilder29().xTokens().transferMultiCurrencies()
|
|
9128
9032
|
},
|
|
9129
9033
|
{
|
|
9130
9034
|
source: {
|
|
9131
9035
|
asset: eurc,
|
|
9132
|
-
balance:
|
|
9036
|
+
balance: BalanceBuilder42().substrate().tokens().accounts(),
|
|
9133
9037
|
fee: {
|
|
9134
9038
|
asset: eurc,
|
|
9135
|
-
balance:
|
|
9039
|
+
balance: BalanceBuilder42().substrate().system().account()
|
|
9136
9040
|
},
|
|
9137
9041
|
destinationFee: {
|
|
9138
|
-
balance:
|
|
9042
|
+
balance: BalanceBuilder42().substrate().tokens().accounts()
|
|
9139
9043
|
},
|
|
9140
9044
|
min: AssetMinBuilder15().assetRegistry().metadata()
|
|
9141
9045
|
},
|
|
9142
9046
|
destination: {
|
|
9143
9047
|
asset: eurc,
|
|
9144
9048
|
chain: moonbeam,
|
|
9145
|
-
balance:
|
|
9049
|
+
balance: BalanceBuilder42().evm().erc20(),
|
|
9146
9050
|
fee: {
|
|
9147
|
-
amount:
|
|
9051
|
+
amount: FeeBuilder32().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9148
9052
|
asset: eurc
|
|
9149
9053
|
}
|
|
9150
9054
|
},
|
|
9151
|
-
extrinsic:
|
|
9055
|
+
extrinsic: ExtrinsicBuilder29().xTokens().transfer()
|
|
9152
9056
|
}
|
|
9153
9057
|
]
|
|
9154
9058
|
});
|
|
9155
9059
|
|
|
9156
9060
|
// src/xcm-configs/pendulumAlphanet.ts
|
|
9157
9061
|
import {
|
|
9158
|
-
BalanceBuilder as
|
|
9159
|
-
ExtrinsicBuilder as
|
|
9160
|
-
FeeBuilder as
|
|
9062
|
+
BalanceBuilder as BalanceBuilder43,
|
|
9063
|
+
ExtrinsicBuilder as ExtrinsicBuilder30,
|
|
9064
|
+
FeeBuilder as FeeBuilder33
|
|
9161
9065
|
} from "@moonbeam-network/xcm-builder";
|
|
9162
9066
|
var pendulumAlphanetRoutes = new ChainRoutes({
|
|
9163
9067
|
chain: pendulumAlphanet,
|
|
@@ -9165,57 +9069,57 @@ var pendulumAlphanetRoutes = new ChainRoutes({
|
|
|
9165
9069
|
{
|
|
9166
9070
|
source: {
|
|
9167
9071
|
asset: ampe,
|
|
9168
|
-
balance:
|
|
9072
|
+
balance: BalanceBuilder43().substrate().system().account(),
|
|
9169
9073
|
fee: {
|
|
9170
9074
|
asset: ampe,
|
|
9171
|
-
balance:
|
|
9075
|
+
balance: BalanceBuilder43().substrate().system().account()
|
|
9172
9076
|
},
|
|
9173
9077
|
destinationFee: {
|
|
9174
|
-
balance:
|
|
9078
|
+
balance: BalanceBuilder43().substrate().system().account()
|
|
9175
9079
|
}
|
|
9176
9080
|
},
|
|
9177
9081
|
destination: {
|
|
9178
9082
|
asset: ampe,
|
|
9179
9083
|
chain: moonbaseAlpha,
|
|
9180
|
-
balance:
|
|
9084
|
+
balance: BalanceBuilder43().evm().erc20(),
|
|
9181
9085
|
fee: {
|
|
9182
|
-
amount:
|
|
9086
|
+
amount: FeeBuilder33().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9183
9087
|
asset: ampe
|
|
9184
9088
|
}
|
|
9185
9089
|
},
|
|
9186
|
-
extrinsic:
|
|
9090
|
+
extrinsic: ExtrinsicBuilder30().xTokens().transfer()
|
|
9187
9091
|
},
|
|
9188
9092
|
{
|
|
9189
9093
|
source: {
|
|
9190
9094
|
asset: dev,
|
|
9191
|
-
balance:
|
|
9095
|
+
balance: BalanceBuilder43().substrate().tokens().accounts(),
|
|
9192
9096
|
fee: {
|
|
9193
9097
|
asset: ampe,
|
|
9194
|
-
balance:
|
|
9098
|
+
balance: BalanceBuilder43().substrate().system().account()
|
|
9195
9099
|
},
|
|
9196
9100
|
destinationFee: {
|
|
9197
|
-
balance:
|
|
9101
|
+
balance: BalanceBuilder43().substrate().tokens().accounts()
|
|
9198
9102
|
}
|
|
9199
9103
|
},
|
|
9200
9104
|
destination: {
|
|
9201
9105
|
asset: dev,
|
|
9202
9106
|
chain: moonbaseAlpha,
|
|
9203
|
-
balance:
|
|
9107
|
+
balance: BalanceBuilder43().substrate().system().account(),
|
|
9204
9108
|
fee: {
|
|
9205
|
-
amount:
|
|
9109
|
+
amount: FeeBuilder33().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9206
9110
|
asset: dev
|
|
9207
9111
|
}
|
|
9208
9112
|
},
|
|
9209
|
-
extrinsic:
|
|
9113
|
+
extrinsic: ExtrinsicBuilder30().xTokens().transfer()
|
|
9210
9114
|
}
|
|
9211
9115
|
]
|
|
9212
9116
|
});
|
|
9213
9117
|
|
|
9214
9118
|
// src/xcm-configs/phala.ts
|
|
9215
9119
|
import {
|
|
9216
|
-
BalanceBuilder as
|
|
9217
|
-
ExtrinsicBuilder as
|
|
9218
|
-
FeeBuilder as
|
|
9120
|
+
BalanceBuilder as BalanceBuilder44,
|
|
9121
|
+
ExtrinsicBuilder as ExtrinsicBuilder31,
|
|
9122
|
+
FeeBuilder as FeeBuilder34
|
|
9219
9123
|
} from "@moonbeam-network/xcm-builder";
|
|
9220
9124
|
var phalaRoutes = new ChainRoutes({
|
|
9221
9125
|
chain: phala,
|
|
@@ -9223,34 +9127,34 @@ var phalaRoutes = new ChainRoutes({
|
|
|
9223
9127
|
{
|
|
9224
9128
|
source: {
|
|
9225
9129
|
asset: pha,
|
|
9226
|
-
balance:
|
|
9130
|
+
balance: BalanceBuilder44().substrate().system().account(),
|
|
9227
9131
|
fee: {
|
|
9228
9132
|
asset: pha,
|
|
9229
|
-
balance:
|
|
9133
|
+
balance: BalanceBuilder44().substrate().system().account()
|
|
9230
9134
|
},
|
|
9231
9135
|
destinationFee: {
|
|
9232
|
-
balance:
|
|
9136
|
+
balance: BalanceBuilder44().substrate().system().account()
|
|
9233
9137
|
}
|
|
9234
9138
|
},
|
|
9235
9139
|
destination: {
|
|
9236
9140
|
asset: pha,
|
|
9237
9141
|
chain: moonbeam,
|
|
9238
|
-
balance:
|
|
9142
|
+
balance: BalanceBuilder44().evm().erc20(),
|
|
9239
9143
|
fee: {
|
|
9240
|
-
amount:
|
|
9144
|
+
amount: FeeBuilder34().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9241
9145
|
asset: pha
|
|
9242
9146
|
}
|
|
9243
9147
|
},
|
|
9244
|
-
extrinsic:
|
|
9148
|
+
extrinsic: ExtrinsicBuilder31().xTransfer().transfer().here()
|
|
9245
9149
|
}
|
|
9246
9150
|
]
|
|
9247
9151
|
});
|
|
9248
9152
|
|
|
9249
9153
|
// src/xcm-configs/polkadot.ts
|
|
9250
9154
|
import {
|
|
9251
|
-
BalanceBuilder as
|
|
9252
|
-
ExtrinsicBuilder as
|
|
9253
|
-
FeeBuilder as
|
|
9155
|
+
BalanceBuilder as BalanceBuilder45,
|
|
9156
|
+
ExtrinsicBuilder as ExtrinsicBuilder32,
|
|
9157
|
+
FeeBuilder as FeeBuilder35
|
|
9254
9158
|
} from "@moonbeam-network/xcm-builder";
|
|
9255
9159
|
var polkadotRoutes = new ChainRoutes({
|
|
9256
9160
|
chain: polkadot,
|
|
@@ -9258,26 +9162,26 @@ var polkadotRoutes = new ChainRoutes({
|
|
|
9258
9162
|
{
|
|
9259
9163
|
source: {
|
|
9260
9164
|
asset: dot,
|
|
9261
|
-
balance:
|
|
9165
|
+
balance: BalanceBuilder45().substrate().system().account(),
|
|
9262
9166
|
fee: {
|
|
9263
9167
|
asset: dot,
|
|
9264
|
-
balance:
|
|
9168
|
+
balance: BalanceBuilder45().substrate().system().account(),
|
|
9265
9169
|
extra: 0.047
|
|
9266
9170
|
},
|
|
9267
9171
|
destinationFee: {
|
|
9268
|
-
balance:
|
|
9172
|
+
balance: BalanceBuilder45().substrate().system().account()
|
|
9269
9173
|
}
|
|
9270
9174
|
},
|
|
9271
9175
|
destination: {
|
|
9272
9176
|
asset: dot,
|
|
9273
9177
|
chain: moonbeam,
|
|
9274
|
-
balance:
|
|
9178
|
+
balance: BalanceBuilder45().evm().erc20(),
|
|
9275
9179
|
fee: {
|
|
9276
|
-
amount:
|
|
9180
|
+
amount: FeeBuilder35().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9277
9181
|
asset: dot
|
|
9278
9182
|
}
|
|
9279
9183
|
},
|
|
9280
|
-
extrinsic:
|
|
9184
|
+
extrinsic: ExtrinsicBuilder32().xcmPallet().transferAssetsUsingTypeAndThen().here()
|
|
9281
9185
|
}
|
|
9282
9186
|
]
|
|
9283
9187
|
});
|
|
@@ -9285,9 +9189,9 @@ var polkadotRoutes = new ChainRoutes({
|
|
|
9285
9189
|
// src/xcm-configs/polkadotAssetHub.ts
|
|
9286
9190
|
import {
|
|
9287
9191
|
AssetMinBuilder as AssetMinBuilder16,
|
|
9288
|
-
BalanceBuilder as
|
|
9289
|
-
ExtrinsicBuilder as
|
|
9290
|
-
FeeBuilder as
|
|
9192
|
+
BalanceBuilder as BalanceBuilder46,
|
|
9193
|
+
ExtrinsicBuilder as ExtrinsicBuilder33,
|
|
9194
|
+
FeeBuilder as FeeBuilder36
|
|
9291
9195
|
} from "@moonbeam-network/xcm-builder";
|
|
9292
9196
|
var extra2 = 0.036;
|
|
9293
9197
|
var polkadotAssetHubRoutes = new ChainRoutes({
|
|
@@ -9296,299 +9200,299 @@ var polkadotAssetHubRoutes = new ChainRoutes({
|
|
|
9296
9200
|
{
|
|
9297
9201
|
source: {
|
|
9298
9202
|
asset: dot,
|
|
9299
|
-
balance:
|
|
9203
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9300
9204
|
fee: {
|
|
9301
9205
|
asset: dot,
|
|
9302
|
-
balance:
|
|
9206
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9303
9207
|
extra: extra2
|
|
9304
9208
|
},
|
|
9305
9209
|
destinationFee: {
|
|
9306
|
-
balance:
|
|
9210
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9307
9211
|
}
|
|
9308
9212
|
},
|
|
9309
9213
|
destination: {
|
|
9310
9214
|
asset: dot,
|
|
9311
9215
|
chain: moonbeam,
|
|
9312
|
-
balance:
|
|
9216
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9313
9217
|
fee: {
|
|
9314
|
-
amount:
|
|
9218
|
+
amount: FeeBuilder36().xcmPaymentApi().fromHere({ isAssetReserveChain: false }),
|
|
9315
9219
|
asset: dot
|
|
9316
9220
|
}
|
|
9317
9221
|
},
|
|
9318
|
-
extrinsic:
|
|
9222
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().here(1)
|
|
9319
9223
|
},
|
|
9320
9224
|
{
|
|
9321
9225
|
source: {
|
|
9322
9226
|
asset: usdt,
|
|
9323
|
-
balance:
|
|
9227
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9324
9228
|
fee: {
|
|
9325
9229
|
asset: dot,
|
|
9326
|
-
balance:
|
|
9230
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9327
9231
|
extra: extra2
|
|
9328
9232
|
},
|
|
9329
9233
|
min: AssetMinBuilder16().assets().asset(),
|
|
9330
9234
|
destinationFee: {
|
|
9331
|
-
balance:
|
|
9235
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9332
9236
|
}
|
|
9333
9237
|
},
|
|
9334
9238
|
destination: {
|
|
9335
9239
|
asset: usdt,
|
|
9336
9240
|
chain: moonbeam,
|
|
9337
|
-
balance:
|
|
9241
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9338
9242
|
fee: {
|
|
9339
|
-
amount:
|
|
9243
|
+
amount: FeeBuilder36().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9340
9244
|
asset: usdt
|
|
9341
9245
|
}
|
|
9342
9246
|
},
|
|
9343
|
-
extrinsic:
|
|
9247
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().limitedReserveTransferAssets().X2()
|
|
9344
9248
|
},
|
|
9345
9249
|
{
|
|
9346
9250
|
source: {
|
|
9347
9251
|
asset: usdc,
|
|
9348
|
-
balance:
|
|
9252
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9349
9253
|
fee: {
|
|
9350
9254
|
asset: dot,
|
|
9351
|
-
balance:
|
|
9255
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9352
9256
|
extra: extra2
|
|
9353
9257
|
},
|
|
9354
9258
|
min: AssetMinBuilder16().assets().asset(),
|
|
9355
9259
|
destinationFee: {
|
|
9356
|
-
balance:
|
|
9260
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9357
9261
|
}
|
|
9358
9262
|
},
|
|
9359
9263
|
destination: {
|
|
9360
9264
|
asset: usdc,
|
|
9361
9265
|
chain: moonbeam,
|
|
9362
|
-
balance:
|
|
9266
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9363
9267
|
fee: {
|
|
9364
|
-
amount:
|
|
9268
|
+
amount: FeeBuilder36().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9365
9269
|
asset: usdc
|
|
9366
9270
|
}
|
|
9367
9271
|
},
|
|
9368
|
-
extrinsic:
|
|
9272
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().limitedReserveTransferAssets().X2()
|
|
9369
9273
|
},
|
|
9370
9274
|
{
|
|
9371
9275
|
source: {
|
|
9372
9276
|
asset: pink,
|
|
9373
|
-
balance:
|
|
9277
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9374
9278
|
fee: {
|
|
9375
9279
|
asset: dot,
|
|
9376
|
-
balance:
|
|
9280
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9377
9281
|
extra: extra2
|
|
9378
9282
|
},
|
|
9379
9283
|
min: AssetMinBuilder16().assets().asset(),
|
|
9380
9284
|
destinationFee: {
|
|
9381
|
-
balance:
|
|
9285
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9382
9286
|
}
|
|
9383
9287
|
},
|
|
9384
9288
|
destination: {
|
|
9385
9289
|
asset: pink,
|
|
9386
9290
|
chain: moonbeam,
|
|
9387
|
-
balance:
|
|
9291
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9388
9292
|
fee: {
|
|
9389
|
-
amount:
|
|
9293
|
+
amount: FeeBuilder36().xcmPaymentApi().fromHereAndSourceGeneralIndex({
|
|
9390
9294
|
isAssetReserveChain: false
|
|
9391
9295
|
}),
|
|
9392
9296
|
asset: dot
|
|
9393
9297
|
}
|
|
9394
9298
|
},
|
|
9395
|
-
extrinsic:
|
|
9299
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9396
9300
|
},
|
|
9397
9301
|
{
|
|
9398
9302
|
source: {
|
|
9399
9303
|
asset: ded,
|
|
9400
|
-
balance:
|
|
9304
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9401
9305
|
fee: {
|
|
9402
9306
|
asset: dot,
|
|
9403
|
-
balance:
|
|
9307
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9404
9308
|
extra: extra2
|
|
9405
9309
|
},
|
|
9406
9310
|
min: AssetMinBuilder16().assets().asset(),
|
|
9407
9311
|
destinationFee: {
|
|
9408
|
-
balance:
|
|
9312
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9409
9313
|
}
|
|
9410
9314
|
},
|
|
9411
9315
|
destination: {
|
|
9412
9316
|
asset: ded,
|
|
9413
9317
|
chain: moonbeam,
|
|
9414
|
-
balance:
|
|
9318
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9415
9319
|
fee: {
|
|
9416
|
-
amount:
|
|
9320
|
+
amount: FeeBuilder36().xcmPaymentApi().fromHereAndSourceGeneralIndex({
|
|
9417
9321
|
isAssetReserveChain: false
|
|
9418
9322
|
}),
|
|
9419
9323
|
asset: dot
|
|
9420
9324
|
}
|
|
9421
9325
|
},
|
|
9422
|
-
extrinsic:
|
|
9326
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9423
9327
|
},
|
|
9424
9328
|
{
|
|
9425
9329
|
source: {
|
|
9426
9330
|
asset: stink,
|
|
9427
|
-
balance:
|
|
9331
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9428
9332
|
fee: {
|
|
9429
9333
|
asset: dot,
|
|
9430
|
-
balance:
|
|
9334
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9431
9335
|
extra: extra2
|
|
9432
9336
|
},
|
|
9433
9337
|
min: AssetMinBuilder16().assets().asset(),
|
|
9434
9338
|
destinationFee: {
|
|
9435
|
-
balance:
|
|
9339
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9436
9340
|
}
|
|
9437
9341
|
},
|
|
9438
9342
|
destination: {
|
|
9439
9343
|
asset: stink,
|
|
9440
9344
|
chain: moonbeam,
|
|
9441
|
-
balance:
|
|
9345
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9442
9346
|
fee: {
|
|
9443
|
-
amount:
|
|
9347
|
+
amount: FeeBuilder36().xcmPaymentApi().fromHereAndSourceGeneralIndex({ isAssetReserveChain: false }),
|
|
9444
9348
|
asset: dot
|
|
9445
9349
|
}
|
|
9446
9350
|
},
|
|
9447
|
-
extrinsic:
|
|
9351
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9448
9352
|
},
|
|
9449
9353
|
{
|
|
9450
9354
|
source: {
|
|
9451
9355
|
asset: apillon,
|
|
9452
|
-
balance:
|
|
9356
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9453
9357
|
fee: {
|
|
9454
9358
|
asset: dot,
|
|
9455
|
-
balance:
|
|
9359
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9456
9360
|
extra: extra2
|
|
9457
9361
|
},
|
|
9458
9362
|
min: AssetMinBuilder16().assets().asset(),
|
|
9459
9363
|
destinationFee: {
|
|
9460
|
-
balance:
|
|
9364
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9461
9365
|
}
|
|
9462
9366
|
},
|
|
9463
9367
|
destination: {
|
|
9464
9368
|
asset: apillon,
|
|
9465
9369
|
chain: moonbeam,
|
|
9466
|
-
balance:
|
|
9370
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9467
9371
|
fee: {
|
|
9468
|
-
amount:
|
|
9372
|
+
amount: FeeBuilder36().xcmPaymentApi().fromHereAndSourceGeneralIndex({
|
|
9469
9373
|
isAssetReserveChain: false
|
|
9470
9374
|
}),
|
|
9471
9375
|
asset: dot
|
|
9472
9376
|
}
|
|
9473
9377
|
},
|
|
9474
|
-
extrinsic:
|
|
9378
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9475
9379
|
},
|
|
9476
9380
|
{
|
|
9477
9381
|
source: {
|
|
9478
9382
|
asset: wifd,
|
|
9479
|
-
balance:
|
|
9383
|
+
balance: BalanceBuilder46().substrate().assets().account(),
|
|
9480
9384
|
fee: {
|
|
9481
9385
|
asset: dot,
|
|
9482
|
-
balance:
|
|
9386
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9483
9387
|
extra: extra2
|
|
9484
9388
|
},
|
|
9485
9389
|
min: AssetMinBuilder16().assets().asset(),
|
|
9486
9390
|
destinationFee: {
|
|
9487
|
-
balance:
|
|
9391
|
+
balance: BalanceBuilder46().substrate().assets().account()
|
|
9488
9392
|
}
|
|
9489
9393
|
},
|
|
9490
9394
|
destination: {
|
|
9491
9395
|
asset: wifd,
|
|
9492
9396
|
chain: moonbeam,
|
|
9493
|
-
balance:
|
|
9397
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9494
9398
|
fee: {
|
|
9495
|
-
amount:
|
|
9399
|
+
amount: FeeBuilder36().xcmPaymentApi().fromHereAndSourceGeneralIndex({
|
|
9496
9400
|
isAssetReserveChain: false
|
|
9497
9401
|
}),
|
|
9498
9402
|
asset: dot
|
|
9499
9403
|
}
|
|
9500
9404
|
},
|
|
9501
|
-
extrinsic:
|
|
9405
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssets().X2AndFeeHere()
|
|
9502
9406
|
},
|
|
9503
9407
|
{
|
|
9504
9408
|
source: {
|
|
9505
9409
|
asset: wbtce,
|
|
9506
|
-
balance:
|
|
9410
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account(),
|
|
9507
9411
|
fee: {
|
|
9508
9412
|
asset: dot,
|
|
9509
|
-
balance:
|
|
9413
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9510
9414
|
extra: extra2
|
|
9511
9415
|
},
|
|
9512
9416
|
min: AssetMinBuilder16().foreignAssets().asset(),
|
|
9513
9417
|
destinationFee: {
|
|
9514
|
-
balance:
|
|
9418
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account()
|
|
9515
9419
|
}
|
|
9516
9420
|
},
|
|
9517
9421
|
destination: {
|
|
9518
9422
|
asset: wbtce,
|
|
9519
9423
|
chain: moonbeam,
|
|
9520
|
-
balance:
|
|
9424
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9521
9425
|
fee: {
|
|
9522
|
-
amount:
|
|
9426
|
+
amount: FeeBuilder36().xcmPaymentApi().fromAssetIdQuery({
|
|
9523
9427
|
isAssetReserveChain: false
|
|
9524
9428
|
}),
|
|
9525
9429
|
asset: wbtce
|
|
9526
9430
|
}
|
|
9527
9431
|
},
|
|
9528
|
-
extrinsic:
|
|
9432
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssetsUsingTypeAndThen().globalConsensusEthereum()
|
|
9529
9433
|
},
|
|
9530
9434
|
{
|
|
9531
9435
|
source: {
|
|
9532
9436
|
asset: wethe,
|
|
9533
|
-
balance:
|
|
9437
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account(),
|
|
9534
9438
|
fee: {
|
|
9535
9439
|
asset: dot,
|
|
9536
|
-
balance:
|
|
9440
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9537
9441
|
extra: extra2
|
|
9538
9442
|
},
|
|
9539
9443
|
min: AssetMinBuilder16().foreignAssets().asset(),
|
|
9540
9444
|
destinationFee: {
|
|
9541
|
-
balance:
|
|
9445
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account()
|
|
9542
9446
|
}
|
|
9543
9447
|
},
|
|
9544
9448
|
destination: {
|
|
9545
9449
|
asset: wethe,
|
|
9546
9450
|
chain: moonbeam,
|
|
9547
|
-
balance:
|
|
9451
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9548
9452
|
fee: {
|
|
9549
|
-
amount:
|
|
9453
|
+
amount: FeeBuilder36().xcmPaymentApi().fromAssetIdQuery({
|
|
9550
9454
|
isAssetReserveChain: false
|
|
9551
9455
|
}),
|
|
9552
9456
|
asset: wethe
|
|
9553
9457
|
}
|
|
9554
9458
|
},
|
|
9555
|
-
extrinsic:
|
|
9459
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssetsUsingTypeAndThen().globalConsensusEthereum()
|
|
9556
9460
|
},
|
|
9557
9461
|
{
|
|
9558
9462
|
source: {
|
|
9559
9463
|
asset: wstethe,
|
|
9560
|
-
balance:
|
|
9464
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account(),
|
|
9561
9465
|
fee: {
|
|
9562
9466
|
asset: dot,
|
|
9563
|
-
balance:
|
|
9467
|
+
balance: BalanceBuilder46().substrate().system().account(),
|
|
9564
9468
|
extra: extra2
|
|
9565
9469
|
},
|
|
9566
9470
|
min: AssetMinBuilder16().foreignAssets().asset(),
|
|
9567
9471
|
destinationFee: {
|
|
9568
|
-
balance:
|
|
9472
|
+
balance: BalanceBuilder46().substrate().foreignAssets().account()
|
|
9569
9473
|
}
|
|
9570
9474
|
},
|
|
9571
9475
|
destination: {
|
|
9572
9476
|
asset: wstethe,
|
|
9573
9477
|
chain: moonbeam,
|
|
9574
|
-
balance:
|
|
9478
|
+
balance: BalanceBuilder46().evm().erc20(),
|
|
9575
9479
|
fee: {
|
|
9576
|
-
amount:
|
|
9480
|
+
amount: FeeBuilder36().xcmPaymentApi().fromAssetIdQuery({
|
|
9577
9481
|
isAssetReserveChain: false
|
|
9578
9482
|
}),
|
|
9579
9483
|
asset: wstethe
|
|
9580
9484
|
}
|
|
9581
9485
|
},
|
|
9582
|
-
extrinsic:
|
|
9486
|
+
extrinsic: ExtrinsicBuilder33().polkadotXcm().transferAssetsUsingTypeAndThen().globalConsensusEthereum()
|
|
9583
9487
|
}
|
|
9584
9488
|
]
|
|
9585
9489
|
});
|
|
9586
9490
|
|
|
9587
9491
|
// src/xcm-configs/robonomics.ts
|
|
9588
9492
|
import {
|
|
9589
|
-
BalanceBuilder as
|
|
9590
|
-
ExtrinsicBuilder as
|
|
9591
|
-
FeeBuilder as
|
|
9493
|
+
BalanceBuilder as BalanceBuilder47,
|
|
9494
|
+
ExtrinsicBuilder as ExtrinsicBuilder34,
|
|
9495
|
+
FeeBuilder as FeeBuilder37
|
|
9592
9496
|
} from "@moonbeam-network/xcm-builder";
|
|
9593
9497
|
var robonomicsRoutes = new ChainRoutes({
|
|
9594
9498
|
chain: robonomics,
|
|
@@ -9596,34 +9500,34 @@ var robonomicsRoutes = new ChainRoutes({
|
|
|
9596
9500
|
{
|
|
9597
9501
|
source: {
|
|
9598
9502
|
asset: xrt,
|
|
9599
|
-
balance:
|
|
9503
|
+
balance: BalanceBuilder47().substrate().system().account(),
|
|
9600
9504
|
fee: {
|
|
9601
9505
|
asset: xrt,
|
|
9602
|
-
balance:
|
|
9506
|
+
balance: BalanceBuilder47().substrate().system().account()
|
|
9603
9507
|
},
|
|
9604
9508
|
destinationFee: {
|
|
9605
|
-
balance:
|
|
9509
|
+
balance: BalanceBuilder47().substrate().system().account()
|
|
9606
9510
|
}
|
|
9607
9511
|
},
|
|
9608
9512
|
destination: {
|
|
9609
9513
|
asset: xrt,
|
|
9610
9514
|
chain: moonriver,
|
|
9611
|
-
balance:
|
|
9515
|
+
balance: BalanceBuilder47().evm().erc20(),
|
|
9612
9516
|
fee: {
|
|
9613
|
-
amount:
|
|
9517
|
+
amount: FeeBuilder37().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9614
9518
|
asset: xrt
|
|
9615
9519
|
}
|
|
9616
9520
|
},
|
|
9617
|
-
extrinsic:
|
|
9521
|
+
extrinsic: ExtrinsicBuilder34().polkadotXcm().limitedReserveTransferAssets().here()
|
|
9618
9522
|
}
|
|
9619
9523
|
]
|
|
9620
9524
|
});
|
|
9621
9525
|
|
|
9622
9526
|
// src/xcm-configs/shiden.ts
|
|
9623
9527
|
import {
|
|
9624
|
-
BalanceBuilder as
|
|
9625
|
-
ExtrinsicBuilder as
|
|
9626
|
-
FeeBuilder as
|
|
9528
|
+
BalanceBuilder as BalanceBuilder48,
|
|
9529
|
+
ExtrinsicBuilder as ExtrinsicBuilder35,
|
|
9530
|
+
FeeBuilder as FeeBuilder38
|
|
9627
9531
|
} from "@moonbeam-network/xcm-builder";
|
|
9628
9532
|
var shidenRoutes = new ChainRoutes({
|
|
9629
9533
|
chain: shiden,
|
|
@@ -9631,57 +9535,57 @@ var shidenRoutes = new ChainRoutes({
|
|
|
9631
9535
|
{
|
|
9632
9536
|
source: {
|
|
9633
9537
|
asset: sdn,
|
|
9634
|
-
balance:
|
|
9538
|
+
balance: BalanceBuilder48().substrate().system().account(),
|
|
9635
9539
|
fee: {
|
|
9636
9540
|
asset: sdn,
|
|
9637
|
-
balance:
|
|
9541
|
+
balance: BalanceBuilder48().substrate().system().account()
|
|
9638
9542
|
},
|
|
9639
9543
|
destinationFee: {
|
|
9640
|
-
balance:
|
|
9544
|
+
balance: BalanceBuilder48().substrate().system().account()
|
|
9641
9545
|
}
|
|
9642
9546
|
},
|
|
9643
9547
|
destination: {
|
|
9644
9548
|
asset: sdn,
|
|
9645
9549
|
chain: moonriver,
|
|
9646
|
-
balance:
|
|
9550
|
+
balance: BalanceBuilder48().evm().erc20(),
|
|
9647
9551
|
fee: {
|
|
9648
|
-
amount:
|
|
9552
|
+
amount: FeeBuilder38().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9649
9553
|
asset: sdn
|
|
9650
9554
|
}
|
|
9651
9555
|
},
|
|
9652
|
-
extrinsic:
|
|
9556
|
+
extrinsic: ExtrinsicBuilder35().polkadotXcm().limitedReserveTransferAssets().here()
|
|
9653
9557
|
},
|
|
9654
9558
|
{
|
|
9655
9559
|
source: {
|
|
9656
9560
|
asset: movr,
|
|
9657
|
-
balance:
|
|
9561
|
+
balance: BalanceBuilder48().substrate().assets().account(),
|
|
9658
9562
|
fee: {
|
|
9659
9563
|
asset: sdn,
|
|
9660
|
-
balance:
|
|
9564
|
+
balance: BalanceBuilder48().substrate().system().account()
|
|
9661
9565
|
},
|
|
9662
9566
|
destinationFee: {
|
|
9663
|
-
balance:
|
|
9567
|
+
balance: BalanceBuilder48().substrate().assets().account()
|
|
9664
9568
|
}
|
|
9665
9569
|
},
|
|
9666
9570
|
destination: {
|
|
9667
9571
|
asset: movr,
|
|
9668
9572
|
chain: moonriver,
|
|
9669
|
-
balance:
|
|
9573
|
+
balance: BalanceBuilder48().substrate().system().account(),
|
|
9670
9574
|
fee: {
|
|
9671
|
-
amount:
|
|
9575
|
+
amount: FeeBuilder38().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9672
9576
|
asset: movr
|
|
9673
9577
|
}
|
|
9674
9578
|
},
|
|
9675
|
-
extrinsic:
|
|
9579
|
+
extrinsic: ExtrinsicBuilder35().polkadotXcm().limitedReserveTransferAssets().X2PalletInstance()
|
|
9676
9580
|
}
|
|
9677
9581
|
]
|
|
9678
9582
|
});
|
|
9679
9583
|
|
|
9680
9584
|
// src/xcm-configs/turingAlphanet.ts
|
|
9681
9585
|
import {
|
|
9682
|
-
BalanceBuilder as
|
|
9683
|
-
ExtrinsicBuilder as
|
|
9684
|
-
FeeBuilder as
|
|
9586
|
+
BalanceBuilder as BalanceBuilder49,
|
|
9587
|
+
ExtrinsicBuilder as ExtrinsicBuilder36,
|
|
9588
|
+
FeeBuilder as FeeBuilder39
|
|
9685
9589
|
} from "@moonbeam-network/xcm-builder";
|
|
9686
9590
|
var turingAlphanetRoutes = new ChainRoutes({
|
|
9687
9591
|
chain: turingAlphanet,
|
|
@@ -9689,57 +9593,57 @@ var turingAlphanetRoutes = new ChainRoutes({
|
|
|
9689
9593
|
{
|
|
9690
9594
|
source: {
|
|
9691
9595
|
asset: tur,
|
|
9692
|
-
balance:
|
|
9596
|
+
balance: BalanceBuilder49().substrate().system().account(),
|
|
9693
9597
|
fee: {
|
|
9694
9598
|
asset: tur,
|
|
9695
|
-
balance:
|
|
9599
|
+
balance: BalanceBuilder49().substrate().system().account()
|
|
9696
9600
|
},
|
|
9697
9601
|
destinationFee: {
|
|
9698
|
-
balance:
|
|
9602
|
+
balance: BalanceBuilder49().substrate().system().account()
|
|
9699
9603
|
}
|
|
9700
9604
|
},
|
|
9701
9605
|
destination: {
|
|
9702
9606
|
asset: tur,
|
|
9703
9607
|
chain: moonbaseAlpha,
|
|
9704
|
-
balance:
|
|
9608
|
+
balance: BalanceBuilder49().evm().erc20(),
|
|
9705
9609
|
fee: {
|
|
9706
|
-
amount:
|
|
9610
|
+
amount: FeeBuilder39().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9707
9611
|
asset: tur
|
|
9708
9612
|
}
|
|
9709
9613
|
},
|
|
9710
|
-
extrinsic:
|
|
9614
|
+
extrinsic: ExtrinsicBuilder36().xTokens().transferMultiAsset(turingAlphanet.parachainId).X1()
|
|
9711
9615
|
},
|
|
9712
9616
|
{
|
|
9713
9617
|
source: {
|
|
9714
9618
|
asset: dev,
|
|
9715
|
-
balance:
|
|
9619
|
+
balance: BalanceBuilder49().substrate().tokens().accounts(),
|
|
9716
9620
|
fee: {
|
|
9717
9621
|
asset: tur,
|
|
9718
|
-
balance:
|
|
9622
|
+
balance: BalanceBuilder49().substrate().system().account()
|
|
9719
9623
|
},
|
|
9720
9624
|
destinationFee: {
|
|
9721
|
-
balance:
|
|
9625
|
+
balance: BalanceBuilder49().substrate().tokens().accounts()
|
|
9722
9626
|
}
|
|
9723
9627
|
},
|
|
9724
9628
|
destination: {
|
|
9725
9629
|
asset: dev,
|
|
9726
9630
|
chain: moonbaseAlpha,
|
|
9727
|
-
balance:
|
|
9631
|
+
balance: BalanceBuilder49().substrate().system().account(),
|
|
9728
9632
|
fee: {
|
|
9729
|
-
amount:
|
|
9633
|
+
amount: FeeBuilder39().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9730
9634
|
asset: dev
|
|
9731
9635
|
}
|
|
9732
9636
|
},
|
|
9733
|
-
extrinsic:
|
|
9637
|
+
extrinsic: ExtrinsicBuilder36().xTokens().transfer()
|
|
9734
9638
|
}
|
|
9735
9639
|
]
|
|
9736
9640
|
});
|
|
9737
9641
|
|
|
9738
9642
|
// src/xcm-configs/zeitgeist.ts
|
|
9739
9643
|
import {
|
|
9740
|
-
BalanceBuilder as
|
|
9741
|
-
ExtrinsicBuilder as
|
|
9742
|
-
FeeBuilder as
|
|
9644
|
+
BalanceBuilder as BalanceBuilder50,
|
|
9645
|
+
ExtrinsicBuilder as ExtrinsicBuilder37,
|
|
9646
|
+
FeeBuilder as FeeBuilder40
|
|
9743
9647
|
} from "@moonbeam-network/xcm-builder";
|
|
9744
9648
|
var zeitgeistRoutes = new ChainRoutes({
|
|
9745
9649
|
chain: zeitgeist,
|
|
@@ -9747,71 +9651,71 @@ var zeitgeistRoutes = new ChainRoutes({
|
|
|
9747
9651
|
{
|
|
9748
9652
|
source: {
|
|
9749
9653
|
asset: ztg,
|
|
9750
|
-
balance:
|
|
9654
|
+
balance: BalanceBuilder50().substrate().system().account(),
|
|
9751
9655
|
fee: {
|
|
9752
9656
|
asset: ztg,
|
|
9753
|
-
balance:
|
|
9657
|
+
balance: BalanceBuilder50().substrate().system().account()
|
|
9754
9658
|
},
|
|
9755
9659
|
destinationFee: {
|
|
9756
|
-
balance:
|
|
9660
|
+
balance: BalanceBuilder50().substrate().system().account()
|
|
9757
9661
|
}
|
|
9758
9662
|
},
|
|
9759
9663
|
destination: {
|
|
9760
9664
|
asset: ztg,
|
|
9761
9665
|
chain: moonbeam,
|
|
9762
|
-
balance:
|
|
9666
|
+
balance: BalanceBuilder50().evm().erc20(),
|
|
9763
9667
|
fee: {
|
|
9764
|
-
amount:
|
|
9668
|
+
amount: FeeBuilder40().xcmPaymentApi().fromAssetIdQuery({ isAssetReserveChain: false }),
|
|
9765
9669
|
asset: ztg
|
|
9766
9670
|
}
|
|
9767
9671
|
},
|
|
9768
|
-
extrinsic:
|
|
9672
|
+
extrinsic: ExtrinsicBuilder37().xTokens().transfer()
|
|
9769
9673
|
},
|
|
9770
9674
|
{
|
|
9771
9675
|
source: {
|
|
9772
9676
|
asset: usdcwh,
|
|
9773
|
-
balance:
|
|
9677
|
+
balance: BalanceBuilder50().substrate().tokens().accounts(),
|
|
9774
9678
|
fee: {
|
|
9775
9679
|
asset: ztg,
|
|
9776
|
-
balance:
|
|
9680
|
+
balance: BalanceBuilder50().substrate().system().account()
|
|
9777
9681
|
},
|
|
9778
9682
|
destinationFee: {
|
|
9779
|
-
balance:
|
|
9683
|
+
balance: BalanceBuilder50().substrate().tokens().accounts()
|
|
9780
9684
|
}
|
|
9781
9685
|
},
|
|
9782
9686
|
destination: {
|
|
9783
9687
|
asset: usdcwh,
|
|
9784
9688
|
chain: moonbeam,
|
|
9785
|
-
balance:
|
|
9689
|
+
balance: BalanceBuilder50().evm().erc20(),
|
|
9786
9690
|
fee: {
|
|
9787
|
-
amount:
|
|
9691
|
+
amount: FeeBuilder40().xcmPaymentApi().fromPalletInstanceAndAccountKey20({ isAssetReserveChain: true }),
|
|
9788
9692
|
asset: glmr
|
|
9789
9693
|
}
|
|
9790
9694
|
},
|
|
9791
|
-
extrinsic:
|
|
9695
|
+
extrinsic: ExtrinsicBuilder37().xTokens().transferMultiCurrencies()
|
|
9792
9696
|
},
|
|
9793
9697
|
{
|
|
9794
9698
|
source: {
|
|
9795
9699
|
asset: glmr,
|
|
9796
|
-
balance:
|
|
9700
|
+
balance: BalanceBuilder50().substrate().tokens().accounts(),
|
|
9797
9701
|
fee: {
|
|
9798
9702
|
asset: ztg,
|
|
9799
|
-
balance:
|
|
9703
|
+
balance: BalanceBuilder50().substrate().system().account()
|
|
9800
9704
|
},
|
|
9801
9705
|
destinationFee: {
|
|
9802
|
-
balance:
|
|
9706
|
+
balance: BalanceBuilder50().substrate().tokens().accounts()
|
|
9803
9707
|
}
|
|
9804
9708
|
},
|
|
9805
9709
|
destination: {
|
|
9806
9710
|
asset: glmr,
|
|
9807
9711
|
chain: moonbeam,
|
|
9808
|
-
balance:
|
|
9712
|
+
balance: BalanceBuilder50().substrate().system().account(),
|
|
9809
9713
|
fee: {
|
|
9810
|
-
amount:
|
|
9714
|
+
amount: FeeBuilder40().xcmPaymentApi().fromPalletInstance({ isAssetReserveChain: true }),
|
|
9811
9715
|
asset: glmr
|
|
9812
9716
|
}
|
|
9813
9717
|
},
|
|
9814
|
-
extrinsic:
|
|
9718
|
+
extrinsic: ExtrinsicBuilder37().xTokens().transfer()
|
|
9815
9719
|
}
|
|
9816
9720
|
]
|
|
9817
9721
|
});
|
|
@@ -9836,7 +9740,6 @@ var xcmRoutesList = [
|
|
|
9836
9740
|
karuraRoutes,
|
|
9837
9741
|
kintsugiRoutes,
|
|
9838
9742
|
kusamaRoutes,
|
|
9839
|
-
mangataKusamaRoutes,
|
|
9840
9743
|
mantaParachainRoutes,
|
|
9841
9744
|
moonbaseAlphaRoutes2,
|
|
9842
9745
|
moonbaseBetaRoutes3,
|
|
@@ -9937,11 +9840,9 @@ export {
|
|
|
9937
9840
|
laosMainnet,
|
|
9938
9841
|
ldot,
|
|
9939
9842
|
lit,
|
|
9940
|
-
mangataKusama,
|
|
9941
9843
|
manta,
|
|
9942
9844
|
mantaParachain,
|
|
9943
9845
|
maos,
|
|
9944
|
-
mgx,
|
|
9945
9846
|
moonbaseAlpha,
|
|
9946
9847
|
moonbaseBeta,
|
|
9947
9848
|
moonbaseStage,
|