-
Notifications
You must be signed in to change notification settings - Fork 71
Modules: Governance
As of testnet V0.4.0, this page is out of date. Please refer to the code for reference.
This module contains the logic that powers Edgeware's governance UI. It is presented as a broader governance module that forms something akin to a forum for governance proposals. Users can submit proposals, vote on proposals, and track progress of proposals through Edgeware's governance process.
The module exposes 2 public functions:
-
create_proposal
, which allows submission of a new governance proposal for the purpose ofSignaling
. -
advance_proposal
, which allows the author of a proposal to shift the proposal's state, either starting or completing the voting process.
Install rust or update to the latest versions.
curl https://sh.rustup.rs -sSf | sh
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup update stable
cargo install --git https://github.com/alexcrichton/wasm-gc
You will also need to install the following packages:
Linux:
sudo apt install cmake pkg-config libssl-dev git
Mac:
brew install cmake pkg-config openssl git
This module enables one to create signalling proposals and vote on them. This is useful for engaging parts of the community and understanding how the community reacts to a given idea before putting it forth in a state-changing proposal through the main governance mechanism.
The lifecycle for using this module is:
- Create proposals
- Vote on proposals
- Engage in off-chain discussion
Proposals go through the lifecycle that votes go through from the edge-voting module. These specific stages are described there.
- PreVoting
- Voting
- Completed