@paraspell/sdk-core 8.4.2 → 8.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -605,6 +605,7 @@ var Polkadot$2 = {
605
605
  {
606
606
  symbol: "DOT",
607
607
  decimals: 10,
608
+ isNative: true,
608
609
  existentialDeposit: "10000000000"
609
610
  }
610
611
  ],
@@ -620,6 +621,7 @@ var Kusama$2 = {
620
621
  {
621
622
  symbol: "KSM",
622
623
  decimals: 12,
624
+ isNative: true,
623
625
  existentialDeposit: "333333333"
624
626
  }
625
627
  ],
@@ -634,6 +636,7 @@ var Polimec$3 = {
634
636
  nativeAssets: [
635
637
  {
636
638
  symbol: "PLMC",
639
+ isNative: true,
637
640
  decimals: 10,
638
641
  existentialDeposit: "100000000"
639
642
  }
@@ -698,34 +701,110 @@ var Acala$3 = {
698
701
  supportsDryRunApi: false,
699
702
  nativeAssets: [
700
703
  {
704
+ isNative: true,
701
705
  symbol: "ACA",
702
706
  decimals: 12,
703
- existentialDeposit: "100000000000"
707
+ existentialDeposit: "100000000000",
708
+ multiLocation: {
709
+ parents: 1,
710
+ interior: {
711
+ X2: [
712
+ {
713
+ Parachain: 2000
714
+ },
715
+ {
716
+ GeneralKey: {
717
+ length: 2,
718
+ data: "0x0000000000000000000000000000000000000000000000000000000000000000"
719
+ }
720
+ }
721
+ ]
722
+ }
723
+ }
704
724
  },
705
725
  {
726
+ isNative: true,
706
727
  symbol: "aSEED",
707
728
  decimals: 12,
708
- existentialDeposit: "100000000000"
729
+ existentialDeposit: "100000000000",
730
+ multiLocation: {
731
+ parents: 1,
732
+ interior: {
733
+ X2: [
734
+ {
735
+ Parachain: 2000
736
+ },
737
+ {
738
+ GeneralKey: {
739
+ length: 2,
740
+ data: "0x0001000000000000000000000000000000000000000000000000000000000000"
741
+ }
742
+ }
743
+ ]
744
+ }
745
+ }
709
746
  },
710
747
  {
748
+ isNative: true,
711
749
  symbol: "TAP",
712
750
  decimals: 12,
713
751
  existentialDeposit: "1000000000000"
714
752
  },
715
753
  {
754
+ isNative: true,
716
755
  symbol: "LcDOT",
717
756
  decimals: 10,
718
- existentialDeposit: "100000000"
757
+ existentialDeposit: "100000000",
758
+ multiLocation: {
759
+ parents: 1,
760
+ interior: {
761
+ X2: [
762
+ {
763
+ Parachain: 2000
764
+ },
765
+ {
766
+ GeneralKey: {
767
+ length: 5,
768
+ data: "0x040d000000000000000000000000000000000000000000000000000000000000"
769
+ }
770
+ }
771
+ ]
772
+ }
773
+ }
719
774
  },
720
775
  {
776
+ isNative: true,
721
777
  symbol: "LDOT",
722
778
  decimals: 10,
723
- existentialDeposit: "500000000"
779
+ existentialDeposit: "500000000",
780
+ multiLocation: {
781
+ parents: 1,
782
+ interior: {
783
+ X2: [
784
+ {
785
+ Parachain: 2000
786
+ },
787
+ {
788
+ GeneralKey: {
789
+ length: 2,
790
+ data: "0x0003000000000000000000000000000000000000000000000000000000000000"
791
+ }
792
+ }
793
+ ]
794
+ }
795
+ }
724
796
  },
725
797
  {
798
+ isNative: true,
726
799
  symbol: "DOT",
727
800
  decimals: 10,
728
- existentialDeposit: "100000000"
801
+ existentialDeposit: "100000000",
802
+ multiLocation: {
803
+ parents: 1,
804
+ interior: {
805
+ Here: null
806
+ }
807
+ }
729
808
  }
730
809
  ],
731
810
  otherAssets: [
@@ -1147,6 +1226,7 @@ var BridgeHubPolkadot$3 = {
1147
1226
  nativeAssets: [
1148
1227
  {
1149
1228
  symbol: "DOT",
1229
+ isNative: true,
1150
1230
  decimals: 10,
1151
1231
  existentialDeposit: "1000000000"
1152
1232
  }
@@ -1162,6 +1242,7 @@ var BridgeHubKusama$3 = {
1162
1242
  nativeAssets: [
1163
1243
  {
1164
1244
  symbol: "KSM",
1245
+ isNative: true,
1165
1246
  decimals: 12,
1166
1247
  existentialDeposit: "33333333"
1167
1248
  }
@@ -1177,6 +1258,7 @@ var Astar$3 = {
1177
1258
  nativeAssets: [
1178
1259
  {
1179
1260
  symbol: "ASTR",
1261
+ isNative: true,
1180
1262
  decimals: 18,
1181
1263
  existentialDeposit: "1000000"
1182
1264
  }
@@ -1789,12 +1871,46 @@ var BifrostPolkadot$3 = {
1789
1871
  {
1790
1872
  symbol: "BNC",
1791
1873
  decimals: 12,
1792
- existentialDeposit: "10000000000"
1874
+ existentialDeposit: "10000000000",
1875
+ isNative: true,
1876
+ multiLocation: {
1877
+ parents: 1,
1878
+ interior: {
1879
+ X2: [
1880
+ {
1881
+ Parachain: 2030
1882
+ },
1883
+ {
1884
+ GeneralKey: {
1885
+ length: 2,
1886
+ data: "0x0001000000000000000000000000000000000000000000000000000000000000"
1887
+ }
1888
+ }
1889
+ ]
1890
+ }
1891
+ }
1793
1892
  },
1794
1893
  {
1795
1894
  symbol: "vBNC",
1796
1895
  decimals: 12,
1797
- existentialDeposit: "10000000000"
1896
+ existentialDeposit: "10000000000",
1897
+ isNative: true,
1898
+ multiLocation: {
1899
+ parents: 1,
1900
+ interior: {
1901
+ X2: [
1902
+ {
1903
+ Parachain: 2030
1904
+ },
1905
+ {
1906
+ GeneralKey: {
1907
+ length: 2,
1908
+ data: "0x0101000000000000000000000000000000000000000000000000000000000000"
1909
+ }
1910
+ }
1911
+ ]
1912
+ }
1913
+ }
1798
1914
  }
1799
1915
  ],
1800
1916
  otherAssets: [
@@ -2220,6 +2336,7 @@ var Bitgreen$3 = {
2220
2336
  nativeAssets: [
2221
2337
  {
2222
2338
  symbol: "BBB",
2339
+ isNative: true,
2223
2340
  decimals: 18,
2224
2341
  existentialDeposit: "1000000000"
2225
2342
  }
@@ -2235,8 +2352,25 @@ var Centrifuge$3 = {
2235
2352
  nativeAssets: [
2236
2353
  {
2237
2354
  symbol: "CFG",
2355
+ isNative: true,
2238
2356
  decimals: 18,
2239
- existentialDeposit: "1000000000000"
2357
+ existentialDeposit: "1000000000000",
2358
+ multiLocation: {
2359
+ parents: 1,
2360
+ interior: {
2361
+ X2: [
2362
+ {
2363
+ Parachain: 2031
2364
+ },
2365
+ {
2366
+ GeneralKey: {
2367
+ length: 2,
2368
+ data: "0x0001000000000000000000000000000000000000000000000000000000000000"
2369
+ }
2370
+ }
2371
+ ]
2372
+ }
2373
+ }
2240
2374
  }
2241
2375
  ],
2242
2376
  otherAssets: [
@@ -2539,6 +2673,7 @@ var Subsocial$3 = {
2539
2673
  nativeAssets: [
2540
2674
  {
2541
2675
  symbol: "SUB",
2676
+ isNative: true,
2542
2677
  decimals: 10,
2543
2678
  existentialDeposit: "100000000"
2544
2679
  }
@@ -2554,6 +2689,7 @@ var ComposableFinance$3 = {
2554
2689
  nativeAssets: [
2555
2690
  {
2556
2691
  symbol: "LAYR",
2692
+ isNative: true,
2557
2693
  decimals: 12,
2558
2694
  existentialDeposit: "100000000000"
2559
2695
  }
@@ -2721,8 +2857,22 @@ var Darwinia$3 = {
2721
2857
  nativeAssets: [
2722
2858
  {
2723
2859
  symbol: "RING",
2860
+ isNative: true,
2724
2861
  decimals: 18,
2725
- existentialDeposit: "0"
2862
+ existentialDeposit: "0",
2863
+ multiLocation: {
2864
+ parents: 1,
2865
+ interior: {
2866
+ X2: [
2867
+ {
2868
+ Parachain: 2046
2869
+ },
2870
+ {
2871
+ PalletInstance: 5
2872
+ }
2873
+ ]
2874
+ }
2875
+ }
2726
2876
  }
2727
2877
  ],
2728
2878
  otherAssets: [
@@ -2792,8 +2942,22 @@ var Hydration$3 = {
2792
2942
  nativeAssets: [
2793
2943
  {
2794
2944
  symbol: "HDX",
2945
+ isNative: true,
2795
2946
  decimals: 12,
2796
- existentialDeposit: "1000000000000"
2947
+ existentialDeposit: "1000000000000",
2948
+ multiLocation: {
2949
+ parents: 1,
2950
+ interior: {
2951
+ X2: [
2952
+ {
2953
+ Parachain: 2034
2954
+ },
2955
+ {
2956
+ GeneralIndex: 0
2957
+ }
2958
+ ]
2959
+ }
2960
+ }
2797
2961
  }
2798
2962
  ],
2799
2963
  otherAssets: [
@@ -4128,31 +4292,69 @@ var Interlay$3 = {
4128
4292
  nativeAssets: [
4129
4293
  {
4130
4294
  symbol: "INTR",
4295
+ isNative: true,
4131
4296
  decimals: 10,
4132
- existentialDeposit: "0"
4297
+ existentialDeposit: "0",
4298
+ multiLocation: {
4299
+ parents: 1,
4300
+ interior: {
4301
+ X2: [
4302
+ {
4303
+ Parachain: 2032
4304
+ },
4305
+ {
4306
+ GeneralKey: {
4307
+ length: 2,
4308
+ data: "0x0002000000000000000000000000000000000000000000000000000000000000"
4309
+ }
4310
+ }
4311
+ ]
4312
+ }
4313
+ }
4133
4314
  },
4134
4315
  {
4135
4316
  symbol: "IBTC",
4317
+ isNative: true,
4136
4318
  decimals: 8,
4137
- existentialDeposit: "0"
4319
+ existentialDeposit: "0",
4320
+ multiLocation: {
4321
+ parents: 1,
4322
+ interior: {
4323
+ X2: [
4324
+ {
4325
+ Parachain: 2032
4326
+ },
4327
+ {
4328
+ GeneralKey: {
4329
+ length: 2,
4330
+ data: "0x0001000000000000000000000000000000000000000000000000000000000000"
4331
+ }
4332
+ }
4333
+ ]
4334
+ }
4335
+ }
4138
4336
  },
4139
4337
  {
4140
4338
  symbol: "DOT",
4339
+ isNative: true,
4141
4340
  decimals: 10,
4142
4341
  existentialDeposit: "0"
4143
4342
  },
4144
4343
  {
4145
4344
  symbol: "KINT",
4345
+ isNative: true,
4146
4346
  decimals: 12,
4147
4347
  existentialDeposit: "0"
4148
4348
  },
4149
4349
  {
4150
4350
  symbol: "KBTC",
4351
+ isNative: true,
4151
4352
  decimals: 8,
4152
4353
  existentialDeposit: "0"
4153
4354
  },
4154
4355
  {
4155
4356
  symbol: "KSM",
4357
+ isNative: true,
4156
4358
  decimals: 12,
4157
4359
  existentialDeposit: "0"
4158
4360
  }
@@ -4505,6 +4707,7 @@ var Litentry$3 = {
4505
4707
  nativeAssets: [
4506
4708
  {
4507
4709
  symbol: "HEI",
4710
+ isNative: true,
4508
4711
  decimals: 18,
4509
4712
  existentialDeposit: "100000000000000000"
4510
4713
  }
@@ -4520,8 +4723,22 @@ var Moonbeam$3 = {
4520
4723
  nativeAssets: [
4521
4724
  {
4522
4725
  symbol: "GLMR",
4726
+ isNative: true,
4523
4727
  decimals: 18,
4524
- existentialDeposit: "0"
4728
+ existentialDeposit: "0",
4729
+ multiLocation: {
4730
+ parents: 1,
4731
+ interior: {
4732
+ X2: [
4733
+ {
4734
+ Parachain: 2004
4735
+ },
4736
+ {
4737
+ PalletInstance: 10
4738
+ }
4739
+ ]
4740
+ }
4741
+ }
4525
4742
  }
4526
4743
  ],
4527
4744
  otherAssets: [
@@ -5514,8 +5731,25 @@ var Parallel$3 = {
5514
5731
  nativeAssets: [
5515
5732
  {
5516
5733
  symbol: "PARA",
5734
+ isNative: true,
5517
5735
  decimals: 12,
5518
- existentialDeposit: "100000000000"
5736
+ existentialDeposit: "100000000000",
5737
+ multiLocation: {
5738
+ parents: 1,
5739
+ interior: {
5740
+ X2: [
5741
+ {
5742
+ Parachain: 2012
5743
+ },
5744
+ {
5745
+ GeneralKey: {
5746
+ length: 4,
5747
+ data: "0x5041524100000000000000000000000000000000000000000000000000000000"
5748
+ }
5749
+ }
5750
+ ]
5751
+ }
5752
+ }
5519
5753
  }
5520
5754
  ],
5521
5755
  otherAssets: [
@@ -5852,6 +6086,7 @@ var AssetHubPolkadot$3 = {
5852
6086
  nativeAssets: [
5853
6087
  {
5854
6088
  symbol: "DOT",
6089
+ isNative: true,
5855
6090
  decimals: 10,
5856
6091
  existentialDeposit: "100000000"
5857
6092
  },
@@ -6338,6 +6573,25 @@ var AssetHubPolkadot$3 = {
6338
6573
  },
6339
6574
  existentialDeposit: "1"
6340
6575
  },
6576
+ {
6577
+ symbol: "ETH",
6578
+ decimals: 18,
6579
+ multiLocation: {
6580
+ parents: 2,
6581
+ interior: {
6582
+ X1: [
6583
+ {
6584
+ GlobalConsensus: {
6585
+ Ethereum: {
6586
+ chainId: 1
6587
+ }
6588
+ }
6589
+ }
6590
+ ]
6591
+ }
6592
+ },
6593
+ existentialDeposit: "15000000000000"
6594
+ },
6341
6595
  {
6342
6596
  symbol: "AJUN",
6343
6597
  decimals: 12,
@@ -6363,24 +6617,41 @@ var Altair$3 = {
6363
6617
  nativeAssets: [
6364
6618
  {
6365
6619
  symbol: "AIR",
6620
+ isNative: true,
6366
6621
  decimals: 18,
6367
- existentialDeposit: "1000000000000"
6368
- }
6369
- ],
6370
- otherAssets: [
6371
- {
6372
- assetId: "3",
6373
- symbol: "KSM",
6374
- decimals: 12,
6622
+ existentialDeposit: "1000000000000",
6375
6623
  multiLocation: {
6376
6624
  parents: 1,
6377
6625
  interior: {
6378
- Here: null
6379
- }
6380
- },
6381
- existentialDeposit: "10000000000"
6382
- },
6383
- {
6626
+ X2: [
6627
+ {
6628
+ Parachain: 2088
6629
+ },
6630
+ {
6631
+ GeneralKey: {
6632
+ length: 2,
6633
+ data: "0x0001000000000000000000000000000000000000000000000000000000000000"
6634
+ }
6635
+ }
6636
+ ]
6637
+ }
6638
+ }
6639
+ }
6640
+ ],
6641
+ otherAssets: [
6642
+ {
6643
+ assetId: "3",
6644
+ symbol: "KSM",
6645
+ decimals: 12,
6646
+ multiLocation: {
6647
+ parents: 1,
6648
+ interior: {
6649
+ Here: null
6650
+ }
6651
+ },
6652
+ existentialDeposit: "10000000000"
6653
+ },
6654
+ {
6384
6655
  assetId: "1",
6385
6656
  symbol: "USDT",
6386
6657
  decimals: 6,
@@ -6434,6 +6705,7 @@ var Amplitude$3 = {
6434
6705
  nativeAssets: [
6435
6706
  {
6436
6707
  symbol: "AMPE",
6708
+ isNative: true,
6437
6709
  decimals: 12,
6438
6710
  existentialDeposit: "1000000000"
6439
6711
  }
@@ -6467,6 +6739,7 @@ var Bajun$3 = {
6467
6739
  nativeAssets: [
6468
6740
  {
6469
6741
  symbol: "BAJU",
6742
+ isNative: true,
6470
6743
  decimals: 12,
6471
6744
  existentialDeposit: "1000000000"
6472
6745
  }
@@ -6482,6 +6755,7 @@ var Basilisk$3 = {
6482
6755
  nativeAssets: [
6483
6756
  {
6484
6757
  symbol: "BSX",
6758
+ isNative: true,
6485
6759
  decimals: 12,
6486
6760
  existentialDeposit: "1000000000000"
6487
6761
  }
@@ -6697,52 +6971,201 @@ var BifrostKusama$3 = {
6697
6971
  {
6698
6972
  symbol: "BNC",
6699
6973
  decimals: 12,
6700
- existentialDeposit: "10000000000"
6974
+ existentialDeposit: "10000000000",
6975
+ isNative: true,
6976
+ multiLocation: {
6977
+ parents: 1,
6978
+ interior: {
6979
+ X2: [
6980
+ {
6981
+ Parachain: 2001
6982
+ },
6983
+ {
6984
+ GeneralKey: {
6985
+ length: 2,
6986
+ data: "0x0001000000000000000000000000000000000000000000000000000000000000"
6987
+ }
6988
+ }
6989
+ ]
6990
+ }
6991
+ }
6701
6992
  },
6702
6993
  {
6703
6994
  symbol: "KSM",
6704
6995
  decimals: 12,
6705
- existentialDeposit: "100000000"
6996
+ existentialDeposit: "100000000",
6997
+ isNative: true,
6998
+ multiLocation: {
6999
+ parents: 1,
7000
+ interior: {
7001
+ Here: null
7002
+ }
7003
+ }
6706
7004
  },
6707
7005
  {
6708
7006
  symbol: "RMRK",
6709
7007
  decimals: 10,
6710
- existentialDeposit: "10000"
7008
+ existentialDeposit: "10000",
7009
+ isNative: true,
7010
+ multiLocation: {
7011
+ parents: 1,
7012
+ interior: {
7013
+ X3: [
7014
+ {
7015
+ Parachain: 1000
7016
+ },
7017
+ {
7018
+ PalletInstance: 50
7019
+ },
7020
+ {
7021
+ GeneralIndex: 8
7022
+ }
7023
+ ]
7024
+ }
7025
+ }
6711
7026
  },
6712
7027
  {
6713
7028
  symbol: "vBNC",
6714
7029
  decimals: 12,
6715
- existentialDeposit: "10000000000"
7030
+ existentialDeposit: "10000000000",
7031
+ isNative: true,
7032
+ multiLocation: {
7033
+ parents: 1,
7034
+ interior: {
7035
+ X2: [
7036
+ {
7037
+ Parachain: 2001
7038
+ },
7039
+ {
7040
+ GeneralKey: {
7041
+ length: 2,
7042
+ data: "0x0101000000000000000000000000000000000000000000000000000000000000"
7043
+ }
7044
+ }
7045
+ ]
7046
+ }
7047
+ }
6716
7048
  },
6717
7049
  {
6718
7050
  symbol: "vMOVR",
6719
7051
  decimals: 18,
6720
- existentialDeposit: "1000000000000"
7052
+ existentialDeposit: "1000000000000",
7053
+ isNative: true,
7054
+ multiLocation: {
7055
+ parents: 1,
7056
+ interior: {
7057
+ X2: [
7058
+ {
7059
+ Parachain: 2001
7060
+ },
7061
+ {
7062
+ GeneralKey: {
7063
+ length: 2,
7064
+ data: "0x010a000000000000000000000000000000000000000000000000000000000000"
7065
+ }
7066
+ }
7067
+ ]
7068
+ }
7069
+ }
6721
7070
  },
6722
7071
  {
6723
7072
  symbol: "vKSM",
6724
7073
  decimals: 12,
6725
- existentialDeposit: "100000000"
7074
+ existentialDeposit: "100000000",
7075
+ isNative: true,
7076
+ multiLocation: {
7077
+ parents: 1,
7078
+ interior: {
7079
+ X2: [
7080
+ {
7081
+ Parachain: 2001
7082
+ },
7083
+ {
7084
+ GeneralKey: {
7085
+ length: 2,
7086
+ data: "0x0104000000000000000000000000000000000000000000000000000000000000"
7087
+ }
7088
+ }
7089
+ ]
7090
+ }
7091
+ }
6726
7092
  },
6727
7093
  {
6728
7094
  symbol: "MOVR",
6729
7095
  decimals: 18,
6730
- existentialDeposit: "1000000000000"
7096
+ existentialDeposit: "1000000000000",
7097
+ isNative: true,
7098
+ multiLocation: {
7099
+ parents: 1,
7100
+ interior: {
7101
+ X2: [
7102
+ {
7103
+ Parachain: 2023
7104
+ },
7105
+ {
7106
+ PalletInstance: 10
7107
+ }
7108
+ ]
7109
+ }
7110
+ }
6731
7111
  },
6732
7112
  {
6733
7113
  symbol: "ZLK",
6734
7114
  decimals: 18,
6735
- existentialDeposit: "1000000000000"
7115
+ existentialDeposit: "1000000000000",
7116
+ isNative: true,
7117
+ multiLocation: {
7118
+ parents: 1,
7119
+ interior: {
7120
+ X2: [
7121
+ {
7122
+ Parachain: 2001
7123
+ },
7124
+ {
7125
+ GeneralKey: {
7126
+ length: 2,
7127
+ data: "0x0207000000000000000000000000000000000000000000000000000000000000"
7128
+ }
7129
+ }
7130
+ ]
7131
+ }
7132
+ }
6736
7133
  },
6737
7134
  {
6738
7135
  symbol: "PHA",
6739
7136
  decimals: 12,
6740
- existentialDeposit: "40000000000"
7137
+ existentialDeposit: "40000000000",
7138
+ isNative: true,
7139
+ multiLocation: {
7140
+ parents: 1,
7141
+ interior: {
7142
+ X1: {
7143
+ Parachain: 2004
7144
+ }
7145
+ }
7146
+ }
6741
7147
  },
6742
7148
  {
6743
7149
  symbol: "KAR",
6744
7150
  decimals: 12,
6745
- existentialDeposit: "100000000"
7151
+ existentialDeposit: "100000000",
7152
+ isNative: true,
7153
+ multiLocation: {
7154
+ parents: 1,
7155
+ interior: {
7156
+ X2: [
7157
+ {
7158
+ Parachain: 2000
7159
+ },
7160
+ {
7161
+ GeneralKey: {
7162
+ length: 2,
7163
+ data: "0x0080000000000000000000000000000000000000000000000000000000000000"
7164
+ }
7165
+ }
7166
+ ]
7167
+ }
7168
+ }
6746
7169
  }
6747
7170
  ],
6748
7171
  otherAssets: [
@@ -6858,8 +7281,17 @@ var Calamari$3 = {
6858
7281
  nativeAssets: [
6859
7282
  {
6860
7283
  symbol: "KMA",
7284
+ isNative: true,
6861
7285
  decimals: 12,
6862
- existentialDeposit: "100000000000"
7286
+ existentialDeposit: "100000000000",
7287
+ multiLocation: {
7288
+ parents: 1,
7289
+ interior: {
7290
+ X1: {
7291
+ Parachain: 2084
7292
+ }
7293
+ }
7294
+ }
6863
7295
  }
6864
7296
  ],
6865
7297
  otherAssets: [
@@ -7292,8 +7724,22 @@ var Crab$3 = {
7292
7724
  nativeAssets: [
7293
7725
  {
7294
7726
  symbol: "CRAB",
7727
+ isNative: true,
7295
7728
  decimals: 18,
7296
- existentialDeposit: "0"
7729
+ existentialDeposit: "0",
7730
+ multiLocation: {
7731
+ parents: 1,
7732
+ interior: {
7733
+ X2: [
7734
+ {
7735
+ Parachain: 2105
7736
+ },
7737
+ {
7738
+ PalletInstance: 5
7739
+ }
7740
+ ]
7741
+ }
7742
+ }
7297
7743
  }
7298
7744
  ],
7299
7745
  otherAssets: [
@@ -7313,8 +7759,17 @@ var CrustShadow$3 = {
7313
7759
  nativeAssets: [
7314
7760
  {
7315
7761
  symbol: "CSM",
7762
+ isNative: true,
7316
7763
  decimals: 12,
7317
- existentialDeposit: "100000000000"
7764
+ existentialDeposit: "100000000000",
7765
+ multiLocation: {
7766
+ parents: 1,
7767
+ interior: {
7768
+ X1: {
7769
+ Parachain: 2012
7770
+ }
7771
+ }
7772
+ }
7318
7773
  }
7319
7774
  ],
7320
7775
  otherAssets: [
@@ -7370,6 +7825,7 @@ var Encointer$3 = {
7370
7825
  nativeAssets: [
7371
7826
  {
7372
7827
  symbol: "KSM",
7828
+ isNative: true,
7373
7829
  decimals: 12,
7374
7830
  existentialDeposit: "33333333"
7375
7831
  }
@@ -7385,8 +7841,25 @@ var Imbue$3 = {
7385
7841
  nativeAssets: [
7386
7842
  {
7387
7843
  symbol: "IMBU",
7844
+ isNative: true,
7388
7845
  decimals: 12,
7389
- existentialDeposit: "1000000"
7846
+ existentialDeposit: "1000000",
7847
+ multiLocation: {
7848
+ parents: 1,
7849
+ interior: {
7850
+ X2: [
7851
+ {
7852
+ Parachain: 2121
7853
+ },
7854
+ {
7855
+ GeneralKey: {
7856
+ length: 2,
7857
+ data: "0x0096000000000000000000000000000000000000000000000000000000000000"
7858
+ }
7859
+ }
7860
+ ]
7861
+ }
7862
+ }
7390
7863
  }
7391
7864
  ],
7392
7865
  otherAssets: [
@@ -7400,6 +7873,7 @@ var KiltSpiritnet$3 = {
7400
7873
  nativeAssets: [
7401
7874
  {
7402
7875
  symbol: "KILT",
7876
+ isNative: true,
7403
7877
  decimals: 15,
7404
7878
  existentialDeposit: "10000000000000"
7405
7879
  }
@@ -7416,6 +7890,7 @@ var InvArchTinker$3 = {
7416
7890
  {
7417
7891
  symbol: "TNKR",
7418
7892
  decimals: 12,
7893
+ isNative: true,
7419
7894
  existentialDeposit: "1000000000"
7420
7895
  }
7421
7896
  ],
@@ -7429,11 +7904,13 @@ var Curio$3 = {
7429
7904
  supportsDryRunApi: false,
7430
7905
  nativeAssets: [
7431
7906
  {
7907
+ isNative: true,
7432
7908
  symbol: "CGT",
7433
7909
  decimals: 18,
7434
7910
  existentialDeposit: "10000000000000000"
7435
7911
  },
7436
7912
  {
7913
+ isNative: true,
7437
7914
  symbol: "KSM",
7438
7915
  decimals: 12,
7439
7916
  existentialDeposit: "333333333"
@@ -7473,54 +7950,150 @@ var Karura$3 = {
7473
7950
  supportsDryRunApi: false,
7474
7951
  nativeAssets: [
7475
7952
  {
7953
+ isNative: true,
7476
7954
  symbol: "KAR",
7477
7955
  decimals: 12,
7478
- existentialDeposit: "100000000000"
7956
+ existentialDeposit: "100000000000",
7957
+ multiLocation: {
7958
+ parents: 1,
7959
+ interior: {
7960
+ X2: [
7961
+ {
7962
+ Parachain: 2000
7963
+ },
7964
+ {
7965
+ GeneralKey: {
7966
+ length: 2,
7967
+ data: "0x0080000000000000000000000000000000000000000000000000000000000000"
7968
+ }
7969
+ }
7970
+ ]
7971
+ }
7972
+ }
7479
7973
  },
7480
7974
  {
7975
+ isNative: true,
7481
7976
  symbol: "LKSM",
7482
7977
  decimals: 12,
7483
- existentialDeposit: "500000000"
7978
+ existentialDeposit: "500000000",
7979
+ multiLocation: {
7980
+ parents: 1,
7981
+ interior: {
7982
+ X2: [
7983
+ {
7984
+ Parachain: 2000
7985
+ },
7986
+ {
7987
+ GeneralKey: {
7988
+ length: 2,
7989
+ data: "0x0083000000000000000000000000000000000000000000000000000000000000"
7990
+ }
7991
+ }
7992
+ ]
7993
+ }
7994
+ }
7484
7995
  },
7485
7996
  {
7997
+ isNative: true,
7486
7998
  symbol: "BNC",
7487
7999
  decimals: 12,
7488
8000
  existentialDeposit: "8000000000"
7489
8001
  },
7490
8002
  {
8003
+ isNative: true,
7491
8004
  symbol: "TAI",
7492
8005
  decimals: 12,
7493
8006
  existentialDeposit: "1000000000000"
7494
8007
  },
7495
8008
  {
8009
+ isNative: true,
7496
8010
  symbol: "PHA",
7497
8011
  decimals: 12,
7498
8012
  existentialDeposit: "40000000000"
7499
8013
  },
7500
8014
  {
8015
+ isNative: true,
7501
8016
  symbol: "KINT",
7502
8017
  decimals: 12,
7503
- existentialDeposit: "133330000"
8018
+ existentialDeposit: "133330000",
8019
+ multiLocation: {
8020
+ parents: 1,
8021
+ interior: {
8022
+ X2: [
8023
+ {
8024
+ Parachain: 2092
8025
+ },
8026
+ {
8027
+ GeneralKey: {
8028
+ length: 2,
8029
+ data: "0x000c000000000000000000000000000000000000000000000000000000000000"
8030
+ }
8031
+ }
8032
+ ]
8033
+ }
8034
+ }
7504
8035
  },
7505
8036
  {
8037
+ isNative: true,
7506
8038
  symbol: "VSKSM",
7507
8039
  decimals: 12,
7508
8040
  existentialDeposit: "100000000"
7509
8041
  },
7510
8042
  {
8043
+ isNative: true,
7511
8044
  symbol: "KSM",
7512
8045
  decimals: 12,
7513
- existentialDeposit: "100000000"
8046
+ existentialDeposit: "100000000",
8047
+ multiLocation: {
8048
+ parents: 1,
8049
+ interior: {
8050
+ Here: null
8051
+ }
8052
+ }
7514
8053
  },
7515
8054
  {
8055
+ isNative: true,
7516
8056
  symbol: "aSEED",
7517
8057
  decimals: 12,
7518
- existentialDeposit: "10000000000"
8058
+ existentialDeposit: "10000000000",
8059
+ multiLocation: {
8060
+ parents: 1,
8061
+ interior: {
8062
+ X2: [
8063
+ {
8064
+ Parachain: 2000
8065
+ },
8066
+ {
8067
+ GeneralKey: {
8068
+ length: 2,
8069
+ data: "0x0081000000000000000000000000000000000000000000000000000000000000"
8070
+ }
8071
+ }
8072
+ ]
8073
+ }
8074
+ }
7519
8075
  },
7520
8076
  {
8077
+ isNative: true,
7521
8078
  symbol: "KBTC",
7522
8079
  decimals: 8,
7523
- existentialDeposit: "66"
8080
+ existentialDeposit: "66",
8081
+ multiLocation: {
8082
+ parents: 1,
8083
+ interior: {
8084
+ X2: [
8085
+ {
8086
+ Parachain: 2092
8087
+ },
8088
+ {
8089
+ GeneralKey: {
8090
+ length: 2,
8091
+ data: "0x000b000000000000000000000000000000000000000000000000000000000000"
8092
+ }
8093
+ }
8094
+ ]
8095
+ }
8096
+ }
7524
8097
  }
7525
8098
  ],
7526
8099
  otherAssets: [
@@ -7936,31 +8509,69 @@ var Kintsugi$3 = {
7936
8509
  nativeAssets: [
7937
8510
  {
7938
8511
  symbol: "KINT",
8512
+ isNative: true,
7939
8513
  decimals: 12,
7940
- existentialDeposit: "0"
8514
+ existentialDeposit: "0",
8515
+ multiLocation: {
8516
+ parents: 1,
8517
+ interior: {
8518
+ X2: [
8519
+ {
8520
+ Parachain: 2092
8521
+ },
8522
+ {
8523
+ GeneralKey: {
8524
+ length: 2,
8525
+ data: "0x000c000000000000000000000000000000000000000000000000000000000000"
8526
+ }
8527
+ }
8528
+ ]
8529
+ }
8530
+ }
7941
8531
  },
7942
8532
  {
7943
8533
  symbol: "KBTC",
8534
+ isNative: true,
7944
8535
  decimals: 8,
7945
- existentialDeposit: "0"
8536
+ existentialDeposit: "0",
8537
+ multiLocation: {
8538
+ parents: 1,
8539
+ interior: {
8540
+ X2: [
8541
+ {
8542
+ Parachain: 2092
8543
+ },
8544
+ {
8545
+ GeneralKey: {
8546
+ length: 2,
8547
+ data: "0x000b000000000000000000000000000000000000000000000000000000000000"
8548
+ }
8549
+ }
8550
+ ]
8551
+ }
8552
+ }
7946
8553
  },
7947
8554
  {
7948
8555
  symbol: "KSM",
8556
+ isNative: true,
7949
8557
  decimals: 12,
7950
8558
  existentialDeposit: "0"
7951
8559
  },
7952
8560
  {
7953
8561
  symbol: "INTR",
8562
+ isNative: true,
7954
8563
  decimals: 10,
7955
8564
  existentialDeposit: "0"
7956
8565
  },
7957
8566
  {
7958
8567
  symbol: "IBTC",
8568
+ isNative: true,
7959
8569
  decimals: 8,
7960
8570
  existentialDeposit: "0"
7961
8571
  },
7962
8572
  {
7963
8573
  symbol: "DOT",
8574
+ isNative: true,
7964
8575
  decimals: 10,
7965
8576
  existentialDeposit: "0"
7966
8577
  }
@@ -8103,6 +8714,7 @@ var Litmus = {
8103
8714
  nativeAssets: [
8104
8715
  {
8105
8716
  symbol: "LIT",
8717
+ isNative: true,
8106
8718
  decimals: 18
8107
8719
  }
8108
8720
  ],
@@ -8117,8 +8729,22 @@ var Moonriver$3 = {
8117
8729
  nativeAssets: [
8118
8730
  {
8119
8731
  symbol: "MOVR",
8732
+ isNative: true,
8120
8733
  decimals: 18,
8121
- existentialDeposit: "0"
8734
+ existentialDeposit: "0",
8735
+ multiLocation: {
8736
+ parents: 1,
8737
+ interior: {
8738
+ X2: [
8739
+ {
8740
+ Parachain: 2023
8741
+ },
8742
+ {
8743
+ PalletInstance: 10
8744
+ }
8745
+ ]
8746
+ }
8747
+ }
8122
8748
  }
8123
8749
  ],
8124
8750
  otherAssets: [
@@ -8585,8 +9211,25 @@ var ParallelHeiko$3 = {
8585
9211
  nativeAssets: [
8586
9212
  {
8587
9213
  symbol: "HKO",
9214
+ isNative: true,
8588
9215
  decimals: 12,
8589
- existentialDeposit: "10000000000"
9216
+ existentialDeposit: "10000000000",
9217
+ multiLocation: {
9218
+ parents: 1,
9219
+ interior: {
9220
+ X2: [
9221
+ {
9222
+ Parachain: 2085
9223
+ },
9224
+ {
9225
+ GeneralKey: {
9226
+ length: 3,
9227
+ data: "0x484b4f0000000000000000000000000000000000000000000000000000000000"
9228
+ }
9229
+ }
9230
+ ]
9231
+ }
9232
+ }
8590
9233
  }
8591
9234
  ],
8592
9235
  otherAssets: [
@@ -8777,8 +9420,17 @@ var Picasso$3 = {
8777
9420
  nativeAssets: [
8778
9421
  {
8779
9422
  symbol: "PICA",
9423
+ isNative: true,
8780
9424
  decimals: 12,
8781
- existentialDeposit: "100000000000"
9425
+ existentialDeposit: "100000000000",
9426
+ multiLocation: {
9427
+ parents: 1,
9428
+ interior: {
9429
+ X1: {
9430
+ Parachain: 2087
9431
+ }
9432
+ }
9433
+ }
8782
9434
  }
8783
9435
  ],
8784
9436
  otherAssets: [
@@ -9212,8 +9864,17 @@ var Quartz$3 = {
9212
9864
  nativeAssets: [
9213
9865
  {
9214
9866
  symbol: "QTZ",
9867
+ isNative: true,
9215
9868
  decimals: 18,
9216
- existentialDeposit: "0"
9869
+ existentialDeposit: "0",
9870
+ multiLocation: {
9871
+ parents: 1,
9872
+ interior: {
9873
+ X1: {
9874
+ Parachain: 2095
9875
+ }
9876
+ }
9877
+ }
9217
9878
  }
9218
9879
  ],
9219
9880
  otherAssets: [
@@ -9227,8 +9888,17 @@ var RobonomicsKusama$3 = {
9227
9888
  nativeAssets: [
9228
9889
  {
9229
9890
  symbol: "XRT",
9891
+ isNative: true,
9230
9892
  decimals: 9,
9231
- existentialDeposit: "1000"
9893
+ existentialDeposit: "1000",
9894
+ multiLocation: {
9895
+ parents: 1,
9896
+ interior: {
9897
+ X1: {
9898
+ Parachain: 2048
9899
+ }
9900
+ }
9901
+ }
9232
9902
  }
9233
9903
  ],
9234
9904
  otherAssets: [
@@ -9254,6 +9924,7 @@ var RobonomicsPolkadot$3 = {
9254
9924
  nativeAssets: [
9255
9925
  {
9256
9926
  symbol: "XRT",
9927
+ isNative: true,
9257
9928
  decimals: 9,
9258
9929
  existentialDeposit: "1000"
9259
9930
  }
@@ -9275,6 +9946,7 @@ var PeopleKusama$3 = {
9275
9946
  nativeAssets: [
9276
9947
  {
9277
9948
  symbol: "KSM",
9949
+ isNative: true,
9278
9950
  decimals: 12,
9279
9951
  existentialDeposit: "33333333"
9280
9952
  }
@@ -9290,6 +9962,7 @@ var PeoplePolkadot$3 = {
9290
9962
  nativeAssets: [
9291
9963
  {
9292
9964
  symbol: "DOT",
9965
+ isNative: true,
9293
9966
  decimals: 10,
9294
9967
  existentialDeposit: "1000000000"
9295
9968
  }
@@ -9306,6 +9979,7 @@ var Shiden$3 = {
9306
9979
  {
9307
9980
  symbol: "SDN",
9308
9981
  decimals: 18,
9982
+ isNative: true,
9309
9983
  existentialDeposit: "1000000"
9310
9984
  }
9311
9985
  ],
@@ -9646,6 +10320,7 @@ var AssetHubKusama$3 = {
9646
10320
  nativeAssets: [
9647
10321
  {
9648
10322
  symbol: "KSM",
10323
+ isNative: true,
9649
10324
  decimals: 12,
9650
10325
  existentialDeposit: "3333333"
9651
10326
  },
@@ -9829,6 +10504,7 @@ var CoretimeKusama$3 = {
9829
10504
  nativeAssets: [
9830
10505
  {
9831
10506
  symbol: "KSM",
10507
+ isNative: true,
9832
10508
  decimals: 12,
9833
10509
  existentialDeposit: "33333333"
9834
10510
  }
@@ -9844,6 +10520,7 @@ var CoretimePolkadot$3 = {
9844
10520
  nativeAssets: [
9845
10521
  {
9846
10522
  symbol: "DOT",
10523
+ isNative: true,
9847
10524
  decimals: 10,
9848
10525
  existentialDeposit: "1000000000"
9849
10526
  }
@@ -9859,8 +10536,17 @@ var Turing$3 = {
9859
10536
  nativeAssets: [
9860
10537
  {
9861
10538
  symbol: "TUR",
10539
+ isNative: true,
9862
10540
  decimals: 10,
9863
- existentialDeposit: "100000000"
10541
+ existentialDeposit: "100000000",
10542
+ multiLocation: {
10543
+ parents: 1,
10544
+ interior: {
10545
+ X1: {
10546
+ Parachain: 2114
10547
+ }
10548
+ }
10549
+ }
9864
10550
  }
9865
10551
  ],
9866
10552
  otherAssets: [
@@ -10079,8 +10765,17 @@ var Unique$3 = {
10079
10765
  nativeAssets: [
10080
10766
  {
10081
10767
  symbol: "UNQ",
10768
+ isNative: true,
10082
10769
  decimals: 18,
10083
- existentialDeposit: "0"
10770
+ existentialDeposit: "0",
10771
+ multiLocation: {
10772
+ parents: 1,
10773
+ interior: {
10774
+ X1: {
10775
+ Parachain: 2037
10776
+ }
10777
+ }
10778
+ }
10084
10779
  }
10085
10780
  ],
10086
10781
  otherAssets: [
@@ -10169,6 +10864,7 @@ var Crust$3 = {
10169
10864
  nativeAssets: [
10170
10865
  {
10171
10866
  symbol: "CRU",
10867
+ isNative: true,
10172
10868
  decimals: 12,
10173
10869
  existentialDeposit: "100000000"
10174
10870
  }
@@ -10196,6 +10892,7 @@ var Manta$3 = {
10196
10892
  nativeAssets: [
10197
10893
  {
10198
10894
  symbol: "MANTA",
10895
+ isNative: true,
10199
10896
  decimals: 18,
10200
10897
  existentialDeposit: "100000000000000000"
10201
10898
  }
@@ -10404,6 +11101,7 @@ var Nodle$3 = {
10404
11101
  {
10405
11102
  symbol: "NODL",
10406
11103
  decimals: 11,
11104
+ isNative: true,
10407
11105
  existentialDeposit: "10000"
10408
11106
  }
10409
11107
  ],
@@ -10418,8 +11116,22 @@ var NeuroWeb$3 = {
10418
11116
  nativeAssets: [
10419
11117
  {
10420
11118
  symbol: "NEURO",
11119
+ isNative: true,
10421
11120
  decimals: 12,
10422
- existentialDeposit: "1000000000000"
11121
+ existentialDeposit: "1000000000000",
11122
+ multiLocation: {
11123
+ parents: 1,
11124
+ interior: {
11125
+ X2: [
11126
+ {
11127
+ Parachain: 2043
11128
+ },
11129
+ {
11130
+ PalletInstance: 10
11131
+ }
11132
+ ]
11133
+ }
11134
+ }
10423
11135
  }
10424
11136
  ],
10425
11137
  otherAssets: [
@@ -10439,8 +11151,22 @@ var Pendulum$3 = {
10439
11151
  nativeAssets: [
10440
11152
  {
10441
11153
  symbol: "PEN",
11154
+ isNative: true,
10442
11155
  decimals: 12,
10443
- existentialDeposit: "1000000000"
11156
+ existentialDeposit: "1000000000",
11157
+ multiLocation: {
11158
+ parents: 1,
11159
+ interior: {
11160
+ X2: [
11161
+ {
11162
+ Parachain: 2094
11163
+ },
11164
+ {
11165
+ PalletInstance: 10
11166
+ }
11167
+ ]
11168
+ }
11169
+ }
10444
11170
  }
10445
11171
  ],
10446
11172
  otherAssets: [
@@ -10591,6 +11317,31 @@ var Pendulum$3 = {
10591
11317
  },
10592
11318
  existentialDeposit: "1000"
10593
11319
  },
11320
+ {
11321
+ assetId: "13",
11322
+ symbol: "BRLA",
11323
+ decimals: 18,
11324
+ multiLocation: {
11325
+ parents: 1,
11326
+ interior: {
11327
+ X3: [
11328
+ {
11329
+ Parachain: 2004
11330
+ },
11331
+ {
11332
+ PalletInstance: 110
11333
+ },
11334
+ {
11335
+ AccountKey20: {
11336
+ network: null,
11337
+ key: "0xfeb25f3fddad13f82c4d6dbc1481516f62236429"
11338
+ }
11339
+ }
11340
+ ]
11341
+ }
11342
+ },
11343
+ existentialDeposit: "1000"
11344
+ },
10594
11345
  {
10595
11346
  assetId: "9",
10596
11347
  symbol: "ASTR",
@@ -10692,8 +11443,25 @@ var Zeitgeist$3 = {
10692
11443
  nativeAssets: [
10693
11444
  {
10694
11445
  symbol: "ZTG",
11446
+ isNative: true,
10695
11447
  decimals: 10,
10696
- existentialDeposit: "50000000"
11448
+ existentialDeposit: "50000000",
11449
+ multiLocation: {
11450
+ parents: 1,
11451
+ interior: {
11452
+ X2: [
11453
+ {
11454
+ Parachain: 2092
11455
+ },
11456
+ {
11457
+ GeneralKey: {
11458
+ length: 2,
11459
+ data: "0x0001000000000000000000000000000000000000000000000000000000000000"
11460
+ }
11461
+ }
11462
+ ]
11463
+ }
11464
+ }
10697
11465
  }
10698
11466
  ],
10699
11467
  otherAssets: [
@@ -10787,6 +11555,7 @@ var Collectives$3 = {
10787
11555
  nativeAssets: [
10788
11556
  {
10789
11557
  symbol: "DOT",
11558
+ isNative: true,
10790
11559
  decimals: 10,
10791
11560
  existentialDeposit: "1000000000"
10792
11561
  }
@@ -10802,8 +11571,17 @@ var Phala$3 = {
10802
11571
  nativeAssets: [
10803
11572
  {
10804
11573
  symbol: "PHA",
11574
+ isNative: true,
10805
11575
  decimals: 12,
10806
- existentialDeposit: "10000000000"
11576
+ existentialDeposit: "10000000000",
11577
+ multiLocation: {
11578
+ parents: 1,
11579
+ interior: {
11580
+ X1: {
11581
+ Parachain: 2035
11582
+ }
11583
+ }
11584
+ }
10807
11585
  }
10808
11586
  ],
10809
11587
  otherAssets: [
@@ -11111,6 +11889,7 @@ var Ethereum = {
11111
11889
  nativeAssetSymbol: "ETH",
11112
11890
  nativeAssets: [
11113
11891
  {
11892
+ isNative: true,
11114
11893
  symbol: "ETH",
11115
11894
  decimals: 18
11116
11895
  }
@@ -11427,6 +12206,7 @@ var Khala$3 = {
11427
12206
  {
11428
12207
  symbol: "PHA",
11429
12208
  decimals: 12,
12209
+ isNative: true,
11430
12210
  existentialDeposit: "10000000000"
11431
12211
  }
11432
12212
  ],
@@ -11744,6 +12524,7 @@ var Mythos$3 = {
11744
12524
  nativeAssets: [
11745
12525
  {
11746
12526
  symbol: "MYTH",
12527
+ isNative: true,
11747
12528
  decimals: 18,
11748
12529
  existentialDeposit: "10000000000000000"
11749
12530
  }
@@ -11759,6 +12540,7 @@ var Peaq$3 = {
11759
12540
  nativeAssets: [
11760
12541
  {
11761
12542
  symbol: "PEAQ",
12543
+ isNative: true,
11762
12544
  decimals: 18,
11763
12545
  existentialDeposit: "0"
11764
12546
  }
@@ -11992,7 +12774,7 @@ var NODES_WITH_RELAY_CHAINS_DOT_KSM = [].concat(NODE_NAMES_DOT_KSM, ['Polkadot',
11992
12774
  var SUPPORTED_PALLETS = ['XTokens', 'OrmlXTokens', 'PolkadotXcm', 'RelayerXcm', 'XTransfer', 'XcmPallet'];
11993
12775
 
11994
12776
  var isForeignAsset = function isForeignAsset(asset) {
11995
- return _typeof(asset) === 'object' && asset !== null && ('assetId' in asset || 'multiLocation' in asset || 'xcmInterior' in asset);
12777
+ return _typeof(asset) === 'object' && asset !== null && ('assetId' in asset || 'multiLocation' in asset || 'xcmInterior' in asset) && !('isNative' in asset);
11996
12778
  };
11997
12779
 
11998
12780
  var isSymbolSpecifier = function isSymbolSpecifier(currencySymbolValue) {
@@ -13917,41 +14699,6 @@ var resolveParaId = function resolveParaId(paraId, destination) {
13917
14699
  return paraId !== null && paraId !== undefined ? paraId : getParaId(destination);
13918
14700
  };
13919
14701
 
13920
- var calculateFee = /*#__PURE__*/function () {
13921
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(ahApi) {
13922
- var DEFAULT_FEE, feeStorageItem, leFeeHex, bytes, reversedHex, validReversedHex, leFee, transferBridgeFee, transferAssethubExecutionFee, totalFee, finalFee;
13923
- return _regeneratorRuntime().wrap(function _callee$(_context) {
13924
- while (1) switch (_context.prev = _context.next) {
13925
- case 0:
13926
- DEFAULT_FEE = 2750872500000n;
13927
- _context.next = 3;
13928
- return ahApi.getFromStorage('0x5fbc5c7ba58845ad1f1a9a7c5bc12fad');
13929
- case 3:
13930
- feeStorageItem = _context.sent;
13931
- leFeeHex = feeStorageItem.replace('0x', '');
13932
- _context.next = 7;
13933
- return ahApi.disconnect();
13934
- case 7:
13935
- bytes = leFeeHex.match(/.{1,2}/g) || [];
13936
- reversedHex = bytes.reverse().join('');
13937
- validReversedHex = reversedHex === '' ? '0' : reversedHex;
13938
- leFee = BigInt('0x' + validReversedHex);
13939
- transferBridgeFee = leFee === 0n ? DEFAULT_FEE : BigInt(leFee.toString());
13940
- transferAssethubExecutionFee = 2200000000n;
13941
- totalFee = transferBridgeFee + transferAssethubExecutionFee; // Adding a 10% margin
13942
- finalFee = totalFee * 110n / 100n;
13943
- return _context.abrupt("return", finalFee.toString());
13944
- case 16:
13945
- case "end":
13946
- return _context.stop();
13947
- }
13948
- }, _callee);
13949
- }));
13950
- return function calculateFee(_x) {
13951
- return _ref.apply(this, arguments);
13952
- };
13953
- }();
13954
-
13955
14702
  var generateAddressPayload = function generateAddressPayload(api, scenario, pallet, recipientAddress, version, nodeId) {
13956
14703
  var isMultiLocation = _typeof(recipientAddress) === 'object';
13957
14704
  if (isMultiLocation) {
@@ -14298,7 +15045,7 @@ var ParachainNode = /*#__PURE__*/function () {
14298
15045
  key: "transferToEthereum",
14299
15046
  value: function () {
14300
15047
  var _transferToEthereum = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(input) {
14301
- var api, asset, scenario, version, destination, ahAddress, versionOrDefault, ethMultiAsset, ahApi, fee, call;
15048
+ var api, asset, scenario, version, destination, ahAddress, versionOrDefault, ethMultiAsset, ahApi, _yield$getParaEthTran, _yield$getParaEthTran2, bridgeFee, executionFee, fee, call;
14302
15049
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
14303
15050
  while (1) switch (_context2.prev = _context2.next) {
14304
15051
  case 0:
@@ -14322,9 +15069,13 @@ var ParachainNode = /*#__PURE__*/function () {
14322
15069
  case 9:
14323
15070
  ahApi = _context2.sent;
14324
15071
  _context2.next = 12;
14325
- return calculateFee(ahApi);
15072
+ return getParaEthTransferFees(ahApi);
14326
15073
  case 12:
14327
- fee = _context2.sent;
15074
+ _yield$getParaEthTran = _context2.sent;
15075
+ _yield$getParaEthTran2 = _slicedToArray(_yield$getParaEthTran, 2);
15076
+ bridgeFee = _yield$getParaEthTran2[0];
15077
+ executionFee = _yield$getParaEthTran2[1];
15078
+ fee = (bridgeFee + executionFee).toString();
14328
15079
  call = {
14329
15080
  module: 'PolkadotXcm',
14330
15081
  section: 'transfer_assets_using_type_and_then',
@@ -14342,7 +15093,7 @@ var ParachainNode = /*#__PURE__*/function () {
14342
15093
  }
14343
15094
  };
14344
15095
  return _context2.abrupt("return", api.callTxMethod(call));
14345
- case 15:
15096
+ case 19:
14346
15097
  case "end":
14347
15098
  return _context2.stop();
14348
15099
  }
@@ -15294,7 +16045,7 @@ var AssetHubPolkadot$1 = /*#__PURE__*/function (_ParachainNode) {
15294
16045
  currencySelection: this.createCurrencySpec(asset.amount, scenario, versionOrDefault, asset, overriddenAsset)
15295
16046
  });
15296
16047
  }
15297
- if ((destination === 'Hydration' || destination === 'Polimec') && asset.symbol === 'DOT') {
16048
+ if ((destination === 'Hydration' || destination === 'Polimec' || destination === 'Moonbeam' || destination === 'BifrostPolkadot') && asset.symbol === 'DOT') {
15298
16049
  var _versionOrDefault = version !== null && version !== undefined ? version : this.version;
15299
16050
  return _objectSpread2(_objectSpread2({}, input), {}, {
15300
16051
  currencySelection: _superPropGet(AssetHubPolkadot, "createCurrencySpec", this, 3)([asset.amount, 'ParaToRelay', _versionOrDefault, asset, overriddenAsset])
@@ -15305,7 +16056,7 @@ var AssetHubPolkadot$1 = /*#__PURE__*/function (_ParachainNode) {
15305
16056
  }, {
15306
16057
  key: "getSection",
15307
16058
  value: function getSection(scenario, destination) {
15308
- if (destination === 'Polimec') return 'transfer_assets';
16059
+ if (destination === 'Polimec' || destination === 'Moonbeam') return 'transfer_assets';
15309
16060
  return scenario === 'ParaToPara' ? 'limited_reserve_transfer_assets' : 'limited_teleport_assets';
15310
16061
  }
15311
16062
  }, {
@@ -15332,7 +16083,7 @@ var AssetHubPolkadot$1 = /*#__PURE__*/function (_ParachainNode) {
15332
16083
  if (destination === 'BifrostPolkadot' && isEthereumAsset) {
15333
16084
  return Promise.resolve(this.handleBifrostEthTransfer(input));
15334
16085
  }
15335
- if (scenario === 'ParaToPara' && asset.symbol === 'DOT' && !isForeignAsset(asset) && destination !== 'Hydration' && destination !== 'Polimec') {
16086
+ if (scenario === 'ParaToPara' && asset.symbol === 'DOT' && !isForeignAsset(asset) && destination !== 'Hydration' && destination !== 'Polimec' && destination !== 'Moonbeam' && destination !== 'BifrostPolkadot') {
15336
16087
  throw new ScenarioNotSupportedError(this.node, scenario, 'Para to Para scenarios for DOT transfer from AssetHub are not supported, you have to transfer DOT to Relay chain and transfer to destination chain from Relay chain.');
15337
16088
  }
15338
16089
  if (scenario === 'ParaToPara' && asset.symbol === 'KSM' && !isForeignAsset(asset)) {
@@ -16679,8 +17430,9 @@ var getAssetBySymbolOrId = function getAssetBySymbolOrId(node, currency, destina
16679
17430
  asset = findAssetBySymbol(node, destination, otherAssets, nativeAssets, currency.symbol);
16680
17431
  }
16681
17432
  } else if ('multilocation' in currency && !isOverrideMultiLocationSpecifier(currency.multilocation)) {
17433
+ var _findAssetByMultiLoca;
16682
17434
  var resolvedAssets = isEthereumDestination ? getEthereumAssets() : otherAssets;
16683
- asset = findAssetByMultiLocation(resolvedAssets, currency.multilocation);
17435
+ asset = (_findAssetByMultiLoca = findAssetByMultiLocation(resolvedAssets, currency.multilocation)) !== null && _findAssetByMultiLoca !== undefined ? _findAssetByMultiLoca : findAssetByMultiLocation(nativeAssets, currency.multilocation);
16684
17436
  } else if ('id' in currency) {
16685
17437
  if (isEthereumDestination) {
16686
17438
  var _findAssetById;
@@ -19088,7 +19840,7 @@ var shuffleArray = function shuffleArray(array) {
19088
19840
  };
19089
19841
 
19090
19842
  var shuffleWsProviders = function shuffleWsProviders(node, wsProviders) {
19091
- var ALLOWED_NODES = ['Hydration'];
19843
+ var ALLOWED_NODES = ['Hydration', 'Acala'];
19092
19844
  if (ALLOWED_NODES.includes(node)) {
19093
19845
  return shuffleArray(wsProviders);
19094
19846
  }
@@ -19816,4 +20568,39 @@ var transferMoonbeamEvm = /*#__PURE__*/function () {
19816
20568
  };
19817
20569
  }();
19818
20570
 
19819
- export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, ETHEREUM_JUNCTION, ETH_CHAIN_ID, Foreign, ForeignAbstract, GeneralBuilder, IncompatibleNodesError, InvalidAddressError, InvalidCurrencyError, NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Native, NoXCMSupportImplementedError, NodeNotSupportedError, Override, Parents, PolkadotXcmError, SUPPORTED_PALLETS, ScenarioNotSupportedError, Version, XTokensError, calculateFee, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, createApiInstanceForNode, createX1Payload, _deepEqual as deepEqual, determineRelayChain, findAssetById, findAssetByMultiLocation, findAssetBySymbol, findBestMatches, generateAddressMultiLocationV4, generateAddressPayload, getAllAssetsSymbols, getAssetBalance, getAssetBalanceInternal, getAssetBySymbolOrId, getAssetDecimals, getAssetId, getAssetMultiLocation, getAssets, getAssetsObject, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getDefaultPallet, getDryRun, getExistentialDeposit, getFees, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getNativeAssetSymbol, getNativeAssets, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getOtherAssets, getParaId, getRelayChainSymbol, getSupportedAssets, getSupportedPallets, getSupportedPalletsDetails, getTNode, getTransferInfo, getTransferableAmount, hasSupportForAsset, isForeignAsset, isNodeEvm, isOverrideMultiLocationSpecifier, isRelayChain, isSymbolSpecifier, normalizeSymbol, resolveModuleError, resolveParaId, send, transferMoonbeamEvm, transferRelayToPara, validateAddress };
20571
+ var getParaEthTransferFees = /*#__PURE__*/function () {
20572
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(ahApi) {
20573
+ var DEFAULT_FEE, feeStorageItem, leFeeHex, bytes, reversedHex, validReversedHex, leFee, transferBridgeFee, transferAssethubExecutionFee, finalBridgeFee, finalAssethubExecutionFee;
20574
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
20575
+ while (1) switch (_context.prev = _context.next) {
20576
+ case 0:
20577
+ DEFAULT_FEE = 2750872500000n;
20578
+ _context.next = 3;
20579
+ return ahApi.getFromStorage('0x5fbc5c7ba58845ad1f1a9a7c5bc12fad');
20580
+ case 3:
20581
+ feeStorageItem = _context.sent;
20582
+ leFeeHex = feeStorageItem.replace('0x', '');
20583
+ _context.next = 7;
20584
+ return ahApi.disconnect();
20585
+ case 7:
20586
+ bytes = leFeeHex.match(/.{1,2}/g) || [];
20587
+ reversedHex = bytes.reverse().join('');
20588
+ validReversedHex = reversedHex === '' ? '0' : reversedHex;
20589
+ leFee = BigInt('0x' + validReversedHex);
20590
+ transferBridgeFee = leFee === 0n ? DEFAULT_FEE : BigInt(leFee.toString());
20591
+ transferAssethubExecutionFee = 2200000000n;
20592
+ finalBridgeFee = transferBridgeFee * 110n / 100n;
20593
+ finalAssethubExecutionFee = transferAssethubExecutionFee * 110n / 100n;
20594
+ return _context.abrupt("return", [finalBridgeFee, finalAssethubExecutionFee]);
20595
+ case 16:
20596
+ case "end":
20597
+ return _context.stop();
20598
+ }
20599
+ }, _callee);
20600
+ }));
20601
+ return function getParaEthTransferFees(_x) {
20602
+ return _ref.apply(this, arguments);
20603
+ };
20604
+ }();
20605
+
20606
+ export { BatchMode, Builder, DuplicateAssetError, DuplicateAssetIdError, ETHEREUM_JUNCTION, ETH_CHAIN_ID, Foreign, ForeignAbstract, GeneralBuilder, IncompatibleNodesError, InvalidAddressError, InvalidCurrencyError, NODES_WITH_RELAY_CHAINS, NODES_WITH_RELAY_CHAINS_DOT_KSM, NODE_NAMES, NODE_NAMES_DOT_KSM, Native, NoXCMSupportImplementedError, NodeNotSupportedError, Override, Parents, PolkadotXcmError, SUPPORTED_PALLETS, ScenarioNotSupportedError, Version, XTokensError, claimAssets, computeFeeFromDryRun, computeFeeFromDryRunPjs, createApiInstanceForNode, createX1Payload, _deepEqual as deepEqual, determineRelayChain, findAssetById, findAssetByMultiLocation, findAssetBySymbol, findBestMatches, generateAddressMultiLocationV4, generateAddressPayload, getAllAssetsSymbols, getAssetBalance, getAssetBalanceInternal, getAssetBySymbolOrId, getAssetDecimals, getAssetId, getAssetMultiLocation, getAssets, getAssetsObject, getBalanceForeign, getBalanceForeignInternal, getBalanceNative, getBalanceNativeInternal, getDefaultPallet, getDryRun, getExistentialDeposit, getFees, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getNativeAssetSymbol, getNativeAssets, getNode, getNodeConfig, getNodeProviders, getOriginFeeDetails, getOriginFeeDetailsInternal, getOtherAssets, getParaEthTransferFees, getParaId, getRelayChainSymbol, getSupportedAssets, getSupportedPallets, getSupportedPalletsDetails, getTNode, getTransferInfo, getTransferableAmount, hasSupportForAsset, isForeignAsset, isNodeEvm, isOverrideMultiLocationSpecifier, isRelayChain, isSymbolSpecifier, normalizeSymbol, resolveModuleError, resolveParaId, send, transferMoonbeamEvm, transferRelayToPara, validateAddress };