From 185fa7f972a161399d5f4fe102d682f6c7ebd2c8 Mon Sep 17 00:00:00 2001 From: Shahjalal Shohag Date: Sat, 24 Aug 2024 01:42:12 +0600 Subject: [PATCH] removed 0 balance users --- adapters/affine/hourly_blocks.csv | 2 +- adapters/affine/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adapters/affine/hourly_blocks.csv b/adapters/affine/hourly_blocks.csv index c1185f15..3fd00ee9 100644 --- a/adapters/affine/hourly_blocks.csv +++ b/adapters/affine/hourly_blocks.csv @@ -1,2 +1,2 @@ number,timestamp -8431382,1722948881 \ No newline at end of file +8516509,1722948881 \ No newline at end of file diff --git a/adapters/affine/src/index.ts b/adapters/affine/src/index.ts index 37faa782..31187691 100644 --- a/adapters/affine/src/index.ts +++ b/adapters/affine/src/index.ts @@ -11,7 +11,7 @@ const makeBalancesQuery = (blockNumber: number, next = "") => `query { tokenBalances( block: {number: ${blockNumber}}, first: 1000, - where: { id_gt: "${next}" } + where: { id_gt: "${next}", value_gt: 0 } ) { token { id