@subwallet/chain-list 0.0.28 → 0.0.30

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/cjs/index.js CHANGED
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports._DEFAULT_CHAINS = exports.MultiChainAssetMap = exports.ChainInfoMap = exports.ChainAssetMap = exports.COMMON_CHAIN_SLUGS = exports.AssetRefMap = void 0;
8
- var _AssetRef2 = _interopRequireDefault(require("@subwallet/chain-list/data/AssetRef.json"));
9
- var _ChainAsset2 = _interopRequireDefault(require("@subwallet/chain-list/data/ChainAsset.json"));
10
- var _ChainInfo2 = _interopRequireDefault(require("@subwallet/chain-list/data/ChainInfo.json"));
11
- var _MultiChainAsset2 = _interopRequireDefault(require("@subwallet/chain-list/data/MultiChainAsset.json"));
8
+ var _AssetRef2 = _interopRequireDefault(require("@subwallet/chain-list/cjs/data/AssetRef.json"));
9
+ var _ChainAsset2 = _interopRequireDefault(require("@subwallet/chain-list/cjs/data/ChainAsset.json"));
10
+ var _ChainInfo2 = _interopRequireDefault(require("@subwallet/chain-list/cjs/data/ChainInfo.json"));
11
+ var _MultiChainAsset2 = _interopRequireDefault(require("@subwallet/chain-list/cjs/data/MultiChainAsset.json"));
12
12
  // Copyright 2019-2022 @subwallet/chain-list authors & contributors
13
13
  // SPDX-License-Identifier: Apache-2.0
14
14
 
@@ -37,4 +37,4 @@ exports.COMMON_CHAIN_SLUGS = COMMON_CHAIN_SLUGS;
37
37
  COMMON_CHAIN_SLUGS["ASTAR_EVM"] = "astarEvm";
38
38
  })(COMMON_CHAIN_SLUGS || (exports.COMMON_CHAIN_SLUGS = COMMON_CHAIN_SLUGS = {}));
39
39
  const _DEFAULT_CHAINS = [COMMON_CHAIN_SLUGS.POLKADOT, COMMON_CHAIN_SLUGS.KUSAMA];
40
- exports._DEFAULT_CHAINS = _DEFAULT_CHAINS;
40
+ exports._DEFAULT_CHAINS = _DEFAULT_CHAINS;
@@ -13,6 +13,6 @@ const packageInfo = {
13
13
  name: '@subwallet/chain-list',
14
14
  path: typeof __dirname === 'string' ? __dirname : 'auto',
15
15
  type: 'cjs',
16
- version: '0.0.28'
16
+ version: '0.0.30'
17
17
  };
18
18
  exports.packageInfo = packageInfo;
@@ -135,7 +135,7 @@
135
135
  },
136
136
 
137
137
  "karura-NATIVE-KAR___moonriver-LOCAL-xcKAR": {
138
- "srcAsset": "karura-LOCAL-aUSD",
138
+ "srcAsset": "karura-NATIVE-KAR",
139
139
  "destAsset": "moonriver-LOCAL-xcKAR",
140
140
  "srcChain": "karura",
141
141
  "destChain": "moonriver",
@@ -25,6 +25,32 @@
25
25
  "multiChainAsset": "KSM-Kusama",
26
26
  "hasValue": true
27
27
  },
28
+ "ethereum-NATIVE-ETH": {
29
+ "originChain": "ethereum",
30
+ "slug": "ethereum-NATIVE-ETH",
31
+ "name": "Ethereum",
32
+ "symbol": "ETH",
33
+ "decimals": 18,
34
+ "priceId": "ethereum",
35
+ "minAmount": "0",
36
+ "assetType": "NATIVE",
37
+ "metadata": null,
38
+ "multiChainAsset": "ETH-Ethereum",
39
+ "hasValue": true
40
+ },
41
+ "binance-NATIVE-BNB": {
42
+ "originChain": "binance",
43
+ "slug": "binance-NATIVE-BNB",
44
+ "name": "Binance Smart Chain",
45
+ "symbol": "BNB",
46
+ "decimals": 18,
47
+ "priceId": "binancecoin",
48
+ "minAmount": "0",
49
+ "assetType": "NATIVE",
50
+ "metadata": null,
51
+ "multiChainAsset": "BNB-Binance",
52
+ "hasValue": true
53
+ },
28
54
  "moonbeam-NATIVE-GLMR": {
29
55
  "originChain": "moonbeam",
30
56
  "slug": "moonbeam-NATIVE-GLMR",
@@ -38,6 +64,76 @@
38
64
  "multiChainAsset": "GLMR-Moonbeam",
39
65
  "hasValue": true
40
66
  },
67
+ "pioneer-NATIVE-NEER": {
68
+ "originChain": "pioneer",
69
+ "slug": "pioneer-NATIVE-NEER",
70
+ "name": "Pioneer Network",
71
+ "symbol": "NEER",
72
+ "decimals": 18,
73
+ "priceId": "metaverse-network-pioneer",
74
+ "minAmount": "100000000000000000",
75
+ "assetType": "NATIVE",
76
+ "metadata": {
77
+ "multilocation": {
78
+ "NativeToken": 0
79
+ }
80
+ },
81
+ "multiChainAsset": "NEER-Pioneer",
82
+ "hasValue": true
83
+ },
84
+ "aleph-NATIVE-AZERO": {
85
+ "originChain": "aleph",
86
+ "slug": "aleph-NATIVE-AZERO",
87
+ "name": "Aleph Zero",
88
+ "symbol": "AZERO",
89
+ "decimals": 12,
90
+ "priceId": "aleph-zero",
91
+ "minAmount": "500",
92
+ "assetType": "NATIVE",
93
+ "metadata": null,
94
+ "multiChainAsset": null,
95
+ "hasValue": true
96
+ },
97
+ "astar-NATIVE-ASTR": {
98
+ "originChain": "astar",
99
+ "slug": "astar-NATIVE-ASTR",
100
+ "name": "Astar",
101
+ "symbol": "ASTR",
102
+ "decimals": 18,
103
+ "priceId": "astar",
104
+ "minAmount": "1000000",
105
+ "assetType": "NATIVE",
106
+ "metadata": {
107
+ "multilocation": {
108
+ "Concrete": {
109
+ "parents": 0,
110
+ "interior": "Here"
111
+ }
112
+ }
113
+ },
114
+ "multiChainAsset": "ASTR-Astar",
115
+ "hasValue": true
116
+ },
117
+ "statemint-NATIVE-DOT": {
118
+ "originChain": "statemint",
119
+ "slug": "statemint-NATIVE-DOT",
120
+ "name": "Statemint",
121
+ "symbol": "DOT",
122
+ "decimals": 10,
123
+ "priceId": "polkadot",
124
+ "minAmount": "1000000000",
125
+ "assetType": "NATIVE",
126
+ "metadata": {
127
+ "multilocation": {
128
+ "Concrete": {
129
+ "parents": 1,
130
+ "interior": "Here"
131
+ }
132
+ }
133
+ },
134
+ "multiChainAsset": "DOT-Polkadot",
135
+ "hasValue": true
136
+ },
41
137
  "acala-NATIVE-ACA": {
42
138
  "originChain": "acala",
43
139
  "slug": "acala-NATIVE-ACA",
@@ -277,21 +373,6 @@
277
373
  "multiChainAsset": "aUSD-AcalaDollar",
278
374
  "hasValue": true
279
375
  },
280
- "alephTest-PSP22-PANX-5CY8zDBjUDNwZBHdGbERtLLSZqY7dJYsm1KhY6tSorYvnSke": {
281
- "originChain": "alephTest",
282
- "slug": "alephTest-PSP22-PANX-5CY8zDBjUDNwZBHdGbERtLLSZqY7dJYsm1KhY6tSorYvnSke",
283
- "name": "PANX",
284
- "symbol": "PANX",
285
- "decimals": 12,
286
- "priceId": null,
287
- "minAmount": null,
288
- "assetType": "PSP22",
289
- "metadata": {
290
- "contractAddress": "5CY8zDBjUDNwZBHdGbERtLLSZqY7dJYsm1KhY6tSorYvnSke"
291
- },
292
- "multiChainAsset": null,
293
- "hasValue": false
294
- },
295
376
  "moonbeam-ERC721-MFBB-0x02a6dec99b2ca768d638fcd87a96f6069f91287c": {
296
377
  "originChain": "moonbeam",
297
378
  "slug": "moonbeam-ERC721-MFBB-0x02a6dec99b2ca768d638fcd87a96f6069f91287c",
@@ -307,19 +388,6 @@
307
388
  "multiChainAsset": null,
308
389
  "hasValue": true
309
390
  },
310
- "ethereum-NATIVE-ETH": {
311
- "originChain": "ethereum",
312
- "slug": "ethereum-NATIVE-ETH",
313
- "name": "Ethereum",
314
- "symbol": "ETH",
315
- "decimals": 18,
316
- "priceId": "ethereum",
317
- "minAmount": "0",
318
- "assetType": "NATIVE",
319
- "metadata": null,
320
- "multiChainAsset": "ETH-Ethereum",
321
- "hasValue": true
322
- },
323
391
  "ethereum-ERC20-WETH-0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": {
324
392
  "originChain": "ethereum",
325
393
  "slug": "ethereum-ERC20-WETH-0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
@@ -335,19 +403,6 @@
335
403
  "multiChainAsset": "WETH-WrappedEther",
336
404
  "hasValue": true
337
405
  },
338
- "astar-NATIVE-ASTR": {
339
- "originChain": "astar",
340
- "slug": "astar-NATIVE-ASTR",
341
- "name": "Astar",
342
- "symbol": "ASTR",
343
- "decimals": 18,
344
- "priceId": "astar",
345
- "minAmount": "1000000",
346
- "assetType": "NATIVE",
347
- "metadata": null,
348
- "multiChainAsset": "ASTR-Astar",
349
- "hasValue": true
350
- },
351
406
  "astar-LOCAL-DOT": {
352
407
  "originChain": "astar",
353
408
  "slug": "astar-LOCAL-DOT",
@@ -360,8 +415,10 @@
360
415
  "metadata": {
361
416
  "assetId": "340282366920938463463374607431768211455",
362
417
  "multilocation": {
363
- "parents": 1,
364
- "interior": "Here"
418
+ "Concrete": {
419
+ "parents": 1,
420
+ "interior": "Here"
421
+ }
365
422
  }
366
423
  },
367
424
  "multiChainAsset": "DOT-Polkadot",
@@ -379,19 +436,21 @@
379
436
  "metadata": {
380
437
  "assetId": "4294969280",
381
438
  "multilocation": {
382
- "parents": 1,
383
- "interior": {
384
- "X3": [
385
- {
386
- "Parachain": 1000
387
- },
388
- {
389
- "GeneralIndex": 50
390
- },
391
- {
392
- "GeneralIndex": 1984
393
- }
394
- ]
439
+ "Concrete": {
440
+ "parents": 1,
441
+ "interior": {
442
+ "X3": [
443
+ {
444
+ "Parachain": 1000
445
+ },
446
+ {
447
+ "GeneralIndex": 50
448
+ },
449
+ {
450
+ "GeneralIndex": 1984
451
+ }
452
+ ]
453
+ }
395
454
  }
396
455
  }
397
456
  },
@@ -615,7 +674,7 @@
615
674
  "minAmount": "10000000000",
616
675
  "assetType": "NATIVE",
617
676
  "metadata": null,
618
- "multiChainAsset": null,
677
+ "multiChainAsset": "BNC-BifrostKusama",
619
678
  "hasValue": true
620
679
  },
621
680
  "bifrost_dot-NATIVE-BNC": {
@@ -722,43 +781,6 @@
722
781
  "multiChainAsset": "SDN-Shiden",
723
782
  "hasValue": true
724
783
  },
725
- "statemint-NATIVE-DOT": {
726
- "originChain": "statemint",
727
- "slug": "statemint-NATIVE-DOT",
728
- "name": "Statemint",
729
- "symbol": "DOT",
730
- "decimals": 10,
731
- "priceId": "polkadot",
732
- "minAmount": "1000000000",
733
- "assetType": "NATIVE",
734
- "metadata": {
735
- "multilocation": {
736
- "Concrete": {
737
- "parents": 1,
738
- "interior": "Here"
739
- }
740
- }
741
- },
742
- "multiChainAsset": "DOT-Polkadot",
743
- "hasValue": true
744
- },
745
- "pioneer-NATIVE-NEER": {
746
- "originChain": "pioneer",
747
- "slug": "pioneer-NATIVE-NEER",
748
- "name": "Pioneer Network",
749
- "symbol": "NEER",
750
- "decimals": 18,
751
- "priceId": "metaverse-network-pioneer",
752
- "minAmount": "100000000000000000",
753
- "assetType": "NATIVE",
754
- "metadata": {
755
- "multilocation": {
756
- "NativeToken": 0
757
- }
758
- },
759
- "multiChainAsset": "NEER-Pioneer",
760
- "hasValue": true
761
- },
762
784
  "pioneer-LOCAL-BIT": {
763
785
  "originChain": "pioneer",
764
786
  "slug": "pioneer-LOCAL-BIT",
@@ -789,19 +811,6 @@
789
811
  "multiChainAsset": null,
790
812
  "hasValue": false
791
813
  },
792
- "binance-NATIVE-BNB": {
793
- "originChain": "binance",
794
- "slug": "binance-NATIVE-BNB",
795
- "name": "Binance Smart Chain",
796
- "symbol": "BNB",
797
- "decimals": 18,
798
- "priceId": "binancecoin",
799
- "minAmount": "0",
800
- "assetType": "NATIVE",
801
- "metadata": null,
802
- "multiChainAsset": "BNB-Binance",
803
- "hasValue": true
804
- },
805
814
  "binance_test-NATIVE-BNB": {
806
815
  "originChain": "binance_test",
807
816
  "slug": "binance_test-NATIVE-BNB",
@@ -1056,19 +1065,6 @@
1056
1065
  "multiChainAsset": null,
1057
1066
  "hasValue": false
1058
1067
  },
1059
- "aleph-NATIVE-AZERO": {
1060
- "originChain": "aleph",
1061
- "slug": "aleph-NATIVE-AZERO",
1062
- "name": "Aleph Zero",
1063
- "symbol": "AZERO",
1064
- "decimals": 12,
1065
- "priceId": "aleph-zero",
1066
- "minAmount": "500",
1067
- "assetType": "NATIVE",
1068
- "metadata": null,
1069
- "multiChainAsset": null,
1070
- "hasValue": true
1071
- },
1072
1068
  "rmrk-NATIVE-UNIT": {
1073
1069
  "originChain": "rmrk",
1074
1070
  "slug": "rmrk-NATIVE-UNIT",
@@ -1189,7 +1185,16 @@
1189
1185
  "priceId": "karura",
1190
1186
  "minAmount": "100000000000",
1191
1187
  "assetType": "NATIVE",
1192
- "metadata": null,
1188
+ "metadata": {
1189
+ "onChainInfo": {
1190
+ "NativeAssetId": {
1191
+ "Token": "KAR"
1192
+ }
1193
+ },
1194
+ "multilocation": {
1195
+ "Token": "KAR"
1196
+ }
1197
+ },
1193
1198
  "multiChainAsset": "KAR-Karura",
1194
1199
  "hasValue": true
1195
1200
  },
@@ -2372,9 +2377,9 @@
2372
2377
  "multiChainAsset": null,
2373
2378
  "hasValue": true
2374
2379
  },
2375
- "sora-substrate-NATIVE-XOR": {
2376
- "originChain": "sora-substrate",
2377
- "slug": "sora-substrate-NATIVE-XOR",
2380
+ "sora_substrate-NATIVE-XOR": {
2381
+ "originChain": "sora_substrate",
2382
+ "slug": "sora_substrate-NATIVE-XOR",
2378
2383
  "name": "SORA",
2379
2384
  "symbol": "XOR",
2380
2385
  "decimals": 18,
@@ -2494,7 +2499,7 @@
2494
2499
  "assetType": "ForeignAsset",
2495
2500
  "contractAddress": "0xFfFFfFff1FcaCBd218EDc0EbA20Fc2308C778080"
2496
2501
  },
2497
- "multiChainAsset": "USDT-Tether",
2502
+ "multiChainAsset": "KSM-Kusama",
2498
2503
  "hasValue": true
2499
2504
  },
2500
2505
  "shiden-LOCAL-KSM": {
@@ -2508,7 +2513,13 @@
2508
2513
  "assetType": "LOCAL",
2509
2514
  "metadata": {
2510
2515
  "assetId": "42259045809535163221576417993425387648",
2511
- "assetType": "ForeignAsset"
2516
+ "assetType": "ForeignAsset",
2517
+ "multilocation": {
2518
+ "Concrete": {
2519
+ "parents": 1,
2520
+ "interior": "Here"
2521
+ }
2522
+ }
2512
2523
  },
2513
2524
  "multiChainAsset": "KSM-Kusama",
2514
2525
  "hasValue": true
@@ -2561,7 +2572,7 @@
2561
2572
  "Token": "BNC"
2562
2573
  }
2563
2574
  },
2564
- "multiChainAsset": "KSM-Kusama",
2575
+ "multiChainAsset": "BNC-BifrostKusama",
2565
2576
  "hasValue": true
2566
2577
  },
2567
2578
  "bifrost-LOCAL-KSM": {
@@ -2678,16 +2689,18 @@
2678
2689
  "metadata": {
2679
2690
  "assetId": "18446744073709551617",
2680
2691
  "multilocation": {
2681
- "parents": 1,
2682
- "interior": {
2683
- "X2": [
2684
- {
2685
- "Parachain": 2000
2686
- },
2687
- {
2688
- "GeneralKey": "0x0001"
2689
- }
2690
- ]
2692
+ "Concrete": {
2693
+ "parents": 1,
2694
+ "interior": {
2695
+ "X2": [
2696
+ {
2697
+ "Parachain": 2000
2698
+ },
2699
+ {
2700
+ "GeneralKey": "0x0001"
2701
+ }
2702
+ ]
2703
+ }
2691
2704
  }
2692
2705
  }
2693
2706
  },
@@ -2743,9 +2756,9 @@
2743
2756
  "originChain": "moonriver",
2744
2757
  "slug": "moonriver-LOCAL-xcKAR",
2745
2758
  "name": "Karura",
2746
- "symbol": "KAR",
2759
+ "symbol": "xcKAR",
2747
2760
  "decimals": 12,
2748
- "priceId": null,
2761
+ "priceId": "karura",
2749
2762
  "minAmount": null,
2750
2763
  "assetType": "LOCAL",
2751
2764
  "metadata": {
@@ -3689,12 +3702,12 @@
3689
3702
  "hasValue": true,
3690
3703
  "multiChainAsset": null
3691
3704
  },
3692
- "astarEvm-ERC20-ARSW-LP-0x87988EbDE7E661F44eB3a586C5E0cEAB533a2d9C": {
3705
+ "astarEvm-ERC20-ARSW_LP-0x87988EbDE7E661F44eB3a586C5E0cEAB533a2d9C": {
3693
3706
  "originChain": "astarEvm",
3694
- "slug": "astarEvm-ERC20-ARSW-LP-0x87988EbDE7E661F44eB3a586C5E0cEAB533a2d9C",
3707
+ "slug": "astarEvm-ERC20-ARSW_LP-0x87988EbDE7E661F44eB3a586C5E0cEAB533a2d9C",
3695
3708
  "name": "Arthswap LPs (ARSW-LP)",
3696
3709
  "decimals": 18,
3697
- "symbol": "ARSW-LP",
3710
+ "symbol": "ARSW_LP",
3698
3711
  "priceId": null,
3699
3712
  "minAmount": null,
3700
3713
  "assetType": "ERC20",
@@ -4726,9 +4739,9 @@
4726
4739
  "multiChainAsset": null,
4727
4740
  "hasValue": true
4728
4741
  },
4729
- "ethereum-ERC20-FTM-0x4E15361FD6b4BB609Fa63C81A2be19d873717870": {
4742
+ "ethereum-ERC20-WFTM-0x4E15361FD6b4BB609Fa63C81A2be19d873717870": {
4730
4743
  "originChain": "ethereum",
4731
- "slug": "ethereum-ERC20-FTM-0x4E15361FD6b4BB609Fa63C81A2be19d873717870",
4744
+ "slug": "ethereum-ERC20-WFTM-0x4E15361FD6b4BB609Fa63C81A2be19d873717870",
4732
4745
  "name": "Wrapped Fantom",
4733
4746
  "symbol": "WFTM",
4734
4747
  "decimals": 18,