dop-stick
Version:
Source control tooling for versionable-upgradeable smart contracts
31 lines • 1.07 kB
TypeScript
interface DeploymentStats {
bytecodeSize: number;
gasUsed?: string;
ethCost?: string;
blockNumber?: number;
}
export declare class ParallelDeploymentLogAdapter {
private deploymentStates;
private renderedStates;
startParallelDeployment(): void;
logWalletPreparation(wallets: Array<{
moduleName: string;
address: string;
}>): void;
private shouldRenderState;
private getModulePrefix;
private renderDeploymentStates;
startModuleDeployment(moduleName: string, index: number, total: number, stats: DeploymentStats): void;
logTransactionSent(moduleName: string, txHash: string): void;
logDeploymentSuccess(moduleName: string, address: string, stats: DeploymentStats): void;
logDeploymentError(moduleName: string, error: string): void;
logFinalSummary(stats: {
totalModules: number;
totalBytecode: number;
totalGas: string;
totalEth: string;
deploymentTime: number;
}): void;
}
export {};
//# sourceMappingURL=parallelDeploymentLogAdapter.d.ts.map