From 26e29622e6479926ab329ae7a5a26dd30104ebbc Mon Sep 17 00:00:00 2001 From: ronething-bot Date: Fri, 20 Dec 2024 19:21:13 +0800 Subject: [PATCH] docs: fix typos and grammar in multiple files --- src/pages/sylvia/basics/ibc.mdx | 2 +- src/pages/tutorial/cw-contract/execution.mdx | 2 +- src/pages/tutorial/cw-contract/funds.mdx | 6 +++--- src/pages/wasmd/getting-started/cli.mdx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/sylvia/basics/ibc.mdx b/src/pages/sylvia/basics/ibc.mdx index e7e08aba..124e77b9 100644 --- a/src/pages/sylvia/basics/ibc.mdx +++ b/src/pages/sylvia/basics/ibc.mdx @@ -47,7 +47,7 @@ pub fn ibc_channel_open( } ``` -You can also define a trait for the IBC methods and implement it for on the contract. +You can also define a trait for the IBC methods and implement it on the contract. ```rust {7, 10, 12-13, 21-22}, template="sylvia-empty" #[cfg_attr(not(feature = "library"), entry_point)] diff --git a/src/pages/tutorial/cw-contract/execution.mdx b/src/pages/tutorial/cw-contract/execution.mdx index 3d3d8141..81b2ae7f 100644 --- a/src/pages/tutorial/cw-contract/execution.mdx +++ b/src/pages/tutorial/cw-contract/execution.mdx @@ -11,7 +11,7 @@ The idea of the contract will be easy - every contract admin would be eligible t messages: - `AddMembers` message would allow the admin to add another address to the admin's list -- `Leave` would allow and admin to remove himself from the list +- `Leave` would allow an admin to remove himself from the list Not too complicated. Let's get coding. Start with defining messages: diff --git a/src/pages/tutorial/cw-contract/funds.mdx b/src/pages/tutorial/cw-contract/funds.mdx index 38bc4ac9..86f853e1 100644 --- a/src/pages/tutorial/cw-contract/funds.mdx +++ b/src/pages/tutorial/cw-contract/funds.mdx @@ -11,9 +11,9 @@ special meaning, like being used for paying [staking](https://en.wikipedia.org/wiki/Proof_of_stake) for consensus algorithm, but can be just arbitrary assets. -Native tokens are assigned to their owners but can be transferred. Everything have an address in the -blockchain is eligible to have its native tokens. As a consequence - tokens can be assigned to smart -contracts! Every message sent to the smart contract can have some funds sent with it. In this +Native tokens are assigned to their owners but can be transferred. Everything that has an address in +the blockchain is eligible to have its native tokens. As a consequence - tokens can be assigned to +smart contracts! Every message sent to the smart contract can have some funds sent with it. In this chapter, we will take advantage of that and create a way to reward hard work performed by admins. We will create a new message - `Donate`, which will be used by anyone to donate some funds to admins, divided equally. diff --git a/src/pages/wasmd/getting-started/cli.mdx b/src/pages/wasmd/getting-started/cli.mdx index 67d3956f..8d83de66 100644 --- a/src/pages/wasmd/getting-started/cli.mdx +++ b/src/pages/wasmd/getting-started/cli.mdx @@ -178,7 +178,7 @@ ALICE_ADDR=$(wasmd keys show alice -a --keyring-backend=test) # Retrieve the address of Bob's account BOB_ADDR=$(wasmd keys show bob -a --keyring-backend=test) -# Define init parameters fo the contract +# Define init parameters for the contract INIT="{\"verifier\":\"$ALICE_ADDR\", \"beneficiary\":\"$BOB_ADDR\"}" ```