{"size": 467, "ext": "js", "max_stars_repo_path": "packages/hardhat/scripts/deploy/3-initialize.js", "max_stars_repo_name": "ExtremelySunnyYK/web3-staking", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "packages/hardhat/scripts/deploy/3-initialize.js", "max_issues_repo_name": "ExtremelySunnyYK/web3-staking", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "packages/hardhat/scripts/deploy/3-initialize.js", "max_forks_repo_name": "ExtremelySunnyYK/web3-staking", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.5789473684, "max_line_length": 64, "alphanum_fraction": 0.6852248394}
async function main() {
  const vaultAddress = 'TODO';
  const strategyAddress = 'TODO';
  const options = {gasPrice: 900000000000, gasLimit: 9000000};

  const Vault = await ethers.getContractFactory('PeanutsVault');
  const vault = Vault.attach(vaultAddress);

  await vault.initialize(strategyAddress, options);
  console.log('Vault initialized');
}

main()
  .then(() => process.exit(0))
  .catch((error) => {
    console.error(error);
    process.exit(1);
  });
