"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 { WETH, wsuperOETHb } = deploymentConfig_1.ADDRESSES[network.name];
    const resilientOracle = await hardhat_1.ethers.getContract("ResilientOracle");
    await deploy("wsuperOETHb_ERC4626Oracle", {
        contract: "ERC4626Oracle",
        from: deployer,
        log: true,
        deterministicDeployment: false,
        args: [wsuperOETHb, WETH, resilientOracle.address],
    });
};
func.tags = ["wsuperOETHb"];
func.skip = async (hre) => hre.network.name !== "basemainnet" && hre.network.name !== "basesepolia";
exports.default = func;
//# sourceMappingURL=18-deploy-wsuperOETHb-oracle.js.map