UNPKG

@dydxfoundation/governance

Version:
16 lines (15 loc) 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const config_1 = require("hardhat/config"); const hre_1 = require("../../src/hre"); const phase_1_1 = require("../../src/migrations/phase-1"); (0, hre_1.hardhatTask)('deploy:phase-1', 'Phase 1 of governance deployment.') .addParam('startStep', 'Which step to start with', 1, config_1.types.int) .addParam('dydxTokenAddress', 'Previously deployed dYdX token address', undefined, config_1.types.string) .addParam('governorAddress', 'Previously deployed dYdX governor address', undefined, config_1.types.string) .addParam('shortTimelockAddress', 'Previously deployed short timelock address', undefined, config_1.types.string) .addParam('longTimelockAddress', 'Previously deployed long timelock address', undefined, config_1.types.string) .addParam('merklePauserTimelockAddress', 'Previously deployed Merkle pauser timelock address', undefined, config_1.types.string) .setAction(async (args) => { await (0, phase_1_1.deployPhase1)(args); });