From 83bd7f2cb2f3e1fc1c8b414cf7db9a212ac47a3f Mon Sep 17 00:00:00 2001 From: Nabarun Date: Wed, 26 Jun 2024 15:20:18 +0530 Subject: [PATCH] Remove ContractInterface and update readme subgraph source --- README.md | 2 +- src/indexer.ts | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0a7eed0..296394d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Source -* Subgraph: [secured-finance-subgraph v0.1.1](https://github.com/cerc-io/secured-finance-subgraph/releases/tag/v0.1.1) +* Subgraph: [secured-finance-subgraph v0.1.2-watcher-0.1.1](https://github.com/cerc-io/secured-finance-subgraph/releases/tag/v0.1.2-watcher-0.1.1) ## Setup diff --git a/src/indexer.ts b/src/indexer.ts index b80a260..2525606 100644 --- a/src/indexer.ts +++ b/src/indexer.ts @@ -33,8 +33,7 @@ import { UpstreamConfig, EthFullBlock, EthFullTransaction, - ExtraEventData, - ContractInterface + ExtraEventData } from '@cerc-io/util'; import { initClients } from '@cerc-io/cli'; import { GraphWatcher } from '@cerc-io/graph-node'; @@ -560,7 +559,7 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.getEventsByFilter(blockHash, contract, name); } - isContractAddressWatched (address : string): ContractInterface[] | undefined { + isContractAddressWatched (address : string): Contract[] | undefined { return this._baseIndexer.isContractAddressWatched(address); }