@paraspell/assets 11.12.2 → 11.12.4

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 CHANGED
@@ -4261,10 +4261,13 @@ var Hydration = {
4261
4261
  location: {
4262
4262
  parents: 1,
4263
4263
  interior: {
4264
- X2: [
4264
+ X3: [
4265
4265
  {
4266
4266
  Parachain: 2004
4267
4267
  },
4268
+ {
4269
+ PalletInstance: 110
4270
+ },
4268
4271
  {
4269
4272
  AccountKey20: {
4270
4273
  network: null,
@@ -7790,29 +7793,6 @@ var AssetHubPolkadot = {
7790
7793
  },
7791
7794
  existentialDeposit: "1000000"
7792
7795
  },
7793
- {
7794
- assetId: "22222037",
7795
- symbol: "KSM",
7796
- decimals: 12,
7797
- location: {
7798
- parents: 1,
7799
- interior: {
7800
- X3: [
7801
- {
7802
- Parachain: 1000
7803
- },
7804
- {
7805
- PalletInstance: 50
7806
- },
7807
- {
7808
- GeneralIndex: 22222037
7809
- }
7810
- ]
7811
- }
7812
- },
7813
- existentialDeposit: "1000000000000",
7814
- alias: "KSM1"
7815
- },
7816
7796
  {
7817
7797
  assetId: "201",
7818
7798
  symbol: "WUD",
@@ -8308,8 +8288,7 @@ var AssetHubPolkadot = {
8308
8288
  }
8309
8289
  },
8310
8290
  existentialDeposit: "1000000000",
8311
- isFeeAsset: true,
8312
- alias: "KSM2"
8291
+ isFeeAsset: true
8313
8292
  },
8314
8293
  {
8315
8294
  symbol: "sUSDS",
@@ -11873,8 +11852,8 @@ var Quartz = {
11873
11852
  nativeAssetSymbol: "QTZ",
11874
11853
  isEVM: false,
11875
11854
  ss58Prefix: 255,
11876
- supportsDryRunApi: false,
11877
- supportsXcmPaymentApi: false,
11855
+ supportsDryRunApi: true,
11856
+ supportsXcmPaymentApi: true,
11878
11857
  nativeAssets: [
11879
11858
  {
11880
11859
  symbol: "QTZ",
@@ -12717,29 +12696,6 @@ var AssetHubKusama = {
12717
12696
  },
12718
12697
  existentialDeposit: "10000000000"
12719
12698
  },
12720
- {
12721
- assetId: "14",
12722
- symbol: "DOT",
12723
- decimals: 10,
12724
- location: {
12725
- parents: 1,
12726
- interior: {
12727
- X3: [
12728
- {
12729
- Parachain: 1000
12730
- },
12731
- {
12732
- PalletInstance: 50
12733
- },
12734
- {
12735
- GeneralIndex: 14
12736
- }
12737
- ]
12738
- }
12739
- },
12740
- existentialDeposit: "100000000",
12741
- alias: "DOT1"
12742
- },
12743
12699
  {
12744
12700
  assetId: "360",
12745
12701
  symbol: "uni",
@@ -13502,8 +13458,7 @@ var AssetHubKusama = {
13502
13458
  }
13503
13459
  },
13504
13460
  existentialDeposit: "10000000",
13505
- isFeeAsset: true,
13506
- alias: "DOT2"
13461
+ isFeeAsset: true
13507
13462
  },
13508
13463
  {
13509
13464
  symbol: "vKSM",
@@ -18261,22 +18216,20 @@ var BifrostPaseo = {
18261
18216
  supportsXcmPaymentApi: true,
18262
18217
  nativeAssets: [
18263
18218
  {
18264
- symbol: "KSM",
18265
- decimals: 12,
18266
- existentialDeposit: "10000000",
18267
- isNative: true
18268
- },
18269
- {
18270
- symbol: "DOT",
18271
- decimals: 10,
18272
- existentialDeposit: "100000000",
18273
- isNative: true
18274
- },
18275
- {
18276
- symbol: "vBNC",
18219
+ symbol: "BNC",
18220
+ isNative: true,
18277
18221
  decimals: 12,
18278
18222
  existentialDeposit: "10000000000",
18279
- isNative: true
18223
+ location: {
18224
+ parents: 1,
18225
+ interior: {
18226
+ X1: [
18227
+ {
18228
+ Parachain: 2030
18229
+ }
18230
+ ]
18231
+ }
18232
+ }
18280
18233
  }
18281
18234
  ],
18282
18235
  otherAssets: [
@@ -18546,6 +18499,81 @@ var HydrationPaseo = {
18546
18499
  },
18547
18500
  isFeeAsset: true
18548
18501
  },
18502
+ {
18503
+ assetId: "1113",
18504
+ symbol: "HUSDe",
18505
+ decimals: 18,
18506
+ existentialDeposit: "33000000000000000",
18507
+ location: {
18508
+ parents: 1,
18509
+ interior: {
18510
+ X2: [
18511
+ {
18512
+ Parachain: 2034
18513
+ },
18514
+ {
18515
+ AccountKey20: {
18516
+ network: null,
18517
+ key: "0x52e1311e26610e6662a1e5b5bd113130b6815213"
18518
+ }
18519
+ }
18520
+ ]
18521
+ }
18522
+ },
18523
+ isFeeAsset: true
18524
+ },
18525
+ {
18526
+ assetId: "222",
18527
+ symbol: "HOLLAR",
18528
+ decimals: 18,
18529
+ existentialDeposit: "0",
18530
+ location: {
18531
+ parents: 1,
18532
+ interior: {
18533
+ X2: [
18534
+ {
18535
+ Parachain: 2034
18536
+ },
18537
+ {
18538
+ AccountKey20: {
18539
+ network: null,
18540
+ key: "0x531a654d1696ed52e7275a8cede955e82620f99a"
18541
+ }
18542
+ }
18543
+ ]
18544
+ }
18545
+ },
18546
+ isFeeAsset: true
18547
+ },
18548
+ {
18549
+ assetId: "420",
18550
+ symbol: "GETH",
18551
+ decimals: 18,
18552
+ existentialDeposit: "8202803876747",
18553
+ location: {
18554
+ parents: 1,
18555
+ interior: {
18556
+ X2: [
18557
+ {
18558
+ Parachain: 2034
18559
+ },
18560
+ {
18561
+ AccountKey20: {
18562
+ network: null,
18563
+ key: "0x8a598fe3e3a471ce865332e330d303502a0e2f52"
18564
+ }
18565
+ }
18566
+ ]
18567
+ }
18568
+ },
18569
+ isFeeAsset: true
18570
+ },
18571
+ {
18572
+ assetId: "110",
18573
+ symbol: "2-Pool-HUSDC",
18574
+ decimals: 18,
18575
+ existentialDeposit: "1000"
18576
+ },
18549
18577
  {
18550
18578
  assetId: "10",
18551
18579
  symbol: "USDT",
@@ -18574,7 +18602,7 @@ var HydrationPaseo = {
18574
18602
  assetId: "1001",
18575
18603
  symbol: "aDOT",
18576
18604
  decimals: 10,
18577
- existentialDeposit: "0",
18605
+ existentialDeposit: "54125333",
18578
18606
  location: {
18579
18607
  parents: 1,
18580
18608
  interior: {
@@ -18593,6 +18621,29 @@ var HydrationPaseo = {
18593
18621
  },
18594
18622
  isFeeAsset: true
18595
18623
  },
18624
+ {
18625
+ assetId: "1111",
18626
+ symbol: "HUSDT",
18627
+ decimals: 18,
18628
+ existentialDeposit: "33000000000000000",
18629
+ location: {
18630
+ parents: 1,
18631
+ interior: {
18632
+ X2: [
18633
+ {
18634
+ Parachain: 2034
18635
+ },
18636
+ {
18637
+ AccountKey20: {
18638
+ network: null,
18639
+ key: "0x1806860d27ee903c1ec7586d4f7d598d7591f124"
18640
+ }
18641
+ }
18642
+ ]
18643
+ }
18644
+ },
18645
+ isFeeAsset: true
18646
+ },
18596
18647
  {
18597
18648
  assetId: "4",
18598
18649
  symbol: "WETH",
@@ -18728,6 +18779,33 @@ var HydrationPaseo = {
18728
18779
  },
18729
18780
  isFeeAsset: true
18730
18781
  },
18782
+ {
18783
+ assetId: "39",
18784
+ symbol: "PAXG",
18785
+ decimals: 18,
18786
+ existentialDeposit: "2374169040836",
18787
+ location: {
18788
+ parents: 2,
18789
+ interior: {
18790
+ X2: [
18791
+ {
18792
+ GlobalConsensus: {
18793
+ Ethereum: {
18794
+ chainId: 1
18795
+ }
18796
+ }
18797
+ },
18798
+ {
18799
+ AccountKey20: {
18800
+ network: null,
18801
+ key: "0x45804880de22913dafe09f4980848ece6ecbaf78"
18802
+ }
18803
+ }
18804
+ ]
18805
+ }
18806
+ },
18807
+ isFeeAsset: true
18808
+ },
18731
18809
  {
18732
18810
  assetId: "101",
18733
18811
  symbol: "2-Pool",
@@ -18735,6 +18813,33 @@ var HydrationPaseo = {
18735
18813
  existentialDeposit: "1000",
18736
18814
  alias: "2-Pool1"
18737
18815
  },
18816
+ {
18817
+ assetId: "38",
18818
+ symbol: "ENA",
18819
+ decimals: 18,
18820
+ existentialDeposit: "17337031900138700",
18821
+ location: {
18822
+ parents: 2,
18823
+ interior: {
18824
+ X2: [
18825
+ {
18826
+ GlobalConsensus: {
18827
+ Ethereum: {
18828
+ chainId: 1
18829
+ }
18830
+ }
18831
+ },
18832
+ {
18833
+ AccountKey20: {
18834
+ network: null,
18835
+ key: "0x57e114b691db790c35207b2e685d4a43181e6061"
18836
+ }
18837
+ }
18838
+ ]
18839
+ }
18840
+ },
18841
+ isFeeAsset: true
18842
+ },
18738
18843
  {
18739
18844
  assetId: "34",
18740
18845
  symbol: "ETH",
@@ -18800,22 +18905,22 @@ var HydrationPaseo = {
18800
18905
  isFeeAsset: true
18801
18906
  },
18802
18907
  {
18803
- assetId: "1000085",
18804
- symbol: "WUD",
18805
- decimals: 10,
18806
- existentialDeposit: "200000000000000",
18908
+ assetId: "1008",
18909
+ symbol: "a3-Pool",
18910
+ decimals: 18,
18911
+ existentialDeposit: "33000000000000000",
18807
18912
  location: {
18808
18913
  parents: 1,
18809
18914
  interior: {
18810
- X3: [
18811
- {
18812
- Parachain: 1000
18813
- },
18915
+ X2: [
18814
18916
  {
18815
- PalletInstance: 50
18917
+ Parachain: 2034
18816
18918
  },
18817
18919
  {
18818
- GeneralIndex: 31337
18920
+ AccountKey20: {
18921
+ network: null,
18922
+ key: "0xc09cf2f85367f3c2ab66e094283de3a499cb9108"
18923
+ }
18819
18924
  }
18820
18925
  ]
18821
18926
  }
@@ -18823,8 +18928,66 @@ var HydrationPaseo = {
18823
18928
  isFeeAsset: true
18824
18929
  },
18825
18930
  {
18826
- assetId: "1000099",
18827
- symbol: "ACA",
18931
+ assetId: "1000085",
18932
+ symbol: "WUD",
18933
+ decimals: 10,
18934
+ existentialDeposit: "200000000000000",
18935
+ location: {
18936
+ parents: 1,
18937
+ interior: {
18938
+ X3: [
18939
+ {
18940
+ Parachain: 1000
18941
+ },
18942
+ {
18943
+ PalletInstance: 50
18944
+ },
18945
+ {
18946
+ GeneralIndex: 31337
18947
+ }
18948
+ ]
18949
+ }
18950
+ },
18951
+ isFeeAsset: true
18952
+ },
18953
+ {
18954
+ assetId: "103",
18955
+ symbol: "3-Pool",
18956
+ decimals: 18,
18957
+ existentialDeposit: "20000000000000000"
18958
+ },
18959
+ {
18960
+ assetId: "111",
18961
+ symbol: "2-Pool-HUSDT",
18962
+ decimals: 18,
18963
+ existentialDeposit: "1000"
18964
+ },
18965
+ {
18966
+ assetId: "1112",
18967
+ symbol: "HUSDS",
18968
+ decimals: 18,
18969
+ existentialDeposit: "33000000000000000",
18970
+ location: {
18971
+ parents: 1,
18972
+ interior: {
18973
+ X2: [
18974
+ {
18975
+ Parachain: 2034
18976
+ },
18977
+ {
18978
+ AccountKey20: {
18979
+ network: null,
18980
+ key: "0x7e3ce0257506c3e1f96a2a9b25a9440959b0d453"
18981
+ }
18982
+ }
18983
+ ]
18984
+ }
18985
+ },
18986
+ isFeeAsset: true
18987
+ },
18988
+ {
18989
+ assetId: "1000099",
18990
+ symbol: "ACA",
18828
18991
  decimals: 12,
18829
18992
  existentialDeposit: "90744101633",
18830
18993
  location: {
@@ -18896,6 +19059,29 @@ var HydrationPaseo = {
18896
19059
  },
18897
19060
  isFeeAsset: true
18898
19061
  },
19062
+ {
19063
+ assetId: "1006",
19064
+ symbol: "atBTC",
19065
+ decimals: 18,
19066
+ existentialDeposit: "208779411374",
19067
+ location: {
19068
+ parents: 1,
19069
+ interior: {
19070
+ X2: [
19071
+ {
19072
+ Parachain: 2034
19073
+ },
19074
+ {
19075
+ AccountKey20: {
19076
+ network: null,
19077
+ key: "0x69003a65189f6ed993d3bd3e2b74f1db39f405ce"
19078
+ }
19079
+ }
19080
+ ]
19081
+ }
19082
+ },
19083
+ isFeeAsset: true
19084
+ },
18899
19085
  {
18900
19086
  assetId: "6",
18901
19087
  symbol: "APE",
@@ -19001,10 +19187,57 @@ var HydrationPaseo = {
19001
19187
  isFeeAsset: true
19002
19188
  },
19003
19189
  {
19004
- assetId: "1000996",
19005
- symbol: "EURC",
19006
- decimals: 6,
19007
- existentialDeposit: "10000"
19190
+ assetId: "35",
19191
+ symbol: "TRAC",
19192
+ decimals: 18,
19193
+ existentialDeposit: "27777777777777800",
19194
+ location: {
19195
+ parents: 2,
19196
+ interior: {
19197
+ X2: [
19198
+ {
19199
+ GlobalConsensus: {
19200
+ Ethereum: {
19201
+ chainId: 1
19202
+ }
19203
+ }
19204
+ },
19205
+ {
19206
+ AccountKey20: {
19207
+ network: null,
19208
+ key: "0xaa7a9ca87d3694b5755f213b5d04094b8d0f0a6f"
19209
+ }
19210
+ }
19211
+ ]
19212
+ }
19213
+ },
19214
+ isFeeAsset: true
19215
+ },
19216
+ {
19217
+ assetId: "4200",
19218
+ symbol: "2-Pool-GETH",
19219
+ decimals: 18,
19220
+ existentialDeposit: "1000"
19221
+ },
19222
+ {
19223
+ assetId: "36",
19224
+ symbol: "NEURO",
19225
+ decimals: 12,
19226
+ existentialDeposit: "588235294118",
19227
+ location: {
19228
+ parents: 1,
19229
+ interior: {
19230
+ X2: [
19231
+ {
19232
+ Parachain: 2043
19233
+ },
19234
+ {
19235
+ PalletInstance: 10
19236
+ }
19237
+ ]
19238
+ }
19239
+ },
19240
+ isFeeAsset: true
19008
19241
  },
19009
19242
  {
19010
19243
  assetId: "31",
@@ -19049,6 +19282,34 @@ var HydrationPaseo = {
19049
19282
  },
19050
19283
  isFeeAsset: true
19051
19284
  },
19285
+ {
19286
+ assetId: "41",
19287
+ symbol: "CFG",
19288
+ decimals: 18,
19289
+ existentialDeposit: "36297640653357500",
19290
+ location: {
19291
+ parents: 2,
19292
+ interior: {
19293
+ X2: [
19294
+ {
19295
+ GlobalConsensus: {
19296
+ Ethereum: {
19297
+ chainId: 1
19298
+ }
19299
+ }
19300
+ },
19301
+ {
19302
+ AccountKey20: {
19303
+ network: null,
19304
+ key: "0xcccccccccc33d538dbc2ee4feab0a7a1ff4e8a94"
19305
+ }
19306
+ }
19307
+ ]
19308
+ }
19309
+ },
19310
+ isFeeAsset: true,
19311
+ alias: "CFG2"
19312
+ },
19052
19313
  {
19053
19314
  assetId: "15",
19054
19315
  symbol: "vDOT",
@@ -19099,6 +19360,29 @@ var HydrationPaseo = {
19099
19360
  },
19100
19361
  isFeeAsset: true
19101
19362
  },
19363
+ {
19364
+ assetId: "40",
19365
+ symbol: "jitoSOL",
19366
+ decimals: 9,
19367
+ existentialDeposit: "2651",
19368
+ location: {
19369
+ parents: 1,
19370
+ interior: {
19371
+ X2: [
19372
+ {
19373
+ Parachain: 2004
19374
+ },
19375
+ {
19376
+ AccountKey20: {
19377
+ network: null,
19378
+ key: "0xe9f9a2e3deae4093c00fbc57b22bb51a4c05ad88"
19379
+ }
19380
+ }
19381
+ ]
19382
+ }
19383
+ },
19384
+ isFeeAsset: true
19385
+ },
19102
19386
  {
19103
19387
  assetId: "2",
19104
19388
  symbol: "DAI",
@@ -19144,13 +19428,14 @@ var HydrationPaseo = {
19144
19428
  ]
19145
19429
  }
19146
19430
  },
19147
- isFeeAsset: true
19431
+ isFeeAsset: true,
19432
+ alias: "CFG1"
19148
19433
  },
19149
19434
  {
19150
19435
  assetId: "1002",
19151
19436
  symbol: "aUSDT",
19152
19437
  decimals: 6,
19153
- existentialDeposit: "0",
19438
+ existentialDeposit: "22409",
19154
19439
  location: {
19155
19440
  parents: 1,
19156
19441
  interior: {
@@ -19263,6 +19548,12 @@ var HydrationPaseo = {
19263
19548
  },
19264
19549
  isFeeAsset: true
19265
19550
  },
19551
+ {
19552
+ assetId: "104",
19553
+ symbol: "2-Pool-WETH",
19554
+ decimals: 18,
19555
+ existentialDeposit: "2583311805735"
19556
+ },
19266
19557
  {
19267
19558
  assetId: "29",
19268
19559
  symbol: "PLMC",
@@ -19445,7 +19736,7 @@ var HydrationPaseo = {
19445
19736
  assetId: "1003",
19446
19737
  symbol: "aUSDC",
19447
19738
  decimals: 6,
19448
- existentialDeposit: "0",
19739
+ existentialDeposit: "22409",
19449
19740
  location: {
19450
19741
  parents: 1,
19451
19742
  interior: {
@@ -19492,6 +19783,12 @@ var HydrationPaseo = {
19492
19783
  isFeeAsset: true,
19493
19784
  alias: "WBTC1"
19494
19785
  },
19786
+ {
19787
+ assetId: "690",
19788
+ symbol: "2-Pool-GDOT",
19789
+ decimals: 18,
19790
+ existentialDeposit: "1"
19791
+ },
19495
19792
  {
19496
19793
  assetId: "22",
19497
19794
  symbol: "USDC",
@@ -19516,11 +19813,17 @@ var HydrationPaseo = {
19516
19813
  isFeeAsset: true,
19517
19814
  alias: "USDC3"
19518
19815
  },
19816
+ {
19817
+ assetId: "112",
19818
+ symbol: "2-Pool-HUSDS",
19819
+ decimals: 18,
19820
+ existentialDeposit: "1000"
19821
+ },
19519
19822
  {
19520
19823
  assetId: "1005",
19521
19824
  symbol: "avDOT",
19522
19825
  decimals: 10,
19523
- existentialDeposit: "0",
19826
+ existentialDeposit: "36627790",
19524
19827
  location: {
19525
19828
  parents: 1,
19526
19829
  interior: {
@@ -19539,6 +19842,29 @@ var HydrationPaseo = {
19539
19842
  },
19540
19843
  isFeeAsset: true
19541
19844
  },
19845
+ {
19846
+ assetId: "1007",
19847
+ symbol: "aETH",
19848
+ decimals: 18,
19849
+ existentialDeposit: "8202803876747",
19850
+ location: {
19851
+ parents: 1,
19852
+ interior: {
19853
+ X2: [
19854
+ {
19855
+ Parachain: 2034
19856
+ },
19857
+ {
19858
+ AccountKey20: {
19859
+ network: null,
19860
+ key: "0x11a8f7ffbb7e0fbed88bc20179dd45b4bd6874ff"
19861
+ }
19862
+ }
19863
+ ]
19864
+ }
19865
+ },
19866
+ isFeeAsset: true
19867
+ },
19542
19868
  {
19543
19869
  assetId: "24",
19544
19870
  symbol: "SUB",
@@ -19628,6 +19954,29 @@ var HydrationPaseo = {
19628
19954
  },
19629
19955
  isFeeAsset: true
19630
19956
  },
19957
+ {
19958
+ assetId: "1110",
19959
+ symbol: "HUSDC",
19960
+ decimals: 18,
19961
+ existentialDeposit: "33000000000000000",
19962
+ location: {
19963
+ parents: 1,
19964
+ interior: {
19965
+ X2: [
19966
+ {
19967
+ Parachain: 2034
19968
+ },
19969
+ {
19970
+ AccountKey20: {
19971
+ network: null,
19972
+ key: "0x35774c305aaf441a102d47988d35f0f5428471b3"
19973
+ }
19974
+ }
19975
+ ]
19976
+ }
19977
+ },
19978
+ isFeeAsset: true
19979
+ },
19631
19980
  {
19632
19981
  assetId: "1000100",
19633
19982
  symbol: "LDOT",
@@ -19655,7 +20004,7 @@ var HydrationPaseo = {
19655
20004
  assetId: "1004",
19656
20005
  symbol: "aWBTC",
19657
20006
  decimals: 8,
19658
- existentialDeposit: "0",
20007
+ existentialDeposit: "40",
19659
20008
  location: {
19660
20009
  parents: 1,
19661
20010
  interior: {
@@ -19729,6 +20078,12 @@ var HydrationPaseo = {
19729
20078
  },
19730
20079
  isFeeAsset: true
19731
20080
  },
20081
+ {
20082
+ assetId: "113",
20083
+ symbol: "2-Pool-HUSDe",
20084
+ decimals: 18,
20085
+ existentialDeposit: "1000"
20086
+ },
19732
20087
  {
19733
20088
  assetId: "1",
19734
20089
  symbol: "H2O",
@@ -19795,26 +20150,6 @@ var HydrationPaseo = {
19795
20150
  },
19796
20151
  isFeeAsset: true
19797
20152
  },
19798
- {
19799
- assetId: "12345",
19800
- symbol: "KPGT",
19801
- decimals: 18,
19802
- existentialDeposit: "10000000000000000",
19803
- location: {
19804
- parents: 1,
19805
- interior: {
19806
- X2: [
19807
- {
19808
- Parachain: 4818
19809
- },
19810
- {
19811
- GeneralIndex: 0
19812
- }
19813
- ]
19814
- }
19815
- },
19816
- isFeeAsset: true
19817
- },
19818
20153
  {
19819
20154
  assetId: "3",
19820
20155
  symbol: "WBTC",
@@ -19914,6 +20249,29 @@ var HydrationPaseo = {
19914
20249
  },
19915
20250
  isFeeAsset: true
19916
20251
  },
20252
+ {
20253
+ assetId: "69",
20254
+ symbol: "GDOT",
20255
+ decimals: 18,
20256
+ existentialDeposit: "5290724013368937",
20257
+ location: {
20258
+ parents: 1,
20259
+ interior: {
20260
+ X2: [
20261
+ {
20262
+ Parachain: 2034
20263
+ },
20264
+ {
20265
+ AccountKey20: {
20266
+ network: null,
20267
+ key: "0x34d5ffb83d14d82f87aaf2f13be895a3c814c2ad"
20268
+ }
20269
+ }
20270
+ ]
20271
+ }
20272
+ },
20273
+ isFeeAsset: true
20274
+ },
19917
20275
  {
19918
20276
  assetId: "23",
19919
20277
  symbol: "USDT",
@@ -19941,6 +20299,56 @@ var HydrationPaseo = {
19941
20299
  isFeeAsset: true,
19942
20300
  alias: "USDT3"
19943
20301
  },
20302
+ {
20303
+ assetId: "37",
20304
+ symbol: "SQD",
20305
+ decimals: 18,
20306
+ existentialDeposit: "61012812690665100",
20307
+ location: {
20308
+ parents: 1,
20309
+ interior: {
20310
+ X2: [
20311
+ {
20312
+ Parachain: 2004
20313
+ },
20314
+ {
20315
+ AccountKey20: {
20316
+ network: null,
20317
+ key: "0x9c4c6eaad9b926ba09f702f4ad880ef71998ef18"
20318
+ }
20319
+ }
20320
+ ]
20321
+ }
20322
+ },
20323
+ isFeeAsset: true
20324
+ },
20325
+ {
20326
+ assetId: "1000851",
20327
+ symbol: "LBTC",
20328
+ decimals: 8,
20329
+ existentialDeposit: "11",
20330
+ location: {
20331
+ parents: 2,
20332
+ interior: {
20333
+ X2: [
20334
+ {
20335
+ GlobalConsensus: {
20336
+ Ethereum: {
20337
+ chainId: 1
20338
+ }
20339
+ }
20340
+ },
20341
+ {
20342
+ AccountKey20: {
20343
+ network: null,
20344
+ key: "0x8236a87084f8b84306f72007f36f2618a5634494"
20345
+ }
20346
+ }
20347
+ ]
20348
+ }
20349
+ },
20350
+ isFeeAsset: true
20351
+ },
19944
20352
  {
19945
20353
  assetId: "9",
19946
20354
  symbol: "ASTR",
@@ -20657,6 +21065,42 @@ var throwDuplicateAssetError = function throwDuplicateAssetError(symbol, nativeM
20657
21065
  }
20658
21066
  };
20659
21067
 
21068
+ var removePrefix = function removePrefix(symbol) {
21069
+ return symbol.slice(2);
21070
+ };
21071
+ var removeSuffix = function removeSuffix(symbol) {
21072
+ return symbol.slice(0, -2);
21073
+ };
21074
+ var findEthAssetBySymbol = function findEthAssetBySymbol(symbol) {
21075
+ var ethereumAssets = getOtherAssets('Ethereum');
21076
+ return findBestMatches(ethereumAssets, symbol)[0];
21077
+ };
21078
+ var findEthMatch = function findEthMatch(symbol) {
21079
+ var match = findEthAssetBySymbol(symbol);
21080
+ if (match) return match;
21081
+ var altSymbol = symbol.toLowerCase().endsWith('.e') ? removeSuffix(symbol) : "".concat(symbol, ".e");
21082
+ return findEthAssetBySymbol(altSymbol.toLowerCase());
21083
+ };
21084
+ var findWithXcVariant = function findWithXcVariant(items, value) {
21085
+ var lower = value.toLowerCase();
21086
+ var candidate = lower.startsWith('xc') ? removePrefix(value) : "xc".concat(value);
21087
+ return findBestMatches(items, candidate);
21088
+ };
21089
+ var pickOtherOrThrow = function pickOtherOrThrow(input, otherMatches) {
21090
+ if (otherMatches.length > 1) {
21091
+ throwDuplicateAssetError(input, [], otherMatches);
21092
+ }
21093
+ return otherMatches[0];
21094
+ };
21095
+ var pickAny = function pickAny(_native, other) {
21096
+ var _other$;
21097
+ return (_other$ = other[0]) !== null && _other$ !== void 0 ? _other$ : _native[0];
21098
+ };
21099
+ var throwIfDuplicate = function throwIfDuplicate(input, nativeMatches, otherMatches) {
21100
+ if (nativeMatches.length + otherMatches.length > 1) {
21101
+ throwDuplicateAssetError(input, nativeMatches, otherMatches);
21102
+ }
21103
+ };
20660
21104
  var findAssetInfoBySymbol = function findAssetInfoBySymbol(destination, otherAssets, nativeAssets, symbol) {
20661
21105
  var isSpecifier = isSymbolSpecifier(symbol);
20662
21106
  var assetsMatches = [];
@@ -20669,78 +21113,30 @@ var findAssetInfoBySymbol = function findAssetInfoBySymbol(destination, otherAss
20669
21113
  var lowerSymbol = value.toLowerCase();
20670
21114
  var otherAssetsMatches = [];
20671
21115
  if (destination === 'Ethereum') {
20672
- var ethereumAssets = getOtherAssets('Ethereum');
20673
- var _assetsMatches = findBestMatches(ethereumAssets, value);
20674
- if (_assetsMatches.length === 0) {
20675
- if (lowerSymbol.endsWith('.e')) {
20676
- // Symbol ends with '.e', strip it and search again
20677
- var strippedSymbol = value.slice(0, -2).toLowerCase();
20678
- _assetsMatches = findBestMatches(ethereumAssets, strippedSymbol);
20679
- } else {
20680
- // Symbol does not end with '.e', add '.e' suffix and search
20681
- var suffixedSymbol = "".concat(value, ".e").toLowerCase();
20682
- _assetsMatches = findBestMatches(ethereumAssets, suffixedSymbol);
20683
- }
20684
- }
20685
- return _assetsMatches[0];
21116
+ return findEthMatch(value);
20686
21117
  }
20687
21118
  if (lowerSymbol.endsWith('.e')) {
20688
21119
  // Symbol ends with '.e', indicating a Snowbridge asset
20689
- var _strippedSymbol = value.slice(0, -2);
21120
+ var strippedSymbol = removeSuffix(value);
20690
21121
  // If not found, search normal assets with '.e' suffix
20691
21122
  otherAssetsMatches = findBestMatches(otherAssets, value);
20692
- if (otherAssetsMatches.length > 1) {
20693
- throwDuplicateAssetError(value, [], otherAssetsMatches);
20694
- } else if (otherAssetsMatches.length > 0) {
20695
- return otherAssetsMatches[0];
20696
- }
20697
- if (lowerSymbol.startsWith('xc')) {
20698
- // Symbol starts with 'xc', try stripping 'xc' prefix
20699
- var _strippedSymbol2 = value.substring(2);
20700
- otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol2);
20701
- } else {
20702
- // Try adding 'xc' prefix
20703
- var prefixedSymbol = "xc".concat(value);
20704
- otherAssetsMatches = findBestMatches(otherAssets, prefixedSymbol);
20705
- }
20706
- if (otherAssetsMatches.length > 1) {
20707
- throwDuplicateAssetError(value, [], otherAssetsMatches);
20708
- } else if (otherAssetsMatches.length > 0) {
20709
- return otherAssetsMatches[0];
20710
- }
20711
- // Search in Ethereum assets without the '.e' suffix
20712
- var _ethereumAssets = getOtherAssets('Ethereum');
20713
- var ethereumMatches = findBestMatches(_ethereumAssets, _strippedSymbol);
20714
- if (ethereumMatches.length > 0) {
20715
- return ethereumMatches[0];
20716
- }
21123
+ var foundAsset = pickOtherOrThrow(value, otherAssetsMatches);
21124
+ if (foundAsset) return foundAsset;
21125
+ otherAssetsMatches = findWithXcVariant(otherAssets, value);
21126
+ foundAsset = pickOtherOrThrow(value, otherAssetsMatches);
21127
+ if (foundAsset) return foundAsset;
21128
+ var ethAsset = findEthAssetBySymbol(strippedSymbol);
21129
+ if (ethAsset) return ethAsset;
20717
21130
  // If still not found, search normal assets without suffix
20718
- otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol);
20719
- if (otherAssetsMatches.length > 1) {
20720
- throwDuplicateAssetError(value, [], otherAssetsMatches);
20721
- } else if (otherAssetsMatches.length > 0) {
20722
- return otherAssetsMatches[0];
20723
- }
20724
- // No matches found
20725
- return undefined;
21131
+ otherAssetsMatches = findBestMatches(otherAssets, strippedSymbol);
21132
+ return pickOtherOrThrow(value, otherAssetsMatches);
20726
21133
  } else {
20727
21134
  // Symbol does not end with '.e', proceed with existing logic
20728
21135
  otherAssetsMatches = findBestMatches(otherAssets, value);
20729
21136
  if (otherAssetsMatches.length === 0) {
20730
- if (lowerSymbol.startsWith('xc')) {
20731
- // Symbol starts with 'xc', try stripping 'xc' prefix
20732
- var _strippedSymbol3 = value.substring(2);
20733
- otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol3);
20734
- } else {
20735
- // Try adding 'xc' prefix
20736
- var _prefixedSymbol = "xc".concat(value);
20737
- otherAssetsMatches = findBestMatches(otherAssets, _prefixedSymbol);
20738
- }
21137
+ otherAssetsMatches = findWithXcVariant(otherAssets, value);
20739
21138
  }
20740
- if (otherAssetsMatches.length > 1) {
20741
- throwDuplicateAssetError(value, [], otherAssetsMatches);
20742
- }
20743
- return otherAssetsMatches[0] || undefined;
21139
+ return pickOtherOrThrow(value, otherAssetsMatches);
20744
21140
  }
20745
21141
  } else if (type === 'ForeignAbstract') {
20746
21142
  assetsMatches = findBestMatches(otherAssets, value, 'alias');
@@ -20753,91 +21149,41 @@ var findAssetInfoBySymbol = function findAssetInfoBySymbol(destination, otherAss
20753
21149
  var _otherAssetsMatches = [];
20754
21150
  var nativeAssetsMatches = [];
20755
21151
  if (destination === 'Ethereum') {
20756
- var _ethereumAssets2 = getOtherAssets('Ethereum');
20757
- var _assetsMatches2 = findBestMatches(_ethereumAssets2, symbol);
20758
- if (_assetsMatches2.length === 0) {
20759
- if (_lowerSymbol.endsWith('.e')) {
20760
- // Symbol ends with '.e', strip it and search again
20761
- var _strippedSymbol4 = symbol.slice(0, -2).toLowerCase();
20762
- _assetsMatches2 = findBestMatches(_ethereumAssets2, _strippedSymbol4);
20763
- } else {
20764
- // Symbol does not end with '.e', add '.e' suffix and search
20765
- var _suffixedSymbol = "".concat(symbol, ".e").toLowerCase();
20766
- _assetsMatches2 = findBestMatches(_ethereumAssets2, _suffixedSymbol);
20767
- }
20768
- }
20769
- return _assetsMatches2[0];
21152
+ return findEthMatch(symbol);
20770
21153
  }
20771
21154
  if (_lowerSymbol.endsWith('.e')) {
20772
21155
  // Symbol ends with '.e', indicating a Snowbridge asset
20773
- var _strippedSymbol5 = symbol.slice(0, -2);
21156
+ var _strippedSymbol = removeSuffix(symbol);
20774
21157
  // If not found, search normal assets with '.e' suffix
20775
21158
  _otherAssetsMatches = findBestMatches(otherAssets, symbol);
20776
21159
  nativeAssetsMatches = findBestMatches(nativeAssets, symbol);
20777
21160
  if (nativeAssetsMatches.length > 0 || _otherAssetsMatches.length > 0) {
20778
- return _otherAssetsMatches[0] || nativeAssetsMatches[0];
20779
- }
20780
- if (_lowerSymbol.startsWith('xc')) {
20781
- // Symbol starts with 'xc', try stripping 'xc' prefix
20782
- var _strippedSymbol6 = symbol.substring(2);
20783
- _otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol6);
20784
- } else {
20785
- // Try adding 'xc' prefix
20786
- var _prefixedSymbol2 = "xc".concat(symbol);
20787
- _otherAssetsMatches = findBestMatches(otherAssets, _prefixedSymbol2);
20788
- }
20789
- if (_otherAssetsMatches.length > 1) {
20790
- throwDuplicateAssetError(symbol, [], _otherAssetsMatches);
20791
- } else if (_otherAssetsMatches.length > 0) {
20792
- return _otherAssetsMatches[0];
21161
+ return pickAny(nativeAssetsMatches, _otherAssetsMatches);
20793
21162
  }
21163
+ _otherAssetsMatches = findWithXcVariant(otherAssets, symbol);
21164
+ var _foundAsset = pickOtherOrThrow(symbol, _otherAssetsMatches);
21165
+ if (_foundAsset) return _foundAsset;
20794
21166
  // Search in Ethereum assets without the '.e' suffix
20795
- var _ethereumAssets3 = getOtherAssets('Ethereum');
20796
- var _ethereumMatches = findBestMatches(_ethereumAssets3, _strippedSymbol5);
20797
- if (_ethereumMatches.length > 0) {
20798
- return _ethereumMatches[0];
20799
- }
21167
+ var _ethAsset = findEthAssetBySymbol(_strippedSymbol);
21168
+ if (_ethAsset) return _ethAsset;
20800
21169
  // If still not found, search normal assets without suffix
20801
- _otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol5);
20802
- nativeAssetsMatches = findBestMatches(nativeAssets, _strippedSymbol5);
20803
- if (nativeAssetsMatches.length > 0 || _otherAssetsMatches.length > 0) {
20804
- return _otherAssetsMatches[0] || nativeAssetsMatches[0];
20805
- }
20806
- // No matches found
20807
- return undefined;
21170
+ _otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol);
21171
+ nativeAssetsMatches = findBestMatches(nativeAssets, _strippedSymbol);
21172
+ return pickAny(nativeAssetsMatches, _otherAssetsMatches);
20808
21173
  } else {
20809
21174
  // Symbol does not end with '.e'
20810
21175
  _otherAssetsMatches = findBestMatches(otherAssets, symbol);
20811
21176
  nativeAssetsMatches = findBestMatches(nativeAssets, symbol);
20812
21177
  if (_otherAssetsMatches.length === 0 && nativeAssetsMatches.length === 0) {
20813
- if (_lowerSymbol.startsWith('xc')) {
20814
- // Symbol starts with 'xc', try stripping 'xc' prefix
20815
- var _strippedSymbol7 = symbol.substring(2);
20816
- _otherAssetsMatches = findBestMatches(otherAssets, _strippedSymbol7);
20817
- nativeAssetsMatches = findBestMatches(nativeAssets, _strippedSymbol7);
20818
- var _totalMatches = _otherAssetsMatches.length + nativeAssetsMatches.length;
20819
- if (_totalMatches > 1) {
20820
- throwDuplicateAssetError(symbol, nativeAssetsMatches, _otherAssetsMatches);
20821
- }
20822
- } else {
20823
- // Try adding 'xc' prefix
20824
- var _prefixedSymbol3 = "xc".concat(symbol);
20825
- _otherAssetsMatches = findBestMatches(otherAssets, _prefixedSymbol3);
20826
- nativeAssetsMatches = findBestMatches(nativeAssets, _prefixedSymbol3);
20827
- var _totalMatches2 = _otherAssetsMatches.length + nativeAssetsMatches.length;
20828
- if (_totalMatches2 > 1) {
20829
- throwDuplicateAssetError(symbol, nativeAssetsMatches, _otherAssetsMatches);
20830
- }
20831
- }
20832
- }
20833
- var totalMatches = _otherAssetsMatches.length + nativeAssetsMatches.length;
20834
- if (totalMatches > 1) {
20835
- throwDuplicateAssetError(symbol, nativeAssetsMatches, _otherAssetsMatches);
21178
+ _otherAssetsMatches = findWithXcVariant(otherAssets, symbol);
21179
+ nativeAssetsMatches = findWithXcVariant(nativeAssets, symbol);
21180
+ throwIfDuplicate(symbol, nativeAssetsMatches, _otherAssetsMatches);
20836
21181
  }
20837
- return _otherAssetsMatches[0] || nativeAssetsMatches[0] || undefined;
21182
+ throwIfDuplicate(symbol, nativeAssetsMatches, _otherAssetsMatches);
21183
+ return pickAny(nativeAssetsMatches, _otherAssetsMatches);
20838
21184
  }
20839
21185
  }
20840
- return assetsMatches[0] || undefined;
21186
+ return assetsMatches[0];
20841
21187
  };
20842
21188
 
20843
21189
  var findAssetInfo = function findAssetInfo(chain, currency, destination) {
@@ -20889,9 +21235,22 @@ var findAssetInfoOrThrow = function findAssetInfoOrThrow(chain, currency, destin
20889
21235
  };
20890
21236
 
20891
21237
  var findAssetInfoOnDest = function findAssetInfoOnDest(origin, destination, currency, originAsset) {
20892
- var isDotKsmBridge = origin === 'AssetHubPolkadot' && destination === 'AssetHubKusama' || origin === 'AssetHubKusama' && destination === 'AssetHubPolkadot';
21238
+ var isBridge = sdkCommon.isSubstrateBridge(origin, destination);
20893
21239
  var resolvedOriginAsset = originAsset !== null && originAsset !== void 0 ? originAsset : findAssetInfoOrThrow(origin, currency, destination);
20894
- var assetByLocation = !isDotKsmBridge && resolvedOriginAsset.location ? findAssetInfo(destination, {
21240
+ if (isBridge) {
21241
+ // Try native first
21242
+ var nativeMatch = findAssetInfo(destination, {
21243
+ symbol: Native(resolvedOriginAsset.symbol)
21244
+ }, null);
21245
+ if (nativeMatch) return nativeMatch;
21246
+ // Then try foreign
21247
+ var foreignMatch = findAssetInfo(destination, {
21248
+ symbol: Foreign(resolvedOriginAsset.symbol)
21249
+ }, null);
21250
+ if (foreignMatch) return foreignMatch;
21251
+ return null;
21252
+ }
21253
+ var assetByLocation = resolvedOriginAsset.location ? findAssetInfo(destination, {
20895
21254
  location: resolvedOriginAsset.location
20896
21255
  }, null) : null;
20897
21256
  return assetByLocation !== null && assetByLocation !== void 0 ? assetByLocation : findAssetInfo(destination, {
@@ -21233,9 +21592,9 @@ var getSupportedDestinations = function getSupportedDestinations(origin, currenc
21233
21592
  };
21234
21593
 
21235
21594
  var isAssetEqual = function isAssetEqual(asset1, asset2) {
21236
- var ml1 = asset1.location;
21237
- var ml2 = asset2.location;
21238
- if (ml1 && ml2 && sdkCommon.deepEqual(ml1, ml2)) return true;
21595
+ var loc1 = asset1.location;
21596
+ var loc2 = asset2.location;
21597
+ if (loc1 && loc2) return sdkCommon.deepEqual(loc1, loc2);
21239
21598
  if (isForeignAsset(asset1) && isForeignAsset(asset2) && asset1.assetId === asset2.assetId) return true;
21240
21599
  return isSymbolMatch(asset1.symbol, asset2.symbol);
21241
21600
  };