-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Governance: set overview page as index (#545)
Co-authored-by: Hernan Clich <[email protected]> Co-authored-by: Charlie <[email protected]>
- Loading branch information
1 parent
4a1a4dd
commit c06342e
Showing
4 changed files
with
59 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
{ | ||
"index": "Governance", | ||
"overview": "Governance", | ||
"text": "Text Proposal", | ||
"parameter": "Parameter Change Proposal", | ||
"upgrade": "Software Upgrade Proposal", | ||
"submit": "Submit a Proposal", | ||
"deposit": "Making a Deposit", | ||
"voting": "Voting on a Proposal" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,62 @@ | ||
--- | ||
title: Governance | ||
pageType: sub-category | ||
--- | ||
|
||
import { CurrentPageNavigationSections } from "~/components/shared"; | ||
import { GovParams } from "~/components/Docs"; | ||
|
||
<div className="flex flex-col gap-20 sm:gap-[120px]"> | ||
<CurrentPageNavigationSections /> | ||
</div> | ||
import { Alert } from "~/components/shared"; | ||
|
||
## Overview | ||
|
||
ZetaChain uses the standard Cosmos SDK [`gov` governance | ||
module](https://docs.cosmos.network/v0.50/modules/gov/) to manage the network. | ||
This module allows for the creation of proposals, which can be voted on by | ||
stakers of the network. This guide will walk you through the process of creating | ||
proposals using the ZetaChain's `zetacored` CLI. | ||
|
||
## Governance Parameters | ||
|
||
<GovParams /> | ||
|
||
## Making a Proposal | ||
|
||
To make a proposal you will need to: | ||
|
||
- Create a `proposal.json` file. The contents of the proposal file depends on | ||
the type of a proposal: [text proposal](/users/cli/governance/text), | ||
[parameter change proposal](/users/cli/governance/parameter), [software | ||
upgrade proposal](/users/cli/governance/upgrade), etc. | ||
- Create and publish a `metadata.json` file to IPFS or the web and submit the | ||
proposal using `zetacored tx gov submit-proposal` command. Learn about this | ||
step on the [Submit a Proposal](/users/cli/governance/submit) page | ||
|
||
<Alert variant="tip"> | ||
{" "} | ||
Check out the [text proposal](/users/cli/governance/text) doc to learn more about the basics of how proposals are structured.{" "} | ||
</Alert> | ||
|
||
## Proposal Stages | ||
|
||
The lifecycle of a proposal consists of the following stages: | ||
|
||
1. **Deposit Period**: During this period, any user can deposit tokens to a | ||
proposal. If the proposal reaches the required deposit amount, it will move | ||
to the **voting period**. If the proposal does not reach the required deposit | ||
amount, it will be marked as "Rejected". As a creator of a proposal, you can | ||
supply your proposal with the deposit (equal or higher than the min deposit | ||
param) to immediately move to the voting period. | ||
2. **Voting Period**: During this period, stakers can vote on the proposal. If | ||
the proposal does not reach the required quorum or does not pass until the | ||
voting period ends, it will be marked as "Rejected". If the proposal reaches | ||
the required quorum and passes, it will be executed. If the proposal executed | ||
successfully, it will be marked as "Passed". If the proposal executed | ||
unsuccessfully, it will be marked as "Failed". | ||
|
||
The deposit amounts will be returned to the depositors, unless the proposal was | ||
vetoed, or never entered voting period (minimum deposit not reached within | ||
deposit period). | ||
|
||
## Governance Module Docs | ||
|
||
To learn more about the governance module, refer to the [`gov` module | ||
documentation](https://docs.cosmos.network/v0.50/modules/gov/). |
This file was deleted.
Oops, something went wrong.