Voting on Governance Proposals
How to use the Celo CLI to participate in Goverance and create a Governance proposal.
Celo uses a formal on-chain governance mechanism to manage and upgrade the protocol. More information about the Governance system can be found in the Governance section of the protocol documentation.
In the following commands
<VARIABLE> is used as a placeholder for something you should specify on the command line.
A list of active proposals can be viewed with the following command:
Included will be three lists of proposals by status:
- Queued proposals have been submitted, but are not yet being considered. Voters can upvote proposals in this list, and proposals with the most upvotes from this list will be moved from the queue to be considered.
- Dequeued proposals are actively being considered and will pass through the Approval, Referendum, and Execution stages, as discussed in the protocol documentation.
- Expired proposals are no longer being considered.
Understanding Proposal Details
You can view information about a specific proposal with:
celocli governance:show --proposalID=<PROPOSAL_ID>
For example, the proposal 14 on Mainnet was as follows:
✔ 14 is an existing proposal
baselineQuorumFactor: 500000000000000000000000 (~5.000e+23)
deposit: 100000000000000000000 (~1.000e+20)
timestamp: 1609961608 (~1.610e+9)
Yes: 95934607718520408413613056 (~9.593e+25)
execution: 57 minutes, 59 seconds
expiration: 3 days, 57 minutes, 59 seconds
Voting on Proposals
When a proposal is Queued, you can upvote the proposal to indicate you'd like it to be considered.
If you are using a Ledger wallet, make sure to include
--ledgerAddresses in the
celocli governance:upvote --proposalID=<PROPOSAL_ID> --from=<YOUR_VOTER_ADDRESS>
At a defined frequency, which can be checked with the
celocli network:parameters command, proposals can be dequeued, with the highest upvoted proposals being dequeued first.
After a proposal is dequeued, it will first enter the Approval phase. In this phase, the Governance Approver may choose to approve the proposal, which will allow it to proceed to the Referendum phase after the configured length of time.
Once a proposal has reached the Referendum phase, it is open to community for voting.
celocli governance:vote --proposalID=<PROPOSAL_ID> --value=<Abstain|Yes|No> --from=<YOUR_VOTER_ADDRESS>
Executing a Proposal
If a Governance Proposal receives enough votes and passes in the Referendum phase, it can be executed by anyone.
celocli governance:execute --proposalID=<PROPOSAL_ID> --from=<YOUR_VOTER_ADDRESS>