{"size": 717, "ext": "js", "max_stars_repo_path": "deploy/scripts/001_upgrade_etaco_chef.js", "max_stars_repo_name": "TacoswapCRD/tacoswap-contracts", "max_stars_repo_stars_event_min_datetime": "2020-12-02T08:49:38.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-13T13:01:28.000Z", "max_issues_repo_path": "deploy/scripts/001_upgrade_etaco_chef.js", "max_issues_repo_name": "TacoswapCRD/tacoswap-contracts", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "deploy/scripts/001_upgrade_etaco_chef.js", "max_forks_repo_name": "TacoswapCRD/tacoswap-contracts", "max_forks_repo_forks_event_min_datetime": "2020-11-02T20:38:56.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-30T04:24:02.000Z"}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": 6, "avg_line_length": 29.875, "max_line_length": 78, "alphanum_fraction": 0.7224546722}
const { ethers } = require("hardhat");
const { eConfig, contractDeploy } = require("../utils")
module.exports = async function (hre) {
  const { IS_UPGRADE, IS_PROXY, UPGRADEABLE_PROXY_ADDRESS } = await eConfig();

  const START_BLOCK = 10958800;

  const etaco = await ethers.getContract("eTacoToken")

  const options = {
    contractName: "eTacoChef",
    isProxy: IS_PROXY,
    isUpgrade: IS_UPGRADE,
    args: [etaco.address, ethers.utils.parseEther("90"), START_BLOCK],
    upgradeableProxyAddress: UPGRADEABLE_PROXY_ADDRESS
  }

  await contractDeploy(hre, options)
}

module.exports.tags = ["eTacoChefV2"]
// module.exports.dependencies = ["eTacoToken", "TacoswapV2Router02"]
module.exports.dependencies = []
