Merge PR #2802: Correct the usage of misspelling of English word 'depositor'.
Throughout the codebase the misspelling 'depositer' of the English word 'depositor' has been used. This commit applies a global search and replace to correct the misspelling.
This commit is contained in:
committed by
Christopher Goes
parent
3e68e44063
commit
f09fa33cfd
+11
-8
@@ -24,10 +24,12 @@ There are three types of key representations that are used:
|
||||
- Derived from account keys generated by `gaiacli keys add`
|
||||
- Used to receive funds
|
||||
- e.g. `cosmos15h6vd5f0wqps26zjlwrc6chah08ryu4hzzdwhc`
|
||||
|
||||
* `cosmosvaloper`
|
||||
* Used to associate a validator to it's operator
|
||||
* Used to invoke staking commands
|
||||
* e.g. `cosmosvaloper1carzvgq3e6y3z5kz5y6gxp3wpy3qdrv928vyah`
|
||||
- Used to associate a validator to it's operator
|
||||
- Used to invoke staking commands
|
||||
- e.g. `cosmosvaloper1carzvgq3e6y3z5kz5y6gxp3wpy3qdrv928vyah`
|
||||
|
||||
- `cosmospub`
|
||||
- Derived from account keys generated by `gaiacli keys add`
|
||||
- e.g. `cosmospub1zcjduc3q7fu03jnlu2xpl75s2nkt7krm6grh4cc5aqth73v0zwmea25wj2hsqhlqzm`
|
||||
@@ -72,7 +74,7 @@ View the validator pubkey for your node by typing:
|
||||
gaiad tendermint show-validator
|
||||
```
|
||||
|
||||
Note that this is the Tendermint signing key, *not* the operator key you will use in delegation transactions.
|
||||
Note that this is the Tendermint signing key, _not_ the operator key you will use in delegation transactions.
|
||||
|
||||
::: danger Warning
|
||||
We strongly recommend _NOT_ using the same passphrase for multiple keys. The Tendermint team and the Interchain Foundation will not be responsible for the loss of funds.
|
||||
@@ -211,7 +213,7 @@ gaiacli query stake validator <account_cosmosval>
|
||||
|
||||
#### Bond Tokens
|
||||
|
||||
On the testnet, we delegate `steak` instead of `atom`. Here's how you can bond tokens to a testnet validator (*i.e.* delegate):
|
||||
On the testnet, we delegate `steak` instead of `atom`. Here's how you can bond tokens to a testnet validator (_i.e._ delegate):
|
||||
|
||||
```bash
|
||||
gaiacli tx stake delegate \
|
||||
@@ -304,7 +306,7 @@ gaiacli tx stake redelegate \
|
||||
--chain-id=<chain_id>
|
||||
```
|
||||
|
||||
Here you can also redelegate a specific `shares-amount` or a `shares-fraction` with the corresponding flags.
|
||||
Here you can also redelegate a specific `shares-amount` or a `shares-fraction` with the corresponding flags.
|
||||
|
||||
The redelegation will be automatically completed when the unbonding period has passed.
|
||||
|
||||
@@ -367,6 +369,7 @@ With the `pool` command you will get the values for:
|
||||
##### Query Delegations To Validator
|
||||
|
||||
You can also query all of the delegations to a particular validator:
|
||||
|
||||
```bash
|
||||
gaiacli query delegations-to <account_cosmosval>
|
||||
```
|
||||
@@ -418,7 +421,7 @@ Or query all available proposals:
|
||||
gaiacli query gov proposals
|
||||
```
|
||||
|
||||
You can also query proposals filtered by `voter` or `depositer` by using the corresponding flags.
|
||||
You can also query proposals filtered by `voter` or `depositor` by using the corresponding flags.
|
||||
|
||||
#### Increase deposit
|
||||
|
||||
@@ -447,7 +450,7 @@ You can also query a deposit submitted by a specific address:
|
||||
```bash
|
||||
gaiacli query gov deposit \
|
||||
--proposal-id=<proposal_id> \
|
||||
--depositer=<account_cosmos>
|
||||
--depositor=<account_cosmos>
|
||||
```
|
||||
|
||||
#### Vote on a proposal
|
||||
|
||||
@@ -42,7 +42,7 @@ If proposal's deposit does not reach `MinDeposit` before `MaxDepositPeriod`, pro
|
||||
There is one instance where Atom holders that deposits can be refunded:
|
||||
* If the proposal is accepted.
|
||||
|
||||
Then, deposits will automatically be refunded to their respective depositer.
|
||||
Then, deposits will automatically be refunded to their respective depositor.
|
||||
|
||||
### Proposal types
|
||||
|
||||
|
||||
@@ -68,8 +68,8 @@ const (
|
||||
|
||||
```go
|
||||
type Deposit struct {
|
||||
Amount sdk.Coins // Amount of coins deposited by depositer
|
||||
Depositer crypto.address // Address of depositer
|
||||
Amount sdk.Coins // Amount of coins deposited by depositor
|
||||
Depositor crypto.address // Address of depositor
|
||||
}
|
||||
```
|
||||
|
||||
@@ -185,8 +185,8 @@ And the pseudocode for the `ProposalProcessingQueue`:
|
||||
// proposal was accepted at the end of the voting period
|
||||
// refund deposits (non-voters already punished)
|
||||
proposal.CurrentStatus = ProposalStatusAccepted
|
||||
for each (amount, depositer) in proposal.Deposits
|
||||
depositer.AtomBalance += amount
|
||||
for each (amount, depositor) in proposal.Deposits
|
||||
depositor.AtomBalance += amount
|
||||
|
||||
else
|
||||
// proposal was rejected
|
||||
|
||||
Reference in New Issue
Block a user