Skip to content

Commit

Permalink
remove default uniswap address
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Nov 18, 2024
1 parent 9985dc7 commit 757c438
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
6 changes: 1 addition & 5 deletions examples/nft/tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,4 @@ task("deploy", "Deploy the NFT contract", main)
"Gas price for deploy transaction",
"10000000000"
)
.addOptionalParam(
"uniswapRouter",
"Uniswap v2 Router address (default: ZetaChain TestnetGateway)",
"0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe"
);
.addOptionalParam("uniswapRouter", "Uniswap v2 Router address");
6 changes: 1 addition & 5 deletions examples/swap/tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ const main = async (args: any, hre: HardhatRuntimeEnvironment) => {
task("deploy", "Deploy the contract", main)
.addFlag("json", "Output in JSON")
.addOptionalParam("name", "Contract to deploy", "Swap")
.addOptionalParam(
"uniswapRouter",
"Uniswap v2 Router address (default: ZetaChain TestnetGateway)",
"0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe"
)
.addOptionalParam("uniswapRouter", "Uniswap v2 Router address")
.addOptionalParam(
"gateway",
"Gateway address (default: ZetaChain Gateway)",
Expand Down
6 changes: 1 addition & 5 deletions examples/token/tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,4 @@ task("deploy", "Deploy the NFT contract", main)
"Gateway address (default: ZetaChain Gateway)",
"0x6c533f7fe93fae114d0954697069df33c9b74fd7"
)
.addOptionalParam(
"uniswapRouter",
"Uniswap v2 Router address (default: ZetaChain TestnetGateway)",
"0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe"
);
.addOptionalParam("uniswapRouter", "Uniswap v2 Router address");

0 comments on commit 757c438

Please sign in to comment.