Refactor create checkpoint CLI to cli package (#247)

* Refactor create checkpoint CLI to cli package

* Update mock indexer
This commit is contained in:
prathamesh0
2022-11-22 10:38:23 +05:30
committed by GitHub
parent 06e5c62fa8
commit 03050e5323
10 changed files with 107 additions and 131 deletions
+1
View File
@@ -119,6 +119,7 @@ export interface IndexerInterface {
processBlockAfterEvents?: (blockHash: string, blockNumber: number) => Promise<void>
processCanonicalBlock (blockHash: string, blockNumber: number): Promise<void>
processCheckpoint (blockHash: string): Promise<void>
processCLICheckpoint (contractAddress: string, blockHash?: string): Promise<string | undefined>
getStorageValue (storageLayout: StorageLayout, blockHash: string, contractAddress: string, variable: string, ...mappingKeys: MappingKey[]): Promise<ValueResult>
updateSubgraphState?: (contractAddress: string, data: any) => void
updateStateStatusMap (address: string, stateStatus: StateStatus): void