@paraspell/assets 11.12.1 → 11.12.3
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.cjs +752 -479
- package/dist/index.d.ts +2 -5
- package/dist/index.mjs +753 -480
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1962,29 +1962,6 @@ var BifrostPolkadot = {
|
|
|
1962
1962
|
},
|
|
1963
1963
|
isNative: true,
|
|
1964
1964
|
isFeeAsset: true
|
|
1965
|
-
},
|
|
1966
|
-
{
|
|
1967
|
-
symbol: "vBNC",
|
|
1968
|
-
decimals: 12,
|
|
1969
|
-
existentialDeposit: "10000000000",
|
|
1970
|
-
location: {
|
|
1971
|
-
parents: 1,
|
|
1972
|
-
interior: {
|
|
1973
|
-
X2: [
|
|
1974
|
-
{
|
|
1975
|
-
Parachain: 2030
|
|
1976
|
-
},
|
|
1977
|
-
{
|
|
1978
|
-
GeneralKey: {
|
|
1979
|
-
length: 2,
|
|
1980
|
-
data: "0x0101000000000000000000000000000000000000000000000000000000000000"
|
|
1981
|
-
}
|
|
1982
|
-
}
|
|
1983
|
-
]
|
|
1984
|
-
}
|
|
1985
|
-
},
|
|
1986
|
-
isNative: true,
|
|
1987
|
-
isFeeAsset: true
|
|
1988
1965
|
}
|
|
1989
1966
|
],
|
|
1990
1967
|
otherAssets: [
|
|
@@ -2213,6 +2190,28 @@ var BifrostPolkadot = {
|
|
|
2213
2190
|
},
|
|
2214
2191
|
isFeeAsset: true
|
|
2215
2192
|
},
|
|
2193
|
+
{
|
|
2194
|
+
symbol: "vBNC",
|
|
2195
|
+
decimals: 12,
|
|
2196
|
+
existentialDeposit: "10000000000",
|
|
2197
|
+
location: {
|
|
2198
|
+
parents: 1,
|
|
2199
|
+
interior: {
|
|
2200
|
+
X2: [
|
|
2201
|
+
{
|
|
2202
|
+
Parachain: 2030
|
|
2203
|
+
},
|
|
2204
|
+
{
|
|
2205
|
+
GeneralKey: {
|
|
2206
|
+
length: 2,
|
|
2207
|
+
data: "0x0101000000000000000000000000000000000000000000000000000000000000"
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
]
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
isFeeAsset: true
|
|
2214
|
+
},
|
|
2216
2215
|
{
|
|
2217
2216
|
assetId: "14",
|
|
2218
2217
|
symbol: "WAVE",
|
|
@@ -4262,10 +4261,13 @@ var Hydration = {
|
|
|
4262
4261
|
location: {
|
|
4263
4262
|
parents: 1,
|
|
4264
4263
|
interior: {
|
|
4265
|
-
|
|
4264
|
+
X3: [
|
|
4266
4265
|
{
|
|
4267
4266
|
Parachain: 2004
|
|
4268
4267
|
},
|
|
4268
|
+
{
|
|
4269
|
+
PalletInstance: 110
|
|
4270
|
+
},
|
|
4269
4271
|
{
|
|
4270
4272
|
AccountKey20: {
|
|
4271
4273
|
network: null,
|
|
@@ -7656,28 +7658,6 @@ var AssetHubPolkadot = {
|
|
|
7656
7658
|
existentialDeposit: "10000000000",
|
|
7657
7659
|
alias: "TST2"
|
|
7658
7660
|
},
|
|
7659
|
-
{
|
|
7660
|
-
assetId: "669",
|
|
7661
|
-
symbol: "lish",
|
|
7662
|
-
decimals: 9,
|
|
7663
|
-
location: {
|
|
7664
|
-
parents: 1,
|
|
7665
|
-
interior: {
|
|
7666
|
-
X3: [
|
|
7667
|
-
{
|
|
7668
|
-
Parachain: 1000
|
|
7669
|
-
},
|
|
7670
|
-
{
|
|
7671
|
-
PalletInstance: 50
|
|
7672
|
-
},
|
|
7673
|
-
{
|
|
7674
|
-
GeneralIndex: 669
|
|
7675
|
-
}
|
|
7676
|
-
]
|
|
7677
|
-
}
|
|
7678
|
-
},
|
|
7679
|
-
existentialDeposit: "1000000000"
|
|
7680
|
-
},
|
|
7681
7661
|
{
|
|
7682
7662
|
assetId: "22222078",
|
|
7683
7663
|
symbol: "JAMTON",
|
|
@@ -7836,29 +7816,6 @@ var AssetHubPolkadot = {
|
|
|
7836
7816
|
existentialDeposit: "1000000000000",
|
|
7837
7817
|
alias: "KSM1"
|
|
7838
7818
|
},
|
|
7839
|
-
{
|
|
7840
|
-
assetId: "1010",
|
|
7841
|
-
symbol: "ETH",
|
|
7842
|
-
decimals: 10,
|
|
7843
|
-
location: {
|
|
7844
|
-
parents: 1,
|
|
7845
|
-
interior: {
|
|
7846
|
-
X3: [
|
|
7847
|
-
{
|
|
7848
|
-
Parachain: 1000
|
|
7849
|
-
},
|
|
7850
|
-
{
|
|
7851
|
-
PalletInstance: 50
|
|
7852
|
-
},
|
|
7853
|
-
{
|
|
7854
|
-
GeneralIndex: 1010
|
|
7855
|
-
}
|
|
7856
|
-
]
|
|
7857
|
-
}
|
|
7858
|
-
},
|
|
7859
|
-
existentialDeposit: "100000000000000000",
|
|
7860
|
-
alias: "ETH1"
|
|
7861
|
-
},
|
|
7862
7819
|
{
|
|
7863
7820
|
assetId: "201",
|
|
7864
7821
|
symbol: "WUD",
|
|
@@ -8128,7 +8085,7 @@ var AssetHubPolkadot = {
|
|
|
8128
8085
|
}
|
|
8129
8086
|
},
|
|
8130
8087
|
existentialDeposit: "1",
|
|
8131
|
-
alias: "
|
|
8088
|
+
alias: "ETH1"
|
|
8132
8089
|
},
|
|
8133
8090
|
{
|
|
8134
8091
|
assetId: "50000276",
|
|
@@ -8173,7 +8130,7 @@ var AssetHubPolkadot = {
|
|
|
8173
8130
|
}
|
|
8174
8131
|
},
|
|
8175
8132
|
existentialDeposit: "1",
|
|
8176
|
-
alias: "
|
|
8133
|
+
alias: "ETH2"
|
|
8177
8134
|
},
|
|
8178
8135
|
{
|
|
8179
8136
|
assetId: "862812",
|
|
@@ -8952,7 +8909,7 @@ var AssetHubPolkadot = {
|
|
|
8952
8909
|
},
|
|
8953
8910
|
existentialDeposit: "15000000000000",
|
|
8954
8911
|
isFeeAsset: true,
|
|
8955
|
-
alias: "
|
|
8912
|
+
alias: "ETH3"
|
|
8956
8913
|
},
|
|
8957
8914
|
{
|
|
8958
8915
|
symbol: "KILT",
|
|
@@ -9624,7 +9581,6 @@ var BifrostKusama = {
|
|
|
9624
9581
|
symbol: "BNC",
|
|
9625
9582
|
decimals: 12,
|
|
9626
9583
|
existentialDeposit: "10000000000",
|
|
9627
|
-
isNative: true,
|
|
9628
9584
|
location: {
|
|
9629
9585
|
parents: 1,
|
|
9630
9586
|
interior: {
|
|
@@ -9640,13 +9596,16 @@ var BifrostKusama = {
|
|
|
9640
9596
|
}
|
|
9641
9597
|
]
|
|
9642
9598
|
}
|
|
9643
|
-
}
|
|
9644
|
-
|
|
9599
|
+
},
|
|
9600
|
+
isNative: true,
|
|
9601
|
+
isFeeAsset: true
|
|
9602
|
+
}
|
|
9603
|
+
],
|
|
9604
|
+
otherAssets: [
|
|
9645
9605
|
{
|
|
9646
9606
|
symbol: "KSM",
|
|
9647
9607
|
decimals: 12,
|
|
9648
9608
|
existentialDeposit: "100000000",
|
|
9649
|
-
isNative: true,
|
|
9650
9609
|
location: {
|
|
9651
9610
|
parents: 1,
|
|
9652
9611
|
interior: {
|
|
@@ -9655,11 +9614,33 @@ var BifrostKusama = {
|
|
|
9655
9614
|
},
|
|
9656
9615
|
isFeeAsset: true
|
|
9657
9616
|
},
|
|
9617
|
+
{
|
|
9618
|
+
assetId: "2",
|
|
9619
|
+
symbol: "KBTC",
|
|
9620
|
+
decimals: 8,
|
|
9621
|
+
existentialDeposit: "100",
|
|
9622
|
+
location: {
|
|
9623
|
+
parents: 1,
|
|
9624
|
+
interior: {
|
|
9625
|
+
X2: [
|
|
9626
|
+
{
|
|
9627
|
+
Parachain: 2092
|
|
9628
|
+
},
|
|
9629
|
+
{
|
|
9630
|
+
GeneralKey: {
|
|
9631
|
+
length: 2,
|
|
9632
|
+
data: "0x000b000000000000000000000000000000000000000000000000000000000000"
|
|
9633
|
+
}
|
|
9634
|
+
}
|
|
9635
|
+
]
|
|
9636
|
+
}
|
|
9637
|
+
},
|
|
9638
|
+
isFeeAsset: true
|
|
9639
|
+
},
|
|
9658
9640
|
{
|
|
9659
9641
|
symbol: "RMRK",
|
|
9660
9642
|
decimals: 10,
|
|
9661
9643
|
existentialDeposit: "10000",
|
|
9662
|
-
isNative: true,
|
|
9663
9644
|
location: {
|
|
9664
9645
|
parents: 1,
|
|
9665
9646
|
interior: {
|
|
@@ -9678,11 +9659,56 @@ var BifrostKusama = {
|
|
|
9678
9659
|
},
|
|
9679
9660
|
isFeeAsset: true
|
|
9680
9661
|
},
|
|
9662
|
+
{
|
|
9663
|
+
assetId: "0",
|
|
9664
|
+
symbol: "USDT",
|
|
9665
|
+
decimals: 6,
|
|
9666
|
+
existentialDeposit: "1000",
|
|
9667
|
+
location: {
|
|
9668
|
+
parents: 1,
|
|
9669
|
+
interior: {
|
|
9670
|
+
X3: [
|
|
9671
|
+
{
|
|
9672
|
+
Parachain: 1000
|
|
9673
|
+
},
|
|
9674
|
+
{
|
|
9675
|
+
PalletInstance: 50
|
|
9676
|
+
},
|
|
9677
|
+
{
|
|
9678
|
+
GeneralIndex: 1984
|
|
9679
|
+
}
|
|
9680
|
+
]
|
|
9681
|
+
}
|
|
9682
|
+
},
|
|
9683
|
+
isFeeAsset: true
|
|
9684
|
+
},
|
|
9685
|
+
{
|
|
9686
|
+
assetId: "1",
|
|
9687
|
+
symbol: "KINT",
|
|
9688
|
+
decimals: 12,
|
|
9689
|
+
existentialDeposit: "10000000000",
|
|
9690
|
+
location: {
|
|
9691
|
+
parents: 1,
|
|
9692
|
+
interior: {
|
|
9693
|
+
X2: [
|
|
9694
|
+
{
|
|
9695
|
+
Parachain: 2092
|
|
9696
|
+
},
|
|
9697
|
+
{
|
|
9698
|
+
GeneralKey: {
|
|
9699
|
+
length: 2,
|
|
9700
|
+
data: "0x000c000000000000000000000000000000000000000000000000000000000000"
|
|
9701
|
+
}
|
|
9702
|
+
}
|
|
9703
|
+
]
|
|
9704
|
+
}
|
|
9705
|
+
},
|
|
9706
|
+
isFeeAsset: true
|
|
9707
|
+
},
|
|
9681
9708
|
{
|
|
9682
9709
|
symbol: "vBNC",
|
|
9683
9710
|
decimals: 12,
|
|
9684
9711
|
existentialDeposit: "10000000000",
|
|
9685
|
-
isNative: true,
|
|
9686
9712
|
location: {
|
|
9687
9713
|
parents: 1,
|
|
9688
9714
|
interior: {
|
|
@@ -9698,13 +9724,13 @@ var BifrostKusama = {
|
|
|
9698
9724
|
}
|
|
9699
9725
|
]
|
|
9700
9726
|
}
|
|
9701
|
-
}
|
|
9727
|
+
},
|
|
9728
|
+
isFeeAsset: true
|
|
9702
9729
|
},
|
|
9703
9730
|
{
|
|
9704
9731
|
symbol: "vMOVR",
|
|
9705
9732
|
decimals: 18,
|
|
9706
9733
|
existentialDeposit: "1000000000000",
|
|
9707
|
-
isNative: true,
|
|
9708
9734
|
location: {
|
|
9709
9735
|
parents: 1,
|
|
9710
9736
|
interior: {
|
|
@@ -9720,13 +9746,13 @@ var BifrostKusama = {
|
|
|
9720
9746
|
}
|
|
9721
9747
|
]
|
|
9722
9748
|
}
|
|
9723
|
-
}
|
|
9749
|
+
},
|
|
9750
|
+
isFeeAsset: true
|
|
9724
9751
|
},
|
|
9725
9752
|
{
|
|
9726
9753
|
symbol: "vKSM",
|
|
9727
9754
|
decimals: 12,
|
|
9728
9755
|
existentialDeposit: "100000000",
|
|
9729
|
-
isNative: true,
|
|
9730
9756
|
location: {
|
|
9731
9757
|
parents: 1,
|
|
9732
9758
|
interior: {
|
|
@@ -9742,13 +9768,36 @@ var BifrostKusama = {
|
|
|
9742
9768
|
}
|
|
9743
9769
|
]
|
|
9744
9770
|
}
|
|
9745
|
-
}
|
|
9771
|
+
},
|
|
9772
|
+
isFeeAsset: true
|
|
9773
|
+
},
|
|
9774
|
+
{
|
|
9775
|
+
assetId: "4",
|
|
9776
|
+
symbol: "MGX",
|
|
9777
|
+
decimals: 18,
|
|
9778
|
+
existentialDeposit: "10000000000000",
|
|
9779
|
+
location: {
|
|
9780
|
+
parents: 1,
|
|
9781
|
+
interior: {
|
|
9782
|
+
X2: [
|
|
9783
|
+
{
|
|
9784
|
+
Parachain: 2110
|
|
9785
|
+
},
|
|
9786
|
+
{
|
|
9787
|
+
GeneralKey: {
|
|
9788
|
+
length: 4,
|
|
9789
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
9790
|
+
}
|
|
9791
|
+
}
|
|
9792
|
+
]
|
|
9793
|
+
}
|
|
9794
|
+
},
|
|
9795
|
+
isFeeAsset: true
|
|
9746
9796
|
},
|
|
9747
9797
|
{
|
|
9748
9798
|
symbol: "MOVR",
|
|
9749
9799
|
decimals: 18,
|
|
9750
9800
|
existentialDeposit: "1000000000000",
|
|
9751
|
-
isNative: true,
|
|
9752
9801
|
location: {
|
|
9753
9802
|
parents: 1,
|
|
9754
9803
|
interior: {
|
|
@@ -9768,7 +9817,6 @@ var BifrostKusama = {
|
|
|
9768
9817
|
symbol: "ZLK",
|
|
9769
9818
|
decimals: 18,
|
|
9770
9819
|
existentialDeposit: "1000000000000",
|
|
9771
|
-
isNative: true,
|
|
9772
9820
|
location: {
|
|
9773
9821
|
parents: 1,
|
|
9774
9822
|
interior: {
|
|
@@ -9791,7 +9839,6 @@ var BifrostKusama = {
|
|
|
9791
9839
|
symbol: "PHA",
|
|
9792
9840
|
decimals: 12,
|
|
9793
9841
|
existentialDeposit: "40000000000",
|
|
9794
|
-
isNative: true,
|
|
9795
9842
|
location: {
|
|
9796
9843
|
parents: 1,
|
|
9797
9844
|
interior: {
|
|
@@ -9808,7 +9855,6 @@ var BifrostKusama = {
|
|
|
9808
9855
|
symbol: "KAR",
|
|
9809
9856
|
decimals: 12,
|
|
9810
9857
|
existentialDeposit: "100000000",
|
|
9811
|
-
isNative: true,
|
|
9812
9858
|
location: {
|
|
9813
9859
|
parents: 1,
|
|
9814
9860
|
interior: {
|
|
@@ -9826,128 +9872,34 @@ var BifrostKusama = {
|
|
|
9826
9872
|
}
|
|
9827
9873
|
},
|
|
9828
9874
|
isFeeAsset: true
|
|
9829
|
-
}
|
|
9830
|
-
],
|
|
9831
|
-
otherAssets: [
|
|
9875
|
+
},
|
|
9832
9876
|
{
|
|
9833
|
-
assetId: "
|
|
9834
|
-
symbol: "
|
|
9835
|
-
decimals:
|
|
9877
|
+
assetId: "3",
|
|
9878
|
+
symbol: "SDN",
|
|
9879
|
+
decimals: 18,
|
|
9880
|
+
existentialDeposit: "10000000000000000",
|
|
9836
9881
|
location: {
|
|
9837
9882
|
parents: 1,
|
|
9838
9883
|
interior: {
|
|
9839
|
-
|
|
9840
|
-
{
|
|
9841
|
-
Parachain: 1000
|
|
9842
|
-
},
|
|
9843
|
-
{
|
|
9844
|
-
PalletInstance: 50
|
|
9845
|
-
},
|
|
9884
|
+
X1: [
|
|
9846
9885
|
{
|
|
9847
|
-
|
|
9886
|
+
Parachain: 2007
|
|
9848
9887
|
}
|
|
9849
9888
|
]
|
|
9850
9889
|
}
|
|
9851
9890
|
},
|
|
9852
|
-
existentialDeposit: "1000",
|
|
9853
9891
|
isFeeAsset: true
|
|
9854
|
-
}
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
},
|
|
9866
|
-
{
|
|
9867
|
-
GeneralKey: {
|
|
9868
|
-
length: 2,
|
|
9869
|
-
data: "0x000b000000000000000000000000000000000000000000000000000000000000"
|
|
9870
|
-
}
|
|
9871
|
-
}
|
|
9872
|
-
]
|
|
9873
|
-
}
|
|
9874
|
-
},
|
|
9875
|
-
existentialDeposit: "100",
|
|
9876
|
-
isFeeAsset: true
|
|
9877
|
-
},
|
|
9878
|
-
{
|
|
9879
|
-
assetId: "1",
|
|
9880
|
-
symbol: "KINT",
|
|
9881
|
-
decimals: 12,
|
|
9882
|
-
location: {
|
|
9883
|
-
parents: 1,
|
|
9884
|
-
interior: {
|
|
9885
|
-
X2: [
|
|
9886
|
-
{
|
|
9887
|
-
Parachain: 2092
|
|
9888
|
-
},
|
|
9889
|
-
{
|
|
9890
|
-
GeneralKey: {
|
|
9891
|
-
length: 2,
|
|
9892
|
-
data: "0x000c000000000000000000000000000000000000000000000000000000000000"
|
|
9893
|
-
}
|
|
9894
|
-
}
|
|
9895
|
-
]
|
|
9896
|
-
}
|
|
9897
|
-
},
|
|
9898
|
-
existentialDeposit: "10000000000",
|
|
9899
|
-
isFeeAsset: true
|
|
9900
|
-
},
|
|
9901
|
-
{
|
|
9902
|
-
assetId: "4",
|
|
9903
|
-
symbol: "MGX",
|
|
9904
|
-
decimals: 18,
|
|
9905
|
-
location: {
|
|
9906
|
-
parents: 1,
|
|
9907
|
-
interior: {
|
|
9908
|
-
X2: [
|
|
9909
|
-
{
|
|
9910
|
-
Parachain: 2110
|
|
9911
|
-
},
|
|
9912
|
-
{
|
|
9913
|
-
GeneralKey: {
|
|
9914
|
-
length: 4,
|
|
9915
|
-
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
9916
|
-
}
|
|
9917
|
-
}
|
|
9918
|
-
]
|
|
9919
|
-
}
|
|
9920
|
-
},
|
|
9921
|
-
existentialDeposit: "10000000000000",
|
|
9922
|
-
isFeeAsset: true
|
|
9923
|
-
},
|
|
9924
|
-
{
|
|
9925
|
-
assetId: "3",
|
|
9926
|
-
symbol: "SDN",
|
|
9927
|
-
decimals: 18,
|
|
9928
|
-
location: {
|
|
9929
|
-
parents: 1,
|
|
9930
|
-
interior: {
|
|
9931
|
-
X1: [
|
|
9932
|
-
{
|
|
9933
|
-
Parachain: 2007
|
|
9934
|
-
}
|
|
9935
|
-
]
|
|
9936
|
-
}
|
|
9937
|
-
},
|
|
9938
|
-
existentialDeposit: "10000000000000000",
|
|
9939
|
-
isFeeAsset: true
|
|
9940
|
-
}
|
|
9941
|
-
]
|
|
9942
|
-
};
|
|
9943
|
-
var Crab = {
|
|
9944
|
-
relaychainSymbol: "KSM",
|
|
9945
|
-
nativeAssetSymbol: "CRAB",
|
|
9946
|
-
isEVM: true,
|
|
9947
|
-
ss58Prefix: 42,
|
|
9948
|
-
supportsDryRunApi: true,
|
|
9949
|
-
supportsXcmPaymentApi: true,
|
|
9950
|
-
nativeAssets: [
|
|
9892
|
+
}
|
|
9893
|
+
]
|
|
9894
|
+
};
|
|
9895
|
+
var Crab = {
|
|
9896
|
+
relaychainSymbol: "KSM",
|
|
9897
|
+
nativeAssetSymbol: "CRAB",
|
|
9898
|
+
isEVM: true,
|
|
9899
|
+
ss58Prefix: 42,
|
|
9900
|
+
supportsDryRunApi: true,
|
|
9901
|
+
supportsXcmPaymentApi: true,
|
|
9902
|
+
nativeAssets: [
|
|
9951
9903
|
{
|
|
9952
9904
|
symbol: "CRAB",
|
|
9953
9905
|
isNative: true,
|
|
@@ -11924,8 +11876,8 @@ var Quartz = {
|
|
|
11924
11876
|
nativeAssetSymbol: "QTZ",
|
|
11925
11877
|
isEVM: false,
|
|
11926
11878
|
ss58Prefix: 255,
|
|
11927
|
-
supportsDryRunApi:
|
|
11928
|
-
supportsXcmPaymentApi:
|
|
11879
|
+
supportsDryRunApi: true,
|
|
11880
|
+
supportsXcmPaymentApi: true,
|
|
11929
11881
|
nativeAssets: [
|
|
11930
11882
|
{
|
|
11931
11883
|
symbol: "QTZ",
|
|
@@ -12534,29 +12486,6 @@ var Shiden = {
|
|
|
12534
12486
|
existentialDeposit: "1",
|
|
12535
12487
|
isFeeAsset: true
|
|
12536
12488
|
},
|
|
12537
|
-
{
|
|
12538
|
-
assetId: "4294969280",
|
|
12539
|
-
symbol: "USDT",
|
|
12540
|
-
decimals: 6,
|
|
12541
|
-
location: {
|
|
12542
|
-
parents: 1,
|
|
12543
|
-
interior: {
|
|
12544
|
-
X3: [
|
|
12545
|
-
{
|
|
12546
|
-
Parachain: 1000
|
|
12547
|
-
},
|
|
12548
|
-
{
|
|
12549
|
-
PalletInstance: 50
|
|
12550
|
-
},
|
|
12551
|
-
{
|
|
12552
|
-
GeneralIndex: 1984
|
|
12553
|
-
}
|
|
12554
|
-
]
|
|
12555
|
-
}
|
|
12556
|
-
},
|
|
12557
|
-
existentialDeposit: "1",
|
|
12558
|
-
isFeeAsset: true
|
|
12559
|
-
},
|
|
12560
12489
|
{
|
|
12561
12490
|
assetId: "18446744073709551628",
|
|
12562
12491
|
symbol: "vKSM",
|
|
@@ -16810,29 +16739,6 @@ var AssetHubWestend = {
|
|
|
16810
16739
|
},
|
|
16811
16740
|
existentialDeposit: "1000000000000"
|
|
16812
16741
|
},
|
|
16813
|
-
{
|
|
16814
|
-
assetId: "67",
|
|
16815
|
-
symbol: "USDT",
|
|
16816
|
-
decimals: 12,
|
|
16817
|
-
location: {
|
|
16818
|
-
parents: 1,
|
|
16819
|
-
interior: {
|
|
16820
|
-
X3: [
|
|
16821
|
-
{
|
|
16822
|
-
Parachain: 1000
|
|
16823
|
-
},
|
|
16824
|
-
{
|
|
16825
|
-
PalletInstance: 50
|
|
16826
|
-
},
|
|
16827
|
-
{
|
|
16828
|
-
GeneralIndex: 67
|
|
16829
|
-
}
|
|
16830
|
-
]
|
|
16831
|
-
}
|
|
16832
|
-
},
|
|
16833
|
-
existentialDeposit: "100000",
|
|
16834
|
-
alias: "USDT6"
|
|
16835
|
-
},
|
|
16836
16742
|
{
|
|
16837
16743
|
assetId: "20",
|
|
16838
16744
|
symbol: "WETH",
|
|
@@ -17517,7 +17423,7 @@ var AssetHubWestend = {
|
|
|
17517
17423
|
}
|
|
17518
17424
|
},
|
|
17519
17425
|
existentialDeposit: "10",
|
|
17520
|
-
alias: "
|
|
17426
|
+
alias: "USDT6"
|
|
17521
17427
|
},
|
|
17522
17428
|
{
|
|
17523
17429
|
assetId: "50000167",
|
|
@@ -17895,31 +17801,7 @@ var AssetHubPaseo = {
|
|
|
17895
17801
|
]
|
|
17896
17802
|
}
|
|
17897
17803
|
},
|
|
17898
|
-
existentialDeposit: "100"
|
|
17899
|
-
alias: "USDT1"
|
|
17900
|
-
},
|
|
17901
|
-
{
|
|
17902
|
-
assetId: "7777",
|
|
17903
|
-
symbol: "USDT",
|
|
17904
|
-
decimals: 6,
|
|
17905
|
-
location: {
|
|
17906
|
-
parents: 1,
|
|
17907
|
-
interior: {
|
|
17908
|
-
X3: [
|
|
17909
|
-
{
|
|
17910
|
-
Parachain: 1000
|
|
17911
|
-
},
|
|
17912
|
-
{
|
|
17913
|
-
PalletInstance: 50
|
|
17914
|
-
},
|
|
17915
|
-
{
|
|
17916
|
-
GeneralIndex: 7777
|
|
17917
|
-
}
|
|
17918
|
-
]
|
|
17919
|
-
}
|
|
17920
|
-
},
|
|
17921
|
-
existentialDeposit: "1000",
|
|
17922
|
-
alias: "USDT2"
|
|
17804
|
+
existentialDeposit: "100"
|
|
17923
17805
|
},
|
|
17924
17806
|
{
|
|
17925
17807
|
assetId: "27",
|
|
@@ -18244,7 +18126,7 @@ var PAssetHub = {
|
|
|
18244
18126
|
symbol: "PAS",
|
|
18245
18127
|
isNative: true,
|
|
18246
18128
|
decimals: 10,
|
|
18247
|
-
existentialDeposit: "
|
|
18129
|
+
existentialDeposit: "100000000",
|
|
18248
18130
|
location: {
|
|
18249
18131
|
parents: 1,
|
|
18250
18132
|
interior: {
|
|
@@ -18382,22 +18264,20 @@ var BifrostPaseo = {
|
|
|
18382
18264
|
supportsXcmPaymentApi: true,
|
|
18383
18265
|
nativeAssets: [
|
|
18384
18266
|
{
|
|
18385
|
-
symbol: "
|
|
18386
|
-
|
|
18387
|
-
existentialDeposit: "10000000",
|
|
18388
|
-
isNative: true
|
|
18389
|
-
},
|
|
18390
|
-
{
|
|
18391
|
-
symbol: "DOT",
|
|
18392
|
-
decimals: 10,
|
|
18393
|
-
existentialDeposit: "100000000",
|
|
18394
|
-
isNative: true
|
|
18395
|
-
},
|
|
18396
|
-
{
|
|
18397
|
-
symbol: "vBNC",
|
|
18267
|
+
symbol: "BNC",
|
|
18268
|
+
isNative: true,
|
|
18398
18269
|
decimals: 12,
|
|
18399
18270
|
existentialDeposit: "10000000000",
|
|
18400
|
-
|
|
18271
|
+
location: {
|
|
18272
|
+
parents: 1,
|
|
18273
|
+
interior: {
|
|
18274
|
+
X1: [
|
|
18275
|
+
{
|
|
18276
|
+
Parachain: 2030
|
|
18277
|
+
}
|
|
18278
|
+
]
|
|
18279
|
+
}
|
|
18280
|
+
}
|
|
18401
18281
|
}
|
|
18402
18282
|
],
|
|
18403
18283
|
otherAssets: [
|
|
@@ -18668,33 +18548,32 @@ var HydrationPaseo = {
|
|
|
18668
18548
|
isFeeAsset: true
|
|
18669
18549
|
},
|
|
18670
18550
|
{
|
|
18671
|
-
assetId: "
|
|
18672
|
-
symbol: "
|
|
18673
|
-
decimals:
|
|
18674
|
-
existentialDeposit: "
|
|
18551
|
+
assetId: "1113",
|
|
18552
|
+
symbol: "HUSDe",
|
|
18553
|
+
decimals: 18,
|
|
18554
|
+
existentialDeposit: "33000000000000000",
|
|
18675
18555
|
location: {
|
|
18676
18556
|
parents: 1,
|
|
18677
18557
|
interior: {
|
|
18678
|
-
|
|
18679
|
-
{
|
|
18680
|
-
Parachain: 1000
|
|
18681
|
-
},
|
|
18558
|
+
X2: [
|
|
18682
18559
|
{
|
|
18683
|
-
|
|
18560
|
+
Parachain: 2034
|
|
18684
18561
|
},
|
|
18685
18562
|
{
|
|
18686
|
-
|
|
18563
|
+
AccountKey20: {
|
|
18564
|
+
network: null,
|
|
18565
|
+
key: "0x52e1311e26610e6662a1e5b5bd113130b6815213"
|
|
18566
|
+
}
|
|
18687
18567
|
}
|
|
18688
18568
|
]
|
|
18689
18569
|
}
|
|
18690
18570
|
},
|
|
18691
|
-
isFeeAsset: true
|
|
18692
|
-
alias: "USDT1"
|
|
18571
|
+
isFeeAsset: true
|
|
18693
18572
|
},
|
|
18694
18573
|
{
|
|
18695
|
-
assetId: "
|
|
18696
|
-
symbol: "
|
|
18697
|
-
decimals:
|
|
18574
|
+
assetId: "222",
|
|
18575
|
+
symbol: "HOLLAR",
|
|
18576
|
+
decimals: 18,
|
|
18698
18577
|
existentialDeposit: "0",
|
|
18699
18578
|
location: {
|
|
18700
18579
|
parents: 1,
|
|
@@ -18706,7 +18585,7 @@ var HydrationPaseo = {
|
|
|
18706
18585
|
{
|
|
18707
18586
|
AccountKey20: {
|
|
18708
18587
|
network: null,
|
|
18709
|
-
key: "
|
|
18588
|
+
key: "0x531a654d1696ed52e7275a8cede955e82620f99a"
|
|
18710
18589
|
}
|
|
18711
18590
|
}
|
|
18712
18591
|
]
|
|
@@ -18715,32 +18594,37 @@ var HydrationPaseo = {
|
|
|
18715
18594
|
isFeeAsset: true
|
|
18716
18595
|
},
|
|
18717
18596
|
{
|
|
18718
|
-
assetId: "
|
|
18719
|
-
symbol: "
|
|
18597
|
+
assetId: "420",
|
|
18598
|
+
symbol: "GETH",
|
|
18720
18599
|
decimals: 18,
|
|
18721
|
-
existentialDeposit: "
|
|
18600
|
+
existentialDeposit: "8202803876747",
|
|
18722
18601
|
location: {
|
|
18723
18602
|
parents: 1,
|
|
18724
18603
|
interior: {
|
|
18725
18604
|
X2: [
|
|
18726
18605
|
{
|
|
18727
|
-
Parachain:
|
|
18606
|
+
Parachain: 2034
|
|
18728
18607
|
},
|
|
18729
18608
|
{
|
|
18730
|
-
|
|
18731
|
-
|
|
18732
|
-
|
|
18609
|
+
AccountKey20: {
|
|
18610
|
+
network: null,
|
|
18611
|
+
key: "0x8a598fe3e3a471ce865332e330d303502a0e2f52"
|
|
18733
18612
|
}
|
|
18734
18613
|
}
|
|
18735
18614
|
]
|
|
18736
18615
|
}
|
|
18737
18616
|
},
|
|
18738
|
-
isFeeAsset: true
|
|
18739
|
-
alias: "WETH3"
|
|
18617
|
+
isFeeAsset: true
|
|
18740
18618
|
},
|
|
18741
18619
|
{
|
|
18742
|
-
assetId: "
|
|
18743
|
-
symbol: "
|
|
18620
|
+
assetId: "110",
|
|
18621
|
+
symbol: "2-Pool-HUSDC",
|
|
18622
|
+
decimals: 18,
|
|
18623
|
+
existentialDeposit: "1000"
|
|
18624
|
+
},
|
|
18625
|
+
{
|
|
18626
|
+
assetId: "10",
|
|
18627
|
+
symbol: "USDT",
|
|
18744
18628
|
decimals: 6,
|
|
18745
18629
|
existentialDeposit: "10000",
|
|
18746
18630
|
location: {
|
|
@@ -18748,10 +18632,104 @@ var HydrationPaseo = {
|
|
|
18748
18632
|
interior: {
|
|
18749
18633
|
X3: [
|
|
18750
18634
|
{
|
|
18751
|
-
Parachain:
|
|
18635
|
+
Parachain: 1000
|
|
18752
18636
|
},
|
|
18753
18637
|
{
|
|
18754
|
-
PalletInstance:
|
|
18638
|
+
PalletInstance: 50
|
|
18639
|
+
},
|
|
18640
|
+
{
|
|
18641
|
+
GeneralIndex: 1984
|
|
18642
|
+
}
|
|
18643
|
+
]
|
|
18644
|
+
}
|
|
18645
|
+
},
|
|
18646
|
+
isFeeAsset: true,
|
|
18647
|
+
alias: "USDT1"
|
|
18648
|
+
},
|
|
18649
|
+
{
|
|
18650
|
+
assetId: "1001",
|
|
18651
|
+
symbol: "aDOT",
|
|
18652
|
+
decimals: 10,
|
|
18653
|
+
existentialDeposit: "54125333",
|
|
18654
|
+
location: {
|
|
18655
|
+
parents: 1,
|
|
18656
|
+
interior: {
|
|
18657
|
+
X2: [
|
|
18658
|
+
{
|
|
18659
|
+
Parachain: 2034
|
|
18660
|
+
},
|
|
18661
|
+
{
|
|
18662
|
+
AccountKey20: {
|
|
18663
|
+
network: null,
|
|
18664
|
+
key: "0x02639ec01313c8775fae74f2dad1118c8a8a86da"
|
|
18665
|
+
}
|
|
18666
|
+
}
|
|
18667
|
+
]
|
|
18668
|
+
}
|
|
18669
|
+
},
|
|
18670
|
+
isFeeAsset: true
|
|
18671
|
+
},
|
|
18672
|
+
{
|
|
18673
|
+
assetId: "1111",
|
|
18674
|
+
symbol: "HUSDT",
|
|
18675
|
+
decimals: 18,
|
|
18676
|
+
existentialDeposit: "33000000000000000",
|
|
18677
|
+
location: {
|
|
18678
|
+
parents: 1,
|
|
18679
|
+
interior: {
|
|
18680
|
+
X2: [
|
|
18681
|
+
{
|
|
18682
|
+
Parachain: 2034
|
|
18683
|
+
},
|
|
18684
|
+
{
|
|
18685
|
+
AccountKey20: {
|
|
18686
|
+
network: null,
|
|
18687
|
+
key: "0x1806860d27ee903c1ec7586d4f7d598d7591f124"
|
|
18688
|
+
}
|
|
18689
|
+
}
|
|
18690
|
+
]
|
|
18691
|
+
}
|
|
18692
|
+
},
|
|
18693
|
+
isFeeAsset: true
|
|
18694
|
+
},
|
|
18695
|
+
{
|
|
18696
|
+
assetId: "4",
|
|
18697
|
+
symbol: "WETH",
|
|
18698
|
+
decimals: 18,
|
|
18699
|
+
existentialDeposit: "5000000000000",
|
|
18700
|
+
location: {
|
|
18701
|
+
parents: 1,
|
|
18702
|
+
interior: {
|
|
18703
|
+
X2: [
|
|
18704
|
+
{
|
|
18705
|
+
Parachain: 2000
|
|
18706
|
+
},
|
|
18707
|
+
{
|
|
18708
|
+
GeneralKey: {
|
|
18709
|
+
length: 21,
|
|
18710
|
+
data: "0x025a4d6acdc4e3e5ab15717f407afe957f7a2425780000000000000000000000"
|
|
18711
|
+
}
|
|
18712
|
+
}
|
|
18713
|
+
]
|
|
18714
|
+
}
|
|
18715
|
+
},
|
|
18716
|
+
isFeeAsset: true,
|
|
18717
|
+
alias: "WETH3"
|
|
18718
|
+
},
|
|
18719
|
+
{
|
|
18720
|
+
assetId: "21",
|
|
18721
|
+
symbol: "USDC",
|
|
18722
|
+
decimals: 6,
|
|
18723
|
+
existentialDeposit: "10000",
|
|
18724
|
+
location: {
|
|
18725
|
+
parents: 1,
|
|
18726
|
+
interior: {
|
|
18727
|
+
X3: [
|
|
18728
|
+
{
|
|
18729
|
+
Parachain: 2004
|
|
18730
|
+
},
|
|
18731
|
+
{
|
|
18732
|
+
PalletInstance: 110
|
|
18755
18733
|
},
|
|
18756
18734
|
{
|
|
18757
18735
|
AccountKey20: {
|
|
@@ -18849,6 +18827,33 @@ var HydrationPaseo = {
|
|
|
18849
18827
|
},
|
|
18850
18828
|
isFeeAsset: true
|
|
18851
18829
|
},
|
|
18830
|
+
{
|
|
18831
|
+
assetId: "39",
|
|
18832
|
+
symbol: "PAXG",
|
|
18833
|
+
decimals: 18,
|
|
18834
|
+
existentialDeposit: "2374169040836",
|
|
18835
|
+
location: {
|
|
18836
|
+
parents: 2,
|
|
18837
|
+
interior: {
|
|
18838
|
+
X2: [
|
|
18839
|
+
{
|
|
18840
|
+
GlobalConsensus: {
|
|
18841
|
+
Ethereum: {
|
|
18842
|
+
chainId: 1
|
|
18843
|
+
}
|
|
18844
|
+
}
|
|
18845
|
+
},
|
|
18846
|
+
{
|
|
18847
|
+
AccountKey20: {
|
|
18848
|
+
network: null,
|
|
18849
|
+
key: "0x45804880de22913dafe09f4980848ece6ecbaf78"
|
|
18850
|
+
}
|
|
18851
|
+
}
|
|
18852
|
+
]
|
|
18853
|
+
}
|
|
18854
|
+
},
|
|
18855
|
+
isFeeAsset: true
|
|
18856
|
+
},
|
|
18852
18857
|
{
|
|
18853
18858
|
assetId: "101",
|
|
18854
18859
|
symbol: "2-Pool",
|
|
@@ -18856,6 +18861,33 @@ var HydrationPaseo = {
|
|
|
18856
18861
|
existentialDeposit: "1000",
|
|
18857
18862
|
alias: "2-Pool1"
|
|
18858
18863
|
},
|
|
18864
|
+
{
|
|
18865
|
+
assetId: "38",
|
|
18866
|
+
symbol: "ENA",
|
|
18867
|
+
decimals: 18,
|
|
18868
|
+
existentialDeposit: "17337031900138700",
|
|
18869
|
+
location: {
|
|
18870
|
+
parents: 2,
|
|
18871
|
+
interior: {
|
|
18872
|
+
X2: [
|
|
18873
|
+
{
|
|
18874
|
+
GlobalConsensus: {
|
|
18875
|
+
Ethereum: {
|
|
18876
|
+
chainId: 1
|
|
18877
|
+
}
|
|
18878
|
+
}
|
|
18879
|
+
},
|
|
18880
|
+
{
|
|
18881
|
+
AccountKey20: {
|
|
18882
|
+
network: null,
|
|
18883
|
+
key: "0x57e114b691db790c35207b2e685d4a43181e6061"
|
|
18884
|
+
}
|
|
18885
|
+
}
|
|
18886
|
+
]
|
|
18887
|
+
}
|
|
18888
|
+
},
|
|
18889
|
+
isFeeAsset: true
|
|
18890
|
+
},
|
|
18859
18891
|
{
|
|
18860
18892
|
assetId: "34",
|
|
18861
18893
|
symbol: "ETH",
|
|
@@ -18920,6 +18952,29 @@ var HydrationPaseo = {
|
|
|
18920
18952
|
},
|
|
18921
18953
|
isFeeAsset: true
|
|
18922
18954
|
},
|
|
18955
|
+
{
|
|
18956
|
+
assetId: "1008",
|
|
18957
|
+
symbol: "a3-Pool",
|
|
18958
|
+
decimals: 18,
|
|
18959
|
+
existentialDeposit: "33000000000000000",
|
|
18960
|
+
location: {
|
|
18961
|
+
parents: 1,
|
|
18962
|
+
interior: {
|
|
18963
|
+
X2: [
|
|
18964
|
+
{
|
|
18965
|
+
Parachain: 2034
|
|
18966
|
+
},
|
|
18967
|
+
{
|
|
18968
|
+
AccountKey20: {
|
|
18969
|
+
network: null,
|
|
18970
|
+
key: "0xc09cf2f85367f3c2ab66e094283de3a499cb9108"
|
|
18971
|
+
}
|
|
18972
|
+
}
|
|
18973
|
+
]
|
|
18974
|
+
}
|
|
18975
|
+
},
|
|
18976
|
+
isFeeAsset: true
|
|
18977
|
+
},
|
|
18923
18978
|
{
|
|
18924
18979
|
assetId: "1000085",
|
|
18925
18980
|
symbol: "WUD",
|
|
@@ -18943,6 +18998,41 @@ var HydrationPaseo = {
|
|
|
18943
18998
|
},
|
|
18944
18999
|
isFeeAsset: true
|
|
18945
19000
|
},
|
|
19001
|
+
{
|
|
19002
|
+
assetId: "103",
|
|
19003
|
+
symbol: "3-Pool",
|
|
19004
|
+
decimals: 18,
|
|
19005
|
+
existentialDeposit: "20000000000000000"
|
|
19006
|
+
},
|
|
19007
|
+
{
|
|
19008
|
+
assetId: "111",
|
|
19009
|
+
symbol: "2-Pool-HUSDT",
|
|
19010
|
+
decimals: 18,
|
|
19011
|
+
existentialDeposit: "1000"
|
|
19012
|
+
},
|
|
19013
|
+
{
|
|
19014
|
+
assetId: "1112",
|
|
19015
|
+
symbol: "HUSDS",
|
|
19016
|
+
decimals: 18,
|
|
19017
|
+
existentialDeposit: "33000000000000000",
|
|
19018
|
+
location: {
|
|
19019
|
+
parents: 1,
|
|
19020
|
+
interior: {
|
|
19021
|
+
X2: [
|
|
19022
|
+
{
|
|
19023
|
+
Parachain: 2034
|
|
19024
|
+
},
|
|
19025
|
+
{
|
|
19026
|
+
AccountKey20: {
|
|
19027
|
+
network: null,
|
|
19028
|
+
key: "0x7e3ce0257506c3e1f96a2a9b25a9440959b0d453"
|
|
19029
|
+
}
|
|
19030
|
+
}
|
|
19031
|
+
]
|
|
19032
|
+
}
|
|
19033
|
+
},
|
|
19034
|
+
isFeeAsset: true
|
|
19035
|
+
},
|
|
18946
19036
|
{
|
|
18947
19037
|
assetId: "1000099",
|
|
18948
19038
|
symbol: "ACA",
|
|
@@ -19017,6 +19107,29 @@ var HydrationPaseo = {
|
|
|
19017
19107
|
},
|
|
19018
19108
|
isFeeAsset: true
|
|
19019
19109
|
},
|
|
19110
|
+
{
|
|
19111
|
+
assetId: "1006",
|
|
19112
|
+
symbol: "atBTC",
|
|
19113
|
+
decimals: 18,
|
|
19114
|
+
existentialDeposit: "208779411374",
|
|
19115
|
+
location: {
|
|
19116
|
+
parents: 1,
|
|
19117
|
+
interior: {
|
|
19118
|
+
X2: [
|
|
19119
|
+
{
|
|
19120
|
+
Parachain: 2034
|
|
19121
|
+
},
|
|
19122
|
+
{
|
|
19123
|
+
AccountKey20: {
|
|
19124
|
+
network: null,
|
|
19125
|
+
key: "0x69003a65189f6ed993d3bd3e2b74f1db39f405ce"
|
|
19126
|
+
}
|
|
19127
|
+
}
|
|
19128
|
+
]
|
|
19129
|
+
}
|
|
19130
|
+
},
|
|
19131
|
+
isFeeAsset: true
|
|
19132
|
+
},
|
|
19020
19133
|
{
|
|
19021
19134
|
assetId: "6",
|
|
19022
19135
|
symbol: "APE",
|
|
@@ -19122,10 +19235,57 @@ var HydrationPaseo = {
|
|
|
19122
19235
|
isFeeAsset: true
|
|
19123
19236
|
},
|
|
19124
19237
|
{
|
|
19125
|
-
assetId: "
|
|
19126
|
-
symbol: "
|
|
19127
|
-
decimals:
|
|
19128
|
-
existentialDeposit: "
|
|
19238
|
+
assetId: "35",
|
|
19239
|
+
symbol: "TRAC",
|
|
19240
|
+
decimals: 18,
|
|
19241
|
+
existentialDeposit: "27777777777777800",
|
|
19242
|
+
location: {
|
|
19243
|
+
parents: 2,
|
|
19244
|
+
interior: {
|
|
19245
|
+
X2: [
|
|
19246
|
+
{
|
|
19247
|
+
GlobalConsensus: {
|
|
19248
|
+
Ethereum: {
|
|
19249
|
+
chainId: 1
|
|
19250
|
+
}
|
|
19251
|
+
}
|
|
19252
|
+
},
|
|
19253
|
+
{
|
|
19254
|
+
AccountKey20: {
|
|
19255
|
+
network: null,
|
|
19256
|
+
key: "0xaa7a9ca87d3694b5755f213b5d04094b8d0f0a6f"
|
|
19257
|
+
}
|
|
19258
|
+
}
|
|
19259
|
+
]
|
|
19260
|
+
}
|
|
19261
|
+
},
|
|
19262
|
+
isFeeAsset: true
|
|
19263
|
+
},
|
|
19264
|
+
{
|
|
19265
|
+
assetId: "4200",
|
|
19266
|
+
symbol: "2-Pool-GETH",
|
|
19267
|
+
decimals: 18,
|
|
19268
|
+
existentialDeposit: "1000"
|
|
19269
|
+
},
|
|
19270
|
+
{
|
|
19271
|
+
assetId: "36",
|
|
19272
|
+
symbol: "NEURO",
|
|
19273
|
+
decimals: 12,
|
|
19274
|
+
existentialDeposit: "588235294118",
|
|
19275
|
+
location: {
|
|
19276
|
+
parents: 1,
|
|
19277
|
+
interior: {
|
|
19278
|
+
X2: [
|
|
19279
|
+
{
|
|
19280
|
+
Parachain: 2043
|
|
19281
|
+
},
|
|
19282
|
+
{
|
|
19283
|
+
PalletInstance: 10
|
|
19284
|
+
}
|
|
19285
|
+
]
|
|
19286
|
+
}
|
|
19287
|
+
},
|
|
19288
|
+
isFeeAsset: true
|
|
19129
19289
|
},
|
|
19130
19290
|
{
|
|
19131
19291
|
assetId: "31",
|
|
@@ -19170,6 +19330,34 @@ var HydrationPaseo = {
|
|
|
19170
19330
|
},
|
|
19171
19331
|
isFeeAsset: true
|
|
19172
19332
|
},
|
|
19333
|
+
{
|
|
19334
|
+
assetId: "41",
|
|
19335
|
+
symbol: "CFG",
|
|
19336
|
+
decimals: 18,
|
|
19337
|
+
existentialDeposit: "36297640653357500",
|
|
19338
|
+
location: {
|
|
19339
|
+
parents: 2,
|
|
19340
|
+
interior: {
|
|
19341
|
+
X2: [
|
|
19342
|
+
{
|
|
19343
|
+
GlobalConsensus: {
|
|
19344
|
+
Ethereum: {
|
|
19345
|
+
chainId: 1
|
|
19346
|
+
}
|
|
19347
|
+
}
|
|
19348
|
+
},
|
|
19349
|
+
{
|
|
19350
|
+
AccountKey20: {
|
|
19351
|
+
network: null,
|
|
19352
|
+
key: "0xcccccccccc33d538dbc2ee4feab0a7a1ff4e8a94"
|
|
19353
|
+
}
|
|
19354
|
+
}
|
|
19355
|
+
]
|
|
19356
|
+
}
|
|
19357
|
+
},
|
|
19358
|
+
isFeeAsset: true,
|
|
19359
|
+
alias: "CFG2"
|
|
19360
|
+
},
|
|
19173
19361
|
{
|
|
19174
19362
|
assetId: "15",
|
|
19175
19363
|
symbol: "vDOT",
|
|
@@ -19220,6 +19408,29 @@ var HydrationPaseo = {
|
|
|
19220
19408
|
},
|
|
19221
19409
|
isFeeAsset: true
|
|
19222
19410
|
},
|
|
19411
|
+
{
|
|
19412
|
+
assetId: "40",
|
|
19413
|
+
symbol: "jitoSOL",
|
|
19414
|
+
decimals: 9,
|
|
19415
|
+
existentialDeposit: "2651",
|
|
19416
|
+
location: {
|
|
19417
|
+
parents: 1,
|
|
19418
|
+
interior: {
|
|
19419
|
+
X2: [
|
|
19420
|
+
{
|
|
19421
|
+
Parachain: 2004
|
|
19422
|
+
},
|
|
19423
|
+
{
|
|
19424
|
+
AccountKey20: {
|
|
19425
|
+
network: null,
|
|
19426
|
+
key: "0xe9f9a2e3deae4093c00fbc57b22bb51a4c05ad88"
|
|
19427
|
+
}
|
|
19428
|
+
}
|
|
19429
|
+
]
|
|
19430
|
+
}
|
|
19431
|
+
},
|
|
19432
|
+
isFeeAsset: true
|
|
19433
|
+
},
|
|
19223
19434
|
{
|
|
19224
19435
|
assetId: "2",
|
|
19225
19436
|
symbol: "DAI",
|
|
@@ -19265,13 +19476,14 @@ var HydrationPaseo = {
|
|
|
19265
19476
|
]
|
|
19266
19477
|
}
|
|
19267
19478
|
},
|
|
19268
|
-
isFeeAsset: true
|
|
19479
|
+
isFeeAsset: true,
|
|
19480
|
+
alias: "CFG1"
|
|
19269
19481
|
},
|
|
19270
19482
|
{
|
|
19271
19483
|
assetId: "1002",
|
|
19272
19484
|
symbol: "aUSDT",
|
|
19273
19485
|
decimals: 6,
|
|
19274
|
-
existentialDeposit: "
|
|
19486
|
+
existentialDeposit: "22409",
|
|
19275
19487
|
location: {
|
|
19276
19488
|
parents: 1,
|
|
19277
19489
|
interior: {
|
|
@@ -19384,6 +19596,12 @@ var HydrationPaseo = {
|
|
|
19384
19596
|
},
|
|
19385
19597
|
isFeeAsset: true
|
|
19386
19598
|
},
|
|
19599
|
+
{
|
|
19600
|
+
assetId: "104",
|
|
19601
|
+
symbol: "2-Pool-WETH",
|
|
19602
|
+
decimals: 18,
|
|
19603
|
+
existentialDeposit: "2583311805735"
|
|
19604
|
+
},
|
|
19387
19605
|
{
|
|
19388
19606
|
assetId: "29",
|
|
19389
19607
|
symbol: "PLMC",
|
|
@@ -19566,7 +19784,7 @@ var HydrationPaseo = {
|
|
|
19566
19784
|
assetId: "1003",
|
|
19567
19785
|
symbol: "aUSDC",
|
|
19568
19786
|
decimals: 6,
|
|
19569
|
-
existentialDeposit: "
|
|
19787
|
+
existentialDeposit: "22409",
|
|
19570
19788
|
location: {
|
|
19571
19789
|
parents: 1,
|
|
19572
19790
|
interior: {
|
|
@@ -19613,6 +19831,12 @@ var HydrationPaseo = {
|
|
|
19613
19831
|
isFeeAsset: true,
|
|
19614
19832
|
alias: "WBTC1"
|
|
19615
19833
|
},
|
|
19834
|
+
{
|
|
19835
|
+
assetId: "690",
|
|
19836
|
+
symbol: "2-Pool-GDOT",
|
|
19837
|
+
decimals: 18,
|
|
19838
|
+
existentialDeposit: "1"
|
|
19839
|
+
},
|
|
19616
19840
|
{
|
|
19617
19841
|
assetId: "22",
|
|
19618
19842
|
symbol: "USDC",
|
|
@@ -19637,11 +19861,17 @@ var HydrationPaseo = {
|
|
|
19637
19861
|
isFeeAsset: true,
|
|
19638
19862
|
alias: "USDC3"
|
|
19639
19863
|
},
|
|
19864
|
+
{
|
|
19865
|
+
assetId: "112",
|
|
19866
|
+
symbol: "2-Pool-HUSDS",
|
|
19867
|
+
decimals: 18,
|
|
19868
|
+
existentialDeposit: "1000"
|
|
19869
|
+
},
|
|
19640
19870
|
{
|
|
19641
19871
|
assetId: "1005",
|
|
19642
19872
|
symbol: "avDOT",
|
|
19643
19873
|
decimals: 10,
|
|
19644
|
-
existentialDeposit: "
|
|
19874
|
+
existentialDeposit: "36627790",
|
|
19645
19875
|
location: {
|
|
19646
19876
|
parents: 1,
|
|
19647
19877
|
interior: {
|
|
@@ -19660,6 +19890,29 @@ var HydrationPaseo = {
|
|
|
19660
19890
|
},
|
|
19661
19891
|
isFeeAsset: true
|
|
19662
19892
|
},
|
|
19893
|
+
{
|
|
19894
|
+
assetId: "1007",
|
|
19895
|
+
symbol: "aETH",
|
|
19896
|
+
decimals: 18,
|
|
19897
|
+
existentialDeposit: "8202803876747",
|
|
19898
|
+
location: {
|
|
19899
|
+
parents: 1,
|
|
19900
|
+
interior: {
|
|
19901
|
+
X2: [
|
|
19902
|
+
{
|
|
19903
|
+
Parachain: 2034
|
|
19904
|
+
},
|
|
19905
|
+
{
|
|
19906
|
+
AccountKey20: {
|
|
19907
|
+
network: null,
|
|
19908
|
+
key: "0x11a8f7ffbb7e0fbed88bc20179dd45b4bd6874ff"
|
|
19909
|
+
}
|
|
19910
|
+
}
|
|
19911
|
+
]
|
|
19912
|
+
}
|
|
19913
|
+
},
|
|
19914
|
+
isFeeAsset: true
|
|
19915
|
+
},
|
|
19663
19916
|
{
|
|
19664
19917
|
assetId: "24",
|
|
19665
19918
|
symbol: "SUB",
|
|
@@ -19749,6 +20002,29 @@ var HydrationPaseo = {
|
|
|
19749
20002
|
},
|
|
19750
20003
|
isFeeAsset: true
|
|
19751
20004
|
},
|
|
20005
|
+
{
|
|
20006
|
+
assetId: "1110",
|
|
20007
|
+
symbol: "HUSDC",
|
|
20008
|
+
decimals: 18,
|
|
20009
|
+
existentialDeposit: "33000000000000000",
|
|
20010
|
+
location: {
|
|
20011
|
+
parents: 1,
|
|
20012
|
+
interior: {
|
|
20013
|
+
X2: [
|
|
20014
|
+
{
|
|
20015
|
+
Parachain: 2034
|
|
20016
|
+
},
|
|
20017
|
+
{
|
|
20018
|
+
AccountKey20: {
|
|
20019
|
+
network: null,
|
|
20020
|
+
key: "0x35774c305aaf441a102d47988d35f0f5428471b3"
|
|
20021
|
+
}
|
|
20022
|
+
}
|
|
20023
|
+
]
|
|
20024
|
+
}
|
|
20025
|
+
},
|
|
20026
|
+
isFeeAsset: true
|
|
20027
|
+
},
|
|
19752
20028
|
{
|
|
19753
20029
|
assetId: "1000100",
|
|
19754
20030
|
symbol: "LDOT",
|
|
@@ -19776,7 +20052,7 @@ var HydrationPaseo = {
|
|
|
19776
20052
|
assetId: "1004",
|
|
19777
20053
|
symbol: "aWBTC",
|
|
19778
20054
|
decimals: 8,
|
|
19779
|
-
existentialDeposit: "
|
|
20055
|
+
existentialDeposit: "40",
|
|
19780
20056
|
location: {
|
|
19781
20057
|
parents: 1,
|
|
19782
20058
|
interior: {
|
|
@@ -19850,6 +20126,12 @@ var HydrationPaseo = {
|
|
|
19850
20126
|
},
|
|
19851
20127
|
isFeeAsset: true
|
|
19852
20128
|
},
|
|
20129
|
+
{
|
|
20130
|
+
assetId: "113",
|
|
20131
|
+
symbol: "2-Pool-HUSDe",
|
|
20132
|
+
decimals: 18,
|
|
20133
|
+
existentialDeposit: "1000"
|
|
20134
|
+
},
|
|
19853
20135
|
{
|
|
19854
20136
|
assetId: "1",
|
|
19855
20137
|
symbol: "H2O",
|
|
@@ -19916,26 +20198,6 @@ var HydrationPaseo = {
|
|
|
19916
20198
|
},
|
|
19917
20199
|
isFeeAsset: true
|
|
19918
20200
|
},
|
|
19919
|
-
{
|
|
19920
|
-
assetId: "12345",
|
|
19921
|
-
symbol: "KPGT",
|
|
19922
|
-
decimals: 18,
|
|
19923
|
-
existentialDeposit: "10000000000000000",
|
|
19924
|
-
location: {
|
|
19925
|
-
parents: 1,
|
|
19926
|
-
interior: {
|
|
19927
|
-
X2: [
|
|
19928
|
-
{
|
|
19929
|
-
Parachain: 4818
|
|
19930
|
-
},
|
|
19931
|
-
{
|
|
19932
|
-
GeneralIndex: 0
|
|
19933
|
-
}
|
|
19934
|
-
]
|
|
19935
|
-
}
|
|
19936
|
-
},
|
|
19937
|
-
isFeeAsset: true
|
|
19938
|
-
},
|
|
19939
20201
|
{
|
|
19940
20202
|
assetId: "3",
|
|
19941
20203
|
symbol: "WBTC",
|
|
@@ -20035,6 +20297,29 @@ var HydrationPaseo = {
|
|
|
20035
20297
|
},
|
|
20036
20298
|
isFeeAsset: true
|
|
20037
20299
|
},
|
|
20300
|
+
{
|
|
20301
|
+
assetId: "69",
|
|
20302
|
+
symbol: "GDOT",
|
|
20303
|
+
decimals: 18,
|
|
20304
|
+
existentialDeposit: "5290724013368937",
|
|
20305
|
+
location: {
|
|
20306
|
+
parents: 1,
|
|
20307
|
+
interior: {
|
|
20308
|
+
X2: [
|
|
20309
|
+
{
|
|
20310
|
+
Parachain: 2034
|
|
20311
|
+
},
|
|
20312
|
+
{
|
|
20313
|
+
AccountKey20: {
|
|
20314
|
+
network: null,
|
|
20315
|
+
key: "0x34d5ffb83d14d82f87aaf2f13be895a3c814c2ad"
|
|
20316
|
+
}
|
|
20317
|
+
}
|
|
20318
|
+
]
|
|
20319
|
+
}
|
|
20320
|
+
},
|
|
20321
|
+
isFeeAsset: true
|
|
20322
|
+
},
|
|
20038
20323
|
{
|
|
20039
20324
|
assetId: "23",
|
|
20040
20325
|
symbol: "USDT",
|
|
@@ -20062,6 +20347,56 @@ var HydrationPaseo = {
|
|
|
20062
20347
|
isFeeAsset: true,
|
|
20063
20348
|
alias: "USDT3"
|
|
20064
20349
|
},
|
|
20350
|
+
{
|
|
20351
|
+
assetId: "37",
|
|
20352
|
+
symbol: "SQD",
|
|
20353
|
+
decimals: 18,
|
|
20354
|
+
existentialDeposit: "61012812690665100",
|
|
20355
|
+
location: {
|
|
20356
|
+
parents: 1,
|
|
20357
|
+
interior: {
|
|
20358
|
+
X2: [
|
|
20359
|
+
{
|
|
20360
|
+
Parachain: 2004
|
|
20361
|
+
},
|
|
20362
|
+
{
|
|
20363
|
+
AccountKey20: {
|
|
20364
|
+
network: null,
|
|
20365
|
+
key: "0x9c4c6eaad9b926ba09f702f4ad880ef71998ef18"
|
|
20366
|
+
}
|
|
20367
|
+
}
|
|
20368
|
+
]
|
|
20369
|
+
}
|
|
20370
|
+
},
|
|
20371
|
+
isFeeAsset: true
|
|
20372
|
+
},
|
|
20373
|
+
{
|
|
20374
|
+
assetId: "1000851",
|
|
20375
|
+
symbol: "LBTC",
|
|
20376
|
+
decimals: 8,
|
|
20377
|
+
existentialDeposit: "11",
|
|
20378
|
+
location: {
|
|
20379
|
+
parents: 2,
|
|
20380
|
+
interior: {
|
|
20381
|
+
X2: [
|
|
20382
|
+
{
|
|
20383
|
+
GlobalConsensus: {
|
|
20384
|
+
Ethereum: {
|
|
20385
|
+
chainId: 1
|
|
20386
|
+
}
|
|
20387
|
+
}
|
|
20388
|
+
},
|
|
20389
|
+
{
|
|
20390
|
+
AccountKey20: {
|
|
20391
|
+
network: null,
|
|
20392
|
+
key: "0x8236a87084f8b84306f72007f36f2618a5634494"
|
|
20393
|
+
}
|
|
20394
|
+
}
|
|
20395
|
+
]
|
|
20396
|
+
}
|
|
20397
|
+
},
|
|
20398
|
+
isFeeAsset: true
|
|
20399
|
+
},
|
|
20065
20400
|
{
|
|
20066
20401
|
assetId: "9",
|
|
20067
20402
|
symbol: "ASTR",
|
|
@@ -20778,6 +21113,42 @@ var throwDuplicateAssetError = function throwDuplicateAssetError(symbol, nativeM
|
|
|
20778
21113
|
}
|
|
20779
21114
|
};
|
|
20780
21115
|
|
|
21116
|
+
var removePrefix = function removePrefix(symbol) {
|
|
21117
|
+
return symbol.slice(2);
|
|
21118
|
+
};
|
|
21119
|
+
var removeSuffix = function removeSuffix(symbol) {
|
|
21120
|
+
return symbol.slice(0, -2);
|
|
21121
|
+
};
|
|
21122
|
+
var findEthAssetBySymbol = function findEthAssetBySymbol(symbol) {
|
|
21123
|
+
var ethereumAssets = getOtherAssets('Ethereum');
|
|
21124
|
+
return findBestMatches(ethereumAssets, symbol)[0];
|
|
21125
|
+
};
|
|
21126
|
+
var findEthMatch = function findEthMatch(symbol) {
|
|
21127
|
+
var match = findEthAssetBySymbol(symbol);
|
|
21128
|
+
if (match) return match;
|
|
21129
|
+
var altSymbol = symbol.toLowerCase().endsWith('.e') ? removeSuffix(symbol) : "".concat(symbol, ".e");
|
|
21130
|
+
return findEthAssetBySymbol(altSymbol.toLowerCase());
|
|
21131
|
+
};
|
|
21132
|
+
var findWithXcVariant = function findWithXcVariant(items, value) {
|
|
21133
|
+
var lower = value.toLowerCase();
|
|
21134
|
+
var candidate = lower.startsWith('xc') ? removePrefix(value) : "xc".concat(value);
|
|
21135
|
+
return findBestMatches(items, candidate);
|
|
21136
|
+
};
|
|
21137
|
+
var pickOtherOrThrow = function pickOtherOrThrow(input, otherMatches) {
|
|
21138
|
+
if (otherMatches.length > 1) {
|
|
21139
|
+
throwDuplicateAssetError(input, [], otherMatches);
|
|
21140
|
+
}
|
|
21141
|
+
return otherMatches[0];
|
|
21142
|
+
};
|
|
21143
|
+
var pickAny = function pickAny(_native, other) {
|
|
21144
|
+
var _other$;
|
|
21145
|
+
return (_other$ = other[0]) !== null && _other$ !== void 0 ? _other$ : _native[0];
|
|
21146
|
+
};
|
|
21147
|
+
var throwIfDuplicate = function throwIfDuplicate(input, nativeMatches, otherMatches) {
|
|
21148
|
+
if (nativeMatches.length + otherMatches.length > 1) {
|
|
21149
|
+
throwDuplicateAssetError(input, nativeMatches, otherMatches);
|
|
21150
|
+
}
|
|
21151
|
+
};
|
|
20781
21152
|
var findAssetInfoBySymbol = function findAssetInfoBySymbol(destination, otherAssets, nativeAssets, symbol) {
|
|
20782
21153
|
var isSpecifier = isSymbolSpecifier(symbol);
|
|
20783
21154
|
var assetsMatches = [];
|
|
@@ -20790,78 +21161,30 @@ var findAssetInfoBySymbol = function findAssetInfoBySymbol(destination, otherAss
|
|
|
20790
21161
|
var lowerSymbol = value.toLowerCase();
|
|
20791
21162
|
var otherAssetsMatches = [];
|
|
20792
21163
|
if (destination === 'Ethereum') {
|
|
20793
|
-
|
|
20794
|
-
var _assetsMatches = findBestMatches(ethereumAssets, value);
|
|
20795
|
-
if (_assetsMatches.length === 0) {
|
|
20796
|
-
if (lowerSymbol.endsWith('.e')) {
|
|
20797
|
-
// Symbol ends with '.e', strip it and search again
|
|
20798
|
-
var strippedSymbol = value.slice(0, -2).toLowerCase();
|
|
20799
|
-
_assetsMatches = findBestMatches(ethereumAssets, strippedSymbol);
|
|
20800
|
-
} else {
|
|
20801
|
-
// Symbol does not end with '.e', add '.e' suffix and search
|
|
20802
|
-
var suffixedSymbol = "".concat(value, ".e").toLowerCase();
|
|
20803
|
-
_assetsMatches = findBestMatches(ethereumAssets, suffixedSymbol);
|
|
20804
|
-
}
|
|
20805
|
-
}
|
|
20806
|
-
return _assetsMatches[0];
|
|
21164
|
+
return findEthMatch(value);
|
|
20807
21165
|
}
|
|
20808
21166
|
if (lowerSymbol.endsWith('.e')) {
|
|
20809
21167
|
// Symbol ends with '.e', indicating a Snowbridge asset
|
|
20810
|
-
var
|
|
21168
|
+
var strippedSymbol = removeSuffix(value);
|
|
20811
21169
|
// If not found, search normal assets with '.e' suffix
|
|
20812
21170
|
otherAssetsMatches = findBestMatches(otherAssets, value);
|
|
20813
|
-
|
|
20814
|
-
|
|
20815
|
-
|
|
20816
|
-
|
|
20817
|
-
|
|
20818
|
-
|
|
20819
|
-
|
|
20820
|
-
var _strippedSymbol2 = value.substring(2);
|
|
20821
|
-
otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol2);
|
|
20822
|
-
} else {
|
|
20823
|
-
// Try adding 'xc' prefix
|
|
20824
|
-
var prefixedSymbol = "xc".concat(value);
|
|
20825
|
-
otherAssetsMatches = findBestMatches(otherAssets, prefixedSymbol);
|
|
20826
|
-
}
|
|
20827
|
-
if (otherAssetsMatches.length > 1) {
|
|
20828
|
-
throwDuplicateAssetError(value, [], otherAssetsMatches);
|
|
20829
|
-
} else if (otherAssetsMatches.length > 0) {
|
|
20830
|
-
return otherAssetsMatches[0];
|
|
20831
|
-
}
|
|
20832
|
-
// Search in Ethereum assets without the '.e' suffix
|
|
20833
|
-
var _ethereumAssets = getOtherAssets('Ethereum');
|
|
20834
|
-
var ethereumMatches = findBestMatches(_ethereumAssets, _strippedSymbol);
|
|
20835
|
-
if (ethereumMatches.length > 0) {
|
|
20836
|
-
return ethereumMatches[0];
|
|
20837
|
-
}
|
|
21171
|
+
var foundAsset = pickOtherOrThrow(value, otherAssetsMatches);
|
|
21172
|
+
if (foundAsset) return foundAsset;
|
|
21173
|
+
otherAssetsMatches = findWithXcVariant(otherAssets, value);
|
|
21174
|
+
foundAsset = pickOtherOrThrow(value, otherAssetsMatches);
|
|
21175
|
+
if (foundAsset) return foundAsset;
|
|
21176
|
+
var ethAsset = findEthAssetBySymbol(strippedSymbol);
|
|
21177
|
+
if (ethAsset) return ethAsset;
|
|
20838
21178
|
// If still not found, search normal assets without suffix
|
|
20839
|
-
otherAssetsMatches = findBestMatches(otherAssets,
|
|
20840
|
-
|
|
20841
|
-
throwDuplicateAssetError(value, [], otherAssetsMatches);
|
|
20842
|
-
} else if (otherAssetsMatches.length > 0) {
|
|
20843
|
-
return otherAssetsMatches[0];
|
|
20844
|
-
}
|
|
20845
|
-
// No matches found
|
|
20846
|
-
return undefined;
|
|
21179
|
+
otherAssetsMatches = findBestMatches(otherAssets, strippedSymbol);
|
|
21180
|
+
return pickOtherOrThrow(value, otherAssetsMatches);
|
|
20847
21181
|
} else {
|
|
20848
21182
|
// Symbol does not end with '.e', proceed with existing logic
|
|
20849
21183
|
otherAssetsMatches = findBestMatches(otherAssets, value);
|
|
20850
21184
|
if (otherAssetsMatches.length === 0) {
|
|
20851
|
-
|
|
20852
|
-
// Symbol starts with 'xc', try stripping 'xc' prefix
|
|
20853
|
-
var _strippedSymbol3 = value.substring(2);
|
|
20854
|
-
otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol3);
|
|
20855
|
-
} else {
|
|
20856
|
-
// Try adding 'xc' prefix
|
|
20857
|
-
var _prefixedSymbol = "xc".concat(value);
|
|
20858
|
-
otherAssetsMatches = findBestMatches(otherAssets, _prefixedSymbol);
|
|
20859
|
-
}
|
|
21185
|
+
otherAssetsMatches = findWithXcVariant(otherAssets, value);
|
|
20860
21186
|
}
|
|
20861
|
-
|
|
20862
|
-
throwDuplicateAssetError(value, [], otherAssetsMatches);
|
|
20863
|
-
}
|
|
20864
|
-
return otherAssetsMatches[0] || undefined;
|
|
21187
|
+
return pickOtherOrThrow(value, otherAssetsMatches);
|
|
20865
21188
|
}
|
|
20866
21189
|
} else if (type === 'ForeignAbstract') {
|
|
20867
21190
|
assetsMatches = findBestMatches(otherAssets, value, 'alias');
|
|
@@ -20874,91 +21197,41 @@ var findAssetInfoBySymbol = function findAssetInfoBySymbol(destination, otherAss
|
|
|
20874
21197
|
var _otherAssetsMatches = [];
|
|
20875
21198
|
var nativeAssetsMatches = [];
|
|
20876
21199
|
if (destination === 'Ethereum') {
|
|
20877
|
-
|
|
20878
|
-
var _assetsMatches2 = findBestMatches(_ethereumAssets2, symbol);
|
|
20879
|
-
if (_assetsMatches2.length === 0) {
|
|
20880
|
-
if (_lowerSymbol.endsWith('.e')) {
|
|
20881
|
-
// Symbol ends with '.e', strip it and search again
|
|
20882
|
-
var _strippedSymbol4 = symbol.slice(0, -2).toLowerCase();
|
|
20883
|
-
_assetsMatches2 = findBestMatches(_ethereumAssets2, _strippedSymbol4);
|
|
20884
|
-
} else {
|
|
20885
|
-
// Symbol does not end with '.e', add '.e' suffix and search
|
|
20886
|
-
var _suffixedSymbol = "".concat(symbol, ".e").toLowerCase();
|
|
20887
|
-
_assetsMatches2 = findBestMatches(_ethereumAssets2, _suffixedSymbol);
|
|
20888
|
-
}
|
|
20889
|
-
}
|
|
20890
|
-
return _assetsMatches2[0];
|
|
21200
|
+
return findEthMatch(symbol);
|
|
20891
21201
|
}
|
|
20892
21202
|
if (_lowerSymbol.endsWith('.e')) {
|
|
20893
21203
|
// Symbol ends with '.e', indicating a Snowbridge asset
|
|
20894
|
-
var
|
|
21204
|
+
var _strippedSymbol = removeSuffix(symbol);
|
|
20895
21205
|
// If not found, search normal assets with '.e' suffix
|
|
20896
21206
|
_otherAssetsMatches = findBestMatches(otherAssets, symbol);
|
|
20897
21207
|
nativeAssetsMatches = findBestMatches(nativeAssets, symbol);
|
|
20898
21208
|
if (nativeAssetsMatches.length > 0 || _otherAssetsMatches.length > 0) {
|
|
20899
|
-
return _otherAssetsMatches
|
|
20900
|
-
}
|
|
20901
|
-
if (_lowerSymbol.startsWith('xc')) {
|
|
20902
|
-
// Symbol starts with 'xc', try stripping 'xc' prefix
|
|
20903
|
-
var _strippedSymbol6 = symbol.substring(2);
|
|
20904
|
-
_otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol6);
|
|
20905
|
-
} else {
|
|
20906
|
-
// Try adding 'xc' prefix
|
|
20907
|
-
var _prefixedSymbol2 = "xc".concat(symbol);
|
|
20908
|
-
_otherAssetsMatches = findBestMatches(otherAssets, _prefixedSymbol2);
|
|
20909
|
-
}
|
|
20910
|
-
if (_otherAssetsMatches.length > 1) {
|
|
20911
|
-
throwDuplicateAssetError(symbol, [], _otherAssetsMatches);
|
|
20912
|
-
} else if (_otherAssetsMatches.length > 0) {
|
|
20913
|
-
return _otherAssetsMatches[0];
|
|
21209
|
+
return pickAny(nativeAssetsMatches, _otherAssetsMatches);
|
|
20914
21210
|
}
|
|
21211
|
+
_otherAssetsMatches = findWithXcVariant(otherAssets, symbol);
|
|
21212
|
+
var _foundAsset = pickOtherOrThrow(symbol, _otherAssetsMatches);
|
|
21213
|
+
if (_foundAsset) return _foundAsset;
|
|
20915
21214
|
// Search in Ethereum assets without the '.e' suffix
|
|
20916
|
-
var
|
|
20917
|
-
|
|
20918
|
-
if (_ethereumMatches.length > 0) {
|
|
20919
|
-
return _ethereumMatches[0];
|
|
20920
|
-
}
|
|
21215
|
+
var _ethAsset = findEthAssetBySymbol(_strippedSymbol);
|
|
21216
|
+
if (_ethAsset) return _ethAsset;
|
|
20921
21217
|
// If still not found, search normal assets without suffix
|
|
20922
|
-
_otherAssetsMatches = findBestMatches(otherAssets,
|
|
20923
|
-
nativeAssetsMatches = findBestMatches(nativeAssets,
|
|
20924
|
-
|
|
20925
|
-
return _otherAssetsMatches[0] || nativeAssetsMatches[0];
|
|
20926
|
-
}
|
|
20927
|
-
// No matches found
|
|
20928
|
-
return undefined;
|
|
21218
|
+
_otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol);
|
|
21219
|
+
nativeAssetsMatches = findBestMatches(nativeAssets, _strippedSymbol);
|
|
21220
|
+
return pickAny(nativeAssetsMatches, _otherAssetsMatches);
|
|
20929
21221
|
} else {
|
|
20930
21222
|
// Symbol does not end with '.e'
|
|
20931
21223
|
_otherAssetsMatches = findBestMatches(otherAssets, symbol);
|
|
20932
21224
|
nativeAssetsMatches = findBestMatches(nativeAssets, symbol);
|
|
20933
21225
|
if (_otherAssetsMatches.length === 0 && nativeAssetsMatches.length === 0) {
|
|
20934
|
-
|
|
20935
|
-
|
|
20936
|
-
|
|
20937
|
-
_otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol7);
|
|
20938
|
-
nativeAssetsMatches = findBestMatches(nativeAssets, _strippedSymbol7);
|
|
20939
|
-
var _totalMatches = _otherAssetsMatches.length + nativeAssetsMatches.length;
|
|
20940
|
-
if (_totalMatches > 1) {
|
|
20941
|
-
throwDuplicateAssetError(symbol, nativeAssetsMatches, _otherAssetsMatches);
|
|
20942
|
-
}
|
|
20943
|
-
} else {
|
|
20944
|
-
// Try adding 'xc' prefix
|
|
20945
|
-
var _prefixedSymbol3 = "xc".concat(symbol);
|
|
20946
|
-
_otherAssetsMatches = findBestMatches(otherAssets, _prefixedSymbol3);
|
|
20947
|
-
nativeAssetsMatches = findBestMatches(nativeAssets, _prefixedSymbol3);
|
|
20948
|
-
var _totalMatches2 = _otherAssetsMatches.length + nativeAssetsMatches.length;
|
|
20949
|
-
if (_totalMatches2 > 1) {
|
|
20950
|
-
throwDuplicateAssetError(symbol, nativeAssetsMatches, _otherAssetsMatches);
|
|
20951
|
-
}
|
|
20952
|
-
}
|
|
21226
|
+
_otherAssetsMatches = findWithXcVariant(otherAssets, symbol);
|
|
21227
|
+
nativeAssetsMatches = findWithXcVariant(nativeAssets, symbol);
|
|
21228
|
+
throwIfDuplicate(symbol, nativeAssetsMatches, _otherAssetsMatches);
|
|
20953
21229
|
}
|
|
20954
|
-
|
|
20955
|
-
|
|
20956
|
-
throwDuplicateAssetError(symbol, nativeAssetsMatches, _otherAssetsMatches);
|
|
20957
|
-
}
|
|
20958
|
-
return _otherAssetsMatches[0] || nativeAssetsMatches[0] || undefined;
|
|
21230
|
+
throwIfDuplicate(symbol, nativeAssetsMatches, _otherAssetsMatches);
|
|
21231
|
+
return pickAny(nativeAssetsMatches, _otherAssetsMatches);
|
|
20959
21232
|
}
|
|
20960
21233
|
}
|
|
20961
|
-
return assetsMatches[0]
|
|
21234
|
+
return assetsMatches[0];
|
|
20962
21235
|
};
|
|
20963
21236
|
|
|
20964
21237
|
var findAssetInfo = function findAssetInfo(chain, currency, destination) {
|
|
@@ -21010,9 +21283,9 @@ var findAssetInfoOrThrow = function findAssetInfoOrThrow(chain, currency, destin
|
|
|
21010
21283
|
};
|
|
21011
21284
|
|
|
21012
21285
|
var findAssetInfoOnDest = function findAssetInfoOnDest(origin, destination, currency, originAsset) {
|
|
21013
|
-
var
|
|
21286
|
+
var isBridge = sdkCommon.isSubstrateBridge(origin, destination);
|
|
21014
21287
|
var resolvedOriginAsset = originAsset !== null && originAsset !== void 0 ? originAsset : findAssetInfoOrThrow(origin, currency, destination);
|
|
21015
|
-
var assetByLocation = !
|
|
21288
|
+
var assetByLocation = !isBridge && resolvedOriginAsset.location ? findAssetInfo(destination, {
|
|
21016
21289
|
location: resolvedOriginAsset.location
|
|
21017
21290
|
}, null) : null;
|
|
21018
21291
|
return assetByLocation !== null && assetByLocation !== void 0 ? assetByLocation : findAssetInfo(destination, {
|
|
@@ -21354,9 +21627,9 @@ var getSupportedDestinations = function getSupportedDestinations(origin, currenc
|
|
|
21354
21627
|
};
|
|
21355
21628
|
|
|
21356
21629
|
var isAssetEqual = function isAssetEqual(asset1, asset2) {
|
|
21357
|
-
var
|
|
21358
|
-
var
|
|
21359
|
-
if (
|
|
21630
|
+
var loc1 = asset1.location;
|
|
21631
|
+
var loc2 = asset2.location;
|
|
21632
|
+
if (loc1 && loc2) return sdkCommon.deepEqual(loc1, loc2);
|
|
21360
21633
|
if (isForeignAsset(asset1) && isForeignAsset(asset2) && asset1.assetId === asset2.assetId) return true;
|
|
21361
21634
|
return isSymbolMatch(asset1.symbol, asset2.symbol);
|
|
21362
21635
|
};
|