From 34624608678777cf88a4cb11de75f220a275a941 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 11 Oct 2024 13:46:32 +0530 Subject: [PATCH] Add step to remove a watched contract --- src/indexer.ts | 4 ++++ src/schema.gql | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/indexer.ts b/src/indexer.ts index 7a203d5..a51f39e 100644 --- a/src/indexer.ts +++ b/src/indexer.ts @@ -632,6 +632,10 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.watchContract(address, kind, checkpoint, startingBlock, context); } + async removeContract (address: string, kind: string): Promise { + return this._baseIndexer.removeContract(address, kind); + } + updateStateStatusMap (address: string, stateStatus: StateStatus): void { this._baseIndexer.updateStateStatusMap(address, stateStatus); } diff --git a/src/schema.gql b/src/schema.gql index c3287d5..55c2133 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -10080,7 +10080,7 @@ type Token { decimals: Int tokenType: String! poolCount: BigInt! - pools: [Pool!]! + pools(where: Pool_filter, orderBy: Pool_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Pool!]! totalSupply: BigInt txCount: BigInt! }