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

Modify stake to uatom in gaia's doc. #3833 #3935

Merged
merged 5 commits into from
Mar 25, 2019
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
1 change: 1 addition & 0 deletions .pending/improvements/gaiacli/3833-Modify-stake-to
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#3833 Modify stake to atom in gaia's doc.
4 changes: 2 additions & 2 deletions client/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ func PostCommands(cmds ...*cobra.Command) []*cobra.Command {
c.Flags().Uint64(FlagAccountNumber, 0, "AccountNumber number to sign the tx")
c.Flags().Uint64(FlagSequence, 0, "Sequence number to sign the tx")
c.Flags().String(FlagMemo, "", "Memo to send along with transaction")
c.Flags().String(FlagFees, "", "Fees to pay along with transaction; eg: 10stake,1atom")
c.Flags().String(FlagGasPrices, "", "Gas prices to determine the transaction fee (e.g. 0.00001stake)")
c.Flags().String(FlagFees, "", "Fees to pay along with transaction; eg: 10uatom")
c.Flags().String(FlagGasPrices, "", "Gas prices to determine the transaction fee (e.g. 10uatom)")
c.Flags().String(FlagNode, "tcp://localhost:26657", "<host>:<port> to tendermint rpc interface for this chain")
c.Flags().Bool(FlagUseLedger, false, "Use a connected Ledger device")
c.Flags().Float64(FlagGasAdjustment, DefaultGasAdjustment, "adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored ")
Expand Down
2 changes: 1 addition & 1 deletion docs/gaia/validators/validator-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ file of the Cosmos Hub mainnet. If the mainnet is already live, skip this sectio
:::

If you want to participate in genesis as a validator, you need to justify that
you have some stake at genesis, create one (or multiple) transactions to bond this stake to your validator address, and include this transaction in the genesis file.
you have some atoms at genesis, create one (or multiple) transactions to bond these atoms to your validator address, and include this transaction in the genesis file.

Your `cosmosvalconspub` can be used to create a new validator by staking tokens. You can find your validator pubkey by running:

Expand Down
14 changes: 7 additions & 7 deletions docs/translations/cn/gaia/delegator-guide-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,20 +399,20 @@ fees = gas * gasPrices

```bash
// 向指定验证人绑定一定数量的Atom通证
// 参数设定样例: <validatorAddress>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <amountToBound>=10000stake, <gasPrice>=0.001stake
// 参数设定样例: <validatorAddress>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <amountToBound>=10000000000uatom, <gasPrice>=1000uatom

gaiacli tx staking delegate <validatorAddress> <amountToBond> --from <delegatorKeyName> --gas auto --gas-prices <gasPrice>


// 提取所有的奖励
// 参数设定样例: <gasPrice>=0.001stake
// 参数设定样例: <gasPrice>=1000uatom

gaiacli tx distr withdraw-all-rewards --from <delegatorKeyName> --gas auto --gas-prices <gasPrice>


// 向指定验证人申请解绑一定数量的Atom通证
// 解绑的通证需要3周后才能完全解绑并可以交易,
// 参数设定样例: <validatorAddress>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <amountToUnbound>=10000stake, <gasPrice>=0.001stake
// 参数设定样例: <validatorAddress>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <amountToUnbound>=10000000000uatom, <gasPrice>=1000uatom

gaiacli tx staking unbond <validatorAddress> <amountToUnbond> --from <delegatorKeyName> --gas auto --gas-prices <gasPrice>
```
Expand Down Expand Up @@ -469,14 +469,14 @@ Cosmos Hub有一个内建的治理系统,该系统允许抵押通证的持有
```bash
// 提交一个提案
// <type>=text/parameter_change/software_upgrade
// ex value for flag: <gasPrice>=0.0001stake
// ex value for flag: <gasPrice>=100uatom

gaiacli tx gov submit-proposal --title "Test Proposal" --description "My awesome proposal" --type <type> --deposit=10stake --gas auto --gas-prices <gasPrice> --from <delegatorKeyName>
gaiacli tx gov submit-proposal --title "Test Proposal" --description "My awesome proposal" --type <type> --deposit=10000000uatom --gas auto --gas-prices <gasPrice> --from <delegatorKeyName>

// 增加对提案的抵押
// Retrieve proposalID from $gaiacli query gov proposals --status deposit_period
// 通过 $gaiacli query gov proposals --status deposit_period 命令获得 `proposalID`
// 参数设定样例: <deposit>=1stake
// 参数设定样例: <deposit>=1000000uatom

gaiacli tx gov deposit <proposalID> <deposit> --gas auto --gas-prices <gasPrice> --from <delegatorKeyName>

Expand All @@ -495,7 +495,7 @@ gaiacli tx gov vote <proposalID> <option> --gas auto --gas-prices <gasPrice> --f

```bash
// 抵押Atom通证
// 参数设定样例: <amountToBound>=10000stake, <bech32AddressOfValidator>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <gasPrice>=0.001stake
// 参数设定样例: <amountToBound>=10000000000uatom, <bech32AddressOfValidator>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <gasPrice>=1000uatom

gaiacli tx staking delegate <validatorAddress> <amountToBond> --from <delegatorKeyName> --gas auto --gas-prices <gasPrice> --generate-only > unsignedTX.json
```
Expand Down
10 changes: 5 additions & 5 deletions docs/translations/kr/gaia/gaiacli.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ gaiacli tx send ... --fees=100photino
또는

```bash
gaiacli tx send ... --gas-prices=0.000001stake
gaiacli tx send ... --gas-prices=1uatom
```

### 계정
Expand Down Expand Up @@ -335,7 +335,7 @@ gaiacli query staking validator <account_cosmosval(cosmosval 계정)>

```bash
gaiacli tx staking delegate \
--amount=10stake \
--amount=10000000uatom \
--validator=<validator(검증인 주소)> \
--from=<key_name(트랜잭션을 발생할 키/계정 이름)> \
--chain-id=<chain_id(체인 아이디)>
Expand Down Expand Up @@ -509,7 +509,7 @@ gaiacli tx gov submit-proposal \
--title=<title(프로포절 제목)> \
--description=<description(프로포절 설명)> \
--type=<Text/ParameterChange/SoftwareUpgrade(프로포절 타입)> \
--deposit=<40stake(예치금 수량)> \
--deposit=<40000000uatom(예치금 수량)> \
--from=<name(트랜잭션을 발생시킬 키/계정 이름)> \
--chain-id=<chain_id(체인 아이디)>
```
Expand Down Expand Up @@ -541,7 +541,7 @@ gaiacli query gov proposer <proposal_id(프로포절 ID)>
프로포절이 네트워크에 전파되기 위해서는 해당 프로포절의 보증금이 `minDeposit` 값 이상이어야 합니다 (현재 기본 값은 `10 stake`입니다). 만약 사전에 생성한 프로포절이 해당 기준을 충족하지 못하였다면 추후에 보증금을 추가 예치하여 활성화할 수 있습니다. 프로포절의 보증금이 최소 값을 도달하면 해당 프로포절의 투표는 활성화 됩니다:

```bash
gaiacli tx gov deposit <proposal_id(프로포절 ID)> <200stake(금액)> \
gaiacli tx gov deposit <proposal_id(프로포절 ID)> <200000000uatom(금액)> \
--from=<name(트랜잭션을 발생시킬 키/계정 이름)> \
--chain-id=<chain_id(체인 아이디)>
```
Expand Down Expand Up @@ -682,7 +682,7 @@ gaiacli keys show --address p1p2p3
위 주소를 기반으로 멀티시그 트랜잭션을 생성하는 과정의 첫 단계는 다음과 같습니다:

```bash
gaiacli tx send cosmos1570v2fq3twt0f0x02vhxpuzc9jc4yl30q2qned 10stake \
gaiacli tx send cosmos1570v2fq3twt0f0x02vhxpuzc9jc4yl30q2qned 10000000uatom \
--from=<multisig_address(멀티시그 주소)> \
--generate-only > unsignedTx.json
```
Expand Down
2 changes: 1 addition & 1 deletion docs/translations/kr/gaia/ledger.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ NAME: TYPE: ADDRESS: PUBKEY:


```bash
$ gaiacli tx send { .Destination.AccAddr } 10stake --from { .Key.Name } --chain-id=gaia-7000
$ gaiacli tx send { .Destination.AccAddr } 10000000uatom --from { .Key.Name } --chain-id=gaia-7000
```

레저 기기에서 해당 트랜잭션을 검토하신 후 서명이 되었다면 트랜잭션 결과를 레저 기기에서 확인하실 수 있습니다.
2 changes: 1 addition & 1 deletion docs/translations/kr/gaia/validators/validator-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ gaiad tendermint show-validator

```bash
gaiacli tx staking create-validator \
--amount=5STAKE \
--amount=5000000uatom \
--pubkey=$(gaiad tendermint show-validator) \
--moniker="choose a moniker" \
--chain-id=<chain_id> \
Expand Down