Governance
Last updated
Last updated
The Endless on-chain governance is a process by which the Endless community members can create and vote on proposals that minimize the cost of blockchain upgrades. The following describes the scope of these proposals for the Endless on-chain governance:
Changes to the blockchain parameters, for example, the epoch duration, and the minimum required and maximum allowed validator stake.
Changes to the core blockchain code.
Upgrades to the Endless Framework modules for fixing bugs or for adding or enhancing the Endless blockchain functionality.
Deploying new framework modules (at the address 0x1
- 0xa
).
See below for a summary description of how a proposal comes to exist and when it becomes ready to be resolved:
The Endless community can suggest an Endless Improvement Proposal (AIP) in the Endless Foundation AIP GitHub.
When appropriate, an on-chain proposal can be created for the AIP via the endless_governance
module.
Voters can then vote on this proposal on-chain via the endless_governance
module. If there is sufficient support for a proposal, then it can be resolved.
Governance requires a minimal number of votes to be cast by an expiration threshold. However, if sufficient votes, more than 50% of the total supply, are accumulated prior to that threshold, the proposal can be executed without waiting for the full voting period.
To either propose or vote, you must stake, but you are not required to run a validator node. However, we recommend that you run validator with a stake as part of the validator set to gain rewards from your stake.
To create a proposal, the proposer's backing stake pool must have the minimum required proposer stake. The proposer's stake must be locked up for at least as long as the proposal's voting period. This is to avoid potential spam proposals.
To vote, you must stake, though you are not required to run a validator node. Your voting power is derived from the backing stake pool.
Voting power is calculated based on the current epoch's active stake of the proposer or voter's backing stake pool. In addition, the stake pool's lockup must be at least as long as the proposal's duration.
Verify proposals before voting. Ensure each proposal is linked to its source code, and if there is a corresponding AIP, the AIP is in the title and description.
If you are a staking pool voter, follow the instructions for voting here.
If you are a delegated staker, follow the instructions for voting here.
Anyone can resolve an on-chain proposal that has passed voting requirements by using the endless governance execute-proposal
command from Endless CLI.
If you are thinking about creating a DAO on Endless, you can refer to endless_governance
's usage of the voting
module as an example. In endless_governance
, we rely on the voting
module to create, vote on, and resolve a proposal.
endless_governance::create_proposal
calls voting::create_proposal
to create a proposal on-chain, when an off-chain AIP acquires sufficient importance.
endless_governance::vote
calls voting::vote
to record the vote on a proposal on-chain;
endless_governance::resolve
can be called by anyone. It calls voting::resolve
to resolve the proposal on-chain.
Proposers can create a proposal by calling .
AIPs are proposals created by the Endless community or the Endless Labs team to improve the operations and development of the Endless chain. To submit an AIP, create an issue in Endless Foundation's GitHub repository
using the To keep up with new AIPs, check the #aip-announcements
channel on Endless' discord channel. To view and vote on on-chain proposals, go to Endless' Governance website
.
The majority of the governance logic is in . The endless_governance
module outlines how users can interact with Endless Governance. It's the external-facing module of the Endless on-chain governance process and contains logic and checks that are specific to Endless Governance. The voting
module is the Endless governance standard that can be used by DAOs on the Endless chain to create their own on-chain governance process.