"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const func = async function (hre) {
    const { deployments, getNamedAccounts, network } = hre;
    const { deploy } = deployments;
    const { deployer } = await getNamedAccounts();
    if (!network.live) {
        await deploy("InterestRateModelVUSDC", {
            contract: "JumpRateModel",
            from: deployer,
            log: true,
            autoMine: true,
            args: [0, "50000000000000000", "1090000000000000000", "800000000000000000"],
        });
        await deploy("InterestRateModelVETH", {
            contract: "JumpRateModel",
            from: deployer,
            log: true,
            autoMine: true,
            args: [0, "40000000000000000", "1080000000000000000", "700000000000000000"],
        });
    }
    if (network.name === "bscmainnet") {
        await deploy("InterestRateModelVBNB", {
            contract: "JumpRateModel",
            from: deployer,
            log: true,
            autoMine: true,
            args: [0, "225000000000000000", "6800000000000000000", "700000000000000000"],
        });
    }
};
func.tags = ["InterestRateModel"];
func.skip = async (hre) => hre.network.name !== "hardhat" && hre.network.name !== "bscmainnet";
exports.default = func;
