@paraspell/assets 14.5.3 → 14.6.0

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.
Files changed (2) hide show
  1. package/dist/index.mjs +85 -467
  2. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -2249,445 +2249,6 @@ var BifrostPolkadot = {
2249
2249
  }
2250
2250
  ]
2251
2251
  };
2252
- var Centrifuge = {
2253
- relaychainSymbol: "DOT",
2254
- nativeAssetSymbol: "CFG",
2255
- isEVM: false,
2256
- ss58Prefix: 36,
2257
- supportsDryRunApi: false,
2258
- supportsXcmPaymentApi: false,
2259
- assets: [
2260
- {
2261
- symbol: "CFG",
2262
- decimals: 18,
2263
- existentialDeposit: "1000000000000",
2264
- location: {
2265
- parents: 1,
2266
- interior: {
2267
- X2: [
2268
- {
2269
- Parachain: 2031
2270
- },
2271
- {
2272
- GeneralKey: {
2273
- length: 2,
2274
- data: "0x0001000000000000000000000000000000000000000000000000000000000000"
2275
- }
2276
- }
2277
- ]
2278
- }
2279
- },
2280
- isNative: true
2281
- },
2282
- {
2283
- assetId: "100003",
2284
- symbol: "LpArbUSDC",
2285
- decimals: 6,
2286
- location: {
2287
- parents: 1,
2288
- interior: {
2289
- X4: [
2290
- {
2291
- Parachain: 2031
2292
- },
2293
- {
2294
- PalletInstance: 103
2295
- },
2296
- {
2297
- GlobalConsensus: {
2298
- Ethereum: {
2299
- chainId: 42161
2300
- }
2301
- }
2302
- },
2303
- {
2304
- AccountKey20: {
2305
- network: null,
2306
- key: "0xaf88d065e77c8cc2239327c5edb3a432268e5831"
2307
- }
2308
- }
2309
- ]
2310
- }
2311
- },
2312
- existentialDeposit: "1000"
2313
- },
2314
- {
2315
- assetId: "999998",
2316
- symbol: "cfgIOU",
2317
- decimals: 18,
2318
- location: {
2319
- parents: 1,
2320
- interior: {
2321
- X4: [
2322
- {
2323
- Parachain: 2031
2324
- },
2325
- {
2326
- PalletInstance: 103
2327
- },
2328
- {
2329
- GlobalConsensus: {
2330
- Ethereum: {
2331
- chainId: 1
2332
- }
2333
- }
2334
- },
2335
- {
2336
- AccountKey20: {
2337
- network: null,
2338
- key: "0xacf3c07bebd65d5f7d86bc0bc716026a0c523069"
2339
- }
2340
- }
2341
- ]
2342
- }
2343
- },
2344
- existentialDeposit: "0"
2345
- },
2346
- {
2347
- assetId: "3",
2348
- symbol: "aUSD",
2349
- decimals: 12,
2350
- location: {
2351
- parents: 1,
2352
- interior: {
2353
- X2: [
2354
- {
2355
- Parachain: 2000
2356
- },
2357
- {
2358
- GeneralKey: {
2359
- length: 2,
2360
- data: "0x0001000000000000000000000000000000000000000000000000000000000000"
2361
- }
2362
- }
2363
- ]
2364
- }
2365
- },
2366
- existentialDeposit: "10000000000"
2367
- },
2368
- {
2369
- assetId: "100008",
2370
- symbol: "USDS",
2371
- decimals: 18,
2372
- location: {
2373
- parents: 1,
2374
- interior: {
2375
- X4: [
2376
- {
2377
- Parachain: 2031
2378
- },
2379
- {
2380
- PalletInstance: 103
2381
- },
2382
- {
2383
- GlobalConsensus: {
2384
- Ethereum: {
2385
- chainId: 1
2386
- }
2387
- }
2388
- },
2389
- {
2390
- AccountKey20: {
2391
- network: null,
2392
- key: "0xdc035d45d973e3ec169d2276ddab16f1e407384f"
2393
- }
2394
- }
2395
- ]
2396
- }
2397
- },
2398
- existentialDeposit: "10000000000000000"
2399
- },
2400
- {
2401
- assetId: "100005",
2402
- symbol: "LpFRAX",
2403
- decimals: 18,
2404
- location: {
2405
- parents: 1,
2406
- interior: {
2407
- X4: [
2408
- {
2409
- Parachain: 2031
2410
- },
2411
- {
2412
- PalletInstance: 103
2413
- },
2414
- {
2415
- GlobalConsensus: {
2416
- Ethereum: {
2417
- chainId: 1
2418
- }
2419
- }
2420
- },
2421
- {
2422
- AccountKey20: {
2423
- network: null,
2424
- key: "0x853d955acef822db058eb8505911ed77f175b99e"
2425
- }
2426
- }
2427
- ]
2428
- }
2429
- },
2430
- existentialDeposit: "1000000000000000"
2431
- },
2432
- {
2433
- assetId: "1",
2434
- symbol: "USD",
2435
- decimals: 6,
2436
- location: {
2437
- parents: 1,
2438
- interior: {
2439
- X3: [
2440
- {
2441
- Parachain: 1000
2442
- },
2443
- {
2444
- PalletInstance: 50
2445
- },
2446
- {
2447
- GeneralIndex: 1984
2448
- }
2449
- ]
2450
- }
2451
- },
2452
- existentialDeposit: "1000"
2453
- },
2454
- {
2455
- assetId: "100006",
2456
- symbol: "LpCeloUSDC",
2457
- decimals: 6,
2458
- location: {
2459
- parents: 1,
2460
- interior: {
2461
- X4: [
2462
- {
2463
- Parachain: 2031
2464
- },
2465
- {
2466
- PalletInstance: 103
2467
- },
2468
- {
2469
- GlobalConsensus: {
2470
- Ethereum: {
2471
- chainId: 42220
2472
- }
2473
- }
2474
- },
2475
- {
2476
- AccountKey20: {
2477
- network: null,
2478
- key: "0xceba9300f2b948710d2653dd7b07f33a8b32118c"
2479
- }
2480
- }
2481
- ]
2482
- }
2483
- },
2484
- existentialDeposit: "1000"
2485
- },
2486
- {
2487
- assetId: "5",
2488
- symbol: "DOT",
2489
- decimals: 10,
2490
- location: {
2491
- parents: 1,
2492
- interior: {
2493
- Here: null
2494
- }
2495
- },
2496
- existentialDeposit: "100000"
2497
- },
2498
- {
2499
- assetId: "6",
2500
- symbol: "USDC",
2501
- decimals: 6,
2502
- location: {
2503
- parents: 1,
2504
- interior: {
2505
- X3: [
2506
- {
2507
- Parachain: 1000
2508
- },
2509
- {
2510
- PalletInstance: 50
2511
- },
2512
- {
2513
- GeneralIndex: 1337
2514
- }
2515
- ]
2516
- }
2517
- },
2518
- existentialDeposit: "1000"
2519
- },
2520
- {
2521
- assetId: "100002",
2522
- symbol: "LpBaseUSDC",
2523
- decimals: 6,
2524
- location: {
2525
- parents: 1,
2526
- interior: {
2527
- X4: [
2528
- {
2529
- Parachain: 2031
2530
- },
2531
- {
2532
- PalletInstance: 103
2533
- },
2534
- {
2535
- GlobalConsensus: {
2536
- Ethereum: {
2537
- chainId: 8453
2538
- }
2539
- }
2540
- },
2541
- {
2542
- AccountKey20: {
2543
- network: null,
2544
- key: "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
2545
- }
2546
- }
2547
- ]
2548
- }
2549
- },
2550
- existentialDeposit: "1000"
2551
- },
2552
- {
2553
- assetId: "1",
2554
- symbol: "USDT",
2555
- decimals: 6,
2556
- location: {
2557
- parents: 1,
2558
- interior: {
2559
- X3: [
2560
- {
2561
- Parachain: 1000
2562
- },
2563
- {
2564
- PalletInstance: 50
2565
- },
2566
- {
2567
- GeneralIndex: 1984
2568
- }
2569
- ]
2570
- }
2571
- },
2572
- existentialDeposit: "10000"
2573
- },
2574
- {
2575
- assetId: "100007",
2576
- symbol: "DAI",
2577
- decimals: 18,
2578
- location: {
2579
- parents: 1,
2580
- interior: {
2581
- X4: [
2582
- {
2583
- Parachain: 2031
2584
- },
2585
- {
2586
- PalletInstance: 103
2587
- },
2588
- {
2589
- GlobalConsensus: {
2590
- Ethereum: {
2591
- chainId: 1
2592
- }
2593
- }
2594
- },
2595
- {
2596
- AccountKey20: {
2597
- network: null,
2598
- key: "0x6b175474e89094c44da98b954eedeac495271d0f"
2599
- }
2600
- }
2601
- ]
2602
- }
2603
- },
2604
- existentialDeposit: "10000000000000000"
2605
- },
2606
- {
2607
- assetId: "100001",
2608
- symbol: "LpEthUSDC",
2609
- decimals: 6,
2610
- location: {
2611
- parents: 1,
2612
- interior: {
2613
- X4: [
2614
- {
2615
- Parachain: 2031
2616
- },
2617
- {
2618
- PalletInstance: 103
2619
- },
2620
- {
2621
- GlobalConsensus: {
2622
- Ethereum: {
2623
- chainId: 1
2624
- }
2625
- }
2626
- },
2627
- {
2628
- AccountKey20: {
2629
- network: null,
2630
- key: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
2631
- }
2632
- }
2633
- ]
2634
- }
2635
- },
2636
- existentialDeposit: "1000"
2637
- },
2638
- {
2639
- assetId: "4",
2640
- symbol: "GLMR",
2641
- decimals: 18,
2642
- location: {
2643
- parents: 1,
2644
- interior: {
2645
- X2: [
2646
- {
2647
- Parachain: 2004
2648
- },
2649
- {
2650
- PalletInstance: 10
2651
- }
2652
- ]
2653
- }
2654
- },
2655
- existentialDeposit: "1000000000000000"
2656
- },
2657
- {
2658
- assetId: "100004",
2659
- symbol: "LpCeloWormUSDC ",
2660
- decimals: 6,
2661
- location: {
2662
- parents: 1,
2663
- interior: {
2664
- X4: [
2665
- {
2666
- Parachain: 2031
2667
- },
2668
- {
2669
- PalletInstance: 103
2670
- },
2671
- {
2672
- GlobalConsensus: {
2673
- Ethereum: {
2674
- chainId: 42220
2675
- }
2676
- }
2677
- },
2678
- {
2679
- AccountKey20: {
2680
- network: null,
2681
- key: "0x37f750b7cc259a2f741af45294f6a16572cf5cad"
2682
- }
2683
- }
2684
- ]
2685
- }
2686
- },
2687
- existentialDeposit: "1000"
2688
- }
2689
- ]
2690
- };
2691
2252
  var Xode = {
2692
2253
  relaychainSymbol: "DOT",
2693
2254
  nativeAssetSymbol: "XON",
@@ -3238,7 +2799,8 @@ var Hydration = {
3238
2799
  ]
3239
2800
  }
3240
2801
  },
3241
- isFeeAsset: true
2802
+ isFeeAsset: true,
2803
+ alias: "HUSDT1"
3242
2804
  },
3243
2805
  {
3244
2806
  assetId: "4",
@@ -3799,7 +3361,7 @@ var Hydration = {
3799
3361
  {
3800
3362
  AccountKey20: {
3801
3363
  network: null,
3802
- key: "0x3a31ff0a1e07da4158677ce861980cdf2e316b78"
3364
+ key: "0x2405024a3d2ecc0a97818490616bd8763652e1e5"
3803
3365
  }
3804
3366
  }
3805
3367
  ]
@@ -4471,6 +4033,33 @@ var Hydration = {
4471
4033
  }
4472
4034
  }
4473
4035
  },
4036
+ {
4037
+ assetId: "1115",
4038
+ symbol: "HUSDT",
4039
+ decimals: 18,
4040
+ existentialDeposit: "33000000000000000",
4041
+ erc20: {
4042
+ balanceSlot: 52
4043
+ },
4044
+ location: {
4045
+ parents: 1,
4046
+ interior: {
4047
+ X2: [
4048
+ {
4049
+ Parachain: 2034
4050
+ },
4051
+ {
4052
+ AccountKey20: {
4053
+ network: null,
4054
+ key: "0xc92051fa011a1ce83f50a9b1ea8ebbddfa8ca272"
4055
+ }
4056
+ }
4057
+ ]
4058
+ }
4059
+ },
4060
+ isFeeAsset: true,
4061
+ alias: "HUSDT2"
4062
+ },
4474
4063
  {
4475
4064
  assetId: "29",
4476
4065
  symbol: "PLMC",
@@ -4577,6 +4166,33 @@ var Hydration = {
4577
4166
  },
4578
4167
  isFeeAsset: true
4579
4168
  },
4169
+ {
4170
+ assetId: "1114",
4171
+ symbol: "HUSDC",
4172
+ decimals: 18,
4173
+ existentialDeposit: "33000000000000000",
4174
+ erc20: {
4175
+ balanceSlot: 52
4176
+ },
4177
+ location: {
4178
+ parents: 1,
4179
+ interior: {
4180
+ X2: [
4181
+ {
4182
+ Parachain: 2034
4183
+ },
4184
+ {
4185
+ AccountKey20: {
4186
+ network: null,
4187
+ key: "0x8894940baa4c7c26d8d84247d93c6d2e40a5af4f"
4188
+ }
4189
+ }
4190
+ ]
4191
+ }
4192
+ },
4193
+ isFeeAsset: true,
4194
+ alias: "HUSDC2"
4195
+ },
4580
4196
  {
4581
4197
  assetId: "5",
4582
4198
  symbol: "DOT",
@@ -5057,7 +4673,8 @@ var Hydration = {
5057
4673
  ]
5058
4674
  }
5059
4675
  },
5060
- isFeeAsset: true
4676
+ isFeeAsset: true,
4677
+ alias: "HUSDC1"
5061
4678
  },
5062
4679
  {
5063
4680
  assetId: "1000100",
@@ -13166,28 +12783,6 @@ var AssetHubWestend = {
13166
12783
  isFeeAsset: true,
13167
12784
  alias: "BILL2"
13168
12785
  },
13169
- {
13170
- assetId: "35",
13171
- symbol: "usd",
13172
- decimals: 6,
13173
- location: {
13174
- parents: 1,
13175
- interior: {
13176
- X3: [
13177
- {
13178
- Parachain: 1000
13179
- },
13180
- {
13181
- PalletInstance: 50
13182
- },
13183
- {
13184
- GeneralIndex: 35
13185
- }
13186
- ]
13187
- }
13188
- },
13189
- existentialDeposit: "1000"
13190
- },
13191
12786
  {
13192
12787
  assetId: "61337",
13193
12788
  symbol: "USDC",
@@ -13944,7 +13539,8 @@ var AssetHubPaseo = {
13944
13539
  ]
13945
13540
  }
13946
13541
  },
13947
- existentialDeposit: "100"
13542
+ existentialDeposit: "100",
13543
+ alias: "USDT1"
13948
13544
  },
13949
13545
  {
13950
13546
  assetId: "50000688",
@@ -13991,6 +13587,29 @@ var AssetHubPaseo = {
13991
13587
  existentialDeposit: "1",
13992
13588
  alias: "USDC2"
13993
13589
  },
13590
+ {
13591
+ assetId: "50001050",
13592
+ symbol: "USDT",
13593
+ decimals: 6,
13594
+ location: {
13595
+ parents: 1,
13596
+ interior: {
13597
+ X3: [
13598
+ {
13599
+ Parachain: 1000
13600
+ },
13601
+ {
13602
+ PalletInstance: 50
13603
+ },
13604
+ {
13605
+ GeneralIndex: 50001050
13606
+ }
13607
+ ]
13608
+ }
13609
+ },
13610
+ existentialDeposit: "1",
13611
+ alias: "USDT2"
13612
+ },
13994
13613
  {
13995
13614
  assetId: "50000309",
13996
13615
  symbol: "USDC",
@@ -16732,7 +16351,6 @@ var assetsMapJson = {
16732
16351
  BridgeHubKusama: BridgeHubKusama,
16733
16352
  Astar: Astar,
16734
16353
  BifrostPolkadot: BifrostPolkadot,
16735
- Centrifuge: Centrifuge,
16736
16354
  Xode: Xode,
16737
16355
  Darwinia: Darwinia,
16738
16356
  EnergyWebX: EnergyWebX,
@@ -16949,7 +16567,7 @@ var findAssetInfoByLoc = function findAssetInfoByLoc(foreignAssets, location) {
16949
16567
  }
16950
16568
  var normalizedLocation = canonicalizeLocation(location);
16951
16569
  return foreignAssets.find(function (asset) {
16952
- return asset.location && deepEqual(normalizedLocation, canonicalizeLocation(asset.location));
16570
+ return deepEqual(normalizedLocation, canonicalizeLocation(asset.location));
16953
16571
  });
16954
16572
  };
16955
16573
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/assets",
3
- "version": "14.5.3",
3
+ "version": "14.6.0",
4
4
  "description": "Assets for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,21 +22,21 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@paraspell/sdk-common": "14.5.3"
25
+ "@paraspell/sdk-common": "14.6.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@babel/plugin-syntax-import-attributes": "^7.29.7",
29
- "@babel/preset-env": "^7.29.7",
29
+ "@babel/preset-env": "^7.29.14",
30
30
  "@codecov/rollup-plugin": "^2.0.1",
31
31
  "@polkadot-api/substrate-bindings": "^0.21.2",
32
32
  "@rollup/plugin-babel": "^7.1.0",
33
33
  "@rollup/plugin-json": "^6.1.0",
34
34
  "@rollup/plugin-typescript": "^12.3.1",
35
- "@snowbridge/registry": "^1.2.1",
36
- "@vitest/coverage-v8": "^5.0.5",
37
- "dotenv": "^18.0.9",
35
+ "@snowbridge/registry": "^1.2.4",
36
+ "@vitest/coverage-v8": "^5.1.2",
37
+ "dotenv": "^18.0.10",
38
38
  "polkadot-api": "^3.3.0",
39
- "rollup": "^4.66.0",
39
+ "rollup": "^4.68.8",
40
40
  "rollup-plugin-dts": "^6.5.1",
41
41
  "tsx": "^4.23.15"
42
42
  },