Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.4 KB

00_diff.md

File metadata and controls

31 lines (25 loc) · 1.4 KB

Diff

This page tries to capture the difference between the existing Gov module and this DAO one.

Note that there is a considerable change in what the DAO module tries to achieve from the outset. Gov may be considered the governance of the entire chain as a whole only whereas DAO represents the toolkit for groups to govern one another where one group most likely represents the chain as a whole (the staking group). Some of the diff described here may be more in relation to the groups module which also housed data structures such as Vote and Proposal

Proposal Filter

This is a relatively novel feature (taken from PolicyKit). Predominantly this allows for categorization of proposals and thus a divide and conquer form of governannce or representational forms of governance. A standard example might be to create a sub group that oversees only specific param proposals. It can also be used as a means of mitigating spam or settting other constrains (i.e. a max withdrawal amount). The interface:

type ProposalFilter interface {
    Validate(group GroupAccount, proposal Proposal, otherProposals []Proposal) error
}

Also allows for comparison with other running proposals for logic that requires a more complete overview of the currently running proposals within a DAO.