@paraspell/assets 11.8.3 → 11.8.5
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 +209 -1
- package/dist/index.mjs +209 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3283,6 +3283,52 @@ var Hydration = {
|
|
|
3283
3283
|
},
|
|
3284
3284
|
isFeeAsset: true
|
|
3285
3285
|
},
|
|
3286
|
+
{
|
|
3287
|
+
assetId: "1113",
|
|
3288
|
+
symbol: "HUSDe",
|
|
3289
|
+
decimals: 18,
|
|
3290
|
+
existentialDeposit: "33000000000000000",
|
|
3291
|
+
location: {
|
|
3292
|
+
parents: 1,
|
|
3293
|
+
interior: {
|
|
3294
|
+
X2: [
|
|
3295
|
+
{
|
|
3296
|
+
Parachain: 2034
|
|
3297
|
+
},
|
|
3298
|
+
{
|
|
3299
|
+
AccountKey20: {
|
|
3300
|
+
network: null,
|
|
3301
|
+
key: "0x52e1311e26610e6662a1e5b5bd113130b6815213"
|
|
3302
|
+
}
|
|
3303
|
+
}
|
|
3304
|
+
]
|
|
3305
|
+
}
|
|
3306
|
+
},
|
|
3307
|
+
isFeeAsset: true
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
assetId: "222",
|
|
3311
|
+
symbol: "HOLLAR",
|
|
3312
|
+
decimals: 18,
|
|
3313
|
+
existentialDeposit: "0",
|
|
3314
|
+
location: {
|
|
3315
|
+
parents: 1,
|
|
3316
|
+
interior: {
|
|
3317
|
+
X2: [
|
|
3318
|
+
{
|
|
3319
|
+
Parachain: 2034
|
|
3320
|
+
},
|
|
3321
|
+
{
|
|
3322
|
+
AccountKey20: {
|
|
3323
|
+
network: null,
|
|
3324
|
+
key: "0x531a654d1696ed52e7275a8cede955e82620f99a"
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
]
|
|
3328
|
+
}
|
|
3329
|
+
},
|
|
3330
|
+
isFeeAsset: true
|
|
3331
|
+
},
|
|
3286
3332
|
{
|
|
3287
3333
|
assetId: "420",
|
|
3288
3334
|
symbol: "GETH",
|
|
@@ -3306,6 +3352,12 @@ var Hydration = {
|
|
|
3306
3352
|
},
|
|
3307
3353
|
isFeeAsset: true
|
|
3308
3354
|
},
|
|
3355
|
+
{
|
|
3356
|
+
assetId: "110",
|
|
3357
|
+
symbol: "2-Pool-HUSDC",
|
|
3358
|
+
decimals: 18,
|
|
3359
|
+
existentialDeposit: "1000"
|
|
3360
|
+
},
|
|
3309
3361
|
{
|
|
3310
3362
|
assetId: "10",
|
|
3311
3363
|
symbol: "USDT",
|
|
@@ -3353,6 +3405,29 @@ var Hydration = {
|
|
|
3353
3405
|
},
|
|
3354
3406
|
isFeeAsset: true
|
|
3355
3407
|
},
|
|
3408
|
+
{
|
|
3409
|
+
assetId: "1111",
|
|
3410
|
+
symbol: "HUSDT",
|
|
3411
|
+
decimals: 18,
|
|
3412
|
+
existentialDeposit: "33000000000000000",
|
|
3413
|
+
location: {
|
|
3414
|
+
parents: 1,
|
|
3415
|
+
interior: {
|
|
3416
|
+
X2: [
|
|
3417
|
+
{
|
|
3418
|
+
Parachain: 2034
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
AccountKey20: {
|
|
3422
|
+
network: null,
|
|
3423
|
+
key: "0x1806860d27ee903c1ec7586d4f7d598d7591f124"
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
]
|
|
3427
|
+
}
|
|
3428
|
+
},
|
|
3429
|
+
isFeeAsset: true
|
|
3430
|
+
},
|
|
3356
3431
|
{
|
|
3357
3432
|
assetId: "4",
|
|
3358
3433
|
symbol: "WETH",
|
|
@@ -3611,6 +3686,35 @@ var Hydration = {
|
|
|
3611
3686
|
decimals: 18,
|
|
3612
3687
|
existentialDeposit: "20000000000000000"
|
|
3613
3688
|
},
|
|
3689
|
+
{
|
|
3690
|
+
assetId: "111",
|
|
3691
|
+
symbol: "2-Pool-HUSDT",
|
|
3692
|
+
decimals: 18,
|
|
3693
|
+
existentialDeposit: "1000"
|
|
3694
|
+
},
|
|
3695
|
+
{
|
|
3696
|
+
assetId: "1112",
|
|
3697
|
+
symbol: "HUSDS",
|
|
3698
|
+
decimals: 18,
|
|
3699
|
+
existentialDeposit: "33000000000000000",
|
|
3700
|
+
location: {
|
|
3701
|
+
parents: 1,
|
|
3702
|
+
interior: {
|
|
3703
|
+
X2: [
|
|
3704
|
+
{
|
|
3705
|
+
Parachain: 2034
|
|
3706
|
+
},
|
|
3707
|
+
{
|
|
3708
|
+
AccountKey20: {
|
|
3709
|
+
network: null,
|
|
3710
|
+
key: "0x7e3ce0257506c3e1f96a2a9b25a9440959b0d453"
|
|
3711
|
+
}
|
|
3712
|
+
}
|
|
3713
|
+
]
|
|
3714
|
+
}
|
|
3715
|
+
},
|
|
3716
|
+
isFeeAsset: true
|
|
3717
|
+
},
|
|
3614
3718
|
{
|
|
3615
3719
|
assetId: "1000099",
|
|
3616
3720
|
symbol: "ACA",
|
|
@@ -4387,6 +4491,12 @@ var Hydration = {
|
|
|
4387
4491
|
isFeeAsset: true,
|
|
4388
4492
|
alias: "USDC3"
|
|
4389
4493
|
},
|
|
4494
|
+
{
|
|
4495
|
+
assetId: "112",
|
|
4496
|
+
symbol: "2-Pool-HUSDS",
|
|
4497
|
+
decimals: 18,
|
|
4498
|
+
existentialDeposit: "1000"
|
|
4499
|
+
},
|
|
4390
4500
|
{
|
|
4391
4501
|
assetId: "1005",
|
|
4392
4502
|
symbol: "avDOT",
|
|
@@ -4522,6 +4632,29 @@ var Hydration = {
|
|
|
4522
4632
|
},
|
|
4523
4633
|
isFeeAsset: true
|
|
4524
4634
|
},
|
|
4635
|
+
{
|
|
4636
|
+
assetId: "1110",
|
|
4637
|
+
symbol: "HUSDC",
|
|
4638
|
+
decimals: 18,
|
|
4639
|
+
existentialDeposit: "33000000000000000",
|
|
4640
|
+
location: {
|
|
4641
|
+
parents: 1,
|
|
4642
|
+
interior: {
|
|
4643
|
+
X2: [
|
|
4644
|
+
{
|
|
4645
|
+
Parachain: 2034
|
|
4646
|
+
},
|
|
4647
|
+
{
|
|
4648
|
+
AccountKey20: {
|
|
4649
|
+
network: null,
|
|
4650
|
+
key: "0x35774c305aaf441a102d47988d35f0f5428471b3"
|
|
4651
|
+
}
|
|
4652
|
+
}
|
|
4653
|
+
]
|
|
4654
|
+
}
|
|
4655
|
+
},
|
|
4656
|
+
isFeeAsset: true
|
|
4657
|
+
},
|
|
4525
4658
|
{
|
|
4526
4659
|
assetId: "1000100",
|
|
4527
4660
|
symbol: "LDOT",
|
|
@@ -4623,6 +4756,12 @@ var Hydration = {
|
|
|
4623
4756
|
},
|
|
4624
4757
|
isFeeAsset: true
|
|
4625
4758
|
},
|
|
4759
|
+
{
|
|
4760
|
+
assetId: "113",
|
|
4761
|
+
symbol: "2-Pool-HUSDe",
|
|
4762
|
+
decimals: 18,
|
|
4763
|
+
existentialDeposit: "1000"
|
|
4764
|
+
},
|
|
4626
4765
|
{
|
|
4627
4766
|
assetId: "1",
|
|
4628
4767
|
symbol: "H2O",
|
|
@@ -8667,6 +8806,21 @@ var AssetHubPolkadot = {
|
|
|
8667
8806
|
existentialDeposit: "1",
|
|
8668
8807
|
alias: "LINK2"
|
|
8669
8808
|
},
|
|
8809
|
+
{
|
|
8810
|
+
symbol: "NEURO",
|
|
8811
|
+
decimals: 12,
|
|
8812
|
+
location: {
|
|
8813
|
+
parents: 1,
|
|
8814
|
+
interior: {
|
|
8815
|
+
X1: [
|
|
8816
|
+
{
|
|
8817
|
+
Parachain: 2043
|
|
8818
|
+
}
|
|
8819
|
+
]
|
|
8820
|
+
}
|
|
8821
|
+
},
|
|
8822
|
+
existentialDeposit: "1000000000000000"
|
|
8823
|
+
},
|
|
8670
8824
|
{
|
|
8671
8825
|
symbol: "AAVE",
|
|
8672
8826
|
decimals: 18,
|
|
@@ -12891,6 +13045,33 @@ var AssetHubKusama = {
|
|
|
12891
13045
|
},
|
|
12892
13046
|
existentialDeposit: "1"
|
|
12893
13047
|
},
|
|
13048
|
+
{
|
|
13049
|
+
symbol: "USDC",
|
|
13050
|
+
decimals: 6,
|
|
13051
|
+
location: {
|
|
13052
|
+
parents: 2,
|
|
13053
|
+
interior: {
|
|
13054
|
+
X4: [
|
|
13055
|
+
{
|
|
13056
|
+
GlobalConsensus: {
|
|
13057
|
+
polkadot: null
|
|
13058
|
+
}
|
|
13059
|
+
},
|
|
13060
|
+
{
|
|
13061
|
+
Parachain: 1000
|
|
13062
|
+
},
|
|
13063
|
+
{
|
|
13064
|
+
PalletInstance: 50
|
|
13065
|
+
},
|
|
13066
|
+
{
|
|
13067
|
+
GeneralIndex: 1337
|
|
13068
|
+
}
|
|
13069
|
+
]
|
|
13070
|
+
}
|
|
13071
|
+
},
|
|
13072
|
+
existentialDeposit: "10000",
|
|
13073
|
+
alias: "USDC3"
|
|
13074
|
+
},
|
|
12894
13075
|
{
|
|
12895
13076
|
symbol: "SKY",
|
|
12896
13077
|
decimals: 18,
|
|
@@ -13197,6 +13378,33 @@ var AssetHubKusama = {
|
|
|
13197
13378
|
},
|
|
13198
13379
|
existentialDeposit: "1"
|
|
13199
13380
|
},
|
|
13381
|
+
{
|
|
13382
|
+
symbol: "USDt",
|
|
13383
|
+
decimals: 6,
|
|
13384
|
+
location: {
|
|
13385
|
+
parents: 2,
|
|
13386
|
+
interior: {
|
|
13387
|
+
X4: [
|
|
13388
|
+
{
|
|
13389
|
+
GlobalConsensus: {
|
|
13390
|
+
polkadot: null
|
|
13391
|
+
}
|
|
13392
|
+
},
|
|
13393
|
+
{
|
|
13394
|
+
Parachain: 1000
|
|
13395
|
+
},
|
|
13396
|
+
{
|
|
13397
|
+
PalletInstance: 50
|
|
13398
|
+
},
|
|
13399
|
+
{
|
|
13400
|
+
GeneralIndex: 1984
|
|
13401
|
+
}
|
|
13402
|
+
]
|
|
13403
|
+
}
|
|
13404
|
+
},
|
|
13405
|
+
existentialDeposit: "10000",
|
|
13406
|
+
alias: "USDt3"
|
|
13407
|
+
},
|
|
13200
13408
|
{
|
|
13201
13409
|
symbol: "MOVR",
|
|
13202
13410
|
decimals: 18,
|
|
@@ -19475,7 +19683,7 @@ var findAssetInfo = function findAssetInfo(chain, currency, destination) {
|
|
|
19475
19683
|
|
|
19476
19684
|
var findAssetInfoOrThrow = function findAssetInfoOrThrow(chain, currency, destination) {
|
|
19477
19685
|
var _findAssetInfo;
|
|
19478
|
-
var asset = (_findAssetInfo = findAssetInfo(chain, currency, destination)) !== null && _findAssetInfo !== void 0 ? _findAssetInfo : chain === 'AssetHubPolkadot' ? findAssetInfo('Ethereum', currency, null) : null;
|
|
19686
|
+
var asset = (_findAssetInfo = findAssetInfo(chain, currency, destination)) !== null && _findAssetInfo !== void 0 ? _findAssetInfo : chain === 'AssetHubPolkadot' || chain === 'Mythos' ? findAssetInfo('Ethereum', currency, null) : null;
|
|
19479
19687
|
if (!asset) {
|
|
19480
19688
|
throw new InvalidCurrencyError("Asset ".concat(JSON.stringify(currency, sdkCommon.replaceBigInt), " not found on ").concat(chain));
|
|
19481
19689
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -3281,6 +3281,52 @@ var Hydration = {
|
|
|
3281
3281
|
},
|
|
3282
3282
|
isFeeAsset: true
|
|
3283
3283
|
},
|
|
3284
|
+
{
|
|
3285
|
+
assetId: "1113",
|
|
3286
|
+
symbol: "HUSDe",
|
|
3287
|
+
decimals: 18,
|
|
3288
|
+
existentialDeposit: "33000000000000000",
|
|
3289
|
+
location: {
|
|
3290
|
+
parents: 1,
|
|
3291
|
+
interior: {
|
|
3292
|
+
X2: [
|
|
3293
|
+
{
|
|
3294
|
+
Parachain: 2034
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
AccountKey20: {
|
|
3298
|
+
network: null,
|
|
3299
|
+
key: "0x52e1311e26610e6662a1e5b5bd113130b6815213"
|
|
3300
|
+
}
|
|
3301
|
+
}
|
|
3302
|
+
]
|
|
3303
|
+
}
|
|
3304
|
+
},
|
|
3305
|
+
isFeeAsset: true
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
assetId: "222",
|
|
3309
|
+
symbol: "HOLLAR",
|
|
3310
|
+
decimals: 18,
|
|
3311
|
+
existentialDeposit: "0",
|
|
3312
|
+
location: {
|
|
3313
|
+
parents: 1,
|
|
3314
|
+
interior: {
|
|
3315
|
+
X2: [
|
|
3316
|
+
{
|
|
3317
|
+
Parachain: 2034
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
AccountKey20: {
|
|
3321
|
+
network: null,
|
|
3322
|
+
key: "0x531a654d1696ed52e7275a8cede955e82620f99a"
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
]
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
isFeeAsset: true
|
|
3329
|
+
},
|
|
3284
3330
|
{
|
|
3285
3331
|
assetId: "420",
|
|
3286
3332
|
symbol: "GETH",
|
|
@@ -3304,6 +3350,12 @@ var Hydration = {
|
|
|
3304
3350
|
},
|
|
3305
3351
|
isFeeAsset: true
|
|
3306
3352
|
},
|
|
3353
|
+
{
|
|
3354
|
+
assetId: "110",
|
|
3355
|
+
symbol: "2-Pool-HUSDC",
|
|
3356
|
+
decimals: 18,
|
|
3357
|
+
existentialDeposit: "1000"
|
|
3358
|
+
},
|
|
3307
3359
|
{
|
|
3308
3360
|
assetId: "10",
|
|
3309
3361
|
symbol: "USDT",
|
|
@@ -3351,6 +3403,29 @@ var Hydration = {
|
|
|
3351
3403
|
},
|
|
3352
3404
|
isFeeAsset: true
|
|
3353
3405
|
},
|
|
3406
|
+
{
|
|
3407
|
+
assetId: "1111",
|
|
3408
|
+
symbol: "HUSDT",
|
|
3409
|
+
decimals: 18,
|
|
3410
|
+
existentialDeposit: "33000000000000000",
|
|
3411
|
+
location: {
|
|
3412
|
+
parents: 1,
|
|
3413
|
+
interior: {
|
|
3414
|
+
X2: [
|
|
3415
|
+
{
|
|
3416
|
+
Parachain: 2034
|
|
3417
|
+
},
|
|
3418
|
+
{
|
|
3419
|
+
AccountKey20: {
|
|
3420
|
+
network: null,
|
|
3421
|
+
key: "0x1806860d27ee903c1ec7586d4f7d598d7591f124"
|
|
3422
|
+
}
|
|
3423
|
+
}
|
|
3424
|
+
]
|
|
3425
|
+
}
|
|
3426
|
+
},
|
|
3427
|
+
isFeeAsset: true
|
|
3428
|
+
},
|
|
3354
3429
|
{
|
|
3355
3430
|
assetId: "4",
|
|
3356
3431
|
symbol: "WETH",
|
|
@@ -3609,6 +3684,35 @@ var Hydration = {
|
|
|
3609
3684
|
decimals: 18,
|
|
3610
3685
|
existentialDeposit: "20000000000000000"
|
|
3611
3686
|
},
|
|
3687
|
+
{
|
|
3688
|
+
assetId: "111",
|
|
3689
|
+
symbol: "2-Pool-HUSDT",
|
|
3690
|
+
decimals: 18,
|
|
3691
|
+
existentialDeposit: "1000"
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
assetId: "1112",
|
|
3695
|
+
symbol: "HUSDS",
|
|
3696
|
+
decimals: 18,
|
|
3697
|
+
existentialDeposit: "33000000000000000",
|
|
3698
|
+
location: {
|
|
3699
|
+
parents: 1,
|
|
3700
|
+
interior: {
|
|
3701
|
+
X2: [
|
|
3702
|
+
{
|
|
3703
|
+
Parachain: 2034
|
|
3704
|
+
},
|
|
3705
|
+
{
|
|
3706
|
+
AccountKey20: {
|
|
3707
|
+
network: null,
|
|
3708
|
+
key: "0x7e3ce0257506c3e1f96a2a9b25a9440959b0d453"
|
|
3709
|
+
}
|
|
3710
|
+
}
|
|
3711
|
+
]
|
|
3712
|
+
}
|
|
3713
|
+
},
|
|
3714
|
+
isFeeAsset: true
|
|
3715
|
+
},
|
|
3612
3716
|
{
|
|
3613
3717
|
assetId: "1000099",
|
|
3614
3718
|
symbol: "ACA",
|
|
@@ -4385,6 +4489,12 @@ var Hydration = {
|
|
|
4385
4489
|
isFeeAsset: true,
|
|
4386
4490
|
alias: "USDC3"
|
|
4387
4491
|
},
|
|
4492
|
+
{
|
|
4493
|
+
assetId: "112",
|
|
4494
|
+
symbol: "2-Pool-HUSDS",
|
|
4495
|
+
decimals: 18,
|
|
4496
|
+
existentialDeposit: "1000"
|
|
4497
|
+
},
|
|
4388
4498
|
{
|
|
4389
4499
|
assetId: "1005",
|
|
4390
4500
|
symbol: "avDOT",
|
|
@@ -4520,6 +4630,29 @@ var Hydration = {
|
|
|
4520
4630
|
},
|
|
4521
4631
|
isFeeAsset: true
|
|
4522
4632
|
},
|
|
4633
|
+
{
|
|
4634
|
+
assetId: "1110",
|
|
4635
|
+
symbol: "HUSDC",
|
|
4636
|
+
decimals: 18,
|
|
4637
|
+
existentialDeposit: "33000000000000000",
|
|
4638
|
+
location: {
|
|
4639
|
+
parents: 1,
|
|
4640
|
+
interior: {
|
|
4641
|
+
X2: [
|
|
4642
|
+
{
|
|
4643
|
+
Parachain: 2034
|
|
4644
|
+
},
|
|
4645
|
+
{
|
|
4646
|
+
AccountKey20: {
|
|
4647
|
+
network: null,
|
|
4648
|
+
key: "0x35774c305aaf441a102d47988d35f0f5428471b3"
|
|
4649
|
+
}
|
|
4650
|
+
}
|
|
4651
|
+
]
|
|
4652
|
+
}
|
|
4653
|
+
},
|
|
4654
|
+
isFeeAsset: true
|
|
4655
|
+
},
|
|
4523
4656
|
{
|
|
4524
4657
|
assetId: "1000100",
|
|
4525
4658
|
symbol: "LDOT",
|
|
@@ -4621,6 +4754,12 @@ var Hydration = {
|
|
|
4621
4754
|
},
|
|
4622
4755
|
isFeeAsset: true
|
|
4623
4756
|
},
|
|
4757
|
+
{
|
|
4758
|
+
assetId: "113",
|
|
4759
|
+
symbol: "2-Pool-HUSDe",
|
|
4760
|
+
decimals: 18,
|
|
4761
|
+
existentialDeposit: "1000"
|
|
4762
|
+
},
|
|
4624
4763
|
{
|
|
4625
4764
|
assetId: "1",
|
|
4626
4765
|
symbol: "H2O",
|
|
@@ -8665,6 +8804,21 @@ var AssetHubPolkadot = {
|
|
|
8665
8804
|
existentialDeposit: "1",
|
|
8666
8805
|
alias: "LINK2"
|
|
8667
8806
|
},
|
|
8807
|
+
{
|
|
8808
|
+
symbol: "NEURO",
|
|
8809
|
+
decimals: 12,
|
|
8810
|
+
location: {
|
|
8811
|
+
parents: 1,
|
|
8812
|
+
interior: {
|
|
8813
|
+
X1: [
|
|
8814
|
+
{
|
|
8815
|
+
Parachain: 2043
|
|
8816
|
+
}
|
|
8817
|
+
]
|
|
8818
|
+
}
|
|
8819
|
+
},
|
|
8820
|
+
existentialDeposit: "1000000000000000"
|
|
8821
|
+
},
|
|
8668
8822
|
{
|
|
8669
8823
|
symbol: "AAVE",
|
|
8670
8824
|
decimals: 18,
|
|
@@ -12889,6 +13043,33 @@ var AssetHubKusama = {
|
|
|
12889
13043
|
},
|
|
12890
13044
|
existentialDeposit: "1"
|
|
12891
13045
|
},
|
|
13046
|
+
{
|
|
13047
|
+
symbol: "USDC",
|
|
13048
|
+
decimals: 6,
|
|
13049
|
+
location: {
|
|
13050
|
+
parents: 2,
|
|
13051
|
+
interior: {
|
|
13052
|
+
X4: [
|
|
13053
|
+
{
|
|
13054
|
+
GlobalConsensus: {
|
|
13055
|
+
polkadot: null
|
|
13056
|
+
}
|
|
13057
|
+
},
|
|
13058
|
+
{
|
|
13059
|
+
Parachain: 1000
|
|
13060
|
+
},
|
|
13061
|
+
{
|
|
13062
|
+
PalletInstance: 50
|
|
13063
|
+
},
|
|
13064
|
+
{
|
|
13065
|
+
GeneralIndex: 1337
|
|
13066
|
+
}
|
|
13067
|
+
]
|
|
13068
|
+
}
|
|
13069
|
+
},
|
|
13070
|
+
existentialDeposit: "10000",
|
|
13071
|
+
alias: "USDC3"
|
|
13072
|
+
},
|
|
12892
13073
|
{
|
|
12893
13074
|
symbol: "SKY",
|
|
12894
13075
|
decimals: 18,
|
|
@@ -13195,6 +13376,33 @@ var AssetHubKusama = {
|
|
|
13195
13376
|
},
|
|
13196
13377
|
existentialDeposit: "1"
|
|
13197
13378
|
},
|
|
13379
|
+
{
|
|
13380
|
+
symbol: "USDt",
|
|
13381
|
+
decimals: 6,
|
|
13382
|
+
location: {
|
|
13383
|
+
parents: 2,
|
|
13384
|
+
interior: {
|
|
13385
|
+
X4: [
|
|
13386
|
+
{
|
|
13387
|
+
GlobalConsensus: {
|
|
13388
|
+
polkadot: null
|
|
13389
|
+
}
|
|
13390
|
+
},
|
|
13391
|
+
{
|
|
13392
|
+
Parachain: 1000
|
|
13393
|
+
},
|
|
13394
|
+
{
|
|
13395
|
+
PalletInstance: 50
|
|
13396
|
+
},
|
|
13397
|
+
{
|
|
13398
|
+
GeneralIndex: 1984
|
|
13399
|
+
}
|
|
13400
|
+
]
|
|
13401
|
+
}
|
|
13402
|
+
},
|
|
13403
|
+
existentialDeposit: "10000",
|
|
13404
|
+
alias: "USDt3"
|
|
13405
|
+
},
|
|
13198
13406
|
{
|
|
13199
13407
|
symbol: "MOVR",
|
|
13200
13408
|
decimals: 18,
|
|
@@ -19473,7 +19681,7 @@ var findAssetInfo = function findAssetInfo(chain, currency, destination) {
|
|
|
19473
19681
|
|
|
19474
19682
|
var findAssetInfoOrThrow = function findAssetInfoOrThrow(chain, currency, destination) {
|
|
19475
19683
|
var _findAssetInfo;
|
|
19476
|
-
var asset = (_findAssetInfo = findAssetInfo(chain, currency, destination)) !== null && _findAssetInfo !== void 0 ? _findAssetInfo : chain === 'AssetHubPolkadot' ? findAssetInfo('Ethereum', currency, null) : null;
|
|
19684
|
+
var asset = (_findAssetInfo = findAssetInfo(chain, currency, destination)) !== null && _findAssetInfo !== void 0 ? _findAssetInfo : chain === 'AssetHubPolkadot' || chain === 'Mythos' ? findAssetInfo('Ethereum', currency, null) : null;
|
|
19477
19685
|
if (!asset) {
|
|
19478
19686
|
throw new InvalidCurrencyError("Asset ".concat(JSON.stringify(currency, replaceBigInt), " not found on ").concat(chain));
|
|
19479
19687
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/assets",
|
|
3
|
-
"version": "11.8.
|
|
3
|
+
"version": "11.8.5",
|
|
4
4
|
"description": "Assets for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@paraspell/sdk-common": "11.8.
|
|
26
|
+
"@paraspell/sdk-common": "11.8.5"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|