Skip to content

Commit

Permalink
format docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhiqiang committed Sep 30, 2019
1 parent 351e275 commit ad988fd
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
22 changes: 11 additions & 11 deletions docs/zh/cli-client/asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ iriscli asset create-gateway <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | ------------------------------------------------------ |
| --moniker | string | | | 唯一名称大小在3到8之间以字母开头后跟字母数字字符 |
| --identity | string | | | 可选身份签名最大长度为128例如UPort或Keybase|
Expand All @@ -52,7 +52,7 @@ iriscli asset edit-gateway <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | ---------------------------------------------------- |
| --moniker | string | | | 唯一别名大小在3到8之间以字母开头后跟字母数字 |
| --identity | string | | | 可选身份签名最大长度为128 |
Expand All @@ -75,7 +75,7 @@ iriscli asset transfer-gateway-owner <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------- | -------- | ---- | -------------------- |
| --moniker | string | | | 被转让网关的唯一别名 |
| --to | Address | | | 转让网关的接收者 |
Expand All @@ -96,7 +96,7 @@ iriscli asset issue-token <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------------ | ------- | -------- | ------------- | ------------------------------------------------------------ |
| --family | string | | fungible | 通证类型: fungible, non-fungible (不支持) |
| --source | string | | native | 通证来源: native, gateway |
Expand Down Expand Up @@ -158,7 +158,7 @@ iriscli asset edit-token <token-id> <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------------ | ------ | -------- | ----- | ----------------------------- |
| --name | string | | | 通证名称例如IRIS Network |
| --canonical-symbol | string | | | 网关或外部通证的源符号 |
Expand All @@ -184,7 +184,7 @@ iriscli asset transfer-token-owner <token-id> <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | ---------- |
| --to | string | | | 接收人地址 |

Expand All @@ -204,7 +204,7 @@ iriscli asset mint-token <token-id> <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | ---------------------------------- |
| --to | string | | | 增发通证的地址默认为您自己的地址 |
| --amount | uint64 | | 0 | 增发的金额 |
Expand Down Expand Up @@ -259,7 +259,7 @@ iriscli asset query-tokens <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | ------------------------------------------- |
| --source | string | | | 枚举值: native / gateway / external |
| --gateway | string | | | 网关的唯一名称`source``gateway`时需要 |
Expand Down Expand Up @@ -312,7 +312,7 @@ iriscli asset query-gateway <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | -------------------------------------------------- |
| --moniker | string | | | 唯一名称大小在3到8之间以字母开头后跟字母数字 |

Expand All @@ -332,7 +332,7 @@ iriscli asset query-gateways <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------- | -------- | ---- | ------------------ |
| --owner | Address | | | 要查询的所有者地址 |

Expand All @@ -352,7 +352,7 @@ iriscli asset query-fee <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | ---------------------------------------------- |
| --gateway | string | | | 网关名称用于查询网关费用 |
| --token | string | | | 通证ID用于查询通证费用 |
Expand Down
12 changes: 6 additions & 6 deletions docs/zh/cli-client/bank.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ERROR: {"codespace":"sdk","code":9,"message":"account iaa1kenrwk5k4ng70e5s9zfstt

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------ | ------ | -------- | --------------------- | ------------------------------------- |
| -h, --help | | | | `coin-type`子命令的提示信息 |
| --chain-id | string | | | tendermint节点的Chain ID |
Expand Down Expand Up @@ -80,7 +80,7 @@ CoinType:

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------ | ------ | -------- | --------------------- | ------------------------------------ |
| -h, --help | | | | `token-stats`子命令的提示信息 |
| --chain-id | string | | | tendermint节点的Chain ID |
Expand Down Expand Up @@ -116,7 +116,7 @@ iriscli bank account <address> <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------ | ------ | -------- | --------------------- | ------------------------------------ |
| -h, --help | | | | `account`子命令的提示信息 |
| --chain-id | string | | | tendermint节点的Chain ID |
Expand Down Expand Up @@ -153,7 +153,7 @@ iriscli bank send --from=<key-name> --to=<address> --amount=<amount> --fee=<nati

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | ------------------------------ |
| --amount | string | Yes | | 要发送的通证数量例如10iris |
| --to | string | | | 接收通证的Bech32编码地址 |
Expand All @@ -174,7 +174,7 @@ iriscli bank burn --from=<key-name> --amount=<amount-to-burn> --fee=<native-fee>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | ---------------------------- |
| --amount | string | Yes | | 要销毁的通证数量例如10iris |

Expand All @@ -194,7 +194,7 @@ iriscli bank set-memo-regexp --regexp=<regular-expression> --from=<key-name> --f

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ---------- | ------ | -------- | ---- | --------------------------------------------- |
| --regexp | string | Yes | | 正则表达式最大长度为50例如^[A-ZA-Z0-9]+ $ |

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/cli-client/distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ iriscli distribution withdraw-rewards <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| --------------------- | ------ | -------- | ------- | --------------------------------------------------- |
| --only-from-validator | string | | | 仅从此验证者地址中提取以bech格式|
| --is-validator | bool | | false | 同时取回验证人的佣金 |
Expand Down
20 changes: 10 additions & 10 deletions docs/zh/cli-client/gov.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ iriscli gov query-proposal <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------- | ---- | -------- | ---- | -------- |
| --proposal-id | uint | | | 提案的Id |

Expand All @@ -47,7 +47,7 @@ iriscli gov query-proposals <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ----------- | ------- | -------- | ---- | ------------------------------------- |
| --depositor | Address | | | 按抵押人地址过滤提案 |
| --limit | uint | | | 限制返回提案的个数默认返回所有提案 |
Expand Down Expand Up @@ -76,7 +76,7 @@ iriscli gov query-vote <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------- | ------- | -------- | ---- | ---------- |
| --proposal-id | uint | | | 提案的Id |
| --voter | Address | | | 投票人地址 |
Expand All @@ -97,7 +97,7 @@ iriscli gov query-votes <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------- | ---- | -------- | ---- | -------- |
| --proposal-id | uint | | | 提案的Id |

Expand All @@ -117,7 +117,7 @@ iriscli gov query-deposit <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------- | ------- | -------- | ---- | ---------- |
| --proposal-id | uint | | | 提案的Id |
| --depositor | Address | | | 抵押人地址 |
Expand All @@ -138,7 +138,7 @@ iriscli gov query-deposits <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------- | ---- | -------- | ---- | -------- |
| --proposal-id | uint | | | 提案的Id |

Expand All @@ -158,7 +158,7 @@ iriscli gov query-tally <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------- | ---- | -------- | ---- | -------- |
| --proposal-id | uint | | | 提案的Id |

Expand All @@ -178,7 +178,7 @@ iriscli gov submit-proposal <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------------------ | ------ | -------- | ----- | ---------------------------------------------------------------------------------------------- |
| --deposit | Coin | | | 初始抵押金额(至少最小抵押金额的30% of) |
| --description | string | | | 提案的描述信息 |
Expand Down Expand Up @@ -242,7 +242,7 @@ iriscli gov deposit <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------- | ---- | -------- | ---- | -------------- |
| --deposit | Coin | | | 抵押的通证金额 |
| --proposal-id | uint | | | 提案Id |
Expand All @@ -269,7 +269,7 @@ iriscli gov vote <flags>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------- | ------ | -------- | ---- | ------------------------------- |
| --option | string | | | 选项Yes/No/NoWithVeto/Abstain |
| --proposal-id | uint | | | 提案Id |
8 changes: 4 additions & 4 deletions docs/zh/cli-client/htlc.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ HTLC allows you to manage local Hash Time Locked Contracts (HTLCs) for atomic sw

## 全局标识

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| -------------- | ------ | -------- | -------------- | ------------------------------ |
| -h, --help | | | | 提示 |
| -e, --encoding | string | | hex | 字符串二进制编码 (hex\b64\btc) |
Expand All @@ -31,7 +31,7 @@ iriscli htlc create --receiver=<receiver> --receiver-on-other-chain=<receiver-on

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ------------------------- | -------- | -------- | ---- | ------------------------------------------------- |
| --receiver | string | | | 收款人地址 |
| --receiver-on-other-chain | bytesHex | | | 另一条链上的收款地址 |
Expand Down Expand Up @@ -66,7 +66,7 @@ iriscli htlc claim --hash-lock=<hash-lock> --secret=<secret>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ----------- | -------- | -------- | ---- | --------------------------------- |
| --hash-lock | bytesHex | | | T要发送锁定资金 HTLC hash lock |
| --secret | bytesHex | | | 用于生成 hash lock secret |
Expand All @@ -93,7 +93,7 @@ iriscli htlc refund --hash-lock=<hash-lock>

**唯一标识**

| 名称, 速记 | 类型 | 是否必须 | 默认 | 描述 |
| 名称, 速记 | 类型 | 必须 | 默认 | 描述 |
| ----------- | -------- | -------- | ---- | -------------------------- |
| --hash-lock | bytesHex | | | 要退款的 HTLC hash Lock |

Expand Down

0 comments on commit ad988fd

Please sign in to comment.