UNPKG

dop-stick

Version:

Source control tooling for versionable-upgradeable smart contracts

33 lines 1.06 kB
import { ethers } from 'ethers'; import { PreDeploymentCheck } from '../../../types/upgrade'; export interface NetworkInfo { name: string; chainId: number; gasPrice: number; } export declare class DeploymentLogAdapter { private networkInfo?; private totalModules; private currentModule; private currentLine; startDeployment(networkInfo: NetworkInfo): void; logPreDeploymentChecks(checks: PreDeploymentCheck[]): void; setTotalModules(total: number): void; startModuleDeployment(moduleName: string, index: number): void; updateModuleProgress(progress: { bytecodeSize?: number; txHash?: string; address?: string; confirmations?: number; gasUsed?: ethers.BigNumber; error?: string; }): void; displaySummary(results: Array<{ moduleName: string; status: 'success' | 'failed'; address?: string; gasUsed?: ethers.BigNumber; error?: string; }>, duration: number): void; } //# sourceMappingURL=deploymentLogAdapter.d.ts.map