UNPKG

@graphprotocol/graph-cli

Version:

CLI for building for and deploying to The Graph

15 lines (14 loc) 597 B
import { NetworksRegistry } from '@pinax/graph-networks-registry'; import ABI from '../protocols/ethereum/abi.js'; export declare class ContractService { private registry; constructor(registry: NetworksRegistry); private fetchFromEtherscan; private applyVars; private getEtherscanUrls; private getRpcUrls; getABI(ABICtor: typeof ABI, networkId: string, address: string): Promise<ABI>; getStartBlock(networkId: string, address: string): Promise<string>; getContractName(networkId: string, address: string): Promise<string>; private fetchTransactionByHash; }