Refactor watch-contract CLI to cli package (#245)

* Refactor watch-contract CLI to cli package

* Use watch-contract from cli in eden and erc721 watchers

* Use watch-contract from cli in all watchers

* Pass an object containing clients to refactored CLI

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
prathamesh0
2022-11-21 11:47:23 +04:00
committed by GitHub
co-authored by nabarun
parent a0ba657d17
commit 7520e9012c
74 changed files with 481 additions and 404 deletions
@@ -38,6 +38,10 @@ export class Indexer implements IndexerInterface {
return this._storageLayoutMap;
}
async init (): Promise<void> {
return undefined;
}
getResultEvent (event: EventInterface): ResultEvent {
return getResultEvent(event);
}