Skip to content

Commit

Permalink
Filter out useless pools (#2205)
Browse files Browse the repository at this point in the history
# Description
Fixes #2204

By filtering out pools that basically don't have meaningful liquidity we
reduce the number of pools from ~1300 to ~500 and also eliminate
problematic pools (with old problematic tokens).

## How to test
Play with unit test `balancer_subgraph_query`
  • Loading branch information
sunce86 authored Dec 22, 2023
1 parent 8627866 commit 10db61f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/shared/src/sources/balancer_v2/graph_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ mod pools_query {
"LiquidityBootstrapping",
"ComposableStable",
]
totalLiquidity_gt: "1" # 1$ value of tokens
}
) {
poolType
Expand Down

0 comments on commit 10db61f

Please sign in to comment.