Remove ContractInterface and update readme subgraph source
This commit is contained in:
parent
978ba8a71a
commit
83bd7f2cb2
@ -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
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user