@dydxfoundation/governance
Version:
dYdX governance smart contracts
9 lines (8 loc) • 528 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.deployExecutor = void 0;
const types_1 = require("../../../types");
async function deployExecutor(deployer, governorAddress, config) {
return new types_1.Executor__factory(deployer).deploy(governorAddress, config.DELAY, config.GRACE_PERIOD, config.MINIMUM_DELAY, config.MAXIMUM_DELAY, config.PROPOSITION_THRESHOLD, config.VOTING_DURATION_BLOCKS, config.VOTE_DIFFERENTIAL, config.MINIMUM_QUORUM);
}
exports.deployExecutor = deployExecutor;