diff --git a/packages/hardhat/deploy/00_deploy_your_contract.ts b/packages/hardhat/deploy/00_deploy_your_contract.ts index e6b9904..48d6ab5 100644 --- a/packages/hardhat/deploy/00_deploy_your_contract.ts +++ b/packages/hardhat/deploy/00_deploy_your_contract.ts @@ -26,13 +26,7 @@ const deployYourContract: DeployFunction = async function (hre: HardhatRuntimeEn await deploy("Lottery", { from: deployer, // Contract constructor arguments - args: [ - "Group7LotteryToken", - "G7T", - 10000n, - parseEther('0.0001'), - parseEther("0.00002") - ], + args: ["Group7LotteryToken", "G7T", 10000n, parseEther('0.0001'), parseEther("0.00002")], log: true, // autoMine: can be passed to the deploy function to make the deployment process faster on local networks by // automatically mining the contract deployment transaction. There is no effect on live networks. @@ -41,7 +35,7 @@ const deployYourContract: DeployFunction = async function (hre: HardhatRuntimeEn // Get the deployed contract to interact with it after deploying. const lotteryContract = await hre.ethers.getContract("Lottery", deployer); - console.log("Lottery Contract address:", await lotteryContract.getAddress()) + console.log("Lottery Contract address:", await lotteryContract.getAddress()); console.log("Lottery Token address:", await lotteryContract.paymentToken()); };