@curvefi/api 2.65.15 → 2.65.16
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { curve } from "./curve.js";
|
|
1
2
|
export function routeGraphWorker() {
|
|
2
3
|
const GRAPH_MAX_EDGES = 3;
|
|
3
4
|
const SNX = {
|
|
@@ -229,7 +230,7 @@ export function routeGraphWorker() {
|
|
|
229
230
|
// Skip empty pools
|
|
230
231
|
if (chainId === 1 && tvl < 1000)
|
|
231
232
|
continue;
|
|
232
|
-
if (chainId !== 1 && tvl < 100)
|
|
233
|
+
if (chainId !== 1 && !curve.isLiteChain && tvl < 100)
|
|
233
234
|
continue;
|
|
234
235
|
const excludedUnderlyingSwaps = (poolId === 'ib' && chainId === 1) ||
|
|
235
236
|
(poolId === 'geist' && chainId === 250) ||
|