Skip to content

Commit

Permalink
Update simpletokendeploy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
GalaxySciTech committed Jul 26, 2024
1 parent 943c88f commit 00f5a8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions applications/subswap/contract/scripts/simpletokendeploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00f5a8c

Please sign in to comment.