(...msgs: any[])
| 9 | export async function deployContract(hre: HardhatRuntimeEnvironment, contractName: string, initializerArgs: any[] = [], quiet: boolean = false, initializer?: string) { |
| 10 | try { |
| 11 | function log(...msgs: any[]) { |
| 12 | if (!quiet) { |
| 13 | console.log(...msgs); |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | log(`Starting ${contractName} deployment process...`); |
| 18 |