Changes for supporting multiple data sources for a contract address #4

Merged
ashwin merged 3 commits from ng-multiple-contract-datasources into main 2024-06-26 12:47:31 +00:00
2 changed files with 3 additions and 4 deletions
Showing only changes of commit 83bd7f2cb2 - Show all commits

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