Skip to content

Commit

Permalink
token: deploy task
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Nov 18, 2024
1 parent 1495357 commit 1df6664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/token/tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const main = async (args: any, hre: HardhatRuntimeEnvironment) => {
args.tokenName,
args.tokenSymbol,
args.gasLimit,
...(args.systemContract ? [args.systemContract] : [])
...(args.uniswapRouter ? [args.uniswapRouter] : [])
);
await contract.deployed();

Expand Down Expand Up @@ -54,4 +54,4 @@ task("deploy", "Deploy the NFT contract", main)
"Gateway address (default: ZetaChain Gateway)",
"0x5FC8d32690cc91D4c39d9d3abcBD16989F875707"
)
.addOptionalParam("systemContract", "System contract address");
.addOptionalParam("uniswapRouter", "Uniswap v2 Router address on ZetaChain");

0 comments on commit 1df6664

Please sign in to comment.