-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix gauge balances query which was broken in BalPoolsGauges
- Loading branch information
BIP Bot
committed
Apr 21, 2024
1 parent
7172ce0
commit 64a68f0
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
query FetchGaugeShares($gaugeAddress: String!, $block: Int) { | ||
gaugeShares( | ||
block: { number: $block } | ||
where: { gauge_contains_nocase: $gaugeAddress, balance_gt: "0" } | ||
orderBy: balance | ||
orderDirection: desc | ||
first: 1000 | ||
) { | ||
balance | ||
id | ||
user { | ||
id | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters