"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const deploymentConfig_1 = require("../helpers/deploymentConfig");
const func = async function (hre) {
    const { deployments, getNamedAccounts, ethers } = hre;
    const { deployer } = await getNamedAccounts();
    const deployerSigner = await hre.ethers.getSigner(deployer);
    const vUSDC = await deployments.get("vUSDC");
    const vETH = await deployments.get("vETH");
    const vBNB = await deployments.get("vBNB");
    const comptrollerDeployment = await deployments.get("Unitroller");
    const comptroller = await ethers.getContractAt("ComptrollerMock", comptrollerDeployment.address);
    await comptroller.connect(deployerSigner)._supportMarket(vUSDC.address);
    await comptroller.connect(deployerSigner)._supportMarket(vETH.address);
    await comptroller.connect(deployerSigner)._supportMarket(vBNB.address);
};
func.tags = ["VBep20"];
// This script configures local mocked markets
func.skip = (0, deploymentConfig_1.onlyHardhat)();
exports.default = func;
