@paraspell/sdk 7.2.2 → 7.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1234 -856
- package/dist/index.d.ts +148 -156
- package/dist/index.mjs +1233 -855
- package/dist/papi/index.cjs +1237 -844
- package/dist/papi/index.d.ts +120 -124
- package/dist/papi/index.mjs +1236 -842
- package/package.json +1 -1
package/dist/papi/index.cjs
CHANGED
|
@@ -728,6 +728,26 @@ var DuplicateAssetIdError = /*#__PURE__*/function (_Error) {
|
|
|
728
728
|
return _createClass(DuplicateAssetIdError);
|
|
729
729
|
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
730
730
|
|
|
731
|
+
/**
|
|
732
|
+
* Error thrown when an invalid address is provided.
|
|
733
|
+
*/
|
|
734
|
+
var InvalidAddressError = /*#__PURE__*/function (_Error) {
|
|
735
|
+
/**
|
|
736
|
+
* Constructs a new InvalidAddressError.
|
|
737
|
+
*
|
|
738
|
+
* @param message - The error message.
|
|
739
|
+
*/
|
|
740
|
+
function InvalidAddressError(message) {
|
|
741
|
+
var _this;
|
|
742
|
+
_classCallCheck(this, InvalidAddressError);
|
|
743
|
+
_this = _callSuper(this, InvalidAddressError, [message]);
|
|
744
|
+
_this.name = 'InvalidAddressError';
|
|
745
|
+
return _this;
|
|
746
|
+
}
|
|
747
|
+
_inherits(InvalidAddressError, _Error);
|
|
748
|
+
return _createClass(InvalidAddressError);
|
|
749
|
+
}(/*#__PURE__*/_wrapNativeSuper(Error));
|
|
750
|
+
|
|
731
751
|
var KeepAliveError = /*#__PURE__*/function (_Error) {
|
|
732
752
|
function KeepAliveError(message) {
|
|
733
753
|
var _this;
|
|
@@ -743,6 +763,7 @@ var KeepAliveError = /*#__PURE__*/function (_Error) {
|
|
|
743
763
|
var Polkadot$2 = {
|
|
744
764
|
relayChainAssetSymbol: "DOT",
|
|
745
765
|
nativeAssetSymbol: "DOT",
|
|
766
|
+
isEVM: false,
|
|
746
767
|
nativeAssets: [
|
|
747
768
|
{
|
|
748
769
|
symbol: "DOT",
|
|
@@ -755,6 +776,7 @@ var Polkadot$2 = {
|
|
|
755
776
|
var Kusama$2 = {
|
|
756
777
|
relayChainAssetSymbol: "KSM",
|
|
757
778
|
nativeAssetSymbol: "KSM",
|
|
779
|
+
isEVM: false,
|
|
758
780
|
nativeAssets: [
|
|
759
781
|
{
|
|
760
782
|
symbol: "KSM",
|
|
@@ -767,6 +789,7 @@ var Kusama$2 = {
|
|
|
767
789
|
var Polimec$4 = {
|
|
768
790
|
relayChainAssetSymbol: "DOT",
|
|
769
791
|
nativeAssetSymbol: "PLMC",
|
|
792
|
+
isEVM: false,
|
|
770
793
|
nativeAssets: [
|
|
771
794
|
{
|
|
772
795
|
symbol: "PLMC",
|
|
@@ -826,6 +849,7 @@ var Polimec$4 = {
|
|
|
826
849
|
var Acala$4 = {
|
|
827
850
|
relayChainAssetSymbol: "DOT",
|
|
828
851
|
nativeAssetSymbol: "ACA",
|
|
852
|
+
isEVM: false,
|
|
829
853
|
nativeAssets: [
|
|
830
854
|
{
|
|
831
855
|
symbol: "ACA",
|
|
@@ -1006,7 +1030,10 @@ var Acala$4 = {
|
|
|
1006
1030
|
Parachain: 2011
|
|
1007
1031
|
},
|
|
1008
1032
|
{
|
|
1009
|
-
GeneralKey:
|
|
1033
|
+
GeneralKey: {
|
|
1034
|
+
length: 3,
|
|
1035
|
+
data: "0x6571640000000000000000000000000000000000000000000000000000000000"
|
|
1036
|
+
}
|
|
1010
1037
|
}
|
|
1011
1038
|
]
|
|
1012
1039
|
}
|
|
@@ -1037,7 +1064,10 @@ var Acala$4 = {
|
|
|
1037
1064
|
Parachain: 2012
|
|
1038
1065
|
},
|
|
1039
1066
|
{
|
|
1040
|
-
GeneralKey:
|
|
1067
|
+
GeneralKey: {
|
|
1068
|
+
length: 4,
|
|
1069
|
+
data: "0x5041524100000000000000000000000000000000000000000000000000000000"
|
|
1070
|
+
}
|
|
1041
1071
|
}
|
|
1042
1072
|
]
|
|
1043
1073
|
}
|
|
@@ -1055,7 +1085,10 @@ var Acala$4 = {
|
|
|
1055
1085
|
Parachain: 2031
|
|
1056
1086
|
},
|
|
1057
1087
|
{
|
|
1058
|
-
GeneralKey:
|
|
1088
|
+
GeneralKey: {
|
|
1089
|
+
length: 2,
|
|
1090
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
1091
|
+
}
|
|
1059
1092
|
}
|
|
1060
1093
|
]
|
|
1061
1094
|
}
|
|
@@ -1073,7 +1106,10 @@ var Acala$4 = {
|
|
|
1073
1106
|
Parachain: 2032
|
|
1074
1107
|
},
|
|
1075
1108
|
{
|
|
1076
|
-
GeneralKey:
|
|
1109
|
+
GeneralKey: {
|
|
1110
|
+
length: 2,
|
|
1111
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
1112
|
+
}
|
|
1077
1113
|
}
|
|
1078
1114
|
]
|
|
1079
1115
|
}
|
|
@@ -1091,7 +1127,10 @@ var Acala$4 = {
|
|
|
1091
1127
|
Parachain: 2032
|
|
1092
1128
|
},
|
|
1093
1129
|
{
|
|
1094
|
-
GeneralKey:
|
|
1130
|
+
GeneralKey: {
|
|
1131
|
+
length: 2,
|
|
1132
|
+
data: "0x0002000000000000000000000000000000000000000000000000000000000000"
|
|
1133
|
+
}
|
|
1095
1134
|
}
|
|
1096
1135
|
]
|
|
1097
1136
|
}
|
|
@@ -1159,6 +1198,7 @@ var Acala$4 = {
|
|
|
1159
1198
|
var BridgeHubPolkadot$4 = {
|
|
1160
1199
|
relayChainAssetSymbol: "DOT",
|
|
1161
1200
|
nativeAssetSymbol: "DOT",
|
|
1201
|
+
isEVM: false,
|
|
1162
1202
|
nativeAssets: [
|
|
1163
1203
|
{
|
|
1164
1204
|
symbol: "DOT",
|
|
@@ -1171,6 +1211,7 @@ var BridgeHubPolkadot$4 = {
|
|
|
1171
1211
|
var BridgeHubKusama$4 = {
|
|
1172
1212
|
relayChainAssetSymbol: "KSM",
|
|
1173
1213
|
nativeAssetSymbol: "KSM",
|
|
1214
|
+
isEVM: false,
|
|
1174
1215
|
nativeAssets: [
|
|
1175
1216
|
{
|
|
1176
1217
|
symbol: "KSM",
|
|
@@ -1183,6 +1224,7 @@ var BridgeHubKusama$4 = {
|
|
|
1183
1224
|
var Astar$4 = {
|
|
1184
1225
|
relayChainAssetSymbol: "DOT",
|
|
1185
1226
|
nativeAssetSymbol: "ASTR",
|
|
1227
|
+
isEVM: false,
|
|
1186
1228
|
nativeAssets: [
|
|
1187
1229
|
{
|
|
1188
1230
|
symbol: "ASTR",
|
|
@@ -1276,7 +1318,10 @@ var Astar$4 = {
|
|
|
1276
1318
|
Parachain: 2000
|
|
1277
1319
|
},
|
|
1278
1320
|
{
|
|
1279
|
-
GeneralKey:
|
|
1321
|
+
GeneralKey: {
|
|
1322
|
+
length: 2,
|
|
1323
|
+
data: "0x0003000000000000000000000000000000000000000000000000000000000000"
|
|
1324
|
+
}
|
|
1280
1325
|
}
|
|
1281
1326
|
]
|
|
1282
1327
|
}
|
|
@@ -1294,7 +1339,10 @@ var Astar$4 = {
|
|
|
1294
1339
|
Parachain: 2000
|
|
1295
1340
|
},
|
|
1296
1341
|
{
|
|
1297
|
-
GeneralKey:
|
|
1342
|
+
GeneralKey: {
|
|
1343
|
+
length: 2,
|
|
1344
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
1345
|
+
}
|
|
1298
1346
|
}
|
|
1299
1347
|
]
|
|
1300
1348
|
}
|
|
@@ -1312,7 +1360,10 @@ var Astar$4 = {
|
|
|
1312
1360
|
Parachain: 2000
|
|
1313
1361
|
},
|
|
1314
1362
|
{
|
|
1315
|
-
GeneralKey:
|
|
1363
|
+
GeneralKey: {
|
|
1364
|
+
length: 2,
|
|
1365
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
1366
|
+
}
|
|
1316
1367
|
}
|
|
1317
1368
|
]
|
|
1318
1369
|
}
|
|
@@ -1361,7 +1412,10 @@ var Astar$4 = {
|
|
|
1361
1412
|
Parachain: 2011
|
|
1362
1413
|
},
|
|
1363
1414
|
{
|
|
1364
|
-
GeneralKey:
|
|
1415
|
+
GeneralKey: {
|
|
1416
|
+
length: 3,
|
|
1417
|
+
data: "0x6571640000000000000000000000000000000000000000000000000000000000"
|
|
1418
|
+
}
|
|
1365
1419
|
}
|
|
1366
1420
|
]
|
|
1367
1421
|
}
|
|
@@ -1392,7 +1446,10 @@ var Astar$4 = {
|
|
|
1392
1446
|
Parachain: 2030
|
|
1393
1447
|
},
|
|
1394
1448
|
{
|
|
1395
|
-
GeneralKey:
|
|
1449
|
+
GeneralKey: {
|
|
1450
|
+
length: 2,
|
|
1451
|
+
data: "0x0804000000000000000000000000000000000000000000000000000000000000"
|
|
1452
|
+
}
|
|
1396
1453
|
}
|
|
1397
1454
|
]
|
|
1398
1455
|
}
|
|
@@ -1410,7 +1467,10 @@ var Astar$4 = {
|
|
|
1410
1467
|
Parachain: 2030
|
|
1411
1468
|
},
|
|
1412
1469
|
{
|
|
1413
|
-
GeneralKey:
|
|
1470
|
+
GeneralKey: {
|
|
1471
|
+
length: 2,
|
|
1472
|
+
data: "0x0403000000000000000000000000000000000000000000000000000000000000"
|
|
1473
|
+
}
|
|
1414
1474
|
}
|
|
1415
1475
|
]
|
|
1416
1476
|
}
|
|
@@ -1428,7 +1488,10 @@ var Astar$4 = {
|
|
|
1428
1488
|
Parachain: 2030
|
|
1429
1489
|
},
|
|
1430
1490
|
{
|
|
1431
|
-
GeneralKey:
|
|
1491
|
+
GeneralKey: {
|
|
1492
|
+
length: 2,
|
|
1493
|
+
data: "0x0908000000000000000000000000000000000000000000000000000000000000"
|
|
1494
|
+
}
|
|
1432
1495
|
}
|
|
1433
1496
|
]
|
|
1434
1497
|
}
|
|
@@ -1446,7 +1509,10 @@ var Astar$4 = {
|
|
|
1446
1509
|
Parachain: 2030
|
|
1447
1510
|
},
|
|
1448
1511
|
{
|
|
1449
|
-
GeneralKey:
|
|
1512
|
+
GeneralKey: {
|
|
1513
|
+
length: 2,
|
|
1514
|
+
data: "0x0900000000000000000000000000000000000000000000000000000000000000"
|
|
1515
|
+
}
|
|
1450
1516
|
}
|
|
1451
1517
|
]
|
|
1452
1518
|
}
|
|
@@ -1464,7 +1530,10 @@ var Astar$4 = {
|
|
|
1464
1530
|
Parachain: 2030
|
|
1465
1531
|
},
|
|
1466
1532
|
{
|
|
1467
|
-
GeneralKey:
|
|
1533
|
+
GeneralKey: {
|
|
1534
|
+
length: 2,
|
|
1535
|
+
data: "0x0904000000000000000000000000000000000000000000000000000000000000"
|
|
1536
|
+
}
|
|
1468
1537
|
}
|
|
1469
1538
|
]
|
|
1470
1539
|
}
|
|
@@ -1482,7 +1551,10 @@ var Astar$4 = {
|
|
|
1482
1551
|
Parachain: 2030
|
|
1483
1552
|
},
|
|
1484
1553
|
{
|
|
1485
|
-
GeneralKey:
|
|
1554
|
+
GeneralKey: {
|
|
1555
|
+
length: 2,
|
|
1556
|
+
data: "0x0903000000000000000000000000000000000000000000000000000000000000"
|
|
1557
|
+
}
|
|
1486
1558
|
}
|
|
1487
1559
|
]
|
|
1488
1560
|
}
|
|
@@ -1500,7 +1572,10 @@ var Astar$4 = {
|
|
|
1500
1572
|
Parachain: 2030
|
|
1501
1573
|
},
|
|
1502
1574
|
{
|
|
1503
|
-
GeneralKey:
|
|
1575
|
+
GeneralKey: {
|
|
1576
|
+
length: 2,
|
|
1577
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
1578
|
+
}
|
|
1504
1579
|
}
|
|
1505
1580
|
]
|
|
1506
1581
|
}
|
|
@@ -1518,7 +1593,10 @@ var Astar$4 = {
|
|
|
1518
1593
|
Parachain: 2030
|
|
1519
1594
|
},
|
|
1520
1595
|
{
|
|
1521
|
-
GeneralKey:
|
|
1596
|
+
GeneralKey: {
|
|
1597
|
+
length: 2,
|
|
1598
|
+
data: "0x0901000000000000000000000000000000000000000000000000000000000000"
|
|
1599
|
+
}
|
|
1522
1600
|
}
|
|
1523
1601
|
]
|
|
1524
1602
|
}
|
|
@@ -1536,7 +1614,10 @@ var Astar$4 = {
|
|
|
1536
1614
|
Parachain: 2032
|
|
1537
1615
|
},
|
|
1538
1616
|
{
|
|
1539
|
-
GeneralKey:
|
|
1617
|
+
GeneralKey: {
|
|
1618
|
+
length: 2,
|
|
1619
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
1620
|
+
}
|
|
1540
1621
|
}
|
|
1541
1622
|
]
|
|
1542
1623
|
}
|
|
@@ -1554,7 +1635,10 @@ var Astar$4 = {
|
|
|
1554
1635
|
Parachain: 2032
|
|
1555
1636
|
},
|
|
1556
1637
|
{
|
|
1557
|
-
GeneralKey:
|
|
1638
|
+
GeneralKey: {
|
|
1639
|
+
length: 2,
|
|
1640
|
+
data: "0x0002000000000000000000000000000000000000000000000000000000000000"
|
|
1641
|
+
}
|
|
1558
1642
|
}
|
|
1559
1643
|
]
|
|
1560
1644
|
}
|
|
@@ -1640,10 +1724,16 @@ var Astar$4 = {
|
|
|
1640
1724
|
GeneralIndex: 2
|
|
1641
1725
|
},
|
|
1642
1726
|
{
|
|
1643
|
-
GeneralKey:
|
|
1727
|
+
GeneralKey: {
|
|
1728
|
+
length: 4,
|
|
1729
|
+
data: "0x4555524300000000000000000000000000000000000000000000000000000000"
|
|
1730
|
+
}
|
|
1644
1731
|
},
|
|
1645
1732
|
{
|
|
1646
|
-
GeneralKey:
|
|
1733
|
+
GeneralKey: {
|
|
1734
|
+
length: 32,
|
|
1735
|
+
data: "0x2112ee863867e4e219fe254c0918b00bc9ea400775bfc3ab4430971ce505877c"
|
|
1736
|
+
}
|
|
1647
1737
|
}
|
|
1648
1738
|
]
|
|
1649
1739
|
}
|
|
@@ -1693,6 +1783,7 @@ var Astar$4 = {
|
|
|
1693
1783
|
var BifrostPolkadot$4 = {
|
|
1694
1784
|
relayChainAssetSymbol: "DOT",
|
|
1695
1785
|
nativeAssetSymbol: "BNC",
|
|
1786
|
+
isEVM: false,
|
|
1696
1787
|
nativeAssets: [
|
|
1697
1788
|
{
|
|
1698
1789
|
symbol: "BNC",
|
|
@@ -1712,7 +1803,10 @@ var BifrostPolkadot$4 = {
|
|
|
1712
1803
|
Parachain: 2032
|
|
1713
1804
|
},
|
|
1714
1805
|
{
|
|
1715
|
-
GeneralKey:
|
|
1806
|
+
GeneralKey: {
|
|
1807
|
+
length: 2,
|
|
1808
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
1809
|
+
}
|
|
1716
1810
|
}
|
|
1717
1811
|
]
|
|
1718
1812
|
}
|
|
@@ -2046,7 +2140,10 @@ var BifrostPolkadot$4 = {
|
|
|
2046
2140
|
Parachain: 2030
|
|
2047
2141
|
},
|
|
2048
2142
|
{
|
|
2049
|
-
GeneralKey:
|
|
2143
|
+
GeneralKey: {
|
|
2144
|
+
length: 2,
|
|
2145
|
+
data: "0x0403000000000000000000000000000000000000000000000000000000000000"
|
|
2146
|
+
}
|
|
2050
2147
|
}
|
|
2051
2148
|
]
|
|
2052
2149
|
}
|
|
@@ -2064,7 +2161,10 @@ var BifrostPolkadot$4 = {
|
|
|
2064
2161
|
Parachain: 2032
|
|
2065
2162
|
},
|
|
2066
2163
|
{
|
|
2067
|
-
GeneralKey:
|
|
2164
|
+
GeneralKey: {
|
|
2165
|
+
length: 2,
|
|
2166
|
+
data: "0x0002000000000000000000000000000000000000000000000000000000000000"
|
|
2167
|
+
}
|
|
2068
2168
|
}
|
|
2069
2169
|
]
|
|
2070
2170
|
}
|
|
@@ -2088,6 +2188,7 @@ var BifrostPolkadot$4 = {
|
|
|
2088
2188
|
var Bitgreen$4 = {
|
|
2089
2189
|
relayChainAssetSymbol: "DOT",
|
|
2090
2190
|
nativeAssetSymbol: "BBB",
|
|
2191
|
+
isEVM: false,
|
|
2091
2192
|
nativeAssets: [
|
|
2092
2193
|
{
|
|
2093
2194
|
symbol: "BBB",
|
|
@@ -2100,6 +2201,7 @@ var Bitgreen$4 = {
|
|
|
2100
2201
|
var Centrifuge$4 = {
|
|
2101
2202
|
relayChainAssetSymbol: "DOT",
|
|
2102
2203
|
nativeAssetSymbol: "CFG",
|
|
2204
|
+
isEVM: false,
|
|
2103
2205
|
nativeAssets: [
|
|
2104
2206
|
{
|
|
2105
2207
|
symbol: "CFG",
|
|
@@ -2172,7 +2274,10 @@ var Centrifuge$4 = {
|
|
|
2172
2274
|
Parachain: 2000
|
|
2173
2275
|
},
|
|
2174
2276
|
{
|
|
2175
|
-
GeneralKey:
|
|
2277
|
+
GeneralKey: {
|
|
2278
|
+
length: 2,
|
|
2279
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
2280
|
+
}
|
|
2176
2281
|
}
|
|
2177
2282
|
]
|
|
2178
2283
|
}
|
|
@@ -2301,7 +2406,10 @@ var Centrifuge$4 = {
|
|
|
2301
2406
|
Parachain: 2031
|
|
2302
2407
|
},
|
|
2303
2408
|
{
|
|
2304
|
-
GeneralKey:
|
|
2409
|
+
GeneralKey: {
|
|
2410
|
+
length: 2,
|
|
2411
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
2412
|
+
}
|
|
2305
2413
|
}
|
|
2306
2414
|
]
|
|
2307
2415
|
}
|
|
@@ -2405,6 +2513,7 @@ var Centrifuge$4 = {
|
|
|
2405
2513
|
var Subsocial$4 = {
|
|
2406
2514
|
relayChainAssetSymbol: "DOT",
|
|
2407
2515
|
nativeAssetSymbol: "SUB",
|
|
2516
|
+
isEVM: false,
|
|
2408
2517
|
nativeAssets: [
|
|
2409
2518
|
{
|
|
2410
2519
|
symbol: "SUB",
|
|
@@ -2417,6 +2526,7 @@ var Subsocial$4 = {
|
|
|
2417
2526
|
var ComposableFinance$4 = {
|
|
2418
2527
|
relayChainAssetSymbol: "DOT",
|
|
2419
2528
|
nativeAssetSymbol: "LAYR",
|
|
2529
|
+
isEVM: false,
|
|
2420
2530
|
nativeAssets: [
|
|
2421
2531
|
{
|
|
2422
2532
|
symbol: "LAYR",
|
|
@@ -2556,6 +2666,7 @@ var ComposableFinance$4 = {
|
|
|
2556
2666
|
var Darwinia$4 = {
|
|
2557
2667
|
relayChainAssetSymbol: "DOT",
|
|
2558
2668
|
nativeAssetSymbol: "RING",
|
|
2669
|
+
isEVM: true,
|
|
2559
2670
|
nativeAssets: [
|
|
2560
2671
|
{
|
|
2561
2672
|
symbol: "RING",
|
|
@@ -2621,6 +2732,7 @@ var Darwinia$4 = {
|
|
|
2621
2732
|
var Hydration$4 = {
|
|
2622
2733
|
relayChainAssetSymbol: "DOT",
|
|
2623
2734
|
nativeAssetSymbol: "HDX",
|
|
2735
|
+
isEVM: false,
|
|
2624
2736
|
nativeAssets: [
|
|
2625
2737
|
{
|
|
2626
2738
|
symbol: "HDX",
|
|
@@ -2843,7 +2955,10 @@ var Hydration$4 = {
|
|
|
2843
2955
|
Parachain: 2000
|
|
2844
2956
|
},
|
|
2845
2957
|
{
|
|
2846
|
-
GeneralKey:
|
|
2958
|
+
GeneralKey: {
|
|
2959
|
+
length: 21,
|
|
2960
|
+
data: "0x025a4d6acdc4e3e5ab15717f407afe957f7a2425780000000000000000000000"
|
|
2961
|
+
}
|
|
2847
2962
|
}
|
|
2848
2963
|
]
|
|
2849
2964
|
}
|
|
@@ -2862,7 +2977,10 @@ var Hydration$4 = {
|
|
|
2862
2977
|
Parachain: 2000
|
|
2863
2978
|
},
|
|
2864
2979
|
{
|
|
2865
|
-
GeneralKey:
|
|
2980
|
+
GeneralKey: {
|
|
2981
|
+
length: 2,
|
|
2982
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
2983
|
+
}
|
|
2866
2984
|
}
|
|
2867
2985
|
]
|
|
2868
2986
|
}
|
|
@@ -2880,7 +2998,10 @@ var Hydration$4 = {
|
|
|
2880
2998
|
Parachain: 2000
|
|
2881
2999
|
},
|
|
2882
3000
|
{
|
|
2883
|
-
GeneralKey:
|
|
3001
|
+
GeneralKey: {
|
|
3002
|
+
length: 21,
|
|
3003
|
+
data: "0x02f4c723e61709d90f89939c1852f516e373d418a80000000000000000000000"
|
|
3004
|
+
}
|
|
2884
3005
|
}
|
|
2885
3006
|
]
|
|
2886
3007
|
}
|
|
@@ -2898,7 +3019,10 @@ var Hydration$4 = {
|
|
|
2898
3019
|
Parachain: 2000
|
|
2899
3020
|
},
|
|
2900
3021
|
{
|
|
2901
|
-
GeneralKey:
|
|
3022
|
+
GeneralKey: {
|
|
3023
|
+
length: 21,
|
|
3024
|
+
data: "0x0254a37a01cd75b616d63e0ab665bffdb0143c52ae0000000000000000000000"
|
|
3025
|
+
}
|
|
2902
3026
|
}
|
|
2903
3027
|
]
|
|
2904
3028
|
}
|
|
@@ -2917,7 +3041,10 @@ var Hydration$4 = {
|
|
|
2917
3041
|
Parachain: 2000
|
|
2918
3042
|
},
|
|
2919
3043
|
{
|
|
2920
|
-
GeneralKey:
|
|
3044
|
+
GeneralKey: {
|
|
3045
|
+
length: 21,
|
|
3046
|
+
data: "0x0207df96d1341a7d16ba1ad431e2c847d978bc2bce0000000000000000000000"
|
|
3047
|
+
}
|
|
2921
3048
|
}
|
|
2922
3049
|
]
|
|
2923
3050
|
}
|
|
@@ -2936,7 +3063,10 @@ var Hydration$4 = {
|
|
|
2936
3063
|
Parachain: 2000
|
|
2937
3064
|
},
|
|
2938
3065
|
{
|
|
2939
|
-
GeneralKey:
|
|
3066
|
+
GeneralKey: {
|
|
3067
|
+
length: 2,
|
|
3068
|
+
data: "0x0003000000000000000000000000000000000000000000000000000000000000"
|
|
3069
|
+
}
|
|
2940
3070
|
}
|
|
2941
3071
|
]
|
|
2942
3072
|
}
|
|
@@ -2954,7 +3084,10 @@ var Hydration$4 = {
|
|
|
2954
3084
|
Parachain: 2000
|
|
2955
3085
|
},
|
|
2956
3086
|
{
|
|
2957
|
-
GeneralKey:
|
|
3087
|
+
GeneralKey: {
|
|
3088
|
+
length: 21,
|
|
3089
|
+
data: "0x02c80084af223c8b598536178d9361dc55bfda68180000000000000000000000"
|
|
3090
|
+
}
|
|
2958
3091
|
}
|
|
2959
3092
|
]
|
|
2960
3093
|
}
|
|
@@ -3160,7 +3293,10 @@ var Hydration$4 = {
|
|
|
3160
3293
|
Parachain: 2030
|
|
3161
3294
|
},
|
|
3162
3295
|
{
|
|
3163
|
-
GeneralKey:
|
|
3296
|
+
GeneralKey: {
|
|
3297
|
+
length: 2,
|
|
3298
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
3299
|
+
}
|
|
3164
3300
|
}
|
|
3165
3301
|
]
|
|
3166
3302
|
}
|
|
@@ -3178,7 +3314,10 @@ var Hydration$4 = {
|
|
|
3178
3314
|
Parachain: 2030
|
|
3179
3315
|
},
|
|
3180
3316
|
{
|
|
3181
|
-
GeneralKey:
|
|
3317
|
+
GeneralKey: {
|
|
3318
|
+
length: 2,
|
|
3319
|
+
data: "0x0903000000000000000000000000000000000000000000000000000000000000"
|
|
3320
|
+
}
|
|
3182
3321
|
}
|
|
3183
3322
|
]
|
|
3184
3323
|
}
|
|
@@ -3196,7 +3335,10 @@ var Hydration$4 = {
|
|
|
3196
3335
|
Parachain: 2030
|
|
3197
3336
|
},
|
|
3198
3337
|
{
|
|
3199
|
-
GeneralKey:
|
|
3338
|
+
GeneralKey: {
|
|
3339
|
+
length: 2,
|
|
3340
|
+
data: "0x0900000000000000000000000000000000000000000000000000000000000000"
|
|
3341
|
+
}
|
|
3200
3342
|
}
|
|
3201
3343
|
]
|
|
3202
3344
|
}
|
|
@@ -3214,7 +3356,10 @@ var Hydration$4 = {
|
|
|
3214
3356
|
Parachain: 2031
|
|
3215
3357
|
},
|
|
3216
3358
|
{
|
|
3217
|
-
GeneralKey:
|
|
3359
|
+
GeneralKey: {
|
|
3360
|
+
length: 2,
|
|
3361
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
3362
|
+
}
|
|
3218
3363
|
}
|
|
3219
3364
|
]
|
|
3220
3365
|
}
|
|
@@ -3232,7 +3377,10 @@ var Hydration$4 = {
|
|
|
3232
3377
|
Parachain: 2032
|
|
3233
3378
|
},
|
|
3234
3379
|
{
|
|
3235
|
-
GeneralKey:
|
|
3380
|
+
GeneralKey: {
|
|
3381
|
+
length: 2,
|
|
3382
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
3383
|
+
}
|
|
3236
3384
|
}
|
|
3237
3385
|
]
|
|
3238
3386
|
}
|
|
@@ -3250,7 +3398,10 @@ var Hydration$4 = {
|
|
|
3250
3398
|
Parachain: 2032
|
|
3251
3399
|
},
|
|
3252
3400
|
{
|
|
3253
|
-
GeneralKey:
|
|
3401
|
+
GeneralKey: {
|
|
3402
|
+
length: 2,
|
|
3403
|
+
data: "0x0002000000000000000000000000000000000000000000000000000000000000"
|
|
3404
|
+
}
|
|
3254
3405
|
}
|
|
3255
3406
|
]
|
|
3256
3407
|
}
|
|
@@ -3312,7 +3463,10 @@ var Hydration$4 = {
|
|
|
3312
3463
|
Parachain: 2051
|
|
3313
3464
|
},
|
|
3314
3465
|
{
|
|
3315
|
-
GeneralKey:
|
|
3466
|
+
GeneralKey: {
|
|
3467
|
+
length: 4,
|
|
3468
|
+
data: "0x414a554e00000000000000000000000000000000000000000000000000000000"
|
|
3469
|
+
}
|
|
3316
3470
|
}
|
|
3317
3471
|
]
|
|
3318
3472
|
}
|
|
@@ -3343,7 +3497,10 @@ var Hydration$4 = {
|
|
|
3343
3497
|
Parachain: 2092
|
|
3344
3498
|
},
|
|
3345
3499
|
{
|
|
3346
|
-
GeneralKey:
|
|
3500
|
+
GeneralKey: {
|
|
3501
|
+
length: 2,
|
|
3502
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
3503
|
+
}
|
|
3347
3504
|
}
|
|
3348
3505
|
]
|
|
3349
3506
|
}
|
|
@@ -3411,6 +3568,7 @@ var Hydration$4 = {
|
|
|
3411
3568
|
var Interlay$4 = {
|
|
3412
3569
|
relayChainAssetSymbol: "DOT",
|
|
3413
3570
|
nativeAssetSymbol: "INTR",
|
|
3571
|
+
isEVM: false,
|
|
3414
3572
|
nativeAssets: [
|
|
3415
3573
|
{
|
|
3416
3574
|
symbol: "INTR",
|
|
@@ -3492,7 +3650,10 @@ var Interlay$4 = {
|
|
|
3492
3650
|
Parachain: 2000
|
|
3493
3651
|
},
|
|
3494
3652
|
{
|
|
3495
|
-
GeneralKey:
|
|
3653
|
+
GeneralKey: {
|
|
3654
|
+
length: 2,
|
|
3655
|
+
data: "0x0003000000000000000000000000000000000000000000000000000000000000"
|
|
3656
|
+
}
|
|
3496
3657
|
}
|
|
3497
3658
|
]
|
|
3498
3659
|
}
|
|
@@ -3696,7 +3857,10 @@ var Interlay$4 = {
|
|
|
3696
3857
|
Parachain: 2030
|
|
3697
3858
|
},
|
|
3698
3859
|
{
|
|
3699
|
-
GeneralKey:
|
|
3860
|
+
GeneralKey: {
|
|
3861
|
+
length: 2,
|
|
3862
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
3863
|
+
}
|
|
3700
3864
|
}
|
|
3701
3865
|
]
|
|
3702
3866
|
}
|
|
@@ -3714,7 +3878,10 @@ var Interlay$4 = {
|
|
|
3714
3878
|
Parachain: 2030
|
|
3715
3879
|
},
|
|
3716
3880
|
{
|
|
3717
|
-
GeneralKey:
|
|
3881
|
+
GeneralKey: {
|
|
3882
|
+
length: 2,
|
|
3883
|
+
data: "0x0900000000000000000000000000000000000000000000000000000000000000"
|
|
3884
|
+
}
|
|
3718
3885
|
}
|
|
3719
3886
|
]
|
|
3720
3887
|
}
|
|
@@ -3756,6 +3923,7 @@ var Interlay$4 = {
|
|
|
3756
3923
|
var Litentry$4 = {
|
|
3757
3924
|
relayChainAssetSymbol: "DOT",
|
|
3758
3925
|
nativeAssetSymbol: "LIT",
|
|
3926
|
+
isEVM: false,
|
|
3759
3927
|
nativeAssets: [
|
|
3760
3928
|
{
|
|
3761
3929
|
symbol: "LIT",
|
|
@@ -3768,6 +3936,7 @@ var Litentry$4 = {
|
|
|
3768
3936
|
var Moonbeam$4 = {
|
|
3769
3937
|
relayChainAssetSymbol: "DOT",
|
|
3770
3938
|
nativeAssetSymbol: "GLMR",
|
|
3939
|
+
isEVM: true,
|
|
3771
3940
|
nativeAssets: [
|
|
3772
3941
|
{
|
|
3773
3942
|
symbol: "GLMR",
|
|
@@ -4020,7 +4189,10 @@ var Moonbeam$4 = {
|
|
|
4020
4189
|
Parachain: 2000
|
|
4021
4190
|
},
|
|
4022
4191
|
{
|
|
4023
|
-
GeneralKey:
|
|
4192
|
+
GeneralKey: {
|
|
4193
|
+
length: 2,
|
|
4194
|
+
data: "0x0003000000000000000000000000000000000000000000000000000000000000"
|
|
4195
|
+
}
|
|
4024
4196
|
}
|
|
4025
4197
|
]
|
|
4026
4198
|
}
|
|
@@ -4038,7 +4210,10 @@ var Moonbeam$4 = {
|
|
|
4038
4210
|
Parachain: 2000
|
|
4039
4211
|
},
|
|
4040
4212
|
{
|
|
4041
|
-
GeneralKey:
|
|
4213
|
+
GeneralKey: {
|
|
4214
|
+
length: 2,
|
|
4215
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
4216
|
+
}
|
|
4042
4217
|
}
|
|
4043
4218
|
]
|
|
4044
4219
|
}
|
|
@@ -4056,7 +4231,10 @@ var Moonbeam$4 = {
|
|
|
4056
4231
|
Parachain: 2000
|
|
4057
4232
|
},
|
|
4058
4233
|
{
|
|
4059
|
-
GeneralKey:
|
|
4234
|
+
GeneralKey: {
|
|
4235
|
+
length: 2,
|
|
4236
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
4237
|
+
}
|
|
4060
4238
|
}
|
|
4061
4239
|
]
|
|
4062
4240
|
}
|
|
@@ -4087,7 +4265,10 @@ var Moonbeam$4 = {
|
|
|
4087
4265
|
Parachain: 2011
|
|
4088
4266
|
},
|
|
4089
4267
|
{
|
|
4090
|
-
GeneralKey:
|
|
4268
|
+
GeneralKey: {
|
|
4269
|
+
length: 3,
|
|
4270
|
+
data: "0x6571640000000000000000000000000000000000000000000000000000000000"
|
|
4271
|
+
}
|
|
4091
4272
|
}
|
|
4092
4273
|
]
|
|
4093
4274
|
}
|
|
@@ -4118,7 +4299,10 @@ var Moonbeam$4 = {
|
|
|
4118
4299
|
Parachain: 2012
|
|
4119
4300
|
},
|
|
4120
4301
|
{
|
|
4121
|
-
GeneralKey:
|
|
4302
|
+
GeneralKey: {
|
|
4303
|
+
length: 4,
|
|
4304
|
+
data: "0x5041524100000000000000000000000000000000000000000000000000000000"
|
|
4305
|
+
}
|
|
4122
4306
|
}
|
|
4123
4307
|
]
|
|
4124
4308
|
}
|
|
@@ -4280,7 +4464,10 @@ var Moonbeam$4 = {
|
|
|
4280
4464
|
Parachain: 2030
|
|
4281
4465
|
},
|
|
4282
4466
|
{
|
|
4283
|
-
GeneralKey:
|
|
4467
|
+
GeneralKey: {
|
|
4468
|
+
length: 2,
|
|
4469
|
+
data: "0x0804000000000000000000000000000000000000000000000000000000000000"
|
|
4470
|
+
}
|
|
4284
4471
|
}
|
|
4285
4472
|
]
|
|
4286
4473
|
}
|
|
@@ -4298,7 +4485,10 @@ var Moonbeam$4 = {
|
|
|
4298
4485
|
Parachain: 2030
|
|
4299
4486
|
},
|
|
4300
4487
|
{
|
|
4301
|
-
GeneralKey:
|
|
4488
|
+
GeneralKey: {
|
|
4489
|
+
length: 2,
|
|
4490
|
+
data: "0x0900000000000000000000000000000000000000000000000000000000000000"
|
|
4491
|
+
}
|
|
4302
4492
|
}
|
|
4303
4493
|
]
|
|
4304
4494
|
}
|
|
@@ -4316,7 +4506,10 @@ var Moonbeam$4 = {
|
|
|
4316
4506
|
Parachain: 2030
|
|
4317
4507
|
},
|
|
4318
4508
|
{
|
|
4319
|
-
GeneralKey:
|
|
4509
|
+
GeneralKey: {
|
|
4510
|
+
length: 2,
|
|
4511
|
+
data: "0x0809000000000000000000000000000000000000000000000000000000000000"
|
|
4512
|
+
}
|
|
4320
4513
|
}
|
|
4321
4514
|
]
|
|
4322
4515
|
}
|
|
@@ -4334,7 +4527,10 @@ var Moonbeam$4 = {
|
|
|
4334
4527
|
Parachain: 2030
|
|
4335
4528
|
},
|
|
4336
4529
|
{
|
|
4337
|
-
GeneralKey:
|
|
4530
|
+
GeneralKey: {
|
|
4531
|
+
length: 2,
|
|
4532
|
+
data: "0x0901000000000000000000000000000000000000000000000000000000000000"
|
|
4533
|
+
}
|
|
4338
4534
|
}
|
|
4339
4535
|
]
|
|
4340
4536
|
}
|
|
@@ -4352,7 +4548,10 @@ var Moonbeam$4 = {
|
|
|
4352
4548
|
Parachain: 2030
|
|
4353
4549
|
},
|
|
4354
4550
|
{
|
|
4355
|
-
GeneralKey:
|
|
4551
|
+
GeneralKey: {
|
|
4552
|
+
length: 2,
|
|
4553
|
+
data: "0x0908000000000000000000000000000000000000000000000000000000000000"
|
|
4554
|
+
}
|
|
4356
4555
|
}
|
|
4357
4556
|
]
|
|
4358
4557
|
}
|
|
@@ -4370,7 +4569,10 @@ var Moonbeam$4 = {
|
|
|
4370
4569
|
Parachain: 2030
|
|
4371
4570
|
},
|
|
4372
4571
|
{
|
|
4373
|
-
GeneralKey:
|
|
4572
|
+
GeneralKey: {
|
|
4573
|
+
length: 2,
|
|
4574
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
4575
|
+
}
|
|
4374
4576
|
}
|
|
4375
4577
|
]
|
|
4376
4578
|
}
|
|
@@ -4388,7 +4590,10 @@ var Moonbeam$4 = {
|
|
|
4388
4590
|
Parachain: 2030
|
|
4389
4591
|
},
|
|
4390
4592
|
{
|
|
4391
|
-
GeneralKey:
|
|
4593
|
+
GeneralKey: {
|
|
4594
|
+
length: 2,
|
|
4595
|
+
data: "0x0904000000000000000000000000000000000000000000000000000000000000"
|
|
4596
|
+
}
|
|
4392
4597
|
}
|
|
4393
4598
|
]
|
|
4394
4599
|
}
|
|
@@ -4406,7 +4611,10 @@ var Moonbeam$4 = {
|
|
|
4406
4611
|
Parachain: 2030
|
|
4407
4612
|
},
|
|
4408
4613
|
{
|
|
4409
|
-
GeneralKey:
|
|
4614
|
+
GeneralKey: {
|
|
4615
|
+
length: 2,
|
|
4616
|
+
data: "0x0903000000000000000000000000000000000000000000000000000000000000"
|
|
4617
|
+
}
|
|
4410
4618
|
}
|
|
4411
4619
|
]
|
|
4412
4620
|
}
|
|
@@ -4424,7 +4632,10 @@ var Moonbeam$4 = {
|
|
|
4424
4632
|
Parachain: 2031
|
|
4425
4633
|
},
|
|
4426
4634
|
{
|
|
4427
|
-
GeneralKey:
|
|
4635
|
+
GeneralKey: {
|
|
4636
|
+
length: 2,
|
|
4637
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
4638
|
+
}
|
|
4428
4639
|
}
|
|
4429
4640
|
]
|
|
4430
4641
|
}
|
|
@@ -4442,7 +4653,10 @@ var Moonbeam$4 = {
|
|
|
4442
4653
|
Parachain: 2032
|
|
4443
4654
|
},
|
|
4444
4655
|
{
|
|
4445
|
-
GeneralKey:
|
|
4656
|
+
GeneralKey: {
|
|
4657
|
+
length: 2,
|
|
4658
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
4659
|
+
}
|
|
4446
4660
|
}
|
|
4447
4661
|
]
|
|
4448
4662
|
}
|
|
@@ -4460,7 +4674,10 @@ var Moonbeam$4 = {
|
|
|
4460
4674
|
Parachain: 2032
|
|
4461
4675
|
},
|
|
4462
4676
|
{
|
|
4463
|
-
GeneralKey:
|
|
4677
|
+
GeneralKey: {
|
|
4678
|
+
length: 2,
|
|
4679
|
+
data: "0x0002000000000000000000000000000000000000000000000000000000000000"
|
|
4680
|
+
}
|
|
4464
4681
|
}
|
|
4465
4682
|
]
|
|
4466
4683
|
}
|
|
@@ -4571,7 +4788,10 @@ var Moonbeam$4 = {
|
|
|
4571
4788
|
Parachain: 2092
|
|
4572
4789
|
},
|
|
4573
4790
|
{
|
|
4574
|
-
GeneralKey:
|
|
4791
|
+
GeneralKey: {
|
|
4792
|
+
length: 2,
|
|
4793
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
4794
|
+
}
|
|
4575
4795
|
}
|
|
4576
4796
|
]
|
|
4577
4797
|
}
|
|
@@ -4639,6 +4859,7 @@ var Moonbeam$4 = {
|
|
|
4639
4859
|
var Parallel$4 = {
|
|
4640
4860
|
relayChainAssetSymbol: "DOT",
|
|
4641
4861
|
nativeAssetSymbol: "PARA",
|
|
4862
|
+
isEVM: false,
|
|
4642
4863
|
nativeAssets: [
|
|
4643
4864
|
{
|
|
4644
4865
|
symbol: "PARA",
|
|
@@ -4690,7 +4911,10 @@ var Parallel$4 = {
|
|
|
4690
4911
|
Parachain: 2000
|
|
4691
4912
|
},
|
|
4692
4913
|
{
|
|
4693
|
-
GeneralKey:
|
|
4914
|
+
GeneralKey: {
|
|
4915
|
+
length: 2,
|
|
4916
|
+
data: "0x0003000000000000000000000000000000000000000000000000000000000000"
|
|
4917
|
+
}
|
|
4694
4918
|
}
|
|
4695
4919
|
]
|
|
4696
4920
|
}
|
|
@@ -4708,7 +4932,10 @@ var Parallel$4 = {
|
|
|
4708
4932
|
Parachain: 2000
|
|
4709
4933
|
},
|
|
4710
4934
|
{
|
|
4711
|
-
GeneralKey:
|
|
4935
|
+
GeneralKey: {
|
|
4936
|
+
length: 2,
|
|
4937
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
4938
|
+
}
|
|
4712
4939
|
}
|
|
4713
4940
|
]
|
|
4714
4941
|
}
|
|
@@ -4726,7 +4953,10 @@ var Parallel$4 = {
|
|
|
4726
4953
|
Parachain: 2000
|
|
4727
4954
|
},
|
|
4728
4955
|
{
|
|
4729
|
-
GeneralKey:
|
|
4956
|
+
GeneralKey: {
|
|
4957
|
+
length: 5,
|
|
4958
|
+
data: "0x040d000000000000000000000000000000000000000000000000000000000000"
|
|
4959
|
+
}
|
|
4730
4960
|
}
|
|
4731
4961
|
]
|
|
4732
4962
|
}
|
|
@@ -4775,7 +5005,10 @@ var Parallel$4 = {
|
|
|
4775
5005
|
Parachain: 2012
|
|
4776
5006
|
},
|
|
4777
5007
|
{
|
|
4778
|
-
GeneralKey:
|
|
5008
|
+
GeneralKey: {
|
|
5009
|
+
length: 4,
|
|
5010
|
+
data: "0x73444f5400000000000000000000000000000000000000000000000000000000"
|
|
5011
|
+
}
|
|
4779
5012
|
}
|
|
4780
5013
|
]
|
|
4781
5014
|
}
|
|
@@ -4898,7 +5131,10 @@ var Parallel$4 = {
|
|
|
4898
5131
|
Parachain: 2032
|
|
4899
5132
|
},
|
|
4900
5133
|
{
|
|
4901
|
-
GeneralKey:
|
|
5134
|
+
GeneralKey: {
|
|
5135
|
+
length: 2,
|
|
5136
|
+
data: "0x0002000000000000000000000000000000000000000000000000000000000000"
|
|
5137
|
+
}
|
|
4902
5138
|
}
|
|
4903
5139
|
]
|
|
4904
5140
|
}
|
|
@@ -4916,7 +5152,10 @@ var Parallel$4 = {
|
|
|
4916
5152
|
Parachain: 2032
|
|
4917
5153
|
},
|
|
4918
5154
|
{
|
|
4919
|
-
GeneralKey:
|
|
5155
|
+
GeneralKey: {
|
|
5156
|
+
length: 2,
|
|
5157
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
5158
|
+
}
|
|
4920
5159
|
}
|
|
4921
5160
|
]
|
|
4922
5161
|
}
|
|
@@ -4940,6 +5179,7 @@ var Parallel$4 = {
|
|
|
4940
5179
|
var AssetHubPolkadot$4 = {
|
|
4941
5180
|
relayChainAssetSymbol: "DOT",
|
|
4942
5181
|
nativeAssetSymbol: "DOT",
|
|
5182
|
+
isEVM: false,
|
|
4943
5183
|
nativeAssets: [
|
|
4944
5184
|
{
|
|
4945
5185
|
symbol: "DOT",
|
|
@@ -5129,9 +5369,11 @@ var AssetHubPolkadot$4 = {
|
|
|
5129
5369
|
multiLocation: {
|
|
5130
5370
|
parents: 1,
|
|
5131
5371
|
interior: {
|
|
5132
|
-
X1:
|
|
5133
|
-
|
|
5134
|
-
|
|
5372
|
+
X1: [
|
|
5373
|
+
{
|
|
5374
|
+
Parachain: 2011
|
|
5375
|
+
}
|
|
5376
|
+
]
|
|
5135
5377
|
}
|
|
5136
5378
|
}
|
|
5137
5379
|
},
|
|
@@ -5165,24 +5407,40 @@ var AssetHubPolkadot$4 = {
|
|
|
5165
5407
|
multiLocation: {
|
|
5166
5408
|
parents: 2,
|
|
5167
5409
|
interior: {
|
|
5168
|
-
X1:
|
|
5169
|
-
|
|
5170
|
-
|
|
5410
|
+
X1: [
|
|
5411
|
+
{
|
|
5412
|
+
GlobalConsensus: {
|
|
5413
|
+
kusama: null
|
|
5414
|
+
}
|
|
5171
5415
|
}
|
|
5172
|
-
|
|
5416
|
+
]
|
|
5173
5417
|
}
|
|
5174
5418
|
}
|
|
5175
5419
|
},
|
|
5176
5420
|
{
|
|
5177
|
-
symbol: "
|
|
5421
|
+
symbol: "TEER",
|
|
5178
5422
|
decimals: 12,
|
|
5179
5423
|
multiLocation: {
|
|
5180
5424
|
parents: 1,
|
|
5181
5425
|
interior: {
|
|
5182
|
-
|
|
5426
|
+
X1: [
|
|
5183
5427
|
{
|
|
5184
|
-
Parachain:
|
|
5185
|
-
}
|
|
5428
|
+
Parachain: 2039
|
|
5429
|
+
}
|
|
5430
|
+
]
|
|
5431
|
+
}
|
|
5432
|
+
}
|
|
5433
|
+
},
|
|
5434
|
+
{
|
|
5435
|
+
symbol: "BNC",
|
|
5436
|
+
decimals: 12,
|
|
5437
|
+
multiLocation: {
|
|
5438
|
+
parents: 1,
|
|
5439
|
+
interior: {
|
|
5440
|
+
X2: [
|
|
5441
|
+
{
|
|
5442
|
+
Parachain: 2030
|
|
5443
|
+
},
|
|
5186
5444
|
{
|
|
5187
5445
|
GeneralKey: {
|
|
5188
5446
|
length: 2,
|
|
@@ -5236,9 +5494,11 @@ var AssetHubPolkadot$4 = {
|
|
|
5236
5494
|
multiLocation: {
|
|
5237
5495
|
parents: 1,
|
|
5238
5496
|
interior: {
|
|
5239
|
-
X1:
|
|
5240
|
-
|
|
5241
|
-
|
|
5497
|
+
X1: [
|
|
5498
|
+
{
|
|
5499
|
+
Parachain: 3369
|
|
5500
|
+
}
|
|
5501
|
+
]
|
|
5242
5502
|
}
|
|
5243
5503
|
}
|
|
5244
5504
|
},
|
|
@@ -5285,9 +5545,11 @@ var AssetHubPolkadot$4 = {
|
|
|
5285
5545
|
multiLocation: {
|
|
5286
5546
|
parents: 1,
|
|
5287
5547
|
interior: {
|
|
5288
|
-
X1:
|
|
5289
|
-
|
|
5290
|
-
|
|
5548
|
+
X1: [
|
|
5549
|
+
{
|
|
5550
|
+
Parachain: 2051
|
|
5551
|
+
}
|
|
5552
|
+
]
|
|
5291
5553
|
}
|
|
5292
5554
|
}
|
|
5293
5555
|
}
|
|
@@ -5296,6 +5558,7 @@ var AssetHubPolkadot$4 = {
|
|
|
5296
5558
|
var Altair$4 = {
|
|
5297
5559
|
relayChainAssetSymbol: "KSM",
|
|
5298
5560
|
nativeAssetSymbol: "AIR",
|
|
5561
|
+
isEVM: false,
|
|
5299
5562
|
nativeAssets: [
|
|
5300
5563
|
{
|
|
5301
5564
|
symbol: "AIR",
|
|
@@ -5347,7 +5610,10 @@ var Altair$4 = {
|
|
|
5347
5610
|
Parachain: 2000
|
|
5348
5611
|
},
|
|
5349
5612
|
{
|
|
5350
|
-
GeneralKey:
|
|
5613
|
+
GeneralKey: {
|
|
5614
|
+
length: 2,
|
|
5615
|
+
data: "0x0081000000000000000000000000000000000000000000000000000000000000"
|
|
5616
|
+
}
|
|
5351
5617
|
}
|
|
5352
5618
|
]
|
|
5353
5619
|
}
|
|
@@ -5365,7 +5631,10 @@ var Altair$4 = {
|
|
|
5365
5631
|
Parachain: 2088
|
|
5366
5632
|
},
|
|
5367
5633
|
{
|
|
5368
|
-
GeneralKey:
|
|
5634
|
+
GeneralKey: {
|
|
5635
|
+
length: 2,
|
|
5636
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
5637
|
+
}
|
|
5369
5638
|
}
|
|
5370
5639
|
]
|
|
5371
5640
|
}
|
|
@@ -5376,6 +5645,7 @@ var Altair$4 = {
|
|
|
5376
5645
|
var Amplitude$4 = {
|
|
5377
5646
|
relayChainAssetSymbol: "KSM",
|
|
5378
5647
|
nativeAssetSymbol: "AMPE",
|
|
5648
|
+
isEVM: false,
|
|
5379
5649
|
nativeAssets: [
|
|
5380
5650
|
{
|
|
5381
5651
|
symbol: "AMPE",
|
|
@@ -5403,6 +5673,7 @@ var Amplitude$4 = {
|
|
|
5403
5673
|
var Bajun$4 = {
|
|
5404
5674
|
relayChainAssetSymbol: "KSM",
|
|
5405
5675
|
nativeAssetSymbol: "BAJU",
|
|
5676
|
+
isEVM: false,
|
|
5406
5677
|
nativeAssets: [
|
|
5407
5678
|
{
|
|
5408
5679
|
symbol: "BAJU",
|
|
@@ -5415,6 +5686,7 @@ var Bajun$4 = {
|
|
|
5415
5686
|
var Basilisk$4 = {
|
|
5416
5687
|
relayChainAssetSymbol: "KSM",
|
|
5417
5688
|
nativeAssetSymbol: "BSX",
|
|
5689
|
+
isEVM: false,
|
|
5418
5690
|
nativeAssets: [
|
|
5419
5691
|
{
|
|
5420
5692
|
symbol: "BSX",
|
|
@@ -5466,7 +5738,10 @@ var Basilisk$4 = {
|
|
|
5466
5738
|
Parachain: 2000
|
|
5467
5739
|
},
|
|
5468
5740
|
{
|
|
5469
|
-
GeneralKey:
|
|
5741
|
+
GeneralKey: {
|
|
5742
|
+
length: 21,
|
|
5743
|
+
data: "0x024bb6afb5fa2b07a5d1c499e1c3ddb5a15e709a710000000000000000000000"
|
|
5744
|
+
}
|
|
5470
5745
|
}
|
|
5471
5746
|
]
|
|
5472
5747
|
}
|
|
@@ -5484,7 +5759,10 @@ var Basilisk$4 = {
|
|
|
5484
5759
|
Parachain: 2000
|
|
5485
5760
|
},
|
|
5486
5761
|
{
|
|
5487
|
-
GeneralKey:
|
|
5762
|
+
GeneralKey: {
|
|
5763
|
+
length: 21,
|
|
5764
|
+
data: "0x021f3a10587a20114ea25ba1b388ee2dd4a337ce270000000000000000000000"
|
|
5765
|
+
}
|
|
5488
5766
|
}
|
|
5489
5767
|
]
|
|
5490
5768
|
}
|
|
@@ -5502,7 +5780,10 @@ var Basilisk$4 = {
|
|
|
5502
5780
|
Parachain: 2000
|
|
5503
5781
|
},
|
|
5504
5782
|
{
|
|
5505
|
-
GeneralKey:
|
|
5783
|
+
GeneralKey: {
|
|
5784
|
+
length: 2,
|
|
5785
|
+
data: "0x0081000000000000000000000000000000000000000000000000000000000000"
|
|
5786
|
+
}
|
|
5506
5787
|
}
|
|
5507
5788
|
]
|
|
5508
5789
|
}
|
|
@@ -5520,7 +5801,10 @@ var Basilisk$4 = {
|
|
|
5520
5801
|
Parachain: 2000
|
|
5521
5802
|
},
|
|
5522
5803
|
{
|
|
5523
|
-
GeneralKey:
|
|
5804
|
+
GeneralKey: {
|
|
5805
|
+
length: 21,
|
|
5806
|
+
data: "0x02ece0cc38021e734bef1d5da071b027ac2f71181f0000000000000000000000"
|
|
5807
|
+
}
|
|
5524
5808
|
}
|
|
5525
5809
|
]
|
|
5526
5810
|
}
|
|
@@ -5538,7 +5822,10 @@ var Basilisk$4 = {
|
|
|
5538
5822
|
Parachain: 2000
|
|
5539
5823
|
},
|
|
5540
5824
|
{
|
|
5541
|
-
GeneralKey:
|
|
5825
|
+
GeneralKey: {
|
|
5826
|
+
length: 21,
|
|
5827
|
+
data: "0x0266291c7d88d2ed9a708147bae4e0814a76705e2f0000000000000000000000"
|
|
5828
|
+
}
|
|
5542
5829
|
}
|
|
5543
5830
|
]
|
|
5544
5831
|
}
|
|
@@ -5556,7 +5843,10 @@ var Basilisk$4 = {
|
|
|
5556
5843
|
Parachain: 2000
|
|
5557
5844
|
},
|
|
5558
5845
|
{
|
|
5559
|
-
GeneralKey:
|
|
5846
|
+
GeneralKey: {
|
|
5847
|
+
length: 21,
|
|
5848
|
+
data: "0x0254e183e533fd3c6e72debb2d1cab451d017faf720000000000000000000000"
|
|
5849
|
+
}
|
|
5560
5850
|
}
|
|
5561
5851
|
]
|
|
5562
5852
|
}
|
|
@@ -5598,6 +5888,7 @@ var Basilisk$4 = {
|
|
|
5598
5888
|
var BifrostKusama$4 = {
|
|
5599
5889
|
relayChainAssetSymbol: "KSM",
|
|
5600
5890
|
nativeAssetSymbol: "BNC",
|
|
5891
|
+
isEVM: false,
|
|
5601
5892
|
nativeAssets: [
|
|
5602
5893
|
{
|
|
5603
5894
|
symbol: "BNC",
|
|
@@ -5670,7 +5961,10 @@ var BifrostKusama$4 = {
|
|
|
5670
5961
|
Parachain: 2092
|
|
5671
5962
|
},
|
|
5672
5963
|
{
|
|
5673
|
-
GeneralKey:
|
|
5964
|
+
GeneralKey: {
|
|
5965
|
+
length: 2,
|
|
5966
|
+
data: "0x000b000000000000000000000000000000000000000000000000000000000000"
|
|
5967
|
+
}
|
|
5674
5968
|
}
|
|
5675
5969
|
]
|
|
5676
5970
|
}
|
|
@@ -5688,7 +5982,10 @@ var BifrostKusama$4 = {
|
|
|
5688
5982
|
Parachain: 2092
|
|
5689
5983
|
},
|
|
5690
5984
|
{
|
|
5691
|
-
GeneralKey:
|
|
5985
|
+
GeneralKey: {
|
|
5986
|
+
length: 2,
|
|
5987
|
+
data: "0x000c000000000000000000000000000000000000000000000000000000000000"
|
|
5988
|
+
}
|
|
5692
5989
|
}
|
|
5693
5990
|
]
|
|
5694
5991
|
}
|
|
@@ -5706,7 +6003,10 @@ var BifrostKusama$4 = {
|
|
|
5706
6003
|
Parachain: 2110
|
|
5707
6004
|
},
|
|
5708
6005
|
{
|
|
5709
|
-
GeneralKey:
|
|
6006
|
+
GeneralKey: {
|
|
6007
|
+
length: 4,
|
|
6008
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
6009
|
+
}
|
|
5710
6010
|
}
|
|
5711
6011
|
]
|
|
5712
6012
|
}
|
|
@@ -5730,6 +6030,7 @@ var BifrostKusama$4 = {
|
|
|
5730
6030
|
var Calamari$4 = {
|
|
5731
6031
|
relayChainAssetSymbol: "KSM",
|
|
5732
6032
|
nativeAssetSymbol: "KMA",
|
|
6033
|
+
isEVM: false,
|
|
5733
6034
|
nativeAssets: [
|
|
5734
6035
|
{
|
|
5735
6036
|
symbol: "KMA",
|
|
@@ -5781,7 +6082,10 @@ var Calamari$4 = {
|
|
|
5781
6082
|
Parachain: 2000
|
|
5782
6083
|
},
|
|
5783
6084
|
{
|
|
5784
|
-
GeneralKey:
|
|
6085
|
+
GeneralKey: {
|
|
6086
|
+
length: 21,
|
|
6087
|
+
data: "0x02e278651e8ff8e2efa83d7f84205084ebc90688be0000000000000000000000"
|
|
6088
|
+
}
|
|
5785
6089
|
}
|
|
5786
6090
|
]
|
|
5787
6091
|
}
|
|
@@ -5799,7 +6103,10 @@ var Calamari$4 = {
|
|
|
5799
6103
|
Parachain: 2000
|
|
5800
6104
|
},
|
|
5801
6105
|
{
|
|
5802
|
-
GeneralKey:
|
|
6106
|
+
GeneralKey: {
|
|
6107
|
+
length: 21,
|
|
6108
|
+
data: "0x0266291c7d88d2ed9a708147bae4e0814a76705e2f0000000000000000000000"
|
|
6109
|
+
}
|
|
5803
6110
|
}
|
|
5804
6111
|
]
|
|
5805
6112
|
}
|
|
@@ -5817,7 +6124,10 @@ var Calamari$4 = {
|
|
|
5817
6124
|
Parachain: 2000
|
|
5818
6125
|
},
|
|
5819
6126
|
{
|
|
5820
|
-
GeneralKey:
|
|
6127
|
+
GeneralKey: {
|
|
6128
|
+
length: 21,
|
|
6129
|
+
data: "0x021f3a10587a20114ea25ba1b388ee2dd4a337ce270000000000000000000000"
|
|
6130
|
+
}
|
|
5821
6131
|
}
|
|
5822
6132
|
]
|
|
5823
6133
|
}
|
|
@@ -5835,7 +6145,10 @@ var Calamari$4 = {
|
|
|
5835
6145
|
Parachain: 2000
|
|
5836
6146
|
},
|
|
5837
6147
|
{
|
|
5838
|
-
GeneralKey:
|
|
6148
|
+
GeneralKey: {
|
|
6149
|
+
length: 21,
|
|
6150
|
+
data: "0x02577f6a0718a468e8a995f6075f2325f86a07c83b0000000000000000000000"
|
|
6151
|
+
}
|
|
5839
6152
|
}
|
|
5840
6153
|
]
|
|
5841
6154
|
}
|
|
@@ -5853,7 +6166,10 @@ var Calamari$4 = {
|
|
|
5853
6166
|
Parachain: 2000
|
|
5854
6167
|
},
|
|
5855
6168
|
{
|
|
5856
|
-
GeneralKey:
|
|
6169
|
+
GeneralKey: {
|
|
6170
|
+
length: 2,
|
|
6171
|
+
data: "0x0081000000000000000000000000000000000000000000000000000000000000"
|
|
6172
|
+
}
|
|
5857
6173
|
}
|
|
5858
6174
|
]
|
|
5859
6175
|
}
|
|
@@ -5871,7 +6187,10 @@ var Calamari$4 = {
|
|
|
5871
6187
|
Parachain: 2000
|
|
5872
6188
|
},
|
|
5873
6189
|
{
|
|
5874
|
-
GeneralKey:
|
|
6190
|
+
GeneralKey: {
|
|
6191
|
+
length: 21,
|
|
6192
|
+
data: "0x02b4ce1f6109854243d1af13b8ea34ed28542f31e00000000000000000000000"
|
|
6193
|
+
}
|
|
5875
6194
|
}
|
|
5876
6195
|
]
|
|
5877
6196
|
}
|
|
@@ -5889,7 +6208,10 @@ var Calamari$4 = {
|
|
|
5889
6208
|
Parachain: 2000
|
|
5890
6209
|
},
|
|
5891
6210
|
{
|
|
5892
|
-
GeneralKey:
|
|
6211
|
+
GeneralKey: {
|
|
6212
|
+
length: 21,
|
|
6213
|
+
data: "0x02a2a37aaf4730aeedada5aa8ee20a4451cb8b1c4e0000000000000000000000"
|
|
6214
|
+
}
|
|
5893
6215
|
}
|
|
5894
6216
|
]
|
|
5895
6217
|
}
|
|
@@ -5907,7 +6229,10 @@ var Calamari$4 = {
|
|
|
5907
6229
|
Parachain: 2000
|
|
5908
6230
|
},
|
|
5909
6231
|
{
|
|
5910
|
-
GeneralKey:
|
|
6232
|
+
GeneralKey: {
|
|
6233
|
+
length: 2,
|
|
6234
|
+
data: "0x0080000000000000000000000000000000000000000000000000000000000000"
|
|
6235
|
+
}
|
|
5911
6236
|
}
|
|
5912
6237
|
]
|
|
5913
6238
|
}
|
|
@@ -5925,7 +6250,10 @@ var Calamari$4 = {
|
|
|
5925
6250
|
Parachain: 2000
|
|
5926
6251
|
},
|
|
5927
6252
|
{
|
|
5928
|
-
GeneralKey:
|
|
6253
|
+
GeneralKey: {
|
|
6254
|
+
length: 2,
|
|
6255
|
+
data: "0x0083000000000000000000000000000000000000000000000000000000000000"
|
|
6256
|
+
}
|
|
5929
6257
|
}
|
|
5930
6258
|
]
|
|
5931
6259
|
}
|
|
@@ -5943,7 +6271,10 @@ var Calamari$4 = {
|
|
|
5943
6271
|
Parachain: 2000
|
|
5944
6272
|
},
|
|
5945
6273
|
{
|
|
5946
|
-
GeneralKey:
|
|
6274
|
+
GeneralKey: {
|
|
6275
|
+
length: 21,
|
|
6276
|
+
data: "0x02c621abc3afa3f24886ea278fffa7e10e8969d7550000000000000000000000"
|
|
6277
|
+
}
|
|
5947
6278
|
}
|
|
5948
6279
|
]
|
|
5949
6280
|
}
|
|
@@ -5961,7 +6292,10 @@ var Calamari$4 = {
|
|
|
5961
6292
|
Parachain: 2000
|
|
5962
6293
|
},
|
|
5963
6294
|
{
|
|
5964
|
-
GeneralKey:
|
|
6295
|
+
GeneralKey: {
|
|
6296
|
+
length: 21,
|
|
6297
|
+
data: "0x0230b1f4ba0b07789be9986fa090a57e0fe5631ebb0000000000000000000000"
|
|
6298
|
+
}
|
|
5965
6299
|
}
|
|
5966
6300
|
]
|
|
5967
6301
|
}
|
|
@@ -5979,7 +6313,10 @@ var Calamari$4 = {
|
|
|
5979
6313
|
Parachain: 2000
|
|
5980
6314
|
},
|
|
5981
6315
|
{
|
|
5982
|
-
GeneralKey:
|
|
6316
|
+
GeneralKey: {
|
|
6317
|
+
length: 21,
|
|
6318
|
+
data: "0x0277cf14f938cb97308d752647d554439d99b39a3f0000000000000000000000"
|
|
6319
|
+
}
|
|
5983
6320
|
}
|
|
5984
6321
|
]
|
|
5985
6322
|
}
|
|
@@ -5997,7 +6334,10 @@ var Calamari$4 = {
|
|
|
5997
6334
|
Parachain: 2000
|
|
5998
6335
|
},
|
|
5999
6336
|
{
|
|
6000
|
-
GeneralKey:
|
|
6337
|
+
GeneralKey: {
|
|
6338
|
+
length: 21,
|
|
6339
|
+
data: "0x022c7de70b32cf5f20e02329a88d2e3b00ef85eb900000000000000000000000"
|
|
6340
|
+
}
|
|
6001
6341
|
}
|
|
6002
6342
|
]
|
|
6003
6343
|
}
|
|
@@ -6015,7 +6355,10 @@ var Calamari$4 = {
|
|
|
6015
6355
|
Parachain: 2000
|
|
6016
6356
|
},
|
|
6017
6357
|
{
|
|
6018
|
-
GeneralKey:
|
|
6358
|
+
GeneralKey: {
|
|
6359
|
+
length: 21,
|
|
6360
|
+
data: "0x029759ca009cbcd75a84786ac19bb5d02f8e68bcd90000000000000000000000"
|
|
6361
|
+
}
|
|
6019
6362
|
}
|
|
6020
6363
|
]
|
|
6021
6364
|
}
|
|
@@ -6033,7 +6376,10 @@ var Calamari$4 = {
|
|
|
6033
6376
|
Parachain: 2000
|
|
6034
6377
|
},
|
|
6035
6378
|
{
|
|
6036
|
-
GeneralKey:
|
|
6379
|
+
GeneralKey: {
|
|
6380
|
+
length: 21,
|
|
6381
|
+
data: "0x02ece0cc38021e734bef1d5da071b027ac2f71181f0000000000000000000000"
|
|
6382
|
+
}
|
|
6037
6383
|
}
|
|
6038
6384
|
]
|
|
6039
6385
|
}
|
|
@@ -6051,7 +6397,10 @@ var Calamari$4 = {
|
|
|
6051
6397
|
Parachain: 2000
|
|
6052
6398
|
},
|
|
6053
6399
|
{
|
|
6054
|
-
GeneralKey:
|
|
6400
|
+
GeneralKey: {
|
|
6401
|
+
length: 21,
|
|
6402
|
+
data: "0x024bb6afb5fa2b07a5d1c499e1c3ddb5a15e709a710000000000000000000000"
|
|
6403
|
+
}
|
|
6055
6404
|
}
|
|
6056
6405
|
]
|
|
6057
6406
|
}
|
|
@@ -6093,6 +6442,7 @@ var Calamari$4 = {
|
|
|
6093
6442
|
var Crab$4 = {
|
|
6094
6443
|
relayChainAssetSymbol: "KSM",
|
|
6095
6444
|
nativeAssetSymbol: "CRAB",
|
|
6445
|
+
isEVM: true,
|
|
6096
6446
|
nativeAssets: [
|
|
6097
6447
|
{
|
|
6098
6448
|
symbol: "CRAB",
|
|
@@ -6110,6 +6460,7 @@ var Crab$4 = {
|
|
|
6110
6460
|
var CrustShadow$4 = {
|
|
6111
6461
|
relayChainAssetSymbol: "KSM",
|
|
6112
6462
|
nativeAssetSymbol: "CSM",
|
|
6463
|
+
isEVM: false,
|
|
6113
6464
|
nativeAssets: [
|
|
6114
6465
|
{
|
|
6115
6466
|
symbol: "CSM",
|
|
@@ -6157,6 +6508,7 @@ var CrustShadow$4 = {
|
|
|
6157
6508
|
var Encointer$4 = {
|
|
6158
6509
|
relayChainAssetSymbol: "KSM",
|
|
6159
6510
|
nativeAssetSymbol: "KSM",
|
|
6511
|
+
isEVM: false,
|
|
6160
6512
|
nativeAssets: [
|
|
6161
6513
|
{
|
|
6162
6514
|
symbol: "KSM",
|
|
@@ -6169,6 +6521,7 @@ var Encointer$4 = {
|
|
|
6169
6521
|
var Imbue$4 = {
|
|
6170
6522
|
relayChainAssetSymbol: "KSM",
|
|
6171
6523
|
nativeAssetSymbol: "IMBU",
|
|
6524
|
+
isEVM: false,
|
|
6172
6525
|
nativeAssets: [
|
|
6173
6526
|
{
|
|
6174
6527
|
symbol: "IMBU",
|
|
@@ -6181,6 +6534,7 @@ var Imbue$4 = {
|
|
|
6181
6534
|
var KiltSpiritnet$4 = {
|
|
6182
6535
|
relayChainAssetSymbol: "DOT",
|
|
6183
6536
|
nativeAssetSymbol: "KILT",
|
|
6537
|
+
isEVM: false,
|
|
6184
6538
|
nativeAssets: [
|
|
6185
6539
|
{
|
|
6186
6540
|
symbol: "KILT",
|
|
@@ -6193,6 +6547,7 @@ var KiltSpiritnet$4 = {
|
|
|
6193
6547
|
var Integritee$4 = {
|
|
6194
6548
|
relayChainAssetSymbol: "KSM",
|
|
6195
6549
|
nativeAssetSymbol: "TEER",
|
|
6550
|
+
isEVM: false,
|
|
6196
6551
|
nativeAssets: [
|
|
6197
6552
|
{
|
|
6198
6553
|
symbol: "TEER",
|
|
@@ -6205,6 +6560,7 @@ var Integritee$4 = {
|
|
|
6205
6560
|
var InvArchTinker$4 = {
|
|
6206
6561
|
relayChainAssetSymbol: "KSM",
|
|
6207
6562
|
nativeAssetSymbol: "TNKR",
|
|
6563
|
+
isEVM: false,
|
|
6208
6564
|
nativeAssets: [
|
|
6209
6565
|
{
|
|
6210
6566
|
symbol: "TNKR",
|
|
@@ -6217,6 +6573,7 @@ var InvArchTinker$4 = {
|
|
|
6217
6573
|
var Curio$4 = {
|
|
6218
6574
|
relayChainAssetSymbol: "KSM",
|
|
6219
6575
|
nativeAssetSymbol: "CGT",
|
|
6576
|
+
isEVM: false,
|
|
6220
6577
|
nativeAssets: [
|
|
6221
6578
|
{
|
|
6222
6579
|
symbol: "CGT",
|
|
@@ -6253,6 +6610,7 @@ var Curio$4 = {
|
|
|
6253
6610
|
var Karura$4 = {
|
|
6254
6611
|
relayChainAssetSymbol: "KSM",
|
|
6255
6612
|
nativeAssetSymbol: "KAR",
|
|
6613
|
+
isEVM: false,
|
|
6256
6614
|
nativeAssets: [
|
|
6257
6615
|
{
|
|
6258
6616
|
symbol: "KAR",
|
|
@@ -6397,7 +6755,10 @@ var Karura$4 = {
|
|
|
6397
6755
|
Parachain: 2015
|
|
6398
6756
|
},
|
|
6399
6757
|
{
|
|
6400
|
-
GeneralKey:
|
|
6758
|
+
GeneralKey: {
|
|
6759
|
+
length: 4,
|
|
6760
|
+
data: "0x5445455200000000000000000000000000000000000000000000000000000000"
|
|
6761
|
+
}
|
|
6401
6762
|
}
|
|
6402
6763
|
]
|
|
6403
6764
|
}
|
|
@@ -6446,7 +6807,10 @@ var Karura$4 = {
|
|
|
6446
6807
|
Parachain: 2024
|
|
6447
6808
|
},
|
|
6448
6809
|
{
|
|
6449
|
-
GeneralKey:
|
|
6810
|
+
GeneralKey: {
|
|
6811
|
+
length: 3,
|
|
6812
|
+
data: "0x6571640000000000000000000000000000000000000000000000000000000000"
|
|
6813
|
+
}
|
|
6450
6814
|
}
|
|
6451
6815
|
]
|
|
6452
6816
|
}
|
|
@@ -6477,7 +6841,10 @@ var Karura$4 = {
|
|
|
6477
6841
|
Parachain: 2085
|
|
6478
6842
|
},
|
|
6479
6843
|
{
|
|
6480
|
-
GeneralKey:
|
|
6844
|
+
GeneralKey: {
|
|
6845
|
+
length: 3,
|
|
6846
|
+
data: "0x484b4f0000000000000000000000000000000000000000000000000000000000"
|
|
6847
|
+
}
|
|
6481
6848
|
}
|
|
6482
6849
|
]
|
|
6483
6850
|
}
|
|
@@ -6495,7 +6862,10 @@ var Karura$4 = {
|
|
|
6495
6862
|
Parachain: 2088
|
|
6496
6863
|
},
|
|
6497
6864
|
{
|
|
6498
|
-
GeneralKey:
|
|
6865
|
+
GeneralKey: {
|
|
6866
|
+
length: 2,
|
|
6867
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
6868
|
+
}
|
|
6499
6869
|
}
|
|
6500
6870
|
]
|
|
6501
6871
|
}
|
|
@@ -6544,7 +6914,10 @@ var Karura$4 = {
|
|
|
6544
6914
|
Parachain: 2096
|
|
6545
6915
|
},
|
|
6546
6916
|
{
|
|
6547
|
-
GeneralKey:
|
|
6917
|
+
GeneralKey: {
|
|
6918
|
+
length: 9,
|
|
6919
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
6920
|
+
}
|
|
6548
6921
|
}
|
|
6549
6922
|
]
|
|
6550
6923
|
}
|
|
@@ -6562,7 +6935,10 @@ var Karura$4 = {
|
|
|
6562
6935
|
Parachain: 2102
|
|
6563
6936
|
},
|
|
6564
6937
|
{
|
|
6565
|
-
GeneralKey:
|
|
6938
|
+
GeneralKey: {
|
|
6939
|
+
length: 4,
|
|
6940
|
+
data: "0x5043485500000000000000000000000000000000000000000000000000000000"
|
|
6941
|
+
}
|
|
6566
6942
|
}
|
|
6567
6943
|
]
|
|
6568
6944
|
}
|
|
@@ -6616,7 +6992,10 @@ var Karura$4 = {
|
|
|
6616
6992
|
Parachain: 2107
|
|
6617
6993
|
},
|
|
6618
6994
|
{
|
|
6619
|
-
GeneralKey:
|
|
6995
|
+
GeneralKey: {
|
|
6996
|
+
length: 4,
|
|
6997
|
+
data: "0x4b49434f00000000000000000000000000000000000000000000000000000000"
|
|
6998
|
+
}
|
|
6620
6999
|
}
|
|
6621
7000
|
]
|
|
6622
7001
|
}
|
|
@@ -6647,7 +7026,10 @@ var Karura$4 = {
|
|
|
6647
7026
|
Parachain: 2118
|
|
6648
7027
|
},
|
|
6649
7028
|
{
|
|
6650
|
-
GeneralKey:
|
|
7029
|
+
GeneralKey: {
|
|
7030
|
+
length: 2,
|
|
7031
|
+
data: "0x4c54000000000000000000000000000000000000000000000000000000000000"
|
|
7032
|
+
}
|
|
6651
7033
|
}
|
|
6652
7034
|
]
|
|
6653
7035
|
}
|
|
@@ -6658,6 +7040,7 @@ var Karura$4 = {
|
|
|
6658
7040
|
var Kintsugi$4 = {
|
|
6659
7041
|
relayChainAssetSymbol: "KSM",
|
|
6660
7042
|
nativeAssetSymbol: "KINT",
|
|
7043
|
+
isEVM: false,
|
|
6661
7044
|
nativeAssets: [
|
|
6662
7045
|
{
|
|
6663
7046
|
symbol: "KINT",
|
|
@@ -6718,7 +7101,10 @@ var Kintsugi$4 = {
|
|
|
6718
7101
|
Parachain: 2000
|
|
6719
7102
|
},
|
|
6720
7103
|
{
|
|
6721
|
-
GeneralKey:
|
|
7104
|
+
GeneralKey: {
|
|
7105
|
+
length: 2,
|
|
7106
|
+
data: "0x0081000000000000000000000000000000000000000000000000000000000000"
|
|
7107
|
+
}
|
|
6722
7108
|
}
|
|
6723
7109
|
]
|
|
6724
7110
|
}
|
|
@@ -6736,7 +7122,10 @@ var Kintsugi$4 = {
|
|
|
6736
7122
|
Parachain: 2000
|
|
6737
7123
|
},
|
|
6738
7124
|
{
|
|
6739
|
-
GeneralKey:
|
|
7125
|
+
GeneralKey: {
|
|
7126
|
+
length: 2,
|
|
7127
|
+
data: "0x0083000000000000000000000000000000000000000000000000000000000000"
|
|
7128
|
+
}
|
|
6740
7129
|
}
|
|
6741
7130
|
]
|
|
6742
7131
|
}
|
|
@@ -6754,7 +7143,10 @@ var Kintsugi$4 = {
|
|
|
6754
7143
|
Parachain: 2001
|
|
6755
7144
|
},
|
|
6756
7145
|
{
|
|
6757
|
-
GeneralKey:
|
|
7146
|
+
GeneralKey: {
|
|
7147
|
+
length: 2,
|
|
7148
|
+
data: "0x0104000000000000000000000000000000000000000000000000000000000000"
|
|
7149
|
+
}
|
|
6758
7150
|
}
|
|
6759
7151
|
]
|
|
6760
7152
|
}
|
|
@@ -6816,6 +7208,7 @@ var Litmus = {
|
|
|
6816
7208
|
var Moonriver$4 = {
|
|
6817
7209
|
relayChainAssetSymbol: "KSM",
|
|
6818
7210
|
nativeAssetSymbol: "MOVR",
|
|
7211
|
+
isEVM: true,
|
|
6819
7212
|
nativeAssets: [
|
|
6820
7213
|
{
|
|
6821
7214
|
symbol: "MOVR",
|
|
@@ -6888,7 +7281,10 @@ var Moonriver$4 = {
|
|
|
6888
7281
|
Parachain: 2000
|
|
6889
7282
|
},
|
|
6890
7283
|
{
|
|
6891
|
-
GeneralKey:
|
|
7284
|
+
GeneralKey: {
|
|
7285
|
+
length: 2,
|
|
7286
|
+
data: "0x0081000000000000000000000000000000000000000000000000000000000000"
|
|
7287
|
+
}
|
|
6892
7288
|
}
|
|
6893
7289
|
]
|
|
6894
7290
|
}
|
|
@@ -6906,7 +7302,10 @@ var Moonriver$4 = {
|
|
|
6906
7302
|
Parachain: 2000
|
|
6907
7303
|
},
|
|
6908
7304
|
{
|
|
6909
|
-
GeneralKey:
|
|
7305
|
+
GeneralKey: {
|
|
7306
|
+
length: 2,
|
|
7307
|
+
data: "0x0080000000000000000000000000000000000000000000000000000000000000"
|
|
7308
|
+
}
|
|
6910
7309
|
}
|
|
6911
7310
|
]
|
|
6912
7311
|
}
|
|
@@ -6924,7 +7323,10 @@ var Moonriver$4 = {
|
|
|
6924
7323
|
Parachain: 2001
|
|
6925
7324
|
},
|
|
6926
7325
|
{
|
|
6927
|
-
GeneralKey:
|
|
7326
|
+
GeneralKey: {
|
|
7327
|
+
length: 2,
|
|
7328
|
+
data: "0x0104000000000000000000000000000000000000000000000000000000000000"
|
|
7329
|
+
}
|
|
6928
7330
|
}
|
|
6929
7331
|
]
|
|
6930
7332
|
}
|
|
@@ -6942,7 +7344,10 @@ var Moonriver$4 = {
|
|
|
6942
7344
|
Parachain: 2001
|
|
6943
7345
|
},
|
|
6944
7346
|
{
|
|
6945
|
-
GeneralKey:
|
|
7347
|
+
GeneralKey: {
|
|
7348
|
+
length: 2,
|
|
7349
|
+
data: "0x0101000000000000000000000000000000000000000000000000000000000000"
|
|
7350
|
+
}
|
|
6946
7351
|
}
|
|
6947
7352
|
]
|
|
6948
7353
|
}
|
|
@@ -6960,7 +7365,10 @@ var Moonriver$4 = {
|
|
|
6960
7365
|
Parachain: 2001
|
|
6961
7366
|
},
|
|
6962
7367
|
{
|
|
6963
|
-
GeneralKey:
|
|
7368
|
+
GeneralKey: {
|
|
7369
|
+
length: 2,
|
|
7370
|
+
data: "0x010a000000000000000000000000000000000000000000000000000000000000"
|
|
7371
|
+
}
|
|
6964
7372
|
}
|
|
6965
7373
|
]
|
|
6966
7374
|
}
|
|
@@ -6978,7 +7386,10 @@ var Moonriver$4 = {
|
|
|
6978
7386
|
Parachain: 2001
|
|
6979
7387
|
},
|
|
6980
7388
|
{
|
|
6981
|
-
GeneralKey:
|
|
7389
|
+
GeneralKey: {
|
|
7390
|
+
length: 2,
|
|
7391
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
7392
|
+
}
|
|
6982
7393
|
}
|
|
6983
7394
|
]
|
|
6984
7395
|
}
|
|
@@ -7035,7 +7446,10 @@ var Moonriver$4 = {
|
|
|
7035
7446
|
Parachain: 2015
|
|
7036
7447
|
},
|
|
7037
7448
|
{
|
|
7038
|
-
GeneralKey:
|
|
7449
|
+
GeneralKey: {
|
|
7450
|
+
length: 4,
|
|
7451
|
+
data: "0x5445455200000000000000000000000000000000000000000000000000000000"
|
|
7452
|
+
}
|
|
7039
7453
|
}
|
|
7040
7454
|
]
|
|
7041
7455
|
}
|
|
@@ -7079,7 +7493,10 @@ var Moonriver$4 = {
|
|
|
7079
7493
|
Parachain: 2085
|
|
7080
7494
|
},
|
|
7081
7495
|
{
|
|
7082
|
-
GeneralKey:
|
|
7496
|
+
GeneralKey: {
|
|
7497
|
+
length: 3,
|
|
7498
|
+
data: "0x484b4f0000000000000000000000000000000000000000000000000000000000"
|
|
7499
|
+
}
|
|
7083
7500
|
}
|
|
7084
7501
|
]
|
|
7085
7502
|
}
|
|
@@ -7110,7 +7527,10 @@ var Moonriver$4 = {
|
|
|
7110
7527
|
Parachain: 2092
|
|
7111
7528
|
},
|
|
7112
7529
|
{
|
|
7113
|
-
GeneralKey:
|
|
7530
|
+
GeneralKey: {
|
|
7531
|
+
length: 2,
|
|
7532
|
+
data: "0x000b000000000000000000000000000000000000000000000000000000000000"
|
|
7533
|
+
}
|
|
7114
7534
|
}
|
|
7115
7535
|
]
|
|
7116
7536
|
}
|
|
@@ -7128,7 +7548,10 @@ var Moonriver$4 = {
|
|
|
7128
7548
|
Parachain: 2092
|
|
7129
7549
|
},
|
|
7130
7550
|
{
|
|
7131
|
-
GeneralKey:
|
|
7551
|
+
GeneralKey: {
|
|
7552
|
+
length: 2,
|
|
7553
|
+
data: "0x000c000000000000000000000000000000000000000000000000000000000000"
|
|
7554
|
+
}
|
|
7132
7555
|
}
|
|
7133
7556
|
]
|
|
7134
7557
|
}
|
|
@@ -7182,7 +7605,10 @@ var Moonriver$4 = {
|
|
|
7182
7605
|
Parachain: 2110
|
|
7183
7606
|
},
|
|
7184
7607
|
{
|
|
7185
|
-
GeneralKey:
|
|
7608
|
+
GeneralKey: {
|
|
7609
|
+
length: 4,
|
|
7610
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
7611
|
+
}
|
|
7186
7612
|
}
|
|
7187
7613
|
]
|
|
7188
7614
|
}
|
|
@@ -7224,6 +7650,7 @@ var Moonriver$4 = {
|
|
|
7224
7650
|
var ParallelHeiko$4 = {
|
|
7225
7651
|
relayChainAssetSymbol: "KSM",
|
|
7226
7652
|
nativeAssetSymbol: "HKO",
|
|
7653
|
+
isEVM: false,
|
|
7227
7654
|
nativeAssets: [
|
|
7228
7655
|
{
|
|
7229
7656
|
symbol: "HKO",
|
|
@@ -7275,7 +7702,10 @@ var ParallelHeiko$4 = {
|
|
|
7275
7702
|
Parachain: 2000
|
|
7276
7703
|
},
|
|
7277
7704
|
{
|
|
7278
|
-
GeneralKey:
|
|
7705
|
+
GeneralKey: {
|
|
7706
|
+
length: 2,
|
|
7707
|
+
data: "0x0083000000000000000000000000000000000000000000000000000000000000"
|
|
7708
|
+
}
|
|
7279
7709
|
}
|
|
7280
7710
|
]
|
|
7281
7711
|
}
|
|
@@ -7293,7 +7723,10 @@ var ParallelHeiko$4 = {
|
|
|
7293
7723
|
Parachain: 2000
|
|
7294
7724
|
},
|
|
7295
7725
|
{
|
|
7296
|
-
GeneralKey:
|
|
7726
|
+
GeneralKey: {
|
|
7727
|
+
length: 2,
|
|
7728
|
+
data: "0x0080000000000000000000000000000000000000000000000000000000000000"
|
|
7729
|
+
}
|
|
7297
7730
|
}
|
|
7298
7731
|
]
|
|
7299
7732
|
}
|
|
@@ -7363,7 +7796,10 @@ var ParallelHeiko$4 = {
|
|
|
7363
7796
|
Parachain: 2092
|
|
7364
7797
|
},
|
|
7365
7798
|
{
|
|
7366
|
-
GeneralKey:
|
|
7799
|
+
GeneralKey: {
|
|
7800
|
+
length: 2,
|
|
7801
|
+
data: "0x000b000000000000000000000000000000000000000000000000000000000000"
|
|
7802
|
+
}
|
|
7367
7803
|
}
|
|
7368
7804
|
]
|
|
7369
7805
|
}
|
|
@@ -7381,7 +7817,10 @@ var ParallelHeiko$4 = {
|
|
|
7381
7817
|
Parachain: 2092
|
|
7382
7818
|
},
|
|
7383
7819
|
{
|
|
7384
|
-
GeneralKey:
|
|
7820
|
+
GeneralKey: {
|
|
7821
|
+
length: 2,
|
|
7822
|
+
data: "0x000c000000000000000000000000000000000000000000000000000000000000"
|
|
7823
|
+
}
|
|
7385
7824
|
}
|
|
7386
7825
|
]
|
|
7387
7826
|
}
|
|
@@ -7392,6 +7831,7 @@ var ParallelHeiko$4 = {
|
|
|
7392
7831
|
var Picasso$4 = {
|
|
7393
7832
|
relayChainAssetSymbol: "KSM",
|
|
7394
7833
|
nativeAssetSymbol: "PICA",
|
|
7834
|
+
isEVM: false,
|
|
7395
7835
|
nativeAssets: [
|
|
7396
7836
|
{
|
|
7397
7837
|
symbol: "PICA",
|
|
@@ -7754,6 +8194,7 @@ var Picasso$4 = {
|
|
|
7754
8194
|
var Pioneer$4 = {
|
|
7755
8195
|
relayChainAssetSymbol: "KSM",
|
|
7756
8196
|
nativeAssetSymbol: "NEER",
|
|
8197
|
+
isEVM: false,
|
|
7757
8198
|
nativeAssets: [
|
|
7758
8199
|
{
|
|
7759
8200
|
symbol: "NEER",
|
|
@@ -7766,6 +8207,7 @@ var Pioneer$4 = {
|
|
|
7766
8207
|
var Quartz$4 = {
|
|
7767
8208
|
relayChainAssetSymbol: "KSM",
|
|
7768
8209
|
nativeAssetSymbol: "QTZ",
|
|
8210
|
+
isEVM: false,
|
|
7769
8211
|
nativeAssets: [
|
|
7770
8212
|
{
|
|
7771
8213
|
symbol: "QTZ",
|
|
@@ -7778,6 +8220,7 @@ var Quartz$4 = {
|
|
|
7778
8220
|
var RobonomicsKusama$4 = {
|
|
7779
8221
|
relayChainAssetSymbol: "KSM",
|
|
7780
8222
|
nativeAssetSymbol: "XRT",
|
|
8223
|
+
isEVM: false,
|
|
7781
8224
|
nativeAssets: [
|
|
7782
8225
|
{
|
|
7783
8226
|
symbol: "XRT",
|
|
@@ -7790,6 +8233,7 @@ var RobonomicsKusama$4 = {
|
|
|
7790
8233
|
var RobonomicsPolkadot$4 = {
|
|
7791
8234
|
relayChainAssetSymbol: "DOT",
|
|
7792
8235
|
nativeAssetSymbol: "XRT",
|
|
8236
|
+
isEVM: false,
|
|
7793
8237
|
nativeAssets: [
|
|
7794
8238
|
{
|
|
7795
8239
|
symbol: "XRT",
|
|
@@ -7807,6 +8251,7 @@ var RobonomicsPolkadot$4 = {
|
|
|
7807
8251
|
var PeopleKusama$4 = {
|
|
7808
8252
|
relayChainAssetSymbol: "KSM",
|
|
7809
8253
|
nativeAssetSymbol: "KSM",
|
|
8254
|
+
isEVM: false,
|
|
7810
8255
|
nativeAssets: [
|
|
7811
8256
|
{
|
|
7812
8257
|
symbol: "KSM",
|
|
@@ -7819,6 +8264,7 @@ var PeopleKusama$4 = {
|
|
|
7819
8264
|
var PeoplePolkadot$4 = {
|
|
7820
8265
|
relayChainAssetSymbol: "DOT",
|
|
7821
8266
|
nativeAssetSymbol: "DOT",
|
|
8267
|
+
isEVM: false,
|
|
7822
8268
|
nativeAssets: [
|
|
7823
8269
|
{
|
|
7824
8270
|
symbol: "DOT",
|
|
@@ -7831,6 +8277,7 @@ var PeoplePolkadot$4 = {
|
|
|
7831
8277
|
var Shiden$4 = {
|
|
7832
8278
|
relayChainAssetSymbol: "KSM",
|
|
7833
8279
|
nativeAssetSymbol: "SDN",
|
|
8280
|
+
isEVM: false,
|
|
7834
8281
|
nativeAssets: [
|
|
7835
8282
|
{
|
|
7836
8283
|
symbol: "SDN",
|
|
@@ -7903,7 +8350,10 @@ var Shiden$4 = {
|
|
|
7903
8350
|
Parachain: 2000
|
|
7904
8351
|
},
|
|
7905
8352
|
{
|
|
7906
|
-
GeneralKey:
|
|
8353
|
+
GeneralKey: {
|
|
8354
|
+
length: 2,
|
|
8355
|
+
data: "0x0080000000000000000000000000000000000000000000000000000000000000"
|
|
8356
|
+
}
|
|
7907
8357
|
}
|
|
7908
8358
|
]
|
|
7909
8359
|
}
|
|
@@ -7921,7 +8371,10 @@ var Shiden$4 = {
|
|
|
7921
8371
|
Parachain: 2000
|
|
7922
8372
|
},
|
|
7923
8373
|
{
|
|
7924
|
-
GeneralKey:
|
|
8374
|
+
GeneralKey: {
|
|
8375
|
+
length: 2,
|
|
8376
|
+
data: "0x0083000000000000000000000000000000000000000000000000000000000000"
|
|
8377
|
+
}
|
|
7925
8378
|
}
|
|
7926
8379
|
]
|
|
7927
8380
|
}
|
|
@@ -7939,7 +8392,10 @@ var Shiden$4 = {
|
|
|
7939
8392
|
Parachain: 2000
|
|
7940
8393
|
},
|
|
7941
8394
|
{
|
|
7942
|
-
GeneralKey:
|
|
8395
|
+
GeneralKey: {
|
|
8396
|
+
length: 2,
|
|
8397
|
+
data: "0x0081000000000000000000000000000000000000000000000000000000000000"
|
|
8398
|
+
}
|
|
7943
8399
|
}
|
|
7944
8400
|
]
|
|
7945
8401
|
}
|
|
@@ -7957,7 +8413,10 @@ var Shiden$4 = {
|
|
|
7957
8413
|
Parachain: 2001
|
|
7958
8414
|
},
|
|
7959
8415
|
{
|
|
7960
|
-
GeneralKey:
|
|
8416
|
+
GeneralKey: {
|
|
8417
|
+
length: 2,
|
|
8418
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
8419
|
+
}
|
|
7961
8420
|
}
|
|
7962
8421
|
]
|
|
7963
8422
|
}
|
|
@@ -7975,7 +8434,10 @@ var Shiden$4 = {
|
|
|
7975
8434
|
Parachain: 2001
|
|
7976
8435
|
},
|
|
7977
8436
|
{
|
|
7978
|
-
GeneralKey:
|
|
8437
|
+
GeneralKey: {
|
|
8438
|
+
length: 2,
|
|
8439
|
+
data: "0x0404000000000000000000000000000000000000000000000000000000000000"
|
|
8440
|
+
}
|
|
7979
8441
|
}
|
|
7980
8442
|
]
|
|
7981
8443
|
}
|
|
@@ -7993,7 +8455,10 @@ var Shiden$4 = {
|
|
|
7993
8455
|
Parachain: 2001
|
|
7994
8456
|
},
|
|
7995
8457
|
{
|
|
7996
|
-
GeneralKey:
|
|
8458
|
+
GeneralKey: {
|
|
8459
|
+
length: 2,
|
|
8460
|
+
data: "0x0104000000000000000000000000000000000000000000000000000000000000"
|
|
8461
|
+
}
|
|
7997
8462
|
}
|
|
7998
8463
|
]
|
|
7999
8464
|
}
|
|
@@ -8068,7 +8533,10 @@ var Shiden$4 = {
|
|
|
8068
8533
|
Parachain: 2092
|
|
8069
8534
|
},
|
|
8070
8535
|
{
|
|
8071
|
-
GeneralKey:
|
|
8536
|
+
GeneralKey: {
|
|
8537
|
+
length: 2,
|
|
8538
|
+
data: "0x000b000000000000000000000000000000000000000000000000000000000000"
|
|
8539
|
+
}
|
|
8072
8540
|
}
|
|
8073
8541
|
]
|
|
8074
8542
|
}
|
|
@@ -8086,7 +8554,10 @@ var Shiden$4 = {
|
|
|
8086
8554
|
Parachain: 2092
|
|
8087
8555
|
},
|
|
8088
8556
|
{
|
|
8089
|
-
GeneralKey:
|
|
8557
|
+
GeneralKey: {
|
|
8558
|
+
length: 2,
|
|
8559
|
+
data: "0x000c000000000000000000000000000000000000000000000000000000000000"
|
|
8560
|
+
}
|
|
8090
8561
|
}
|
|
8091
8562
|
]
|
|
8092
8563
|
}
|
|
@@ -8128,6 +8599,7 @@ var Shiden$4 = {
|
|
|
8128
8599
|
var AssetHubKusama$4 = {
|
|
8129
8600
|
relayChainAssetSymbol: "KSM",
|
|
8130
8601
|
nativeAssetSymbol: "KSM",
|
|
8602
|
+
isEVM: false,
|
|
8131
8603
|
nativeAssets: [
|
|
8132
8604
|
{
|
|
8133
8605
|
symbol: "KSM",
|
|
@@ -8222,11 +8694,13 @@ var AssetHubKusama$4 = {
|
|
|
8222
8694
|
multiLocation: {
|
|
8223
8695
|
parents: 2,
|
|
8224
8696
|
interior: {
|
|
8225
|
-
X1:
|
|
8226
|
-
|
|
8227
|
-
|
|
8697
|
+
X1: [
|
|
8698
|
+
{
|
|
8699
|
+
GlobalConsensus: {
|
|
8700
|
+
polkadot: null
|
|
8701
|
+
}
|
|
8228
8702
|
}
|
|
8229
|
-
|
|
8703
|
+
]
|
|
8230
8704
|
}
|
|
8231
8705
|
}
|
|
8232
8706
|
},
|
|
@@ -8253,9 +8727,11 @@ var AssetHubKusama$4 = {
|
|
|
8253
8727
|
multiLocation: {
|
|
8254
8728
|
parents: 1,
|
|
8255
8729
|
interior: {
|
|
8256
|
-
X1:
|
|
8257
|
-
|
|
8258
|
-
|
|
8730
|
+
X1: [
|
|
8731
|
+
{
|
|
8732
|
+
Parachain: 2123
|
|
8733
|
+
}
|
|
8734
|
+
]
|
|
8259
8735
|
}
|
|
8260
8736
|
}
|
|
8261
8737
|
},
|
|
@@ -8275,12 +8751,27 @@ var AssetHubKusama$4 = {
|
|
|
8275
8751
|
]
|
|
8276
8752
|
}
|
|
8277
8753
|
}
|
|
8754
|
+
},
|
|
8755
|
+
{
|
|
8756
|
+
symbol: "TEER",
|
|
8757
|
+
decimals: 12,
|
|
8758
|
+
multiLocation: {
|
|
8759
|
+
parents: 1,
|
|
8760
|
+
interior: {
|
|
8761
|
+
X1: [
|
|
8762
|
+
{
|
|
8763
|
+
Parachain: 2015
|
|
8764
|
+
}
|
|
8765
|
+
]
|
|
8766
|
+
}
|
|
8767
|
+
}
|
|
8278
8768
|
}
|
|
8279
8769
|
]
|
|
8280
8770
|
};
|
|
8281
8771
|
var CoretimeKusama$4 = {
|
|
8282
8772
|
relayChainAssetSymbol: "KSM",
|
|
8283
8773
|
nativeAssetSymbol: "KSM",
|
|
8774
|
+
isEVM: false,
|
|
8284
8775
|
nativeAssets: [
|
|
8285
8776
|
{
|
|
8286
8777
|
symbol: "KSM",
|
|
@@ -8293,6 +8784,7 @@ var CoretimeKusama$4 = {
|
|
|
8293
8784
|
var CoretimePolkadot$4 = {
|
|
8294
8785
|
relayChainAssetSymbol: "DOT",
|
|
8295
8786
|
nativeAssetSymbol: "DOT",
|
|
8787
|
+
isEVM: false,
|
|
8296
8788
|
nativeAssets: [
|
|
8297
8789
|
{
|
|
8298
8790
|
symbol: "DOT",
|
|
@@ -8305,6 +8797,7 @@ var CoretimePolkadot$4 = {
|
|
|
8305
8797
|
var Turing$4 = {
|
|
8306
8798
|
relayChainAssetSymbol: "KSM",
|
|
8307
8799
|
nativeAssetSymbol: "TUR",
|
|
8800
|
+
isEVM: false,
|
|
8308
8801
|
nativeAssets: [
|
|
8309
8802
|
{
|
|
8310
8803
|
symbol: "TUR",
|
|
@@ -8335,7 +8828,10 @@ var Turing$4 = {
|
|
|
8335
8828
|
Parachain: 2000
|
|
8336
8829
|
},
|
|
8337
8830
|
{
|
|
8338
|
-
GeneralKey:
|
|
8831
|
+
GeneralKey: {
|
|
8832
|
+
length: 2,
|
|
8833
|
+
data: "0x0081000000000000000000000000000000000000000000000000000000000000"
|
|
8834
|
+
}
|
|
8339
8835
|
}
|
|
8340
8836
|
]
|
|
8341
8837
|
}
|
|
@@ -8353,7 +8849,10 @@ var Turing$4 = {
|
|
|
8353
8849
|
Parachain: 2000
|
|
8354
8850
|
},
|
|
8355
8851
|
{
|
|
8356
|
-
GeneralKey:
|
|
8852
|
+
GeneralKey: {
|
|
8853
|
+
length: 2,
|
|
8854
|
+
data: "0x0080000000000000000000000000000000000000000000000000000000000000"
|
|
8855
|
+
}
|
|
8357
8856
|
}
|
|
8358
8857
|
]
|
|
8359
8858
|
}
|
|
@@ -8371,7 +8870,10 @@ var Turing$4 = {
|
|
|
8371
8870
|
Parachain: 2000
|
|
8372
8871
|
},
|
|
8373
8872
|
{
|
|
8374
|
-
GeneralKey:
|
|
8873
|
+
GeneralKey: {
|
|
8874
|
+
length: 2,
|
|
8875
|
+
data: "0x0083000000000000000000000000000000000000000000000000000000000000"
|
|
8876
|
+
}
|
|
8375
8877
|
}
|
|
8376
8878
|
]
|
|
8377
8879
|
}
|
|
@@ -8433,7 +8935,10 @@ var Turing$4 = {
|
|
|
8433
8935
|
Parachain: 2085
|
|
8434
8936
|
},
|
|
8435
8937
|
{
|
|
8436
|
-
GeneralKey:
|
|
8938
|
+
GeneralKey: {
|
|
8939
|
+
length: 3,
|
|
8940
|
+
data: "0x484b4f0000000000000000000000000000000000000000000000000000000000"
|
|
8941
|
+
}
|
|
8437
8942
|
}
|
|
8438
8943
|
]
|
|
8439
8944
|
}
|
|
@@ -8451,7 +8956,10 @@ var Turing$4 = {
|
|
|
8451
8956
|
Parachain: 2085
|
|
8452
8957
|
},
|
|
8453
8958
|
{
|
|
8454
|
-
GeneralKey:
|
|
8959
|
+
GeneralKey: {
|
|
8960
|
+
length: 4,
|
|
8961
|
+
data: "0x734b534d00000000000000000000000000000000000000000000000000000000"
|
|
8962
|
+
}
|
|
8455
8963
|
}
|
|
8456
8964
|
]
|
|
8457
8965
|
}
|
|
@@ -8469,7 +8977,10 @@ var Turing$4 = {
|
|
|
8469
8977
|
Parachain: 2110
|
|
8470
8978
|
},
|
|
8471
8979
|
{
|
|
8472
|
-
GeneralKey:
|
|
8980
|
+
GeneralKey: {
|
|
8981
|
+
length: 4,
|
|
8982
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
8983
|
+
}
|
|
8473
8984
|
}
|
|
8474
8985
|
]
|
|
8475
8986
|
}
|
|
@@ -8493,6 +9004,7 @@ var Turing$4 = {
|
|
|
8493
9004
|
var Unique$4 = {
|
|
8494
9005
|
relayChainAssetSymbol: "DOT",
|
|
8495
9006
|
nativeAssetSymbol: "UNQ",
|
|
9007
|
+
isEVM: false,
|
|
8496
9008
|
nativeAssets: [
|
|
8497
9009
|
{
|
|
8498
9010
|
symbol: "UNQ",
|
|
@@ -8505,6 +9017,7 @@ var Unique$4 = {
|
|
|
8505
9017
|
var Crust$4 = {
|
|
8506
9018
|
relayChainAssetSymbol: "DOT",
|
|
8507
9019
|
nativeAssetSymbol: "CRU",
|
|
9020
|
+
isEVM: false,
|
|
8508
9021
|
nativeAssets: [
|
|
8509
9022
|
{
|
|
8510
9023
|
symbol: "CRU",
|
|
@@ -8527,6 +9040,7 @@ var Crust$4 = {
|
|
|
8527
9040
|
var Manta$4 = {
|
|
8528
9041
|
relayChainAssetSymbol: "DOT",
|
|
8529
9042
|
nativeAssetSymbol: "MANTA",
|
|
9043
|
+
isEVM: false,
|
|
8530
9044
|
nativeAssets: [
|
|
8531
9045
|
{
|
|
8532
9046
|
symbol: "MANTA",
|
|
@@ -8699,6 +9213,7 @@ var Manta$4 = {
|
|
|
8699
9213
|
var Nodle$4 = {
|
|
8700
9214
|
relayChainAssetSymbol: "DOT",
|
|
8701
9215
|
nativeAssetSymbol: "NODL",
|
|
9216
|
+
isEVM: false,
|
|
8702
9217
|
nativeAssets: [
|
|
8703
9218
|
{
|
|
8704
9219
|
symbol: "NODL",
|
|
@@ -8711,6 +9226,7 @@ var Nodle$4 = {
|
|
|
8711
9226
|
var NeuroWeb$4 = {
|
|
8712
9227
|
relayChainAssetSymbol: "DOT",
|
|
8713
9228
|
nativeAssetSymbol: "NEURO",
|
|
9229
|
+
isEVM: false,
|
|
8714
9230
|
nativeAssets: [
|
|
8715
9231
|
{
|
|
8716
9232
|
symbol: "NEURO",
|
|
@@ -8728,6 +9244,7 @@ var NeuroWeb$4 = {
|
|
|
8728
9244
|
var Pendulum$4 = {
|
|
8729
9245
|
relayChainAssetSymbol: "DOT",
|
|
8730
9246
|
nativeAssetSymbol: "PEN",
|
|
9247
|
+
isEVM: false,
|
|
8731
9248
|
nativeAssets: [
|
|
8732
9249
|
{
|
|
8733
9250
|
symbol: "PEN",
|
|
@@ -8900,7 +9417,10 @@ var Pendulum$4 = {
|
|
|
8900
9417
|
Parachain: 2030
|
|
8901
9418
|
},
|
|
8902
9419
|
{
|
|
8903
|
-
GeneralKey:
|
|
9420
|
+
GeneralKey: {
|
|
9421
|
+
length: 2,
|
|
9422
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
9423
|
+
}
|
|
8904
9424
|
}
|
|
8905
9425
|
]
|
|
8906
9426
|
}
|
|
@@ -8918,7 +9438,10 @@ var Pendulum$4 = {
|
|
|
8918
9438
|
Parachain: 2030
|
|
8919
9439
|
},
|
|
8920
9440
|
{
|
|
8921
|
-
GeneralKey:
|
|
9441
|
+
GeneralKey: {
|
|
9442
|
+
length: 2,
|
|
9443
|
+
data: "0x0900000000000000000000000000000000000000000000000000000000000000"
|
|
9444
|
+
}
|
|
8922
9445
|
}
|
|
8923
9446
|
]
|
|
8924
9447
|
}
|
|
@@ -8978,6 +9501,7 @@ var Pendulum$4 = {
|
|
|
8978
9501
|
var Polkadex$4 = {
|
|
8979
9502
|
relayChainAssetSymbol: "DOT",
|
|
8980
9503
|
nativeAssetSymbol: "PDEX",
|
|
9504
|
+
isEVM: false,
|
|
8981
9505
|
nativeAssets: [
|
|
8982
9506
|
{
|
|
8983
9507
|
symbol: "PDEX",
|
|
@@ -9049,6 +9573,7 @@ var Polkadex$4 = {
|
|
|
9049
9573
|
var Zeitgeist$4 = {
|
|
9050
9574
|
relayChainAssetSymbol: "DOT",
|
|
9051
9575
|
nativeAssetSymbol: "ZTG",
|
|
9576
|
+
isEVM: false,
|
|
9052
9577
|
nativeAssets: [
|
|
9053
9578
|
{
|
|
9054
9579
|
symbol: "ZTG",
|
|
@@ -9128,6 +9653,7 @@ var Zeitgeist$4 = {
|
|
|
9128
9653
|
var Collectives$4 = {
|
|
9129
9654
|
relayChainAssetSymbol: "DOT",
|
|
9130
9655
|
nativeAssetSymbol: "DOT",
|
|
9656
|
+
isEVM: false,
|
|
9131
9657
|
nativeAssets: [
|
|
9132
9658
|
{
|
|
9133
9659
|
symbol: "DOT",
|
|
@@ -9140,6 +9666,7 @@ var Collectives$4 = {
|
|
|
9140
9666
|
var Phala$4 = {
|
|
9141
9667
|
relayChainAssetSymbol: "DOT",
|
|
9142
9668
|
nativeAssetSymbol: "PHA",
|
|
9669
|
+
isEVM: false,
|
|
9143
9670
|
nativeAssets: [
|
|
9144
9671
|
{
|
|
9145
9672
|
symbol: "PHA",
|
|
@@ -9191,7 +9718,10 @@ var Phala$4 = {
|
|
|
9191
9718
|
Parachain: 2000
|
|
9192
9719
|
},
|
|
9193
9720
|
{
|
|
9194
|
-
GeneralKey:
|
|
9721
|
+
GeneralKey: {
|
|
9722
|
+
length: 2,
|
|
9723
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
9724
|
+
}
|
|
9195
9725
|
}
|
|
9196
9726
|
]
|
|
9197
9727
|
}
|
|
@@ -9209,7 +9739,10 @@ var Phala$4 = {
|
|
|
9209
9739
|
Parachain: 2000
|
|
9210
9740
|
},
|
|
9211
9741
|
{
|
|
9212
|
-
GeneralKey:
|
|
9742
|
+
GeneralKey: {
|
|
9743
|
+
length: 2,
|
|
9744
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
9745
|
+
}
|
|
9213
9746
|
}
|
|
9214
9747
|
]
|
|
9215
9748
|
}
|
|
@@ -9227,7 +9760,10 @@ var Phala$4 = {
|
|
|
9227
9760
|
Parachain: 2000
|
|
9228
9761
|
},
|
|
9229
9762
|
{
|
|
9230
|
-
GeneralKey:
|
|
9763
|
+
GeneralKey: {
|
|
9764
|
+
length: 2,
|
|
9765
|
+
data: "0x0003000000000000000000000000000000000000000000000000000000000000"
|
|
9766
|
+
}
|
|
9231
9767
|
}
|
|
9232
9768
|
]
|
|
9233
9769
|
}
|
|
@@ -9289,7 +9825,10 @@ var Phala$4 = {
|
|
|
9289
9825
|
Parachain: 2011
|
|
9290
9826
|
},
|
|
9291
9827
|
{
|
|
9292
|
-
GeneralKey:
|
|
9828
|
+
GeneralKey: {
|
|
9829
|
+
length: 3,
|
|
9830
|
+
data: "0x6571640000000000000000000000000000000000000000000000000000000000"
|
|
9831
|
+
}
|
|
9293
9832
|
}
|
|
9294
9833
|
]
|
|
9295
9834
|
}
|
|
@@ -9307,7 +9846,10 @@ var Phala$4 = {
|
|
|
9307
9846
|
Parachain: 2012
|
|
9308
9847
|
},
|
|
9309
9848
|
{
|
|
9310
|
-
GeneralKey:
|
|
9849
|
+
GeneralKey: {
|
|
9850
|
+
length: 4,
|
|
9851
|
+
data: "0x5041524100000000000000000000000000000000000000000000000000000000"
|
|
9852
|
+
}
|
|
9311
9853
|
}
|
|
9312
9854
|
]
|
|
9313
9855
|
}
|
|
@@ -9325,9 +9867,12 @@ var Phala$4 = {
|
|
|
9325
9867
|
Parachain: 2030
|
|
9326
9868
|
},
|
|
9327
9869
|
{
|
|
9328
|
-
GeneralKey:
|
|
9329
|
-
|
|
9330
|
-
|
|
9870
|
+
GeneralKey: {
|
|
9871
|
+
length: 2,
|
|
9872
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
9873
|
+
}
|
|
9874
|
+
}
|
|
9875
|
+
]
|
|
9331
9876
|
}
|
|
9332
9877
|
}
|
|
9333
9878
|
},
|
|
@@ -9343,7 +9888,10 @@ var Phala$4 = {
|
|
|
9343
9888
|
Parachain: 2032
|
|
9344
9889
|
},
|
|
9345
9890
|
{
|
|
9346
|
-
GeneralKey:
|
|
9891
|
+
GeneralKey: {
|
|
9892
|
+
length: 2,
|
|
9893
|
+
data: "0x0002000000000000000000000000000000000000000000000000000000000000"
|
|
9894
|
+
}
|
|
9347
9895
|
}
|
|
9348
9896
|
]
|
|
9349
9897
|
}
|
|
@@ -9361,7 +9909,10 @@ var Phala$4 = {
|
|
|
9361
9909
|
Parachain: 2032
|
|
9362
9910
|
},
|
|
9363
9911
|
{
|
|
9364
|
-
GeneralKey:
|
|
9912
|
+
GeneralKey: {
|
|
9913
|
+
length: 2,
|
|
9914
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
9915
|
+
}
|
|
9365
9916
|
}
|
|
9366
9917
|
]
|
|
9367
9918
|
}
|
|
@@ -9406,6 +9957,7 @@ var Phala$4 = {
|
|
|
9406
9957
|
]
|
|
9407
9958
|
};
|
|
9408
9959
|
var Ethereum = {
|
|
9960
|
+
isEVM: true,
|
|
9409
9961
|
relayChainAssetSymbol: "DOT",
|
|
9410
9962
|
nativeAssetSymbol: "ETH",
|
|
9411
9963
|
nativeAssets: [
|
|
@@ -9673,6 +10225,7 @@ var Ethereum = {
|
|
|
9673
10225
|
var Khala$4 = {
|
|
9674
10226
|
relayChainAssetSymbol: "KSM",
|
|
9675
10227
|
nativeAssetSymbol: "PHA",
|
|
10228
|
+
isEVM: false,
|
|
9676
10229
|
nativeAssets: [
|
|
9677
10230
|
{
|
|
9678
10231
|
symbol: "PHA",
|
|
@@ -9703,7 +10256,10 @@ var Khala$4 = {
|
|
|
9703
10256
|
Parachain: 2000
|
|
9704
10257
|
},
|
|
9705
10258
|
{
|
|
9706
|
-
GeneralKey:
|
|
10259
|
+
GeneralKey: {
|
|
10260
|
+
length: 2,
|
|
10261
|
+
data: "0x0080000000000000000000000000000000000000000000000000000000000000"
|
|
10262
|
+
}
|
|
9707
10263
|
}
|
|
9708
10264
|
]
|
|
9709
10265
|
}
|
|
@@ -9721,7 +10277,10 @@ var Khala$4 = {
|
|
|
9721
10277
|
Parachain: 2000
|
|
9722
10278
|
},
|
|
9723
10279
|
{
|
|
9724
|
-
GeneralKey:
|
|
10280
|
+
GeneralKey: {
|
|
10281
|
+
length: 2,
|
|
10282
|
+
data: "0x0081000000000000000000000000000000000000000000000000000000000000"
|
|
10283
|
+
}
|
|
9725
10284
|
}
|
|
9726
10285
|
]
|
|
9727
10286
|
}
|
|
@@ -9739,7 +10298,10 @@ var Khala$4 = {
|
|
|
9739
10298
|
Parachain: 2001
|
|
9740
10299
|
},
|
|
9741
10300
|
{
|
|
9742
|
-
GeneralKey:
|
|
10301
|
+
GeneralKey: {
|
|
10302
|
+
length: 2,
|
|
10303
|
+
data: "0x0001000000000000000000000000000000000000000000000000000000000000"
|
|
10304
|
+
}
|
|
9743
10305
|
}
|
|
9744
10306
|
]
|
|
9745
10307
|
}
|
|
@@ -9757,7 +10319,10 @@ var Khala$4 = {
|
|
|
9757
10319
|
Parachain: 2001
|
|
9758
10320
|
},
|
|
9759
10321
|
{
|
|
9760
|
-
GeneralKey:
|
|
10322
|
+
GeneralKey: {
|
|
10323
|
+
length: 2,
|
|
10324
|
+
data: "0x0207000000000000000000000000000000000000000000000000000000000000"
|
|
10325
|
+
}
|
|
9761
10326
|
}
|
|
9762
10327
|
]
|
|
9763
10328
|
}
|
|
@@ -9819,7 +10384,10 @@ var Khala$4 = {
|
|
|
9819
10384
|
Parachain: 2085
|
|
9820
10385
|
},
|
|
9821
10386
|
{
|
|
9822
|
-
GeneralKey:
|
|
10387
|
+
GeneralKey: {
|
|
10388
|
+
length: 3,
|
|
10389
|
+
data: "0x484b4f0000000000000000000000000000000000000000000000000000000000"
|
|
10390
|
+
}
|
|
9823
10391
|
}
|
|
9824
10392
|
]
|
|
9825
10393
|
}
|
|
@@ -9850,7 +10418,10 @@ var Khala$4 = {
|
|
|
9850
10418
|
Parachain: 2090
|
|
9851
10419
|
},
|
|
9852
10420
|
{
|
|
9853
|
-
GeneralKey:
|
|
10421
|
+
GeneralKey: {
|
|
10422
|
+
length: 4,
|
|
10423
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
10424
|
+
}
|
|
9854
10425
|
}
|
|
9855
10426
|
]
|
|
9856
10427
|
}
|
|
@@ -9888,7 +10459,10 @@ var Khala$4 = {
|
|
|
9888
10459
|
Parachain: 2096
|
|
9889
10460
|
},
|
|
9890
10461
|
{
|
|
9891
|
-
GeneralKey:
|
|
10462
|
+
GeneralKey: {
|
|
10463
|
+
length: 9,
|
|
10464
|
+
data: "0x0000000000000000000000000000000000000000000000000000000000000000"
|
|
10465
|
+
}
|
|
9892
10466
|
}
|
|
9893
10467
|
]
|
|
9894
10468
|
}
|
|
@@ -9906,7 +10480,10 @@ var Khala$4 = {
|
|
|
9906
10480
|
Parachain: 2096
|
|
9907
10481
|
},
|
|
9908
10482
|
{
|
|
9909
|
-
GeneralKey:
|
|
10483
|
+
GeneralKey: {
|
|
10484
|
+
length: 9,
|
|
10485
|
+
data: "0x0200000000000000000000000000000000000000000000000000000000000000"
|
|
10486
|
+
}
|
|
9910
10487
|
}
|
|
9911
10488
|
]
|
|
9912
10489
|
}
|
|
@@ -9948,6 +10525,7 @@ var Khala$4 = {
|
|
|
9948
10525
|
var Mythos$4 = {
|
|
9949
10526
|
relayChainAssetSymbol: "DOT",
|
|
9950
10527
|
nativeAssetSymbol: "MYTH",
|
|
10528
|
+
isEVM: true,
|
|
9951
10529
|
nativeAssets: [
|
|
9952
10530
|
{
|
|
9953
10531
|
symbol: "MYTH",
|
|
@@ -9960,6 +10538,7 @@ var Mythos$4 = {
|
|
|
9960
10538
|
var Peaq$4 = {
|
|
9961
10539
|
relayChainAssetSymbol: "DOT",
|
|
9962
10540
|
nativeAssetSymbol: "PEAQ",
|
|
10541
|
+
isEVM: false,
|
|
9963
10542
|
nativeAssets: [
|
|
9964
10543
|
{
|
|
9965
10544
|
symbol: "PEAQ",
|
|
@@ -11769,20 +12348,14 @@ var createApiInstanceForNode$1 = function createApiInstanceForNode(api, node) {
|
|
|
11769
12348
|
while (1) switch (_context.prev = _context.next) {
|
|
11770
12349
|
case 0:
|
|
11771
12350
|
if (!(node === 'Polkadot' || node === 'Kusama')) {
|
|
11772
|
-
_context.next =
|
|
12351
|
+
_context.next = 3;
|
|
11773
12352
|
break;
|
|
11774
12353
|
}
|
|
11775
12354
|
wsUrl = getNodeProvider(node);
|
|
11776
|
-
_context.
|
|
11777
|
-
|
|
12355
|
+
return _context.abrupt("return", api.createApiInstance(wsUrl));
|
|
12356
|
+
case 3:
|
|
12357
|
+
return _context.abrupt("return", getNode(node).createApiInstance(api));
|
|
11778
12358
|
case 4:
|
|
11779
|
-
return _context.abrupt("return", _context.sent);
|
|
11780
|
-
case 5:
|
|
11781
|
-
_context.next = 7;
|
|
11782
|
-
return getNode(node).createApiInstance(api);
|
|
11783
|
-
case 7:
|
|
11784
|
-
return _context.abrupt("return", _context.sent);
|
|
11785
|
-
case 8:
|
|
11786
12359
|
case "end":
|
|
11787
12360
|
return _context.stop();
|
|
11788
12361
|
}
|
|
@@ -12112,8 +12685,7 @@ var XTokensTransferImpl = /*#__PURE__*/function () {
|
|
|
12112
12685
|
addressSelection = input.addressSelection,
|
|
12113
12686
|
destination = input.destination,
|
|
12114
12687
|
scenario = input.scenario,
|
|
12115
|
-
feeAsset = input.feeAsset
|
|
12116
|
-
serializedApiCallEnabled = input.serializedApiCallEnabled;
|
|
12688
|
+
feeAsset = input.feeAsset;
|
|
12117
12689
|
var isMultiLocationDestination = _typeof(destination) === 'object';
|
|
12118
12690
|
if (isMultiLocationDestination) {
|
|
12119
12691
|
throw new Error('Multilocation destinations are not supported for specific transfer you are trying to create. In special cases such as xTokens or xTransfer pallet try using address multilocation instead (for both destination and address in same multilocation set (eg. X2 - Parachain, Address). For further assistance please open issue in our repository.');
|
|
@@ -12130,11 +12702,6 @@ var XTokensTransferImpl = /*#__PURE__*/function () {
|
|
|
12130
12702
|
section: section,
|
|
12131
12703
|
parameters: parameters
|
|
12132
12704
|
};
|
|
12133
|
-
if (serializedApiCallEnabled === true) {
|
|
12134
|
-
return Object.assign(Object.assign({}, call), {
|
|
12135
|
-
parameters: Object.values(parameters)
|
|
12136
|
-
});
|
|
12137
|
-
}
|
|
12138
12705
|
return api.callTxMethod(call);
|
|
12139
12706
|
}
|
|
12140
12707
|
}]);
|
|
@@ -12192,11 +12759,11 @@ var ParachainNode = /*#__PURE__*/function () {
|
|
|
12192
12759
|
key: "transfer",
|
|
12193
12760
|
value: function transfer(options) {
|
|
12194
12761
|
return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
12195
|
-
var api, asset, amount, address, destination, paraIdTo, overridedCurrencyMultiLocation, feeAsset, version, ahAddress,
|
|
12762
|
+
var api, asset, amount, address, destination, paraIdTo, overridedCurrencyMultiLocation, feeAsset, version, ahAddress, scenario, paraId, versionOrDefault, isBifrostOrigin, isAssetHubDest, shouldUseMultiasset, input;
|
|
12196
12763
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
12197
12764
|
while (1) switch (_context.prev = _context.next) {
|
|
12198
12765
|
case 0:
|
|
12199
|
-
api = options.api, asset = options.asset, amount = options.amount, address = options.address, destination = options.destination, paraIdTo = options.paraIdTo, overridedCurrencyMultiLocation = options.overridedCurrencyMultiLocation, feeAsset = options.feeAsset, version = options.version, ahAddress = options.ahAddress
|
|
12766
|
+
api = options.api, asset = options.asset, amount = options.amount, address = options.address, destination = options.destination, paraIdTo = options.paraIdTo, overridedCurrencyMultiLocation = options.overridedCurrencyMultiLocation, feeAsset = options.feeAsset, version = options.version, ahAddress = options.ahAddress;
|
|
12200
12767
|
scenario = destination !== undefined ? 'ParaToPara' : 'ParaToRelay';
|
|
12201
12768
|
paraId = destination !== undefined && _typeof(destination) !== 'object' && destination !== 'Ethereum' ? paraIdTo !== null && paraIdTo !== void 0 ? paraIdTo : getParaId(destination) : undefined;
|
|
12202
12769
|
if (!(destination === 'Polimec' && this.node !== 'AssetHubPolkadot')) {
|
|
@@ -12224,8 +12791,7 @@ var ParachainNode = /*#__PURE__*/function () {
|
|
|
12224
12791
|
paraIdTo: paraId,
|
|
12225
12792
|
destination: destination,
|
|
12226
12793
|
overridedCurrencyMultiLocation: overridedCurrencyMultiLocation,
|
|
12227
|
-
feeAsset: feeAsset
|
|
12228
|
-
serializedApiCallEnabled: serializedApiCallEnabled
|
|
12794
|
+
feeAsset: feeAsset
|
|
12229
12795
|
};
|
|
12230
12796
|
if (!shouldUseMultiasset) {
|
|
12231
12797
|
_context.next = 13;
|
|
@@ -12247,16 +12813,14 @@ var ParachainNode = /*#__PURE__*/function () {
|
|
|
12247
12813
|
paraId: paraId,
|
|
12248
12814
|
origin: this.node,
|
|
12249
12815
|
destination: destination,
|
|
12250
|
-
overridedCurrencyMultiLocation: overridedCurrencyMultiLocation
|
|
12251
|
-
serializedApiCallEnabled: serializedApiCallEnabled
|
|
12816
|
+
overridedCurrencyMultiLocation: overridedCurrencyMultiLocation
|
|
12252
12817
|
}));
|
|
12253
12818
|
case 20:
|
|
12254
12819
|
if (!supportsPolkadotXCM(this)) {
|
|
12255
|
-
_context.next =
|
|
12820
|
+
_context.next = 24;
|
|
12256
12821
|
break;
|
|
12257
12822
|
}
|
|
12258
|
-
_context.
|
|
12259
|
-
return this.transferPolkadotXCM({
|
|
12823
|
+
return _context.abrupt("return", this.transferPolkadotXCM({
|
|
12260
12824
|
api: api,
|
|
12261
12825
|
header: this.createPolkadotXcmHeader(scenario, versionOrDefault, destination, paraId),
|
|
12262
12826
|
addressSelection: generateAddressPayload(api, scenario, 'PolkadotXcm', address, versionOrDefault, paraId),
|
|
@@ -12269,15 +12833,12 @@ var ParachainNode = /*#__PURE__*/function () {
|
|
|
12269
12833
|
destination: destination,
|
|
12270
12834
|
paraIdTo: paraId,
|
|
12271
12835
|
overridedCurrency: overridedCurrencyMultiLocation,
|
|
12272
|
-
serializedApiCallEnabled: serializedApiCallEnabled,
|
|
12273
12836
|
version: version,
|
|
12274
12837
|
ahAddress: ahAddress
|
|
12275
|
-
});
|
|
12276
|
-
case
|
|
12277
|
-
return _context.abrupt("return", _context.sent);
|
|
12278
|
-
case 26:
|
|
12838
|
+
}));
|
|
12839
|
+
case 24:
|
|
12279
12840
|
throw new NoXCMSupportImplementedError(this._node);
|
|
12280
|
-
case
|
|
12841
|
+
case 25:
|
|
12281
12842
|
case "end":
|
|
12282
12843
|
return _context.stop();
|
|
12283
12844
|
}
|
|
@@ -12425,8 +12986,7 @@ var PolkadotXCMTransferImpl = /*#__PURE__*/function () {
|
|
|
12425
12986
|
addressSelection = _ref.addressSelection,
|
|
12426
12987
|
currencySelection = _ref.currencySelection,
|
|
12427
12988
|
_ref$feeAsset = _ref.feeAsset,
|
|
12428
|
-
feeAsset = _ref$feeAsset === void 0 ? DEFAULT_FEE_ASSET : _ref$feeAsset
|
|
12429
|
-
serializedApiCallEnabled = _ref.serializedApiCallEnabled;
|
|
12989
|
+
feeAsset = _ref$feeAsset === void 0 ? DEFAULT_FEE_ASSET : _ref$feeAsset;
|
|
12430
12990
|
var fees = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
|
|
12431
12991
|
var module = 'PolkadotXcm';
|
|
12432
12992
|
var call = {
|
|
@@ -12441,12 +13001,6 @@ var PolkadotXCMTransferImpl = /*#__PURE__*/function () {
|
|
|
12441
13001
|
weight_limit: fees
|
|
12442
13002
|
} : {})
|
|
12443
13003
|
};
|
|
12444
|
-
if (serializedApiCallEnabled === true) {
|
|
12445
|
-
// Keep compatible with old serialized call type
|
|
12446
|
-
return Object.assign(Object.assign({}, call), {
|
|
12447
|
-
parameters: Object.values(call.parameters)
|
|
12448
|
-
});
|
|
12449
|
-
}
|
|
12450
13004
|
return api.callTxMethod(call);
|
|
12451
13005
|
}
|
|
12452
13006
|
}]);
|
|
@@ -12861,7 +13415,7 @@ var Hydration$2 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
12861
13415
|
key: "getProvider",
|
|
12862
13416
|
value: function getProvider() {
|
|
12863
13417
|
// Return the second WebSocket URL because the first one is sometimes unreliable.
|
|
12864
|
-
return getNodeProviders(this.node)[
|
|
13418
|
+
return getNodeProviders(this.node)[2];
|
|
12865
13419
|
}
|
|
12866
13420
|
}]);
|
|
12867
13421
|
}(ParachainNode);
|
|
@@ -12909,22 +13463,35 @@ var Moonbeam$2 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
12909
13463
|
}
|
|
12910
13464
|
_inherits(Moonbeam, _ParachainNode);
|
|
12911
13465
|
return _createClass(Moonbeam, [{
|
|
12912
|
-
key: "
|
|
12913
|
-
value: function
|
|
12914
|
-
if (
|
|
12915
|
-
if (
|
|
12916
|
-
|
|
12917
|
-
|
|
12918
|
-
|
|
12919
|
-
|
|
13466
|
+
key: "getJunctions",
|
|
13467
|
+
value: function getJunctions(asset, scenario) {
|
|
13468
|
+
if (scenario === 'ParaToRelay') return DOT_MULTILOCATION;
|
|
13469
|
+
if (asset.symbol === this.getNativeAssetSymbol()) return {
|
|
13470
|
+
parents: exports.Parents.ZERO,
|
|
13471
|
+
interior: {
|
|
13472
|
+
X1: {
|
|
13473
|
+
PalletInstance: 10
|
|
13474
|
+
}
|
|
13475
|
+
}
|
|
12920
13476
|
};
|
|
13477
|
+
if (!isForeignAsset(asset)) {
|
|
13478
|
+
throw new InvalidCurrencyError('throw new InvalidCurrencyError(`Asset ${JSON.stringify(asset)} has no assetId`)');
|
|
13479
|
+
}
|
|
13480
|
+
return asset.multiLocation;
|
|
12921
13481
|
}
|
|
12922
13482
|
}, {
|
|
12923
|
-
key: "
|
|
12924
|
-
value: function
|
|
12925
|
-
var asset = input.asset
|
|
12926
|
-
|
|
12927
|
-
|
|
13483
|
+
key: "transferPolkadotXCM",
|
|
13484
|
+
value: function transferPolkadotXCM(input) {
|
|
13485
|
+
var asset = input.asset,
|
|
13486
|
+
amount = input.amount,
|
|
13487
|
+
scenario = input.scenario,
|
|
13488
|
+
_input$version = input.version,
|
|
13489
|
+
version = _input$version === void 0 ? this.version : _input$version,
|
|
13490
|
+
overridedCurrency = input.overridedCurrency;
|
|
13491
|
+
var multiLocation = this.getJunctions(asset, scenario);
|
|
13492
|
+
return Promise.resolve(PolkadotXCMTransferImpl.transferPolkadotXCM(Object.assign(Object.assign({}, input), {
|
|
13493
|
+
currencySelection: createCurrencySpec(amount, version, multiLocation.parents, overridedCurrency, multiLocation.interior)
|
|
13494
|
+
}), 'transfer_assets', 'Unlimited'));
|
|
12928
13495
|
}
|
|
12929
13496
|
}, {
|
|
12930
13497
|
key: "transferRelayToPara",
|
|
@@ -13157,22 +13724,35 @@ var Moonriver$2 = /*#__PURE__*/function (_ParachainNode) {
|
|
|
13157
13724
|
}
|
|
13158
13725
|
_inherits(Moonriver, _ParachainNode);
|
|
13159
13726
|
return _createClass(Moonriver, [{
|
|
13160
|
-
key: "
|
|
13161
|
-
value: function
|
|
13162
|
-
if (
|
|
13163
|
-
if (
|
|
13164
|
-
|
|
13165
|
-
|
|
13166
|
-
|
|
13167
|
-
|
|
13727
|
+
key: "getJunctions",
|
|
13728
|
+
value: function getJunctions(asset, scenario) {
|
|
13729
|
+
if (scenario === 'ParaToRelay') return DOT_MULTILOCATION;
|
|
13730
|
+
if (asset.symbol === this.getNativeAssetSymbol()) return {
|
|
13731
|
+
parents: exports.Parents.ZERO,
|
|
13732
|
+
interior: {
|
|
13733
|
+
X1: {
|
|
13734
|
+
PalletInstance: 10
|
|
13735
|
+
}
|
|
13736
|
+
}
|
|
13168
13737
|
};
|
|
13738
|
+
if (!isForeignAsset(asset)) {
|
|
13739
|
+
throw new InvalidCurrencyError('throw new InvalidCurrencyError(`Asset ${JSON.stringify(asset)} has no assetId`)');
|
|
13740
|
+
}
|
|
13741
|
+
return asset.multiLocation;
|
|
13169
13742
|
}
|
|
13170
13743
|
}, {
|
|
13171
|
-
key: "
|
|
13172
|
-
value: function
|
|
13173
|
-
var asset = input.asset
|
|
13174
|
-
|
|
13175
|
-
|
|
13744
|
+
key: "transferPolkadotXCM",
|
|
13745
|
+
value: function transferPolkadotXCM(input) {
|
|
13746
|
+
var asset = input.asset,
|
|
13747
|
+
amount = input.amount,
|
|
13748
|
+
scenario = input.scenario,
|
|
13749
|
+
_input$version = input.version,
|
|
13750
|
+
version = _input$version === void 0 ? this.version : _input$version,
|
|
13751
|
+
overridedCurrency = input.overridedCurrency;
|
|
13752
|
+
var multiLocation = this.getJunctions(asset, scenario);
|
|
13753
|
+
return Promise.resolve(PolkadotXCMTransferImpl.transferPolkadotXCM(Object.assign(Object.assign({}, input), {
|
|
13754
|
+
currencySelection: createCurrencySpec(amount, version, multiLocation.parents, overridedCurrency, multiLocation.interior)
|
|
13755
|
+
}), 'transfer_assets', 'Unlimited'));
|
|
13176
13756
|
}
|
|
13177
13757
|
}, {
|
|
13178
13758
|
key: "transferRelayToPara",
|
|
@@ -14195,7 +14775,6 @@ var XTransferTransferImpl = /*#__PURE__*/function () {
|
|
|
14195
14775
|
amount = input.amount,
|
|
14196
14776
|
origin = input.origin,
|
|
14197
14777
|
destination = input.destination,
|
|
14198
|
-
serializedApiCallEnabled = input.serializedApiCallEnabled,
|
|
14199
14778
|
overridedCurrencyMultiLocation = input.overridedCurrencyMultiLocation;
|
|
14200
14779
|
var isMultiLocationDestination = _typeof(destination) === 'object';
|
|
14201
14780
|
if (isMultiLocationDestination) {
|
|
@@ -14214,11 +14793,6 @@ var XTransferTransferImpl = /*#__PURE__*/function () {
|
|
|
14214
14793
|
dest_weight: destWeight
|
|
14215
14794
|
}
|
|
14216
14795
|
};
|
|
14217
|
-
if (serializedApiCallEnabled === true) {
|
|
14218
|
-
return Object.assign(Object.assign({}, call), {
|
|
14219
|
-
parameters: Object.values(call.parameters)
|
|
14220
|
-
});
|
|
14221
|
-
}
|
|
14222
14796
|
return api.callTxMethod(call);
|
|
14223
14797
|
}
|
|
14224
14798
|
}]);
|
|
@@ -14698,6 +15272,9 @@ var assetsMap = assetsMapJson;
|
|
|
14698
15272
|
var getAssetsObject = function getAssetsObject(node) {
|
|
14699
15273
|
return assetsMap[node];
|
|
14700
15274
|
};
|
|
15275
|
+
var isNodeEvm = function isNodeEvm(node) {
|
|
15276
|
+
return assetsMap[node].isEVM;
|
|
15277
|
+
};
|
|
14701
15278
|
/**
|
|
14702
15279
|
* Retrieves the asset ID for a given symbol on a specified node.
|
|
14703
15280
|
*
|
|
@@ -15051,56 +15628,6 @@ var getExistentialDeposit$1 = function getExistentialDeposit(node) {
|
|
|
15051
15628
|
return edMap[node];
|
|
15052
15629
|
};
|
|
15053
15630
|
|
|
15054
|
-
var getBalanceNativeInternal = function getBalanceNativeInternal(_a) {
|
|
15055
|
-
return __awaiter(void 0, [_a], void 0, function (_ref) {
|
|
15056
|
-
var address = _ref.address,
|
|
15057
|
-
node = _ref.node,
|
|
15058
|
-
api = _ref.api;
|
|
15059
|
-
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
15060
|
-
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
15061
|
-
while (1) switch (_context.prev = _context.next) {
|
|
15062
|
-
case 0:
|
|
15063
|
-
_context.next = 2;
|
|
15064
|
-
return api.init(node);
|
|
15065
|
-
case 2:
|
|
15066
|
-
_context.next = 4;
|
|
15067
|
-
return api.getBalanceNative(address);
|
|
15068
|
-
case 4:
|
|
15069
|
-
return _context.abrupt("return", _context.sent);
|
|
15070
|
-
case 5:
|
|
15071
|
-
case "end":
|
|
15072
|
-
return _context.stop();
|
|
15073
|
-
}
|
|
15074
|
-
}, _callee);
|
|
15075
|
-
})();
|
|
15076
|
-
});
|
|
15077
|
-
};
|
|
15078
|
-
var getBalanceNative$1 = function getBalanceNative(options) {
|
|
15079
|
-
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
15080
|
-
var api;
|
|
15081
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
15082
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
15083
|
-
case 0:
|
|
15084
|
-
api = options.api;
|
|
15085
|
-
_context2.prev = 1;
|
|
15086
|
-
_context2.next = 4;
|
|
15087
|
-
return getBalanceNativeInternal(options);
|
|
15088
|
-
case 4:
|
|
15089
|
-
return _context2.abrupt("return", _context2.sent);
|
|
15090
|
-
case 5:
|
|
15091
|
-
_context2.prev = 5;
|
|
15092
|
-
_context2.next = 8;
|
|
15093
|
-
return api.disconnect();
|
|
15094
|
-
case 8:
|
|
15095
|
-
return _context2.finish(5);
|
|
15096
|
-
case 9:
|
|
15097
|
-
case "end":
|
|
15098
|
-
return _context2.stop();
|
|
15099
|
-
}
|
|
15100
|
-
}, _callee2, null, [[1,, 5, 9]]);
|
|
15101
|
-
}));
|
|
15102
|
-
};
|
|
15103
|
-
|
|
15104
15631
|
var AssetHubPolkadot = {
|
|
15105
15632
|
defaultPallet: "PolkadotXcm",
|
|
15106
15633
|
supportedPallets: [
|
|
@@ -15937,46 +16464,43 @@ var getBalanceForeignPolkadotXcm = function getBalanceForeignPolkadotXcm(api, no
|
|
|
15937
16464
|
while (1) switch (_context.prev = _context.next) {
|
|
15938
16465
|
case 0:
|
|
15939
16466
|
if (!(node === 'Mythos')) {
|
|
15940
|
-
_context.next =
|
|
16467
|
+
_context.next = 2;
|
|
15941
16468
|
break;
|
|
15942
16469
|
}
|
|
15943
|
-
_context.
|
|
15944
|
-
|
|
15945
|
-
case 3:
|
|
15946
|
-
return _context.abrupt("return", _context.sent);
|
|
15947
|
-
case 4:
|
|
16470
|
+
return _context.abrupt("return", api.getMythosForeignBalance(address));
|
|
16471
|
+
case 2:
|
|
15948
16472
|
if (isForeignAsset(asset)) {
|
|
15949
|
-
_context.next =
|
|
16473
|
+
_context.next = 4;
|
|
15950
16474
|
break;
|
|
15951
16475
|
}
|
|
15952
16476
|
throw new InvalidCurrencyError("Asset ".concat(JSON.stringify(asset), " is not a foreign asset"));
|
|
15953
|
-
case
|
|
16477
|
+
case 4:
|
|
15954
16478
|
if (!(node === 'Polimec')) {
|
|
15955
|
-
_context.next =
|
|
16479
|
+
_context.next = 8;
|
|
15956
16480
|
break;
|
|
15957
16481
|
}
|
|
15958
16482
|
if (!(asset.assetId === undefined)) {
|
|
15959
|
-
_context.next =
|
|
16483
|
+
_context.next = 7;
|
|
15960
16484
|
break;
|
|
15961
16485
|
}
|
|
15962
16486
|
throw new InvalidCurrencyError("Asset ".concat(JSON.stringify(asset), " has no assetId"));
|
|
15963
|
-
case
|
|
16487
|
+
case 7:
|
|
15964
16488
|
return _context.abrupt("return", api.getForeignAssetsByIdBalance(address, asset.assetId));
|
|
15965
|
-
case
|
|
16489
|
+
case 8:
|
|
15966
16490
|
if (!(node === 'AssetHubPolkadot')) {
|
|
15967
|
-
_context.next =
|
|
16491
|
+
_context.next = 14;
|
|
15968
16492
|
break;
|
|
15969
16493
|
}
|
|
15970
16494
|
if (!asset.multiLocation) {
|
|
15971
|
-
_context.next =
|
|
16495
|
+
_context.next = 13;
|
|
15972
16496
|
break;
|
|
15973
16497
|
}
|
|
15974
16498
|
return _context.abrupt("return", api.getAssetHubForeignBalance(address, asset.multiLocation));
|
|
15975
|
-
case
|
|
16499
|
+
case 13:
|
|
15976
16500
|
return _context.abrupt("return", api.getBalanceForeignAssetsAccount(address, Number(asset.assetId)));
|
|
15977
|
-
case
|
|
16501
|
+
case 14:
|
|
15978
16502
|
return _context.abrupt("return", api.getBalanceForeignPolkadotXcm(address, asset.assetId));
|
|
15979
|
-
case
|
|
16503
|
+
case 15:
|
|
15980
16504
|
case "end":
|
|
15981
16505
|
return _context.stop();
|
|
15982
16506
|
}
|
|
@@ -16039,25 +16563,19 @@ var getBalanceForeignInternal = function getBalanceForeignInternal(_a) {
|
|
|
16039
16563
|
case 5:
|
|
16040
16564
|
defaultPallet = getDefaultPallet(node);
|
|
16041
16565
|
if (!(defaultPallet === 'XTokens')) {
|
|
16042
|
-
_context.next =
|
|
16566
|
+
_context.next = 10;
|
|
16043
16567
|
break;
|
|
16044
16568
|
}
|
|
16045
|
-
_context.
|
|
16046
|
-
|
|
16047
|
-
case 9:
|
|
16048
|
-
return _context.abrupt("return", _context.sent);
|
|
16049
|
-
case 12:
|
|
16569
|
+
return _context.abrupt("return", getBalanceForeignXTokens(api, node, address, asset));
|
|
16570
|
+
case 10:
|
|
16050
16571
|
if (!(defaultPallet === 'PolkadotXcm')) {
|
|
16051
|
-
_context.next =
|
|
16572
|
+
_context.next = 12;
|
|
16052
16573
|
break;
|
|
16053
16574
|
}
|
|
16054
|
-
_context.
|
|
16055
|
-
|
|
16056
|
-
case 15:
|
|
16057
|
-
return _context.abrupt("return", _context.sent);
|
|
16058
|
-
case 16:
|
|
16575
|
+
return _context.abrupt("return", getBalanceForeignPolkadotXcm(api, node, address, asset));
|
|
16576
|
+
case 12:
|
|
16059
16577
|
throw new Error('Unsupported pallet');
|
|
16060
|
-
case
|
|
16578
|
+
case 13:
|
|
16061
16579
|
case "end":
|
|
16062
16580
|
return _context.stop();
|
|
16063
16581
|
}
|
|
@@ -16091,6 +16609,66 @@ var getBalanceForeign$1 = function getBalanceForeign(options) {
|
|
|
16091
16609
|
}));
|
|
16092
16610
|
};
|
|
16093
16611
|
|
|
16612
|
+
var getBalanceNativeInternal = function getBalanceNativeInternal(_a) {
|
|
16613
|
+
return __awaiter(void 0, [_a], void 0, function (_ref) {
|
|
16614
|
+
var address = _ref.address,
|
|
16615
|
+
node = _ref.node,
|
|
16616
|
+
api = _ref.api;
|
|
16617
|
+
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
16618
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
16619
|
+
while (1) switch (_context.prev = _context.next) {
|
|
16620
|
+
case 0:
|
|
16621
|
+
_context.next = 2;
|
|
16622
|
+
return api.init(node);
|
|
16623
|
+
case 2:
|
|
16624
|
+
if (!(node === 'Interlay')) {
|
|
16625
|
+
_context.next = 4;
|
|
16626
|
+
break;
|
|
16627
|
+
}
|
|
16628
|
+
return _context.abrupt("return", getBalanceForeignInternal({
|
|
16629
|
+
address: address,
|
|
16630
|
+
node: node,
|
|
16631
|
+
api: api,
|
|
16632
|
+
currency: {
|
|
16633
|
+
symbol: getAssetsObject(node).nativeAssetSymbol
|
|
16634
|
+
}
|
|
16635
|
+
}));
|
|
16636
|
+
case 4:
|
|
16637
|
+
return _context.abrupt("return", api.getBalanceNative(address));
|
|
16638
|
+
case 5:
|
|
16639
|
+
case "end":
|
|
16640
|
+
return _context.stop();
|
|
16641
|
+
}
|
|
16642
|
+
}, _callee);
|
|
16643
|
+
})();
|
|
16644
|
+
});
|
|
16645
|
+
};
|
|
16646
|
+
var getBalanceNative$1 = function getBalanceNative(options) {
|
|
16647
|
+
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
16648
|
+
var api;
|
|
16649
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
16650
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
16651
|
+
case 0:
|
|
16652
|
+
api = options.api;
|
|
16653
|
+
_context2.prev = 1;
|
|
16654
|
+
_context2.next = 4;
|
|
16655
|
+
return getBalanceNativeInternal(options);
|
|
16656
|
+
case 4:
|
|
16657
|
+
return _context2.abrupt("return", _context2.sent);
|
|
16658
|
+
case 5:
|
|
16659
|
+
_context2.prev = 5;
|
|
16660
|
+
_context2.next = 8;
|
|
16661
|
+
return api.disconnect();
|
|
16662
|
+
case 8:
|
|
16663
|
+
return _context2.finish(5);
|
|
16664
|
+
case 9:
|
|
16665
|
+
case "end":
|
|
16666
|
+
return _context2.stop();
|
|
16667
|
+
}
|
|
16668
|
+
}, _callee2, null, [[1,, 5, 9]]);
|
|
16669
|
+
}));
|
|
16670
|
+
};
|
|
16671
|
+
|
|
16094
16672
|
var getAssetBalanceInternal = function getAssetBalanceInternal(_a) {
|
|
16095
16673
|
return __awaiter(void 0, [_a], void 0, function (_ref) {
|
|
16096
16674
|
var address = _ref.address,
|
|
@@ -16106,7 +16684,7 @@ var getAssetBalanceInternal = function getAssetBalanceInternal(_a) {
|
|
|
16106
16684
|
return api.init(node);
|
|
16107
16685
|
case 2:
|
|
16108
16686
|
isNativeSymbol = 'symbol' in currency ? getNativeAssetSymbol(node) === currency.symbol : false;
|
|
16109
|
-
if (!isNativeSymbol) {
|
|
16687
|
+
if (!(isNativeSymbol && node !== 'Interlay')) {
|
|
16110
16688
|
_context.next = 9;
|
|
16111
16689
|
break;
|
|
16112
16690
|
}
|
|
@@ -16320,42 +16898,14 @@ var RelayToParaBuilder = /*#__PURE__*/function () {
|
|
|
16320
16898
|
while (1) switch (_context.prev = _context.next) {
|
|
16321
16899
|
case 0:
|
|
16322
16900
|
options = this.buildOptions();
|
|
16323
|
-
_context.
|
|
16324
|
-
|
|
16325
|
-
case 3:
|
|
16326
|
-
return _context.abrupt("return", _context.sent);
|
|
16327
|
-
case 4:
|
|
16901
|
+
return _context.abrupt("return", transferRelayToPara(options));
|
|
16902
|
+
case 2:
|
|
16328
16903
|
case "end":
|
|
16329
16904
|
return _context.stop();
|
|
16330
16905
|
}
|
|
16331
16906
|
}, _callee, this);
|
|
16332
16907
|
}));
|
|
16333
16908
|
}
|
|
16334
|
-
/**
|
|
16335
|
-
* Builds and returns a serialized API call for the transfer.
|
|
16336
|
-
*
|
|
16337
|
-
* @returns A Promise that resolves to the serialized API call.
|
|
16338
|
-
*/
|
|
16339
|
-
}, {
|
|
16340
|
-
key: "buildSerializedApiCall",
|
|
16341
|
-
value: function buildSerializedApiCall() {
|
|
16342
|
-
return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
16343
|
-
var options;
|
|
16344
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
16345
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
16346
|
-
case 0:
|
|
16347
|
-
options = this.buildOptions();
|
|
16348
|
-
_context2.next = 3;
|
|
16349
|
-
return transferRelayToParaSerializedApiCall(options);
|
|
16350
|
-
case 3:
|
|
16351
|
-
return _context2.abrupt("return", _context2.sent);
|
|
16352
|
-
case 4:
|
|
16353
|
-
case "end":
|
|
16354
|
-
return _context2.stop();
|
|
16355
|
-
}
|
|
16356
|
-
}, _callee2, this);
|
|
16357
|
-
}));
|
|
16358
|
-
}
|
|
16359
16909
|
}], [{
|
|
16360
16910
|
key: "create",
|
|
16361
16911
|
value: function create(api, to, batchManager, paraIdTo) {
|
|
@@ -16501,28 +17051,6 @@ var ParaToParaBuilder = /*#__PURE__*/function () {
|
|
|
16501
17051
|
}, _callee, this);
|
|
16502
17052
|
}));
|
|
16503
17053
|
}
|
|
16504
|
-
/**
|
|
16505
|
-
* Builds and returns a serialized API call for the transfer.
|
|
16506
|
-
*
|
|
16507
|
-
* @returns A Promise that resolves to the serialized API call.
|
|
16508
|
-
*/
|
|
16509
|
-
}, {
|
|
16510
|
-
key: "buildSerializedApiCall",
|
|
16511
|
-
value: function buildSerializedApiCall() {
|
|
16512
|
-
return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
16513
|
-
var options;
|
|
16514
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
16515
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
16516
|
-
case 0:
|
|
16517
|
-
options = this.buildOptions();
|
|
16518
|
-
return _context2.abrupt("return", sendSerializedApiCall(options));
|
|
16519
|
-
case 2:
|
|
16520
|
-
case "end":
|
|
16521
|
-
return _context2.stop();
|
|
16522
|
-
}
|
|
16523
|
-
}, _callee2, this);
|
|
16524
|
-
}));
|
|
16525
|
-
}
|
|
16526
17054
|
}], [{
|
|
16527
17055
|
key: "createParaToPara",
|
|
16528
17056
|
value: function createParaToPara(api, from, to, currency, batchManager, paraIdTo) {
|
|
@@ -16598,37 +17126,14 @@ var ParaToRelayBuilder = /*#__PURE__*/function () {
|
|
|
16598
17126
|
while (1) switch (_context.prev = _context.next) {
|
|
16599
17127
|
case 0:
|
|
16600
17128
|
options = this.buildOptions();
|
|
16601
|
-
_context.
|
|
16602
|
-
|
|
16603
|
-
case 3:
|
|
16604
|
-
return _context.abrupt("return", _context.sent);
|
|
16605
|
-
case 4:
|
|
17129
|
+
return _context.abrupt("return", send(options));
|
|
17130
|
+
case 2:
|
|
16606
17131
|
case "end":
|
|
16607
17132
|
return _context.stop();
|
|
16608
17133
|
}
|
|
16609
17134
|
}, _callee, this);
|
|
16610
17135
|
}));
|
|
16611
17136
|
}
|
|
16612
|
-
}, {
|
|
16613
|
-
key: "buildSerializedApiCall",
|
|
16614
|
-
value: function buildSerializedApiCall() {
|
|
16615
|
-
return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
16616
|
-
var options;
|
|
16617
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
16618
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
16619
|
-
case 0:
|
|
16620
|
-
options = this.buildOptions();
|
|
16621
|
-
_context2.next = 3;
|
|
16622
|
-
return sendSerializedApiCall(options);
|
|
16623
|
-
case 3:
|
|
16624
|
-
return _context2.abrupt("return", _context2.sent);
|
|
16625
|
-
case 4:
|
|
16626
|
-
case "end":
|
|
16627
|
-
return _context2.stop();
|
|
16628
|
-
}
|
|
16629
|
-
}, _callee2, this);
|
|
16630
|
-
}));
|
|
16631
|
-
}
|
|
16632
17137
|
}], [{
|
|
16633
17138
|
key: "create",
|
|
16634
17139
|
value: function create(api, from, amount, batchManager, feeAsset) {
|
|
@@ -16676,11 +17181,11 @@ var buildClaimAssetsInput = function buildClaimAssetsInput(_ref) {
|
|
|
16676
17181
|
|
|
16677
17182
|
var claimAssets$1 = function claimAssets(options) {
|
|
16678
17183
|
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
16679
|
-
var api, node,
|
|
17184
|
+
var api, node, args, module, call;
|
|
16680
17185
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
16681
17186
|
while (1) switch (_context.prev = _context.next) {
|
|
16682
17187
|
case 0:
|
|
16683
|
-
api = options.api, node = options.node
|
|
17188
|
+
api = options.api, node = options.node;
|
|
16684
17189
|
_context.next = 3;
|
|
16685
17190
|
return api.init(node);
|
|
16686
17191
|
case 3:
|
|
@@ -16692,30 +17197,22 @@ var claimAssets$1 = function claimAssets(options) {
|
|
|
16692
17197
|
section: 'claim_assets',
|
|
16693
17198
|
parameters: args
|
|
16694
17199
|
};
|
|
16695
|
-
if (!(serializedApiCallEnabled === true)) {
|
|
16696
|
-
_context.next = 9;
|
|
16697
|
-
break;
|
|
16698
|
-
}
|
|
16699
|
-
return _context.abrupt("return", Object.assign(Object.assign({}, call), {
|
|
16700
|
-
parameters: Object.values(args)
|
|
16701
|
-
}));
|
|
16702
|
-
case 9:
|
|
16703
17200
|
return _context.abrupt("return", api.callTxMethod(call));
|
|
16704
|
-
case
|
|
16705
|
-
_context.prev =
|
|
17201
|
+
case 8:
|
|
17202
|
+
_context.prev = 8;
|
|
16706
17203
|
if (!isPjsClient(api)) {
|
|
16707
|
-
_context.next =
|
|
17204
|
+
_context.next = 12;
|
|
16708
17205
|
break;
|
|
16709
17206
|
}
|
|
16710
|
-
_context.next =
|
|
17207
|
+
_context.next = 12;
|
|
16711
17208
|
return api.disconnect();
|
|
16712
|
-
case
|
|
16713
|
-
return _context.finish(
|
|
16714
|
-
case
|
|
17209
|
+
case 12:
|
|
17210
|
+
return _context.finish(8);
|
|
17211
|
+
case 13:
|
|
16715
17212
|
case "end":
|
|
16716
17213
|
return _context.stop();
|
|
16717
17214
|
}
|
|
16718
|
-
}, _callee, null, [[3,,
|
|
17215
|
+
}, _callee, null, [[3,, 8, 13]]);
|
|
16719
17216
|
}));
|
|
16720
17217
|
};
|
|
16721
17218
|
|
|
@@ -16801,30 +17298,6 @@ var AssetClaimBuilder = /*#__PURE__*/function () {
|
|
|
16801
17298
|
}, _callee, this);
|
|
16802
17299
|
}));
|
|
16803
17300
|
}
|
|
16804
|
-
/**
|
|
16805
|
-
* Builds and returns a serialized API call for the asset claim.
|
|
16806
|
-
*
|
|
16807
|
-
* @returns A Promise that resolves to the serialized API call.
|
|
16808
|
-
*/
|
|
16809
|
-
}, {
|
|
16810
|
-
key: "buildSerializedApiCall",
|
|
16811
|
-
value: function buildSerializedApiCall() {
|
|
16812
|
-
return __awaiter(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
16813
|
-
var options;
|
|
16814
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
16815
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
16816
|
-
case 0:
|
|
16817
|
-
options = this.buildOptions();
|
|
16818
|
-
return _context2.abrupt("return", claimAssets$1(Object.assign(Object.assign({}, options), {
|
|
16819
|
-
serializedApiCallEnabled: true
|
|
16820
|
-
})));
|
|
16821
|
-
case 2:
|
|
16822
|
-
case "end":
|
|
16823
|
-
return _context2.stop();
|
|
16824
|
-
}
|
|
16825
|
-
}, _callee2, this);
|
|
16826
|
-
}));
|
|
16827
|
-
}
|
|
16828
17301
|
}], [{
|
|
16829
17302
|
key: "create",
|
|
16830
17303
|
value: function create(api, node) {
|
|
@@ -17093,8 +17566,7 @@ var createContext = function createContext(executionUrl, config) {
|
|
|
17093
17566
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
17094
17567
|
while (1) switch (_context.prev = _context.next) {
|
|
17095
17568
|
case 0:
|
|
17096
|
-
_context.
|
|
17097
|
-
return api.contextFactory({
|
|
17569
|
+
return _context.abrupt("return", api.contextFactory({
|
|
17098
17570
|
ethereum: {
|
|
17099
17571
|
execution_url: executionUrl,
|
|
17100
17572
|
beacon_url: config.BEACON_HTTP_API
|
|
@@ -17111,10 +17583,8 @@ var createContext = function createContext(executionUrl, config) {
|
|
|
17111
17583
|
gateway: config.GATEWAY_CONTRACT,
|
|
17112
17584
|
beefy: config.BEEFY_CONTRACT
|
|
17113
17585
|
}
|
|
17114
|
-
});
|
|
17115
|
-
case
|
|
17116
|
-
return _context.abrupt("return", _context.sent);
|
|
17117
|
-
case 3:
|
|
17586
|
+
}));
|
|
17587
|
+
case 1:
|
|
17118
17588
|
case "end":
|
|
17119
17589
|
return _context.stop();
|
|
17120
17590
|
}
|
|
@@ -17308,28 +17778,19 @@ var createTx$1 = function createTx(api, address, amount, currency, originNode, d
|
|
|
17308
17778
|
while (1) switch (_context.prev = _context.next) {
|
|
17309
17779
|
case 0:
|
|
17310
17780
|
if (!isRelayChain(originNode)) {
|
|
17311
|
-
_context.next =
|
|
17781
|
+
_context.next = 4;
|
|
17312
17782
|
break;
|
|
17313
17783
|
}
|
|
17314
|
-
_context.
|
|
17315
|
-
|
|
17316
|
-
case 3:
|
|
17317
|
-
return _context.abrupt("return", _context.sent);
|
|
17318
|
-
case 6:
|
|
17784
|
+
return _context.abrupt("return", Builder$1(api).to(destNode).amount(amount).address(address).build());
|
|
17785
|
+
case 4:
|
|
17319
17786
|
if (!isRelayChain(destNode)) {
|
|
17320
|
-
_context.next =
|
|
17787
|
+
_context.next = 8;
|
|
17321
17788
|
break;
|
|
17322
17789
|
}
|
|
17323
|
-
_context.
|
|
17324
|
-
|
|
17790
|
+
return _context.abrupt("return", Builder$1(api).from(originNode).amount(amount).address(address).build());
|
|
17791
|
+
case 8:
|
|
17792
|
+
return _context.abrupt("return", Builder$1(api).from(originNode).to(destNode).currency(currency).amount(amount).address(address).build());
|
|
17325
17793
|
case 9:
|
|
17326
|
-
return _context.abrupt("return", _context.sent);
|
|
17327
|
-
case 12:
|
|
17328
|
-
_context.next = 14;
|
|
17329
|
-
return Builder$1(api).from(originNode).to(destNode).currency(currency).amount(amount).address(address).build();
|
|
17330
|
-
case 14:
|
|
17331
|
-
return _context.abrupt("return", _context.sent);
|
|
17332
|
-
case 15:
|
|
17333
17794
|
case "end":
|
|
17334
17795
|
return _context.stop();
|
|
17335
17796
|
}
|
|
@@ -17619,36 +18080,27 @@ var createTx = function createTx(originApi, destApi, address, amount, currencySy
|
|
|
17619
18080
|
while (1) switch (_context.prev = _context.next) {
|
|
17620
18081
|
case 0:
|
|
17621
18082
|
if (!(originNode !== undefined && destNode !== undefined)) {
|
|
17622
|
-
_context.next =
|
|
18083
|
+
_context.next = 2;
|
|
17623
18084
|
break;
|
|
17624
18085
|
}
|
|
17625
|
-
_context.
|
|
17626
|
-
return Builder$1(destApi).from(destNode).to(originNode).currency({
|
|
18086
|
+
return _context.abrupt("return", Builder$1(destApi).from(destNode).to(originNode).currency({
|
|
17627
18087
|
symbol: currencySymbol
|
|
17628
|
-
}).amount(amount).address(address).build();
|
|
17629
|
-
case
|
|
17630
|
-
return _context.abrupt("return", _context.sent);
|
|
17631
|
-
case 4:
|
|
18088
|
+
}).amount(amount).address(address).build());
|
|
18089
|
+
case 2:
|
|
17632
18090
|
if (!(originNode === undefined && destNode !== undefined)) {
|
|
17633
|
-
_context.next =
|
|
18091
|
+
_context.next = 6;
|
|
17634
18092
|
break;
|
|
17635
18093
|
}
|
|
17636
|
-
_context.
|
|
17637
|
-
|
|
17638
|
-
case 7:
|
|
17639
|
-
return _context.abrupt("return", _context.sent);
|
|
17640
|
-
case 10:
|
|
18094
|
+
return _context.abrupt("return", Builder$1(originApi).to(destNode).amount(amount).address(address).build());
|
|
18095
|
+
case 6:
|
|
17641
18096
|
if (!(originNode !== undefined && destNode === undefined)) {
|
|
17642
|
-
_context.next =
|
|
18097
|
+
_context.next = 10;
|
|
17643
18098
|
break;
|
|
17644
18099
|
}
|
|
17645
|
-
_context.
|
|
17646
|
-
|
|
17647
|
-
case 13:
|
|
17648
|
-
return _context.abrupt("return", _context.sent);
|
|
17649
|
-
case 16:
|
|
18100
|
+
return _context.abrupt("return", Builder$1(destApi).to(originNode).amount(amount).address(address).build());
|
|
18101
|
+
case 10:
|
|
17650
18102
|
return _context.abrupt("return", null);
|
|
17651
|
-
case
|
|
18103
|
+
case 11:
|
|
17652
18104
|
case "end":
|
|
17653
18105
|
return _context.stop();
|
|
17654
18106
|
}
|
|
@@ -17751,359 +18203,306 @@ var checkKeepAlive = function checkKeepAlive(_a) {
|
|
|
17751
18203
|
});
|
|
17752
18204
|
};
|
|
17753
18205
|
|
|
17754
|
-
var
|
|
17755
|
-
|
|
17756
|
-
|
|
18206
|
+
var validateDestinationAddress = function validateDestinationAddress(address, destination) {
|
|
18207
|
+
if (typeof address === 'string' && destination && !isTMultiLocation(destination)) {
|
|
18208
|
+
var isDestinationEvm = isNodeEvm(destination);
|
|
18209
|
+
var isEthereumAddress = ethers.ethers.isAddress(address);
|
|
18210
|
+
if (isDestinationEvm) {
|
|
18211
|
+
if (!isEthereumAddress) {
|
|
18212
|
+
throw new InvalidAddressError('Destination node is an EVM chain, but the address provided is not a valid Ethereum address.');
|
|
18213
|
+
}
|
|
18214
|
+
} else {
|
|
18215
|
+
if (isEthereumAddress) {
|
|
18216
|
+
throw new InvalidAddressError('EVM address provided but destination is not an EVM chain.');
|
|
18217
|
+
}
|
|
18218
|
+
}
|
|
17757
18219
|
}
|
|
17758
|
-
|
|
17759
|
-
|
|
17760
|
-
|
|
17761
|
-
|
|
17762
|
-
|
|
17763
|
-
|
|
17764
|
-
|
|
17765
|
-
|
|
17766
|
-
|
|
17767
|
-
|
|
17768
|
-
|
|
17769
|
-
}
|
|
17770
|
-
throw new Error('Amount is required');
|
|
17771
|
-
case 3:
|
|
17772
|
-
if (!('multilocation' in currency && (feeAsset === 0 || feeAsset !== undefined))) {
|
|
17773
|
-
_context.next = 5;
|
|
17774
|
-
break;
|
|
17775
|
-
}
|
|
17776
|
-
throw new InvalidCurrencyError('Overrided single multi asset cannot be used with fee asset');
|
|
17777
|
-
case 5:
|
|
17778
|
-
if (!('multiasset' in currency)) {
|
|
17779
|
-
_context.next = 15;
|
|
17780
|
-
break;
|
|
17781
|
-
}
|
|
17782
|
-
if (amount !== null) {
|
|
17783
|
-
console.warn('Amount is ignored when using overriding currency using multiple multi locations. Please set it to null.');
|
|
17784
|
-
}
|
|
17785
|
-
if (!(currency.multiasset.length === 0)) {
|
|
17786
|
-
_context.next = 9;
|
|
17787
|
-
break;
|
|
17788
|
-
}
|
|
17789
|
-
throw new InvalidCurrencyError('Overrided multi assets cannot be empty');
|
|
17790
|
-
case 9:
|
|
17791
|
-
if (!(currency.multiasset.length === 1 && (feeAsset === 0 || feeAsset !== undefined))) {
|
|
17792
|
-
_context.next = 11;
|
|
17793
|
-
break;
|
|
17794
|
-
}
|
|
17795
|
-
throw new InvalidCurrencyError('Overrided single multi asset cannot be used with fee asset');
|
|
17796
|
-
case 11:
|
|
17797
|
-
if (!(currency.multiasset.length > 1 && feeAsset === undefined)) {
|
|
17798
|
-
_context.next = 13;
|
|
17799
|
-
break;
|
|
17800
|
-
}
|
|
17801
|
-
throw new InvalidCurrencyError('Overrided multi assets cannot be used without specifying fee asset');
|
|
17802
|
-
case 13:
|
|
17803
|
-
if (!(currency.multiasset.length > 1 && feeAsset !== undefined && (feeAsset < 0 || feeAsset >= currency.multiasset.length))) {
|
|
17804
|
-
_context.next = 15;
|
|
17805
|
-
break;
|
|
17806
|
-
}
|
|
17807
|
-
throw new InvalidCurrencyError('Fee asset index is out of bounds. Please provide a valid index.');
|
|
17808
|
-
case 15:
|
|
17809
|
-
if (!(destination === 'Ethereum' && origin !== 'AssetHubPolkadot' && origin !== 'Hydration')) {
|
|
17810
|
-
_context.next = 17;
|
|
17811
|
-
break;
|
|
17812
|
-
}
|
|
17813
|
-
throw new IncompatibleNodesError('Transfers to Ethereum are only supported from AssetHubPolkadot and Hydration.');
|
|
17814
|
-
case 17:
|
|
17815
|
-
isMultiLocationDestination = _typeof(destination) === 'object';
|
|
17816
|
-
isBridge = origin === 'AssetHubPolkadot' && destination === 'AssetHubKusama' || origin === 'AssetHubKusama' && destination === 'AssetHubPolkadot';
|
|
17817
|
-
isRelayDestination = destination === undefined;
|
|
17818
|
-
if (!(!isRelayDestination && !isMultiLocationDestination)) {
|
|
17819
|
-
_context.next = 25;
|
|
17820
|
-
break;
|
|
17821
|
-
}
|
|
17822
|
-
originRelayChainSymbol = getRelayChainSymbol(origin);
|
|
17823
|
-
destinationRelayChainSymbol = getRelayChainSymbol(destination);
|
|
17824
|
-
if (!(!isBridge && originRelayChainSymbol !== destinationRelayChainSymbol)) {
|
|
17825
|
-
_context.next = 25;
|
|
17826
|
-
break;
|
|
17827
|
-
}
|
|
17828
|
-
throw new IncompatibleNodesError();
|
|
17829
|
-
case 25:
|
|
17830
|
-
originNode = getNode(origin);
|
|
17831
|
-
assetCheckEnabled = 'multiasset' in currency || 'multilocation' in currency && isOverrideMultiLocationSpecifier(currency.multilocation) || isBridge ? false : originNode.assetCheckEnabled;
|
|
17832
|
-
isDestAssetHub = destination === 'AssetHubPolkadot' || destination === 'AssetHubKusama';
|
|
17833
|
-
pallet = getDefaultPallet(origin);
|
|
17834
|
-
isBifrost = origin === 'BifrostPolkadot' || origin === 'BifrostKusama';
|
|
17835
|
-
if (!(!assetCheckEnabled && 'symbol' in currency && isSymbolSpecifier(currency.symbol))) {
|
|
17836
|
-
_context.next = 32;
|
|
17837
|
-
break;
|
|
17838
|
-
}
|
|
17839
|
-
throw new InvalidCurrencyError('Symbol specifier is not supported when asset check is disabled. Please use normal symbol instead.');
|
|
17840
|
-
case 32:
|
|
17841
|
-
if (!(!assetCheckEnabled && 'id' in currency)) {
|
|
17842
|
-
_context.next = 34;
|
|
17843
|
-
break;
|
|
17844
|
-
}
|
|
17845
|
-
throw new InvalidCurrencyError('Asset ID is not supported when asset check is disabled. Please use normal symbol instead');
|
|
17846
|
-
case 34:
|
|
17847
|
-
asset = assetCheckEnabled ? getAssetBySymbolOrId(origin, currency, isRelayDestination ? determineRelayChain(origin) : !isTMultiLocation(destination) ? destination : null) : null;
|
|
17848
|
-
if (!(!isBridge && isDestAssetHub && pallet === 'XTokens' && !isBifrost)) {
|
|
17849
|
-
_context.next = 40;
|
|
17850
|
-
break;
|
|
17851
|
-
}
|
|
17852
|
-
nativeAssets = getNativeAssets(destination);
|
|
17853
|
-
if (origin === 'Hydration') {
|
|
17854
|
-
nativeAssets = nativeAssets.filter(function (nativeAsset) {
|
|
17855
|
-
return nativeAsset.symbol !== 'DOT';
|
|
17856
|
-
});
|
|
17857
|
-
}
|
|
17858
|
-
if (!('symbol' in currency && nativeAssets.some(function (nativeAsset) {
|
|
17859
|
-
var _a;
|
|
17860
|
-
return nativeAsset.symbol.toLowerCase() === ((_a = asset === null || asset === void 0 ? void 0 : asset.symbol) === null || _a === void 0 ? void 0 : _a.toLowerCase());
|
|
17861
|
-
}))) {
|
|
17862
|
-
_context.next = 40;
|
|
17863
|
-
break;
|
|
17864
|
-
}
|
|
17865
|
-
throw new InvalidCurrencyError("".concat(JSON.stringify(asset === null || asset === void 0 ? void 0 : asset.symbol), " is not supported for transfers to ").concat(destination, "."));
|
|
17866
|
-
case 40:
|
|
17867
|
-
if (!isBridge && asset === null && assetCheckEnabled) {
|
|
17868
|
-
throwUnsupportedCurrency(currency, origin);
|
|
17869
|
-
}
|
|
17870
|
-
if (!(!isBridge && !isRelayDestination && !isMultiLocationDestination && (asset === null || asset === void 0 ? void 0 : asset.symbol) !== undefined && assetCheckEnabled && !('id' in currency) && !hasSupportForAsset(destination, asset.symbol))) {
|
|
17871
|
-
_context.next = 43;
|
|
17872
|
-
break;
|
|
17873
|
-
}
|
|
17874
|
-
throw new InvalidCurrencyError("Destination node ".concat(destination, " does not support currency ").concat(JSON.stringify(currency), "."));
|
|
17875
|
-
case 43:
|
|
17876
|
-
_context.next = 45;
|
|
17877
|
-
return api.init(origin);
|
|
17878
|
-
case 45:
|
|
17879
|
-
_context.prev = 45;
|
|
17880
|
-
amountStr = amount === null || amount === void 0 ? void 0 : amount.toString();
|
|
17881
|
-
if (!('multilocation' in currency || 'multiasset' in currency)) {
|
|
17882
|
-
_context.next = 51;
|
|
17883
|
-
break;
|
|
17884
|
-
}
|
|
17885
|
-
console.warn('Keep alive check is not supported when using MultiLocation as currency.');
|
|
17886
|
-
_context.next = 69;
|
|
18220
|
+
};
|
|
18221
|
+
|
|
18222
|
+
var send = function send(options) {
|
|
18223
|
+
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
18224
|
+
var api, origin, currency, amount, address, destination, paraIdTo, destApiForKeepAlive, feeAsset, version, ahAddress, isMultiLocationDestination, isBridge, isRelayDestination, originRelayChainSymbol, destinationRelayChainSymbol, originNode, assetCheckEnabled, isDestAssetHub, pallet, isBifrost, asset, nativeAssets, amountStr, resolvedAsset;
|
|
18225
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
18226
|
+
while (1) switch (_context.prev = _context.next) {
|
|
18227
|
+
case 0:
|
|
18228
|
+
api = options.api, origin = options.origin, currency = options.currency, amount = options.amount, address = options.address, destination = options.destination, paraIdTo = options.paraIdTo, destApiForKeepAlive = options.destApiForKeepAlive, feeAsset = options.feeAsset, version = options.version, ahAddress = options.ahAddress;
|
|
18229
|
+
if (!((!('multiasset' in currency) || 'multilocation' in currency) && amount === null)) {
|
|
18230
|
+
_context.next = 3;
|
|
17887
18231
|
break;
|
|
17888
|
-
|
|
17889
|
-
|
|
17890
|
-
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
console.warn('Keep alive check is not supported when using MultiLocation as address.');
|
|
17894
|
-
_context.next = 69;
|
|
18232
|
+
}
|
|
18233
|
+
throw new Error('Amount is required');
|
|
18234
|
+
case 3:
|
|
18235
|
+
if (!('multilocation' in currency && (feeAsset === 0 || feeAsset !== undefined))) {
|
|
18236
|
+
_context.next = 5;
|
|
17895
18237
|
break;
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
|
-
|
|
17901
|
-
console.warn('Keep alive check is not supported when using MultiLocation as destination.');
|
|
17902
|
-
_context.next = 69;
|
|
18238
|
+
}
|
|
18239
|
+
throw new InvalidCurrencyError('Overrided single multi asset cannot be used with fee asset');
|
|
18240
|
+
case 5:
|
|
18241
|
+
if (!('multiasset' in currency)) {
|
|
18242
|
+
_context.next = 15;
|
|
17903
18243
|
break;
|
|
17904
|
-
|
|
17905
|
-
|
|
17906
|
-
|
|
17907
|
-
|
|
17908
|
-
|
|
17909
|
-
|
|
17910
|
-
_context.next = 69;
|
|
18244
|
+
}
|
|
18245
|
+
if (amount !== null) {
|
|
18246
|
+
console.warn('Amount is ignored when using overriding currency using multiple multi locations. Please set it to null.');
|
|
18247
|
+
}
|
|
18248
|
+
if (!(currency.multiasset.length === 0)) {
|
|
18249
|
+
_context.next = 9;
|
|
17911
18250
|
break;
|
|
17912
|
-
|
|
17913
|
-
|
|
17914
|
-
|
|
17915
|
-
|
|
17916
|
-
|
|
17917
|
-
console.warn('Keep alive check is not supported when asset check is disabled.');
|
|
17918
|
-
_context.next = 69;
|
|
18251
|
+
}
|
|
18252
|
+
throw new InvalidCurrencyError('Overrided multi assets cannot be empty');
|
|
18253
|
+
case 9:
|
|
18254
|
+
if (!(currency.multiasset.length === 1 && (feeAsset === 0 || feeAsset !== undefined))) {
|
|
18255
|
+
_context.next = 11;
|
|
17919
18256
|
break;
|
|
17920
|
-
|
|
17921
|
-
|
|
17922
|
-
|
|
17923
|
-
|
|
17924
|
-
|
|
17925
|
-
amount: amountStr !== null && amountStr !== void 0 ? amountStr : '',
|
|
17926
|
-
originNode: origin,
|
|
17927
|
-
destApi: destApiForKeepAlive,
|
|
17928
|
-
asset: asset,
|
|
17929
|
-
destNode: destination
|
|
17930
|
-
});
|
|
17931
|
-
case 69:
|
|
17932
|
-
// In case asset check is disabled, we create asset object from currency symbol
|
|
17933
|
-
resolvedAsset = asset !== null && asset !== void 0 ? asset : {
|
|
17934
|
-
symbol: 'symbol' in currency ? currency.symbol : undefined
|
|
17935
|
-
};
|
|
17936
|
-
return _context.abrupt("return", originNode.transfer({
|
|
17937
|
-
api: api,
|
|
17938
|
-
asset: resolvedAsset,
|
|
17939
|
-
amount: amountStr !== null && amountStr !== void 0 ? amountStr : '',
|
|
17940
|
-
address: address,
|
|
17941
|
-
destination: destination,
|
|
17942
|
-
paraIdTo: paraIdTo,
|
|
17943
|
-
overridedCurrencyMultiLocation: 'multilocation' in currency && isOverrideMultiLocationSpecifier(currency.multilocation) ? currency.multilocation.value : 'multiasset' in currency ? currency.multiasset : undefined,
|
|
17944
|
-
feeAsset: feeAsset,
|
|
17945
|
-
version: version,
|
|
17946
|
-
destApiForKeepAlive: destApiForKeepAlive,
|
|
17947
|
-
serializedApiCallEnabled: serializedApiCallEnabled,
|
|
17948
|
-
ahAddress: ahAddress
|
|
17949
|
-
}));
|
|
17950
|
-
case 71:
|
|
17951
|
-
_context.prev = 71;
|
|
17952
|
-
if (!isPjsClient(api)) {
|
|
17953
|
-
_context.next = 75;
|
|
17954
|
-
break;
|
|
17955
|
-
}
|
|
17956
|
-
_context.next = 75;
|
|
17957
|
-
return api.disconnect();
|
|
17958
|
-
case 75:
|
|
17959
|
-
return _context.finish(71);
|
|
17960
|
-
case 76:
|
|
17961
|
-
case "end":
|
|
17962
|
-
return _context.stop();
|
|
17963
|
-
}
|
|
17964
|
-
}, _callee, null, [[45,, 71, 76]]);
|
|
17965
|
-
})();
|
|
17966
|
-
});
|
|
17967
|
-
};
|
|
17968
|
-
var sendSerializedApiCall = function sendSerializedApiCall(options) {
|
|
17969
|
-
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
17970
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
17971
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
17972
|
-
case 0:
|
|
17973
|
-
return _context2.abrupt("return", sendCommon(options, true));
|
|
17974
|
-
case 1:
|
|
17975
|
-
case "end":
|
|
17976
|
-
return _context2.stop();
|
|
17977
|
-
}
|
|
17978
|
-
}, _callee2);
|
|
17979
|
-
}));
|
|
17980
|
-
};
|
|
17981
|
-
var send = function send(options) {
|
|
17982
|
-
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
17983
|
-
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
17984
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
17985
|
-
case 0:
|
|
17986
|
-
return _context3.abrupt("return", sendCommon(options));
|
|
17987
|
-
case 1:
|
|
17988
|
-
case "end":
|
|
17989
|
-
return _context3.stop();
|
|
17990
|
-
}
|
|
17991
|
-
}, _callee3);
|
|
17992
|
-
}));
|
|
17993
|
-
};
|
|
17994
|
-
var transferRelayToParaCommon = function transferRelayToParaCommon(options_1) {
|
|
17995
|
-
for (var _len2 = arguments.length, args_1 = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
17996
|
-
args_1[_key2 - 1] = arguments[_key2];
|
|
17997
|
-
}
|
|
17998
|
-
return __awaiter(void 0, [options_1].concat(args_1), void 0, function (options) {
|
|
17999
|
-
var serializedApiCallEnabled = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
18000
|
-
return /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
18001
|
-
var api, destination, amount, address, paraIdTo, destApiForKeepAlive, version, isMultiLocationDestination, isAddressMultiLocation, amountStr, serializedApiCall;
|
|
18002
|
-
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
18003
|
-
while (1) switch (_context4.prev = _context4.next) {
|
|
18004
|
-
case 0:
|
|
18005
|
-
api = options.api, destination = options.destination, amount = options.amount, address = options.address, paraIdTo = options.paraIdTo, destApiForKeepAlive = options.destApiForKeepAlive, version = options.version;
|
|
18006
|
-
isMultiLocationDestination = _typeof(destination) === 'object';
|
|
18007
|
-
isAddressMultiLocation = _typeof(address) === 'object';
|
|
18008
|
-
if (!(api === undefined && isMultiLocationDestination)) {
|
|
18009
|
-
_context4.next = 5;
|
|
18010
|
-
break;
|
|
18011
|
-
}
|
|
18012
|
-
throw new Error('API is required when using MultiLocation as destination.');
|
|
18013
|
-
case 5:
|
|
18014
|
-
_context4.next = 7;
|
|
18015
|
-
return api.init(determineRelayChain(destination));
|
|
18016
|
-
case 7:
|
|
18017
|
-
_context4.prev = 7;
|
|
18018
|
-
amountStr = amount.toString();
|
|
18019
|
-
if (!isMultiLocationDestination) {
|
|
18020
|
-
_context4.next = 13;
|
|
18021
|
-
break;
|
|
18022
|
-
}
|
|
18023
|
-
console.warn('Keep alive check is not supported when using MultiLocation as destination.');
|
|
18024
|
-
_context4.next = 19;
|
|
18257
|
+
}
|
|
18258
|
+
throw new InvalidCurrencyError('Overrided single multi asset cannot be used with fee asset');
|
|
18259
|
+
case 11:
|
|
18260
|
+
if (!(currency.multiasset.length > 1 && feeAsset === undefined)) {
|
|
18261
|
+
_context.next = 13;
|
|
18025
18262
|
break;
|
|
18026
|
-
|
|
18027
|
-
|
|
18028
|
-
|
|
18029
|
-
|
|
18030
|
-
|
|
18031
|
-
console.warn('Keep alive check is not supported when using MultiLocation as address.');
|
|
18032
|
-
_context4.next = 19;
|
|
18263
|
+
}
|
|
18264
|
+
throw new InvalidCurrencyError('Overrided multi assets cannot be used without specifying fee asset');
|
|
18265
|
+
case 13:
|
|
18266
|
+
if (!(currency.multiasset.length > 1 && feeAsset !== undefined && (feeAsset < 0 || feeAsset >= currency.multiasset.length))) {
|
|
18267
|
+
_context.next = 15;
|
|
18033
18268
|
break;
|
|
18034
|
-
|
|
18035
|
-
|
|
18036
|
-
|
|
18037
|
-
|
|
18038
|
-
|
|
18039
|
-
|
|
18040
|
-
|
|
18041
|
-
|
|
18042
|
-
|
|
18043
|
-
|
|
18044
|
-
|
|
18045
|
-
|
|
18046
|
-
|
|
18047
|
-
|
|
18048
|
-
|
|
18049
|
-
|
|
18050
|
-
|
|
18051
|
-
|
|
18052
|
-
|
|
18053
|
-
|
|
18054
|
-
|
|
18269
|
+
}
|
|
18270
|
+
throw new InvalidCurrencyError('Fee asset index is out of bounds. Please provide a valid index.');
|
|
18271
|
+
case 15:
|
|
18272
|
+
if (!(destination === 'Ethereum' && origin !== 'AssetHubPolkadot' && origin !== 'Hydration')) {
|
|
18273
|
+
_context.next = 17;
|
|
18274
|
+
break;
|
|
18275
|
+
}
|
|
18276
|
+
throw new IncompatibleNodesError('Transfers to Ethereum are only supported from AssetHubPolkadot and Hydration.');
|
|
18277
|
+
case 17:
|
|
18278
|
+
isMultiLocationDestination = _typeof(destination) === 'object';
|
|
18279
|
+
isBridge = origin === 'AssetHubPolkadot' && destination === 'AssetHubKusama' || origin === 'AssetHubKusama' && destination === 'AssetHubPolkadot';
|
|
18280
|
+
isRelayDestination = destination === undefined;
|
|
18281
|
+
if (!(!isRelayDestination && !isMultiLocationDestination)) {
|
|
18282
|
+
_context.next = 25;
|
|
18283
|
+
break;
|
|
18284
|
+
}
|
|
18285
|
+
originRelayChainSymbol = getRelayChainSymbol(origin);
|
|
18286
|
+
destinationRelayChainSymbol = getRelayChainSymbol(destination);
|
|
18287
|
+
if (!(!isBridge && originRelayChainSymbol !== destinationRelayChainSymbol)) {
|
|
18288
|
+
_context.next = 25;
|
|
18289
|
+
break;
|
|
18290
|
+
}
|
|
18291
|
+
throw new IncompatibleNodesError();
|
|
18292
|
+
case 25:
|
|
18293
|
+
originNode = getNode(origin);
|
|
18294
|
+
assetCheckEnabled = 'multiasset' in currency || 'multilocation' in currency && isOverrideMultiLocationSpecifier(currency.multilocation) || isBridge ? false : originNode.assetCheckEnabled;
|
|
18295
|
+
validateDestinationAddress(address, destination);
|
|
18296
|
+
isDestAssetHub = destination === 'AssetHubPolkadot' || destination === 'AssetHubKusama';
|
|
18297
|
+
pallet = getDefaultPallet(origin);
|
|
18298
|
+
isBifrost = origin === 'BifrostPolkadot' || origin === 'BifrostKusama';
|
|
18299
|
+
if (!(!assetCheckEnabled && 'symbol' in currency && isSymbolSpecifier(currency.symbol))) {
|
|
18300
|
+
_context.next = 33;
|
|
18301
|
+
break;
|
|
18302
|
+
}
|
|
18303
|
+
throw new InvalidCurrencyError('Symbol specifier is not supported when asset check is disabled. Please use normal symbol instead.');
|
|
18304
|
+
case 33:
|
|
18305
|
+
if (!(!assetCheckEnabled && 'id' in currency)) {
|
|
18306
|
+
_context.next = 35;
|
|
18307
|
+
break;
|
|
18308
|
+
}
|
|
18309
|
+
throw new InvalidCurrencyError('Asset ID is not supported when asset check is disabled. Please use normal symbol instead');
|
|
18310
|
+
case 35:
|
|
18311
|
+
asset = assetCheckEnabled ? getAssetBySymbolOrId(origin, currency, isRelayDestination ? determineRelayChain(origin) : !isTMultiLocation(destination) ? destination : null) : null;
|
|
18312
|
+
if (!(!isBridge && isDestAssetHub && pallet === 'XTokens' && !isBifrost)) {
|
|
18313
|
+
_context.next = 41;
|
|
18314
|
+
break;
|
|
18315
|
+
}
|
|
18316
|
+
nativeAssets = getNativeAssets(destination);
|
|
18317
|
+
if (origin === 'Hydration') {
|
|
18318
|
+
nativeAssets = nativeAssets.filter(function (nativeAsset) {
|
|
18319
|
+
return nativeAsset.symbol !== 'DOT';
|
|
18055
18320
|
});
|
|
18056
|
-
|
|
18057
|
-
|
|
18058
|
-
|
|
18059
|
-
|
|
18060
|
-
|
|
18061
|
-
|
|
18062
|
-
|
|
18063
|
-
|
|
18064
|
-
|
|
18065
|
-
|
|
18066
|
-
|
|
18067
|
-
|
|
18068
|
-
|
|
18069
|
-
|
|
18070
|
-
|
|
18071
|
-
|
|
18072
|
-
|
|
18073
|
-
|
|
18074
|
-
|
|
18075
|
-
|
|
18076
|
-
|
|
18077
|
-
|
|
18078
|
-
|
|
18079
|
-
|
|
18080
|
-
|
|
18081
|
-
|
|
18082
|
-
|
|
18083
|
-
|
|
18084
|
-
|
|
18085
|
-
|
|
18086
|
-
|
|
18087
|
-
case
|
|
18088
|
-
|
|
18089
|
-
|
|
18321
|
+
}
|
|
18322
|
+
if (!('symbol' in currency && nativeAssets.some(function (nativeAsset) {
|
|
18323
|
+
var _a;
|
|
18324
|
+
return nativeAsset.symbol.toLowerCase() === ((_a = asset === null || asset === void 0 ? void 0 : asset.symbol) === null || _a === void 0 ? void 0 : _a.toLowerCase());
|
|
18325
|
+
}))) {
|
|
18326
|
+
_context.next = 41;
|
|
18327
|
+
break;
|
|
18328
|
+
}
|
|
18329
|
+
throw new InvalidCurrencyError("".concat(JSON.stringify(asset === null || asset === void 0 ? void 0 : asset.symbol), " is not supported for transfers to ").concat(destination, "."));
|
|
18330
|
+
case 41:
|
|
18331
|
+
if (!isBridge && asset === null && assetCheckEnabled) {
|
|
18332
|
+
throwUnsupportedCurrency(currency, origin);
|
|
18333
|
+
}
|
|
18334
|
+
if (!(!isBridge && !isRelayDestination && !isMultiLocationDestination && (asset === null || asset === void 0 ? void 0 : asset.symbol) !== undefined && assetCheckEnabled && !('id' in currency) && !hasSupportForAsset(destination, asset.symbol))) {
|
|
18335
|
+
_context.next = 44;
|
|
18336
|
+
break;
|
|
18337
|
+
}
|
|
18338
|
+
throw new InvalidCurrencyError("Destination node ".concat(destination, " does not support currency ").concat(JSON.stringify(currency), "."));
|
|
18339
|
+
case 44:
|
|
18340
|
+
_context.next = 46;
|
|
18341
|
+
return api.init(origin);
|
|
18342
|
+
case 46:
|
|
18343
|
+
_context.prev = 46;
|
|
18344
|
+
amountStr = amount === null || amount === void 0 ? void 0 : amount.toString();
|
|
18345
|
+
if (!('multilocation' in currency || 'multiasset' in currency)) {
|
|
18346
|
+
_context.next = 52;
|
|
18347
|
+
break;
|
|
18348
|
+
}
|
|
18349
|
+
console.warn('Keep alive check is not supported when using MultiLocation as currency.');
|
|
18350
|
+
_context.next = 70;
|
|
18351
|
+
break;
|
|
18352
|
+
case 52:
|
|
18353
|
+
if (!(_typeof(address) === 'object')) {
|
|
18354
|
+
_context.next = 56;
|
|
18355
|
+
break;
|
|
18356
|
+
}
|
|
18357
|
+
console.warn('Keep alive check is not supported when using MultiLocation as address.');
|
|
18358
|
+
_context.next = 70;
|
|
18359
|
+
break;
|
|
18360
|
+
case 56:
|
|
18361
|
+
if (!(_typeof(destination) === 'object')) {
|
|
18362
|
+
_context.next = 60;
|
|
18363
|
+
break;
|
|
18364
|
+
}
|
|
18365
|
+
console.warn('Keep alive check is not supported when using MultiLocation as destination.');
|
|
18366
|
+
_context.next = 70;
|
|
18367
|
+
break;
|
|
18368
|
+
case 60:
|
|
18369
|
+
if (!(destination === 'Ethereum')) {
|
|
18370
|
+
_context.next = 64;
|
|
18371
|
+
break;
|
|
18372
|
+
}
|
|
18373
|
+
console.warn('Keep alive check is not supported when using Ethereum as origin or destination.');
|
|
18374
|
+
_context.next = 70;
|
|
18375
|
+
break;
|
|
18376
|
+
case 64:
|
|
18377
|
+
if (asset) {
|
|
18378
|
+
_context.next = 68;
|
|
18379
|
+
break;
|
|
18380
|
+
}
|
|
18381
|
+
console.warn('Keep alive check is not supported when asset check is disabled.');
|
|
18382
|
+
_context.next = 70;
|
|
18383
|
+
break;
|
|
18384
|
+
case 68:
|
|
18385
|
+
_context.next = 70;
|
|
18386
|
+
return checkKeepAlive({
|
|
18387
|
+
originApi: api,
|
|
18388
|
+
address: address,
|
|
18389
|
+
amount: amountStr !== null && amountStr !== void 0 ? amountStr : '',
|
|
18390
|
+
originNode: origin,
|
|
18391
|
+
destApi: destApiForKeepAlive,
|
|
18392
|
+
asset: asset,
|
|
18393
|
+
destNode: destination
|
|
18394
|
+
});
|
|
18395
|
+
case 70:
|
|
18396
|
+
// In case asset check is disabled, we create asset object from currency symbol
|
|
18397
|
+
resolvedAsset = asset !== null && asset !== void 0 ? asset : {
|
|
18398
|
+
symbol: 'symbol' in currency ? currency.symbol : undefined
|
|
18399
|
+
};
|
|
18400
|
+
_context.next = 73;
|
|
18401
|
+
return originNode.transfer({
|
|
18402
|
+
api: api,
|
|
18403
|
+
asset: resolvedAsset,
|
|
18404
|
+
amount: amountStr !== null && amountStr !== void 0 ? amountStr : '',
|
|
18405
|
+
address: address,
|
|
18406
|
+
destination: destination,
|
|
18407
|
+
paraIdTo: paraIdTo,
|
|
18408
|
+
overridedCurrencyMultiLocation: 'multilocation' in currency && isOverrideMultiLocationSpecifier(currency.multilocation) ? currency.multilocation.value : 'multiasset' in currency ? currency.multiasset : undefined,
|
|
18409
|
+
feeAsset: feeAsset,
|
|
18410
|
+
version: version,
|
|
18411
|
+
destApiForKeepAlive: destApiForKeepAlive,
|
|
18412
|
+
ahAddress: ahAddress
|
|
18413
|
+
});
|
|
18414
|
+
case 73:
|
|
18415
|
+
return _context.abrupt("return", _context.sent);
|
|
18416
|
+
case 74:
|
|
18417
|
+
_context.prev = 74;
|
|
18418
|
+
if (!isPjsClient(api)) {
|
|
18419
|
+
_context.next = 78;
|
|
18420
|
+
break;
|
|
18421
|
+
}
|
|
18422
|
+
_context.next = 78;
|
|
18423
|
+
return api.disconnect();
|
|
18424
|
+
case 78:
|
|
18425
|
+
return _context.finish(74);
|
|
18426
|
+
case 79:
|
|
18090
18427
|
case "end":
|
|
18091
|
-
return
|
|
18428
|
+
return _context.stop();
|
|
18092
18429
|
}
|
|
18093
|
-
},
|
|
18430
|
+
}, _callee, null, [[46,, 74, 79]]);
|
|
18094
18431
|
}));
|
|
18095
18432
|
};
|
|
18096
|
-
var
|
|
18097
|
-
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
18098
|
-
|
|
18099
|
-
|
|
18433
|
+
var transferRelayToPara = function transferRelayToPara(options) {
|
|
18434
|
+
return __awaiter(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
18435
|
+
var api, destination, amount, address, paraIdTo, destApiForKeepAlive, version, isMultiLocationDestination, isAddressMultiLocation, amountStr, serializedApiCall;
|
|
18436
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
18437
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
18100
18438
|
case 0:
|
|
18101
|
-
|
|
18102
|
-
|
|
18439
|
+
api = options.api, destination = options.destination, amount = options.amount, address = options.address, paraIdTo = options.paraIdTo, destApiForKeepAlive = options.destApiForKeepAlive, version = options.version;
|
|
18440
|
+
isMultiLocationDestination = _typeof(destination) === 'object';
|
|
18441
|
+
isAddressMultiLocation = _typeof(address) === 'object';
|
|
18442
|
+
if (!(api === undefined && isMultiLocationDestination)) {
|
|
18443
|
+
_context2.next = 5;
|
|
18444
|
+
break;
|
|
18445
|
+
}
|
|
18446
|
+
throw new Error('API is required when using MultiLocation as destination.');
|
|
18447
|
+
case 5:
|
|
18448
|
+
_context2.next = 7;
|
|
18449
|
+
return api.init(determineRelayChain(destination));
|
|
18450
|
+
case 7:
|
|
18451
|
+
_context2.prev = 7;
|
|
18452
|
+
amountStr = amount.toString();
|
|
18453
|
+
if (!isMultiLocationDestination) {
|
|
18454
|
+
_context2.next = 13;
|
|
18455
|
+
break;
|
|
18456
|
+
}
|
|
18457
|
+
console.warn('Keep alive check is not supported when using MultiLocation as destination.');
|
|
18458
|
+
_context2.next = 19;
|
|
18459
|
+
break;
|
|
18460
|
+
case 13:
|
|
18461
|
+
if (!isAddressMultiLocation) {
|
|
18462
|
+
_context2.next = 17;
|
|
18463
|
+
break;
|
|
18464
|
+
}
|
|
18465
|
+
console.warn('Keep alive check is not supported when using MultiLocation as address.');
|
|
18466
|
+
_context2.next = 19;
|
|
18467
|
+
break;
|
|
18468
|
+
case 17:
|
|
18469
|
+
_context2.next = 19;
|
|
18470
|
+
return checkKeepAlive({
|
|
18471
|
+
originApi: api,
|
|
18472
|
+
address: address,
|
|
18473
|
+
amount: amountStr,
|
|
18474
|
+
destApi: destApiForKeepAlive,
|
|
18475
|
+
asset: {
|
|
18476
|
+
symbol: getRelayChainSymbol(destination)
|
|
18477
|
+
},
|
|
18478
|
+
destNode: destination
|
|
18479
|
+
});
|
|
18480
|
+
case 19:
|
|
18481
|
+
serializedApiCall = getNode(isMultiLocationDestination ? resolveTNodeFromMultiLocation(destination) : destination).transferRelayToPara({
|
|
18482
|
+
api: api,
|
|
18483
|
+
destination: destination,
|
|
18484
|
+
address: address,
|
|
18485
|
+
amount: amountStr,
|
|
18486
|
+
paraIdTo: paraIdTo,
|
|
18487
|
+
destApiForKeepAlive: destApiForKeepAlive,
|
|
18488
|
+
version: version
|
|
18489
|
+
});
|
|
18490
|
+
return _context2.abrupt("return", api.callTxMethod(serializedApiCall));
|
|
18491
|
+
case 21:
|
|
18492
|
+
_context2.prev = 21;
|
|
18493
|
+
if (!isPjsClient(api)) {
|
|
18494
|
+
_context2.next = 25;
|
|
18495
|
+
break;
|
|
18496
|
+
}
|
|
18497
|
+
_context2.next = 25;
|
|
18498
|
+
return api.disconnect();
|
|
18499
|
+
case 25:
|
|
18500
|
+
return _context2.finish(21);
|
|
18501
|
+
case 26:
|
|
18103
18502
|
case "end":
|
|
18104
|
-
return
|
|
18503
|
+
return _context2.stop();
|
|
18105
18504
|
}
|
|
18106
|
-
},
|
|
18505
|
+
}, _callee2, null, [[7,, 21, 26]]);
|
|
18107
18506
|
}));
|
|
18108
18507
|
};
|
|
18109
18508
|
|
|
@@ -18163,10 +18562,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
18163
18562
|
__proto__: null,
|
|
18164
18563
|
buildEthTransferOptions: buildEthTransferOptions,
|
|
18165
18564
|
send: send,
|
|
18166
|
-
|
|
18167
|
-
transferRelayToPara: transferRelayToPara,
|
|
18168
|
-
transferRelayToParaCommon: transferRelayToParaCommon,
|
|
18169
|
-
transferRelayToParaSerializedApiCall: transferRelayToParaSerializedApiCall
|
|
18565
|
+
transferRelayToPara: transferRelayToPara
|
|
18170
18566
|
});
|
|
18171
18567
|
|
|
18172
18568
|
var checkAndConvertToNumberOrBigInt = function checkAndConvertToNumberOrBigInt(input) {
|
|
@@ -18284,7 +18680,7 @@ var _transform = function transform(obj) {
|
|
|
18284
18680
|
newObj[k] = undefined;
|
|
18285
18681
|
continue;
|
|
18286
18682
|
}
|
|
18287
|
-
if (
|
|
18683
|
+
if (typeof v === 'string' && v.startsWith('0x')) {
|
|
18288
18684
|
newObj[k] = polkadotApi.FixedSizeBinary.fromHex(v);
|
|
18289
18685
|
} else if (typeof v === 'string') {
|
|
18290
18686
|
newObj[k] = {
|
|
@@ -18619,11 +19015,8 @@ var PapiApi = /*#__PURE__*/function () {
|
|
|
18619
19015
|
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
18620
19016
|
while (1) switch (_context12.prev = _context12.next) {
|
|
18621
19017
|
case 0:
|
|
18622
|
-
_context12.
|
|
18623
|
-
|
|
18624
|
-
case 2:
|
|
18625
|
-
return _context12.abrupt("return", _context12.sent);
|
|
18626
|
-
case 3:
|
|
19018
|
+
return _context12.abrupt("return", this.api._request('state_getStorage', [key]));
|
|
19019
|
+
case 1:
|
|
18627
19020
|
case "end":
|
|
18628
19021
|
return _context12.stop();
|
|
18629
19022
|
}
|
|
@@ -18760,7 +19153,8 @@ var assets = /*#__PURE__*/Object.freeze({
|
|
|
18760
19153
|
getSupportedAssets: getSupportedAssets,
|
|
18761
19154
|
getTNode: getTNode,
|
|
18762
19155
|
getTransferInfo: getTransferInfo,
|
|
18763
|
-
hasSupportForAsset: hasSupportForAsset
|
|
19156
|
+
hasSupportForAsset: hasSupportForAsset,
|
|
19157
|
+
isNodeEvm: isNodeEvm
|
|
18764
19158
|
});
|
|
18765
19159
|
|
|
18766
19160
|
/**
|
|
@@ -18784,6 +19178,7 @@ exports.Foreign = Foreign;
|
|
|
18784
19178
|
exports.ForeignAbstract = ForeignAbstract;
|
|
18785
19179
|
exports.GeneralBuilder = GeneralBuilder;
|
|
18786
19180
|
exports.IncompatibleNodesError = IncompatibleNodesError;
|
|
19181
|
+
exports.InvalidAddressError = InvalidAddressError;
|
|
18787
19182
|
exports.InvalidCurrencyError = InvalidCurrencyError;
|
|
18788
19183
|
exports.NODES_WITH_RELAY_CHAINS = NODES_WITH_RELAY_CHAINS;
|
|
18789
19184
|
exports.NODES_WITH_RELAY_CHAINS_DOT_KSM = NODES_WITH_RELAY_CHAINS_DOT_KSM;
|
|
@@ -18827,10 +19222,8 @@ exports.getTNode = getTNode;
|
|
|
18827
19222
|
exports.getTransferInfo = getTransferInfo;
|
|
18828
19223
|
exports.hasSupportForAsset = hasSupportForAsset;
|
|
18829
19224
|
exports.isForeignAsset = isForeignAsset;
|
|
19225
|
+
exports.isNodeEvm = isNodeEvm;
|
|
18830
19226
|
exports.isRelayChain = isRelayChain;
|
|
18831
19227
|
exports.send = send;
|
|
18832
|
-
exports.sendSerializedApiCall = sendSerializedApiCall;
|
|
18833
19228
|
exports.transferRelayToPara = transferRelayToPara;
|
|
18834
|
-
exports.transferRelayToParaCommon = transferRelayToParaCommon;
|
|
18835
|
-
exports.transferRelayToParaSerializedApiCall = transferRelayToParaSerializedApiCall;
|
|
18836
19229
|
exports.xcmPallet = index;
|