Remove ContractInterface and update readme subgraph source

This commit is contained in:
Nabarun 2024-06-26 15:20:18 +05:30
parent 978ba8a71a
commit 83bd7f2cb2
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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);
}