Skip to content

Commit

Permalink
sushiswap sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed Nov 21, 2023
1 parent f8fa115 commit c95b5a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adaptors/sushiswap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const blocksPerDay = secondsPerDay / secondsPerBlock;

const query = gql`
{
pairs(first: 1000, orderBy: trackedReserveETH, orderDirection: desc block: {number: <PLACEHOLDER>}) {
pairs(first: 1000, orderBy: reserveETH, orderDirection: desc block: {number: <PLACEHOLDER>}) {
id
reserve0
reserve1
Expand All @@ -74,7 +74,7 @@ const query = gql`

const queryPrior = gql`
{
pairs (first: 1000 orderBy: trackedReserveETH orderDirection: desc block: {number: <PLACEHOLDER>}) {
pairs (first: 1000 orderBy: reserveETH orderDirection: desc block: {number: <PLACEHOLDER>}) {
id
volumeUSD
}
Expand Down

0 comments on commit c95b5a3

Please sign in to comment.