123456789101112131415161718192021222324 |
- const {getPoolsByNetwork} = require("../utils/layerzero");
- module.exports = async ({ethers, getNamedAccounts, deployments}) => {
- const {deploy} = deployments
- const {deployer} = await getNamedAccounts()
- const mirrorgateEthVault = await ethers.getContract("MirrorgateEthVault");
- const mirrorgateRouter = await ethers.getContract("Router");
- console.log("deployer", deployer);
- console.log("hre.network.name", hre.network.name)
- // fixed poolId is 101
- await deploy("RouterETH", {
- from: deployer,
- log: true,
- skipIfAlreadyDeployed: true,
- waitConfirmations: 1,
- args: [
- mirrorgateEthVault.address,
- mirrorgateRouter.address,
- 0
- ]
- })
- }
- module.exports.tags = ["RouterETH", "test"]
|