@paraspell/sdk 2.0.5 → 3.0.1
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/README.md +25 -109
- package/dist/index.cjs +1245 -751
- package/dist/index.d.ts +46 -12
- package/dist/index.mjs +1245 -752
- package/package.json +4 -3
package/dist/index.cjs
CHANGED
|
@@ -7,8 +7,8 @@ var endpoints = require('@polkadot/apps-config/endpoints');
|
|
|
7
7
|
// derrived from https://github.com/kodadot/packages/blob/main/minimark/src/common/types.ts
|
|
8
8
|
exports.Version = void 0;
|
|
9
9
|
(function (Version) {
|
|
10
|
-
Version[
|
|
11
|
-
Version[
|
|
10
|
+
Version["V1"] = "V1";
|
|
11
|
+
Version["V3"] = "V3";
|
|
12
12
|
})(exports.Version || (exports.Version = {}));
|
|
13
13
|
|
|
14
14
|
function _classCallCheck(instance, Constructor) {
|
|
@@ -33,6 +33,20 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
33
33
|
});
|
|
34
34
|
return Constructor;
|
|
35
35
|
}
|
|
36
|
+
function _defineProperty(obj, key, value) {
|
|
37
|
+
key = _toPropertyKey(key);
|
|
38
|
+
if (key in obj) {
|
|
39
|
+
Object.defineProperty(obj, key, {
|
|
40
|
+
value: value,
|
|
41
|
+
enumerable: true,
|
|
42
|
+
configurable: true,
|
|
43
|
+
writable: true
|
|
44
|
+
});
|
|
45
|
+
} else {
|
|
46
|
+
obj[key] = value;
|
|
47
|
+
}
|
|
48
|
+
return obj;
|
|
49
|
+
}
|
|
36
50
|
function _inherits(subClass, superClass) {
|
|
37
51
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
38
52
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -89,7 +103,11 @@ function _construct(Parent, args, Class) {
|
|
|
89
103
|
return _construct.apply(null, arguments);
|
|
90
104
|
}
|
|
91
105
|
function _isNativeFunction(fn) {
|
|
92
|
-
|
|
106
|
+
try {
|
|
107
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
108
|
+
} catch (e) {
|
|
109
|
+
return typeof fn === "function";
|
|
110
|
+
}
|
|
93
111
|
}
|
|
94
112
|
function _wrapNativeSuper(Class) {
|
|
95
113
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
@@ -277,7 +295,7 @@ var Acala$2 = {
|
|
|
277
295
|
relayChainAssetSymbol: "DOT",
|
|
278
296
|
nativeAssets: [
|
|
279
297
|
{
|
|
280
|
-
symbol: "
|
|
298
|
+
symbol: "aSEED",
|
|
281
299
|
decimals: 12
|
|
282
300
|
},
|
|
283
301
|
{
|
|
@@ -322,6 +340,11 @@ var Acala$2 = {
|
|
|
322
340
|
symbol: "INTR",
|
|
323
341
|
decimals: 10
|
|
324
342
|
},
|
|
343
|
+
{
|
|
344
|
+
assetId: "0xa72206fdf839c785b3073870013f2fd57ba10b63",
|
|
345
|
+
symbol: "CRUet",
|
|
346
|
+
decimals: 18
|
|
347
|
+
},
|
|
325
348
|
{
|
|
326
349
|
assetId: "6",
|
|
327
350
|
symbol: "WETH",
|
|
@@ -337,6 +360,11 @@ var Acala$2 = {
|
|
|
337
360
|
symbol: "ASTR",
|
|
338
361
|
decimals: 18
|
|
339
362
|
},
|
|
363
|
+
{
|
|
364
|
+
assetId: "0x892ddd9387dbdecedaef878bd7acf8603109227f",
|
|
365
|
+
symbol: "TAI",
|
|
366
|
+
decimals: 12
|
|
367
|
+
},
|
|
340
368
|
{
|
|
341
369
|
assetId: "9",
|
|
342
370
|
symbol: "PHA",
|
|
@@ -362,11 +390,26 @@ var Acala$2 = {
|
|
|
362
390
|
symbol: "WBTC",
|
|
363
391
|
decimals: 8
|
|
364
392
|
},
|
|
393
|
+
{
|
|
394
|
+
assetId: "0xd1729649ee6d5e3740ee2f9254c4226aabd0dc5b",
|
|
395
|
+
symbol: "LDO",
|
|
396
|
+
decimals: 18
|
|
397
|
+
},
|
|
365
398
|
{
|
|
366
399
|
assetId: "0x54a37a01cd75b616d63e0ab665bffdb0143c52ae",
|
|
367
400
|
symbol: "DAI",
|
|
368
401
|
decimals: 18
|
|
369
402
|
},
|
|
403
|
+
{
|
|
404
|
+
assetId: "0xaf6997a70feb868df863d5380c3ab93da4297edc",
|
|
405
|
+
symbol: "SHIB",
|
|
406
|
+
decimals: 18
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
assetId: "0x604cae74cdc395a8824557d422fccf8db6809a2f",
|
|
410
|
+
symbol: "LINK",
|
|
411
|
+
decimals: 18
|
|
412
|
+
},
|
|
370
413
|
{
|
|
371
414
|
assetId: "11",
|
|
372
415
|
symbol: "CRU",
|
|
@@ -377,16 +420,36 @@ var Acala$2 = {
|
|
|
377
420
|
symbol: "USDT",
|
|
378
421
|
decimals: 6
|
|
379
422
|
},
|
|
423
|
+
{
|
|
424
|
+
assetId: "0xd53e4ba478cca5080c47435769ff82f41e5e4cd0",
|
|
425
|
+
symbol: "ARB",
|
|
426
|
+
decimals: 18
|
|
427
|
+
},
|
|
380
428
|
{
|
|
381
429
|
assetId: "0x5a4d6acdc4e3e5ab15717f407afe957f7a242578",
|
|
382
430
|
symbol: "WETH",
|
|
383
431
|
decimals: 18
|
|
384
432
|
},
|
|
433
|
+
{
|
|
434
|
+
assetId: "0x7d52316b1132c26626670fbf52aa7f5ce6f9b388",
|
|
435
|
+
symbol: "BUSDbs",
|
|
436
|
+
decimals: 18
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
assetId: "0x19eba3efa7d0e02956678c5f3c63c46beda2d7d8",
|
|
440
|
+
symbol: "MATICpo",
|
|
441
|
+
decimals: 18
|
|
442
|
+
},
|
|
385
443
|
{
|
|
386
444
|
assetId: "7",
|
|
387
445
|
symbol: "EQ",
|
|
388
446
|
decimals: 9
|
|
389
447
|
},
|
|
448
|
+
{
|
|
449
|
+
assetId: "0x13fe490489204abde3265bfd81179e6ddd2020c3",
|
|
450
|
+
symbol: "UNI",
|
|
451
|
+
decimals: 18
|
|
452
|
+
},
|
|
390
453
|
{
|
|
391
454
|
assetId: "0xc80084af223c8b598536178d9361dc55bfda6818",
|
|
392
455
|
symbol: "WBTC",
|
|
@@ -499,6 +562,11 @@ var Astar$2 = {
|
|
|
499
562
|
symbol: "TST",
|
|
500
563
|
decimals: 18
|
|
501
564
|
},
|
|
565
|
+
{
|
|
566
|
+
assetId: "4294969281",
|
|
567
|
+
symbol: "USDC",
|
|
568
|
+
decimals: 6
|
|
569
|
+
},
|
|
502
570
|
{
|
|
503
571
|
assetId: "1326",
|
|
504
572
|
symbol: "aASTR",
|
|
@@ -549,9 +617,14 @@ var Astar$2 = {
|
|
|
549
617
|
symbol: "HDX",
|
|
550
618
|
decimals: 12
|
|
551
619
|
},
|
|
620
|
+
{
|
|
621
|
+
assetId: "18446744073709551632",
|
|
622
|
+
symbol: "vASTR",
|
|
623
|
+
decimals: 18
|
|
624
|
+
},
|
|
552
625
|
{
|
|
553
626
|
assetId: "18446744073709551617",
|
|
554
|
-
symbol: "
|
|
627
|
+
symbol: "aSEED",
|
|
555
628
|
decimals: 12
|
|
556
629
|
},
|
|
557
630
|
{
|
|
@@ -685,6 +758,11 @@ var Centrifuge$2 = {
|
|
|
685
758
|
}
|
|
686
759
|
],
|
|
687
760
|
otherAssets: [
|
|
761
|
+
{
|
|
762
|
+
assetId: "100003",
|
|
763
|
+
symbol: "LpArbUSDC",
|
|
764
|
+
decimals: 6
|
|
765
|
+
},
|
|
688
766
|
{
|
|
689
767
|
assetId: "3",
|
|
690
768
|
symbol: "aUSD",
|
|
@@ -695,25 +773,50 @@ var Centrifuge$2 = {
|
|
|
695
773
|
symbol: "DOT",
|
|
696
774
|
decimals: 10
|
|
697
775
|
},
|
|
776
|
+
{
|
|
777
|
+
assetId: "6",
|
|
778
|
+
symbol: "USDC",
|
|
779
|
+
decimals: 6
|
|
780
|
+
},
|
|
698
781
|
{
|
|
699
782
|
assetId: "N",
|
|
700
783
|
symbol: "CFG",
|
|
701
784
|
decimals: 18
|
|
702
785
|
},
|
|
786
|
+
{
|
|
787
|
+
assetId: "100002",
|
|
788
|
+
symbol: "LpBaseUSDC",
|
|
789
|
+
decimals: 6
|
|
790
|
+
},
|
|
703
791
|
{
|
|
704
792
|
assetId: "1",
|
|
705
793
|
symbol: "USDT",
|
|
706
794
|
decimals: 6
|
|
707
795
|
},
|
|
796
|
+
{
|
|
797
|
+
assetId: "100001",
|
|
798
|
+
symbol: "LpEthUSDC",
|
|
799
|
+
decimals: 6
|
|
800
|
+
},
|
|
708
801
|
{
|
|
709
802
|
assetId: "4",
|
|
710
803
|
symbol: "GLMR",
|
|
711
804
|
decimals: 18
|
|
712
805
|
},
|
|
806
|
+
{
|
|
807
|
+
assetId: "100004",
|
|
808
|
+
symbol: "LpCeloUSDC",
|
|
809
|
+
decimals: 6
|
|
810
|
+
},
|
|
713
811
|
{
|
|
714
812
|
assetId: "2",
|
|
715
813
|
symbol: "xcUSDC",
|
|
716
814
|
decimals: 6
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
assetId: "4139607887",
|
|
818
|
+
symbol: "ALTF1",
|
|
819
|
+
decimals: 6
|
|
717
820
|
}
|
|
718
821
|
]
|
|
719
822
|
};
|
|
@@ -750,53 +853,88 @@ var ComposableFinance$2 = {
|
|
|
750
853
|
],
|
|
751
854
|
otherAssets: [
|
|
752
855
|
{
|
|
753
|
-
assetId: "
|
|
856
|
+
assetId: "79228162514264337593543950466",
|
|
754
857
|
symbol: "USDT",
|
|
755
858
|
decimals: 6
|
|
756
859
|
},
|
|
757
860
|
{
|
|
758
|
-
assetId: "
|
|
759
|
-
symbol: "
|
|
760
|
-
decimals:
|
|
861
|
+
assetId: "79228162514264337593543950370",
|
|
862
|
+
symbol: "vDOT",
|
|
863
|
+
decimals: 10
|
|
761
864
|
},
|
|
762
865
|
{
|
|
763
|
-
assetId: "
|
|
764
|
-
symbol: "
|
|
765
|
-
decimals:
|
|
866
|
+
assetId: "79228162514264337593543952342",
|
|
867
|
+
symbol: "ASTR",
|
|
868
|
+
decimals: 18
|
|
766
869
|
},
|
|
767
870
|
{
|
|
768
|
-
assetId: "
|
|
769
|
-
symbol: "
|
|
770
|
-
decimals:
|
|
871
|
+
assetId: "79228162514264337593543950346",
|
|
872
|
+
symbol: "stATOM",
|
|
873
|
+
decimals: 6
|
|
771
874
|
},
|
|
772
875
|
{
|
|
773
|
-
assetId: "
|
|
774
|
-
symbol: "
|
|
876
|
+
assetId: "79228162514264337593543950343",
|
|
877
|
+
symbol: "ATOM",
|
|
878
|
+
decimals: 6
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
assetId: "79228162514264337593543952343",
|
|
882
|
+
symbol: "SDN",
|
|
775
883
|
decimals: 18
|
|
776
884
|
},
|
|
777
885
|
{
|
|
778
|
-
assetId: "
|
|
886
|
+
assetId: "79228162514264337593543950367",
|
|
887
|
+
symbol: "BNC Kusama",
|
|
888
|
+
decimals: 12
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
assetId: "79228162514264337593543950338",
|
|
779
892
|
symbol: "LAYR",
|
|
780
893
|
decimals: 12
|
|
781
894
|
},
|
|
782
895
|
{
|
|
783
|
-
assetId: "
|
|
896
|
+
assetId: "79228162514264337593543952347",
|
|
784
897
|
symbol: "EQ",
|
|
785
898
|
decimals: 9
|
|
786
899
|
},
|
|
787
900
|
{
|
|
788
|
-
assetId: "
|
|
901
|
+
assetId: "79228162514264337593543950340",
|
|
902
|
+
symbol: "KSM",
|
|
903
|
+
decimals: 12
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
assetId: "79228162514264337593543950344",
|
|
907
|
+
symbol: "OSMO",
|
|
908
|
+
decimals: 6
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
assetId: "79228162514264337593543950463",
|
|
912
|
+
symbol: "EQD",
|
|
913
|
+
decimals: 9
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
assetId: "79228162514264337593543950352",
|
|
917
|
+
symbol: "SILK",
|
|
918
|
+
decimals: 6
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
assetId: "79228162514264337593543950368",
|
|
922
|
+
symbol: "vKSM",
|
|
923
|
+
decimals: 12
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
assetId: "79228162514264337593543950342",
|
|
789
927
|
symbol: "DOT",
|
|
790
928
|
decimals: 10
|
|
791
929
|
},
|
|
792
930
|
{
|
|
793
|
-
assetId: "
|
|
794
|
-
symbol: "
|
|
931
|
+
assetId: "79228162514264337593543950337",
|
|
932
|
+
symbol: "PICA",
|
|
795
933
|
decimals: 12
|
|
796
934
|
},
|
|
797
935
|
{
|
|
798
|
-
assetId: "
|
|
799
|
-
symbol: "
|
|
936
|
+
assetId: "79228162514264337593543950369",
|
|
937
|
+
symbol: "BNC Polkadot",
|
|
800
938
|
decimals: 10
|
|
801
939
|
}
|
|
802
940
|
]
|
|
@@ -828,6 +966,11 @@ var HydraDX$2 = {
|
|
|
828
966
|
symbol: "USDC",
|
|
829
967
|
decimals: 6
|
|
830
968
|
},
|
|
969
|
+
{
|
|
970
|
+
assetId: "20",
|
|
971
|
+
symbol: "WETH",
|
|
972
|
+
decimals: 18
|
|
973
|
+
},
|
|
831
974
|
{
|
|
832
975
|
assetId: "13",
|
|
833
976
|
symbol: "CFG",
|
|
@@ -848,6 +991,11 @@ var HydraDX$2 = {
|
|
|
848
991
|
symbol: "LRNA",
|
|
849
992
|
decimals: 12
|
|
850
993
|
},
|
|
994
|
+
{
|
|
995
|
+
assetId: "19",
|
|
996
|
+
symbol: "WBTC",
|
|
997
|
+
decimals: 8
|
|
998
|
+
},
|
|
851
999
|
{
|
|
852
1000
|
assetId: "9",
|
|
853
1001
|
symbol: "ASTR",
|
|
@@ -863,11 +1011,21 @@ var HydraDX$2 = {
|
|
|
863
1011
|
symbol: "BNC",
|
|
864
1012
|
decimals: 12
|
|
865
1013
|
},
|
|
1014
|
+
{
|
|
1015
|
+
assetId: "21",
|
|
1016
|
+
symbol: "USDC",
|
|
1017
|
+
decimals: 6
|
|
1018
|
+
},
|
|
866
1019
|
{
|
|
867
1020
|
assetId: "15",
|
|
868
1021
|
symbol: "vDOT",
|
|
869
1022
|
decimals: 10
|
|
870
1023
|
},
|
|
1024
|
+
{
|
|
1025
|
+
assetId: "22",
|
|
1026
|
+
symbol: "USDC",
|
|
1027
|
+
decimals: 6
|
|
1028
|
+
},
|
|
871
1029
|
{
|
|
872
1030
|
assetId: "2",
|
|
873
1031
|
symbol: "DAI",
|
|
@@ -903,6 +1061,16 @@ var HydraDX$2 = {
|
|
|
903
1061
|
symbol: "INTR",
|
|
904
1062
|
decimals: 10
|
|
905
1063
|
},
|
|
1064
|
+
{
|
|
1065
|
+
assetId: "18",
|
|
1066
|
+
symbol: "DAI",
|
|
1067
|
+
decimals: 18
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
assetId: "23",
|
|
1071
|
+
symbol: "USDT",
|
|
1072
|
+
decimals: 6
|
|
1073
|
+
},
|
|
906
1074
|
{
|
|
907
1075
|
assetId: "4",
|
|
908
1076
|
symbol: "WETH",
|
|
@@ -945,15 +1113,60 @@ var Interlay$2 = {
|
|
|
945
1113
|
}
|
|
946
1114
|
],
|
|
947
1115
|
otherAssets: [
|
|
1116
|
+
{
|
|
1117
|
+
assetId: "7",
|
|
1118
|
+
symbol: "WBNB.wh",
|
|
1119
|
+
decimals: 18
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
assetId: "5",
|
|
1123
|
+
symbol: "TBTC.wh",
|
|
1124
|
+
decimals: 18
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
assetId: "8",
|
|
1128
|
+
symbol: "USDC.wh",
|
|
1129
|
+
decimals: 6
|
|
1130
|
+
},
|
|
948
1131
|
{
|
|
949
1132
|
assetId: "1",
|
|
950
1133
|
symbol: "LDOT",
|
|
951
1134
|
decimals: 10
|
|
952
1135
|
},
|
|
1136
|
+
{
|
|
1137
|
+
assetId: "9",
|
|
1138
|
+
symbol: "WBTC.wh",
|
|
1139
|
+
decimals: 8
|
|
1140
|
+
},
|
|
953
1141
|
{
|
|
954
1142
|
assetId: "2",
|
|
955
1143
|
symbol: "USDT",
|
|
956
1144
|
decimals: 6
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
assetId: "10",
|
|
1148
|
+
symbol: "GLMR",
|
|
1149
|
+
decimals: 18
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
assetId: "6",
|
|
1153
|
+
symbol: "WETH.wh",
|
|
1154
|
+
decimals: 18
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
assetId: "11",
|
|
1158
|
+
symbol: "BNC",
|
|
1159
|
+
decimals: 12
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
assetId: "3",
|
|
1163
|
+
symbol: "VDOT",
|
|
1164
|
+
decimals: 10
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
assetId: "4",
|
|
1168
|
+
symbol: "DAI.wh",
|
|
1169
|
+
decimals: 18
|
|
957
1170
|
}
|
|
958
1171
|
]
|
|
959
1172
|
};
|
|
@@ -996,6 +1209,16 @@ var Moonbeam$2 = {
|
|
|
996
1209
|
}
|
|
997
1210
|
],
|
|
998
1211
|
otherAssets: [
|
|
1212
|
+
{
|
|
1213
|
+
assetId: "150874409661081770150564009349448205842",
|
|
1214
|
+
symbol: "ZTG",
|
|
1215
|
+
decimals: 10
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
assetId: "144012926827374458669278577633504620722",
|
|
1219
|
+
symbol: "FIL",
|
|
1220
|
+
decimals: 18
|
|
1221
|
+
},
|
|
999
1222
|
{
|
|
1000
1223
|
assetId: "125699734534028342599692732320197985871",
|
|
1001
1224
|
symbol: "RING",
|
|
@@ -1021,11 +1244,31 @@ var Moonbeam$2 = {
|
|
|
1021
1244
|
symbol: "EQ",
|
|
1022
1245
|
decimals: 9
|
|
1023
1246
|
},
|
|
1247
|
+
{
|
|
1248
|
+
assetId: "29085784439601774464560083082574142143",
|
|
1249
|
+
symbol: "vDOT",
|
|
1250
|
+
decimals: 10
|
|
1251
|
+
},
|
|
1024
1252
|
{
|
|
1025
1253
|
assetId: "224077081838586484055667086558292981199",
|
|
1026
1254
|
symbol: "ASTR",
|
|
1027
1255
|
decimals: 18
|
|
1028
1256
|
},
|
|
1257
|
+
{
|
|
1258
|
+
assetId: "166377000701797186346254371275954761085",
|
|
1259
|
+
symbol: "USDC",
|
|
1260
|
+
decimals: 6
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
assetId: "89994634370519791027168048838578580624",
|
|
1264
|
+
symbol: "SUB",
|
|
1265
|
+
decimals: 10
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
assetId: "204507659831918931608354793288110796652",
|
|
1269
|
+
symbol: "vGLMR",
|
|
1270
|
+
decimals: 18
|
|
1271
|
+
},
|
|
1029
1272
|
{
|
|
1030
1273
|
assetId: "110021739665376159354538090254163045594",
|
|
1031
1274
|
symbol: "aUSD",
|
|
@@ -1076,6 +1319,16 @@ var Moonbeam$2 = {
|
|
|
1076
1319
|
symbol: "ACA",
|
|
1077
1320
|
decimals: 12
|
|
1078
1321
|
},
|
|
1322
|
+
{
|
|
1323
|
+
assetId: "272547899416482196831721420898811311297",
|
|
1324
|
+
symbol: "vFIL",
|
|
1325
|
+
decimals: 18
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
assetId: "238111524681612888331172110363070489924",
|
|
1329
|
+
symbol: "OTP",
|
|
1330
|
+
decimals: 12
|
|
1331
|
+
},
|
|
1079
1332
|
{
|
|
1080
1333
|
assetId: "132685552157663328694213725410064821485",
|
|
1081
1334
|
symbol: "PHA",
|
|
@@ -1275,7 +1528,7 @@ var Parallel$2 = {
|
|
|
1275
1528
|
}
|
|
1276
1529
|
]
|
|
1277
1530
|
};
|
|
1278
|
-
var
|
|
1531
|
+
var AssetHubPolkadot$2 = {
|
|
1279
1532
|
paraId: 1000,
|
|
1280
1533
|
relayChainAssetSymbol: "DOT",
|
|
1281
1534
|
nativeAssets: [
|
|
@@ -1300,6 +1553,11 @@ var Statemint$2 = {
|
|
|
1300
1553
|
symbol: "BEAST",
|
|
1301
1554
|
decimals: 8
|
|
1302
1555
|
},
|
|
1556
|
+
{
|
|
1557
|
+
assetId: "256",
|
|
1558
|
+
symbol: "ICE",
|
|
1559
|
+
decimals: 20
|
|
1560
|
+
},
|
|
1303
1561
|
{
|
|
1304
1562
|
assetId: "4",
|
|
1305
1563
|
symbol: "EFI",
|
|
@@ -1355,6 +1613,11 @@ var Statemint$2 = {
|
|
|
1355
1613
|
symbol: "VSC",
|
|
1356
1614
|
decimals: 9
|
|
1357
1615
|
},
|
|
1616
|
+
{
|
|
1617
|
+
assetId: "19760401",
|
|
1618
|
+
symbol: "APPL",
|
|
1619
|
+
decimals: 0
|
|
1620
|
+
},
|
|
1358
1621
|
{
|
|
1359
1622
|
assetId: "5",
|
|
1360
1623
|
symbol: "PLX",
|
|
@@ -1367,7 +1630,7 @@ var Statemint$2 = {
|
|
|
1367
1630
|
},
|
|
1368
1631
|
{
|
|
1369
1632
|
assetId: "1984",
|
|
1370
|
-
symbol: "
|
|
1633
|
+
symbol: "USDt",
|
|
1371
1634
|
decimals: 6
|
|
1372
1635
|
},
|
|
1373
1636
|
{
|
|
@@ -1390,6 +1653,11 @@ var Statemint$2 = {
|
|
|
1390
1653
|
symbol: "BRZ",
|
|
1391
1654
|
decimals: 6
|
|
1392
1655
|
},
|
|
1656
|
+
{
|
|
1657
|
+
assetId: "19120101",
|
|
1658
|
+
symbol: "NTDC",
|
|
1659
|
+
decimals: 0
|
|
1660
|
+
},
|
|
1393
1661
|
{
|
|
1394
1662
|
assetId: "1",
|
|
1395
1663
|
symbol: "no1",
|
|
@@ -1745,18 +2013,6 @@ var CrustShadow$2 = {
|
|
|
1745
2013
|
}
|
|
1746
2014
|
]
|
|
1747
2015
|
};
|
|
1748
|
-
var Dorafactory$2 = {
|
|
1749
|
-
paraId: 2115,
|
|
1750
|
-
relayChainAssetSymbol: "KSM",
|
|
1751
|
-
nativeAssets: [
|
|
1752
|
-
{
|
|
1753
|
-
symbol: "DORA",
|
|
1754
|
-
decimals: 12
|
|
1755
|
-
}
|
|
1756
|
-
],
|
|
1757
|
-
otherAssets: [
|
|
1758
|
-
]
|
|
1759
|
-
};
|
|
1760
2016
|
var Encointer$2 = {
|
|
1761
2017
|
paraId: 1001,
|
|
1762
2018
|
relayChainAssetSymbol: "KSM",
|
|
@@ -1805,88 +2061,16 @@ var InvArchTinker$2 = {
|
|
|
1805
2061
|
otherAssets: [
|
|
1806
2062
|
]
|
|
1807
2063
|
};
|
|
1808
|
-
var
|
|
1809
|
-
paraId:
|
|
2064
|
+
var Karura$2 = {
|
|
2065
|
+
paraId: 2000,
|
|
1810
2066
|
relayChainAssetSymbol: "KSM",
|
|
1811
2067
|
nativeAssets: [
|
|
1812
2068
|
{
|
|
1813
|
-
symbol: "
|
|
1814
|
-
decimals:
|
|
1815
|
-
}
|
|
1816
|
-
],
|
|
1817
|
-
otherAssets: [
|
|
2069
|
+
symbol: "LKSM",
|
|
2070
|
+
decimals: 12
|
|
2071
|
+
},
|
|
1818
2072
|
{
|
|
1819
|
-
|
|
1820
|
-
symbol: "KSM",
|
|
1821
|
-
decimals: 12
|
|
1822
|
-
},
|
|
1823
|
-
{
|
|
1824
|
-
assetId: "0",
|
|
1825
|
-
symbol: "KICO",
|
|
1826
|
-
decimals: 14
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
assetId: "10",
|
|
1830
|
-
symbol: "aUSD",
|
|
1831
|
-
decimals: 12
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
assetId: "11",
|
|
1835
|
-
symbol: "SOL",
|
|
1836
|
-
decimals: 12
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
assetId: "4000000004",
|
|
1840
|
-
symbol: "aUSD-KSM",
|
|
1841
|
-
decimals: 10
|
|
1842
|
-
},
|
|
1843
|
-
{
|
|
1844
|
-
assetId: "4000000000",
|
|
1845
|
-
symbol: "KICO-aUSD",
|
|
1846
|
-
decimals: 10
|
|
1847
|
-
},
|
|
1848
|
-
{
|
|
1849
|
-
assetId: "4000000001",
|
|
1850
|
-
symbol: "KSM-KICO",
|
|
1851
|
-
decimals: 10
|
|
1852
|
-
},
|
|
1853
|
-
{
|
|
1854
|
-
assetId: "13",
|
|
1855
|
-
symbol: "LIKE",
|
|
1856
|
-
decimals: 12
|
|
1857
|
-
},
|
|
1858
|
-
{
|
|
1859
|
-
assetId: "102",
|
|
1860
|
-
symbol: "KAR",
|
|
1861
|
-
decimals: 12
|
|
1862
|
-
},
|
|
1863
|
-
{
|
|
1864
|
-
assetId: "4000000002",
|
|
1865
|
-
symbol: "KAR-KICO",
|
|
1866
|
-
decimals: 10
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
assetId: "4000000003",
|
|
1870
|
-
symbol: "KAR-aUSD",
|
|
1871
|
-
decimals: 10
|
|
1872
|
-
},
|
|
1873
|
-
{
|
|
1874
|
-
assetId: "12",
|
|
1875
|
-
symbol: "LT",
|
|
1876
|
-
decimals: 12
|
|
1877
|
-
}
|
|
1878
|
-
]
|
|
1879
|
-
};
|
|
1880
|
-
var Karura$2 = {
|
|
1881
|
-
paraId: 2000,
|
|
1882
|
-
relayChainAssetSymbol: "KSM",
|
|
1883
|
-
nativeAssets: [
|
|
1884
|
-
{
|
|
1885
|
-
symbol: "LKSM",
|
|
1886
|
-
decimals: 12
|
|
1887
|
-
},
|
|
1888
|
-
{
|
|
1889
|
-
symbol: "KAR",
|
|
2073
|
+
symbol: "KAR",
|
|
1890
2074
|
decimals: 12
|
|
1891
2075
|
},
|
|
1892
2076
|
{
|
|
@@ -1914,7 +2098,7 @@ var Karura$2 = {
|
|
|
1914
2098
|
decimals: 12
|
|
1915
2099
|
},
|
|
1916
2100
|
{
|
|
1917
|
-
symbol: "
|
|
2101
|
+
symbol: "aSEED",
|
|
1918
2102
|
decimals: 12
|
|
1919
2103
|
},
|
|
1920
2104
|
{
|
|
@@ -2274,6 +2458,11 @@ var Mangata$2 = {
|
|
|
2274
2458
|
symbol: "TKN0x00000000-TKN0x0000001E",
|
|
2275
2459
|
decimals: 18
|
|
2276
2460
|
},
|
|
2461
|
+
{
|
|
2462
|
+
assetId: "44",
|
|
2463
|
+
symbol: "TKN0x0000000B-TKN0x00000007",
|
|
2464
|
+
decimals: 18
|
|
2465
|
+
},
|
|
2277
2466
|
{
|
|
2278
2467
|
assetId: "8",
|
|
2279
2468
|
symbol: "TKN0x00000000-TKN0x00000007",
|
|
@@ -2299,6 +2488,11 @@ var Mangata$2 = {
|
|
|
2299
2488
|
symbol: "TKN0x00000010-TKN0x00000004",
|
|
2300
2489
|
decimals: 18
|
|
2301
2490
|
},
|
|
2491
|
+
{
|
|
2492
|
+
assetId: "45",
|
|
2493
|
+
symbol: "TKN0x0000000B-TKN0x00000007",
|
|
2494
|
+
decimals: 18
|
|
2495
|
+
},
|
|
2302
2496
|
{
|
|
2303
2497
|
assetId: "9",
|
|
2304
2498
|
symbol: "TKN0x00000004-TKN0x00000007",
|
|
@@ -2314,6 +2508,11 @@ var Mangata$2 = {
|
|
|
2314
2508
|
symbol: "BNC",
|
|
2315
2509
|
decimals: 12
|
|
2316
2510
|
},
|
|
2511
|
+
{
|
|
2512
|
+
assetId: "43",
|
|
2513
|
+
symbol: "TKN0x00000000-TKN0x00000027",
|
|
2514
|
+
decimals: 18
|
|
2515
|
+
},
|
|
2317
2516
|
{
|
|
2318
2517
|
assetId: "31",
|
|
2319
2518
|
symbol: "RMRK",
|
|
@@ -2329,6 +2528,11 @@ var Mangata$2 = {
|
|
|
2329
2528
|
symbol: "vKSM",
|
|
2330
2529
|
decimals: 12
|
|
2331
2530
|
},
|
|
2531
|
+
{
|
|
2532
|
+
assetId: "47",
|
|
2533
|
+
symbol: "TKN0x0000001E-TKN0x00000000",
|
|
2534
|
+
decimals: 18
|
|
2535
|
+
},
|
|
2332
2536
|
{
|
|
2333
2537
|
assetId: "24",
|
|
2334
2538
|
symbol: "TKN0x0000000F-TKN0x00000000",
|
|
@@ -2419,10 +2623,20 @@ var Mangata$2 = {
|
|
|
2419
2623
|
symbol: "TKN0x00000000-TKN0x0000000B",
|
|
2420
2624
|
decimals: 18
|
|
2421
2625
|
},
|
|
2626
|
+
{
|
|
2627
|
+
assetId: "42",
|
|
2628
|
+
symbol: "TKN0x00000004-TKN0x0000000E",
|
|
2629
|
+
decimals: 18
|
|
2630
|
+
},
|
|
2422
2631
|
{
|
|
2423
2632
|
assetId: "36",
|
|
2424
2633
|
symbol: "TKN0x00000000-TKN0x0000001E",
|
|
2425
2634
|
decimals: 18
|
|
2635
|
+
},
|
|
2636
|
+
{
|
|
2637
|
+
assetId: "46",
|
|
2638
|
+
symbol: "TKN0x00000000-TKN0x0000002D",
|
|
2639
|
+
decimals: 18
|
|
2426
2640
|
}
|
|
2427
2641
|
]
|
|
2428
2642
|
};
|
|
@@ -2486,9 +2700,19 @@ var Moonriver$2 = {
|
|
|
2486
2700
|
symbol: "PHA",
|
|
2487
2701
|
decimals: 12
|
|
2488
2702
|
},
|
|
2703
|
+
{
|
|
2704
|
+
assetId: "264344629840762281112027368930249420542",
|
|
2705
|
+
symbol: "vKSM",
|
|
2706
|
+
decimals: 12
|
|
2707
|
+
},
|
|
2708
|
+
{
|
|
2709
|
+
assetId: "72145018963825376852137222787619937732",
|
|
2710
|
+
symbol: "vBNC",
|
|
2711
|
+
decimals: 12
|
|
2712
|
+
},
|
|
2489
2713
|
{
|
|
2490
2714
|
assetId: "214920334981412447805621250067209749032",
|
|
2491
|
-
symbol: "
|
|
2715
|
+
symbol: "aSeed",
|
|
2492
2716
|
decimals: 12
|
|
2493
2717
|
},
|
|
2494
2718
|
{
|
|
@@ -2506,6 +2730,11 @@ var Moonriver$2 = {
|
|
|
2506
2730
|
symbol: "MGX",
|
|
2507
2731
|
decimals: 18
|
|
2508
2732
|
},
|
|
2733
|
+
{
|
|
2734
|
+
assetId: "203223821023327994093278529517083736593",
|
|
2735
|
+
symbol: "vMOVR",
|
|
2736
|
+
decimals: 18
|
|
2737
|
+
},
|
|
2509
2738
|
{
|
|
2510
2739
|
assetId: "311091173110107856861649819128533077277",
|
|
2511
2740
|
symbol: "USDT",
|
|
@@ -2701,35 +2930,90 @@ var Picasso$2 = {
|
|
|
2701
2930
|
],
|
|
2702
2931
|
otherAssets: [
|
|
2703
2932
|
{
|
|
2704
|
-
assetId: "
|
|
2933
|
+
assetId: "1088357900348863545348",
|
|
2705
2934
|
symbol: "DOT_KSM_LPT",
|
|
2706
2935
|
decimals: 12
|
|
2707
2936
|
},
|
|
2937
|
+
{
|
|
2938
|
+
assetId: "1088357900348863545357",
|
|
2939
|
+
symbol: "DOT_SCRT_LPT",
|
|
2940
|
+
decimals: 12
|
|
2941
|
+
},
|
|
2942
|
+
{
|
|
2943
|
+
assetId: "1088357900348863545350",
|
|
2944
|
+
symbol: "KSM_OSMO_LPT",
|
|
2945
|
+
decimals: 12
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
assetId: "1088357900348863545359",
|
|
2949
|
+
symbol: "DOT_BLD_LPT",
|
|
2950
|
+
decimals: 12
|
|
2951
|
+
},
|
|
2952
|
+
{
|
|
2953
|
+
assetId: "1088357900348863545360",
|
|
2954
|
+
symbol: "ASTR_SDN_LPT",
|
|
2955
|
+
decimals: 12
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
assetId: "35",
|
|
2959
|
+
symbol: "SEI",
|
|
2960
|
+
decimals: 6
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
assetId: "16",
|
|
2964
|
+
symbol: "SILK",
|
|
2965
|
+
decimals: 6
|
|
2966
|
+
},
|
|
2708
2967
|
{
|
|
2709
2968
|
assetId: "130",
|
|
2710
2969
|
symbol: "USDT",
|
|
2711
2970
|
decimals: 6
|
|
2712
2971
|
},
|
|
2972
|
+
{
|
|
2973
|
+
assetId: "9",
|
|
2974
|
+
symbol: "STRD",
|
|
2975
|
+
decimals: 6
|
|
2976
|
+
},
|
|
2977
|
+
{
|
|
2978
|
+
assetId: "1088357900348863545349",
|
|
2979
|
+
symbol: "DOT_OSMO_LPT",
|
|
2980
|
+
decimals: 12
|
|
2981
|
+
},
|
|
2713
2982
|
{
|
|
2714
2983
|
assetId: "1",
|
|
2715
2984
|
symbol: "PICA",
|
|
2716
2985
|
decimals: 12
|
|
2717
2986
|
},
|
|
2987
|
+
{
|
|
2988
|
+
assetId: "1088357900348863545352",
|
|
2989
|
+
symbol: "DOT_STARS_LPT",
|
|
2990
|
+
decimals: 12
|
|
2991
|
+
},
|
|
2718
2992
|
{
|
|
2719
2993
|
assetId: "31",
|
|
2720
2994
|
symbol: "BNC Kusama",
|
|
2721
2995
|
decimals: 12
|
|
2722
2996
|
},
|
|
2997
|
+
{
|
|
2998
|
+
assetId: "1088357900348863545356",
|
|
2999
|
+
symbol: "DOT_CRE_LPT",
|
|
3000
|
+
decimals: 12
|
|
3001
|
+
},
|
|
2723
3002
|
{
|
|
2724
3003
|
assetId: "2007",
|
|
2725
|
-
symbol: "
|
|
3004
|
+
symbol: "SDn",
|
|
2726
3005
|
decimals: 18
|
|
2727
3006
|
},
|
|
2728
3007
|
{
|
|
2729
|
-
assetId: "
|
|
2730
|
-
symbol: "
|
|
3008
|
+
assetId: "1088357900348863545363",
|
|
3009
|
+
symbol: "DOT_SDN_LPT",
|
|
2731
3010
|
decimals: 12
|
|
2732
3011
|
},
|
|
3012
|
+
{
|
|
3013
|
+
assetId: "18",
|
|
3014
|
+
symbol: "BLD",
|
|
3015
|
+
decimals: 6
|
|
3016
|
+
},
|
|
2733
3017
|
{
|
|
2734
3018
|
assetId: "127",
|
|
2735
3019
|
symbol: "EQD",
|
|
@@ -2751,8 +3035,23 @@ var Picasso$2 = {
|
|
|
2751
3035
|
decimals: 12
|
|
2752
3036
|
},
|
|
2753
3037
|
{
|
|
2754
|
-
assetId: "
|
|
2755
|
-
symbol: "
|
|
3038
|
+
assetId: "1088357900348863545351",
|
|
3039
|
+
symbol: "USDT_OSMO_LPT",
|
|
3040
|
+
decimals: 12
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
assetId: "1088357900348863545347",
|
|
3044
|
+
symbol: "DOT_USDT_LPT",
|
|
3045
|
+
decimals: 12
|
|
3046
|
+
},
|
|
3047
|
+
{
|
|
3048
|
+
assetId: "1088357900348863545354",
|
|
3049
|
+
symbol: "DOT_STATOM_LPT",
|
|
3050
|
+
decimals: 12
|
|
3051
|
+
},
|
|
3052
|
+
{
|
|
3053
|
+
assetId: "1088357900348863545362",
|
|
3054
|
+
symbol: "DOT_ASTR_LPT",
|
|
2756
3055
|
decimals: 12
|
|
2757
3056
|
},
|
|
2758
3057
|
{
|
|
@@ -2760,26 +3059,56 @@ var Picasso$2 = {
|
|
|
2760
3059
|
symbol: "ASTR",
|
|
2761
3060
|
decimals: 18
|
|
2762
3061
|
},
|
|
3062
|
+
{
|
|
3063
|
+
assetId: "10",
|
|
3064
|
+
symbol: "stATOM",
|
|
3065
|
+
decimals: 6
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
assetId: "12",
|
|
3069
|
+
symbol: "NTRN",
|
|
3070
|
+
decimals: 6
|
|
3071
|
+
},
|
|
2763
3072
|
{
|
|
2764
3073
|
assetId: "7",
|
|
2765
3074
|
symbol: "ATOM",
|
|
2766
3075
|
decimals: 6
|
|
2767
3076
|
},
|
|
3077
|
+
{
|
|
3078
|
+
assetId: "17",
|
|
3079
|
+
symbol: "UMEE",
|
|
3080
|
+
decimals: 6
|
|
3081
|
+
},
|
|
2768
3082
|
{
|
|
2769
3083
|
assetId: "2011",
|
|
2770
3084
|
symbol: "EQ",
|
|
2771
3085
|
decimals: 9
|
|
2772
3086
|
},
|
|
2773
3087
|
{
|
|
2774
|
-
assetId: "
|
|
2775
|
-
symbol: "
|
|
2776
|
-
decimals:
|
|
3088
|
+
assetId: "13",
|
|
3089
|
+
symbol: "CRE",
|
|
3090
|
+
decimals: 6
|
|
2777
3091
|
},
|
|
2778
3092
|
{
|
|
2779
3093
|
assetId: "6",
|
|
2780
3094
|
symbol: "DOT",
|
|
2781
3095
|
decimals: 10
|
|
2782
3096
|
},
|
|
3097
|
+
{
|
|
3098
|
+
assetId: "1088357900348863545361",
|
|
3099
|
+
symbol: "vKSM_vDOT_LPT",
|
|
3100
|
+
decimals: 12
|
|
3101
|
+
},
|
|
3102
|
+
{
|
|
3103
|
+
assetId: "1088357900348863545358",
|
|
3104
|
+
symbol: "DOT_UMEE_LPT",
|
|
3105
|
+
decimals: 12
|
|
3106
|
+
},
|
|
3107
|
+
{
|
|
3108
|
+
assetId: "1088357900348863545346",
|
|
3109
|
+
symbol: "DOT_PICA_LPT",
|
|
3110
|
+
decimals: 12
|
|
3111
|
+
},
|
|
2783
3112
|
{
|
|
2784
3113
|
assetId: "4",
|
|
2785
3114
|
symbol: "KSM",
|
|
@@ -2796,8 +3125,8 @@ var Picasso$2 = {
|
|
|
2796
3125
|
decimals: 12
|
|
2797
3126
|
},
|
|
2798
3127
|
{
|
|
2799
|
-
assetId: "
|
|
2800
|
-
symbol: "
|
|
3128
|
+
assetId: "1088357900348863545364",
|
|
3129
|
+
symbol: "DOT_vKSM_LPT",
|
|
2801
3130
|
decimals: 12
|
|
2802
3131
|
},
|
|
2803
3132
|
{
|
|
@@ -2805,6 +3134,16 @@ var Picasso$2 = {
|
|
|
2805
3134
|
symbol: "vKSM",
|
|
2806
3135
|
decimals: 12
|
|
2807
3136
|
},
|
|
3137
|
+
{
|
|
3138
|
+
assetId: "15",
|
|
3139
|
+
symbol: "SCRT",
|
|
3140
|
+
decimals: 6
|
|
3141
|
+
},
|
|
3142
|
+
{
|
|
3143
|
+
assetId: "1088357900348863545355",
|
|
3144
|
+
symbol: "DOT_NTRN_LPT",
|
|
3145
|
+
decimals: 12
|
|
3146
|
+
},
|
|
2808
3147
|
{
|
|
2809
3148
|
assetId: "2125",
|
|
2810
3149
|
symbol: "TNKR",
|
|
@@ -2816,8 +3155,18 @@ var Picasso$2 = {
|
|
|
2816
3155
|
decimals: 12
|
|
2817
3156
|
},
|
|
2818
3157
|
{
|
|
2819
|
-
assetId: "
|
|
2820
|
-
symbol: "
|
|
3158
|
+
assetId: "11",
|
|
3159
|
+
symbol: "STARS",
|
|
3160
|
+
decimals: 6
|
|
3161
|
+
},
|
|
3162
|
+
{
|
|
3163
|
+
assetId: "14",
|
|
3164
|
+
symbol: "bCRE",
|
|
3165
|
+
decimals: 6
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
assetId: "1088357900348863545353",
|
|
3169
|
+
symbol: "DOT_ATOM_LPT",
|
|
2821
3170
|
decimals: 12
|
|
2822
3171
|
},
|
|
2823
3172
|
{
|
|
@@ -2825,6 +3174,11 @@ var Picasso$2 = {
|
|
|
2825
3174
|
symbol: "HUAHUA",
|
|
2826
3175
|
decimals: 6
|
|
2827
3176
|
},
|
|
3177
|
+
{
|
|
3178
|
+
assetId: "1088357900348863545365",
|
|
3179
|
+
symbol: "DOT_vDOT_LPT",
|
|
3180
|
+
decimals: 12
|
|
3181
|
+
},
|
|
2828
3182
|
{
|
|
2829
3183
|
assetId: "107",
|
|
2830
3184
|
symbol: "PICA_KSM_LPT",
|
|
@@ -2832,18 +3186,6 @@ var Picasso$2 = {
|
|
|
2832
3186
|
}
|
|
2833
3187
|
]
|
|
2834
3188
|
};
|
|
2835
|
-
var Pichiu$2 = {
|
|
2836
|
-
paraId: 2102,
|
|
2837
|
-
relayChainAssetSymbol: "KSM",
|
|
2838
|
-
nativeAssets: [
|
|
2839
|
-
{
|
|
2840
|
-
symbol: "PCHU",
|
|
2841
|
-
decimals: 18
|
|
2842
|
-
}
|
|
2843
|
-
],
|
|
2844
|
-
otherAssets: [
|
|
2845
|
-
]
|
|
2846
|
-
};
|
|
2847
3189
|
var Pioneer$2 = {
|
|
2848
3190
|
paraId: 2096,
|
|
2849
3191
|
relayChainAssetSymbol: "KSM",
|
|
@@ -2982,7 +3324,7 @@ var Shiden$2 = {
|
|
|
2982
3324
|
},
|
|
2983
3325
|
{
|
|
2984
3326
|
assetId: "18446744073709551616",
|
|
2985
|
-
symbol: "
|
|
3327
|
+
symbol: "aSEED",
|
|
2986
3328
|
decimals: 12
|
|
2987
3329
|
},
|
|
2988
3330
|
{
|
|
@@ -3042,7 +3384,7 @@ var Shiden$2 = {
|
|
|
3042
3384
|
}
|
|
3043
3385
|
]
|
|
3044
3386
|
};
|
|
3045
|
-
var
|
|
3387
|
+
var AssetHubKusama$2 = {
|
|
3046
3388
|
paraId: 1000,
|
|
3047
3389
|
relayChainAssetSymbol: "KSM",
|
|
3048
3390
|
nativeAssets: [
|
|
@@ -3067,6 +3409,11 @@ var Statemine$2 = {
|
|
|
3067
3409
|
symbol: "Chralt",
|
|
3068
3410
|
decimals: 0
|
|
3069
3411
|
},
|
|
3412
|
+
{
|
|
3413
|
+
assetId: "200",
|
|
3414
|
+
symbol: "SIX",
|
|
3415
|
+
decimals: 5
|
|
3416
|
+
},
|
|
3070
3417
|
{
|
|
3071
3418
|
assetId: "123",
|
|
3072
3419
|
symbol: "NFT",
|
|
@@ -3237,6 +3584,11 @@ var Statemine$2 = {
|
|
|
3237
3584
|
symbol: "ARIS",
|
|
3238
3585
|
decimals: 8
|
|
3239
3586
|
},
|
|
3587
|
+
{
|
|
3588
|
+
assetId: "11",
|
|
3589
|
+
symbol: "USDT",
|
|
3590
|
+
decimals: 4
|
|
3591
|
+
},
|
|
3240
3592
|
{
|
|
3241
3593
|
assetId: "224",
|
|
3242
3594
|
symbol: "SIK",
|
|
@@ -3342,6 +3694,11 @@ var Statemine$2 = {
|
|
|
3342
3694
|
symbol: "ki",
|
|
3343
3695
|
decimals: 18
|
|
3344
3696
|
},
|
|
3697
|
+
{
|
|
3698
|
+
assetId: "5797867",
|
|
3699
|
+
symbol: "TAKE",
|
|
3700
|
+
decimals: 0
|
|
3701
|
+
},
|
|
3345
3702
|
{
|
|
3346
3703
|
assetId: "33",
|
|
3347
3704
|
symbol: "BUSSY",
|
|
@@ -3524,7 +3881,7 @@ var Statemine$2 = {
|
|
|
3524
3881
|
},
|
|
3525
3882
|
{
|
|
3526
3883
|
assetId: "1984",
|
|
3527
|
-
symbol: "
|
|
3884
|
+
symbol: "USDt",
|
|
3528
3885
|
decimals: 6
|
|
3529
3886
|
},
|
|
3530
3887
|
{
|
|
@@ -3583,9 +3940,9 @@ var Statemine$2 = {
|
|
|
3583
3940
|
decimals: 1
|
|
3584
3941
|
},
|
|
3585
3942
|
{
|
|
3586
|
-
assetId: "
|
|
3587
|
-
symbol: "
|
|
3588
|
-
decimals:
|
|
3943
|
+
assetId: "3000",
|
|
3944
|
+
symbol: "GRAIN",
|
|
3945
|
+
decimals: 8
|
|
3589
3946
|
},
|
|
3590
3947
|
{
|
|
3591
3948
|
assetId: "8",
|
|
@@ -3602,6 +3959,11 @@ var Statemine$2 = {
|
|
|
3602
3959
|
symbol: "YAYOI",
|
|
3603
3960
|
decimals: 10
|
|
3604
3961
|
},
|
|
3962
|
+
{
|
|
3963
|
+
assetId: "569",
|
|
3964
|
+
symbol: "KUSA",
|
|
3965
|
+
decimals: 2
|
|
3966
|
+
},
|
|
3605
3967
|
{
|
|
3606
3968
|
assetId: "5201314",
|
|
3607
3969
|
symbol: "belove",
|
|
@@ -3627,11 +3989,6 @@ var Statemine$2 = {
|
|
|
3627
3989
|
symbol: "HYDR",
|
|
3628
3990
|
decimals: 10
|
|
3629
3991
|
},
|
|
3630
|
-
{
|
|
3631
|
-
assetId: "7373",
|
|
3632
|
-
symbol: "PEPE",
|
|
3633
|
-
decimals: 18
|
|
3634
|
-
},
|
|
3635
3992
|
{
|
|
3636
3993
|
assetId: "1000",
|
|
3637
3994
|
symbol: "SPARK",
|
|
@@ -3652,6 +4009,11 @@ var Statemine$2 = {
|
|
|
3652
4009
|
symbol: "FRALEY",
|
|
3653
4010
|
decimals: 10
|
|
3654
4011
|
},
|
|
4012
|
+
{
|
|
4013
|
+
assetId: "3001",
|
|
4014
|
+
symbol: "DUCK",
|
|
4015
|
+
decimals: 6
|
|
4016
|
+
},
|
|
3655
4017
|
{
|
|
3656
4018
|
assetId: "1",
|
|
3657
4019
|
symbol: "L T",
|
|
@@ -3727,6 +4089,11 @@ var Statemine$2 = {
|
|
|
3727
4089
|
symbol: "KOJO",
|
|
3728
4090
|
decimals: 3
|
|
3729
4091
|
},
|
|
4092
|
+
{
|
|
4093
|
+
assetId: "19840",
|
|
4094
|
+
symbol: "USDt",
|
|
4095
|
+
decimals: 3
|
|
4096
|
+
},
|
|
3730
4097
|
{
|
|
3731
4098
|
assetId: "37",
|
|
3732
4099
|
symbol: "MNCH",
|
|
@@ -3876,7 +4243,7 @@ var Equilibrium$2 = {
|
|
|
3876
4243
|
relayChainAssetSymbol: "DOT",
|
|
3877
4244
|
nativeAssets: [
|
|
3878
4245
|
{
|
|
3879
|
-
symbol: "
|
|
4246
|
+
symbol: "TOKEN",
|
|
3880
4247
|
decimals: 9
|
|
3881
4248
|
}
|
|
3882
4249
|
],
|
|
@@ -3912,46 +4279,304 @@ var Crust$2 = {
|
|
|
3912
4279
|
}
|
|
3913
4280
|
]
|
|
3914
4281
|
};
|
|
3915
|
-
var
|
|
3916
|
-
paraId:
|
|
4282
|
+
var Manta$2 = {
|
|
4283
|
+
paraId: 2104,
|
|
3917
4284
|
relayChainAssetSymbol: "DOT",
|
|
3918
4285
|
nativeAssets: [
|
|
3919
4286
|
{
|
|
3920
|
-
symbol: "
|
|
4287
|
+
symbol: "MANTA",
|
|
3921
4288
|
decimals: 18
|
|
3922
4289
|
}
|
|
3923
4290
|
],
|
|
3924
4291
|
otherAssets: [
|
|
3925
|
-
]
|
|
3926
|
-
};
|
|
3927
|
-
var Ipci$2 = {
|
|
3928
|
-
paraId: 2222,
|
|
3929
|
-
relayChainAssetSymbol: "KSM",
|
|
3930
|
-
nativeAssets: [
|
|
3931
4292
|
{
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
4293
|
+
assetId: "21",
|
|
4294
|
+
symbol: "BUSD.aca.eth",
|
|
4295
|
+
decimals: 18
|
|
4296
|
+
},
|
|
4297
|
+
{
|
|
4298
|
+
assetId: "26",
|
|
4299
|
+
symbol: "WBTC.aca.eth",
|
|
4300
|
+
decimals: 8
|
|
4301
|
+
},
|
|
4302
|
+
{
|
|
4303
|
+
assetId: "35",
|
|
4304
|
+
symbol: "WBNB.MRL.BSC",
|
|
4305
|
+
decimals: 18
|
|
4306
|
+
},
|
|
4307
|
+
{
|
|
4308
|
+
assetId: "16",
|
|
4309
|
+
symbol: "SHIB",
|
|
4310
|
+
decimals: 18
|
|
4311
|
+
},
|
|
4312
|
+
{
|
|
4313
|
+
assetId: "29",
|
|
4314
|
+
symbol: "WBNB",
|
|
4315
|
+
decimals: 18
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
assetId: "23",
|
|
4319
|
+
symbol: "DAI.aca.eth",
|
|
4320
|
+
decimals: 18
|
|
4321
|
+
},
|
|
4322
|
+
{
|
|
4323
|
+
assetId: "9",
|
|
4324
|
+
symbol: "USDT",
|
|
4325
|
+
decimals: 6
|
|
4326
|
+
},
|
|
4327
|
+
{
|
|
4328
|
+
assetId: "31",
|
|
4329
|
+
symbol: "DAI.MRL.ETH",
|
|
4330
|
+
decimals: 18
|
|
4331
|
+
},
|
|
4332
|
+
{
|
|
4333
|
+
assetId: "18",
|
|
4334
|
+
symbol: "LINK",
|
|
4335
|
+
decimals: 18
|
|
4336
|
+
},
|
|
4337
|
+
{
|
|
4338
|
+
assetId: "20",
|
|
4339
|
+
symbol: "ARB.aca.eth",
|
|
4340
|
+
decimals: 18
|
|
4341
|
+
},
|
|
4342
|
+
{
|
|
4343
|
+
assetId: "8",
|
|
4344
|
+
symbol: "DOT",
|
|
4345
|
+
decimals: 10
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
assetId: "30",
|
|
4349
|
+
symbol: "BNC",
|
|
4350
|
+
decimals: 12
|
|
4351
|
+
},
|
|
4352
|
+
{
|
|
4353
|
+
assetId: "33",
|
|
4354
|
+
symbol: "USDC.MRL.ETH",
|
|
4355
|
+
decimals: 6
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
assetId: "10",
|
|
4359
|
+
symbol: "GLMR",
|
|
4360
|
+
decimals: 18
|
|
4361
|
+
},
|
|
4362
|
+
{
|
|
4363
|
+
assetId: "12",
|
|
4364
|
+
symbol: "LDOT",
|
|
4365
|
+
decimals: 10
|
|
4366
|
+
},
|
|
4367
|
+
{
|
|
4368
|
+
assetId: "17",
|
|
4369
|
+
symbol: "UNI",
|
|
4370
|
+
decimals: 18
|
|
4371
|
+
},
|
|
4372
|
+
{
|
|
4373
|
+
assetId: "25",
|
|
4374
|
+
symbol: "MATIC.aca.poly",
|
|
4375
|
+
decimals: 18
|
|
4376
|
+
},
|
|
4377
|
+
{
|
|
4378
|
+
assetId: "13",
|
|
4379
|
+
symbol: "ARB.aca.arb",
|
|
4380
|
+
decimals: 18
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
assetId: "22",
|
|
4384
|
+
symbol: "USDT.aca.eth",
|
|
4385
|
+
decimals: 6
|
|
4386
|
+
},
|
|
4387
|
+
{
|
|
4388
|
+
assetId: "28",
|
|
4389
|
+
symbol: "MATIC.aca.eth",
|
|
4390
|
+
decimals: 18
|
|
4391
|
+
},
|
|
4392
|
+
{
|
|
4393
|
+
assetId: "34",
|
|
4394
|
+
symbol: "TBTC.MRL.ETH",
|
|
4395
|
+
decimals: 18
|
|
4396
|
+
},
|
|
4397
|
+
{
|
|
4398
|
+
assetId: "24",
|
|
4399
|
+
symbol: "USDC.aca.eth",
|
|
4400
|
+
decimals: 6
|
|
4401
|
+
},
|
|
4402
|
+
{
|
|
4403
|
+
assetId: "19",
|
|
4404
|
+
symbol: "APE",
|
|
4405
|
+
decimals: 18
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
assetId: "32",
|
|
4409
|
+
symbol: "WETH.MRL.ETH",
|
|
4410
|
+
decimals: 18
|
|
4411
|
+
},
|
|
4412
|
+
{
|
|
4413
|
+
assetId: "27",
|
|
4414
|
+
symbol: "WETH.aca.eth",
|
|
4415
|
+
decimals: 18
|
|
4416
|
+
},
|
|
4417
|
+
{
|
|
4418
|
+
assetId: "15",
|
|
4419
|
+
symbol: "LDO",
|
|
4420
|
+
decimals: 18
|
|
4421
|
+
},
|
|
4422
|
+
{
|
|
4423
|
+
assetId: "11",
|
|
4424
|
+
symbol: "ACA",
|
|
4425
|
+
decimals: 12
|
|
4426
|
+
},
|
|
4427
|
+
{
|
|
4428
|
+
assetId: "14",
|
|
4429
|
+
symbol: "BUSD.aca.bsc",
|
|
4430
|
+
decimals: 18
|
|
4431
|
+
}
|
|
4432
|
+
]
|
|
4433
|
+
};
|
|
4434
|
+
var Genshiro$2 = {
|
|
4435
|
+
paraId: 2024,
|
|
4436
|
+
relayChainAssetSymbol: "KSM",
|
|
4437
|
+
nativeAssets: [
|
|
4438
|
+
{
|
|
4439
|
+
symbol: "Unknown",
|
|
4440
|
+
decimals: 9
|
|
4441
|
+
},
|
|
4442
|
+
{
|
|
4443
|
+
symbol: "EQD",
|
|
4444
|
+
decimals: 9
|
|
4445
|
+
},
|
|
4446
|
+
{
|
|
4447
|
+
symbol: "GENS",
|
|
4448
|
+
decimals: 9
|
|
4449
|
+
},
|
|
4450
|
+
{
|
|
4451
|
+
symbol: "ETH",
|
|
4452
|
+
decimals: 9
|
|
4453
|
+
},
|
|
4454
|
+
{
|
|
4455
|
+
symbol: "BTC",
|
|
4456
|
+
decimals: 9
|
|
4457
|
+
},
|
|
4458
|
+
{
|
|
4459
|
+
symbol: "KSM",
|
|
4460
|
+
decimals: 9
|
|
4461
|
+
},
|
|
4462
|
+
{
|
|
4463
|
+
symbol: "CRV",
|
|
4464
|
+
decimals: 9
|
|
4465
|
+
}
|
|
4466
|
+
],
|
|
4467
|
+
otherAssets: [
|
|
4468
|
+
]
|
|
4469
|
+
};
|
|
4470
|
+
var Nodle$2 = {
|
|
4471
|
+
paraId: 2026,
|
|
4472
|
+
relayChainAssetSymbol: "DOT",
|
|
4473
|
+
nativeAssets: [
|
|
4474
|
+
{
|
|
4475
|
+
symbol: "NODL",
|
|
4476
|
+
decimals: 11
|
|
4477
|
+
}
|
|
4478
|
+
],
|
|
4479
|
+
otherAssets: [
|
|
4480
|
+
]
|
|
4481
|
+
};
|
|
4482
|
+
var OriginTrail$2 = {
|
|
4483
|
+
paraId: 2043,
|
|
4484
|
+
relayChainAssetSymbol: "DOT",
|
|
4485
|
+
nativeAssets: [
|
|
4486
|
+
{
|
|
4487
|
+
symbol: "OTP",
|
|
4488
|
+
decimals: 12
|
|
4489
|
+
}
|
|
4490
|
+
],
|
|
4491
|
+
otherAssets: [
|
|
4492
|
+
{
|
|
4493
|
+
assetId: "1",
|
|
4494
|
+
symbol: "TRAC",
|
|
4495
|
+
decimals: 18
|
|
4496
|
+
}
|
|
4497
|
+
]
|
|
4498
|
+
};
|
|
4499
|
+
var Pendulum$2 = {
|
|
4500
|
+
paraId: 2094,
|
|
4501
|
+
relayChainAssetSymbol: "DOT",
|
|
4502
|
+
nativeAssets: [
|
|
4503
|
+
{
|
|
4504
|
+
symbol: "PEN",
|
|
4505
|
+
decimals: 12
|
|
4506
|
+
}
|
|
4507
|
+
],
|
|
4508
|
+
otherAssets: [
|
|
4509
|
+
]
|
|
4510
|
+
};
|
|
4511
|
+
var Polkadex$2 = {
|
|
4512
|
+
paraId: 2040,
|
|
4513
|
+
relayChainAssetSymbol: "DOT",
|
|
4514
|
+
nativeAssets: [
|
|
4515
|
+
{
|
|
4516
|
+
symbol: "PDEX",
|
|
4517
|
+
decimals: 12
|
|
4518
|
+
}
|
|
4519
|
+
],
|
|
4520
|
+
otherAssets: [
|
|
4521
|
+
{
|
|
4522
|
+
assetId: "1"
|
|
4523
|
+
},
|
|
4524
|
+
{
|
|
4525
|
+
assetId: "0"
|
|
4526
|
+
},
|
|
4527
|
+
{
|
|
4528
|
+
assetId: "456"
|
|
4529
|
+
},
|
|
4530
|
+
{
|
|
4531
|
+
assetId: "222121451965151777636299756141619631150"
|
|
4532
|
+
},
|
|
4533
|
+
{
|
|
4534
|
+
assetId: "95930534000017180603917534864279132680"
|
|
4535
|
+
},
|
|
4536
|
+
{
|
|
4537
|
+
assetId: "188197390862117588552302061289480388608"
|
|
4538
|
+
},
|
|
4539
|
+
{
|
|
4540
|
+
assetId: "3496813586714279103986568049643838918"
|
|
4541
|
+
},
|
|
4542
|
+
{
|
|
4543
|
+
assetId: "123"
|
|
4544
|
+
}
|
|
4545
|
+
]
|
|
4546
|
+
};
|
|
4547
|
+
var Zeitgeist$2 = {
|
|
4548
|
+
paraId: 2092,
|
|
4549
|
+
relayChainAssetSymbol: "DOT",
|
|
4550
|
+
nativeAssets: [
|
|
4551
|
+
{
|
|
4552
|
+
symbol: "ZTG",
|
|
4553
|
+
decimals: 10
|
|
4554
|
+
}
|
|
4555
|
+
],
|
|
4556
|
+
otherAssets: [
|
|
4557
|
+
{
|
|
4558
|
+
assetId: "0",
|
|
4559
|
+
symbol: "DOT",
|
|
4560
|
+
decimals: 10
|
|
4561
|
+
}
|
|
4562
|
+
]
|
|
4563
|
+
};
|
|
4564
|
+
var assets = {
|
|
4565
|
+
Acala: Acala$2,
|
|
4566
|
+
Astar: Astar$2,
|
|
4567
|
+
BifrostPolkadot: BifrostPolkadot$2,
|
|
4568
|
+
Bitgreen: Bitgreen$2,
|
|
4569
|
+
Centrifuge: Centrifuge$2,
|
|
4570
|
+
Clover: Clover$2,
|
|
4571
|
+
ComposableFinance: ComposableFinance$2,
|
|
4572
|
+
Darwinia: Darwinia$2,
|
|
4573
|
+
HydraDX: HydraDX$2,
|
|
4574
|
+
Interlay: Interlay$2,
|
|
4575
|
+
Kylin: Kylin$2,
|
|
4576
|
+
Litentry: Litentry$2,
|
|
3952
4577
|
Moonbeam: Moonbeam$2,
|
|
3953
4578
|
Parallel: Parallel$2,
|
|
3954
|
-
|
|
4579
|
+
AssetHubPolkadot: AssetHubPolkadot$2,
|
|
3955
4580
|
Altair: Altair$2,
|
|
3956
4581
|
Amplitude: Amplitude$2,
|
|
3957
4582
|
Bajun: Bajun$2,
|
|
@@ -3960,12 +4585,10 @@ var assets = {
|
|
|
3960
4585
|
Calamari: Calamari$2,
|
|
3961
4586
|
Crab: Crab$2,
|
|
3962
4587
|
CrustShadow: CrustShadow$2,
|
|
3963
|
-
Dorafactory: Dorafactory$2,
|
|
3964
4588
|
Encointer: Encointer$2,
|
|
3965
4589
|
Imbue: Imbue$2,
|
|
3966
4590
|
Integritee: Integritee$2,
|
|
3967
4591
|
InvArchTinker: InvArchTinker$2,
|
|
3968
|
-
Kico: Kico$2,
|
|
3969
4592
|
Karura: Karura$2,
|
|
3970
4593
|
Kintsugi: Kintsugi$2,
|
|
3971
4594
|
Litmus: Litmus$2,
|
|
@@ -3973,18 +4596,22 @@ var assets = {
|
|
|
3973
4596
|
Moonriver: Moonriver$2,
|
|
3974
4597
|
ParallelHeiko: ParallelHeiko$2,
|
|
3975
4598
|
Picasso: Picasso$2,
|
|
3976
|
-
Pichiu: Pichiu$2,
|
|
3977
4599
|
Pioneer: Pioneer$2,
|
|
3978
4600
|
Quartz: Quartz$2,
|
|
3979
4601
|
Robonomics: Robonomics$2,
|
|
3980
4602
|
Shiden: Shiden$2,
|
|
3981
|
-
|
|
4603
|
+
AssetHubKusama: AssetHubKusama$2,
|
|
3982
4604
|
Turing: Turing$2,
|
|
3983
4605
|
Equilibrium: Equilibrium$2,
|
|
3984
4606
|
Unique: Unique$2,
|
|
3985
4607
|
Crust: Crust$2,
|
|
3986
|
-
|
|
3987
|
-
|
|
4608
|
+
Manta: Manta$2,
|
|
4609
|
+
Genshiro: Genshiro$2,
|
|
4610
|
+
Nodle: Nodle$2,
|
|
4611
|
+
OriginTrail: OriginTrail$2,
|
|
4612
|
+
Pendulum: Pendulum$2,
|
|
4613
|
+
Polkadex: Polkadex$2,
|
|
4614
|
+
Zeitgeist: Zeitgeist$2
|
|
3988
4615
|
};
|
|
3989
4616
|
|
|
3990
4617
|
var assetsMapJson = /*#__PURE__*/Object.freeze({
|
|
@@ -3992,6 +4619,8 @@ var assetsMapJson = /*#__PURE__*/Object.freeze({
|
|
|
3992
4619
|
Acala: Acala$2,
|
|
3993
4620
|
Altair: Altair$2,
|
|
3994
4621
|
Amplitude: Amplitude$2,
|
|
4622
|
+
AssetHubKusama: AssetHubKusama$2,
|
|
4623
|
+
AssetHubPolkadot: AssetHubPolkadot$2,
|
|
3995
4624
|
Astar: Astar$2,
|
|
3996
4625
|
Bajun: Bajun$2,
|
|
3997
4626
|
Basilisk: Basilisk$2,
|
|
@@ -4006,37 +4635,37 @@ var assetsMapJson = /*#__PURE__*/Object.freeze({
|
|
|
4006
4635
|
Crust: Crust$2,
|
|
4007
4636
|
CrustShadow: CrustShadow$2,
|
|
4008
4637
|
Darwinia: Darwinia$2,
|
|
4009
|
-
Dorafactory: Dorafactory$2,
|
|
4010
|
-
Efinity: Efinity$2,
|
|
4011
4638
|
Encointer: Encointer$2,
|
|
4012
4639
|
Equilibrium: Equilibrium$2,
|
|
4640
|
+
Genshiro: Genshiro$2,
|
|
4013
4641
|
HydraDX: HydraDX$2,
|
|
4014
4642
|
Imbue: Imbue$2,
|
|
4015
4643
|
Integritee: Integritee$2,
|
|
4016
4644
|
Interlay: Interlay$2,
|
|
4017
4645
|
InvArchTinker: InvArchTinker$2,
|
|
4018
|
-
Ipci: Ipci$2,
|
|
4019
4646
|
Karura: Karura$2,
|
|
4020
|
-
Kico: Kico$2,
|
|
4021
4647
|
Kintsugi: Kintsugi$2,
|
|
4022
4648
|
Kylin: Kylin$2,
|
|
4023
4649
|
Litentry: Litentry$2,
|
|
4024
4650
|
Litmus: Litmus$2,
|
|
4025
4651
|
Mangata: Mangata$2,
|
|
4652
|
+
Manta: Manta$2,
|
|
4026
4653
|
Moonbeam: Moonbeam$2,
|
|
4027
4654
|
Moonriver: Moonriver$2,
|
|
4655
|
+
Nodle: Nodle$2,
|
|
4656
|
+
OriginTrail: OriginTrail$2,
|
|
4028
4657
|
Parallel: Parallel$2,
|
|
4029
4658
|
ParallelHeiko: ParallelHeiko$2,
|
|
4659
|
+
Pendulum: Pendulum$2,
|
|
4030
4660
|
Picasso: Picasso$2,
|
|
4031
|
-
Pichiu: Pichiu$2,
|
|
4032
4661
|
Pioneer: Pioneer$2,
|
|
4662
|
+
Polkadex: Polkadex$2,
|
|
4033
4663
|
Quartz: Quartz$2,
|
|
4034
4664
|
Robonomics: Robonomics$2,
|
|
4035
4665
|
Shiden: Shiden$2,
|
|
4036
|
-
Statemine: Statemine$2,
|
|
4037
|
-
Statemint: Statemint$2,
|
|
4038
4666
|
Turing: Turing$2,
|
|
4039
4667
|
Unique: Unique$2,
|
|
4668
|
+
Zeitgeist: Zeitgeist$2,
|
|
4040
4669
|
default: assets
|
|
4041
4670
|
});
|
|
4042
4671
|
|
|
@@ -4068,7 +4697,9 @@ function getAllAssetsSymbols(node) {
|
|
|
4068
4697
|
return [relayChainAssetSymbol].concat(_toConsumableArray(nativeAssets.map(function (_ref) {
|
|
4069
4698
|
var symbol = _ref.symbol;
|
|
4070
4699
|
return symbol;
|
|
4071
|
-
})), _toConsumableArray(otherAssets.
|
|
4700
|
+
})), _toConsumableArray(otherAssets.filter(function (asset) {
|
|
4701
|
+
return !!asset.symbol;
|
|
4702
|
+
}).map(function (_ref2) {
|
|
4072
4703
|
var symbol = _ref2.symbol;
|
|
4073
4704
|
return symbol;
|
|
4074
4705
|
})));
|
|
@@ -4163,17 +4794,19 @@ var ParachainNode = /*#__PURE__*/function () {
|
|
|
4163
4794
|
currency: currencySymbol,
|
|
4164
4795
|
currencyID: currencyId,
|
|
4165
4796
|
amount: amount,
|
|
4166
|
-
addressSelection:
|
|
4797
|
+
addressSelection: generateAddressPayload(api, scenario, 'XTokens', to, this.version, paraId),
|
|
4167
4798
|
fees: getFees(scenario),
|
|
4799
|
+
scenario: scenario,
|
|
4168
4800
|
serializedApiCallEnabled: serializedApiCallEnabled
|
|
4169
4801
|
});
|
|
4170
4802
|
} else if (supportsPolkadotXCM(this)) {
|
|
4171
4803
|
return this.transferPolkadotXCM({
|
|
4172
4804
|
api: api,
|
|
4173
4805
|
header: createHeaderPolkadotXCM(scenario, this.version, paraId),
|
|
4174
|
-
addressSelection:
|
|
4806
|
+
addressSelection: generateAddressPayload(api, scenario, 'PolkadotXcm', to, this.version, paraId),
|
|
4175
4807
|
currencySelection: createCurrencySpecification(amount, scenario, this.version, this._node, currencyId),
|
|
4176
4808
|
scenario: scenario,
|
|
4809
|
+
currencySymbol: currencySymbol,
|
|
4177
4810
|
serializedApiCallEnabled: serializedApiCallEnabled
|
|
4178
4811
|
});
|
|
4179
4812
|
} else {
|
|
@@ -4297,25 +4930,6 @@ var Crust$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4297
4930
|
return Crust;
|
|
4298
4931
|
}(ParachainNode);
|
|
4299
4932
|
|
|
4300
|
-
var Efinity$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
4301
|
-
_inherits(Efinity, _ParachainNode);
|
|
4302
|
-
var _super = _createSuper(Efinity);
|
|
4303
|
-
function Efinity() {
|
|
4304
|
-
_classCallCheck(this, Efinity);
|
|
4305
|
-
return _super.call(this, 'Efinity', 'efinity', 'polkadot', exports.Version.V3);
|
|
4306
|
-
}
|
|
4307
|
-
_createClass(Efinity, [{
|
|
4308
|
-
key: "transferXTokens",
|
|
4309
|
-
value: function transferXTokens(input) {
|
|
4310
|
-
var currencySelection = {
|
|
4311
|
-
currencyId: [0, input.currencyID]
|
|
4312
|
-
};
|
|
4313
|
-
return XTokensTransferImpl.transferXTokens(input, currencySelection);
|
|
4314
|
-
}
|
|
4315
|
-
}]);
|
|
4316
|
-
return Efinity;
|
|
4317
|
-
}(ParachainNode);
|
|
4318
|
-
|
|
4319
4933
|
var BifrostPolkadot$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
4320
4934
|
_inherits(BifrostPolkadot, _ParachainNode);
|
|
4321
4935
|
var _super = _createSuper(BifrostPolkadot);
|
|
@@ -4351,7 +4965,7 @@ var Centrifuge$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4351
4965
|
var _super = _createSuper(Centrifuge);
|
|
4352
4966
|
function Centrifuge() {
|
|
4353
4967
|
_classCallCheck(this, Centrifuge);
|
|
4354
|
-
return _super.call(this, 'Centrifuge', 'centrifuge', 'polkadot', exports.Version.
|
|
4968
|
+
return _super.call(this, 'Centrifuge', 'centrifuge', 'polkadot', exports.Version.V3);
|
|
4355
4969
|
}
|
|
4356
4970
|
_createClass(Centrifuge, [{
|
|
4357
4971
|
key: "transferXTokens",
|
|
@@ -4403,7 +5017,7 @@ var ComposableFinance$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4403
5017
|
var _super = _createSuper(ComposableFinance);
|
|
4404
5018
|
function ComposableFinance() {
|
|
4405
5019
|
_classCallCheck(this, ComposableFinance);
|
|
4406
|
-
return _super.call(this, 'ComposableFinance', '
|
|
5020
|
+
return _super.call(this, 'ComposableFinance', 'composable', 'polkadot', exports.Version.V3);
|
|
4407
5021
|
}
|
|
4408
5022
|
return _createClass(ComposableFinance);
|
|
4409
5023
|
}(ParachainNode);
|
|
@@ -4413,13 +5027,12 @@ var HydraDX$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4413
5027
|
var _super = _createSuper(HydraDX);
|
|
4414
5028
|
function HydraDX() {
|
|
4415
5029
|
_classCallCheck(this, HydraDX);
|
|
4416
|
-
return _super.call(this, 'HydraDX', '
|
|
5030
|
+
return _super.call(this, 'HydraDX', 'hydradx', 'polkadot', exports.Version.V3);
|
|
4417
5031
|
}
|
|
4418
5032
|
_createClass(HydraDX, [{
|
|
4419
5033
|
key: "transferXTokens",
|
|
4420
5034
|
value: function transferXTokens(input) {
|
|
4421
5035
|
var currencyID = input.currencyID;
|
|
4422
|
-
input.fees;
|
|
4423
5036
|
return XTokensTransferImpl.transferXTokens(input, currencyID);
|
|
4424
5037
|
}
|
|
4425
5038
|
}]);
|
|
@@ -4472,7 +5085,7 @@ var Litentry$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4472
5085
|
var _super = _createSuper(Litentry);
|
|
4473
5086
|
function Litentry() {
|
|
4474
5087
|
_classCallCheck(this, Litentry);
|
|
4475
|
-
return _super.call(this, 'Litentry', 'litentry', 'polkadot', exports.Version.
|
|
5088
|
+
return _super.call(this, 'Litentry', 'litentry', 'polkadot', exports.Version.V3);
|
|
4476
5089
|
}
|
|
4477
5090
|
_createClass(Litentry, [{
|
|
4478
5091
|
key: "transferXTokens",
|
|
@@ -4553,13 +5166,13 @@ var Amplitude$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4553
5166
|
var _super = _createSuper(Amplitude);
|
|
4554
5167
|
function Amplitude() {
|
|
4555
5168
|
_classCallCheck(this, Amplitude);
|
|
4556
|
-
return _super.call(this, 'Amplitude', 'amplitude', 'kusama', exports.Version.
|
|
5169
|
+
return _super.call(this, 'Amplitude', 'amplitude', 'kusama', exports.Version.V3);
|
|
4557
5170
|
}
|
|
4558
5171
|
_createClass(Amplitude, [{
|
|
4559
5172
|
key: "transferXTokens",
|
|
4560
5173
|
value: function transferXTokens(input) {
|
|
4561
5174
|
return XTokensTransferImpl.transferXTokens(input, {
|
|
4562
|
-
XCM: input.
|
|
5175
|
+
XCM: input.currencyID
|
|
4563
5176
|
});
|
|
4564
5177
|
}
|
|
4565
5178
|
}]);
|
|
@@ -4640,31 +5253,12 @@ var Turing$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4640
5253
|
key: "transferXTokens",
|
|
4641
5254
|
value: function transferXTokens(input) {
|
|
4642
5255
|
var currencyID = input.currencyID;
|
|
4643
|
-
input.fees;
|
|
4644
5256
|
return XTokensTransferImpl.transferXTokens(input, currencyID);
|
|
4645
5257
|
}
|
|
4646
5258
|
}]);
|
|
4647
5259
|
return Turing;
|
|
4648
5260
|
}(ParachainNode);
|
|
4649
5261
|
|
|
4650
|
-
var Pichiu$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
4651
|
-
_inherits(Pichiu, _ParachainNode);
|
|
4652
|
-
var _super = _createSuper(Pichiu);
|
|
4653
|
-
function Pichiu() {
|
|
4654
|
-
_classCallCheck(this, Pichiu);
|
|
4655
|
-
return _super.call(this, 'Pichiu', 'pichiu', 'kusama', exports.Version.V1);
|
|
4656
|
-
}
|
|
4657
|
-
_createClass(Pichiu, [{
|
|
4658
|
-
key: "transferXTokens",
|
|
4659
|
-
value: function transferXTokens(input) {
|
|
4660
|
-
var currency = input.currency,
|
|
4661
|
-
fees = input.fees;
|
|
4662
|
-
return XTokensTransferImpl.transferXTokens(input, currency, fees, 'OrmlXTokens');
|
|
4663
|
-
}
|
|
4664
|
-
}]);
|
|
4665
|
-
return Pichiu;
|
|
4666
|
-
}(ParachainNode);
|
|
4667
|
-
|
|
4668
5262
|
var Picasso$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
4669
5263
|
_inherits(Picasso, _ParachainNode);
|
|
4670
5264
|
var _super = _createSuper(Picasso);
|
|
@@ -4686,7 +5280,7 @@ var ParallelHeiko$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4686
5280
|
var _super = _createSuper(ParallelHeiko);
|
|
4687
5281
|
function ParallelHeiko() {
|
|
4688
5282
|
_classCallCheck(this, ParallelHeiko);
|
|
4689
|
-
return _super.call(this, 'ParallelHeiko', 'heiko', 'kusama', exports.Version.
|
|
5283
|
+
return _super.call(this, 'ParallelHeiko', 'heiko', 'kusama', exports.Version.V3);
|
|
4690
5284
|
}
|
|
4691
5285
|
_createClass(ParallelHeiko, [{
|
|
4692
5286
|
key: "transferXTokens",
|
|
@@ -4774,24 +5368,6 @@ var Kintsugi$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4774
5368
|
return Kintsugi;
|
|
4775
5369
|
}(ParachainNode);
|
|
4776
5370
|
|
|
4777
|
-
var Kico$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
4778
|
-
_inherits(Kico, _ParachainNode);
|
|
4779
|
-
var _super = _createSuper(Kico);
|
|
4780
|
-
function Kico() {
|
|
4781
|
-
_classCallCheck(this, Kico);
|
|
4782
|
-
return _super.call(this, 'Kico', 'kico', 'kusama', exports.Version.V1);
|
|
4783
|
-
}
|
|
4784
|
-
_createClass(Kico, [{
|
|
4785
|
-
key: "transferXTokens",
|
|
4786
|
-
value: function transferXTokens(input) {
|
|
4787
|
-
var currencyID = input.currencyID,
|
|
4788
|
-
fees = input.fees;
|
|
4789
|
-
return XTokensTransferImpl.transferXTokens(input, currencyID, fees);
|
|
4790
|
-
}
|
|
4791
|
-
}]);
|
|
4792
|
-
return Kico;
|
|
4793
|
-
}(ParachainNode);
|
|
4794
|
-
|
|
4795
5371
|
var Calamari$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
4796
5372
|
_inherits(Calamari, _ParachainNode);
|
|
4797
5373
|
var _super = _createSuper(Calamari);
|
|
@@ -4844,24 +5420,6 @@ var CrustShadow$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4844
5420
|
return CrustShadow;
|
|
4845
5421
|
}(ParachainNode);
|
|
4846
5422
|
|
|
4847
|
-
var Dorafactory$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
4848
|
-
_inherits(Dorafactory, _ParachainNode);
|
|
4849
|
-
var _super = _createSuper(Dorafactory);
|
|
4850
|
-
function Dorafactory() {
|
|
4851
|
-
_classCallCheck(this, Dorafactory);
|
|
4852
|
-
return _super.call(this, 'Dorafactory', 'dorafactory', 'kusama', exports.Version.V1);
|
|
4853
|
-
}
|
|
4854
|
-
_createClass(Dorafactory, [{
|
|
4855
|
-
key: "transferXTokens",
|
|
4856
|
-
value: function transferXTokens(input) {
|
|
4857
|
-
var currency = input.currency,
|
|
4858
|
-
fees = input.fees;
|
|
4859
|
-
return XTokensTransferImpl.transferXTokens(input, currency, fees);
|
|
4860
|
-
}
|
|
4861
|
-
}]);
|
|
4862
|
-
return Dorafactory;
|
|
4863
|
-
}(ParachainNode);
|
|
4864
|
-
|
|
4865
5423
|
var Imbue$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
4866
5424
|
_inherits(Imbue, _ParachainNode);
|
|
4867
5425
|
var _super = _createSuper(Imbue);
|
|
@@ -4873,23 +5431,64 @@ var Imbue$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4873
5431
|
key: "transferXTokens",
|
|
4874
5432
|
value: function transferXTokens(input) {
|
|
4875
5433
|
var currency = input.currency;
|
|
4876
|
-
input.fees;
|
|
4877
5434
|
return XTokensTransferImpl.transferXTokens(input, currency);
|
|
4878
5435
|
}
|
|
4879
5436
|
}]);
|
|
4880
5437
|
return Imbue;
|
|
4881
5438
|
}(ParachainNode);
|
|
4882
5439
|
|
|
5440
|
+
// Used to inform user, that Parachain they wish to use is not supported yet
|
|
5441
|
+
var NodeNotSupportedError = /*#__PURE__*/function (_Error) {
|
|
5442
|
+
_inherits(NodeNotSupportedError, _Error);
|
|
5443
|
+
var _super = _createSuper(NodeNotSupportedError);
|
|
5444
|
+
function NodeNotSupportedError(message) {
|
|
5445
|
+
var _this;
|
|
5446
|
+
_classCallCheck(this, NodeNotSupportedError);
|
|
5447
|
+
_this = _super.call(this, message);
|
|
5448
|
+
_this.name = 'NodeNotSupported';
|
|
5449
|
+
return _this;
|
|
5450
|
+
}
|
|
5451
|
+
return _createClass(NodeNotSupportedError);
|
|
5452
|
+
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
5453
|
+
|
|
5454
|
+
// Used to inform user, that Parachain they wish to use does not support scenario they wish to use yet
|
|
5455
|
+
var ScenarioNotSupportedError = /*#__PURE__*/function (_Error) {
|
|
5456
|
+
_inherits(ScenarioNotSupportedError, _Error);
|
|
5457
|
+
var _super = _createSuper(ScenarioNotSupportedError);
|
|
5458
|
+
function ScenarioNotSupportedError(node, scenario) {
|
|
5459
|
+
var _this;
|
|
5460
|
+
_classCallCheck(this, ScenarioNotSupportedError);
|
|
5461
|
+
_this = _super.call(this, "Scenario ".concat(scenario, " not supported for node ").concat(node));
|
|
5462
|
+
_this.name = 'ScenarioNotSupported';
|
|
5463
|
+
return _this;
|
|
5464
|
+
}
|
|
5465
|
+
return _createClass(ScenarioNotSupportedError);
|
|
5466
|
+
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
5467
|
+
|
|
5468
|
+
var IncompatibleNodesError = /*#__PURE__*/function (_Error) {
|
|
5469
|
+
_inherits(IncompatibleNodesError, _Error);
|
|
5470
|
+
var _super = _createSuper(IncompatibleNodesError);
|
|
5471
|
+
function IncompatibleNodesError() {
|
|
5472
|
+
var _this;
|
|
5473
|
+
_classCallCheck(this, IncompatibleNodesError);
|
|
5474
|
+
_this = _super.call(this, 'Transactions between nodes on different relaychains are not yet possible.');
|
|
5475
|
+
_this.name = 'IncompatibleNodes';
|
|
5476
|
+
return _this;
|
|
5477
|
+
}
|
|
5478
|
+
return _createClass(IncompatibleNodesError);
|
|
5479
|
+
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
5480
|
+
|
|
4883
5481
|
var Integritee$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
4884
5482
|
_inherits(Integritee, _ParachainNode);
|
|
4885
5483
|
var _super = _createSuper(Integritee);
|
|
4886
5484
|
function Integritee() {
|
|
4887
5485
|
_classCallCheck(this, Integritee);
|
|
4888
|
-
return _super.call(this, 'Integritee', 'integritee', 'kusama', exports.Version.
|
|
5486
|
+
return _super.call(this, 'Integritee', 'integritee', 'kusama', exports.Version.V3);
|
|
4889
5487
|
}
|
|
4890
5488
|
_createClass(Integritee, [{
|
|
4891
5489
|
key: "transferXTokens",
|
|
4892
5490
|
value: function transferXTokens(input) {
|
|
5491
|
+
if (input.currency === 'KSM') throw new InvalidCurrencyError("Node ".concat(this.node, " does not support currency KSM"));
|
|
4893
5492
|
return XTokensTransferImpl.transferXTokens(input, input.currency);
|
|
4894
5493
|
}
|
|
4895
5494
|
}]);
|
|
@@ -4901,14 +5500,13 @@ var InvArchTinker$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
4901
5500
|
var _super = _createSuper(InvArchTinker);
|
|
4902
5501
|
function InvArchTinker() {
|
|
4903
5502
|
_classCallCheck(this, InvArchTinker);
|
|
4904
|
-
return _super.call(this, 'InvArchTinker', 'tinker', 'kusama', exports.Version.
|
|
5503
|
+
return _super.call(this, 'InvArchTinker', 'tinker', 'kusama', exports.Version.V3);
|
|
4905
5504
|
}
|
|
4906
5505
|
_createClass(InvArchTinker, [{
|
|
4907
5506
|
key: "transferXTokens",
|
|
4908
5507
|
value: function transferXTokens(input) {
|
|
4909
|
-
var currencyID = input.currencyID
|
|
4910
|
-
|
|
4911
|
-
return XTokensTransferImpl.transferXTokens(input, currencyID, fees);
|
|
5508
|
+
var currencyID = input.currencyID;
|
|
5509
|
+
return XTokensTransferImpl.transferXTokens(input, currencyID);
|
|
4912
5510
|
}
|
|
4913
5511
|
}]);
|
|
4914
5512
|
return InvArchTinker;
|
|
@@ -4964,64 +5562,48 @@ var PolkadotXCMTransferImpl = /*#__PURE__*/function () {
|
|
|
4964
5562
|
return PolkadotXCMTransferImpl;
|
|
4965
5563
|
}();
|
|
4966
5564
|
|
|
4967
|
-
var
|
|
4968
|
-
_inherits(
|
|
4969
|
-
var _super = _createSuper(
|
|
4970
|
-
function
|
|
4971
|
-
_classCallCheck(this,
|
|
4972
|
-
return _super.call(this, '
|
|
5565
|
+
var AssetHubPolkadot$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5566
|
+
_inherits(AssetHubPolkadot, _ParachainNode);
|
|
5567
|
+
var _super = _createSuper(AssetHubPolkadot);
|
|
5568
|
+
function AssetHubPolkadot() {
|
|
5569
|
+
_classCallCheck(this, AssetHubPolkadot);
|
|
5570
|
+
return _super.call(this, 'AssetHubPolkadot', 'PolkadotAssetHub', 'polkadot', exports.Version.V3);
|
|
4973
5571
|
}
|
|
4974
|
-
_createClass(
|
|
5572
|
+
_createClass(AssetHubPolkadot, [{
|
|
4975
5573
|
key: "transferPolkadotXCM",
|
|
4976
5574
|
value: function transferPolkadotXCM(input) {
|
|
4977
5575
|
// TESTED https://polkadot.subscan.io/xcm_message/polkadot-e4cdf1c59ffbb3d504adbc893d6b7d72665e484d
|
|
4978
5576
|
// TESTED https://polkadot.subscan.io/xcm_message/polkadot-c01158ff1a5c5a596138ed9d0f0f2bccc1d9c51d
|
|
4979
|
-
|
|
4980
|
-
return PolkadotXCMTransferImpl.transferPolkadotXCM(input, method, 'Unlimited');
|
|
5577
|
+
return PolkadotXCMTransferImpl.transferPolkadotXCM(input, 'limitedTeleportAssets', 'Unlimited');
|
|
4981
5578
|
}
|
|
4982
5579
|
}]);
|
|
4983
|
-
return
|
|
5580
|
+
return AssetHubPolkadot;
|
|
4984
5581
|
}(ParachainNode);
|
|
4985
5582
|
|
|
4986
|
-
var
|
|
4987
|
-
_inherits(
|
|
4988
|
-
var _super = _createSuper(
|
|
4989
|
-
function
|
|
4990
|
-
_classCallCheck(this,
|
|
4991
|
-
return _super.call(this, '
|
|
5583
|
+
var AssetHubKusama$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5584
|
+
_inherits(AssetHubKusama, _ParachainNode);
|
|
5585
|
+
var _super = _createSuper(AssetHubKusama);
|
|
5586
|
+
function AssetHubKusama() {
|
|
5587
|
+
_classCallCheck(this, AssetHubKusama);
|
|
5588
|
+
return _super.call(this, 'AssetHubKusama', 'KusamaAssetHub', 'kusama', exports.Version.V3);
|
|
4992
5589
|
}
|
|
4993
|
-
_createClass(
|
|
5590
|
+
_createClass(AssetHubKusama, [{
|
|
4994
5591
|
key: "transferPolkadotXCM",
|
|
4995
5592
|
value: function transferPolkadotXCM(input) {
|
|
4996
5593
|
// TESTED https://kusama.subscan.io/xcm_message/kusama-ddc2a48f0d8e0337832d7aae26f6c3053e1f4ffd
|
|
4997
5594
|
// TESTED https://kusama.subscan.io/xcm_message/kusama-8e423130a4d8b61679af95dbea18a55124f99672
|
|
4998
|
-
|
|
4999
|
-
return PolkadotXCMTransferImpl.transferPolkadotXCM(input, method, 'Unlimited');
|
|
5595
|
+
return PolkadotXCMTransferImpl.transferPolkadotXCM(input, 'limitedTeleportAssets', 'Unlimited');
|
|
5000
5596
|
}
|
|
5001
5597
|
}]);
|
|
5002
|
-
return
|
|
5598
|
+
return AssetHubKusama;
|
|
5003
5599
|
}(ParachainNode);
|
|
5004
5600
|
|
|
5005
|
-
// Used to inform user, that Parachain they wish to use does not support scenario they wish to use yet
|
|
5006
|
-
var ScenarioNotSupportedError = /*#__PURE__*/function (_Error) {
|
|
5007
|
-
_inherits(ScenarioNotSupportedError, _Error);
|
|
5008
|
-
var _super = _createSuper(ScenarioNotSupportedError);
|
|
5009
|
-
function ScenarioNotSupportedError(node, scenario) {
|
|
5010
|
-
var _this;
|
|
5011
|
-
_classCallCheck(this, ScenarioNotSupportedError);
|
|
5012
|
-
_this = _super.call(this, "Scenario ".concat(scenario, " not supported for node ").concat(node));
|
|
5013
|
-
_this.name = 'ScenarioNotSupported';
|
|
5014
|
-
return _this;
|
|
5015
|
-
}
|
|
5016
|
-
return _createClass(ScenarioNotSupportedError);
|
|
5017
|
-
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
5018
|
-
|
|
5019
5601
|
var Encointer$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5020
5602
|
_inherits(Encointer, _ParachainNode);
|
|
5021
5603
|
var _super = _createSuper(Encointer);
|
|
5022
5604
|
function Encointer() {
|
|
5023
5605
|
_classCallCheck(this, Encointer);
|
|
5024
|
-
return _super.call(this, 'Encointer', 'encointer', 'kusama', exports.Version.
|
|
5606
|
+
return _super.call(this, 'Encointer', 'encointer', 'kusama', exports.Version.V3);
|
|
5025
5607
|
}
|
|
5026
5608
|
_createClass(Encointer, [{
|
|
5027
5609
|
key: "transferPolkadotXCM",
|
|
@@ -5084,7 +5666,7 @@ var Equilibrium$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
5084
5666
|
var _super = _createSuper(Equilibrium);
|
|
5085
5667
|
function Equilibrium() {
|
|
5086
5668
|
_classCallCheck(this, Equilibrium);
|
|
5087
|
-
return _super.call(this, 'Equilibrium', 'equilibrium', 'polkadot', exports.Version.
|
|
5669
|
+
return _super.call(this, 'Equilibrium', 'equilibrium', 'polkadot', exports.Version.V3);
|
|
5088
5670
|
}
|
|
5089
5671
|
_createClass(Equilibrium, [{
|
|
5090
5672
|
key: "transferPolkadotXCM",
|
|
@@ -5136,26 +5718,6 @@ var Crab$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
5136
5718
|
return Crab;
|
|
5137
5719
|
}(ParachainNode);
|
|
5138
5720
|
|
|
5139
|
-
var Ipci$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5140
|
-
_inherits(Ipci, _ParachainNode);
|
|
5141
|
-
var _super = _createSuper(Ipci);
|
|
5142
|
-
function Ipci() {
|
|
5143
|
-
_classCallCheck(this, Ipci);
|
|
5144
|
-
return _super.call(this, 'Ipci', 'ipci', 'kusama', exports.Version.V1);
|
|
5145
|
-
}
|
|
5146
|
-
_createClass(Ipci, [{
|
|
5147
|
-
key: "transferPolkadotXCM",
|
|
5148
|
-
value: function transferPolkadotXCM(input) {
|
|
5149
|
-
// UNTESTED, ONLY HAS CHANNELS W ROBONOMICS & 0 TRANSACTIONS
|
|
5150
|
-
if (input.scenario === 'ParaToPara') {
|
|
5151
|
-
return PolkadotXCMTransferImpl.transferPolkadotXCM(input, 'reserveTransferAssets');
|
|
5152
|
-
}
|
|
5153
|
-
throw new ScenarioNotSupportedError(this.node, input.scenario);
|
|
5154
|
-
}
|
|
5155
|
-
}]);
|
|
5156
|
-
return Ipci;
|
|
5157
|
-
}(ParachainNode);
|
|
5158
|
-
|
|
5159
5721
|
var Quartz$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5160
5722
|
_inherits(Quartz, _ParachainNode);
|
|
5161
5723
|
var _super = _createSuper(Quartz);
|
|
@@ -5195,16 +5757,148 @@ var Shiden$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
5195
5757
|
return Shiden;
|
|
5196
5758
|
}(ParachainNode);
|
|
5197
5759
|
|
|
5760
|
+
var Manta$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5761
|
+
_inherits(Manta, _ParachainNode);
|
|
5762
|
+
var _super = _createSuper(Manta);
|
|
5763
|
+
function Manta() {
|
|
5764
|
+
_classCallCheck(this, Manta);
|
|
5765
|
+
return _super.call(this, 'Manta', 'manta', 'polkadot', exports.Version.V3);
|
|
5766
|
+
}
|
|
5767
|
+
_createClass(Manta, [{
|
|
5768
|
+
key: "transferXTokens",
|
|
5769
|
+
value: function transferXTokens(input) {
|
|
5770
|
+
return XTokensTransferImpl.transferXTokens(input, {
|
|
5771
|
+
ForeignAssetId: input.currencyID
|
|
5772
|
+
});
|
|
5773
|
+
}
|
|
5774
|
+
}]);
|
|
5775
|
+
return Manta;
|
|
5776
|
+
}(ParachainNode);
|
|
5777
|
+
|
|
5778
|
+
var Genshiro$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5779
|
+
_inherits(Genshiro, _ParachainNode);
|
|
5780
|
+
var _super = _createSuper(Genshiro);
|
|
5781
|
+
function Genshiro() {
|
|
5782
|
+
_classCallCheck(this, Genshiro);
|
|
5783
|
+
return _super.call(this, 'Genshiro', 'Genshiro', 'kusama', exports.Version.V3);
|
|
5784
|
+
}
|
|
5785
|
+
_createClass(Genshiro, [{
|
|
5786
|
+
key: "transferPolkadotXCM",
|
|
5787
|
+
value: function transferPolkadotXCM(input) {
|
|
5788
|
+
if (input.scenario === 'ParaToPara' && input.currencySymbol !== 'GENS') {
|
|
5789
|
+
throw new InvalidCurrencyError("Node ".concat(this.node, " does not support currency ").concat(input.currencySymbol));
|
|
5790
|
+
}
|
|
5791
|
+
return PolkadotXCMTransferImpl.transferPolkadotXCM(input, 'limitedReserveTransferAssets', 'Unlimited');
|
|
5792
|
+
}
|
|
5793
|
+
}]);
|
|
5794
|
+
return Genshiro;
|
|
5795
|
+
}(ParachainNode);
|
|
5796
|
+
|
|
5797
|
+
var Nodle$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5798
|
+
_inherits(Nodle, _ParachainNode);
|
|
5799
|
+
var _super = _createSuper(Nodle);
|
|
5800
|
+
function Nodle() {
|
|
5801
|
+
_classCallCheck(this, Nodle);
|
|
5802
|
+
return _super.call(this, 'Nodle', 'nodle', 'polkadot', exports.Version.V3);
|
|
5803
|
+
}
|
|
5804
|
+
_createClass(Nodle, [{
|
|
5805
|
+
key: "transferXTokens",
|
|
5806
|
+
value: function transferXTokens(input) {
|
|
5807
|
+
if (input.scenario !== 'ParaToPara') {
|
|
5808
|
+
throw new ScenarioNotSupportedError(this.node, input.scenario);
|
|
5809
|
+
}
|
|
5810
|
+
if (input.currency !== 'NODL') {
|
|
5811
|
+
throw new InvalidCurrencyError("Asset ".concat(input.currency, " is not supported by node ").concat(this.node, "."));
|
|
5812
|
+
}
|
|
5813
|
+
return XTokensTransferImpl.transferXTokens(input, 'NodleNative');
|
|
5814
|
+
}
|
|
5815
|
+
}]);
|
|
5816
|
+
return Nodle;
|
|
5817
|
+
}(ParachainNode);
|
|
5818
|
+
|
|
5819
|
+
var OriginTrail$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5820
|
+
_inherits(OriginTrail, _ParachainNode);
|
|
5821
|
+
var _super = _createSuper(OriginTrail);
|
|
5822
|
+
function OriginTrail() {
|
|
5823
|
+
_classCallCheck(this, OriginTrail);
|
|
5824
|
+
return _super.call(this, 'OriginTrail', 'origintrail-parachain', 'polkadot', exports.Version.V3);
|
|
5825
|
+
}
|
|
5826
|
+
_createClass(OriginTrail, [{
|
|
5827
|
+
key: "transferPolkadotXCM",
|
|
5828
|
+
value: function transferPolkadotXCM(input) {
|
|
5829
|
+
return PolkadotXCMTransferImpl.transferPolkadotXCM(input, 'limitedReserveTransferAssets', 'Unlimited');
|
|
5830
|
+
}
|
|
5831
|
+
}]);
|
|
5832
|
+
return OriginTrail;
|
|
5833
|
+
}(ParachainNode);
|
|
5834
|
+
|
|
5835
|
+
var Pendulum$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5836
|
+
_inherits(Pendulum, _ParachainNode);
|
|
5837
|
+
var _super = _createSuper(Pendulum);
|
|
5838
|
+
function Pendulum() {
|
|
5839
|
+
_classCallCheck(this, Pendulum);
|
|
5840
|
+
return _super.call(this, 'Pendulum', 'pendulum', 'polkadot', exports.Version.V1);
|
|
5841
|
+
}
|
|
5842
|
+
_createClass(Pendulum, [{
|
|
5843
|
+
key: "transferXTokens",
|
|
5844
|
+
value: function transferXTokens(input) {
|
|
5845
|
+
if (input.scenario !== 'ParaToPara') {
|
|
5846
|
+
throw new ScenarioNotSupportedError(this.node, input.scenario);
|
|
5847
|
+
}
|
|
5848
|
+
if (input.currency !== 'PEN') {
|
|
5849
|
+
throw new InvalidCurrencyError("Asset ".concat(input.currency, " is not supported by node ").concat(this.node, "."));
|
|
5850
|
+
}
|
|
5851
|
+
return XTokensTransferImpl.transferXTokens(input, {
|
|
5852
|
+
XCM: input.currencyID
|
|
5853
|
+
});
|
|
5854
|
+
}
|
|
5855
|
+
}]);
|
|
5856
|
+
return Pendulum;
|
|
5857
|
+
}(ParachainNode);
|
|
5858
|
+
|
|
5859
|
+
var Polkadex$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5860
|
+
_inherits(Polkadex, _ParachainNode);
|
|
5861
|
+
var _super = _createSuper(Polkadex);
|
|
5862
|
+
function Polkadex() {
|
|
5863
|
+
_classCallCheck(this, Polkadex);
|
|
5864
|
+
return _super.call(this, 'Polkadex', 'polkadex', 'polkadot', exports.Version.V3);
|
|
5865
|
+
}
|
|
5866
|
+
_createClass(Polkadex, [{
|
|
5867
|
+
key: "transferXTokens",
|
|
5868
|
+
value: function transferXTokens(input) {
|
|
5869
|
+
return XTokensTransferImpl.transferXTokens(input, input.currencyID);
|
|
5870
|
+
}
|
|
5871
|
+
}]);
|
|
5872
|
+
return Polkadex;
|
|
5873
|
+
}(ParachainNode);
|
|
5874
|
+
|
|
5875
|
+
var Zeitgeist$1 = /*#__PURE__*/function (_ParachainNode) {
|
|
5876
|
+
_inherits(Zeitgeist, _ParachainNode);
|
|
5877
|
+
var _super = _createSuper(Zeitgeist);
|
|
5878
|
+
function Zeitgeist() {
|
|
5879
|
+
_classCallCheck(this, Zeitgeist);
|
|
5880
|
+
return _super.call(this, 'Zeitgeist', 'zeitgeist', 'polkadot', exports.Version.V3);
|
|
5881
|
+
}
|
|
5882
|
+
_createClass(Zeitgeist, [{
|
|
5883
|
+
key: "transferXTokens",
|
|
5884
|
+
value: function transferXTokens(input) {
|
|
5885
|
+
return XTokensTransferImpl.transferXTokens(input, {
|
|
5886
|
+
ForeignAsset: input.currencyID
|
|
5887
|
+
});
|
|
5888
|
+
}
|
|
5889
|
+
}]);
|
|
5890
|
+
return Zeitgeist;
|
|
5891
|
+
}(ParachainNode);
|
|
5892
|
+
|
|
5198
5893
|
// Contains supported Parachains and exports supported XCM Pallets
|
|
5199
|
-
var NODE_NAMES = ['
|
|
5894
|
+
var NODE_NAMES = ['AssetHubPolkadot', 'Acala', 'Astar', 'BifrostPolkadot', 'Bitgreen', 'Centrifuge', 'Clover', 'ComposableFinance', 'Darwinia', 'HydraDX', 'Interlay', 'Kylin', 'Litentry', 'Moonbeam', 'Parallel', 'AssetHubKusama', 'Encointer', 'Altair', 'Amplitude', 'Bajun', 'Basilisk', 'BifrostKusama', 'Pioneer', 'Calamari', 'CrustShadow', 'Crab', 'Imbue', 'Integritee', 'InvArchTinker', 'Karura', 'Kintsugi', 'Litmus', 'Mangata', 'Moonriver', 'ParallelHeiko', 'Picasso', 'Quartz', 'Robonomics', 'Shiden', 'Turing', 'Equilibrium', 'Unique', 'Crust', 'Manta', 'Genshiro', 'Nodle', 'OriginTrail', 'Pendulum', 'Polkadex', 'Zeitgeist'];
|
|
5200
5895
|
var nodes = {
|
|
5201
|
-
|
|
5896
|
+
AssetHubPolkadot: new AssetHubPolkadot$1(),
|
|
5202
5897
|
Acala: new Acala$1(),
|
|
5203
5898
|
Astar: new Astar$1(),
|
|
5204
5899
|
Equilibrium: new Equilibrium$1(),
|
|
5205
5900
|
Unique: new Unique$1(),
|
|
5206
5901
|
Crust: new Crust$1(),
|
|
5207
|
-
Efinity: new Efinity$1(),
|
|
5208
5902
|
BifrostPolkadot: new BifrostPolkadot$1(),
|
|
5209
5903
|
Bitgreen: new Bitgreen$1(),
|
|
5210
5904
|
Centrifuge: new Centrifuge$1(),
|
|
@@ -5217,7 +5911,7 @@ var nodes = {
|
|
|
5217
5911
|
Litentry: new Litentry$1(),
|
|
5218
5912
|
Moonbeam: new Moonbeam$1(),
|
|
5219
5913
|
Parallel: new Parallel$1(),
|
|
5220
|
-
|
|
5914
|
+
AssetHubKusama: new AssetHubKusama$1(),
|
|
5221
5915
|
Encointer: new Encointer$1(),
|
|
5222
5916
|
Altair: new Altair$1(),
|
|
5223
5917
|
Amplitude: new Amplitude$1(),
|
|
@@ -5228,299 +5922,116 @@ var nodes = {
|
|
|
5228
5922
|
Calamari: new Calamari$1(),
|
|
5229
5923
|
CrustShadow: new CrustShadow$1(),
|
|
5230
5924
|
Crab: new Crab$1(),
|
|
5231
|
-
Dorafactory: new Dorafactory$1(),
|
|
5232
5925
|
Imbue: new Imbue$1(),
|
|
5233
5926
|
Integritee: new Integritee$1(),
|
|
5234
5927
|
InvArchTinker: new InvArchTinker$1(),
|
|
5235
5928
|
Karura: new Karura$1(),
|
|
5236
|
-
Kico: new Kico$1(),
|
|
5237
5929
|
Kintsugi: new Kintsugi$1(),
|
|
5238
|
-
Ipci: new Ipci$1(),
|
|
5239
5930
|
Litmus: new Litmus$1(),
|
|
5240
5931
|
Mangata: new Mangata$1(),
|
|
5241
5932
|
Moonriver: new Moonriver$1(),
|
|
5242
5933
|
ParallelHeiko: new ParallelHeiko$1(),
|
|
5243
5934
|
Picasso: new Picasso$1(),
|
|
5244
|
-
Pichiu: new Pichiu$1(),
|
|
5245
5935
|
Quartz: new Quartz$1(),
|
|
5246
5936
|
Robonomics: new Robonomics$1(),
|
|
5247
5937
|
Shiden: new Shiden$1(),
|
|
5248
|
-
Turing: new Turing$1()
|
|
5938
|
+
Turing: new Turing$1(),
|
|
5939
|
+
Manta: new Manta$1(),
|
|
5940
|
+
Genshiro: new Genshiro$1(),
|
|
5941
|
+
Nodle: new Nodle$1(),
|
|
5942
|
+
OriginTrail: new OriginTrail$1(),
|
|
5943
|
+
Pendulum: new Pendulum$1(),
|
|
5944
|
+
Polkadex: new Polkadex$1(),
|
|
5945
|
+
Zeitgeist: new Zeitgeist$1()
|
|
5249
5946
|
};
|
|
5250
5947
|
var SUPPORTED_PALLETS = ['XTokens', 'OrmlXTokens', 'PolkadotXcm', 'RelayerXcm'];
|
|
5251
5948
|
|
|
5252
|
-
function createAccID(api, account) {
|
|
5949
|
+
var createAccID = function createAccID(api, account) {
|
|
5253
5950
|
console.log('Generating AccountId32 address');
|
|
5254
5951
|
return api.createType('AccountId32', account).toHex();
|
|
5255
|
-
}
|
|
5256
|
-
function getFees(scenario) {
|
|
5257
|
-
if (scenario === 'ParaToRelay') {
|
|
5258
|
-
console.log('Asigning fees for transfer to Relay chain');
|
|
5259
|
-
return 4600000000;
|
|
5260
|
-
} else if (scenario === 'ParaToPara') {
|
|
5261
|
-
console.log('Asigning fees for transfer to another Parachain chain');
|
|
5262
|
-
return 399600000000;
|
|
5263
|
-
}
|
|
5264
|
-
throw new Error("Fees for scenario ".concat(scenario, " are not defined."));
|
|
5265
|
-
}
|
|
5266
|
-
function handleAddress(scenario, pallet, api, to, version, nodeId) {
|
|
5267
|
-
if (scenario === 'ParaToRelay' && pallet === 'xTokens') {
|
|
5268
|
-
console.log('AccountId32 transfer');
|
|
5269
|
-
if (version === exports.Version.V3) {
|
|
5270
|
-
return {
|
|
5271
|
-
V3: {
|
|
5272
|
-
parents: 1,
|
|
5273
|
-
interior: {
|
|
5274
|
-
X1: {
|
|
5275
|
-
AccountId32: {
|
|
5276
|
-
id: createAccID(api, to)
|
|
5277
|
-
}
|
|
5278
|
-
}
|
|
5279
|
-
}
|
|
5280
|
-
}
|
|
5281
|
-
};
|
|
5282
|
-
}
|
|
5283
|
-
return {
|
|
5284
|
-
V1: {
|
|
5285
|
-
parents: 1,
|
|
5286
|
-
interior: {
|
|
5287
|
-
X1: {
|
|
5288
|
-
AccountId32: {
|
|
5289
|
-
network: 'any',
|
|
5290
|
-
id: createAccID(api, to)
|
|
5291
|
-
}
|
|
5292
|
-
}
|
|
5293
|
-
}
|
|
5294
|
-
}
|
|
5295
|
-
};
|
|
5952
|
+
};
|
|
5953
|
+
var getFees = function getFees(scenario) {
|
|
5954
|
+
if (scenario === 'ParaToRelay') {
|
|
5955
|
+
console.log('Asigning fees for transfer to Relay chain');
|
|
5956
|
+
return 4600000000;
|
|
5957
|
+
} else if (scenario === 'ParaToPara') {
|
|
5958
|
+
console.log('Asigning fees for transfer to another Parachain chain');
|
|
5959
|
+
return 399600000000;
|
|
5296
5960
|
}
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
}]
|
|
5312
|
-
}
|
|
5313
|
-
}
|
|
5314
|
-
};
|
|
5315
|
-
}
|
|
5316
|
-
return {
|
|
5317
|
-
V1: {
|
|
5318
|
-
parents: 1,
|
|
5319
|
-
interior: {
|
|
5320
|
-
X2: [{
|
|
5321
|
-
Parachain: nodeId
|
|
5322
|
-
}, {
|
|
5323
|
-
AccountKey20: {
|
|
5324
|
-
network: 'Any',
|
|
5325
|
-
key: to
|
|
5326
|
-
}
|
|
5327
|
-
}]
|
|
5328
|
-
}
|
|
5961
|
+
throw new Error("Fees for scenario ".concat(scenario, " are not defined."));
|
|
5962
|
+
};
|
|
5963
|
+
var generateAddressPayload = function generateAddressPayload(api, scenario, pallet, recipientAddress, version, nodeId) {
|
|
5964
|
+
var isEthAddress = ethers.ethers.utils.isAddress(recipientAddress);
|
|
5965
|
+
if (scenario === 'ParaToRelay') {
|
|
5966
|
+
return _defineProperty({}, version, {
|
|
5967
|
+
parents: pallet === 'XTokens' ? 1 : 0,
|
|
5968
|
+
interior: {
|
|
5969
|
+
X1: {
|
|
5970
|
+
AccountId32: Object.assign(Object.assign({}, version === exports.Version.V1 && {
|
|
5971
|
+
network: 'any'
|
|
5972
|
+
}), {
|
|
5973
|
+
id: createAccID(api, recipientAddress)
|
|
5974
|
+
})
|
|
5329
5975
|
}
|
|
5330
|
-
};
|
|
5331
|
-
} else {
|
|
5332
|
-
console.log('AccountId32 transfer');
|
|
5333
|
-
if (version === exports.Version.V3) {
|
|
5334
|
-
return {
|
|
5335
|
-
V3: {
|
|
5336
|
-
parents: 1,
|
|
5337
|
-
interior: {
|
|
5338
|
-
X2: [{
|
|
5339
|
-
Parachain: nodeId
|
|
5340
|
-
}, {
|
|
5341
|
-
AccountId32: {
|
|
5342
|
-
id: createAccID(api, to)
|
|
5343
|
-
}
|
|
5344
|
-
}]
|
|
5345
|
-
}
|
|
5346
|
-
}
|
|
5347
|
-
};
|
|
5348
5976
|
}
|
|
5349
|
-
|
|
5350
|
-
V1: {
|
|
5351
|
-
parents: 1,
|
|
5352
|
-
interior: {
|
|
5353
|
-
X2: [{
|
|
5354
|
-
Parachain: nodeId
|
|
5355
|
-
}, {
|
|
5356
|
-
AccountId32: {
|
|
5357
|
-
network: 'Any',
|
|
5358
|
-
id: createAccID(api, to)
|
|
5359
|
-
}
|
|
5360
|
-
}]
|
|
5361
|
-
}
|
|
5362
|
-
}
|
|
5363
|
-
};
|
|
5364
|
-
}
|
|
5365
|
-
}
|
|
5366
|
-
if (scenario === 'ParaToRelay' && pallet === 'polkadotXCM') {
|
|
5367
|
-
console.log('AccountId32 transfer');
|
|
5368
|
-
if (version === exports.Version.V3) {
|
|
5369
|
-
return {
|
|
5370
|
-
V3: {
|
|
5371
|
-
parents: 0,
|
|
5372
|
-
interior: {
|
|
5373
|
-
X1: {
|
|
5374
|
-
AccountId32: {
|
|
5375
|
-
id: createAccID(api, to)
|
|
5376
|
-
}
|
|
5377
|
-
}
|
|
5378
|
-
}
|
|
5379
|
-
}
|
|
5380
|
-
};
|
|
5381
|
-
} else {
|
|
5382
|
-
return {
|
|
5383
|
-
V1: {
|
|
5384
|
-
parents: 0,
|
|
5385
|
-
interior: {
|
|
5386
|
-
X1: {
|
|
5387
|
-
AccountId32: {
|
|
5388
|
-
network: 'any',
|
|
5389
|
-
id: createAccID(api, to)
|
|
5390
|
-
}
|
|
5391
|
-
}
|
|
5392
|
-
}
|
|
5393
|
-
}
|
|
5394
|
-
};
|
|
5395
|
-
}
|
|
5977
|
+
});
|
|
5396
5978
|
}
|
|
5397
|
-
if (scenario === 'ParaToPara' && pallet === '
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
}
|
|
5411
|
-
}
|
|
5412
|
-
};
|
|
5413
|
-
} else {
|
|
5414
|
-
return {
|
|
5415
|
-
V1: {
|
|
5416
|
-
parents: 0,
|
|
5417
|
-
interior: {
|
|
5418
|
-
X1: {
|
|
5419
|
-
AccountKey20: {
|
|
5420
|
-
network: 'Any',
|
|
5421
|
-
key: to
|
|
5422
|
-
}
|
|
5423
|
-
}
|
|
5424
|
-
}
|
|
5425
|
-
}
|
|
5426
|
-
};
|
|
5979
|
+
if (scenario === 'ParaToPara' && pallet === 'XTokens') {
|
|
5980
|
+
return _defineProperty({}, version, {
|
|
5981
|
+
parents: 1,
|
|
5982
|
+
interior: {
|
|
5983
|
+
X2: [{
|
|
5984
|
+
Parachain: nodeId
|
|
5985
|
+
}, _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign(Object.assign({}, version === exports.Version.V1 && {
|
|
5986
|
+
network: 'any'
|
|
5987
|
+
}), isEthAddress ? {
|
|
5988
|
+
key: recipientAddress
|
|
5989
|
+
} : {
|
|
5990
|
+
id: createAccID(api, recipientAddress)
|
|
5991
|
+
}))]
|
|
5427
5992
|
}
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
}
|
|
5442
|
-
};
|
|
5443
|
-
} else {
|
|
5444
|
-
return {
|
|
5445
|
-
V1: {
|
|
5446
|
-
parents: 0,
|
|
5447
|
-
interior: {
|
|
5448
|
-
X1: {
|
|
5449
|
-
AccountId32: {
|
|
5450
|
-
network: 'Any',
|
|
5451
|
-
id: createAccID(api, to)
|
|
5452
|
-
}
|
|
5453
|
-
}
|
|
5454
|
-
}
|
|
5455
|
-
}
|
|
5456
|
-
};
|
|
5993
|
+
});
|
|
5994
|
+
}
|
|
5995
|
+
if (scenario === 'ParaToPara' && pallet === 'PolkadotXcm') {
|
|
5996
|
+
return _defineProperty({}, version, {
|
|
5997
|
+
parents: 0,
|
|
5998
|
+
interior: {
|
|
5999
|
+
X1: _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign(Object.assign({}, version === exports.Version.V1 && {
|
|
6000
|
+
network: 'any'
|
|
6001
|
+
}), isEthAddress ? {
|
|
6002
|
+
key: recipientAddress
|
|
6003
|
+
} : {
|
|
6004
|
+
id: createAccID(api, recipientAddress)
|
|
6005
|
+
}))
|
|
5457
6006
|
}
|
|
5458
|
-
}
|
|
6007
|
+
});
|
|
5459
6008
|
}
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
}
|
|
5471
|
-
}
|
|
5472
|
-
}
|
|
5473
|
-
}
|
|
5474
|
-
};
|
|
5475
|
-
} else {
|
|
5476
|
-
console.log('AccountId32 transfer');
|
|
5477
|
-
return {
|
|
5478
|
-
V3: {
|
|
5479
|
-
parents: 0,
|
|
5480
|
-
interior: {
|
|
5481
|
-
X1: {
|
|
5482
|
-
AccountId32: {
|
|
5483
|
-
id: createAccID(api, to)
|
|
5484
|
-
}
|
|
5485
|
-
}
|
|
5486
|
-
}
|
|
5487
|
-
}
|
|
5488
|
-
};
|
|
6009
|
+
return {
|
|
6010
|
+
V3: {
|
|
6011
|
+
parents: 0,
|
|
6012
|
+
interior: {
|
|
6013
|
+
X1: _defineProperty({}, isEthAddress ? 'AccountKey20' : 'AccountId32', Object.assign({}, isEthAddress ? {
|
|
6014
|
+
key: recipientAddress
|
|
6015
|
+
} : {
|
|
6016
|
+
id: createAccID(api, recipientAddress)
|
|
6017
|
+
}))
|
|
6018
|
+
}
|
|
5489
6019
|
}
|
|
5490
|
-
}
|
|
5491
|
-
}
|
|
5492
|
-
function createCurrencySpecification(amount, scenario, version, node, cur) {
|
|
6020
|
+
};
|
|
6021
|
+
};
|
|
6022
|
+
var createCurrencySpecification = function createCurrencySpecification(amount, scenario, version, node, cur) {
|
|
5493
6023
|
if (scenario === 'ParaToRelay') {
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
Fungible: amount
|
|
5506
|
-
}
|
|
5507
|
-
}]
|
|
5508
|
-
};
|
|
5509
|
-
} else {
|
|
5510
|
-
return {
|
|
5511
|
-
V1: [{
|
|
5512
|
-
id: {
|
|
5513
|
-
Concrete: {
|
|
5514
|
-
parents: 1,
|
|
5515
|
-
interior: 'Here'
|
|
5516
|
-
}
|
|
5517
|
-
},
|
|
5518
|
-
fun: {
|
|
5519
|
-
Fungible: amount
|
|
5520
|
-
}
|
|
5521
|
-
}]
|
|
5522
|
-
};
|
|
5523
|
-
}
|
|
6024
|
+
return _defineProperty({}, version, [{
|
|
6025
|
+
id: {
|
|
6026
|
+
Concrete: {
|
|
6027
|
+
parents: 1,
|
|
6028
|
+
interior: 'Here'
|
|
6029
|
+
}
|
|
6030
|
+
},
|
|
6031
|
+
fun: {
|
|
6032
|
+
Fungible: amount
|
|
6033
|
+
}
|
|
6034
|
+
}]);
|
|
5524
6035
|
}
|
|
5525
6036
|
if (scenario === 'RelayToPara' || scenario === 'ParaToPara') {
|
|
5526
6037
|
console.log('polkadotXCM Native currency to sender chain transfer');
|
|
@@ -5543,8 +6054,8 @@ function createCurrencySpecification(amount, scenario, version, node, cur) {
|
|
|
5543
6054
|
}
|
|
5544
6055
|
}]
|
|
5545
6056
|
};
|
|
5546
|
-
} else if ((node === '
|
|
5547
|
-
// Another specific case for
|
|
6057
|
+
} else if ((node === 'AssetHubPolkadot' || node === 'AssetHubKusama') && scenario === 'ParaToPara') {
|
|
6058
|
+
// Another specific case for AssetHubPolkadot & AssetHubKusama to send for example USDt
|
|
5548
6059
|
return {
|
|
5549
6060
|
V3: [{
|
|
5550
6061
|
id: {
|
|
@@ -5580,85 +6091,77 @@ function createCurrencySpecification(amount, scenario, version, node, cur) {
|
|
|
5580
6091
|
}]
|
|
5581
6092
|
};
|
|
5582
6093
|
}
|
|
5583
|
-
}
|
|
5584
|
-
function createHeaderPolkadotXCM(scenario, version, nodeId) {
|
|
5585
|
-
console.log('Generating header for polkadotXCM transfer');
|
|
6094
|
+
};
|
|
6095
|
+
var createHeaderPolkadotXCM = function createHeaderPolkadotXCM(scenario, version, nodeId) {
|
|
5586
6096
|
if (scenario === 'ParaToRelay') {
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
interior: 'Here'
|
|
5592
|
-
}
|
|
5593
|
-
};
|
|
5594
|
-
} else {
|
|
5595
|
-
return {
|
|
5596
|
-
V1: {
|
|
5597
|
-
parents: 1,
|
|
5598
|
-
interior: 'Here'
|
|
5599
|
-
}
|
|
5600
|
-
};
|
|
5601
|
-
}
|
|
6097
|
+
return _defineProperty({}, version, {
|
|
6098
|
+
parents: 1,
|
|
6099
|
+
interior: 'Here'
|
|
6100
|
+
});
|
|
5602
6101
|
}
|
|
5603
6102
|
if (scenario === 'ParaToPara') {
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
X1: {
|
|
5610
|
-
Parachain: nodeId
|
|
5611
|
-
}
|
|
5612
|
-
}
|
|
5613
|
-
}
|
|
5614
|
-
};
|
|
5615
|
-
} else {
|
|
5616
|
-
return {
|
|
5617
|
-
V1: {
|
|
5618
|
-
parents: 1,
|
|
5619
|
-
interior: {
|
|
5620
|
-
X1: {
|
|
5621
|
-
Parachain: nodeId
|
|
5622
|
-
}
|
|
5623
|
-
}
|
|
6103
|
+
return _defineProperty({}, version, {
|
|
6104
|
+
parents: 1,
|
|
6105
|
+
interior: {
|
|
6106
|
+
X1: {
|
|
6107
|
+
Parachain: nodeId
|
|
5624
6108
|
}
|
|
5625
|
-
}
|
|
5626
|
-
}
|
|
6109
|
+
}
|
|
6110
|
+
});
|
|
5627
6111
|
}
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
Parachain: nodeId
|
|
5635
|
-
}
|
|
6112
|
+
return {
|
|
6113
|
+
V3: {
|
|
6114
|
+
parents: 0,
|
|
6115
|
+
interior: {
|
|
6116
|
+
X1: {
|
|
6117
|
+
Parachain: nodeId
|
|
5636
6118
|
}
|
|
5637
6119
|
}
|
|
5638
|
-
}
|
|
5639
|
-
}
|
|
5640
|
-
}
|
|
5641
|
-
function getNode(node) {
|
|
6120
|
+
}
|
|
6121
|
+
};
|
|
6122
|
+
};
|
|
6123
|
+
var getNode = function getNode(node) {
|
|
5642
6124
|
return nodes[node];
|
|
5643
|
-
}
|
|
5644
|
-
function getNodeEndpointOption(node) {
|
|
6125
|
+
};
|
|
6126
|
+
var getNodeEndpointOption = function getNodeEndpointOption(node) {
|
|
5645
6127
|
var _getNode = getNode(node),
|
|
5646
6128
|
type = _getNode.type,
|
|
5647
6129
|
name = _getNode.name;
|
|
5648
|
-
var
|
|
5649
|
-
linked =
|
|
6130
|
+
var _ref8 = type === 'polkadot' ? endpoints.prodRelayPolkadot : endpoints.prodRelayKusama,
|
|
6131
|
+
linked = _ref8.linked;
|
|
6132
|
+
// TMP Fix because some nodes don't have providers in endpoint options
|
|
6133
|
+
if (node === 'Imbue') {
|
|
6134
|
+
return {
|
|
6135
|
+
info: 'imbue',
|
|
6136
|
+
paraId: 2121,
|
|
6137
|
+
providers: {
|
|
6138
|
+
'Imbue Network 0': 'wss://kusama.imbuenetwork.com'
|
|
6139
|
+
}
|
|
6140
|
+
};
|
|
6141
|
+
}
|
|
6142
|
+
if (node === 'Polkadex') {
|
|
6143
|
+
return {
|
|
6144
|
+
info: 'polkadex',
|
|
6145
|
+
paraId: 2040,
|
|
6146
|
+
providers: {
|
|
6147
|
+
Dwellir: 'wss://polkadex-rpc.dwellir.com',
|
|
6148
|
+
OnFinality: 'wss://polkadex-parachain.api.onfinality.io/public-ws',
|
|
6149
|
+
RadiumBlock: 'wss://polkadex-parachain.public.curie.radiumblock.co/ws'
|
|
6150
|
+
}
|
|
6151
|
+
};
|
|
6152
|
+
}
|
|
5650
6153
|
return linked ? linked.find(function (o) {
|
|
5651
6154
|
return o.info === name;
|
|
5652
6155
|
}) : undefined;
|
|
5653
|
-
}
|
|
6156
|
+
};
|
|
5654
6157
|
var lowercaseFirstLetter = function lowercaseFirstLetter(str) {
|
|
5655
6158
|
return str.charAt(0).toLowerCase() + str.slice(1);
|
|
5656
6159
|
};
|
|
5657
|
-
var callPolkadotJsTxFunction = function callPolkadotJsTxFunction(api,
|
|
6160
|
+
var callPolkadotJsTxFunction = function callPolkadotJsTxFunction(api, _ref9) {
|
|
5658
6161
|
var _api$tx$module;
|
|
5659
|
-
var module =
|
|
5660
|
-
section =
|
|
5661
|
-
parameters =
|
|
6162
|
+
var module = _ref9.module,
|
|
6163
|
+
section = _ref9.section,
|
|
6164
|
+
parameters = _ref9.parameters;
|
|
5662
6165
|
return (_api$tx$module = api.tx[module])[section].apply(_api$tx$module, _toConsumableArray(parameters));
|
|
5663
6166
|
};
|
|
5664
6167
|
|
|
@@ -5686,33 +6189,6 @@ var getAssetBySymbolOrId = function getAssetBySymbolOrId(node, symbolOrId) {
|
|
|
5686
6189
|
return null;
|
|
5687
6190
|
};
|
|
5688
6191
|
|
|
5689
|
-
// Used to inform user, that Parachain they wish to use is not supported yet
|
|
5690
|
-
var NodeNotSupportedError = /*#__PURE__*/function (_Error) {
|
|
5691
|
-
_inherits(NodeNotSupportedError, _Error);
|
|
5692
|
-
var _super = _createSuper(NodeNotSupportedError);
|
|
5693
|
-
function NodeNotSupportedError(message) {
|
|
5694
|
-
var _this;
|
|
5695
|
-
_classCallCheck(this, NodeNotSupportedError);
|
|
5696
|
-
_this = _super.call(this, message);
|
|
5697
|
-
_this.name = 'NodeNotSupported';
|
|
5698
|
-
return _this;
|
|
5699
|
-
}
|
|
5700
|
-
return _createClass(NodeNotSupportedError);
|
|
5701
|
-
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
5702
|
-
|
|
5703
|
-
var IncompatibleNodesError = /*#__PURE__*/function (_Error) {
|
|
5704
|
-
_inherits(IncompatibleNodesError, _Error);
|
|
5705
|
-
var _super = _createSuper(IncompatibleNodesError);
|
|
5706
|
-
function IncompatibleNodesError() {
|
|
5707
|
-
var _this;
|
|
5708
|
-
_classCallCheck(this, IncompatibleNodesError);
|
|
5709
|
-
_this = _super.call(this, 'Transactions between nodes on different relaychains are not yet possible.');
|
|
5710
|
-
_this.name = 'IncompatibleNodes';
|
|
5711
|
-
return _this;
|
|
5712
|
-
}
|
|
5713
|
-
return _createClass(IncompatibleNodesError);
|
|
5714
|
-
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
5715
|
-
|
|
5716
6192
|
// Contains basic call formatting for different XCM Palletss
|
|
5717
6193
|
var sendCommon = function sendCommon(api, origin, currencySymbolOrId, amount, to, destination) {
|
|
5718
6194
|
var serializedApiCallEnabled = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
|
|
@@ -5727,7 +6203,7 @@ var sendCommon = function sendCommon(api, origin, currencySymbolOrId, amount, to
|
|
|
5727
6203
|
if (!asset) {
|
|
5728
6204
|
throw new InvalidCurrencyError("Origin node ".concat(origin, " does not support currency or currencyId ").concat(currencySymbolOrId, "."));
|
|
5729
6205
|
}
|
|
5730
|
-
if (destination && !hasSupportForAsset(destination, asset.symbol)) {
|
|
6206
|
+
if (destination && asset.symbol && !hasSupportForAsset(destination, asset.symbol)) {
|
|
5731
6207
|
throw new InvalidCurrencyError("Destination node ".concat(destination, " does not support currency or currencyId ").concat(currencySymbolOrId, "."));
|
|
5732
6208
|
}
|
|
5733
6209
|
var currencySymbol = asset.symbol,
|
|
@@ -5744,12 +6220,12 @@ function send(api, origin, currencySymbolOrId, amount, to, destination) {
|
|
|
5744
6220
|
var transferRelayToParaCommon = function transferRelayToParaCommon(api, destination, amount, to) {
|
|
5745
6221
|
var serializedApiCallEnabled = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
5746
6222
|
var paraId = getParaId(destination);
|
|
5747
|
-
if (destination === '
|
|
5748
|
-
// Same for
|
|
6223
|
+
if (destination === 'AssetHubPolkadot' || destination === 'AssetHubKusama') {
|
|
6224
|
+
// Same for AssetHubPolkadot, AssetHubKusama and Encoiter
|
|
5749
6225
|
var _serializedApiCall = {
|
|
5750
6226
|
module: 'xcmPallet',
|
|
5751
6227
|
section: 'limitedTeleportAssets',
|
|
5752
|
-
parameters: [createHeaderPolkadotXCM('RelayToPara', exports.Version.V3, paraId),
|
|
6228
|
+
parameters: [createHeaderPolkadotXCM('RelayToPara', exports.Version.V3, paraId), generateAddressPayload(api, 'RelayToPara', null, to, exports.Version.V3, paraId), createCurrencySpecification(amount, 'RelayToPara', exports.Version.V3, destination), 0, 'Unlimited']
|
|
5753
6229
|
};
|
|
5754
6230
|
if (serializedApiCallEnabled) {
|
|
5755
6231
|
return _serializedApiCall;
|
|
@@ -5759,20 +6235,20 @@ var transferRelayToParaCommon = function transferRelayToParaCommon(api, destinat
|
|
|
5759
6235
|
var _serializedApiCall2 = {
|
|
5760
6236
|
module: 'xcmPallet',
|
|
5761
6237
|
section: 'limitedTeleportAssets',
|
|
5762
|
-
parameters: [createHeaderPolkadotXCM('RelayToPara', exports.Version.V1, paraId),
|
|
6238
|
+
parameters: [createHeaderPolkadotXCM('RelayToPara', exports.Version.V1, paraId), generateAddressPayload(api, 'RelayToPara', null, to, exports.Version.V1, paraId), createCurrencySpecification(amount, 'RelayToPara', exports.Version.V1, destination), 0, 'Unlimited']
|
|
5763
6239
|
};
|
|
5764
6240
|
if (serializedApiCallEnabled) {
|
|
5765
6241
|
return _serializedApiCall2;
|
|
5766
6242
|
}
|
|
5767
6243
|
return callPolkadotJsTxFunction(api, _serializedApiCall2);
|
|
5768
|
-
} else if (destination === 'Darwinia' || destination === 'Crab') {
|
|
6244
|
+
} else if (destination === 'Darwinia' || destination === 'Crab' || destination === 'Integritee' || destination === 'Nodle' || destination === 'Pendulum') {
|
|
5769
6245
|
// Do not do anything because Darwinia and Crab does not have DOT and KSM registered
|
|
5770
6246
|
throw new NodeNotSupportedError('These nodes do not support XCM transfers from Relay / to Relay chain.');
|
|
5771
6247
|
}
|
|
5772
6248
|
var serializedApiCall = {
|
|
5773
6249
|
module: 'xcmPallet',
|
|
5774
6250
|
section: 'reserveTransferAssets',
|
|
5775
|
-
parameters: [createHeaderPolkadotXCM('RelayToPara', exports.Version.V3, paraId),
|
|
6251
|
+
parameters: [createHeaderPolkadotXCM('RelayToPara', exports.Version.V3, paraId), generateAddressPayload(api, 'RelayToPara', null, to, exports.Version.V3, paraId), createCurrencySpecification(amount, 'RelayToPara', exports.Version.V3, destination), 0]
|
|
5776
6252
|
};
|
|
5777
6253
|
if (serializedApiCallEnabled) {
|
|
5778
6254
|
return serializedApiCall;
|
|
@@ -6376,7 +6852,7 @@ function Builder(api) {
|
|
|
6376
6852
|
return new GeneralBuilder(api);
|
|
6377
6853
|
}
|
|
6378
6854
|
|
|
6379
|
-
var
|
|
6855
|
+
var AssetHubPolkadot = {
|
|
6380
6856
|
defaultPallet: "PolkadotXcm",
|
|
6381
6857
|
supportedPallets: [
|
|
6382
6858
|
"PolkadotXcm"
|
|
@@ -6477,7 +6953,7 @@ var Parallel = {
|
|
|
6477
6953
|
"XTokens"
|
|
6478
6954
|
]
|
|
6479
6955
|
};
|
|
6480
|
-
var
|
|
6956
|
+
var AssetHubKusama = {
|
|
6481
6957
|
defaultPallet: "PolkadotXcm",
|
|
6482
6958
|
supportedPallets: [
|
|
6483
6959
|
"PolkadotXcm"
|
|
@@ -6550,13 +7026,6 @@ var Crab = {
|
|
|
6550
7026
|
"PolkadotXcm"
|
|
6551
7027
|
]
|
|
6552
7028
|
};
|
|
6553
|
-
var Dorafactory = {
|
|
6554
|
-
defaultPallet: "XTokens",
|
|
6555
|
-
supportedPallets: [
|
|
6556
|
-
"PolkadotXcm",
|
|
6557
|
-
"XTokens"
|
|
6558
|
-
]
|
|
6559
|
-
};
|
|
6560
7029
|
var Imbue = {
|
|
6561
7030
|
defaultPallet: "XTokens",
|
|
6562
7031
|
supportedPallets: [
|
|
@@ -6585,13 +7054,6 @@ var Karura = {
|
|
|
6585
7054
|
"XTokens"
|
|
6586
7055
|
]
|
|
6587
7056
|
};
|
|
6588
|
-
var Kico = {
|
|
6589
|
-
defaultPallet: "XTokens",
|
|
6590
|
-
supportedPallets: [
|
|
6591
|
-
"XTokens",
|
|
6592
|
-
"PolkadotXcm"
|
|
6593
|
-
]
|
|
6594
|
-
};
|
|
6595
7057
|
var Kintsugi = {
|
|
6596
7058
|
defaultPallet: "XTokens",
|
|
6597
7059
|
supportedPallets: [
|
|
@@ -6634,13 +7096,6 @@ var Picasso = {
|
|
|
6634
7096
|
"XTokens"
|
|
6635
7097
|
]
|
|
6636
7098
|
};
|
|
6637
|
-
var Pichiu = {
|
|
6638
|
-
defaultPallet: "OrmlXTokens",
|
|
6639
|
-
supportedPallets: [
|
|
6640
|
-
"PolkadotXcm",
|
|
6641
|
-
"OrmlXTokens"
|
|
6642
|
-
]
|
|
6643
|
-
};
|
|
6644
7099
|
var Quartz = {
|
|
6645
7100
|
defaultPallet: "XTokens",
|
|
6646
7101
|
supportedPallets: [
|
|
@@ -6687,21 +7142,55 @@ var Crust = {
|
|
|
6687
7142
|
"XTokens"
|
|
6688
7143
|
]
|
|
6689
7144
|
};
|
|
6690
|
-
var
|
|
7145
|
+
var Manta = {
|
|
7146
|
+
defaultPallet: "XTokens",
|
|
7147
|
+
supportedPallets: [
|
|
7148
|
+
"PolkadotXcm",
|
|
7149
|
+
"XTokens"
|
|
7150
|
+
]
|
|
7151
|
+
};
|
|
7152
|
+
var Genshiro = {
|
|
7153
|
+
defaultPallet: "PolkadotXcm",
|
|
7154
|
+
supportedPallets: [
|
|
7155
|
+
"PolkadotXcm"
|
|
7156
|
+
]
|
|
7157
|
+
};
|
|
7158
|
+
var Nodle = {
|
|
6691
7159
|
defaultPallet: "XTokens",
|
|
6692
7160
|
supportedPallets: [
|
|
6693
7161
|
"PolkadotXcm",
|
|
6694
7162
|
"XTokens"
|
|
6695
7163
|
]
|
|
6696
7164
|
};
|
|
6697
|
-
var
|
|
7165
|
+
var OriginTrail = {
|
|
6698
7166
|
defaultPallet: "PolkadotXcm",
|
|
6699
7167
|
supportedPallets: [
|
|
6700
7168
|
"PolkadotXcm"
|
|
6701
7169
|
]
|
|
6702
7170
|
};
|
|
7171
|
+
var Pendulum = {
|
|
7172
|
+
defaultPallet: "XTokens",
|
|
7173
|
+
supportedPallets: [
|
|
7174
|
+
"PolkadotXcm",
|
|
7175
|
+
"XTokens"
|
|
7176
|
+
]
|
|
7177
|
+
};
|
|
7178
|
+
var Zeitgeist = {
|
|
7179
|
+
defaultPallet: "XTokens",
|
|
7180
|
+
supportedPallets: [
|
|
7181
|
+
"PolkadotXcm",
|
|
7182
|
+
"XTokens"
|
|
7183
|
+
]
|
|
7184
|
+
};
|
|
7185
|
+
var Polkadex = {
|
|
7186
|
+
defaultPallet: "XTokens",
|
|
7187
|
+
supportedPallets: [
|
|
7188
|
+
"PolkadotXcm",
|
|
7189
|
+
"XTokens"
|
|
7190
|
+
]
|
|
7191
|
+
};
|
|
6703
7192
|
var pallets = {
|
|
6704
|
-
|
|
7193
|
+
AssetHubPolkadot: AssetHubPolkadot,
|
|
6705
7194
|
Acala: Acala,
|
|
6706
7195
|
Astar: Astar,
|
|
6707
7196
|
BifrostPolkadot: BifrostPolkadot,
|
|
@@ -6716,7 +7205,7 @@ var pallets = {
|
|
|
6716
7205
|
Litentry: Litentry,
|
|
6717
7206
|
Moonbeam: Moonbeam,
|
|
6718
7207
|
Parallel: Parallel,
|
|
6719
|
-
|
|
7208
|
+
AssetHubKusama: AssetHubKusama,
|
|
6720
7209
|
Encointer: Encointer,
|
|
6721
7210
|
Altair: Altair,
|
|
6722
7211
|
Amplitude: Amplitude,
|
|
@@ -6727,19 +7216,16 @@ var pallets = {
|
|
|
6727
7216
|
Calamari: Calamari,
|
|
6728
7217
|
CrustShadow: CrustShadow,
|
|
6729
7218
|
Crab: Crab,
|
|
6730
|
-
Dorafactory: Dorafactory,
|
|
6731
7219
|
Imbue: Imbue,
|
|
6732
7220
|
Integritee: Integritee,
|
|
6733
7221
|
InvArchTinker: InvArchTinker,
|
|
6734
7222
|
Karura: Karura,
|
|
6735
|
-
Kico: Kico,
|
|
6736
7223
|
Kintsugi: Kintsugi,
|
|
6737
7224
|
Litmus: Litmus,
|
|
6738
7225
|
Mangata: Mangata,
|
|
6739
7226
|
Moonriver: Moonriver,
|
|
6740
7227
|
ParallelHeiko: ParallelHeiko,
|
|
6741
7228
|
Picasso: Picasso,
|
|
6742
|
-
Pichiu: Pichiu,
|
|
6743
7229
|
Quartz: Quartz,
|
|
6744
7230
|
Robonomics: Robonomics,
|
|
6745
7231
|
Shiden: Shiden,
|
|
@@ -6747,8 +7233,13 @@ var pallets = {
|
|
|
6747
7233
|
Equilibrium: Equilibrium,
|
|
6748
7234
|
Unique: Unique,
|
|
6749
7235
|
Crust: Crust,
|
|
6750
|
-
|
|
6751
|
-
|
|
7236
|
+
Manta: Manta,
|
|
7237
|
+
Genshiro: Genshiro,
|
|
7238
|
+
Nodle: Nodle,
|
|
7239
|
+
OriginTrail: OriginTrail,
|
|
7240
|
+
Pendulum: Pendulum,
|
|
7241
|
+
Zeitgeist: Zeitgeist,
|
|
7242
|
+
Polkadex: Polkadex
|
|
6752
7243
|
};
|
|
6753
7244
|
|
|
6754
7245
|
var palletsMapJson = /*#__PURE__*/Object.freeze({
|
|
@@ -6756,6 +7247,8 @@ var palletsMapJson = /*#__PURE__*/Object.freeze({
|
|
|
6756
7247
|
Acala: Acala,
|
|
6757
7248
|
Altair: Altair,
|
|
6758
7249
|
Amplitude: Amplitude,
|
|
7250
|
+
AssetHubKusama: AssetHubKusama,
|
|
7251
|
+
AssetHubPolkadot: AssetHubPolkadot,
|
|
6759
7252
|
Astar: Astar,
|
|
6760
7253
|
Bajun: Bajun,
|
|
6761
7254
|
Basilisk: Basilisk,
|
|
@@ -6770,37 +7263,37 @@ var palletsMapJson = /*#__PURE__*/Object.freeze({
|
|
|
6770
7263
|
Crust: Crust,
|
|
6771
7264
|
CrustShadow: CrustShadow,
|
|
6772
7265
|
Darwinia: Darwinia,
|
|
6773
|
-
Dorafactory: Dorafactory,
|
|
6774
|
-
Efinity: Efinity,
|
|
6775
7266
|
Encointer: Encointer,
|
|
6776
7267
|
Equilibrium: Equilibrium,
|
|
7268
|
+
Genshiro: Genshiro,
|
|
6777
7269
|
HydraDX: HydraDX,
|
|
6778
7270
|
Imbue: Imbue,
|
|
6779
7271
|
Integritee: Integritee,
|
|
6780
7272
|
Interlay: Interlay,
|
|
6781
7273
|
InvArchTinker: InvArchTinker,
|
|
6782
|
-
Ipci: Ipci,
|
|
6783
7274
|
Karura: Karura,
|
|
6784
|
-
Kico: Kico,
|
|
6785
7275
|
Kintsugi: Kintsugi,
|
|
6786
7276
|
Kylin: Kylin,
|
|
6787
7277
|
Litentry: Litentry,
|
|
6788
7278
|
Litmus: Litmus,
|
|
6789
7279
|
Mangata: Mangata,
|
|
7280
|
+
Manta: Manta,
|
|
6790
7281
|
Moonbeam: Moonbeam,
|
|
6791
7282
|
Moonriver: Moonriver,
|
|
7283
|
+
Nodle: Nodle,
|
|
7284
|
+
OriginTrail: OriginTrail,
|
|
6792
7285
|
Parallel: Parallel,
|
|
6793
7286
|
ParallelHeiko: ParallelHeiko,
|
|
7287
|
+
Pendulum: Pendulum,
|
|
6794
7288
|
Picasso: Picasso,
|
|
6795
|
-
Pichiu: Pichiu,
|
|
6796
7289
|
Pioneer: Pioneer,
|
|
7290
|
+
Polkadex: Polkadex,
|
|
6797
7291
|
Quartz: Quartz,
|
|
6798
7292
|
Robonomics: Robonomics,
|
|
6799
7293
|
Shiden: Shiden,
|
|
6800
|
-
Statemine: Statemine,
|
|
6801
|
-
Statemint: Statemint,
|
|
6802
7294
|
Turing: Turing,
|
|
6803
7295
|
Unique: Unique,
|
|
7296
|
+
Zeitgeist: Zeitgeist,
|
|
6804
7297
|
default: pallets
|
|
6805
7298
|
});
|
|
6806
7299
|
|
|
@@ -6829,6 +7322,7 @@ exports.getAssetId = getAssetId;
|
|
|
6829
7322
|
exports.getAssetsObject = getAssetsObject;
|
|
6830
7323
|
exports.getDefaultPallet = getDefaultPallet;
|
|
6831
7324
|
exports.getNativeAssets = getNativeAssets;
|
|
7325
|
+
exports.getNode = getNode;
|
|
6832
7326
|
exports.getNodeEndpointOption = getNodeEndpointOption;
|
|
6833
7327
|
exports.getOtherAssets = getOtherAssets;
|
|
6834
7328
|
exports.getParaId = getParaId;
|