UNPKG

@holographxyz/cli

Version:
29 lines (28 loc) 1.04 kB
import { Command } from '@oclif/core'; import { ethers } from 'ethers'; import { ConfigFile } from '../../utils/config'; import { Environment } from '@holographxyz/environment'; export default class Contract extends Command { static LAST_BLOCKS_FILE_NAME: string; static description: string; static examples: string[]; static flags: { address: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>; output: import("@oclif/core/lib/interfaces").OptionFlag<string>; }; registryAddress: string; supportedNetworks: string[]; contractAddress: string; providers: { [key: string]: ethers.providers.JsonRpcProvider | ethers.providers.WebSocketProvider; }; holograph: ethers.Contract; registryContract: ethers.Contract; ownableContract: ethers.Contract; initializeEthers(configFile: ConfigFile, environment: Environment): Promise<void>; validateContractAddress(): Promise<void>; /** * Command Entry Point */ run(): Promise<void>; }