From 00f5a8c7da24a0188b32f8bec607c0ace1bd0c0b Mon Sep 17 00:00:00 2001 From: Galaxy <30950645+GalaxySciTech@users.noreply.github.com> Date: Fri, 26 Jul 2024 12:03:37 +0400 Subject: [PATCH] Update simpletokendeploy.js --- applications/subswap/contract/scripts/simpletokendeploy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/subswap/contract/scripts/simpletokendeploy.js b/applications/subswap/contract/scripts/simpletokendeploy.js index 16f1501..69fea7f 100644 --- a/applications/subswap/contract/scripts/simpletokendeploy.js +++ b/applications/subswap/contract/scripts/simpletokendeploy.js @@ -14,15 +14,15 @@ async function main() { console.log(token); - const treasuryToken = await factory.deploy( + const simpleToken = await factory.deploy( token.name, token.symbol, token.initSupply ); - await treasuryToken.deployed(); + await simpleToken.deployed(); - console.log("ERC20 " + token.name + " deploy to ", treasuryToken.address); + console.log("ERC20 " + token.name + " deploy to ", simpleToken.address); } // We recommend this pattern to be able to use async/await everywhere