@ring-protocol/router-sdk 0.1.26 → 0.1.28
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.
|
@@ -1076,6 +1076,7 @@ var MixedRouteTrade = /*#__PURE__*/function () {
|
|
|
1076
1076
|
Protocol["MIXED"] = "MIXED";
|
|
1077
1077
|
})(exports.Protocol || (exports.Protocol = {}));
|
|
1078
1078
|
|
|
1079
|
+
// Helper function to get the pathInput and pathOutput for a FEWV2 / V2 / V3 route
|
|
1079
1080
|
// currency could be native so we check against the wrapped version as they don't support native ETH in path
|
|
1080
1081
|
function getPathToken(currency, pool) {
|
|
1081
1082
|
var isSupportFewV2 = currency.chainId !== sdkCore.ChainId.POLYGON;
|