import { IBlockchainExplorer } from '../explorer/IBlockchainExplorer'; import { IContractDetails } from '../models/IContractDetails'; import { TAddress } from '../models/TAddress'; interface IContract { address: TAddress; abi: string; name?: string; } export interface IContractProvider { getAbi(address: string): Promise; getInfo(address: string): Promise; } export declare class ContractProvider implements IContractProvider { api: IBlockchainExplorer; constructor(api?: IBlockchainExplorer); getByName(name: string): Promise; getByAddress(address: string): Promise; getAbi(address: TAddress): Promise; getInfo(q: string): Promise; } export {};