Router.js 507 B

123456789101112131415
  1. // deploys router and connects the three primary contracts of Stargate onto one chain
  2. // this deploy file does not connect these contracts to other contracts.
  3. module.exports = async ({ ethers, getNamedAccounts, deployments }) => {
  4. const { deploy } = deployments
  5. const { deployer } = await getNamedAccounts()
  6. await deploy("Router", {
  7. from: deployer,
  8. log: true,
  9. skipIfAlreadyDeployed: true,
  10. waitConfirmations: 1,
  11. })
  12. }
  13. module.exports.tags = ["Router", "test"]