Add step to remove a watched contract

This commit is contained in:
Prathamesh Musale 2024-10-11 13:46:32 +05:30
parent 752fcf5593
commit 3462460867
2 changed files with 5 additions and 1 deletions

View File

@ -632,6 +632,10 @@ export class Indexer implements IndexerInterface {
return this._baseIndexer.watchContract(address, kind, checkpoint, startingBlock, context); return this._baseIndexer.watchContract(address, kind, checkpoint, startingBlock, context);
} }
async removeContract (address: string, kind: string): Promise<void> {
return this._baseIndexer.removeContract(address, kind);
}
updateStateStatusMap (address: string, stateStatus: StateStatus): void { updateStateStatusMap (address: string, stateStatus: StateStatus): void {
this._baseIndexer.updateStateStatusMap(address, stateStatus); this._baseIndexer.updateStateStatusMap(address, stateStatus);
} }

View File

@ -10080,7 +10080,7 @@ type Token {
decimals: Int decimals: Int
tokenType: String! tokenType: String!
poolCount: BigInt! poolCount: BigInt!
pools: [Pool!]! pools(where: Pool_filter, orderBy: Pool_orderBy, orderDirection: OrderDirection, first: Int = 100, skip: Int = 0): [Pool!]!
totalSupply: BigInt totalSupply: BigInt
txCount: BigInt! txCount: BigInt!
} }