Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos #372

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/GUIDE.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -1381,10 +1381,10 @@ near staking \
- [deposit-and-stake](#deposit-and-stake---Delegate-NEAR-tokens-to-a-validator's-staking-pool)
- [stake](#stake---Delegate-a-certain-amount-of-previously-deposited-or-unstaked-NEAR-tokens-to-a-validator's-staking-pool)
- [stake-all](#stake-all---Delegate-all-previously-deposited-or-unstaked-NEAR-tokens-to-a-validator's-staking-pool)
- [unstake](#unstake---Unstake-a-certain-amount-of-delegated-NEAR-tokens-from-a-avalidator's-staking-pool)
- [unstake-all](#unstake-all---Unstake-all-delegated-NEAR-tokens-from-a-avalidator's-staking-pool)
- [withdraw](#withdraw---Withdraw-a-certain-amount-of-unstaked-NEAR-tokens-from-a-avalidator's-staking-pool)
- [withdraw-all](#withdraw-all---Withdraw-all-unstaked-NEAR-tokens-from-a-avalidator's-staking-pool)
- [unstake](#unstake---Unstake-a-certain-amount-of-delegated-NEAR-tokens-from-a-validator's-staking-pool)
- [unstake-all](#unstake-all---Unstake-all-delegated-NEAR-tokens-from-a-validator's-staking-pool)
- [withdraw](#withdraw---Withdraw-a-certain-amount-of-unstaked-NEAR-tokens-from-a-validator's-staking-pool)
- [withdraw-all](#withdraw-all---Withdraw-all-unstaked-NEAR-tokens-from-a-validator's-staking-pool)

##### view-balance - View the delegated stake balance for a given account

Expand Down Expand Up @@ -1488,7 +1488,7 @@ near staking \
</a>
</details>

##### unstake - Unstake a certain amount of delegated NEAR tokens from a avalidator's staking pool
##### unstake - Unstake a certain amount of delegated NEAR tokens from a validator's staking pool

To unstake your delegated NEAR tokens from a staking pool, you can use the following command (note that you need to use your own account id, adjust the amount of NEAR tokens to unstake, and choose the staking pool account id):
```txt
Expand All @@ -1513,7 +1513,7 @@ near staking \
</a>
</details>

##### unstake-all - Unstake all delegated NEAR tokens from a avalidator's staking pool
##### unstake-all - Unstake all delegated NEAR tokens from a validator's staking pool

To unstake your delegated NEAR tokens from a staking pool, you can use the following command (note that you need to use your own account id, and choose the staking pool account id):
```txt
Expand All @@ -1538,7 +1538,7 @@ near staking \
</a>
</details>

##### withdraw - Withdraw a certain amount of unstaked NEAR tokens from a avalidator's staking pool
##### withdraw - Withdraw a certain amount of unstaked NEAR tokens from a validator's staking pool

To withdraw your delegated NEAR tokens from a staking pool after you unstaked and waited for 4 epochs, you can use the following command (note that you need to use your own account id, adjust the amount of NEAR tokens to withdraw, and choose the staking pool account id):
```txt
Expand All @@ -1563,7 +1563,7 @@ near staking \
</a>
</details>

##### withdraw-all - Withdraw all unstaked NEAR tokens from a avalidator's staking pool
##### withdraw-all - Withdraw all unstaked NEAR tokens from a validator's staking pool

To withdraw all your delegated NEAR tokens from a staking pool after you unstaked them and waited for 4 epochs, you can use the following command (note that you need to use your own account id, and choose the staking pool account id):
```txt
Expand Down
8 changes: 4 additions & 4 deletions docs/GUIDE.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -1494,7 +1494,7 @@ near staking \
</a>
</details>

##### unstake - Unstake a certain amount of delegated NEAR tokens from a avalidator's staking pool
##### unstake - Unstake a certain amount of delegated NEAR tokens from a validator's staking pool

Чтобы отменить определённую часть ставки, совершённую через общий фонд валидатора, используйте следующую командну в терминале (обратите внимание, что вам необходимо использовать свой собственный идентификатор аккаунта, указать желаемое количество NEAR токенов, а также выбрать идентификатор аккаунта валидатора):

Expand All @@ -1520,7 +1520,7 @@ near staking \
</a>
</details>

##### unstake-all - Unstake all delegated NEAR tokens from a avalidator's staking pool
##### unstake-all - Unstake all delegated NEAR tokens from a validator's staking pool

Чтобы отменить всю ставку, совершённую через общий фонд валидатора, используйте следующую командну в терминале (обратите внимание, что вам необходимо использовать свой собственный идентификатор аккаунта, а также выбрать идентификатор аккаунта валидатора):

Expand All @@ -1546,7 +1546,7 @@ near staking \
</a>
</details>

##### withdraw - Withdraw a certain amount of unstaked NEAR tokens from a avalidator's staking pool
##### withdraw - Withdraw a certain amount of unstaked NEAR tokens from a validator's staking pool

Чтобы получить ваши раннее порученные NEAR токены и награды из общего фонда валидатора после того как ставка была снята и прошло 4 эпохи, используйте следующую командну в терминале (обратите внимание, что вам необходимо использовать свой собственный идентификатор аккаунта, указать желаемое количество NEAR токенов, а также выбрать идентификатор аккаунта валидатора):

Expand All @@ -1573,7 +1573,7 @@ Error:
</a>
</details>

##### withdraw-all - Withdraw all unstaked NEAR tokens from a avalidator's staking pool
##### withdraw-all - Withdraw all unstaked NEAR tokens from a validator's staking pool

Чтобы получить все ваши раннее порученные NEAR токены и награды из общего фонда валидатора после того как ставка была снята и прошло 4 эпохи, используйте следующую командну в терминале (обратите внимание, что вам необходимо использовать свой собственный идентификатор аккаунта, а также выбрать идентификатор аккаунта валидатора):

Expand Down
2 changes: 1 addition & 1 deletion docs/NEW_NEAR_CLI_INTERFACE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ NEAR CLI is built for:
- **Validators**

NEAR CLI is using extensions to satisfy all groups of users.
- **Core NEAR CLI** commands should be usefull for all groups of users.
- **Core NEAR CLI** commands should be useful for all groups of users.
- **Extensions** are used by a particular group or several groups of users.
- **Core NEAR CLI** is a single binary, there is no extensions that are installed *by default*.
- Each extension is a separate binary that can be installed and executed from **NEAR CLI**.
Expand Down
16 changes: 8 additions & 8 deletions src/commands/staking/delegate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,23 +76,23 @@ pub enum StakeDelegationCommand {
/// Delegate all previously deposited or unstaked NEAR tokens to a validator's staking pool
StakeAll(self::stake_all::StakeAll),
#[strum_discriminants(strum(
message = "unstake - Unstake a certain amount of delegated NEAR tokens from a avalidator's staking pool"
message = "unstake - Unstake a certain amount of delegated NEAR tokens from a validator's staking pool"
))]
/// Unstake a certain amount of delegated NEAR tokens from a avalidator's staking pool
/// Unstake a certain amount of delegated NEAR tokens from a validator's staking pool
Unstake(self::unstake::Unstake),
#[strum_discriminants(strum(
message = "unstake-all - Unstake all delegated NEAR tokens from a avalidator's staking pool"
message = "unstake-all - Unstake all delegated NEAR tokens from a validator's staking pool"
))]
/// Unstake all delegated NEAR tokens from a avalidator's staking pool
/// Unstake all delegated NEAR tokens from a validator's staking pool
UnstakeAll(self::unstake_all::UnstakeAll),
#[strum_discriminants(strum(
message = "withdraw - Withdraw a certain amount of unstaked NEAR tokens from a avalidator's staking pool"
message = "withdraw - Withdraw a certain amount of unstaked NEAR tokens from a validator's staking pool"
))]
/// Withdraw a certain amount of unstaked NEAR tokens from a avalidator's staking pool
/// Withdraw a certain amount of unstaked NEAR tokens from a validator's staking pool
Withdraw(self::withdraw::Withdraw),
#[strum_discriminants(strum(
message = "withdraw-all - Withdraw all unstaked NEAR tokens from a avalidator's staking pool"
message = "withdraw-all - Withdraw all unstaked NEAR tokens from a validator's staking pool"
))]
/// Withdraw all unstaked NEAR tokens from a avalidator's staking pool
/// Withdraw all unstaked NEAR tokens from a validator's staking pool
WithdrawAll(self::withdraw_all::WithdrawAll),
}
Loading