"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const func = async function (hre) {
    const { deployments, getNamedAccounts } = hre;
    const { deploy } = deployments;
    const { deployer } = await getNamedAccounts();
    const normalVipTimelockAddress = (await deployments.get("NormalTimelock")).address;
    const vBNBAddress = (await deployments.get("vBNB")).address;
    await deploy("TokenRedeemer", {
        contract: "TokenRedeemer",
        from: deployer,
        log: true,
        autoMine: true,
        args: [normalVipTimelockAddress, vBNBAddress],
    });
};
func.tags = ["TokenRedeemer"];
func.skip = async (hre) => hre.network.name !== "hardhat" && hre.network.name !== "bscmainnet";
exports.default = func;
