From ac4a1769d4823f6822e84bd0367ed5bb94391be9 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Wed, 25 Sep 2024 14:06:35 +0300 Subject: [PATCH] description --- packages/tasks/src/evmCall.ts | 2 +- packages/tasks/src/evmDepositAndCall.ts | 2 +- packages/tasks/src/zetachainCall.ts | 4 ++-- packages/tasks/src/zetachainWithdrawAndCall.ts | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/tasks/src/evmCall.ts b/packages/tasks/src/evmCall.ts index 2ffe27da..c99f8e2a 100644 --- a/packages/tasks/src/evmCall.ts +++ b/packages/tasks/src/evmCall.ts @@ -62,5 +62,5 @@ task("evm-call", "Call a universal app", evmCall) types.int ) .addOptionalParam("revertMessage", "Revert message", "0x") - .addParam("types", "The types of the parameters (example: ['string'])") + .addParam("types", `The types of the parameters (example: '["string"]')`) .addVariadicPositionalParam("values", "The values of the parameters"); diff --git a/packages/tasks/src/evmDepositAndCall.ts b/packages/tasks/src/evmDepositAndCall.ts index d8ef5817..c221f154 100644 --- a/packages/tasks/src/evmDepositAndCall.ts +++ b/packages/tasks/src/evmDepositAndCall.ts @@ -72,5 +72,5 @@ task("evm-deposit-and-call", "Deposit tokens", evmDepositAndCall) .addOptionalParam("revertMessage", "Revert message", "0x") .addParam("amount", "amount of ETH to send with the transaction") .addOptionalParam("erc20", "ERC-20 token address") - .addParam("types", "The types of the parameters (example: ['string'])") + .addParam("types", `The types of the parameters (example: '["string"]')`) .addVariadicPositionalParam("values", "The values of the parameters"); diff --git a/packages/tasks/src/zetachainCall.ts b/packages/tasks/src/zetachainCall.ts index 9ccc48d9..9c8bb1f9 100644 --- a/packages/tasks/src/zetachainCall.ts +++ b/packages/tasks/src/zetachainCall.ts @@ -78,6 +78,6 @@ task("zetachain-call", "Call a contract on a connected chain", zetachainCall) 7000000, types.int ) - .addParam("function", "Function to call (example: 'hello(string)')") - .addParam("types", "The types of the parameters (example: ['string'])") + .addParam("function", `Function to call (example: "hello(string)")`) + .addParam("types", `The types of the parameters (example: '["string"]')`) .addVariadicPositionalParam("values", "The values of the parameters"); diff --git a/packages/tasks/src/zetachainWithdrawAndCall.ts b/packages/tasks/src/zetachainWithdrawAndCall.ts index 4f9450ab..0061f790 100644 --- a/packages/tasks/src/zetachainWithdrawAndCall.ts +++ b/packages/tasks/src/zetachainWithdrawAndCall.ts @@ -79,6 +79,6 @@ task( types.int ) .addParam("amount", "The amount of tokens to send") - .addParam("function", "Function to call (example: 'hello(string)')") - .addParam("types", "The types of the parameters (example: ['string'])") + .addParam("function", `Function to call (example: "hello(string)")`) + .addParam("types", `The types of the parameters (example: '["string"]')`) .addVariadicPositionalParam("values", "The values of the parameters");