Skip to content

Commit

Permalink
chore: Fixed typos in user prompts and the guide (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinyfoxy authored Jul 17, 2024
1 parent 8edb18d commit ce6333a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
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),
}

0 comments on commit ce6333a

Please sign in to comment.