dop-stick
Version:
Source control tooling for versionable-upgradeable smart contracts
26 lines • 1.05 kB
TypeScript
import { ethers } from 'ethers';
interface NetworkInfo {
name: string;
chainId: number;
diamondAddress: string;
}
export declare class ExecuteUpgradeTimelineAdapter {
private timeline;
private networkInfo?;
constructor();
startUpgrade(networkInfo: NetworkInfo): void;
logPreparation(cuts: number): void;
logGasEstimate(gas: ethers.BigNumber): void;
startExecution(cuts: number, functionName?: string): void;
logTransactionSent(txHash: string): void;
logConfirmation(blockNumber: number, gasUsed: ethers.BigNumber, cost: string): void;
logError(error: string, txHash?: string): void;
logFinalStatus(blockNumber: number, totalGas: ethers.BigNumber, totalCost: string): void;
logInfo(message: string): void;
logSuccess(message: string): void;
logWarning(message: string): void;
logBatchStatus(batchNumber: number, totalBatches: number, moduleCount: number): void;
logBatchProgress(message: string): void;
}
export {};
//# sourceMappingURL=executeUpgradeTimelineAdapter.d.ts.map