@paraspell/sdk-core 11.9.3 → 11.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1581 -1575
- package/dist/index.d.ts +18 -12
- package/dist/index.mjs +1582 -1576
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -940,2126 +940,2127 @@ var getRelayChainOf = function getRelayChainOf(chain) {
|
|
|
940
940
|
return getChain(chain).ecosystem;
|
|
941
941
|
};
|
|
942
942
|
|
|
943
|
-
var
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
943
|
+
var createChainClient = /*#__PURE__*/function () {
|
|
944
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(api, chain) {
|
|
945
|
+
return _regenerator().w(function (_context) {
|
|
946
|
+
while (1) switch (_context.n) {
|
|
947
|
+
case 0:
|
|
948
|
+
_context.n = 1;
|
|
949
|
+
return api.init(chain);
|
|
950
|
+
case 1:
|
|
951
|
+
return _context.a(2, api.getApi());
|
|
952
|
+
}
|
|
953
|
+
}, _callee);
|
|
954
|
+
}));
|
|
955
|
+
return function createChainClient(_x, _x2) {
|
|
956
|
+
return _ref.apply(this, arguments);
|
|
957
|
+
};
|
|
958
|
+
}();
|
|
959
|
+
|
|
960
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
961
|
+
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
962
|
+
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
963
|
+
var getLocationTokenId = function getLocationTokenId(location, chain) {
|
|
964
|
+
if (location.interior.type === 'Here') {
|
|
965
|
+
// native token
|
|
966
|
+
return assets.getNativeAssetSymbol(chain);
|
|
967
|
+
}
|
|
968
|
+
var foreignAssets = assets.getOtherAssets(chain);
|
|
969
|
+
if (location.interior.type === 'X2') {
|
|
970
|
+
if (location.interior.value[0].type === 'PalletInstance' && location.interior.value[0].value === 50 && location.interior.value[1].type === 'GeneralIndex') {
|
|
971
|
+
var _foreignAssets$find$a, _foreignAssets$find;
|
|
972
|
+
var assetId = location.interior.value[1].value;
|
|
973
|
+
return (_foreignAssets$find$a = (_foreignAssets$find = foreignAssets.find(function (asset) {
|
|
974
|
+
return asset.assetId === String(assetId);
|
|
975
|
+
})) === null || _foreignAssets$find === void 0 ? void 0 : _foreignAssets$find.assetId) !== null && _foreignAssets$find$a !== void 0 ? _foreignAssets$find$a : null;
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
return null;
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
var computeFeeFromDryRun = function computeFeeFromDryRun(dryRun, chain, executionFee) {
|
|
982
|
+
var isFeeAsset = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
983
|
+
// Extract delivery fees from emitted events
|
|
984
|
+
var deliveryFees = [];
|
|
985
|
+
var assetConversionFee = 0n;
|
|
986
|
+
var _iterator = _createForOfIteratorHelper(dryRun.value.emitted_events),
|
|
987
|
+
_step;
|
|
988
|
+
try {
|
|
989
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
990
|
+
var _e$value, _e$value2;
|
|
991
|
+
var e = _step.value;
|
|
992
|
+
var isXcmEvent = e.type === 'XcmPallet' || e.type === 'PolkadotXcm' || e.type === 'CumulusXcm';
|
|
993
|
+
var isFeesPaid = e.value.type === 'FeesPaid';
|
|
994
|
+
if (isXcmEvent && isFeesPaid && e.value.value.fees) {
|
|
995
|
+
var _iterator2 = _createForOfIteratorHelper(e.value.value.fees),
|
|
996
|
+
_step2;
|
|
997
|
+
try {
|
|
998
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
999
|
+
var feeItem = _step2.value;
|
|
1000
|
+
if (feeItem.fun.type === 'NonFungible') continue;
|
|
1001
|
+
var plancks = feeItem.fun.value;
|
|
1002
|
+
var tokenSymbol = getLocationTokenId(feeItem.id, chain);
|
|
1003
|
+
if (!tokenSymbol || !plancks) continue;
|
|
1004
|
+
deliveryFees.push({
|
|
1005
|
+
plancks: plancks,
|
|
1006
|
+
tokenSymbol: tokenSymbol
|
|
1007
|
+
});
|
|
1008
|
+
}
|
|
1009
|
+
} catch (err) {
|
|
1010
|
+
_iterator2.e(err);
|
|
1011
|
+
} finally {
|
|
1012
|
+
_iterator2.f();
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
if (isFeeAsset && e.type === 'AssetConversion' && ((_e$value = e.value) === null || _e$value === void 0 ? void 0 : _e$value.type) === 'SwapCreditExecuted' && (_e$value2 = e.value) !== null && _e$value2 !== void 0 && _e$value2.value && e.value.value.amount_in !== undefined && e.value.value.amount_in !== null) {
|
|
1016
|
+
assetConversionFee += e.value.value.amount_in;
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
} catch (err) {
|
|
1020
|
+
_iterator.e(err);
|
|
1021
|
+
} finally {
|
|
1022
|
+
_iterator.f();
|
|
1023
|
+
}
|
|
1024
|
+
if (isFeeAsset && assetConversionFee > 0n) {
|
|
1025
|
+
return assetConversionFee;
|
|
1026
|
+
} else {
|
|
1027
|
+
var nativeAssetSymbol = assets.getNativeAssetSymbol(chain);
|
|
1028
|
+
var totalDeliveryFees = deliveryFees.filter(function (df) {
|
|
1029
|
+
return df.tokenSymbol === nativeAssetSymbol;
|
|
1030
|
+
}).reduce(function (acc, df) {
|
|
1031
|
+
return acc + df.plancks;
|
|
1032
|
+
}, 0n);
|
|
1033
|
+
return totalDeliveryFees + executionFee;
|
|
1034
|
+
}
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
var getLocationTokenIdPjs = function getLocationTokenIdPjs(location, chain) {
|
|
1038
|
+
if (location.interior === 'Here') {
|
|
1039
|
+
// native token
|
|
1040
|
+
return assets.getNativeAssetSymbol(chain);
|
|
1041
|
+
}
|
|
1042
|
+
var foreignAssets = assets.getOtherAssets(chain);
|
|
1043
|
+
if (location.interior.X2 && sdkCommon.hasJunction(location, 'PalletInstance', '50') && sdkCommon.hasJunction(location, 'GeneralIndex')) {
|
|
1044
|
+
var _foreignAssets$find$s, _foreignAssets$find;
|
|
1045
|
+
var assetId = sdkCommon.getJunctionValue(location, 'GeneralIndex');
|
|
1046
|
+
return (_foreignAssets$find$s = (_foreignAssets$find = foreignAssets.find(function (asset) {
|
|
1047
|
+
return asset.assetId === String(assetId);
|
|
1048
|
+
})) === null || _foreignAssets$find === void 0 ? void 0 : _foreignAssets$find.symbol) !== null && _foreignAssets$find$s !== void 0 ? _foreignAssets$find$s : null;
|
|
1049
|
+
}
|
|
1050
|
+
return null;
|
|
1051
|
+
};
|
|
1052
|
+
|
|
1053
|
+
var computeFeeFromDryRunPjs = function computeFeeFromDryRunPjs(dryRun, chain, executionFee) {
|
|
1054
|
+
// Extract delivery fees from emitted events
|
|
1055
|
+
var deliveryFees = [];
|
|
1056
|
+
var _iterator = _createForOfIteratorHelper(dryRun.Ok.emittedEvents),
|
|
1057
|
+
_step;
|
|
1058
|
+
try {
|
|
1059
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
1060
|
+
var e = _step.value;
|
|
1061
|
+
var isXcmEvent = e.section === 'xcmPallet' || e.section === 'polkadotXcm' || e.section === 'cumulusXcm';
|
|
1062
|
+
var isFeesPaid = e.method === 'FeesPaid';
|
|
1063
|
+
if (isXcmEvent && isFeesPaid && e.data.fees) {
|
|
1064
|
+
var _iterator2 = _createForOfIteratorHelper(e.data.fees),
|
|
1065
|
+
_step2;
|
|
1066
|
+
try {
|
|
1067
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
1068
|
+
var feeItem = _step2.value;
|
|
1069
|
+
if (feeItem.fun.NonFungible) continue;
|
|
1070
|
+
var plancks = BigInt(feeItem.fun.Fungible.replace(/,/g, ''));
|
|
1071
|
+
var tokenSymbol = getLocationTokenIdPjs(feeItem.id, chain);
|
|
1072
|
+
if (!tokenSymbol || !plancks) continue;
|
|
1073
|
+
deliveryFees.push({
|
|
1074
|
+
plancks: plancks,
|
|
1075
|
+
tokenSymbol: tokenSymbol
|
|
1076
|
+
});
|
|
1077
|
+
}
|
|
1078
|
+
} catch (err) {
|
|
1079
|
+
_iterator2.e(err);
|
|
1080
|
+
} finally {
|
|
1081
|
+
_iterator2.f();
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
} catch (err) {
|
|
1086
|
+
_iterator.e(err);
|
|
1087
|
+
} finally {
|
|
1088
|
+
_iterator.f();
|
|
1089
|
+
}
|
|
1090
|
+
var nativeAssetSymbol = assets.getNativeAssetSymbol(chain);
|
|
1091
|
+
// Sum the fees that match the feeToken
|
|
1092
|
+
var totalDeliveryFees = deliveryFees.filter(function (df) {
|
|
1093
|
+
return df.tokenSymbol === nativeAssetSymbol;
|
|
1094
|
+
}).reduce(function (acc, df) {
|
|
1095
|
+
return acc + df.plancks;
|
|
1096
|
+
}, 0n);
|
|
1097
|
+
return totalDeliveryFees + executionFee;
|
|
1098
|
+
};
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* The options for the batch builder.
|
|
1102
|
+
*/
|
|
1103
|
+
exports.BatchMode = void 0;
|
|
1104
|
+
(function (BatchMode) {
|
|
1105
|
+
/**
|
|
1106
|
+
* Does not commit if one of the calls in the batch fails.
|
|
1107
|
+
*/
|
|
1108
|
+
BatchMode["BATCH_ALL"] = "BATCH_ALL";
|
|
1109
|
+
/**
|
|
1110
|
+
* Commits each successful call regardless if a call fails.
|
|
1111
|
+
*/
|
|
1112
|
+
BatchMode["BATCH"] = "BATCH";
|
|
1113
|
+
})(exports.BatchMode || (exports.BatchMode = {}));
|
|
1114
|
+
|
|
1115
|
+
exports.XTokensError = void 0;
|
|
1116
|
+
(function (XTokensError) {
|
|
1117
|
+
XTokensError["AssetHasNoReserve"] = "AssetHasNoReserve";
|
|
1118
|
+
XTokensError["NotCrossChainTransfer"] = "NotCrossChainTransfer";
|
|
1119
|
+
XTokensError["InvalidDest"] = "InvalidDest";
|
|
1120
|
+
XTokensError["NotCrossChainTransferableCurrency"] = "NotCrossChainTransferableCurrency";
|
|
1121
|
+
XTokensError["UnweighableMessage"] = "UnweighableMessage";
|
|
1122
|
+
XTokensError["XcmExecutionFailed"] = "XcmExecutionFailed";
|
|
1123
|
+
XTokensError["CannotReanchor"] = "CannotReanchor";
|
|
1124
|
+
XTokensError["InvalidAncestry"] = "InvalidAncestry";
|
|
1125
|
+
XTokensError["InvalidAsset"] = "InvalidAsset";
|
|
1126
|
+
XTokensError["DestinationNotInvertible"] = "DestinationNotInvertible";
|
|
1127
|
+
XTokensError["BadVersion"] = "BadVersion";
|
|
1128
|
+
XTokensError["DistinctReserveForAssetAndFee"] = "DistinctReserveForAssetAndFee";
|
|
1129
|
+
XTokensError["ZeroFee"] = "ZeroFee";
|
|
1130
|
+
XTokensError["ZeroAmount"] = "ZeroAmount";
|
|
1131
|
+
XTokensError["TooManyAssetsBeingSent"] = "TooManyAssetsBeingSent";
|
|
1132
|
+
XTokensError["AssetIndexNonExistent"] = "AssetIndexNonExistent";
|
|
1133
|
+
XTokensError["FeeNotEnough"] = "FeeNotEnough";
|
|
1134
|
+
XTokensError["NotSupportedLocation"] = "NotSupportedLocation";
|
|
1135
|
+
XTokensError["MinXcmFeeNotDefined"] = "MinXcmFeeNotDefined";
|
|
1136
|
+
XTokensError["RateLimited"] = "RateLimited";
|
|
1137
|
+
})(exports.XTokensError || (exports.XTokensError = {}));
|
|
1138
|
+
exports.PolkadotXcmError = void 0;
|
|
1139
|
+
(function (PolkadotXcmError) {
|
|
1140
|
+
PolkadotXcmError["Unreachable"] = "Unreachable";
|
|
1141
|
+
PolkadotXcmError["SendFailure"] = "SendFailure";
|
|
1142
|
+
PolkadotXcmError["Filtered"] = "Filtered";
|
|
1143
|
+
PolkadotXcmError["UnweighableMessage"] = "UnweighableMessage";
|
|
1144
|
+
PolkadotXcmError["DestinationNotInvertible"] = "DestinationNotInvertible";
|
|
1145
|
+
PolkadotXcmError["Empty"] = "Empty";
|
|
1146
|
+
PolkadotXcmError["CannotReanchor"] = "CannotReanchor";
|
|
1147
|
+
PolkadotXcmError["TooManyAssets"] = "TooManyAssets";
|
|
1148
|
+
PolkadotXcmError["InvalidOrigin"] = "InvalidOrigin";
|
|
1149
|
+
PolkadotXcmError["BadVersion"] = "BadVersion";
|
|
1150
|
+
PolkadotXcmError["BadLocation"] = "BadLocation";
|
|
1151
|
+
PolkadotXcmError["NoSubscription"] = "NoSubscription";
|
|
1152
|
+
PolkadotXcmError["AlreadySubscribed"] = "AlreadySubscribed";
|
|
1153
|
+
PolkadotXcmError["CannotCheckOutTeleport"] = "CannotCheckOutTeleport";
|
|
1154
|
+
PolkadotXcmError["LowBalance"] = "LowBalance";
|
|
1155
|
+
PolkadotXcmError["TooManyLocks"] = "TooManyLocks";
|
|
1156
|
+
PolkadotXcmError["AccountNotSovereign"] = "AccountNotSovereign";
|
|
1157
|
+
PolkadotXcmError["FeesNotMet"] = "FeesNotMet";
|
|
1158
|
+
PolkadotXcmError["LockNotFound"] = "LockNotFound";
|
|
1159
|
+
PolkadotXcmError["InUse"] = "InUse";
|
|
1160
|
+
PolkadotXcmError["REMOVED"] = "REMOVED";
|
|
1161
|
+
PolkadotXcmError["InvalidAssetUnknownReserve"] = "InvalidAssetUnknownReserve";
|
|
1162
|
+
PolkadotXcmError["InvalidAssetUnsupportedReserve"] = "InvalidAssetUnsupportedReserve";
|
|
1163
|
+
PolkadotXcmError["TooManyReserves"] = "TooManyReserves";
|
|
1164
|
+
PolkadotXcmError["LocalExecutionIncomplete"] = "LocalExecutionIncomplete";
|
|
1165
|
+
PolkadotXcmError["TooManyAuthorizedAliases"] = "TooManyAuthorizedAliases";
|
|
1166
|
+
PolkadotXcmError["ExpiresInPast"] = "ExpiresInPast";
|
|
1167
|
+
PolkadotXcmError["AliasNotFound"] = "AliasNotFound";
|
|
1168
|
+
PolkadotXcmError["LocalExecutionIncompleteWithError"] = "LocalExecutionIncompleteWithError";
|
|
1169
|
+
})(exports.PolkadotXcmError || (exports.PolkadotXcmError = {}));
|
|
1170
|
+
|
|
1171
|
+
var resolveModuleError = function resolveModuleError(chain, error) {
|
|
1172
|
+
var palletDetails = pallets.getSupportedPalletsDetails(chain).find(function (p) {
|
|
1173
|
+
return p.index === Number(error.index);
|
|
1174
|
+
});
|
|
1175
|
+
if (!palletDetails) {
|
|
1176
|
+
throw new InvalidParameterError("Pallet with index ".concat(error.index, " not found"));
|
|
1177
|
+
}
|
|
1178
|
+
// Use only the first byte of the error to get the error index
|
|
1179
|
+
var errorIndex = Number(error.error.slice(0, 4));
|
|
1180
|
+
var name = palletDetails.name;
|
|
1181
|
+
if (name !== 'XTokens' && name !== 'PolkadotXcm' && name !== 'XcmPallet') {
|
|
1182
|
+
throw new InvalidParameterError("Pallet ".concat(name, " is not supported"));
|
|
1183
|
+
}
|
|
1184
|
+
var failureReason = name === 'XTokens' ? Object.values(exports.XTokensError)[errorIndex] : Object.values(exports.PolkadotXcmError)[errorIndex];
|
|
1185
|
+
if (!failureReason) {
|
|
1186
|
+
throw new InvalidParameterError("Error index ".concat(errorIndex, " not found in ").concat(name, " pallet"));
|
|
1187
|
+
}
|
|
1188
|
+
return failureReason;
|
|
985
1189
|
};
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
paraId: 2000,
|
|
990
|
-
providers: [
|
|
991
|
-
{
|
|
992
|
-
name: "Acala Foundation 0",
|
|
993
|
-
endpoint: "wss://acala-rpc-0.aca-api.network"
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
name: "Acala Foundation 1",
|
|
997
|
-
endpoint: "wss://acala-rpc-1.aca-api.network"
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
name: "Acala Foundation 3",
|
|
1001
|
-
endpoint: "wss://acala-rpc-3.aca-api.network/ws"
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
name: "Dwellir",
|
|
1005
|
-
endpoint: "wss://acala-rpc.n.dwellir.com"
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
name: "IBP1",
|
|
1009
|
-
endpoint: "wss://acala.ibp.network"
|
|
1010
|
-
},
|
|
1011
|
-
{
|
|
1012
|
-
name: "IBP2",
|
|
1013
|
-
endpoint: "wss://acala.dotters.network"
|
|
1014
|
-
}
|
|
1015
|
-
]
|
|
1190
|
+
|
|
1191
|
+
var isAssetHub = function isAssetHub(chain) {
|
|
1192
|
+
return chain === 'AssetHubPolkadot' || chain === 'AssetHubKusama';
|
|
1016
1193
|
};
|
|
1017
|
-
var
|
|
1018
|
-
|
|
1019
|
-
info: "ajuna",
|
|
1020
|
-
paraId: 2051,
|
|
1021
|
-
providers: [
|
|
1022
|
-
{
|
|
1023
|
-
name: "AjunaNetwork",
|
|
1024
|
-
endpoint: "wss://rpc-para.ajuna.network"
|
|
1025
|
-
},
|
|
1026
|
-
{
|
|
1027
|
-
name: "IBP1",
|
|
1028
|
-
endpoint: "wss://ajuna.ibp.network"
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
name: "IBP2",
|
|
1032
|
-
endpoint: "wss://ajuna.dotters.network"
|
|
1033
|
-
}
|
|
1034
|
-
]
|
|
1194
|
+
var isBridgeHub = function isBridgeHub(chain) {
|
|
1195
|
+
return chain === 'BridgeHubPolkadot' || chain === 'BridgeHubKusama';
|
|
1035
1196
|
};
|
|
1036
|
-
var
|
|
1037
|
-
|
|
1038
|
-
info: "astar",
|
|
1039
|
-
paraId: 2006,
|
|
1040
|
-
providers: [
|
|
1041
|
-
{
|
|
1042
|
-
name: "Astar",
|
|
1043
|
-
endpoint: "wss://rpc.astar.network"
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
name: "Blast",
|
|
1047
|
-
endpoint: "wss://astar.public.blastapi.io"
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
name: "Dwellir",
|
|
1051
|
-
endpoint: "wss://astar-rpc.n.dwellir.com"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
name: "OnFinality",
|
|
1055
|
-
endpoint: "wss://astar.api.onfinality.io/public-ws"
|
|
1056
|
-
},
|
|
1057
|
-
{
|
|
1058
|
-
name: "RadiumBlock",
|
|
1059
|
-
endpoint: "wss://astar.public.curie.radiumblock.co/ws"
|
|
1060
|
-
}
|
|
1061
|
-
]
|
|
1197
|
+
var isPeople = function isPeople(chain) {
|
|
1198
|
+
return chain === 'PeoplePolkadot' || chain === 'PeopleKusama';
|
|
1062
1199
|
};
|
|
1063
|
-
var
|
|
1064
|
-
|
|
1065
|
-
info: "bifrost",
|
|
1066
|
-
paraId: 2030,
|
|
1067
|
-
providers: [
|
|
1068
|
-
{
|
|
1069
|
-
name: "IBP1",
|
|
1070
|
-
endpoint: "wss://bifrost-polkadot.ibp.network"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
name: "IBP2",
|
|
1074
|
-
endpoint: "wss://bifrost-polkadot.dotters.network"
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
name: "Liebi",
|
|
1078
|
-
endpoint: "wss://hk.p.bifrost-rpc.liebi.com/ws"
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
name: "LiebiEU",
|
|
1082
|
-
endpoint: "wss://eu.bifrost-polkadot-rpc.liebi.com/ws"
|
|
1083
|
-
}
|
|
1084
|
-
]
|
|
1200
|
+
var isSystemPara = function isSystemPara(chain) {
|
|
1201
|
+
return isAssetHub(chain) || isBridgeHub(chain) || isPeople(chain);
|
|
1085
1202
|
};
|
|
1086
|
-
var
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
paraId: 1002,
|
|
1090
|
-
providers: [
|
|
1091
|
-
{
|
|
1092
|
-
name: "Dwellir",
|
|
1093
|
-
endpoint: "wss://bridge-hub-polkadot-rpc.n.dwellir.com"
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
name: "Dwellir Tunisia",
|
|
1097
|
-
endpoint: "wss://polkadot-bridge-hub-rpc-tn.dwellir.com"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
name: "IBP1",
|
|
1101
|
-
endpoint: "wss://sys.ibp.network/bridgehub-polkadot"
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
name: "IBP2",
|
|
1105
|
-
endpoint: "wss://bridge-hub-polkadot.dotters.network"
|
|
1106
|
-
},
|
|
1107
|
-
{
|
|
1108
|
-
name: "LuckyFriday",
|
|
1109
|
-
endpoint: "wss://rpc-bridge-hub-polkadot.luckyfriday.io"
|
|
1110
|
-
},
|
|
1111
|
-
{
|
|
1112
|
-
name: "OnFinality",
|
|
1113
|
-
endpoint: "wss://bridgehub-polkadot.api.onfinality.io/public-ws"
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
name: "Parity",
|
|
1117
|
-
endpoint: "wss://polkadot-bridge-hub-rpc.polkadot.io"
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
name: "RadiumBlock",
|
|
1121
|
-
endpoint: "wss://bridgehub-polkadot.public.curie.radiumblock.co/ws"
|
|
1122
|
-
},
|
|
1123
|
-
{
|
|
1124
|
-
name: "Stakeworld",
|
|
1125
|
-
endpoint: "wss://dot-rpc.stakeworld.io/bridgehub"
|
|
1126
|
-
}
|
|
1127
|
-
]
|
|
1203
|
+
var mul = function mul(v, num) {
|
|
1204
|
+
var den = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1n;
|
|
1205
|
+
return v * num / den;
|
|
1128
1206
|
};
|
|
1129
|
-
var
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1207
|
+
var padFee = function padFee(raw, origin, dest, side) {
|
|
1208
|
+
var relayOrigin = sdkCommon.isRelayChain(origin);
|
|
1209
|
+
var relayDest = sdkCommon.isRelayChain(dest);
|
|
1210
|
+
var sysParaOrigin = isSystemPara(origin);
|
|
1211
|
+
var sysParaDest = isSystemPara(dest);
|
|
1212
|
+
var relayToPara = relayOrigin && !relayDest;
|
|
1213
|
+
var sysParaToPara = sysParaOrigin && !sysParaDest;
|
|
1214
|
+
var paraToPara = !relayOrigin && !sysParaOrigin;
|
|
1215
|
+
if (sysParaToPara) return raw * 40n;
|
|
1216
|
+
if (relayToPara) return side === 'origin' ? mul(raw, 320n, 100n) : mul(raw, 3000n, 100n);
|
|
1217
|
+
if (paraToPara && side == 'origin' && origin === 'Mythos' && dest !== 'Ethereum') {
|
|
1218
|
+
return 150000000000000000n;
|
|
1219
|
+
}
|
|
1220
|
+
if (paraToPara) return mul(raw, 130n, 100n);
|
|
1221
|
+
// apply default 30% padding
|
|
1222
|
+
return mul(raw, 130n, 100n);
|
|
1143
1223
|
};
|
|
1144
|
-
var
|
|
1145
|
-
|
|
1146
|
-
info: "composable",
|
|
1147
|
-
paraId: 2019,
|
|
1148
|
-
providers: [
|
|
1149
|
-
{
|
|
1150
|
-
name: "Composable",
|
|
1151
|
-
endpoint: "wss://rpc.composable.finance"
|
|
1152
|
-
}
|
|
1153
|
-
]
|
|
1224
|
+
var padFeeBy = function padFeeBy(amount, percent) {
|
|
1225
|
+
return mul(amount, BigInt(100 + percent), 100n);
|
|
1154
1226
|
};
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1227
|
+
|
|
1228
|
+
var resolveScenario = function resolveScenario(origin, destination) {
|
|
1229
|
+
if (sdkCommon.isRelayChain(origin)) return 'RelayToPara';
|
|
1230
|
+
var isRelayDestination = !sdkCommon.isTLocation(destination) && sdkCommon.isRelayChain(destination);
|
|
1231
|
+
if (isRelayDestination) return 'ParaToRelay';
|
|
1232
|
+
return 'ParaToPara';
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
var createX1Payload = function createX1Payload(version, junction) {
|
|
1236
|
+
return version === sdkCommon.Version.V3 ? {
|
|
1237
|
+
X1: junction
|
|
1238
|
+
} : {
|
|
1239
|
+
X1: [junction]
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
|
|
1243
|
+
var createAccountPayload = function createAccountPayload(api, address) {
|
|
1244
|
+
return viem.isAddress(address) ? {
|
|
1245
|
+
AccountKey20: {
|
|
1246
|
+
key: address
|
|
1247
|
+
}
|
|
1248
|
+
} : {
|
|
1249
|
+
AccountId32: {
|
|
1250
|
+
id: api.accountToHex(address)
|
|
1251
|
+
}
|
|
1252
|
+
};
|
|
1253
|
+
};
|
|
1254
|
+
var createBeneficiaryLocXTokens = function createBeneficiaryLocXTokens(_ref) {
|
|
1255
|
+
var api = _ref.api,
|
|
1256
|
+
recipientAddress = _ref.address,
|
|
1257
|
+
origin = _ref.origin,
|
|
1258
|
+
destination = _ref.destination,
|
|
1259
|
+
version = _ref.version,
|
|
1260
|
+
paraId = _ref.paraId;
|
|
1261
|
+
if (sdkCommon.isTLocation(recipientAddress)) {
|
|
1262
|
+
return recipientAddress;
|
|
1263
|
+
}
|
|
1264
|
+
var scenario = resolveScenario(origin, destination);
|
|
1265
|
+
var accountPayload = createAccountPayload(api, recipientAddress);
|
|
1266
|
+
if (scenario === 'ParaToRelay') {
|
|
1267
|
+
return {
|
|
1268
|
+
parents: sdkCommon.Parents.ONE,
|
|
1269
|
+
interior: createX1Payload(version, {
|
|
1270
|
+
AccountId32: {
|
|
1271
|
+
id: api.accountToHex(recipientAddress)
|
|
1272
|
+
}
|
|
1273
|
+
})
|
|
1274
|
+
};
|
|
1275
|
+
} else if (scenario === 'ParaToPara') {
|
|
1276
|
+
return {
|
|
1277
|
+
parents: sdkCommon.Parents.ONE,
|
|
1278
|
+
interior: {
|
|
1279
|
+
X2: [{
|
|
1280
|
+
Parachain: paraId
|
|
1281
|
+
}, accountPayload]
|
|
1282
|
+
}
|
|
1283
|
+
};
|
|
1284
|
+
}
|
|
1285
|
+
return {
|
|
1286
|
+
parents: sdkCommon.Parents.ZERO,
|
|
1287
|
+
interior: createX1Payload(version, accountPayload)
|
|
1288
|
+
};
|
|
1173
1289
|
};
|
|
1174
|
-
var
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1290
|
+
var createBeneficiaryLocation = function createBeneficiaryLocation(_ref2) {
|
|
1291
|
+
var api = _ref2.api,
|
|
1292
|
+
address = _ref2.address,
|
|
1293
|
+
version = _ref2.version;
|
|
1294
|
+
if (sdkCommon.isTLocation(address)) return address;
|
|
1295
|
+
var accountPayload = createAccountPayload(api, address);
|
|
1296
|
+
return {
|
|
1297
|
+
parents: sdkCommon.Parents.ZERO,
|
|
1298
|
+
interior: createX1Payload(version, accountPayload)
|
|
1299
|
+
};
|
|
1184
1300
|
};
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1301
|
+
|
|
1302
|
+
var AssetHubPolkadot$1 = {
|
|
1303
|
+
name: "Asset Hub",
|
|
1304
|
+
info: "PolkadotAssetHub",
|
|
1305
|
+
paraId: 1000,
|
|
1189
1306
|
providers: [
|
|
1190
1307
|
{
|
|
1191
1308
|
name: "Dwellir",
|
|
1192
|
-
endpoint: "wss://
|
|
1309
|
+
endpoint: "wss://asset-hub-polkadot-rpc.n.dwellir.com"
|
|
1193
1310
|
},
|
|
1194
1311
|
{
|
|
1195
|
-
name: "
|
|
1196
|
-
endpoint: "wss://rpc.
|
|
1312
|
+
name: "Dwellir Tunisia",
|
|
1313
|
+
endpoint: "wss://statemint-rpc-tn.dwellir.com"
|
|
1197
1314
|
},
|
|
1198
1315
|
{
|
|
1199
1316
|
name: "IBP1",
|
|
1200
|
-
endpoint: "wss://
|
|
1317
|
+
endpoint: "wss://sys.ibp.network/asset-hub-polkadot"
|
|
1201
1318
|
},
|
|
1202
1319
|
{
|
|
1203
1320
|
name: "IBP2",
|
|
1204
|
-
endpoint: "wss://
|
|
1205
|
-
}
|
|
1206
|
-
]
|
|
1207
|
-
};
|
|
1208
|
-
var IntegriteePolkadot$1 = {
|
|
1209
|
-
name: "Integritee Network",
|
|
1210
|
-
info: "integritee",
|
|
1211
|
-
paraId: 2039,
|
|
1212
|
-
providers: [
|
|
1213
|
-
{
|
|
1214
|
-
name: "Integritee",
|
|
1215
|
-
endpoint: "wss://polkadot.api.integritee.network"
|
|
1216
|
-
}
|
|
1217
|
-
]
|
|
1218
|
-
};
|
|
1219
|
-
var Interlay$1 = {
|
|
1220
|
-
name: "Interlay",
|
|
1221
|
-
info: "interlay",
|
|
1222
|
-
paraId: 2032,
|
|
1223
|
-
providers: [
|
|
1224
|
-
{
|
|
1225
|
-
name: "Kintsugi Labs",
|
|
1226
|
-
endpoint: "wss://api.interlay.io/parachain"
|
|
1321
|
+
endpoint: "wss://asset-hub-polkadot.dotters.network"
|
|
1227
1322
|
},
|
|
1228
1323
|
{
|
|
1229
1324
|
name: "LuckyFriday",
|
|
1230
|
-
endpoint: "wss://rpc-
|
|
1231
|
-
}
|
|
1232
|
-
]
|
|
1233
|
-
};
|
|
1234
|
-
var Heima$1 = {
|
|
1235
|
-
name: "Heima",
|
|
1236
|
-
info: "heima",
|
|
1237
|
-
paraId: 2013,
|
|
1238
|
-
providers: [
|
|
1239
|
-
{
|
|
1240
|
-
name: "Dwellir",
|
|
1241
|
-
endpoint: "wss://heima-rpc.n.dwellir.com"
|
|
1242
|
-
},
|
|
1243
|
-
{
|
|
1244
|
-
name: "Heima",
|
|
1245
|
-
endpoint: "wss://rpc.heima-parachain.heima.network"
|
|
1246
|
-
}
|
|
1247
|
-
]
|
|
1248
|
-
};
|
|
1249
|
-
var Jamton$1 = {
|
|
1250
|
-
name: "JAMTON",
|
|
1251
|
-
info: "jamton",
|
|
1252
|
-
paraId: 3397,
|
|
1253
|
-
providers: [
|
|
1254
|
-
{
|
|
1255
|
-
name: "Jamton",
|
|
1256
|
-
endpoint: "wss://rpc.jamton.network"
|
|
1257
|
-
}
|
|
1258
|
-
]
|
|
1259
|
-
};
|
|
1260
|
-
var Moonbeam$1 = {
|
|
1261
|
-
name: "Moonbeam",
|
|
1262
|
-
info: "moonbeam",
|
|
1263
|
-
paraId: 2004,
|
|
1264
|
-
providers: [
|
|
1265
|
-
{
|
|
1266
|
-
name: "Allnodes",
|
|
1267
|
-
endpoint: "wss://moonbeam-rpc.publicnode.com"
|
|
1268
|
-
},
|
|
1269
|
-
{
|
|
1270
|
-
name: "Blast",
|
|
1271
|
-
endpoint: "wss://moonbeam.public.blastapi.io"
|
|
1272
|
-
},
|
|
1273
|
-
{
|
|
1274
|
-
name: "Dwellir",
|
|
1275
|
-
endpoint: "wss://moonbeam-rpc.n.dwellir.com"
|
|
1276
|
-
},
|
|
1277
|
-
{
|
|
1278
|
-
name: "IBP1",
|
|
1279
|
-
endpoint: "wss://moonbeam.ibp.network"
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
name: "IBP2",
|
|
1283
|
-
endpoint: "wss://moonbeam.dotters.network"
|
|
1325
|
+
endpoint: "wss://rpc-asset-hub-polkadot.luckyfriday.io"
|
|
1284
1326
|
},
|
|
1285
1327
|
{
|
|
1286
|
-
name: "
|
|
1287
|
-
endpoint: "wss://
|
|
1328
|
+
name: "OnFinality",
|
|
1329
|
+
endpoint: "wss://statemint.api.onfinality.io/public-ws"
|
|
1288
1330
|
},
|
|
1289
1331
|
{
|
|
1290
|
-
name: "
|
|
1291
|
-
endpoint: "wss://
|
|
1332
|
+
name: "Parity",
|
|
1333
|
+
endpoint: "wss://polkadot-asset-hub-rpc.polkadot.io"
|
|
1292
1334
|
},
|
|
1293
1335
|
{
|
|
1294
1336
|
name: "RadiumBlock",
|
|
1295
|
-
endpoint: "wss://
|
|
1337
|
+
endpoint: "wss://statemint.public.curie.radiumblock.co/ws"
|
|
1296
1338
|
},
|
|
1297
1339
|
{
|
|
1298
|
-
name: "
|
|
1299
|
-
endpoint: "wss://
|
|
1340
|
+
name: "Stakeworld",
|
|
1341
|
+
endpoint: "wss://dot-rpc.stakeworld.io/assethub"
|
|
1300
1342
|
}
|
|
1301
1343
|
]
|
|
1302
1344
|
};
|
|
1303
|
-
var
|
|
1304
|
-
name: "
|
|
1305
|
-
info: "
|
|
1306
|
-
paraId:
|
|
1345
|
+
var Acala$1 = {
|
|
1346
|
+
name: "Acala",
|
|
1347
|
+
info: "acala",
|
|
1348
|
+
paraId: 2000,
|
|
1307
1349
|
providers: [
|
|
1308
1350
|
{
|
|
1309
|
-
name: "
|
|
1310
|
-
endpoint: "wss://
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
name: "IBP1",
|
|
1314
|
-
endpoint: "wss://sys.ibp.network/coretime-polkadot"
|
|
1315
|
-
},
|
|
1316
|
-
{
|
|
1317
|
-
name: "IBP2",
|
|
1318
|
-
endpoint: "wss://coretime-polkadot.dotters.network"
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
name: "LuckyFriday",
|
|
1322
|
-
endpoint: "wss://rpc-coretime-polkadot.luckyfriday.io"
|
|
1351
|
+
name: "Acala Foundation 0",
|
|
1352
|
+
endpoint: "wss://acala-rpc-0.aca-api.network"
|
|
1323
1353
|
},
|
|
1324
1354
|
{
|
|
1325
|
-
name: "
|
|
1326
|
-
endpoint: "wss://
|
|
1355
|
+
name: "Acala Foundation 1",
|
|
1356
|
+
endpoint: "wss://acala-rpc-1.aca-api.network"
|
|
1327
1357
|
},
|
|
1328
1358
|
{
|
|
1329
|
-
name: "
|
|
1330
|
-
endpoint: "wss://
|
|
1359
|
+
name: "Acala Foundation 3",
|
|
1360
|
+
endpoint: "wss://acala-rpc-3.aca-api.network/ws"
|
|
1331
1361
|
},
|
|
1332
|
-
{
|
|
1333
|
-
name: "Stakeworld",
|
|
1334
|
-
endpoint: "wss://dot-rpc.stakeworld.io/coretime"
|
|
1335
|
-
}
|
|
1336
|
-
]
|
|
1337
|
-
};
|
|
1338
|
-
var Collectives$1 = {
|
|
1339
|
-
name: "Collectives",
|
|
1340
|
-
info: "polkadotCollectives",
|
|
1341
|
-
paraId: 1001,
|
|
1342
|
-
providers: [
|
|
1343
1362
|
{
|
|
1344
1363
|
name: "Dwellir",
|
|
1345
|
-
endpoint: "wss://
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
name: "Dwellir Tunisia",
|
|
1349
|
-
endpoint: "wss://polkadot-collectives-rpc-tn.dwellir.com"
|
|
1364
|
+
endpoint: "wss://acala-rpc.n.dwellir.com"
|
|
1350
1365
|
},
|
|
1351
1366
|
{
|
|
1352
1367
|
name: "IBP1",
|
|
1353
|
-
endpoint: "wss://
|
|
1368
|
+
endpoint: "wss://acala.ibp.network"
|
|
1354
1369
|
},
|
|
1355
1370
|
{
|
|
1356
1371
|
name: "IBP2",
|
|
1357
|
-
endpoint: "wss://
|
|
1358
|
-
},
|
|
1359
|
-
{
|
|
1360
|
-
name: "LuckyFriday",
|
|
1361
|
-
endpoint: "wss://rpc-collectives-polkadot.luckyfriday.io"
|
|
1362
|
-
},
|
|
1363
|
-
{
|
|
1364
|
-
name: "OnFinality",
|
|
1365
|
-
endpoint: "wss://collectives.api.onfinality.io/public-ws"
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
name: "Parity",
|
|
1369
|
-
endpoint: "wss://polkadot-collectives-rpc.polkadot.io"
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
name: "RadiumBlock",
|
|
1373
|
-
endpoint: "wss://collectives.public.curie.radiumblock.co/ws"
|
|
1374
|
-
},
|
|
1375
|
-
{
|
|
1376
|
-
name: "Stakeworld",
|
|
1377
|
-
endpoint: "wss://dot-rpc.stakeworld.io/collectives"
|
|
1372
|
+
endpoint: "wss://acala.dotters.network"
|
|
1378
1373
|
}
|
|
1379
1374
|
]
|
|
1380
1375
|
};
|
|
1381
|
-
var
|
|
1382
|
-
name: "
|
|
1383
|
-
info: "
|
|
1384
|
-
paraId:
|
|
1376
|
+
var Ajuna$1 = {
|
|
1377
|
+
name: "Ajuna Network",
|
|
1378
|
+
info: "ajuna",
|
|
1379
|
+
paraId: 2051,
|
|
1385
1380
|
providers: [
|
|
1386
1381
|
{
|
|
1387
|
-
name: "
|
|
1388
|
-
endpoint: "wss://
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
name: "Crust APP",
|
|
1392
|
-
endpoint: "wss://crust-parachain.crustnetwork.app"
|
|
1382
|
+
name: "AjunaNetwork",
|
|
1383
|
+
endpoint: "wss://rpc-para.ajuna.network"
|
|
1393
1384
|
},
|
|
1394
1385
|
{
|
|
1395
|
-
name: "
|
|
1396
|
-
endpoint: "wss://
|
|
1386
|
+
name: "IBP1",
|
|
1387
|
+
endpoint: "wss://ajuna.ibp.network"
|
|
1397
1388
|
},
|
|
1398
1389
|
{
|
|
1399
|
-
name: "
|
|
1400
|
-
endpoint: "wss://
|
|
1401
|
-
}
|
|
1402
|
-
]
|
|
1403
|
-
};
|
|
1404
|
-
var Manta$1 = {
|
|
1405
|
-
name: "Manta",
|
|
1406
|
-
info: "manta",
|
|
1407
|
-
paraId: 2104,
|
|
1408
|
-
providers: [
|
|
1409
|
-
{
|
|
1410
|
-
name: "Manta Network",
|
|
1411
|
-
endpoint: "wss://ws.manta.systems"
|
|
1390
|
+
name: "IBP2",
|
|
1391
|
+
endpoint: "wss://ajuna.dotters.network"
|
|
1412
1392
|
}
|
|
1413
1393
|
]
|
|
1414
1394
|
};
|
|
1415
|
-
var
|
|
1416
|
-
name: "
|
|
1417
|
-
info: "
|
|
1418
|
-
paraId:
|
|
1395
|
+
var Astar$1 = {
|
|
1396
|
+
name: "Astar",
|
|
1397
|
+
info: "astar",
|
|
1398
|
+
paraId: 2006,
|
|
1419
1399
|
providers: [
|
|
1400
|
+
{
|
|
1401
|
+
name: "Astar",
|
|
1402
|
+
endpoint: "wss://rpc.astar.network"
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
name: "Blast",
|
|
1406
|
+
endpoint: "wss://astar.public.blastapi.io"
|
|
1407
|
+
},
|
|
1420
1408
|
{
|
|
1421
1409
|
name: "Dwellir",
|
|
1422
|
-
endpoint: "wss://
|
|
1410
|
+
endpoint: "wss://astar-rpc.n.dwellir.com"
|
|
1423
1411
|
},
|
|
1424
1412
|
{
|
|
1425
1413
|
name: "OnFinality",
|
|
1426
|
-
endpoint: "wss://
|
|
1427
|
-
}
|
|
1428
|
-
]
|
|
1429
|
-
};
|
|
1430
|
-
var NeuroWeb$1 = {
|
|
1431
|
-
name: "NeuroWeb",
|
|
1432
|
-
info: "neuroweb",
|
|
1433
|
-
paraId: 2043,
|
|
1434
|
-
providers: [
|
|
1414
|
+
endpoint: "wss://astar.api.onfinality.io/public-ws"
|
|
1415
|
+
},
|
|
1435
1416
|
{
|
|
1436
|
-
name: "
|
|
1437
|
-
endpoint: "wss://
|
|
1417
|
+
name: "RadiumBlock",
|
|
1418
|
+
endpoint: "wss://astar.public.curie.radiumblock.co/ws"
|
|
1438
1419
|
}
|
|
1439
1420
|
]
|
|
1440
1421
|
};
|
|
1441
|
-
var
|
|
1442
|
-
name: "
|
|
1443
|
-
info: "
|
|
1444
|
-
paraId:
|
|
1422
|
+
var BifrostPolkadot$1 = {
|
|
1423
|
+
name: "Bifrost",
|
|
1424
|
+
info: "bifrost",
|
|
1425
|
+
paraId: 2030,
|
|
1445
1426
|
providers: [
|
|
1446
1427
|
{
|
|
1447
|
-
name: "
|
|
1448
|
-
endpoint: "wss://
|
|
1428
|
+
name: "IBP1",
|
|
1429
|
+
endpoint: "wss://bifrost-polkadot.ibp.network"
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
name: "IBP2",
|
|
1433
|
+
endpoint: "wss://bifrost-polkadot.dotters.network"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
name: "Liebi",
|
|
1437
|
+
endpoint: "wss://hk.p.bifrost-rpc.liebi.com/ws"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
name: "LiebiEU",
|
|
1441
|
+
endpoint: "wss://eu.bifrost-polkadot-rpc.liebi.com/ws"
|
|
1449
1442
|
}
|
|
1450
1443
|
]
|
|
1451
1444
|
};
|
|
1452
|
-
var
|
|
1453
|
-
name: "
|
|
1454
|
-
info: "
|
|
1455
|
-
paraId:
|
|
1445
|
+
var BridgeHubPolkadot$1 = {
|
|
1446
|
+
name: "Bridge Hub",
|
|
1447
|
+
info: "polkadotBridgeHub",
|
|
1448
|
+
paraId: 1002,
|
|
1456
1449
|
providers: [
|
|
1457
1450
|
{
|
|
1458
1451
|
name: "Dwellir",
|
|
1459
|
-
endpoint: "wss://
|
|
1452
|
+
endpoint: "wss://bridge-hub-polkadot-rpc.n.dwellir.com"
|
|
1460
1453
|
},
|
|
1461
1454
|
{
|
|
1462
|
-
name: "
|
|
1463
|
-
endpoint: "wss://rpc.
|
|
1455
|
+
name: "Dwellir Tunisia",
|
|
1456
|
+
endpoint: "wss://polkadot-bridge-hub-rpc-tn.dwellir.com"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
name: "IBP1",
|
|
1460
|
+
endpoint: "wss://sys.ibp.network/bridgehub-polkadot"
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
name: "IBP2",
|
|
1464
|
+
endpoint: "wss://bridge-hub-polkadot.dotters.network"
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
name: "LuckyFriday",
|
|
1468
|
+
endpoint: "wss://rpc-bridge-hub-polkadot.luckyfriday.io"
|
|
1464
1469
|
},
|
|
1465
1470
|
{
|
|
1466
1471
|
name: "OnFinality",
|
|
1467
|
-
endpoint: "wss://
|
|
1472
|
+
endpoint: "wss://bridgehub-polkadot.api.onfinality.io/public-ws"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
name: "Parity",
|
|
1476
|
+
endpoint: "wss://polkadot-bridge-hub-rpc.polkadot.io"
|
|
1468
1477
|
},
|
|
1469
1478
|
{
|
|
1470
1479
|
name: "RadiumBlock",
|
|
1471
|
-
endpoint: "wss://
|
|
1472
|
-
}
|
|
1473
|
-
]
|
|
1474
|
-
};
|
|
1475
|
-
var Subsocial$1 = {
|
|
1476
|
-
name: "Subsocial",
|
|
1477
|
-
info: "subsocial",
|
|
1478
|
-
paraId: 2101,
|
|
1479
|
-
providers: [
|
|
1480
|
+
endpoint: "wss://bridgehub-polkadot.public.curie.radiumblock.co/ws"
|
|
1481
|
+
},
|
|
1480
1482
|
{
|
|
1481
|
-
name: "
|
|
1482
|
-
endpoint: "wss://
|
|
1483
|
+
name: "Stakeworld",
|
|
1484
|
+
endpoint: "wss://dot-rpc.stakeworld.io/bridgehub"
|
|
1483
1485
|
}
|
|
1484
1486
|
]
|
|
1485
1487
|
};
|
|
1486
|
-
var
|
|
1487
|
-
name: "
|
|
1488
|
-
info: "
|
|
1489
|
-
paraId:
|
|
1488
|
+
var Centrifuge$1 = {
|
|
1489
|
+
name: "Centrifuge",
|
|
1490
|
+
info: "centrifuge",
|
|
1491
|
+
paraId: 2031,
|
|
1490
1492
|
providers: [
|
|
1491
1493
|
{
|
|
1492
|
-
name: "
|
|
1493
|
-
endpoint: "wss://
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
name: "IBP2",
|
|
1497
|
-
endpoint: "wss://kilt.dotters.network"
|
|
1494
|
+
name: "LuckyFriday",
|
|
1495
|
+
endpoint: "wss://rpc-centrifuge.luckyfriday.io"
|
|
1498
1496
|
},
|
|
1499
1497
|
{
|
|
1500
|
-
name: "
|
|
1501
|
-
endpoint: "wss://
|
|
1498
|
+
name: "OnFinality",
|
|
1499
|
+
endpoint: "wss://centrifuge-parachain.api.onfinality.io/public-ws"
|
|
1502
1500
|
}
|
|
1503
1501
|
]
|
|
1504
1502
|
};
|
|
1505
|
-
var
|
|
1506
|
-
name: "
|
|
1507
|
-
info: "
|
|
1508
|
-
paraId:
|
|
1503
|
+
var ComposableFinance$1 = {
|
|
1504
|
+
name: "Composable Finance",
|
|
1505
|
+
info: "composable",
|
|
1506
|
+
paraId: 2019,
|
|
1509
1507
|
providers: [
|
|
1510
1508
|
{
|
|
1511
|
-
name: "
|
|
1512
|
-
endpoint: "wss://
|
|
1509
|
+
name: "Composable",
|
|
1510
|
+
endpoint: "wss://rpc.composable.finance"
|
|
1513
1511
|
}
|
|
1514
1512
|
]
|
|
1515
1513
|
};
|
|
1516
|
-
var
|
|
1517
|
-
name: "
|
|
1518
|
-
info: "
|
|
1519
|
-
paraId:
|
|
1514
|
+
var Darwinia$1 = {
|
|
1515
|
+
name: "Darwinia",
|
|
1516
|
+
info: "darwinia",
|
|
1517
|
+
paraId: 2046,
|
|
1520
1518
|
providers: [
|
|
1521
1519
|
{
|
|
1522
|
-
name: "
|
|
1523
|
-
endpoint: "wss://rpc.
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
name: "IBP1",
|
|
1527
|
-
endpoint: "wss://mythos.ibp.network"
|
|
1520
|
+
name: "Darwinia",
|
|
1521
|
+
endpoint: "wss://rpc.darwinia.network"
|
|
1528
1522
|
},
|
|
1529
1523
|
{
|
|
1530
|
-
name: "
|
|
1531
|
-
endpoint: "wss://
|
|
1524
|
+
name: "Dwellir",
|
|
1525
|
+
endpoint: "wss://darwinia-rpc.n.dwellir.com"
|
|
1532
1526
|
},
|
|
1533
1527
|
{
|
|
1534
|
-
name: "
|
|
1535
|
-
endpoint: "wss://
|
|
1528
|
+
name: "Subquery",
|
|
1529
|
+
endpoint: "wss://darwinia.rpc.subquery.network/public/ws"
|
|
1536
1530
|
}
|
|
1537
1531
|
]
|
|
1538
1532
|
};
|
|
1539
|
-
var
|
|
1540
|
-
name: "
|
|
1541
|
-
info: "
|
|
1542
|
-
paraId:
|
|
1533
|
+
var EnergyWebX$1 = {
|
|
1534
|
+
name: "Energy Web X",
|
|
1535
|
+
info: "ewx",
|
|
1536
|
+
paraId: 3345,
|
|
1543
1537
|
providers: [
|
|
1544
1538
|
{
|
|
1545
|
-
name: "
|
|
1546
|
-
endpoint: "wss://
|
|
1539
|
+
name: "Energy Web",
|
|
1540
|
+
endpoint: "wss://public-rpc.mainnet.energywebx.com/"
|
|
1547
1541
|
}
|
|
1548
1542
|
]
|
|
1549
1543
|
};
|
|
1550
|
-
var
|
|
1551
|
-
name: "
|
|
1552
|
-
info: "
|
|
1553
|
-
paraId:
|
|
1544
|
+
var Hydration$1 = {
|
|
1545
|
+
name: "Hydration",
|
|
1546
|
+
info: "hydradx",
|
|
1547
|
+
paraId: 2034,
|
|
1554
1548
|
providers: [
|
|
1555
1549
|
{
|
|
1556
|
-
name: "
|
|
1557
|
-
endpoint: "wss://
|
|
1550
|
+
name: "Dwellir",
|
|
1551
|
+
endpoint: "wss://hydration-rpc.n.dwellir.com"
|
|
1558
1552
|
},
|
|
1559
1553
|
{
|
|
1560
1554
|
name: "Helikon",
|
|
1561
|
-
endpoint: "wss://rpc.helikon.io/
|
|
1555
|
+
endpoint: "wss://rpc.helikon.io/hydradx"
|
|
1562
1556
|
},
|
|
1563
1557
|
{
|
|
1564
1558
|
name: "IBP1",
|
|
1565
|
-
endpoint: "wss://
|
|
1559
|
+
endpoint: "wss://hydration.ibp.network"
|
|
1566
1560
|
},
|
|
1567
1561
|
{
|
|
1568
1562
|
name: "IBP2",
|
|
1569
|
-
endpoint: "wss://
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
name: "Polimec Foundation",
|
|
1573
|
-
endpoint: "wss://rpc.polimec.org"
|
|
1563
|
+
endpoint: "wss://hydration.dotters.network"
|
|
1574
1564
|
}
|
|
1575
1565
|
]
|
|
1576
1566
|
};
|
|
1577
|
-
var
|
|
1578
|
-
name: "
|
|
1579
|
-
info: "
|
|
1580
|
-
paraId:
|
|
1567
|
+
var IntegriteePolkadot$1 = {
|
|
1568
|
+
name: "Integritee Network",
|
|
1569
|
+
info: "integritee",
|
|
1570
|
+
paraId: 2039,
|
|
1581
1571
|
providers: [
|
|
1582
1572
|
{
|
|
1583
|
-
name: "
|
|
1584
|
-
endpoint: "wss://polkadot.
|
|
1573
|
+
name: "Integritee",
|
|
1574
|
+
endpoint: "wss://polkadot.api.integritee.network"
|
|
1585
1575
|
}
|
|
1586
1576
|
]
|
|
1587
1577
|
};
|
|
1588
|
-
var
|
|
1589
|
-
name: "
|
|
1590
|
-
info: "
|
|
1591
|
-
paraId:
|
|
1578
|
+
var Interlay$1 = {
|
|
1579
|
+
name: "Interlay",
|
|
1580
|
+
info: "interlay",
|
|
1581
|
+
paraId: 2032,
|
|
1592
1582
|
providers: [
|
|
1593
1583
|
{
|
|
1594
|
-
name: "
|
|
1595
|
-
endpoint: "wss://
|
|
1596
|
-
},
|
|
1597
|
-
{
|
|
1598
|
-
name: "IBP1",
|
|
1599
|
-
endpoint: "wss://sys.ibp.network/people-polkadot"
|
|
1600
|
-
},
|
|
1601
|
-
{
|
|
1602
|
-
name: "IBP2",
|
|
1603
|
-
endpoint: "wss://people-polkadot.dotters.network"
|
|
1584
|
+
name: "Kintsugi Labs",
|
|
1585
|
+
endpoint: "wss://api.interlay.io/parachain"
|
|
1604
1586
|
},
|
|
1605
1587
|
{
|
|
1606
1588
|
name: "LuckyFriday",
|
|
1607
|
-
endpoint: "wss://rpc-
|
|
1608
|
-
}
|
|
1589
|
+
endpoint: "wss://rpc-interlay.luckyfriday.io/"
|
|
1590
|
+
}
|
|
1591
|
+
]
|
|
1592
|
+
};
|
|
1593
|
+
var Heima$1 = {
|
|
1594
|
+
name: "Heima",
|
|
1595
|
+
info: "heima",
|
|
1596
|
+
paraId: 2013,
|
|
1597
|
+
providers: [
|
|
1609
1598
|
{
|
|
1610
|
-
name: "
|
|
1611
|
-
endpoint: "wss://
|
|
1599
|
+
name: "Dwellir",
|
|
1600
|
+
endpoint: "wss://heima-rpc.n.dwellir.com"
|
|
1612
1601
|
},
|
|
1613
1602
|
{
|
|
1614
|
-
name: "
|
|
1615
|
-
endpoint: "wss://
|
|
1616
|
-
}
|
|
1603
|
+
name: "Heima",
|
|
1604
|
+
endpoint: "wss://rpc.heima-parachain.heima.network"
|
|
1605
|
+
}
|
|
1606
|
+
]
|
|
1607
|
+
};
|
|
1608
|
+
var Jamton$1 = {
|
|
1609
|
+
name: "JAMTON",
|
|
1610
|
+
info: "jamton",
|
|
1611
|
+
paraId: 3397,
|
|
1612
|
+
providers: [
|
|
1617
1613
|
{
|
|
1618
|
-
name: "
|
|
1619
|
-
endpoint: "wss://
|
|
1614
|
+
name: "Jamton",
|
|
1615
|
+
endpoint: "wss://rpc.jamton.network"
|
|
1620
1616
|
}
|
|
1621
1617
|
]
|
|
1622
1618
|
};
|
|
1623
|
-
var
|
|
1624
|
-
name: "
|
|
1625
|
-
info: "
|
|
1626
|
-
paraId:
|
|
1619
|
+
var Moonbeam$1 = {
|
|
1620
|
+
name: "Moonbeam",
|
|
1621
|
+
info: "moonbeam",
|
|
1622
|
+
paraId: 2004,
|
|
1627
1623
|
providers: [
|
|
1628
1624
|
{
|
|
1629
|
-
name: "
|
|
1630
|
-
endpoint: "wss://
|
|
1625
|
+
name: "Allnodes",
|
|
1626
|
+
endpoint: "wss://moonbeam-rpc.publicnode.com"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
name: "Blast",
|
|
1630
|
+
endpoint: "wss://moonbeam.public.blastapi.io"
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
name: "Dwellir",
|
|
1634
|
+
endpoint: "wss://moonbeam-rpc.n.dwellir.com"
|
|
1631
1635
|
},
|
|
1632
1636
|
{
|
|
1633
1637
|
name: "IBP1",
|
|
1634
|
-
endpoint: "wss://
|
|
1638
|
+
endpoint: "wss://moonbeam.ibp.network"
|
|
1635
1639
|
},
|
|
1636
1640
|
{
|
|
1637
1641
|
name: "IBP2",
|
|
1638
|
-
endpoint: "wss://
|
|
1642
|
+
endpoint: "wss://moonbeam.dotters.network"
|
|
1639
1643
|
},
|
|
1640
1644
|
{
|
|
1641
|
-
name: "
|
|
1642
|
-
endpoint: "wss://
|
|
1645
|
+
name: "Moonbeam Foundation",
|
|
1646
|
+
endpoint: "wss://wss.api.moonbeam.network"
|
|
1643
1647
|
},
|
|
1644
1648
|
{
|
|
1645
|
-
name: "
|
|
1646
|
-
endpoint: "wss://
|
|
1649
|
+
name: "OnFinality",
|
|
1650
|
+
endpoint: "wss://moonbeam.api.onfinality.io/public-ws"
|
|
1647
1651
|
},
|
|
1648
1652
|
{
|
|
1649
|
-
name: "
|
|
1650
|
-
endpoint: "wss://
|
|
1651
|
-
}
|
|
1652
|
-
]
|
|
1653
|
-
};
|
|
1654
|
-
var Xode$1 = {
|
|
1655
|
-
name: "Xode",
|
|
1656
|
-
info: "xode",
|
|
1657
|
-
paraId: 3417,
|
|
1658
|
-
providers: [
|
|
1659
|
-
{
|
|
1660
|
-
name: "XodeCommunity",
|
|
1661
|
-
endpoint: "wss://polkadot-rpcnode.xode.net"
|
|
1653
|
+
name: "RadiumBlock",
|
|
1654
|
+
endpoint: "wss://moonbeam.public.curie.radiumblock.co/ws"
|
|
1662
1655
|
},
|
|
1663
1656
|
{
|
|
1664
|
-
name: "
|
|
1665
|
-
endpoint: "wss://
|
|
1657
|
+
name: "UnitedBloc",
|
|
1658
|
+
endpoint: "wss://moonbeam.unitedbloc.com"
|
|
1666
1659
|
}
|
|
1667
1660
|
]
|
|
1668
1661
|
};
|
|
1669
|
-
var
|
|
1670
|
-
name: "
|
|
1671
|
-
info: "
|
|
1672
|
-
paraId:
|
|
1662
|
+
var CoretimePolkadot$1 = {
|
|
1663
|
+
name: "Coretime",
|
|
1664
|
+
info: "polkadotCoretime",
|
|
1665
|
+
paraId: 1005,
|
|
1673
1666
|
providers: [
|
|
1674
1667
|
{
|
|
1675
1668
|
name: "Dwellir",
|
|
1676
|
-
endpoint: "wss://
|
|
1677
|
-
},
|
|
1678
|
-
{
|
|
1679
|
-
name: "Dwellir Tunisia",
|
|
1680
|
-
endpoint: "wss://statemine-rpc-tn.dwellir.com"
|
|
1669
|
+
endpoint: "wss://coretime-polkadot-rpc.n.dwellir.com"
|
|
1681
1670
|
},
|
|
1682
1671
|
{
|
|
1683
1672
|
name: "IBP1",
|
|
1684
|
-
endpoint: "wss://sys.ibp.network/
|
|
1673
|
+
endpoint: "wss://sys.ibp.network/coretime-polkadot"
|
|
1685
1674
|
},
|
|
1686
1675
|
{
|
|
1687
1676
|
name: "IBP2",
|
|
1688
|
-
endpoint: "wss://
|
|
1677
|
+
endpoint: "wss://coretime-polkadot.dotters.network"
|
|
1689
1678
|
},
|
|
1690
1679
|
{
|
|
1691
1680
|
name: "LuckyFriday",
|
|
1692
|
-
endpoint: "wss://rpc-
|
|
1681
|
+
endpoint: "wss://rpc-coretime-polkadot.luckyfriday.io"
|
|
1693
1682
|
},
|
|
1694
1683
|
{
|
|
1695
1684
|
name: "OnFinality",
|
|
1696
|
-
endpoint: "wss://
|
|
1685
|
+
endpoint: "wss://coretime-polkadot.api.onfinality.io/public-ws"
|
|
1697
1686
|
},
|
|
1698
1687
|
{
|
|
1699
1688
|
name: "Parity",
|
|
1700
|
-
endpoint: "wss://
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
name: "RadiumBlock",
|
|
1704
|
-
endpoint: "wss://statemine.public.curie.radiumblock.co/ws"
|
|
1689
|
+
endpoint: "wss://polkadot-coretime-rpc.polkadot.io"
|
|
1705
1690
|
},
|
|
1706
1691
|
{
|
|
1707
1692
|
name: "Stakeworld",
|
|
1708
|
-
endpoint: "wss://
|
|
1693
|
+
endpoint: "wss://dot-rpc.stakeworld.io/coretime"
|
|
1709
1694
|
}
|
|
1710
1695
|
]
|
|
1711
1696
|
};
|
|
1712
|
-
var
|
|
1713
|
-
name: "
|
|
1714
|
-
info: "
|
|
1715
|
-
paraId:
|
|
1697
|
+
var Collectives$1 = {
|
|
1698
|
+
name: "Collectives",
|
|
1699
|
+
info: "polkadotCollectives",
|
|
1700
|
+
paraId: 1001,
|
|
1716
1701
|
providers: [
|
|
1717
1702
|
{
|
|
1718
1703
|
name: "Dwellir",
|
|
1719
|
-
endpoint: "wss://
|
|
1704
|
+
endpoint: "wss://collectives-polkadot-rpc.n.dwellir.com"
|
|
1720
1705
|
},
|
|
1721
1706
|
{
|
|
1722
1707
|
name: "Dwellir Tunisia",
|
|
1723
|
-
endpoint: "wss://
|
|
1708
|
+
endpoint: "wss://polkadot-collectives-rpc-tn.dwellir.com"
|
|
1724
1709
|
},
|
|
1725
1710
|
{
|
|
1726
1711
|
name: "IBP1",
|
|
1727
|
-
endpoint: "wss://sys.ibp.network/
|
|
1712
|
+
endpoint: "wss://sys.ibp.network/collectives-polkadot"
|
|
1728
1713
|
},
|
|
1729
1714
|
{
|
|
1730
1715
|
name: "IBP2",
|
|
1731
|
-
endpoint: "wss://
|
|
1716
|
+
endpoint: "wss://collectives-polkadot.dotters.network"
|
|
1732
1717
|
},
|
|
1733
1718
|
{
|
|
1734
1719
|
name: "LuckyFriday",
|
|
1735
|
-
endpoint: "wss://rpc-
|
|
1720
|
+
endpoint: "wss://rpc-collectives-polkadot.luckyfriday.io"
|
|
1736
1721
|
},
|
|
1737
1722
|
{
|
|
1738
1723
|
name: "OnFinality",
|
|
1739
|
-
endpoint: "wss://
|
|
1724
|
+
endpoint: "wss://collectives.api.onfinality.io/public-ws"
|
|
1740
1725
|
},
|
|
1741
1726
|
{
|
|
1742
1727
|
name: "Parity",
|
|
1743
|
-
endpoint: "wss://
|
|
1728
|
+
endpoint: "wss://polkadot-collectives-rpc.polkadot.io"
|
|
1744
1729
|
},
|
|
1745
1730
|
{
|
|
1746
1731
|
name: "RadiumBlock",
|
|
1747
|
-
endpoint: "wss://
|
|
1732
|
+
endpoint: "wss://collectives.public.curie.radiumblock.co/ws"
|
|
1748
1733
|
},
|
|
1749
1734
|
{
|
|
1750
1735
|
name: "Stakeworld",
|
|
1751
|
-
endpoint: "wss://
|
|
1752
|
-
}
|
|
1753
|
-
]
|
|
1754
|
-
};
|
|
1755
|
-
var IntegriteeKusama$1 = {
|
|
1756
|
-
name: "Integritee Network",
|
|
1757
|
-
info: "integritee",
|
|
1758
|
-
paraId: 2015,
|
|
1759
|
-
providers: [
|
|
1760
|
-
{
|
|
1761
|
-
name: "Integritee",
|
|
1762
|
-
endpoint: "wss://kusama.api.integritee.network"
|
|
1763
|
-
},
|
|
1764
|
-
{
|
|
1765
|
-
name: "OnFinality",
|
|
1766
|
-
endpoint: "wss://integritee-kusama.api.onfinality.io/public-ws"
|
|
1736
|
+
endpoint: "wss://dot-rpc.stakeworld.io/collectives"
|
|
1767
1737
|
}
|
|
1768
1738
|
]
|
|
1769
1739
|
};
|
|
1770
|
-
var
|
|
1771
|
-
name: "
|
|
1772
|
-
info: "
|
|
1773
|
-
paraId:
|
|
1740
|
+
var Crust$1 = {
|
|
1741
|
+
name: "Crust",
|
|
1742
|
+
info: "crustParachain",
|
|
1743
|
+
paraId: 2008,
|
|
1774
1744
|
providers: [
|
|
1775
1745
|
{
|
|
1776
|
-
name: "
|
|
1777
|
-
endpoint: "wss://
|
|
1778
|
-
},
|
|
1779
|
-
{
|
|
1780
|
-
name: "Acala Foundation 1",
|
|
1781
|
-
endpoint: "wss://karura-rpc-1.aca-api.network"
|
|
1746
|
+
name: "Crust",
|
|
1747
|
+
endpoint: "wss://crust-parachain.crustapps.net"
|
|
1782
1748
|
},
|
|
1783
1749
|
{
|
|
1784
|
-
name: "
|
|
1785
|
-
endpoint: "wss://
|
|
1750
|
+
name: "Crust APP",
|
|
1751
|
+
endpoint: "wss://crust-parachain.crustnetwork.app"
|
|
1786
1752
|
},
|
|
1787
1753
|
{
|
|
1788
|
-
name: "
|
|
1789
|
-
endpoint: "wss://
|
|
1754
|
+
name: "Crust CC",
|
|
1755
|
+
endpoint: "wss://crust-parachain.crustnetwork.cc"
|
|
1790
1756
|
},
|
|
1791
1757
|
{
|
|
1792
|
-
name: "
|
|
1793
|
-
endpoint: "wss://
|
|
1758
|
+
name: "Crust XYZ",
|
|
1759
|
+
endpoint: "wss://crust-parachain.crustnetwork.xyz"
|
|
1794
1760
|
}
|
|
1795
1761
|
]
|
|
1796
1762
|
};
|
|
1797
|
-
var
|
|
1798
|
-
name: "
|
|
1799
|
-
info: "
|
|
1800
|
-
paraId:
|
|
1763
|
+
var Manta$1 = {
|
|
1764
|
+
name: "Manta",
|
|
1765
|
+
info: "manta",
|
|
1766
|
+
paraId: 2104,
|
|
1801
1767
|
providers: [
|
|
1802
1768
|
{
|
|
1803
|
-
name: "
|
|
1804
|
-
endpoint: "wss://
|
|
1805
|
-
},
|
|
1806
|
-
{
|
|
1807
|
-
name: "OnFinality",
|
|
1808
|
-
endpoint: "wss://kintsugi.api.onfinality.io/public-ws"
|
|
1769
|
+
name: "Manta Network",
|
|
1770
|
+
endpoint: "wss://ws.manta.systems"
|
|
1809
1771
|
}
|
|
1810
1772
|
]
|
|
1811
1773
|
};
|
|
1812
|
-
var
|
|
1813
|
-
name: "
|
|
1814
|
-
info: "
|
|
1815
|
-
paraId:
|
|
1774
|
+
var Nodle$1 = {
|
|
1775
|
+
name: "Nodle",
|
|
1776
|
+
info: "nodle",
|
|
1777
|
+
paraId: 2026,
|
|
1816
1778
|
providers: [
|
|
1817
|
-
{
|
|
1818
|
-
name: "Allnodes",
|
|
1819
|
-
endpoint: "wss://moonriver-rpc.publicnode.com"
|
|
1820
|
-
},
|
|
1821
1779
|
{
|
|
1822
1780
|
name: "Dwellir",
|
|
1823
|
-
endpoint: "wss://
|
|
1824
|
-
},
|
|
1825
|
-
{
|
|
1826
|
-
name: "Moonbeam Foundation",
|
|
1827
|
-
endpoint: "wss://wss.api.moonriver.moonbeam.network"
|
|
1781
|
+
endpoint: "wss://nodle-rpc.dwellir.com"
|
|
1828
1782
|
},
|
|
1829
1783
|
{
|
|
1830
1784
|
name: "OnFinality",
|
|
1831
|
-
endpoint: "wss://
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
name: "RadiumBlock",
|
|
1835
|
-
endpoint: "wss://moonriver.public.curie.radiumblock.co/ws"
|
|
1836
|
-
},
|
|
1837
|
-
{
|
|
1838
|
-
name: "UnitedBloc",
|
|
1839
|
-
endpoint: "wss://moonriver.unitedbloc.com"
|
|
1785
|
+
endpoint: "wss://nodle-parachain.api.onfinality.io/public-ws"
|
|
1840
1786
|
}
|
|
1841
1787
|
]
|
|
1842
1788
|
};
|
|
1843
|
-
var
|
|
1844
|
-
name: "
|
|
1845
|
-
info: "
|
|
1846
|
-
paraId:
|
|
1789
|
+
var NeuroWeb$1 = {
|
|
1790
|
+
name: "NeuroWeb",
|
|
1791
|
+
info: "neuroweb",
|
|
1792
|
+
paraId: 2043,
|
|
1847
1793
|
providers: [
|
|
1848
1794
|
{
|
|
1849
|
-
name: "
|
|
1850
|
-
endpoint: "wss://
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
name: "LuckyFriday",
|
|
1862
|
-
endpoint: "wss://rpc-coretime-kusama.luckyfriday.io"
|
|
1863
|
-
},
|
|
1864
|
-
{
|
|
1865
|
-
name: "OnFinality",
|
|
1866
|
-
endpoint: "wss://coretime-kusama.api.onfinality.io/public-ws"
|
|
1867
|
-
},
|
|
1868
|
-
{
|
|
1869
|
-
name: "Parity",
|
|
1870
|
-
endpoint: "wss://kusama-coretime-rpc.polkadot.io"
|
|
1871
|
-
},
|
|
1795
|
+
name: "TraceLabs",
|
|
1796
|
+
endpoint: "wss://parachain-rpc.origin-trail.network"
|
|
1797
|
+
}
|
|
1798
|
+
]
|
|
1799
|
+
};
|
|
1800
|
+
var Pendulum$1 = {
|
|
1801
|
+
name: "Pendulum",
|
|
1802
|
+
info: "pendulum",
|
|
1803
|
+
paraId: 2094,
|
|
1804
|
+
providers: [
|
|
1872
1805
|
{
|
|
1873
|
-
name: "
|
|
1874
|
-
endpoint: "wss://
|
|
1806
|
+
name: "PendulumChain",
|
|
1807
|
+
endpoint: "wss://rpc-pendulum.prd.pendulumchain.tech"
|
|
1875
1808
|
}
|
|
1876
1809
|
]
|
|
1877
1810
|
};
|
|
1878
|
-
var
|
|
1879
|
-
name: "
|
|
1880
|
-
info: "
|
|
1881
|
-
paraId:
|
|
1811
|
+
var Phala$1 = {
|
|
1812
|
+
name: "Phala Network",
|
|
1813
|
+
info: "phala",
|
|
1814
|
+
paraId: 2035,
|
|
1882
1815
|
providers: [
|
|
1883
1816
|
{
|
|
1884
1817
|
name: "Dwellir",
|
|
1885
|
-
endpoint: "wss://
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
name: "Encointer Association",
|
|
1889
|
-
endpoint: "wss://kusama.api.encointer.org"
|
|
1818
|
+
endpoint: "wss://phala-rpc.n.dwellir.com"
|
|
1890
1819
|
},
|
|
1891
1820
|
{
|
|
1892
|
-
name: "
|
|
1893
|
-
endpoint: "wss://
|
|
1821
|
+
name: "Helikon",
|
|
1822
|
+
endpoint: "wss://rpc.helikon.io/phala"
|
|
1894
1823
|
},
|
|
1895
1824
|
{
|
|
1896
|
-
name: "
|
|
1897
|
-
endpoint: "wss://
|
|
1825
|
+
name: "OnFinality",
|
|
1826
|
+
endpoint: "wss://phala.api.onfinality.io/public-ws"
|
|
1898
1827
|
},
|
|
1899
1828
|
{
|
|
1900
|
-
name: "
|
|
1901
|
-
endpoint: "wss://
|
|
1829
|
+
name: "RadiumBlock",
|
|
1830
|
+
endpoint: "wss://phala.public.curie.radiumblock.co/ws"
|
|
1902
1831
|
}
|
|
1903
1832
|
]
|
|
1904
1833
|
};
|
|
1905
|
-
var
|
|
1906
|
-
name: "
|
|
1907
|
-
info: "
|
|
1908
|
-
paraId:
|
|
1834
|
+
var Subsocial$1 = {
|
|
1835
|
+
name: "Subsocial",
|
|
1836
|
+
info: "subsocial",
|
|
1837
|
+
paraId: 2101,
|
|
1909
1838
|
providers: [
|
|
1910
1839
|
{
|
|
1911
|
-
name: "
|
|
1912
|
-
endpoint: "wss://
|
|
1840
|
+
name: "Dappforce",
|
|
1841
|
+
endpoint: "wss://para.subsocial.network"
|
|
1913
1842
|
}
|
|
1914
1843
|
]
|
|
1915
1844
|
};
|
|
1916
|
-
var
|
|
1917
|
-
name: "
|
|
1918
|
-
info: "
|
|
1919
|
-
paraId:
|
|
1845
|
+
var KiltSpiritnet$1 = {
|
|
1846
|
+
name: "KILT Spiritnet",
|
|
1847
|
+
info: "kilt",
|
|
1848
|
+
paraId: 2086,
|
|
1920
1849
|
providers: [
|
|
1921
1850
|
{
|
|
1922
|
-
name: "
|
|
1923
|
-
endpoint: "wss://
|
|
1924
|
-
}
|
|
1925
|
-
]
|
|
1926
|
-
};
|
|
1927
|
-
var Basilisk$1 = {
|
|
1928
|
-
name: "Basilisk",
|
|
1929
|
-
info: "basilisk",
|
|
1930
|
-
paraId: 2090,
|
|
1931
|
-
providers: [
|
|
1851
|
+
name: "IBP1",
|
|
1852
|
+
endpoint: "wss://kilt.ibp.network"
|
|
1853
|
+
},
|
|
1932
1854
|
{
|
|
1933
|
-
name: "
|
|
1934
|
-
endpoint: "wss://
|
|
1855
|
+
name: "IBP2",
|
|
1856
|
+
endpoint: "wss://kilt.dotters.network"
|
|
1935
1857
|
},
|
|
1936
1858
|
{
|
|
1937
|
-
name: "
|
|
1938
|
-
endpoint: "wss://
|
|
1859
|
+
name: "KILT Foundation",
|
|
1860
|
+
endpoint: "wss://spiritnet.kilt.io/"
|
|
1939
1861
|
}
|
|
1940
1862
|
]
|
|
1941
1863
|
};
|
|
1942
|
-
var
|
|
1943
|
-
name: "
|
|
1944
|
-
info: "
|
|
1945
|
-
paraId:
|
|
1864
|
+
var Curio$1 = {
|
|
1865
|
+
name: "Curio",
|
|
1866
|
+
info: "curio",
|
|
1867
|
+
paraId: 3339,
|
|
1946
1868
|
providers: [
|
|
1947
1869
|
{
|
|
1948
|
-
name: "
|
|
1949
|
-
endpoint: "wss://
|
|
1950
|
-
},
|
|
1951
|
-
{
|
|
1952
|
-
name: "LiebiUS",
|
|
1953
|
-
endpoint: "wss://us.bifrost-rpc.liebi.com/ws"
|
|
1870
|
+
name: "Curio",
|
|
1871
|
+
endpoint: "wss://parachain.curioinvest.com/"
|
|
1954
1872
|
}
|
|
1955
1873
|
]
|
|
1956
1874
|
};
|
|
1957
|
-
var
|
|
1958
|
-
name: "
|
|
1959
|
-
info: "
|
|
1960
|
-
paraId:
|
|
1875
|
+
var Mythos$1 = {
|
|
1876
|
+
name: "Mythos",
|
|
1877
|
+
info: "mythos",
|
|
1878
|
+
paraId: 3369,
|
|
1961
1879
|
providers: [
|
|
1962
1880
|
{
|
|
1963
|
-
name: "
|
|
1964
|
-
endpoint: "wss://rpc
|
|
1881
|
+
name: "Helikon",
|
|
1882
|
+
endpoint: "wss://rpc.helikon.io/mythos"
|
|
1965
1883
|
},
|
|
1966
1884
|
{
|
|
1967
|
-
name: "
|
|
1968
|
-
endpoint: "wss://
|
|
1885
|
+
name: "IBP1",
|
|
1886
|
+
endpoint: "wss://mythos.ibp.network"
|
|
1969
1887
|
},
|
|
1970
1888
|
{
|
|
1971
|
-
name: "
|
|
1972
|
-
endpoint: "wss://
|
|
1889
|
+
name: "IBP2",
|
|
1890
|
+
endpoint: "wss://mythos.dotters.network"
|
|
1973
1891
|
},
|
|
1974
1892
|
{
|
|
1975
|
-
name: "
|
|
1976
|
-
endpoint: "wss://rpc
|
|
1893
|
+
name: "parity",
|
|
1894
|
+
endpoint: "wss://polkadot-mythos-rpc.polkadot.io"
|
|
1977
1895
|
}
|
|
1978
1896
|
]
|
|
1979
1897
|
};
|
|
1980
|
-
var
|
|
1981
|
-
name: "
|
|
1982
|
-
info: "
|
|
1983
|
-
paraId:
|
|
1898
|
+
var Peaq$1 = {
|
|
1899
|
+
name: "peaq",
|
|
1900
|
+
info: "peaq",
|
|
1901
|
+
paraId: 3338,
|
|
1984
1902
|
providers: [
|
|
1985
1903
|
{
|
|
1986
|
-
name: "
|
|
1987
|
-
endpoint: "wss://
|
|
1988
|
-
},
|
|
1989
|
-
{
|
|
1990
|
-
name: "Dwellir",
|
|
1991
|
-
endpoint: "wss://darwiniacrab-rpc.n.dwellir.com"
|
|
1904
|
+
name: "OnFinality",
|
|
1905
|
+
endpoint: "wss://peaq.api.onfinality.io/public-ws"
|
|
1992
1906
|
}
|
|
1993
1907
|
]
|
|
1994
1908
|
};
|
|
1995
|
-
var
|
|
1996
|
-
name: "
|
|
1997
|
-
info: "
|
|
1998
|
-
paraId:
|
|
1909
|
+
var Polimec$1 = {
|
|
1910
|
+
name: "Polimec",
|
|
1911
|
+
info: "polimec",
|
|
1912
|
+
paraId: 3344,
|
|
1999
1913
|
providers: [
|
|
2000
1914
|
{
|
|
2001
|
-
name: "
|
|
2002
|
-
endpoint: "wss://rpc.
|
|
2003
|
-
}
|
|
2004
|
-
]
|
|
2005
|
-
};
|
|
2006
|
-
var Quartz$1 = {
|
|
2007
|
-
name: "QUARTZ by UNIQUE",
|
|
2008
|
-
info: "quartz",
|
|
2009
|
-
paraId: 2095,
|
|
2010
|
-
providers: [
|
|
1915
|
+
name: "Amforc",
|
|
1916
|
+
endpoint: "wss://polimec.rpc.amforc.com"
|
|
1917
|
+
},
|
|
2011
1918
|
{
|
|
2012
|
-
name: "
|
|
2013
|
-
endpoint: "wss://
|
|
1919
|
+
name: "Helikon",
|
|
1920
|
+
endpoint: "wss://rpc.helikon.io/polimec"
|
|
2014
1921
|
},
|
|
2015
1922
|
{
|
|
2016
|
-
name: "
|
|
2017
|
-
endpoint: "wss://
|
|
1923
|
+
name: "IBP1",
|
|
1924
|
+
endpoint: "wss://polimec.ibp.network"
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
name: "IBP2",
|
|
1928
|
+
endpoint: "wss://polimec.dotters.network"
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
name: "Polimec Foundation",
|
|
1932
|
+
endpoint: "wss://rpc.polimec.org"
|
|
2018
1933
|
}
|
|
2019
1934
|
]
|
|
2020
1935
|
};
|
|
2021
|
-
var
|
|
1936
|
+
var RobonomicsPolkadot$1 = {
|
|
2022
1937
|
name: "Robonomics",
|
|
2023
1938
|
info: "robonomics",
|
|
2024
|
-
paraId:
|
|
1939
|
+
paraId: 3388,
|
|
2025
1940
|
providers: [
|
|
2026
1941
|
{
|
|
2027
1942
|
name: "Airalab",
|
|
2028
|
-
endpoint: "wss://
|
|
1943
|
+
endpoint: "wss://polkadot.rpc.robonomics.network/"
|
|
2029
1944
|
}
|
|
2030
1945
|
]
|
|
2031
1946
|
};
|
|
2032
|
-
var
|
|
1947
|
+
var PeoplePolkadot$1 = {
|
|
2033
1948
|
name: "People",
|
|
2034
|
-
info: "
|
|
1949
|
+
info: "polkadotPeople",
|
|
2035
1950
|
paraId: 1004,
|
|
2036
1951
|
providers: [
|
|
2037
1952
|
{
|
|
2038
1953
|
name: "Dwellir",
|
|
2039
|
-
endpoint: "wss://people-
|
|
2040
|
-
},
|
|
2041
|
-
{
|
|
2042
|
-
name: "Helixstreet",
|
|
2043
|
-
endpoint: "wss://rpc-people-kusama.helixstreet.io"
|
|
1954
|
+
endpoint: "wss://people-polkadot-rpc.n.dwellir.com"
|
|
2044
1955
|
},
|
|
2045
1956
|
{
|
|
2046
1957
|
name: "IBP1",
|
|
2047
|
-
endpoint: "wss://sys.ibp.network/people-
|
|
1958
|
+
endpoint: "wss://sys.ibp.network/people-polkadot"
|
|
2048
1959
|
},
|
|
2049
1960
|
{
|
|
2050
1961
|
name: "IBP2",
|
|
2051
|
-
endpoint: "wss://people-
|
|
1962
|
+
endpoint: "wss://people-polkadot.dotters.network"
|
|
2052
1963
|
},
|
|
2053
1964
|
{
|
|
2054
1965
|
name: "LuckyFriday",
|
|
2055
|
-
endpoint: "wss://rpc-people-
|
|
1966
|
+
endpoint: "wss://rpc-people-polkadot.luckyfriday.io"
|
|
2056
1967
|
},
|
|
2057
1968
|
{
|
|
2058
1969
|
name: "OnFinality",
|
|
2059
|
-
endpoint: "wss://people-
|
|
1970
|
+
endpoint: "wss://people-polkadot.api.onfinality.io/public-ws"
|
|
2060
1971
|
},
|
|
2061
1972
|
{
|
|
2062
1973
|
name: "Parity",
|
|
2063
|
-
endpoint: "wss://
|
|
1974
|
+
endpoint: "wss://polkadot-people-rpc.polkadot.io"
|
|
2064
1975
|
},
|
|
2065
1976
|
{
|
|
2066
1977
|
name: "Stakeworld",
|
|
2067
|
-
endpoint: "wss://
|
|
1978
|
+
endpoint: "wss://dot-rpc.stakeworld.io/people"
|
|
2068
1979
|
}
|
|
2069
1980
|
]
|
|
2070
1981
|
};
|
|
2071
|
-
var
|
|
2072
|
-
name: "
|
|
2073
|
-
info: "
|
|
2074
|
-
paraId:
|
|
1982
|
+
var Unique$1 = {
|
|
1983
|
+
name: "Unique Network",
|
|
1984
|
+
info: "unique",
|
|
1985
|
+
paraId: 2037,
|
|
2075
1986
|
providers: [
|
|
2076
1987
|
{
|
|
2077
|
-
name: "
|
|
2078
|
-
endpoint: "wss://
|
|
1988
|
+
name: "Geo Load Balancer",
|
|
1989
|
+
endpoint: "wss://ws.unique.network"
|
|
2079
1990
|
},
|
|
2080
1991
|
{
|
|
2081
|
-
name: "
|
|
2082
|
-
endpoint: "wss://
|
|
1992
|
+
name: "IBP1",
|
|
1993
|
+
endpoint: "wss://unique.ibp.network"
|
|
2083
1994
|
},
|
|
2084
1995
|
{
|
|
2085
|
-
name: "
|
|
2086
|
-
endpoint: "wss://
|
|
1996
|
+
name: "IBP2",
|
|
1997
|
+
endpoint: "wss://unique.dotters.network"
|
|
2087
1998
|
},
|
|
2088
1999
|
{
|
|
2089
|
-
name: "
|
|
2090
|
-
endpoint: "wss://
|
|
2000
|
+
name: "Unique America",
|
|
2001
|
+
endpoint: "wss://us-ws.unique.network"
|
|
2002
|
+
},
|
|
2003
|
+
{
|
|
2004
|
+
name: "Unique Asia",
|
|
2005
|
+
endpoint: "wss://asia-ws.unique.network"
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
name: "Unique Europe",
|
|
2009
|
+
endpoint: "wss://eu-ws.unique.network"
|
|
2091
2010
|
}
|
|
2092
2011
|
]
|
|
2093
2012
|
};
|
|
2094
|
-
var
|
|
2095
|
-
name: "
|
|
2096
|
-
info: "
|
|
2097
|
-
paraId:
|
|
2013
|
+
var Xode$1 = {
|
|
2014
|
+
name: "Xode",
|
|
2015
|
+
info: "xode",
|
|
2016
|
+
paraId: 3417,
|
|
2098
2017
|
providers: [
|
|
2099
2018
|
{
|
|
2100
|
-
name: "
|
|
2101
|
-
endpoint: "wss://
|
|
2019
|
+
name: "XodeCommunity",
|
|
2020
|
+
endpoint: "wss://polkadot-rpcnode.xode.net"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
name: "Zeeve",
|
|
2024
|
+
endpoint: "wss://xode-polkadot-rpc-01.zeeve.net/y0yxg038wn1fncc/rpc"
|
|
2102
2025
|
}
|
|
2103
2026
|
]
|
|
2104
2027
|
};
|
|
2105
|
-
var
|
|
2028
|
+
var AssetHubKusama$1 = {
|
|
2106
2029
|
name: "Asset Hub",
|
|
2107
|
-
info: "
|
|
2030
|
+
info: "KusamaAssetHub",
|
|
2108
2031
|
paraId: 1000,
|
|
2109
2032
|
providers: [
|
|
2110
2033
|
{
|
|
2111
2034
|
name: "Dwellir",
|
|
2112
|
-
endpoint: "wss://asset-hub-
|
|
2035
|
+
endpoint: "wss://asset-hub-kusama-rpc.n.dwellir.com"
|
|
2113
2036
|
},
|
|
2114
2037
|
{
|
|
2115
2038
|
name: "Dwellir Tunisia",
|
|
2116
|
-
endpoint: "wss://
|
|
2039
|
+
endpoint: "wss://statemine-rpc-tn.dwellir.com"
|
|
2040
|
+
},
|
|
2041
|
+
{
|
|
2042
|
+
name: "IBP1",
|
|
2043
|
+
endpoint: "wss://sys.ibp.network/asset-hub-kusama"
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
name: "IBP2",
|
|
2047
|
+
endpoint: "wss://asset-hub-kusama.dotters.network"
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
name: "LuckyFriday",
|
|
2051
|
+
endpoint: "wss://rpc-asset-hub-kusama.luckyfriday.io"
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
name: "OnFinality",
|
|
2055
|
+
endpoint: "wss://assethub-kusama.api.onfinality.io/public-ws"
|
|
2117
2056
|
},
|
|
2118
2057
|
{
|
|
2119
2058
|
name: "Parity",
|
|
2120
|
-
endpoint: "wss://
|
|
2059
|
+
endpoint: "wss://kusama-asset-hub-rpc.polkadot.io"
|
|
2121
2060
|
},
|
|
2122
2061
|
{
|
|
2123
|
-
name: "
|
|
2124
|
-
endpoint: "wss://
|
|
2062
|
+
name: "RadiumBlock",
|
|
2063
|
+
endpoint: "wss://statemine.public.curie.radiumblock.co/ws"
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
name: "Stakeworld",
|
|
2067
|
+
endpoint: "wss://ksm-rpc.stakeworld.io/assethub"
|
|
2125
2068
|
}
|
|
2126
2069
|
]
|
|
2127
2070
|
};
|
|
2128
|
-
var
|
|
2071
|
+
var BridgeHubKusama$1 = {
|
|
2129
2072
|
name: "Bridge Hub",
|
|
2130
|
-
info: "
|
|
2073
|
+
info: "kusamaBridgeHub",
|
|
2131
2074
|
paraId: 1002,
|
|
2132
2075
|
providers: [
|
|
2133
2076
|
{
|
|
2134
2077
|
name: "Dwellir",
|
|
2135
|
-
endpoint: "wss://bridge-hub-
|
|
2078
|
+
endpoint: "wss://bridge-hub-kusama-rpc.n.dwellir.com"
|
|
2136
2079
|
},
|
|
2137
2080
|
{
|
|
2138
2081
|
name: "Dwellir Tunisia",
|
|
2139
|
-
endpoint: "wss://
|
|
2082
|
+
endpoint: "wss://kusama-bridge-hub-rpc-tn.dwellir.com"
|
|
2140
2083
|
},
|
|
2141
2084
|
{
|
|
2142
|
-
name: "
|
|
2143
|
-
endpoint: "wss://
|
|
2144
|
-
}
|
|
2145
|
-
]
|
|
2146
|
-
};
|
|
2147
|
-
var CollectivesWestend$1 = {
|
|
2148
|
-
name: "Collectives",
|
|
2149
|
-
info: "westendCollectives",
|
|
2150
|
-
paraId: 1001,
|
|
2151
|
-
providers: [
|
|
2085
|
+
name: "IBP1",
|
|
2086
|
+
endpoint: "wss://sys.ibp.network/bridgehub-kusama"
|
|
2087
|
+
},
|
|
2152
2088
|
{
|
|
2153
|
-
name: "
|
|
2154
|
-
endpoint: "wss://
|
|
2089
|
+
name: "IBP2",
|
|
2090
|
+
endpoint: "wss://bridge-hub-kusama.dotters.network"
|
|
2155
2091
|
},
|
|
2156
2092
|
{
|
|
2157
|
-
name: "
|
|
2158
|
-
endpoint: "wss://
|
|
2093
|
+
name: "LuckyFriday",
|
|
2094
|
+
endpoint: "wss://rpc-bridge-hub-kusama.luckyfriday.io"
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
name: "OnFinality",
|
|
2098
|
+
endpoint: "wss://bridgehub-kusama.api.onfinality.io/public-ws"
|
|
2159
2099
|
},
|
|
2160
2100
|
{
|
|
2161
2101
|
name: "Parity",
|
|
2162
|
-
endpoint: "wss://
|
|
2163
|
-
}
|
|
2164
|
-
]
|
|
2165
|
-
};
|
|
2166
|
-
var CoretimeWestend$1 = {
|
|
2167
|
-
name: "Coretime",
|
|
2168
|
-
info: "westendCoretime",
|
|
2169
|
-
paraId: 1005,
|
|
2170
|
-
providers: [
|
|
2102
|
+
endpoint: "wss://kusama-bridge-hub-rpc.polkadot.io"
|
|
2103
|
+
},
|
|
2171
2104
|
{
|
|
2172
|
-
name: "
|
|
2173
|
-
endpoint: "wss://
|
|
2105
|
+
name: "RadiumBlock",
|
|
2106
|
+
endpoint: "wss://bridgehub-kusama.public.curie.radiumblock.co/ws"
|
|
2174
2107
|
},
|
|
2175
2108
|
{
|
|
2176
|
-
name: "
|
|
2177
|
-
endpoint: "wss://
|
|
2109
|
+
name: "Stakeworld",
|
|
2110
|
+
endpoint: "wss://ksm-rpc.stakeworld.io/bridgehub"
|
|
2178
2111
|
}
|
|
2179
2112
|
]
|
|
2180
2113
|
};
|
|
2181
|
-
var
|
|
2182
|
-
name: "
|
|
2183
|
-
info: "
|
|
2184
|
-
paraId:
|
|
2114
|
+
var IntegriteeKusama$1 = {
|
|
2115
|
+
name: "Integritee Network",
|
|
2116
|
+
info: "integritee",
|
|
2117
|
+
paraId: 2015,
|
|
2185
2118
|
providers: [
|
|
2186
2119
|
{
|
|
2187
|
-
name: "
|
|
2188
|
-
endpoint: "wss://
|
|
2120
|
+
name: "Integritee",
|
|
2121
|
+
endpoint: "wss://kusama.api.integritee.network"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
name: "OnFinality",
|
|
2125
|
+
endpoint: "wss://integritee-kusama.api.onfinality.io/public-ws"
|
|
2189
2126
|
}
|
|
2190
2127
|
]
|
|
2191
2128
|
};
|
|
2192
|
-
var
|
|
2193
|
-
name: "
|
|
2194
|
-
info: "
|
|
2195
|
-
paraId:
|
|
2129
|
+
var Karura$1 = {
|
|
2130
|
+
name: "Karura",
|
|
2131
|
+
info: "karura",
|
|
2132
|
+
paraId: 2000,
|
|
2196
2133
|
providers: [
|
|
2197
2134
|
{
|
|
2198
|
-
name: "
|
|
2199
|
-
endpoint: "wss://
|
|
2135
|
+
name: "Acala Foundation 0",
|
|
2136
|
+
endpoint: "wss://karura-rpc-0.aca-api.network"
|
|
2200
2137
|
},
|
|
2201
2138
|
{
|
|
2202
|
-
name: "
|
|
2203
|
-
endpoint: "wss://
|
|
2139
|
+
name: "Acala Foundation 1",
|
|
2140
|
+
endpoint: "wss://karura-rpc-1.aca-api.network"
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
name: "Acala Foundation 2",
|
|
2144
|
+
endpoint: "wss://karura-rpc-2.aca-api.network/ws"
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
name: "Acala Foundation 3",
|
|
2148
|
+
endpoint: "wss://karura-rpc-3.aca-api.network/ws"
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
name: "Dwellir",
|
|
2152
|
+
endpoint: "wss://karura-rpc.n.dwellir.com"
|
|
2204
2153
|
}
|
|
2205
2154
|
]
|
|
2206
2155
|
};
|
|
2207
|
-
var
|
|
2208
|
-
name: "
|
|
2209
|
-
info: "
|
|
2210
|
-
paraId:
|
|
2156
|
+
var Kintsugi$1 = {
|
|
2157
|
+
name: "Kintsugi BTC",
|
|
2158
|
+
info: "kintsugi",
|
|
2159
|
+
paraId: 2092,
|
|
2211
2160
|
providers: [
|
|
2212
2161
|
{
|
|
2213
|
-
name: "
|
|
2214
|
-
endpoint: "wss://
|
|
2162
|
+
name: "Kintsugi Labs",
|
|
2163
|
+
endpoint: "wss://api-kusama.interlay.io/parachain"
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
name: "OnFinality",
|
|
2167
|
+
endpoint: "wss://kintsugi.api.onfinality.io/public-ws"
|
|
2215
2168
|
}
|
|
2216
2169
|
]
|
|
2217
2170
|
};
|
|
2218
|
-
var
|
|
2219
|
-
name: "
|
|
2220
|
-
info: "
|
|
2221
|
-
paraId:
|
|
2171
|
+
var Moonriver$1 = {
|
|
2172
|
+
name: "Moonriver",
|
|
2173
|
+
info: "moonriver",
|
|
2174
|
+
paraId: 2023,
|
|
2222
2175
|
providers: [
|
|
2176
|
+
{
|
|
2177
|
+
name: "Allnodes",
|
|
2178
|
+
endpoint: "wss://moonriver-rpc.publicnode.com"
|
|
2179
|
+
},
|
|
2223
2180
|
{
|
|
2224
2181
|
name: "Dwellir",
|
|
2225
|
-
endpoint: "wss://
|
|
2182
|
+
endpoint: "wss://moonriver-rpc.n.dwellir.com"
|
|
2226
2183
|
},
|
|
2227
2184
|
{
|
|
2228
|
-
name: "
|
|
2229
|
-
endpoint: "wss://
|
|
2185
|
+
name: "Moonbeam Foundation",
|
|
2186
|
+
endpoint: "wss://wss.api.moonriver.moonbeam.network"
|
|
2230
2187
|
},
|
|
2231
2188
|
{
|
|
2232
|
-
name: "
|
|
2233
|
-
endpoint: "wss://
|
|
2189
|
+
name: "OnFinality",
|
|
2190
|
+
endpoint: "wss://moonriver.api.onfinality.io/public-ws"
|
|
2234
2191
|
},
|
|
2235
2192
|
{
|
|
2236
|
-
name: "
|
|
2237
|
-
endpoint: "wss://
|
|
2193
|
+
name: "RadiumBlock",
|
|
2194
|
+
endpoint: "wss://moonriver.public.curie.radiumblock.co/ws"
|
|
2238
2195
|
},
|
|
2239
2196
|
{
|
|
2240
|
-
name: "
|
|
2241
|
-
endpoint: "wss://
|
|
2197
|
+
name: "UnitedBloc",
|
|
2198
|
+
endpoint: "wss://moonriver.unitedbloc.com"
|
|
2242
2199
|
}
|
|
2243
2200
|
]
|
|
2244
2201
|
};
|
|
2245
|
-
var
|
|
2246
|
-
name: "
|
|
2247
|
-
info: "
|
|
2248
|
-
paraId:
|
|
2202
|
+
var CoretimeKusama$1 = {
|
|
2203
|
+
name: "Coretime",
|
|
2204
|
+
info: "kusamaCoretime",
|
|
2205
|
+
paraId: 1005,
|
|
2249
2206
|
providers: [
|
|
2250
2207
|
{
|
|
2251
|
-
name: "
|
|
2252
|
-
endpoint: "wss://
|
|
2253
|
-
}
|
|
2254
|
-
]
|
|
2255
|
-
};
|
|
2256
|
-
var BridgeHubPaseo$1 = {
|
|
2257
|
-
name: "Bridge Hub",
|
|
2258
|
-
info: "PaseoBridgeHub",
|
|
2259
|
-
paraId: 1002,
|
|
2260
|
-
providers: [
|
|
2208
|
+
name: "Dwellir",
|
|
2209
|
+
endpoint: "wss://coretime-kusama-rpc.n.dwellir.com"
|
|
2210
|
+
},
|
|
2261
2211
|
{
|
|
2262
2212
|
name: "IBP1",
|
|
2263
|
-
endpoint: "wss://sys.ibp.network/
|
|
2213
|
+
endpoint: "wss://sys.ibp.network/coretime-kusama"
|
|
2264
2214
|
},
|
|
2265
2215
|
{
|
|
2266
2216
|
name: "IBP2",
|
|
2267
|
-
endpoint: "wss://
|
|
2268
|
-
}
|
|
2269
|
-
]
|
|
2270
|
-
};
|
|
2271
|
-
var CoretimePaseo$1 = {
|
|
2272
|
-
name: "Coretime",
|
|
2273
|
-
info: "PaseoCoretime",
|
|
2274
|
-
paraId: 1005,
|
|
2275
|
-
providers: [
|
|
2217
|
+
endpoint: "wss://coretime-kusama.dotters.network"
|
|
2218
|
+
},
|
|
2276
2219
|
{
|
|
2277
|
-
name: "
|
|
2278
|
-
endpoint: "wss://
|
|
2220
|
+
name: "LuckyFriday",
|
|
2221
|
+
endpoint: "wss://rpc-coretime-kusama.luckyfriday.io"
|
|
2279
2222
|
},
|
|
2280
2223
|
{
|
|
2281
|
-
name: "
|
|
2282
|
-
endpoint: "wss://coretime-
|
|
2283
|
-
}
|
|
2284
|
-
]
|
|
2285
|
-
};
|
|
2286
|
-
var EnergyWebXPaseo$1 = {
|
|
2287
|
-
name: "PEX",
|
|
2288
|
-
info: "paseoEwx",
|
|
2289
|
-
paraId: 3345,
|
|
2290
|
-
providers: [
|
|
2224
|
+
name: "OnFinality",
|
|
2225
|
+
endpoint: "wss://coretime-kusama.api.onfinality.io/public-ws"
|
|
2226
|
+
},
|
|
2291
2227
|
{
|
|
2292
|
-
name: "
|
|
2293
|
-
endpoint: "wss://
|
|
2294
|
-
}
|
|
2295
|
-
]
|
|
2296
|
-
};
|
|
2297
|
-
var HeimaPaseo$1 = {
|
|
2298
|
-
name: "Heima paseo",
|
|
2299
|
-
info: "heima-paseo",
|
|
2300
|
-
paraId: 2106,
|
|
2301
|
-
providers: [
|
|
2228
|
+
name: "Parity",
|
|
2229
|
+
endpoint: "wss://kusama-coretime-rpc.polkadot.io"
|
|
2230
|
+
},
|
|
2302
2231
|
{
|
|
2303
|
-
name: "
|
|
2304
|
-
endpoint: "wss://rpc.
|
|
2232
|
+
name: "Stakeworld",
|
|
2233
|
+
endpoint: "wss://ksm-rpc.stakeworld.io/coretime"
|
|
2305
2234
|
}
|
|
2306
2235
|
]
|
|
2307
2236
|
};
|
|
2308
|
-
var
|
|
2309
|
-
name: "
|
|
2310
|
-
info: "
|
|
2311
|
-
paraId:
|
|
2237
|
+
var Encointer$1 = {
|
|
2238
|
+
name: "Encointer Network",
|
|
2239
|
+
info: "encointer",
|
|
2240
|
+
paraId: 1001,
|
|
2312
2241
|
providers: [
|
|
2313
2242
|
{
|
|
2314
|
-
name: "
|
|
2315
|
-
endpoint: "wss://
|
|
2316
|
-
}
|
|
2317
|
-
]
|
|
2318
|
-
};
|
|
2319
|
-
var IntegriteePaseo$1 = {
|
|
2320
|
-
name: "Integritee Network (Paseo)",
|
|
2321
|
-
info: "integritee",
|
|
2322
|
-
paraId: 2039,
|
|
2323
|
-
providers: [
|
|
2243
|
+
name: "Dwellir",
|
|
2244
|
+
endpoint: "wss://encointer-kusama-rpc.n.dwellir.com"
|
|
2245
|
+
},
|
|
2324
2246
|
{
|
|
2325
|
-
name: "
|
|
2326
|
-
endpoint: "wss://
|
|
2247
|
+
name: "Encointer Association",
|
|
2248
|
+
endpoint: "wss://kusama.api.encointer.org"
|
|
2249
|
+
},
|
|
2250
|
+
{
|
|
2251
|
+
name: "IBP1",
|
|
2252
|
+
endpoint: "wss://sys.ibp.network/encointer-kusama"
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
name: "IBP2",
|
|
2256
|
+
endpoint: "wss://encointer-kusama.dotters.network"
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
name: "LuckyFriday",
|
|
2260
|
+
endpoint: "wss://rpc-encointer-kusama.luckyfriday.io"
|
|
2327
2261
|
}
|
|
2328
2262
|
]
|
|
2329
2263
|
};
|
|
2330
|
-
var
|
|
2331
|
-
name: "
|
|
2332
|
-
info: "
|
|
2333
|
-
paraId:
|
|
2264
|
+
var Altair$1 = {
|
|
2265
|
+
name: "Altair",
|
|
2266
|
+
info: "altair",
|
|
2267
|
+
paraId: 2088,
|
|
2334
2268
|
providers: [
|
|
2335
2269
|
{
|
|
2336
|
-
name: "
|
|
2337
|
-
endpoint: "wss://
|
|
2270
|
+
name: "OnFinality",
|
|
2271
|
+
endpoint: "wss://altair.api.onfinality.io/public-ws"
|
|
2338
2272
|
}
|
|
2339
2273
|
]
|
|
2340
2274
|
};
|
|
2341
|
-
var
|
|
2342
|
-
name: "
|
|
2343
|
-
info: "
|
|
2344
|
-
paraId:
|
|
2275
|
+
var Amplitude$1 = {
|
|
2276
|
+
name: "Amplitude",
|
|
2277
|
+
info: "amplitude",
|
|
2278
|
+
paraId: 2124,
|
|
2345
2279
|
providers: [
|
|
2346
2280
|
{
|
|
2347
|
-
name: "
|
|
2348
|
-
endpoint: "wss://rpc.
|
|
2281
|
+
name: "PendulumChain",
|
|
2282
|
+
endpoint: "wss://rpc-amplitude.pendulumchain.tech"
|
|
2349
2283
|
}
|
|
2350
2284
|
]
|
|
2351
2285
|
};
|
|
2352
|
-
var
|
|
2353
|
-
name: "
|
|
2354
|
-
info: "
|
|
2355
|
-
paraId:
|
|
2286
|
+
var Basilisk$1 = {
|
|
2287
|
+
name: "Basilisk",
|
|
2288
|
+
info: "basilisk",
|
|
2289
|
+
paraId: 2090,
|
|
2356
2290
|
providers: [
|
|
2357
2291
|
{
|
|
2358
|
-
name: "
|
|
2359
|
-
endpoint: "wss://
|
|
2292
|
+
name: "Basilisk",
|
|
2293
|
+
endpoint: "wss://rpc.basilisk.cloud"
|
|
2294
|
+
},
|
|
2295
|
+
{
|
|
2296
|
+
name: "Dwellir",
|
|
2297
|
+
endpoint: "wss://basilisk-rpc.n.dwellir.com"
|
|
2360
2298
|
}
|
|
2361
2299
|
]
|
|
2362
2300
|
};
|
|
2363
|
-
var
|
|
2364
|
-
name: "
|
|
2365
|
-
info: "
|
|
2366
|
-
paraId:
|
|
2301
|
+
var BifrostKusama$1 = {
|
|
2302
|
+
name: "Bifrost",
|
|
2303
|
+
info: "bifrost",
|
|
2304
|
+
paraId: 2001,
|
|
2367
2305
|
providers: [
|
|
2368
2306
|
{
|
|
2369
|
-
name: "
|
|
2370
|
-
endpoint: "wss://
|
|
2307
|
+
name: "Liebi",
|
|
2308
|
+
endpoint: "wss://bifrost-rpc.liebi.com/ws"
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
name: "LiebiUS",
|
|
2312
|
+
endpoint: "wss://us.bifrost-rpc.liebi.com/ws"
|
|
2371
2313
|
}
|
|
2372
2314
|
]
|
|
2373
2315
|
};
|
|
2374
|
-
var
|
|
2375
|
-
name: "
|
|
2376
|
-
info: "
|
|
2377
|
-
paraId:
|
|
2316
|
+
var CrustShadow$1 = {
|
|
2317
|
+
name: "Crust Shadow",
|
|
2318
|
+
info: "shadow",
|
|
2319
|
+
paraId: 2012,
|
|
2378
2320
|
providers: [
|
|
2379
2321
|
{
|
|
2380
|
-
name: "
|
|
2381
|
-
endpoint: "wss://
|
|
2322
|
+
name: "Crust",
|
|
2323
|
+
endpoint: "wss://rpc-shadow.crust.network/"
|
|
2382
2324
|
},
|
|
2383
2325
|
{
|
|
2384
|
-
name: "
|
|
2385
|
-
endpoint: "wss://
|
|
2326
|
+
name: "Crust APP",
|
|
2327
|
+
endpoint: "wss://rpc-shadow.crustnetwork.app"
|
|
2386
2328
|
},
|
|
2387
2329
|
{
|
|
2388
|
-
name: "
|
|
2389
|
-
endpoint: "wss://
|
|
2330
|
+
name: "Crust CC",
|
|
2331
|
+
endpoint: "wss://rpc-shadow.crustnetwork.cc"
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
name: "Crust XYZ",
|
|
2335
|
+
endpoint: "wss://rpc-shadow.crustnetwork.xyz"
|
|
2390
2336
|
}
|
|
2391
2337
|
]
|
|
2392
2338
|
};
|
|
2393
|
-
var
|
|
2394
|
-
name: "
|
|
2395
|
-
info: "
|
|
2396
|
-
paraId:
|
|
2339
|
+
var Crab$1 = {
|
|
2340
|
+
name: "Crab",
|
|
2341
|
+
info: "crab",
|
|
2342
|
+
paraId: 2105,
|
|
2397
2343
|
providers: [
|
|
2398
2344
|
{
|
|
2399
|
-
name: "
|
|
2400
|
-
endpoint: "wss://
|
|
2401
|
-
},
|
|
2402
|
-
{
|
|
2403
|
-
name: "IBP1",
|
|
2404
|
-
endpoint: "wss://sys.ibp.network/people-paseo"
|
|
2345
|
+
name: "Darwinia",
|
|
2346
|
+
endpoint: "wss://crab-rpc.darwinia.network/"
|
|
2405
2347
|
},
|
|
2406
2348
|
{
|
|
2407
|
-
name: "
|
|
2408
|
-
endpoint: "wss://
|
|
2349
|
+
name: "Dwellir",
|
|
2350
|
+
endpoint: "wss://darwiniacrab-rpc.n.dwellir.com"
|
|
2409
2351
|
}
|
|
2410
2352
|
]
|
|
2411
2353
|
};
|
|
2412
|
-
var
|
|
2413
|
-
name: "
|
|
2414
|
-
info: "
|
|
2415
|
-
paraId:
|
|
2354
|
+
var Laos$1 = {
|
|
2355
|
+
name: "Laos",
|
|
2356
|
+
info: "laos",
|
|
2357
|
+
paraId: 3370,
|
|
2416
2358
|
providers: [
|
|
2417
2359
|
{
|
|
2418
|
-
name: "
|
|
2419
|
-
endpoint: "wss://
|
|
2360
|
+
name: "laosfoundation.io",
|
|
2361
|
+
endpoint: "wss://rpc.laos.laosfoundation.io"
|
|
2420
2362
|
}
|
|
2421
2363
|
]
|
|
2422
2364
|
};
|
|
2423
|
-
var
|
|
2424
|
-
name: "
|
|
2425
|
-
info: "
|
|
2426
|
-
paraId:
|
|
2365
|
+
var Quartz$1 = {
|
|
2366
|
+
name: "QUARTZ by UNIQUE",
|
|
2367
|
+
info: "quartz",
|
|
2368
|
+
paraId: 2095,
|
|
2427
2369
|
providers: [
|
|
2428
2370
|
{
|
|
2429
|
-
name: "
|
|
2430
|
-
endpoint: "wss://
|
|
2371
|
+
name: "Geo Load Balancer",
|
|
2372
|
+
endpoint: "wss://ws-quartz.unique.network"
|
|
2431
2373
|
},
|
|
2432
2374
|
{
|
|
2433
|
-
name: "
|
|
2434
|
-
endpoint: "wss://
|
|
2435
|
-
}
|
|
2375
|
+
name: "Unique Europe",
|
|
2376
|
+
endpoint: "wss://eu-ws-quartz.unique.network"
|
|
2377
|
+
}
|
|
2378
|
+
]
|
|
2379
|
+
};
|
|
2380
|
+
var RobonomicsKusama$1 = {
|
|
2381
|
+
name: "Robonomics",
|
|
2382
|
+
info: "robonomics",
|
|
2383
|
+
paraId: 2048,
|
|
2384
|
+
providers: [
|
|
2436
2385
|
{
|
|
2437
|
-
name: "
|
|
2438
|
-
endpoint: "wss://
|
|
2439
|
-
}
|
|
2386
|
+
name: "Airalab",
|
|
2387
|
+
endpoint: "wss://kusama.rpc.robonomics.network/"
|
|
2388
|
+
}
|
|
2389
|
+
]
|
|
2390
|
+
};
|
|
2391
|
+
var PeopleKusama$1 = {
|
|
2392
|
+
name: "People",
|
|
2393
|
+
info: "kusamaPeople",
|
|
2394
|
+
paraId: 1004,
|
|
2395
|
+
providers: [
|
|
2440
2396
|
{
|
|
2441
|
-
name: "Dwellir
|
|
2442
|
-
endpoint: "wss://
|
|
2397
|
+
name: "Dwellir",
|
|
2398
|
+
endpoint: "wss://people-kusama-rpc.n.dwellir.com"
|
|
2443
2399
|
},
|
|
2444
2400
|
{
|
|
2445
2401
|
name: "Helixstreet",
|
|
2446
|
-
endpoint: "wss://rpc-
|
|
2402
|
+
endpoint: "wss://rpc-people-kusama.helixstreet.io"
|
|
2447
2403
|
},
|
|
2448
2404
|
{
|
|
2449
2405
|
name: "IBP1",
|
|
2450
|
-
endpoint: "wss://
|
|
2406
|
+
endpoint: "wss://sys.ibp.network/people-kusama"
|
|
2451
2407
|
},
|
|
2452
2408
|
{
|
|
2453
2409
|
name: "IBP2",
|
|
2454
|
-
endpoint: "wss://
|
|
2410
|
+
endpoint: "wss://people-kusama.dotters.network"
|
|
2455
2411
|
},
|
|
2456
2412
|
{
|
|
2457
2413
|
name: "LuckyFriday",
|
|
2458
|
-
endpoint: "wss://rpc-
|
|
2414
|
+
endpoint: "wss://rpc-people-kusama.luckyfriday.io"
|
|
2459
2415
|
},
|
|
2460
2416
|
{
|
|
2461
2417
|
name: "OnFinality",
|
|
2462
|
-
endpoint: "wss://
|
|
2418
|
+
endpoint: "wss://people-kusama.api.onfinality.io/public-ws"
|
|
2463
2419
|
},
|
|
2464
2420
|
{
|
|
2465
|
-
name: "
|
|
2466
|
-
endpoint: "wss://
|
|
2421
|
+
name: "Parity",
|
|
2422
|
+
endpoint: "wss://kusama-people-rpc.polkadot.io"
|
|
2467
2423
|
},
|
|
2468
2424
|
{
|
|
2469
|
-
name: "
|
|
2470
|
-
endpoint: "wss://
|
|
2425
|
+
name: "Stakeworld",
|
|
2426
|
+
endpoint: "wss://ksm-rpc.stakeworld.io/people"
|
|
2427
|
+
}
|
|
2428
|
+
]
|
|
2429
|
+
};
|
|
2430
|
+
var Shiden$1 = {
|
|
2431
|
+
name: "Shiden",
|
|
2432
|
+
info: "shiden",
|
|
2433
|
+
paraId: 2007,
|
|
2434
|
+
providers: [
|
|
2435
|
+
{
|
|
2436
|
+
name: "Astar",
|
|
2437
|
+
endpoint: "wss://rpc.shiden.astar.network"
|
|
2471
2438
|
},
|
|
2472
2439
|
{
|
|
2473
|
-
name: "
|
|
2474
|
-
endpoint: "wss://
|
|
2440
|
+
name: "Dwellir",
|
|
2441
|
+
endpoint: "wss://shiden-rpc.n.dwellir.com"
|
|
2475
2442
|
},
|
|
2476
2443
|
{
|
|
2477
|
-
name: "
|
|
2478
|
-
endpoint: "wss://
|
|
2444
|
+
name: "OnFinality",
|
|
2445
|
+
endpoint: "wss://shiden.api.onfinality.io/public-ws"
|
|
2479
2446
|
},
|
|
2480
2447
|
{
|
|
2481
|
-
name: "
|
|
2482
|
-
endpoint: "wss://
|
|
2448
|
+
name: "RadiumBlock",
|
|
2449
|
+
endpoint: "wss://shiden.public.curie.radiumblock.co/ws"
|
|
2483
2450
|
}
|
|
2484
2451
|
]
|
|
2485
2452
|
};
|
|
2486
|
-
var
|
|
2487
|
-
name: "
|
|
2488
|
-
info: "
|
|
2489
|
-
paraId:
|
|
2453
|
+
var Zeitgeist$1 = {
|
|
2454
|
+
name: "Zeitgeist",
|
|
2455
|
+
info: "zeitgeist",
|
|
2456
|
+
paraId: 2092,
|
|
2490
2457
|
providers: [
|
|
2491
2458
|
{
|
|
2492
|
-
name: "
|
|
2493
|
-
endpoint: "wss://
|
|
2494
|
-
}
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2459
|
+
name: "OnFinality",
|
|
2460
|
+
endpoint: "wss://zeitgeist.api.onfinality.io/public-ws"
|
|
2461
|
+
}
|
|
2462
|
+
]
|
|
2463
|
+
};
|
|
2464
|
+
var AssetHubWestend$1 = {
|
|
2465
|
+
name: "Asset Hub",
|
|
2466
|
+
info: "WestendAssetHub",
|
|
2467
|
+
paraId: 1000,
|
|
2468
|
+
providers: [
|
|
2499
2469
|
{
|
|
2500
2470
|
name: "Dwellir",
|
|
2501
|
-
endpoint: "wss://
|
|
2471
|
+
endpoint: "wss://asset-hub-westend-rpc.n.dwellir.com"
|
|
2502
2472
|
},
|
|
2503
2473
|
{
|
|
2504
2474
|
name: "Dwellir Tunisia",
|
|
2505
|
-
endpoint: "wss://
|
|
2475
|
+
endpoint: "wss://westmint-rpc-tn.dwellir.com"
|
|
2506
2476
|
},
|
|
2507
2477
|
{
|
|
2508
|
-
name: "
|
|
2509
|
-
endpoint: "wss://rpc
|
|
2478
|
+
name: "Parity",
|
|
2479
|
+
endpoint: "wss://westend-asset-hub-rpc.polkadot.io"
|
|
2510
2480
|
},
|
|
2511
2481
|
{
|
|
2512
|
-
name: "
|
|
2513
|
-
endpoint: "wss://rpc.
|
|
2514
|
-
}
|
|
2482
|
+
name: "Permanence DAO EU",
|
|
2483
|
+
endpoint: "wss://asset-hub-westend.rpc.permanence.io"
|
|
2484
|
+
}
|
|
2485
|
+
]
|
|
2486
|
+
};
|
|
2487
|
+
var BridgeHubWestend$1 = {
|
|
2488
|
+
name: "Bridge Hub",
|
|
2489
|
+
info: "westendBridgeHub",
|
|
2490
|
+
paraId: 1002,
|
|
2491
|
+
providers: [
|
|
2515
2492
|
{
|
|
2516
|
-
name: "
|
|
2517
|
-
endpoint: "wss://
|
|
2493
|
+
name: "Dwellir",
|
|
2494
|
+
endpoint: "wss://bridge-hub-westend-rpc.n.dwellir.com"
|
|
2518
2495
|
},
|
|
2519
2496
|
{
|
|
2520
|
-
name: "
|
|
2521
|
-
endpoint: "wss://rpc-
|
|
2497
|
+
name: "Dwellir Tunisia",
|
|
2498
|
+
endpoint: "wss://westend-bridge-hub-rpc-tn.dwellir.com"
|
|
2522
2499
|
},
|
|
2523
2500
|
{
|
|
2524
|
-
name: "
|
|
2525
|
-
endpoint: "wss://
|
|
2501
|
+
name: "Parity",
|
|
2502
|
+
endpoint: "wss://westend-bridge-hub-rpc.polkadot.io"
|
|
2503
|
+
}
|
|
2504
|
+
]
|
|
2505
|
+
};
|
|
2506
|
+
var CollectivesWestend$1 = {
|
|
2507
|
+
name: "Collectives",
|
|
2508
|
+
info: "westendCollectives",
|
|
2509
|
+
paraId: 1001,
|
|
2510
|
+
providers: [
|
|
2511
|
+
{
|
|
2512
|
+
name: "Dwellir",
|
|
2513
|
+
endpoint: "wss://collectives-westend-rpc.n.dwellir.com"
|
|
2526
2514
|
},
|
|
2527
2515
|
{
|
|
2528
|
-
name: "
|
|
2529
|
-
endpoint: "wss://
|
|
2516
|
+
name: "Dwellir Tunisia",
|
|
2517
|
+
endpoint: "wss://westend-collectives-rpc-tn.dwellir.com"
|
|
2530
2518
|
},
|
|
2531
2519
|
{
|
|
2532
|
-
name: "
|
|
2533
|
-
endpoint: "wss://
|
|
2520
|
+
name: "Parity",
|
|
2521
|
+
endpoint: "wss://westend-collectives-rpc.polkadot.io"
|
|
2534
2522
|
}
|
|
2535
2523
|
]
|
|
2536
2524
|
};
|
|
2537
|
-
var
|
|
2538
|
-
name: "
|
|
2539
|
-
info: "
|
|
2540
|
-
paraId:
|
|
2525
|
+
var CoretimeWestend$1 = {
|
|
2526
|
+
name: "Coretime",
|
|
2527
|
+
info: "westendCoretime",
|
|
2528
|
+
paraId: 1005,
|
|
2541
2529
|
providers: [
|
|
2542
2530
|
{
|
|
2543
2531
|
name: "Dwellir",
|
|
2544
|
-
endpoint: "wss://westend-rpc.n.dwellir.com"
|
|
2545
|
-
},
|
|
2546
|
-
{
|
|
2547
|
-
name: "Dwellir Tunisia",
|
|
2548
|
-
endpoint: "wss://westend-rpc-tn.dwellir.com"
|
|
2532
|
+
endpoint: "wss://coretime-westend-rpc.n.dwellir.com"
|
|
2549
2533
|
},
|
|
2550
2534
|
{
|
|
2551
|
-
name: "
|
|
2552
|
-
endpoint: "wss://westend.
|
|
2553
|
-
}
|
|
2535
|
+
name: "Parity",
|
|
2536
|
+
endpoint: "wss://westend-coretime-rpc.polkadot.io"
|
|
2537
|
+
}
|
|
2538
|
+
]
|
|
2539
|
+
};
|
|
2540
|
+
var Penpal$1 = {
|
|
2541
|
+
name: "Penpal",
|
|
2542
|
+
info: "westendPenpal",
|
|
2543
|
+
paraId: 2042,
|
|
2544
|
+
providers: [
|
|
2554
2545
|
{
|
|
2555
2546
|
name: "Parity",
|
|
2556
|
-
endpoint: "wss://westend-rpc.polkadot.io"
|
|
2547
|
+
endpoint: "wss://westend-penpal-rpc.polkadot.io"
|
|
2548
|
+
}
|
|
2549
|
+
]
|
|
2550
|
+
};
|
|
2551
|
+
var PeopleWestend$1 = {
|
|
2552
|
+
name: "People",
|
|
2553
|
+
info: "westendPeople",
|
|
2554
|
+
paraId: 1004,
|
|
2555
|
+
providers: [
|
|
2556
|
+
{
|
|
2557
|
+
name: "Dwellir",
|
|
2558
|
+
endpoint: "wss://people-westend-rpc.n.dwellir.com"
|
|
2557
2559
|
},
|
|
2558
2560
|
{
|
|
2559
|
-
name: "
|
|
2560
|
-
endpoint: "wss://westend.
|
|
2561
|
+
name: "Parity",
|
|
2562
|
+
endpoint: "wss://westend-people-rpc.polkadot.io"
|
|
2561
2563
|
}
|
|
2562
2564
|
]
|
|
2563
2565
|
};
|
|
2564
|
-
var
|
|
2565
|
-
name: "Paseo
|
|
2566
|
-
info: "paseo",
|
|
2567
|
-
paraId:
|
|
2566
|
+
var AjunaPaseo$1 = {
|
|
2567
|
+
name: "Ajuna Network (Paseo)",
|
|
2568
|
+
info: "Ajuna(paseo)",
|
|
2569
|
+
paraId: 2051,
|
|
2568
2570
|
providers: [
|
|
2569
2571
|
{
|
|
2570
|
-
name: "
|
|
2571
|
-
endpoint: "wss://paseo.
|
|
2572
|
-
}
|
|
2572
|
+
name: "BajunNetwork",
|
|
2573
|
+
endpoint: "wss://rpc-paseo.ajuna.network"
|
|
2574
|
+
}
|
|
2575
|
+
]
|
|
2576
|
+
};
|
|
2577
|
+
var AssetHubPaseo$1 = {
|
|
2578
|
+
name: "Asset Hub",
|
|
2579
|
+
info: "PaseoAssetHub",
|
|
2580
|
+
paraId: 1000,
|
|
2581
|
+
providers: [
|
|
2573
2582
|
{
|
|
2574
2583
|
name: "Dwellir",
|
|
2575
|
-
endpoint: "wss://paseo-rpc.n.dwellir.com"
|
|
2584
|
+
endpoint: "wss://asset-hub-paseo-rpc.n.dwellir.com"
|
|
2576
2585
|
},
|
|
2577
2586
|
{
|
|
2578
2587
|
name: "IBP1",
|
|
2579
|
-
endpoint: "wss://
|
|
2588
|
+
endpoint: "wss://sys.ibp.network/asset-hub-paseo"
|
|
2580
2589
|
},
|
|
2581
2590
|
{
|
|
2582
2591
|
name: "IBP2",
|
|
2583
|
-
endpoint: "wss://paseo.dotters.network"
|
|
2592
|
+
endpoint: "wss://asset-hub-paseo.dotters.network"
|
|
2584
2593
|
},
|
|
2585
2594
|
{
|
|
2586
2595
|
name: "StakeWorld",
|
|
2587
|
-
endpoint: "wss://pas-rpc.stakeworld.io"
|
|
2596
|
+
endpoint: "wss://pas-rpc.stakeworld.io/assethub"
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
name: "TurboFlakes",
|
|
2600
|
+
endpoint: "wss://sys.turboflakes.io/asset-hub-paseo"
|
|
2588
2601
|
}
|
|
2589
2602
|
]
|
|
2590
2603
|
};
|
|
2591
|
-
var
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
EnergyWebX: EnergyWebX$1,
|
|
2602
|
-
Hydration: Hydration$1,
|
|
2603
|
-
IntegriteePolkadot: IntegriteePolkadot$1,
|
|
2604
|
-
Interlay: Interlay$1,
|
|
2605
|
-
Heima: Heima$1,
|
|
2606
|
-
Jamton: Jamton$1,
|
|
2607
|
-
Moonbeam: Moonbeam$1,
|
|
2608
|
-
CoretimePolkadot: CoretimePolkadot$1,
|
|
2609
|
-
Collectives: Collectives$1,
|
|
2610
|
-
Crust: Crust$1,
|
|
2611
|
-
Manta: Manta$1,
|
|
2612
|
-
Nodle: Nodle$1,
|
|
2613
|
-
NeuroWeb: NeuroWeb$1,
|
|
2614
|
-
Pendulum: Pendulum$1,
|
|
2615
|
-
Phala: Phala$1,
|
|
2616
|
-
Subsocial: Subsocial$1,
|
|
2617
|
-
KiltSpiritnet: KiltSpiritnet$1,
|
|
2618
|
-
Curio: Curio$1,
|
|
2619
|
-
Mythos: Mythos$1,
|
|
2620
|
-
Peaq: Peaq$1,
|
|
2621
|
-
Polimec: Polimec$1,
|
|
2622
|
-
RobonomicsPolkadot: RobonomicsPolkadot$1,
|
|
2623
|
-
PeoplePolkadot: PeoplePolkadot$1,
|
|
2624
|
-
Unique: Unique$1,
|
|
2625
|
-
Xode: Xode$1,
|
|
2626
|
-
AssetHubKusama: AssetHubKusama$1,
|
|
2627
|
-
BridgeHubKusama: BridgeHubKusama$1,
|
|
2628
|
-
IntegriteeKusama: IntegriteeKusama$1,
|
|
2629
|
-
Karura: Karura$1,
|
|
2630
|
-
Kintsugi: Kintsugi$1,
|
|
2631
|
-
Moonriver: Moonriver$1,
|
|
2632
|
-
CoretimeKusama: CoretimeKusama$1,
|
|
2633
|
-
Encointer: Encointer$1,
|
|
2634
|
-
Altair: Altair$1,
|
|
2635
|
-
Amplitude: Amplitude$1,
|
|
2636
|
-
Basilisk: Basilisk$1,
|
|
2637
|
-
BifrostKusama: BifrostKusama$1,
|
|
2638
|
-
CrustShadow: CrustShadow$1,
|
|
2639
|
-
Crab: Crab$1,
|
|
2640
|
-
Laos: Laos$1,
|
|
2641
|
-
Quartz: Quartz$1,
|
|
2642
|
-
RobonomicsKusama: RobonomicsKusama$1,
|
|
2643
|
-
PeopleKusama: PeopleKusama$1,
|
|
2644
|
-
Shiden: Shiden$1,
|
|
2645
|
-
Zeitgeist: Zeitgeist$1,
|
|
2646
|
-
AssetHubWestend: AssetHubWestend$1,
|
|
2647
|
-
BridgeHubWestend: BridgeHubWestend$1,
|
|
2648
|
-
CollectivesWestend: CollectivesWestend$1,
|
|
2649
|
-
CoretimeWestend: CoretimeWestend$1,
|
|
2650
|
-
Penpal: Penpal$1,
|
|
2651
|
-
PeopleWestend: PeopleWestend$1,
|
|
2652
|
-
AjunaPaseo: AjunaPaseo$1,
|
|
2653
|
-
AssetHubPaseo: AssetHubPaseo$1,
|
|
2654
|
-
BifrostPaseo: BifrostPaseo$1,
|
|
2655
|
-
BridgeHubPaseo: BridgeHubPaseo$1,
|
|
2656
|
-
CoretimePaseo: CoretimePaseo$1,
|
|
2657
|
-
EnergyWebXPaseo: EnergyWebXPaseo$1,
|
|
2658
|
-
HeimaPaseo: HeimaPaseo$1,
|
|
2659
|
-
HydrationPaseo: HydrationPaseo$1,
|
|
2660
|
-
IntegriteePaseo: IntegriteePaseo$1,
|
|
2661
|
-
KiltPaseo: KiltPaseo$1,
|
|
2662
|
-
LaosPaseo: LaosPaseo$1,
|
|
2663
|
-
NeuroWebPaseo: NeuroWebPaseo$1,
|
|
2664
|
-
NodlePaseo: NodlePaseo$1,
|
|
2665
|
-
PAssetHub: PAssetHub$1,
|
|
2666
|
-
PeoplePaseo: PeoplePaseo$1,
|
|
2667
|
-
ZeitgeistPaseo: ZeitgeistPaseo$1,
|
|
2668
|
-
Polkadot: Polkadot,
|
|
2669
|
-
Kusama: Kusama,
|
|
2670
|
-
Westend: Westend,
|
|
2671
|
-
Paseo: Paseo
|
|
2672
|
-
};
|
|
2673
|
-
|
|
2674
|
-
var configsMap = configs;
|
|
2675
|
-
var getChainConfig = function getChainConfig(chain) {
|
|
2676
|
-
return configsMap[chain];
|
|
2677
|
-
};
|
|
2678
|
-
|
|
2679
|
-
var getChainProviders = function getChainProviders(chain) {
|
|
2680
|
-
var _getChainConfig = getChainConfig(chain),
|
|
2681
|
-
providers = _getChainConfig.providers;
|
|
2682
|
-
if (providers.length === 0) {
|
|
2683
|
-
throw new InvalidParameterError("No providers found for chain ".concat(chain));
|
|
2684
|
-
}
|
|
2685
|
-
// Prefer Dwellir provider
|
|
2686
|
-
providers.sort(function (a, b) {
|
|
2687
|
-
return (a.name === 'Dwellir' ? 0 : 1) - (b.name === 'Dwellir' ? 0 : 1);
|
|
2688
|
-
});
|
|
2689
|
-
return providers.map(function (p) {
|
|
2690
|
-
return p.endpoint;
|
|
2691
|
-
});
|
|
2604
|
+
var BifrostPaseo$1 = {
|
|
2605
|
+
name: "Bifrost",
|
|
2606
|
+
info: "Bifrost(Paseo)",
|
|
2607
|
+
paraId: 2030,
|
|
2608
|
+
providers: [
|
|
2609
|
+
{
|
|
2610
|
+
name: "Liebi",
|
|
2611
|
+
endpoint: "wss://bifrost-rpc.paseo.liebi.com/ws"
|
|
2612
|
+
}
|
|
2613
|
+
]
|
|
2692
2614
|
};
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2615
|
+
var BridgeHubPaseo$1 = {
|
|
2616
|
+
name: "Bridge Hub",
|
|
2617
|
+
info: "PaseoBridgeHub",
|
|
2618
|
+
paraId: 1002,
|
|
2619
|
+
providers: [
|
|
2620
|
+
{
|
|
2621
|
+
name: "IBP1",
|
|
2622
|
+
endpoint: "wss://sys.ibp.network/bridgehub-paseo"
|
|
2623
|
+
},
|
|
2624
|
+
{
|
|
2625
|
+
name: "IBP2",
|
|
2626
|
+
endpoint: "wss://bridge-hub-paseo.dotters.network"
|
|
2627
|
+
}
|
|
2628
|
+
]
|
|
2705
2629
|
};
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
};
|
|
2721
|
-
}();
|
|
2722
|
-
|
|
2723
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2724
|
-
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
2725
|
-
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
2726
|
-
var getLocationTokenId = function getLocationTokenId(location, chain) {
|
|
2727
|
-
if (location.interior.type === 'Here') {
|
|
2728
|
-
// native token
|
|
2729
|
-
return assets.getNativeAssetSymbol(chain);
|
|
2730
|
-
}
|
|
2731
|
-
var foreignAssets = assets.getOtherAssets(chain);
|
|
2732
|
-
if (location.interior.type === 'X2') {
|
|
2733
|
-
if (location.interior.value[0].type === 'PalletInstance' && location.interior.value[0].value === 50 && location.interior.value[1].type === 'GeneralIndex') {
|
|
2734
|
-
var _foreignAssets$find$a, _foreignAssets$find;
|
|
2735
|
-
var assetId = location.interior.value[1].value;
|
|
2736
|
-
return (_foreignAssets$find$a = (_foreignAssets$find = foreignAssets.find(function (asset) {
|
|
2737
|
-
return asset.assetId === String(assetId);
|
|
2738
|
-
})) === null || _foreignAssets$find === void 0 ? void 0 : _foreignAssets$find.assetId) !== null && _foreignAssets$find$a !== void 0 ? _foreignAssets$find$a : null;
|
|
2739
|
-
}
|
|
2740
|
-
}
|
|
2741
|
-
return null;
|
|
2630
|
+
var CoretimePaseo$1 = {
|
|
2631
|
+
name: "Coretime",
|
|
2632
|
+
info: "PaseoCoretime",
|
|
2633
|
+
paraId: 1005,
|
|
2634
|
+
providers: [
|
|
2635
|
+
{
|
|
2636
|
+
name: "IBP1",
|
|
2637
|
+
endpoint: "wss://sys.ibp.network/coretime-paseo"
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
name: "IBP2",
|
|
2641
|
+
endpoint: "wss://coretime-paseo.dotters.network"
|
|
2642
|
+
}
|
|
2643
|
+
]
|
|
2742
2644
|
};
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
var _e$value, _e$value2;
|
|
2754
|
-
var e = _step.value;
|
|
2755
|
-
var isXcmEvent = e.type === 'XcmPallet' || e.type === 'PolkadotXcm' || e.type === 'CumulusXcm';
|
|
2756
|
-
var isFeesPaid = e.value.type === 'FeesPaid';
|
|
2757
|
-
if (isXcmEvent && isFeesPaid && e.value.value.fees) {
|
|
2758
|
-
var _iterator2 = _createForOfIteratorHelper(e.value.value.fees),
|
|
2759
|
-
_step2;
|
|
2760
|
-
try {
|
|
2761
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
2762
|
-
var feeItem = _step2.value;
|
|
2763
|
-
if (feeItem.fun.type === 'NonFungible') continue;
|
|
2764
|
-
var plancks = feeItem.fun.value;
|
|
2765
|
-
var tokenSymbol = getLocationTokenId(feeItem.id, chain);
|
|
2766
|
-
if (!tokenSymbol || !plancks) continue;
|
|
2767
|
-
deliveryFees.push({
|
|
2768
|
-
plancks: plancks,
|
|
2769
|
-
tokenSymbol: tokenSymbol
|
|
2770
|
-
});
|
|
2771
|
-
}
|
|
2772
|
-
} catch (err) {
|
|
2773
|
-
_iterator2.e(err);
|
|
2774
|
-
} finally {
|
|
2775
|
-
_iterator2.f();
|
|
2776
|
-
}
|
|
2777
|
-
}
|
|
2778
|
-
if (isFeeAsset && e.type === 'AssetConversion' && ((_e$value = e.value) === null || _e$value === void 0 ? void 0 : _e$value.type) === 'SwapCreditExecuted' && (_e$value2 = e.value) !== null && _e$value2 !== void 0 && _e$value2.value && e.value.value.amount_in !== undefined && e.value.value.amount_in !== null) {
|
|
2779
|
-
assetConversionFee += e.value.value.amount_in;
|
|
2780
|
-
}
|
|
2781
|
-
}
|
|
2782
|
-
} catch (err) {
|
|
2783
|
-
_iterator.e(err);
|
|
2784
|
-
} finally {
|
|
2785
|
-
_iterator.f();
|
|
2786
|
-
}
|
|
2787
|
-
if (isFeeAsset && assetConversionFee > 0n) {
|
|
2788
|
-
return assetConversionFee;
|
|
2789
|
-
} else {
|
|
2790
|
-
var nativeAssetSymbol = assets.getNativeAssetSymbol(chain);
|
|
2791
|
-
var totalDeliveryFees = deliveryFees.filter(function (df) {
|
|
2792
|
-
return df.tokenSymbol === nativeAssetSymbol;
|
|
2793
|
-
}).reduce(function (acc, df) {
|
|
2794
|
-
return acc + df.plancks;
|
|
2795
|
-
}, 0n);
|
|
2796
|
-
return totalDeliveryFees + executionFee;
|
|
2797
|
-
}
|
|
2645
|
+
var EnergyWebXPaseo$1 = {
|
|
2646
|
+
name: "PEX",
|
|
2647
|
+
info: "paseoEwx",
|
|
2648
|
+
paraId: 3345,
|
|
2649
|
+
providers: [
|
|
2650
|
+
{
|
|
2651
|
+
name: "Energy Web",
|
|
2652
|
+
endpoint: "wss://public-rpc.testnet.energywebx.com/"
|
|
2653
|
+
}
|
|
2654
|
+
]
|
|
2798
2655
|
};
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
return (_foreignAssets$find$s = (_foreignAssets$find = foreignAssets.find(function (asset) {
|
|
2810
|
-
return asset.assetId === String(assetId);
|
|
2811
|
-
})) === null || _foreignAssets$find === void 0 ? void 0 : _foreignAssets$find.symbol) !== null && _foreignAssets$find$s !== void 0 ? _foreignAssets$find$s : null;
|
|
2812
|
-
}
|
|
2813
|
-
return null;
|
|
2656
|
+
var HeimaPaseo$1 = {
|
|
2657
|
+
name: "Heima paseo",
|
|
2658
|
+
info: "heima-paseo",
|
|
2659
|
+
paraId: 2106,
|
|
2660
|
+
providers: [
|
|
2661
|
+
{
|
|
2662
|
+
name: "Heima",
|
|
2663
|
+
endpoint: "wss://rpc.paseo-parachain.heima.network"
|
|
2664
|
+
}
|
|
2665
|
+
]
|
|
2814
2666
|
};
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
var isFeesPaid = e.method === 'FeesPaid';
|
|
2826
|
-
if (isXcmEvent && isFeesPaid && e.data.fees) {
|
|
2827
|
-
var _iterator2 = _createForOfIteratorHelper(e.data.fees),
|
|
2828
|
-
_step2;
|
|
2829
|
-
try {
|
|
2830
|
-
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
2831
|
-
var feeItem = _step2.value;
|
|
2832
|
-
if (feeItem.fun.NonFungible) continue;
|
|
2833
|
-
var plancks = BigInt(feeItem.fun.Fungible.replace(/,/g, ''));
|
|
2834
|
-
var tokenSymbol = getLocationTokenIdPjs(feeItem.id, chain);
|
|
2835
|
-
if (!tokenSymbol || !plancks) continue;
|
|
2836
|
-
deliveryFees.push({
|
|
2837
|
-
plancks: plancks,
|
|
2838
|
-
tokenSymbol: tokenSymbol
|
|
2839
|
-
});
|
|
2840
|
-
}
|
|
2841
|
-
} catch (err) {
|
|
2842
|
-
_iterator2.e(err);
|
|
2843
|
-
} finally {
|
|
2844
|
-
_iterator2.f();
|
|
2845
|
-
}
|
|
2846
|
-
}
|
|
2847
|
-
}
|
|
2848
|
-
} catch (err) {
|
|
2849
|
-
_iterator.e(err);
|
|
2850
|
-
} finally {
|
|
2851
|
-
_iterator.f();
|
|
2852
|
-
}
|
|
2853
|
-
var nativeAssetSymbol = assets.getNativeAssetSymbol(chain);
|
|
2854
|
-
// Sum the fees that match the feeToken
|
|
2855
|
-
var totalDeliveryFees = deliveryFees.filter(function (df) {
|
|
2856
|
-
return df.tokenSymbol === nativeAssetSymbol;
|
|
2857
|
-
}).reduce(function (acc, df) {
|
|
2858
|
-
return acc + df.plancks;
|
|
2859
|
-
}, 0n);
|
|
2860
|
-
return totalDeliveryFees + executionFee;
|
|
2667
|
+
var HydrationPaseo$1 = {
|
|
2668
|
+
name: "Hydration (Paseo)",
|
|
2669
|
+
info: "rococoHydraDX",
|
|
2670
|
+
paraId: 2034,
|
|
2671
|
+
providers: [
|
|
2672
|
+
{
|
|
2673
|
+
name: "Galactic Council",
|
|
2674
|
+
endpoint: "wss://paseo-rpc.play.hydration.cloud"
|
|
2675
|
+
}
|
|
2676
|
+
]
|
|
2861
2677
|
};
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
/**
|
|
2873
|
-
* Commits each successful call regardless if a call fails.
|
|
2874
|
-
*/
|
|
2875
|
-
BatchMode["BATCH"] = "BATCH";
|
|
2876
|
-
})(exports.BatchMode || (exports.BatchMode = {}));
|
|
2877
|
-
|
|
2878
|
-
exports.XTokensError = void 0;
|
|
2879
|
-
(function (XTokensError) {
|
|
2880
|
-
XTokensError["AssetHasNoReserve"] = "AssetHasNoReserve";
|
|
2881
|
-
XTokensError["NotCrossChainTransfer"] = "NotCrossChainTransfer";
|
|
2882
|
-
XTokensError["InvalidDest"] = "InvalidDest";
|
|
2883
|
-
XTokensError["NotCrossChainTransferableCurrency"] = "NotCrossChainTransferableCurrency";
|
|
2884
|
-
XTokensError["UnweighableMessage"] = "UnweighableMessage";
|
|
2885
|
-
XTokensError["XcmExecutionFailed"] = "XcmExecutionFailed";
|
|
2886
|
-
XTokensError["CannotReanchor"] = "CannotReanchor";
|
|
2887
|
-
XTokensError["InvalidAncestry"] = "InvalidAncestry";
|
|
2888
|
-
XTokensError["InvalidAsset"] = "InvalidAsset";
|
|
2889
|
-
XTokensError["DestinationNotInvertible"] = "DestinationNotInvertible";
|
|
2890
|
-
XTokensError["BadVersion"] = "BadVersion";
|
|
2891
|
-
XTokensError["DistinctReserveForAssetAndFee"] = "DistinctReserveForAssetAndFee";
|
|
2892
|
-
XTokensError["ZeroFee"] = "ZeroFee";
|
|
2893
|
-
XTokensError["ZeroAmount"] = "ZeroAmount";
|
|
2894
|
-
XTokensError["TooManyAssetsBeingSent"] = "TooManyAssetsBeingSent";
|
|
2895
|
-
XTokensError["AssetIndexNonExistent"] = "AssetIndexNonExistent";
|
|
2896
|
-
XTokensError["FeeNotEnough"] = "FeeNotEnough";
|
|
2897
|
-
XTokensError["NotSupportedLocation"] = "NotSupportedLocation";
|
|
2898
|
-
XTokensError["MinXcmFeeNotDefined"] = "MinXcmFeeNotDefined";
|
|
2899
|
-
XTokensError["RateLimited"] = "RateLimited";
|
|
2900
|
-
})(exports.XTokensError || (exports.XTokensError = {}));
|
|
2901
|
-
exports.PolkadotXcmError = void 0;
|
|
2902
|
-
(function (PolkadotXcmError) {
|
|
2903
|
-
PolkadotXcmError["Unreachable"] = "Unreachable";
|
|
2904
|
-
PolkadotXcmError["SendFailure"] = "SendFailure";
|
|
2905
|
-
PolkadotXcmError["Filtered"] = "Filtered";
|
|
2906
|
-
PolkadotXcmError["UnweighableMessage"] = "UnweighableMessage";
|
|
2907
|
-
PolkadotXcmError["DestinationNotInvertible"] = "DestinationNotInvertible";
|
|
2908
|
-
PolkadotXcmError["Empty"] = "Empty";
|
|
2909
|
-
PolkadotXcmError["CannotReanchor"] = "CannotReanchor";
|
|
2910
|
-
PolkadotXcmError["TooManyAssets"] = "TooManyAssets";
|
|
2911
|
-
PolkadotXcmError["InvalidOrigin"] = "InvalidOrigin";
|
|
2912
|
-
PolkadotXcmError["BadVersion"] = "BadVersion";
|
|
2913
|
-
PolkadotXcmError["BadLocation"] = "BadLocation";
|
|
2914
|
-
PolkadotXcmError["NoSubscription"] = "NoSubscription";
|
|
2915
|
-
PolkadotXcmError["AlreadySubscribed"] = "AlreadySubscribed";
|
|
2916
|
-
PolkadotXcmError["CannotCheckOutTeleport"] = "CannotCheckOutTeleport";
|
|
2917
|
-
PolkadotXcmError["LowBalance"] = "LowBalance";
|
|
2918
|
-
PolkadotXcmError["TooManyLocks"] = "TooManyLocks";
|
|
2919
|
-
PolkadotXcmError["AccountNotSovereign"] = "AccountNotSovereign";
|
|
2920
|
-
PolkadotXcmError["FeesNotMet"] = "FeesNotMet";
|
|
2921
|
-
PolkadotXcmError["LockNotFound"] = "LockNotFound";
|
|
2922
|
-
PolkadotXcmError["InUse"] = "InUse";
|
|
2923
|
-
PolkadotXcmError["REMOVED"] = "REMOVED";
|
|
2924
|
-
PolkadotXcmError["InvalidAssetUnknownReserve"] = "InvalidAssetUnknownReserve";
|
|
2925
|
-
PolkadotXcmError["InvalidAssetUnsupportedReserve"] = "InvalidAssetUnsupportedReserve";
|
|
2926
|
-
PolkadotXcmError["TooManyReserves"] = "TooManyReserves";
|
|
2927
|
-
PolkadotXcmError["LocalExecutionIncomplete"] = "LocalExecutionIncomplete";
|
|
2928
|
-
PolkadotXcmError["TooManyAuthorizedAliases"] = "TooManyAuthorizedAliases";
|
|
2929
|
-
PolkadotXcmError["ExpiresInPast"] = "ExpiresInPast";
|
|
2930
|
-
PolkadotXcmError["AliasNotFound"] = "AliasNotFound";
|
|
2931
|
-
PolkadotXcmError["LocalExecutionIncompleteWithError"] = "LocalExecutionIncompleteWithError";
|
|
2932
|
-
})(exports.PolkadotXcmError || (exports.PolkadotXcmError = {}));
|
|
2933
|
-
|
|
2934
|
-
var resolveModuleError = function resolveModuleError(chain, error) {
|
|
2935
|
-
var palletDetails = pallets.getSupportedPalletsDetails(chain).find(function (p) {
|
|
2936
|
-
return p.index === Number(error.index);
|
|
2937
|
-
});
|
|
2938
|
-
if (!palletDetails) {
|
|
2939
|
-
throw new InvalidParameterError("Pallet with index ".concat(error.index, " not found"));
|
|
2940
|
-
}
|
|
2941
|
-
// Use only the first byte of the error to get the error index
|
|
2942
|
-
var errorIndex = Number(error.error.slice(0, 4));
|
|
2943
|
-
var name = palletDetails.name;
|
|
2944
|
-
if (name !== 'XTokens' && name !== 'PolkadotXcm' && name !== 'XcmPallet') {
|
|
2945
|
-
throw new InvalidParameterError("Pallet ".concat(name, " is not supported"));
|
|
2946
|
-
}
|
|
2947
|
-
var failureReason = name === 'XTokens' ? Object.values(exports.XTokensError)[errorIndex] : Object.values(exports.PolkadotXcmError)[errorIndex];
|
|
2948
|
-
if (!failureReason) {
|
|
2949
|
-
throw new InvalidParameterError("Error index ".concat(errorIndex, " not found in ").concat(name, " pallet"));
|
|
2950
|
-
}
|
|
2951
|
-
return failureReason;
|
|
2678
|
+
var IntegriteePaseo$1 = {
|
|
2679
|
+
name: "Integritee Network (Paseo)",
|
|
2680
|
+
info: "integritee",
|
|
2681
|
+
paraId: 2039,
|
|
2682
|
+
providers: [
|
|
2683
|
+
{
|
|
2684
|
+
name: "Integritee",
|
|
2685
|
+
endpoint: "wss://paseo.api.integritee.network"
|
|
2686
|
+
}
|
|
2687
|
+
]
|
|
2952
2688
|
};
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2689
|
+
var KiltPaseo$1 = {
|
|
2690
|
+
name: "KILT Peregrine",
|
|
2691
|
+
info: "kilt",
|
|
2692
|
+
paraId: 2086,
|
|
2693
|
+
providers: [
|
|
2694
|
+
{
|
|
2695
|
+
name: "KILT Foundation",
|
|
2696
|
+
endpoint: "wss://peregrine.kilt.io/"
|
|
2697
|
+
}
|
|
2698
|
+
]
|
|
2956
2699
|
};
|
|
2957
|
-
var
|
|
2958
|
-
|
|
2700
|
+
var LaosPaseo$1 = {
|
|
2701
|
+
name: "Laos Sigma",
|
|
2702
|
+
info: "laos-sigma",
|
|
2703
|
+
paraId: 4006,
|
|
2704
|
+
providers: [
|
|
2705
|
+
{
|
|
2706
|
+
name: "freeverse.io",
|
|
2707
|
+
endpoint: "wss://rpc.laossigma.laosfoundation.io"
|
|
2708
|
+
}
|
|
2709
|
+
]
|
|
2959
2710
|
};
|
|
2960
|
-
var
|
|
2961
|
-
|
|
2711
|
+
var NeuroWebPaseo$1 = {
|
|
2712
|
+
name: "NeuroWeb Testnet",
|
|
2713
|
+
info: "NeuroWeb",
|
|
2714
|
+
paraId: 2043,
|
|
2715
|
+
providers: [
|
|
2716
|
+
{
|
|
2717
|
+
name: "TraceLabs",
|
|
2718
|
+
endpoint: "wss://parachain-testnet-rpc.origin-trail.network/"
|
|
2719
|
+
}
|
|
2720
|
+
]
|
|
2962
2721
|
};
|
|
2963
|
-
var
|
|
2964
|
-
|
|
2722
|
+
var NodlePaseo$1 = {
|
|
2723
|
+
name: "Nodle",
|
|
2724
|
+
info: "NodleParadis",
|
|
2725
|
+
paraId: 2026,
|
|
2726
|
+
providers: [
|
|
2727
|
+
{
|
|
2728
|
+
name: "OnFinality",
|
|
2729
|
+
endpoint: "wss://node-7273232234617282560.nv.onfinality.io/ws?apikey=b937a7d7-7395-49b9-b745-60a0342fa365"
|
|
2730
|
+
}
|
|
2731
|
+
]
|
|
2965
2732
|
};
|
|
2966
|
-
var
|
|
2967
|
-
|
|
2968
|
-
|
|
2733
|
+
var PAssetHub$1 = {
|
|
2734
|
+
name: "PAssetHub - Contracts",
|
|
2735
|
+
info: "PAssetHub - Contracts",
|
|
2736
|
+
paraId: 1111,
|
|
2737
|
+
providers: [
|
|
2738
|
+
{
|
|
2739
|
+
name: "IBP1",
|
|
2740
|
+
endpoint: "wss://passet-hub-paseo.ibp.network"
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
name: "IBP2",
|
|
2744
|
+
endpoint: "wss://passet-hub-paseo.dotters.network"
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
name: "Parity",
|
|
2748
|
+
endpoint: "wss://testnet-passet-hub.polkadot.io"
|
|
2749
|
+
}
|
|
2750
|
+
]
|
|
2969
2751
|
};
|
|
2970
|
-
var
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2752
|
+
var PeoplePaseo$1 = {
|
|
2753
|
+
name: "People",
|
|
2754
|
+
info: "PaseoPeopleChain",
|
|
2755
|
+
paraId: 1004,
|
|
2756
|
+
providers: [
|
|
2757
|
+
{
|
|
2758
|
+
name: "Amforc",
|
|
2759
|
+
endpoint: "wss://people-paseo.rpc.amforc.com"
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
name: "IBP1",
|
|
2763
|
+
endpoint: "wss://sys.ibp.network/people-paseo"
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
name: "IBP2",
|
|
2767
|
+
endpoint: "wss://people-paseo.dotters.network"
|
|
2768
|
+
}
|
|
2769
|
+
]
|
|
2770
|
+
};
|
|
2771
|
+
var ZeitgeistPaseo$1 = {
|
|
2772
|
+
name: "Zeitgeist Battery Station",
|
|
2773
|
+
info: "ZeitgeistBatteryStation",
|
|
2774
|
+
paraId: 2101,
|
|
2775
|
+
providers: [
|
|
2776
|
+
{
|
|
2777
|
+
name: "Zeitgeist",
|
|
2778
|
+
endpoint: "wss://bsr.zeitgeist.pm"
|
|
2779
|
+
}
|
|
2780
|
+
]
|
|
2781
|
+
};
|
|
2782
|
+
var Polkadot = {
|
|
2783
|
+
name: "Polkadot Relay",
|
|
2784
|
+
info: "polkadot",
|
|
2785
|
+
paraId: 0,
|
|
2786
|
+
providers: [
|
|
2787
|
+
{
|
|
2788
|
+
name: "Allnodes",
|
|
2789
|
+
endpoint: "wss://polkadot-rpc.publicnode.com"
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
name: "Blockops",
|
|
2793
|
+
endpoint: "wss://polkadot-public-rpc.blockops.network/ws"
|
|
2794
|
+
},
|
|
2795
|
+
{
|
|
2796
|
+
name: "Dwellir",
|
|
2797
|
+
endpoint: "wss://polkadot-rpc.n.dwellir.com"
|
|
2798
|
+
},
|
|
2799
|
+
{
|
|
2800
|
+
name: "Dwellir Tunisia",
|
|
2801
|
+
endpoint: "wss://polkadot-rpc-tn.dwellir.com"
|
|
2802
|
+
},
|
|
2803
|
+
{
|
|
2804
|
+
name: "Helixstreet",
|
|
2805
|
+
endpoint: "wss://rpc-polkadot.helixstreet.io"
|
|
2806
|
+
},
|
|
2807
|
+
{
|
|
2808
|
+
name: "IBP1",
|
|
2809
|
+
endpoint: "wss://rpc.ibp.network/polkadot"
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
name: "IBP2",
|
|
2813
|
+
endpoint: "wss://polkadot.dotters.network"
|
|
2814
|
+
},
|
|
2815
|
+
{
|
|
2816
|
+
name: "LuckyFriday",
|
|
2817
|
+
endpoint: "wss://rpc-polkadot.luckyfriday.io"
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
name: "OnFinality",
|
|
2821
|
+
endpoint: "wss://polkadot.api.onfinality.io/public-ws"
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
name: "Permanence DAO EU",
|
|
2825
|
+
endpoint: "wss://polkadot.rpc.permanence.io"
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
name: "RadiumBlock",
|
|
2829
|
+
endpoint: "wss://polkadot.public.curie.radiumblock.co/ws"
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
name: "Simply Staking",
|
|
2833
|
+
endpoint: "wss://spectrum-03.simplystaking.xyz/cG9sa2Fkb3QtMDMtOTFkMmYwZGYtcG9sa2Fkb3Q/LjwBJpV3dIKyWQ/polkadot/mainnet/"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
name: "Stakeworld",
|
|
2837
|
+
endpoint: "wss://dot-rpc.stakeworld.io"
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
name: "SubQuery",
|
|
2841
|
+
endpoint: "wss://polkadot.rpc.subquery.network/public/ws"
|
|
2842
|
+
}
|
|
2843
|
+
]
|
|
2844
|
+
};
|
|
2845
|
+
var Kusama = {
|
|
2846
|
+
name: "Kusama Relay",
|
|
2847
|
+
info: "kusama",
|
|
2848
|
+
paraId: 0,
|
|
2849
|
+
providers: [
|
|
2850
|
+
{
|
|
2851
|
+
name: "Allnodes",
|
|
2852
|
+
endpoint: "wss://kusama-rpc.publicnode.com"
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
name: "Blockops",
|
|
2856
|
+
endpoint: "wss://kusama-public-rpc.blockops.network/ws"
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
name: "Dwellir",
|
|
2860
|
+
endpoint: "wss://kusama-rpc.n.dwellir.com"
|
|
2861
|
+
},
|
|
2862
|
+
{
|
|
2863
|
+
name: "Dwellir Tunisia",
|
|
2864
|
+
endpoint: "wss://kusama-rpc-tn.dwellir.com"
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
name: "Helixstreet",
|
|
2868
|
+
endpoint: "wss://rpc-kusama.helixstreet.io"
|
|
2869
|
+
},
|
|
2870
|
+
{
|
|
2871
|
+
name: "IBP1",
|
|
2872
|
+
endpoint: "wss://rpc.ibp.network/kusama"
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
name: "IBP2",
|
|
2876
|
+
endpoint: "wss://kusama.dotters.network"
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
name: "LuckyFriday",
|
|
2880
|
+
endpoint: "wss://rpc-kusama.luckyfriday.io"
|
|
2881
|
+
},
|
|
2882
|
+
{
|
|
2883
|
+
name: "OnFinality",
|
|
2884
|
+
endpoint: "wss://kusama.api.onfinality.io/public-ws"
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
name: "RadiumBlock",
|
|
2888
|
+
endpoint: "wss://kusama.public.curie.radiumblock.co/ws"
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
name: "Stakeworld",
|
|
2892
|
+
endpoint: "wss://ksm-rpc.stakeworld.io"
|
|
2893
|
+
}
|
|
2894
|
+
]
|
|
2895
|
+
};
|
|
2896
|
+
var Westend = {
|
|
2897
|
+
name: "Westend Relay",
|
|
2898
|
+
info: "westend",
|
|
2899
|
+
paraId: 0,
|
|
2900
|
+
providers: [
|
|
2901
|
+
{
|
|
2902
|
+
name: "Dwellir",
|
|
2903
|
+
endpoint: "wss://westend-rpc.n.dwellir.com"
|
|
2904
|
+
},
|
|
2905
|
+
{
|
|
2906
|
+
name: "Dwellir Tunisia",
|
|
2907
|
+
endpoint: "wss://westend-rpc-tn.dwellir.com"
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
name: "OnFinality",
|
|
2911
|
+
endpoint: "wss://westend.api.onfinality.io/public-ws"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
name: "Parity",
|
|
2915
|
+
endpoint: "wss://westend-rpc.polkadot.io"
|
|
2916
|
+
},
|
|
2917
|
+
{
|
|
2918
|
+
name: "RadiumBlock",
|
|
2919
|
+
endpoint: "wss://westend.public.curie.radiumblock.co/ws"
|
|
2920
|
+
}
|
|
2921
|
+
]
|
|
2986
2922
|
};
|
|
2987
|
-
var
|
|
2988
|
-
|
|
2923
|
+
var Paseo = {
|
|
2924
|
+
name: "Paseo Relay",
|
|
2925
|
+
info: "paseo",
|
|
2926
|
+
paraId: 0,
|
|
2927
|
+
providers: [
|
|
2928
|
+
{
|
|
2929
|
+
name: "Amforc",
|
|
2930
|
+
endpoint: "wss://paseo.rpc.amforc.com"
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
name: "Dwellir",
|
|
2934
|
+
endpoint: "wss://paseo-rpc.n.dwellir.com"
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
name: "IBP1",
|
|
2938
|
+
endpoint: "wss://rpc.ibp.network/paseo"
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
name: "IBP2",
|
|
2942
|
+
endpoint: "wss://paseo.dotters.network"
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
name: "StakeWorld",
|
|
2946
|
+
endpoint: "wss://pas-rpc.stakeworld.io"
|
|
2947
|
+
}
|
|
2948
|
+
]
|
|
2989
2949
|
};
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2950
|
+
var configs = {
|
|
2951
|
+
AssetHubPolkadot: AssetHubPolkadot$1,
|
|
2952
|
+
Acala: Acala$1,
|
|
2953
|
+
Ajuna: Ajuna$1,
|
|
2954
|
+
Astar: Astar$1,
|
|
2955
|
+
BifrostPolkadot: BifrostPolkadot$1,
|
|
2956
|
+
BridgeHubPolkadot: BridgeHubPolkadot$1,
|
|
2957
|
+
Centrifuge: Centrifuge$1,
|
|
2958
|
+
ComposableFinance: ComposableFinance$1,
|
|
2959
|
+
Darwinia: Darwinia$1,
|
|
2960
|
+
EnergyWebX: EnergyWebX$1,
|
|
2961
|
+
Hydration: Hydration$1,
|
|
2962
|
+
IntegriteePolkadot: IntegriteePolkadot$1,
|
|
2963
|
+
Interlay: Interlay$1,
|
|
2964
|
+
Heima: Heima$1,
|
|
2965
|
+
Jamton: Jamton$1,
|
|
2966
|
+
Moonbeam: Moonbeam$1,
|
|
2967
|
+
CoretimePolkadot: CoretimePolkadot$1,
|
|
2968
|
+
Collectives: Collectives$1,
|
|
2969
|
+
Crust: Crust$1,
|
|
2970
|
+
Manta: Manta$1,
|
|
2971
|
+
Nodle: Nodle$1,
|
|
2972
|
+
NeuroWeb: NeuroWeb$1,
|
|
2973
|
+
Pendulum: Pendulum$1,
|
|
2974
|
+
Phala: Phala$1,
|
|
2975
|
+
Subsocial: Subsocial$1,
|
|
2976
|
+
KiltSpiritnet: KiltSpiritnet$1,
|
|
2977
|
+
Curio: Curio$1,
|
|
2978
|
+
Mythos: Mythos$1,
|
|
2979
|
+
Peaq: Peaq$1,
|
|
2980
|
+
Polimec: Polimec$1,
|
|
2981
|
+
RobonomicsPolkadot: RobonomicsPolkadot$1,
|
|
2982
|
+
PeoplePolkadot: PeoplePolkadot$1,
|
|
2983
|
+
Unique: Unique$1,
|
|
2984
|
+
Xode: Xode$1,
|
|
2985
|
+
AssetHubKusama: AssetHubKusama$1,
|
|
2986
|
+
BridgeHubKusama: BridgeHubKusama$1,
|
|
2987
|
+
IntegriteeKusama: IntegriteeKusama$1,
|
|
2988
|
+
Karura: Karura$1,
|
|
2989
|
+
Kintsugi: Kintsugi$1,
|
|
2990
|
+
Moonriver: Moonriver$1,
|
|
2991
|
+
CoretimeKusama: CoretimeKusama$1,
|
|
2992
|
+
Encointer: Encointer$1,
|
|
2993
|
+
Altair: Altair$1,
|
|
2994
|
+
Amplitude: Amplitude$1,
|
|
2995
|
+
Basilisk: Basilisk$1,
|
|
2996
|
+
BifrostKusama: BifrostKusama$1,
|
|
2997
|
+
CrustShadow: CrustShadow$1,
|
|
2998
|
+
Crab: Crab$1,
|
|
2999
|
+
Laos: Laos$1,
|
|
3000
|
+
Quartz: Quartz$1,
|
|
3001
|
+
RobonomicsKusama: RobonomicsKusama$1,
|
|
3002
|
+
PeopleKusama: PeopleKusama$1,
|
|
3003
|
+
Shiden: Shiden$1,
|
|
3004
|
+
Zeitgeist: Zeitgeist$1,
|
|
3005
|
+
AssetHubWestend: AssetHubWestend$1,
|
|
3006
|
+
BridgeHubWestend: BridgeHubWestend$1,
|
|
3007
|
+
CollectivesWestend: CollectivesWestend$1,
|
|
3008
|
+
CoretimeWestend: CoretimeWestend$1,
|
|
3009
|
+
Penpal: Penpal$1,
|
|
3010
|
+
PeopleWestend: PeopleWestend$1,
|
|
3011
|
+
AjunaPaseo: AjunaPaseo$1,
|
|
3012
|
+
AssetHubPaseo: AssetHubPaseo$1,
|
|
3013
|
+
BifrostPaseo: BifrostPaseo$1,
|
|
3014
|
+
BridgeHubPaseo: BridgeHubPaseo$1,
|
|
3015
|
+
CoretimePaseo: CoretimePaseo$1,
|
|
3016
|
+
EnergyWebXPaseo: EnergyWebXPaseo$1,
|
|
3017
|
+
HeimaPaseo: HeimaPaseo$1,
|
|
3018
|
+
HydrationPaseo: HydrationPaseo$1,
|
|
3019
|
+
IntegriteePaseo: IntegriteePaseo$1,
|
|
3020
|
+
KiltPaseo: KiltPaseo$1,
|
|
3021
|
+
LaosPaseo: LaosPaseo$1,
|
|
3022
|
+
NeuroWebPaseo: NeuroWebPaseo$1,
|
|
3023
|
+
NodlePaseo: NodlePaseo$1,
|
|
3024
|
+
PAssetHub: PAssetHub$1,
|
|
3025
|
+
PeoplePaseo: PeoplePaseo$1,
|
|
3026
|
+
ZeitgeistPaseo: ZeitgeistPaseo$1,
|
|
3027
|
+
Polkadot: Polkadot,
|
|
3028
|
+
Kusama: Kusama,
|
|
3029
|
+
Westend: Westend,
|
|
3030
|
+
Paseo: Paseo
|
|
2996
3031
|
};
|
|
2997
3032
|
|
|
2998
|
-
var
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
} : {
|
|
3002
|
-
X1: [junction]
|
|
3003
|
-
};
|
|
3033
|
+
var configsMap = configs;
|
|
3034
|
+
var getChainConfig = function getChainConfig(chain) {
|
|
3035
|
+
return configsMap[chain];
|
|
3004
3036
|
};
|
|
3005
3037
|
|
|
3006
|
-
var
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
} : {
|
|
3012
|
-
AccountId32: {
|
|
3013
|
-
id: api.accountToHex(address)
|
|
3014
|
-
}
|
|
3015
|
-
};
|
|
3016
|
-
};
|
|
3017
|
-
var createBeneficiaryLocXTokens = function createBeneficiaryLocXTokens(_ref) {
|
|
3018
|
-
var api = _ref.api,
|
|
3019
|
-
recipientAddress = _ref.address,
|
|
3020
|
-
origin = _ref.origin,
|
|
3021
|
-
destination = _ref.destination,
|
|
3022
|
-
version = _ref.version,
|
|
3023
|
-
paraId = _ref.paraId;
|
|
3024
|
-
if (sdkCommon.isTLocation(recipientAddress)) {
|
|
3025
|
-
return recipientAddress;
|
|
3026
|
-
}
|
|
3027
|
-
var scenario = resolveScenario(origin, destination);
|
|
3028
|
-
var accountPayload = createAccountPayload(api, recipientAddress);
|
|
3029
|
-
if (scenario === 'ParaToRelay') {
|
|
3030
|
-
return {
|
|
3031
|
-
parents: sdkCommon.Parents.ONE,
|
|
3032
|
-
interior: createX1Payload(version, {
|
|
3033
|
-
AccountId32: {
|
|
3034
|
-
id: api.accountToHex(recipientAddress)
|
|
3035
|
-
}
|
|
3036
|
-
})
|
|
3037
|
-
};
|
|
3038
|
-
} else if (scenario === 'ParaToPara') {
|
|
3039
|
-
return {
|
|
3040
|
-
parents: sdkCommon.Parents.ONE,
|
|
3041
|
-
interior: {
|
|
3042
|
-
X2: [{
|
|
3043
|
-
Parachain: paraId
|
|
3044
|
-
}, accountPayload]
|
|
3045
|
-
}
|
|
3046
|
-
};
|
|
3038
|
+
var getChainProviders = function getChainProviders(chain) {
|
|
3039
|
+
var _getChainConfig = getChainConfig(chain),
|
|
3040
|
+
providers = _getChainConfig.providers;
|
|
3041
|
+
if (providers.length === 0) {
|
|
3042
|
+
throw new InvalidParameterError("No providers found for chain ".concat(chain));
|
|
3047
3043
|
}
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
};
|
|
3044
|
+
// Prefer Dwellir provider
|
|
3045
|
+
providers.sort(function (a, b) {
|
|
3046
|
+
return (a.name === 'Dwellir' ? 0 : 1) - (b.name === 'Dwellir' ? 0 : 1);
|
|
3047
|
+
});
|
|
3048
|
+
return providers.map(function (p) {
|
|
3049
|
+
return p.endpoint;
|
|
3050
|
+
});
|
|
3052
3051
|
};
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3052
|
+
|
|
3053
|
+
/**
|
|
3054
|
+
* Retrieves the parachain ID for a specified chain.
|
|
3055
|
+
*
|
|
3056
|
+
* @param chain - The chain for which to get the paraId.
|
|
3057
|
+
* @returns The parachain ID of the chain.
|
|
3058
|
+
*/
|
|
3059
|
+
var getParaId = function getParaId(chain) {
|
|
3060
|
+
if (chain === 'Ethereum') {
|
|
3061
|
+
return ETH_PARA_ID;
|
|
3062
|
+
}
|
|
3063
|
+
return getChainConfig(chain).paraId;
|
|
3063
3064
|
};
|
|
3064
3065
|
|
|
3065
3066
|
var getChainLocation = function getChainLocation(chain, destChain) {
|
|
@@ -5315,19 +5316,18 @@ var dryRunInternal = /*#__PURE__*/function () {
|
|
|
5315
5316
|
initialForwardedXcms = originDryModified.forwardedXcms, initialDestParaId = originDryModified.destParaId;
|
|
5316
5317
|
processHop = /*#__PURE__*/function () {
|
|
5317
5318
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
|
|
5318
|
-
var hopApi, currentChain, currentOrigin, currentAsset, forwardedXcms, hasPassedExchange,
|
|
5319
|
+
var hopApi, currentChain, currentOrigin, currentAsset, forwardedXcms, hasPassedExchange, hopAsset, _findAssetInfoOnDest, hopDryRun;
|
|
5319
5320
|
return _regenerator().w(function (_context) {
|
|
5320
5321
|
while (1) switch (_context.n) {
|
|
5321
5322
|
case 0:
|
|
5322
|
-
hopApi = params.api, currentChain = params.currentChain, currentOrigin = params.currentOrigin, currentAsset = params.currentAsset, forwardedXcms = params.forwardedXcms, hasPassedExchange = params.hasPassedExchange
|
|
5323
|
+
hopApi = params.api, currentChain = params.currentChain, currentOrigin = params.currentOrigin, currentAsset = params.currentAsset, forwardedXcms = params.forwardedXcms, hasPassedExchange = params.hasPassedExchange;
|
|
5323
5324
|
if (asset.location && asset.location.parents === sdkCommon.Parents.TWO) {
|
|
5324
5325
|
hopAsset = assets.findNativeAssetInfoOrThrow(getRelayChainOf(currentChain));
|
|
5325
5326
|
} else if (hasPassedExchange && swapConfig && currentChain !== swapConfig.exchangeChain) {
|
|
5326
5327
|
hopAsset = assets.findAssetOnDestOrThrow(swapConfig.exchangeChain, currentChain, swapConfig.currencyTo);
|
|
5327
|
-
} else if (isDestination) {
|
|
5328
|
-
hopAsset = assets.findAssetOnDestOrThrow(origin, currentChain, currency);
|
|
5329
5328
|
} else {
|
|
5330
5329
|
hopAsset = asset;
|
|
5330
|
+
hopAsset = (_findAssetInfoOnDest = assets.findAssetInfoOnDest(origin, currentChain, currency)) !== null && _findAssetInfoOnDest !== void 0 ? _findAssetInfoOnDest : asset;
|
|
5331
5331
|
}
|
|
5332
5332
|
if (assets.hasDryRunSupport(currentChain)) {
|
|
5333
5333
|
_context.n = 1;
|
|
@@ -11467,7 +11467,7 @@ var getXcmFeeInternal = /*#__PURE__*/function () {
|
|
|
11467
11467
|
case 10:
|
|
11468
11468
|
processHop = /*#__PURE__*/function () {
|
|
11469
11469
|
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(params) {
|
|
11470
|
-
var hopApi, currentChain, currentOrigin, currentAsset, forwardedXcms, hasPassedExchange, hopAsset, hopResult;
|
|
11470
|
+
var hopApi, currentChain, currentOrigin, currentAsset, forwardedXcms, hasPassedExchange, hopAsset, _findAssetInfoOnDest, hopResult;
|
|
11471
11471
|
return _regenerator().w(function (_context) {
|
|
11472
11472
|
while (1) switch (_context.n) {
|
|
11473
11473
|
case 0:
|
|
@@ -11475,10 +11475,8 @@ var getXcmFeeInternal = /*#__PURE__*/function () {
|
|
|
11475
11475
|
if (!(currentAsset.location && currentAsset.location.parents === sdkCommon.Parents.TWO)) {
|
|
11476
11476
|
if (hasPassedExchange && swapConfig && currentChain !== swapConfig.exchangeChain) {
|
|
11477
11477
|
hopAsset = assets.findAssetOnDestOrThrow(swapConfig.exchangeChain, currentChain, swapConfig.currencyTo);
|
|
11478
|
-
} else if (destination === currentChain) {
|
|
11479
|
-
hopAsset = assets.findAssetOnDestOrThrow(origin, currentChain, currency);
|
|
11480
11478
|
} else {
|
|
11481
|
-
hopAsset = currentAsset;
|
|
11479
|
+
hopAsset = (_findAssetInfoOnDest = assets.findAssetInfoOnDest(origin, currentChain, currency)) !== null && _findAssetInfoOnDest !== void 0 ? _findAssetInfoOnDest : currentAsset;
|
|
11482
11480
|
}
|
|
11483
11481
|
} else {
|
|
11484
11482
|
hopAsset = assets.findNativeAssetInfoOrThrow(getRelayChainOf(currentChain));
|
|
@@ -12160,83 +12158,56 @@ var buildDestInfo = /*#__PURE__*/function () {
|
|
|
12160
12158
|
|
|
12161
12159
|
var buildHopInfo = /*#__PURE__*/function () {
|
|
12162
12160
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(_ref) {
|
|
12163
|
-
var api, chain, feeData, originChain, asset, currency,
|
|
12161
|
+
var api, chain, feeData, originChain, asset, currency, hopApi, xcmFeeDetails, isBridgeHub, hopAsset, hopCurrencyPayload, ed;
|
|
12164
12162
|
return _regenerator().w(function (_context) {
|
|
12165
12163
|
while (1) switch (_context.p = _context.n) {
|
|
12166
12164
|
case 0:
|
|
12167
|
-
api = _ref.api, chain = _ref.chain, feeData = _ref.feeData, originChain = _ref.originChain, asset = _ref.asset, currency = _ref.currency
|
|
12165
|
+
api = _ref.api, chain = _ref.chain, feeData = _ref.feeData, originChain = _ref.originChain, asset = _ref.asset, currency = _ref.currency;
|
|
12168
12166
|
hopApi = api.clone();
|
|
12169
12167
|
_context.n = 1;
|
|
12170
12168
|
return hopApi.init(chain);
|
|
12171
12169
|
case 1:
|
|
12172
12170
|
hopApi.setDisconnectAllowed(false);
|
|
12173
12171
|
_context.p = 2;
|
|
12174
|
-
resolvedAddress = assets.isChainEvm(originChain) && ahAddress ? ahAddress : senderAddress;
|
|
12175
|
-
_context.n = 3;
|
|
12176
|
-
return getBalanceNativeInternal({
|
|
12177
|
-
api: hopApi,
|
|
12178
|
-
address: resolvedAddress,
|
|
12179
|
-
chain: chain
|
|
12180
|
-
});
|
|
12181
|
-
case 3:
|
|
12182
|
-
nativeBalanceOnHop = _context.v;
|
|
12183
|
-
nativeAssetSymbolOnHop = assets.getNativeAssetSymbol(chain);
|
|
12184
12172
|
xcmFeeDetails = {
|
|
12185
12173
|
fee: feeData.fee,
|
|
12186
|
-
|
|
12187
|
-
currencySymbol: nativeAssetSymbolOnHop,
|
|
12174
|
+
currencySymbol: asset.symbol,
|
|
12188
12175
|
asset: asset
|
|
12189
12176
|
};
|
|
12190
12177
|
isBridgeHub = chain.includes('BridgeHub');
|
|
12191
12178
|
if (!isBridgeHub) {
|
|
12192
|
-
_context.n =
|
|
12179
|
+
_context.n = 3;
|
|
12193
12180
|
break;
|
|
12194
12181
|
}
|
|
12195
12182
|
return _context.a(2, {
|
|
12196
12183
|
currencySymbol: assets.getNativeAssetSymbol(chain),
|
|
12197
12184
|
xcmFee: xcmFeeDetails
|
|
12198
12185
|
});
|
|
12199
|
-
case
|
|
12186
|
+
case 3:
|
|
12200
12187
|
hopAsset = assets.findAssetOnDestOrThrow(originChain, chain, currency);
|
|
12201
12188
|
hopCurrencyPayload = hopAsset.location ? {
|
|
12202
12189
|
location: hopAsset.location
|
|
12203
12190
|
} : {
|
|
12204
12191
|
symbol: hopAsset.symbol
|
|
12205
12192
|
};
|
|
12206
|
-
|
|
12207
|
-
return getAssetBalanceInternal({
|
|
12208
|
-
api: hopApi,
|
|
12209
|
-
address: resolvedAddress,
|
|
12210
|
-
chain: chain,
|
|
12211
|
-
currency: hopCurrencyPayload
|
|
12212
|
-
});
|
|
12213
|
-
case 5:
|
|
12214
|
-
balance = _context.v;
|
|
12215
|
-
ed = assets.getExistentialDeposit(chain, hopCurrencyPayload);
|
|
12216
|
-
if (ed) {
|
|
12217
|
-
_context.n = 6;
|
|
12218
|
-
break;
|
|
12219
|
-
}
|
|
12220
|
-
throw new InvalidParameterError("Existential deposit not found for chain ".concat(chain, " with currency ").concat(JSON.stringify(hopCurrencyPayload)));
|
|
12221
|
-
case 6:
|
|
12193
|
+
ed = assets.getExistentialDepositOrThrow(chain, hopCurrencyPayload);
|
|
12222
12194
|
return _context.a(2, {
|
|
12223
|
-
balance: balance,
|
|
12224
12195
|
currencySymbol: hopAsset.symbol,
|
|
12225
12196
|
asset: hopAsset,
|
|
12226
|
-
existentialDeposit:
|
|
12197
|
+
existentialDeposit: ed,
|
|
12227
12198
|
xcmFee: xcmFeeDetails
|
|
12228
12199
|
});
|
|
12229
|
-
case
|
|
12230
|
-
_context.p =
|
|
12200
|
+
case 4:
|
|
12201
|
+
_context.p = 4;
|
|
12231
12202
|
hopApi.setDisconnectAllowed(true);
|
|
12232
|
-
_context.n =
|
|
12203
|
+
_context.n = 5;
|
|
12233
12204
|
return hopApi.disconnect();
|
|
12234
|
-
case
|
|
12235
|
-
return _context.f(
|
|
12236
|
-
case
|
|
12205
|
+
case 5:
|
|
12206
|
+
return _context.f(4);
|
|
12207
|
+
case 6:
|
|
12237
12208
|
return _context.a(2);
|
|
12238
12209
|
}
|
|
12239
|
-
}, _callee, null, [[2,,
|
|
12210
|
+
}, _callee, null, [[2,, 4, 6]]);
|
|
12240
12211
|
}));
|
|
12241
12212
|
return function buildHopInfo(_x) {
|
|
12242
12213
|
return _ref2.apply(this, arguments);
|
|
@@ -14377,6 +14348,41 @@ var GeneralBuilder = /*#__PURE__*/function () {
|
|
|
14377
14348
|
}
|
|
14378
14349
|
return getTransferInfo$1;
|
|
14379
14350
|
}()
|
|
14351
|
+
/**
|
|
14352
|
+
* Returns the receivable amount on the destination after the transfer
|
|
14353
|
+
*
|
|
14354
|
+
* @returns The computed receivable amount.
|
|
14355
|
+
* @throws \{UnableToComputeError\} Thrown when the receivable amount cannot be determined.
|
|
14356
|
+
*/
|
|
14357
|
+
)
|
|
14358
|
+
}, {
|
|
14359
|
+
key: "getReceivableAmount",
|
|
14360
|
+
value: (function () {
|
|
14361
|
+
var _getReceivableAmount = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee14() {
|
|
14362
|
+
var _yield$this$getTransf, receivedAmount;
|
|
14363
|
+
return _regenerator().w(function (_context14) {
|
|
14364
|
+
while (1) switch (_context14.n) {
|
|
14365
|
+
case 0:
|
|
14366
|
+
_context14.n = 1;
|
|
14367
|
+
return this.getTransferInfo();
|
|
14368
|
+
case 1:
|
|
14369
|
+
_yield$this$getTransf = _context14.v;
|
|
14370
|
+
receivedAmount = _yield$this$getTransf.destination.receivedCurrency.receivedAmount;
|
|
14371
|
+
if (!(receivedAmount instanceof UnableToComputeError)) {
|
|
14372
|
+
_context14.n = 2;
|
|
14373
|
+
break;
|
|
14374
|
+
}
|
|
14375
|
+
throw receivedAmount;
|
|
14376
|
+
case 2:
|
|
14377
|
+
return _context14.a(2, receivedAmount);
|
|
14378
|
+
}
|
|
14379
|
+
}, _callee14, this);
|
|
14380
|
+
}));
|
|
14381
|
+
function getReceivableAmount() {
|
|
14382
|
+
return _getReceivableAmount.apply(this, arguments);
|
|
14383
|
+
}
|
|
14384
|
+
return getReceivableAmount;
|
|
14385
|
+
}()
|
|
14380
14386
|
/**
|
|
14381
14387
|
* Returns the API instance used by the builder.
|
|
14382
14388
|
*
|