Governance
This section outlines the data structures for DAO governance.
DaoGovConfig
The configurations for a DAO’s governance-related activities, such as creating and executing proposals, are defined in the following sections. For more information on governance configuration parameters, visit the Governance and staking page.
Quorum
The minimum number of staked tokens, NFTs, or multisig votes that need to vote for an election to be valid, expressed as a percentage of the total staked token supply. Proposals that don't meet quorum fail, regardless of the vote outcome.
Threshold
The percentage of yes votes required to pass a proposal.
Vote duration
The period of time (expressed in seconds) during which a user can vote on a proposal. When a proposal is created, the vote duration starts. Once the vote duration is reached, the votes are tallied and the proposal either passes or fails. No votes can be cast after the voting period.
Unlocking period
The period of time (either in seconds or blocks) it takes for a staked token to become unstaked. Tokens in the unstaking phase cannot be used to cast a vote. Once the unstaking period is over, the owner can claim them.
Quorum
The minimum number of staked tokens, NFTs, or multisig votes that need to vote for an election to be valid, expressed as a percentage of the total staked token supply. Proposals that don't meet quorum fail, regardless of the vote outcome.
Threshold
The percentage of yes votes required to pass a proposal.
Vote duration
The period of time (expressed in seconds) during which a user can vote on a proposal. When a proposal is created, the vote duration starts. Once the vote duration is reached, the votes are tallied and the proposal either passes or fails. No votes can be cast after the voting period.
Unlocking period
The period of time (either in seconds or blocks) it takes for a staked token to become unstaked. Tokens in the unstaking phase cannot be used to cast a vote. Once the unstaking period is over, the owner can claim them.
Proposals
Proposals are submitted by DAO governance members and are voted on by staked asset holders or multisig members of a DAO.
Status
-
When a proposal is successfully submitted, it enters the
InProgress
state. -
If a proposal fails to meet quorum or fails to get enough "yes" votes to meet the threshold, it becomes
Rejected
. -
When a proposal meets quorum and has a threshold percentage of "yes" votes by the end of the voting period, it becomes
Passed
-
After passing, the successful proposal can become
Executed
.
Proposals are submitted by DAO governance members and are voted on by staked asset holders or multisig members of a DAO.
Status
-
When a proposal is successfully submitted, it enters the
InProgress
state. -
If a proposal fails to meet quorum or fails to get enough "yes" votes to meet the threshold, it becomes
Rejected
. -
When a proposal meets quorum and has a threshold percentage of "yes" votes by the end of the voting period, it becomes
Passed
-
After passing, the successful proposal can become
Executed
.
Proposal actions
This section defines the governance actions available when creating a governance proposal.
UpdateGovConfigMsg
Updates any of the four governance parameters in the DaoGovConfig
.
UpdateAssetWhitelistMsg
Updates the asset whitelist by adding or removing assets.
UpdateNftWhitelistMsg
Updates the NFT whitelist by adding or removing assets.
RequestFundingFromDaoMsg
This message is used to request funding from a DAO. Proposers must specify a recipient address along with the asset and amount requested.
UpgradeDaoMsg
Upgrades a DAO to a new Enterprise code version, enabling the DAO to benefit from new features and bug fixes.
ExecuteMsgsMsg
Makes the DAO execute a list of Cosmos messages.
To learn how to write messages for governance proposals, visit the Message templates section.
ModifyMultisigMembershipMsg
Updates the multisig members of a DAO by specifying new weights for addresses. Only available in multisig DAOs.
This section defines the governance actions available when creating a governance proposal.
UpdateGovConfigMsg
Updates any of the four governance parameters in the DaoGovConfig
.
UpdateAssetWhitelistMsg
Updates the asset whitelist by adding or removing assets.
UpdateNftWhitelistMsg
Updates the NFT whitelist by adding or removing assets.
RequestFundingFromDaoMsg
This message is used to request funding from a DAO. Proposers must specify a recipient address along with the asset and amount requested.
UpgradeDaoMsg
Upgrades a DAO to a new Enterprise code version, enabling the DAO to benefit from new features and bug fixes.
ExecuteMsgsMsg
Makes the DAO execute a list of Cosmos messages.
To learn how to write messages for governance proposals, visit the Message templates section.
ModifyMultisigMembershipMsg
Updates the multisig members of a DAO by specifying new weights for addresses. Only available in multisig DAOs.
Expiration
Expiration defines the height or time at which a governance proposal will expire.
Expiration defines the height or time at which a governance proposal will expire.
MultisigMember
MultisigMember defines an address and its weight in the multisig.
MultisigMember defines an address and its weight in the multisig.