"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const hardhat_1 = require("hardhat");
const deploymentConfig_1 = require("../helpers/deploymentConfig");
const func = async ({ getNamedAccounts, deployments, network }) => {
    const { deploy } = deployments;
    const { deployer } = await getNamedAccounts();
    const proxyOwnerAddress = network.live ? deploymentConfig_1.ADDRESSES[network.name].timelock : deployer;
    await deploy("MockEtherFiLiquidityPool", {
        from: deployer,
        contract: "MockEtherFiLiquidityPool",
        args: [],
        log: true,
        autoMine: true,
        skipIfAlreadyDeployed: true,
    });
    const mockEtherFiLiquidityPool = await hardhat_1.ethers.getContract("MockEtherFiLiquidityPool");
    await mockEtherFiLiquidityPool.transferOwnership(proxyOwnerAddress);
};
exports.default = func;
func.tags = ["weETH"];
func.skip = async (hre) => hre.network.name !== "sepolia";
//# sourceMappingURL=8-dependencies-weETH-oracle.js.map