Uniswap / v3-subgraph

Subgraph for Uniswap V3
GNU General Public License v3.0
337 stars 467 forks source link

volumeUSD Query > $1B returns pool with volumeUSD = 0 #127

Open ratankaliani opened 2 years ago

ratankaliani commented 2 years ago

volumeUSD queries unable to handle gt case, might be issue with types?

Ran the following query { pools(where: {totalValueLockedUSD_gt: 1000000000}) { id feeTier token0 { id symbol } token1 { id symbol } feeTier volumeUSD } }

Outputted { "id": "0xa850478adaace4c08fc61de44d8cf3b64f359bec", "feeTier": "500", "token0": { "id": "0x12b32f10a499bf40db334efe04226cca00bf2d9b", "symbol": "UMIIE" }, "token1": { "id": "0x5ed60a121159481675bad3e648ba4c89753e056f", "symbol": "UMIIE2" }, "volumeUSD": "0" }