Skip to content

Commit

Permalink
modify gov docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzhiqiang committed Sep 5, 2019
1 parent edf33ad commit 1c474a7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
23 changes: 12 additions & 11 deletions docs/features/governance.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
3. On-chain governance proposals on software upgrade
4. On-chain governance proposals on software halt
5. On-chain governance proposals on tax usage
6. On-chain governance proposals on token addition

## Interactive process

### Proposal Level

Specific Proposal for different levels
- Critical`SoftwareUpgrade`, `SystemHalt`
- Important`Parameter`
- Important`Parameter`,`TokenAddition`
- Normal`CommunityTaxUsage`,`PlainText`

`SoftwareUpgrade Proposal` and `SystemHalt Proposal` can only be submitted by the profiler.
Expand All @@ -23,20 +24,20 @@ Different levels correspond to different parameters:

| GovParams | Critical | Important | Normal |Range|
| ------ | ------ | ------ | ------|------|
| govDepositProcedure/MinDeposit | 4000 iris | 2000 iris | 1000 iris |[10iris,10000iris]|
| govDepositProcedure/MaxDepositPeriod | 24 hours | 24 hours | 24 hours |[20s,3d]|
| govVotingProcedure/VotingPeriod | 72 hours | 60 hours | 48 hours |[20s,3d]|
| govVotingProcedure/MaxProposal | 1 | 5 | 7 |Critical==1, other(1,)|
| govTallyingProcedure/Participation | 1/2 | 1/2 | 1/2 |(0,1)|
| govTallyingProcedure/Threshold | 3/4 | 2/3 | 1/2 |(0,1)|
| govTallyingProcedure/Veto | 1/3 | 1/3 | 1/3 |(0,1)|
| govTallyingProcedure/Penalty | 0 | 0 | 0 |(0,1)|
| MinDeposit | 4000 iris | 2000 iris | 1000 iris |[10iris,10000iris]|
| DepositPeriod | 24 hours | 24 hours | 24 hours |[20s,3d]|
| VotingPeriod | 120 hours | 120 hours | 120 hours |[20s,3d]|
| MaxNum | 1 | 5 | 7 |Critical==1, other(1,)|
| Participation | 0.5 | 0.5 | 0.5 |(0,1)|
| Threshold | 0.75 | 0.67 | 0.5 |(0,1)|
| Veto | 0.33 | 0.33 | 0.33 |(0,1)|
| Penalty | 0 | 0 | 0 |(0,1)|


* `MinDeposit` The minimum of deposit
* `MaxDepositPeriod` Window period for deposit
* `DepositPeriod` Window period for deposit
* `VotingPeriod` Window period for voting
* `MaxProposal` The maximum number of proposal that can exist at the same time
* `MaxNum` The maximum number of proposal that can exist at the same time
* `Penalty` The proportion of the slash
* `Veto` the power of Veto / all voted power
* `Threshold` the power of Yes / all voted power
Expand Down
23 changes: 12 additions & 11 deletions docs/zh/features/governance.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
3. 软件升级提议的链上治理
4. 网络终止提议的链上治理
5. Tax收入分配提议的链上治理
6. 添加外部资产提议的链上治理

## 交互流程

### 提议级别

不同级别对应的具体 Proposal
- Critical`SoftwareUpgrade`, `SystemHalt`
- Important`Parameter`
- Important`Parameter`,`TokenAddition`
- Normal`CommunityTaxUsage`,`PlainText`

`SoftwareUpgrade Proposal` `SystemHalt Proposal` 只能由profiler发起
Expand All @@ -23,20 +24,20 @@

| Gov参数 | Critical | Important | Normal |Range|
| ------ | ------ | ------ | ------|------|
| govDepositProcedure/MinDeposit | 4000 iris | 2000 iris | 1000 iris |[10iris,10000iris]|
| govDepositProcedure/MaxDepositPeriod | 24 hours | 24 hours | 24 hours |[20s,3d]|
| govVotingProcedure/VotingPeriod | 72 hours | 60 hours | 48 hours |[20s,3d]|
| govVotingProcedure/MaxProposal | 1 | 5 | 7 |Critical==1, other(1,)|
| govTallyingProcedure/Participation | 1/2 | 1/2 | 1/2 |(0,1)|
| govTallyingProcedure/Threshold | 3/4 | 2/3 | 1/2 |(0,1)|
| govTallyingProcedure/Veto | 1/3 | 1/3 | 1/3 |(0,1)|
| govTallyingProcedure/Penalty | 0 | 0 | 0 |(0,1)|
| MinDeposit | 4000 iris | 2000 iris | 1000 iris |[10iris,10000iris]|
| DepositPeriod | 24 hours | 24 hours | 24 hours |[20s,3d]|
| VotingPeriod | 120 hours | 120 hours | 120 hours |[20s,3d]|
| MaxNum | 1 | 5 | 7 |Critical==1, other(1,)|
| Participation | 0.5 | 0.5 | 0.5 |(0,1)|
| Threshold | 0.75 | 0.67 | 0.5 |(0,1)|
| Veto | 0.33 | 0.33 | 0.33 |(0,1)|
| Penalty | 0 | 0 | 0 |(0,1)|


* `MinDeposit` 最小抵押金额
* `MaxDepositPeriod` 抵押阶段的窗口期
* `DepositPeriod` 抵押阶段的窗口期
* `VotingPeriod` 投票阶段的窗口期
* `MaxProposal` 该类型提议在网络中同时能存在的最大个数
* `MaxNum` 该类型提议在网络中同时能存在的最大个数
* `Penalty` slash验证人绑定通证的比例
* `Veto` 强烈反对的power占参与投票power的比例如果达到这个比例则提议被拒绝提议结果为强烈反对
* `Threshold` 提议通过所需"赞成"的power占参与投票power的比例如果达到这个比例则提议通过提议结果为同意
Expand Down

0 comments on commit 1c474a7

Please sign in to comment.