async function devDeployHome(
  localDomain,
  controller,
  updaterManagerAddress,
  isTestDeploy,
) {
  const contractStr = isTestDeploy ? 'TestHome' : 'Home';
  const { contracts } = await optics.deployUpgradeSetupAndProxy(
    contractStr,
    [localDomain],
    [updaterManagerAddress],
    controller,
  );

  return contracts;
}
/*
 * Deploy the contracts for an upgradable Home contract (Implementation + UpgradeBeacon + Proxy)
 * on the given domain
 *
 * @param localDomain - domain on which the Home contract will be deployed
 * @param controller - ethers Contract of the UpgradeBeaconController contract
 * @param updaterManager - address of the UpdaterManager contract
 * @param isTestDeploy - boolean, true to deploy the test contract, false otherwise
 *
 * @return contracts - UpgradableContractSetup type for the Home contracts
 */
Deploy the contracts for an upgradable Home contract (Implementation + UpgradeBeacon + Proxy)
on the given domain

@param localDomain - domain on which the Home contract will be deployed
@param controller - ethers Contract of the UpgradeBeaconController contract
@param updaterManager - address of the UpdaterManager contract
@param isTestDeploy - boolean, true to deploy the test contract, false otherwise

@return contracts - UpgradableContractSetup type for the Home contracts
Deploy the contracts for an upgradable Home contract ( Implementation + UpgradeBeacon + Proxy ) on the given domain @param localDomain - domain on which the Home contract will be deployed @param controller - ethers Contract of the UpgradeBeaconController contract @param updaterManager - address of the UpdaterManager contract @param isTestDeploy - boolean true to deploy the test contract false otherwise @return contracts - UpgradableContractSetup type for the Home contracts
async function devDeployHome(
  localDomain,
  controller,
  updaterManagerAddress,
  isTestDeploy,
) {
  const contractStr = isTestDeploy ? 'TestHome' : 'Home';
  const { contracts } = await optics.deployUpgradeSetupAndProxy(
    contractStr,
    [localDomain],
    [updaterManagerAddress],
    controller,
  );
  return contracts;
}
async function devDeployHome ( localDomain , controller , updaterManagerAddress , isTestDeploy , ) { const contractStr = isTestDeploy ? 'TestHome' : 'Home' ; const { contracts } = await optics . deployUpgradeSetupAndProxy ( contractStr , [ localDomain ] , [ updaterManagerAddress ] , controller , ) ; return contracts ; }
Deploy the contracts for an upgradable Home contract (Implementation + UpgradeBeacon + Proxy)
 on the given domain
Deploy the contracts for an upgradable Home contract ( Implementation + UpgradeBeacon + Proxy ) on the given domain