@paraswap/dex-lib 4.2.3-12 → 4.2.3-13
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.
|
@@ -488,7 +488,7 @@ class UniswapV2 extends simple_exchange_1.SimpleExchange {
|
|
|
488
488
|
return [];
|
|
489
489
|
const query = `
|
|
490
490
|
query ($token: Bytes!, $count: Int) {
|
|
491
|
-
pools0: pairs(first: $count, orderBy: reserveUSD, orderDirection: desc, where: {token0: $token, reserve0_gt: 0.
|
|
491
|
+
pools0: pairs(first: $count, orderBy: reserveUSD, orderDirection: desc, where: {token0: $token, reserve0_gt: 0.0001, reserve1_gt: 0.0001}) {
|
|
492
492
|
id
|
|
493
493
|
token0 {
|
|
494
494
|
id
|
|
@@ -500,7 +500,7 @@ class UniswapV2 extends simple_exchange_1.SimpleExchange {
|
|
|
500
500
|
}
|
|
501
501
|
reserveUSD
|
|
502
502
|
}
|
|
503
|
-
pools1: pairs(first: $count, orderBy: reserveUSD, orderDirection: desc, where: {token1: $token, reserve0_gt: 0.
|
|
503
|
+
pools1: pairs(first: $count, orderBy: reserveUSD, orderDirection: desc, where: {token1: $token, reserve0_gt: 0.0001, reserve1_gt: 0.0001}) {
|
|
504
504
|
id
|
|
505
505
|
token0 {
|
|
506
506
|
id
|