"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const hardhat_1 = require("hardhat");
const deploymentConfig_1 = require("../helpers/deploymentConfig");
const func = async function ({ getNamedAccounts, deployments, network }) {
    const { deploy } = deployments;
    const { deployer } = await getNamedAccounts();
    const { wUSDM, USDM } = deploymentConfig_1.ADDRESSES[network.name];
    const resilientOracle = await hardhat_1.ethers.getContract("ResilientOracle");
    await deploy("wUSDM_ERC4626Oracle", {
        contract: "ERC4626Oracle",
        from: deployer,
        log: true,
        deterministicDeployment: false,
        args: [wUSDM, USDM, resilientOracle.address],
    });
};
func.tags = ["wUSDM"];
func.skip = async (hre) => hre.network.name !== "zksyncmainnet" && hre.network.name !== "zksyncsepolia";
exports.default = func;
//# sourceMappingURL=17-deploy-wUSDM-oracle.js.map