dao-contracts
dao-contracts copied to clipboard
Absolute count threshold for multi-proposals
Related issue https://github.com/DA0-DA0/dao-contracts/issues/368
Approach
- Pull the
{ quorum: PercentageThreshold }
constraint into aMultipleProposalThreshold
enum that also allows configuring for a{ threshold: Uint128 }
constraint - Update logic in
contract.rs
to accomodate for these changes when verifying the status of a proposal - Amend many of the tests to accomodate for this new logic
wow so fast! nice!
thanks for this change! looks good at a skim.
we're currently getting really close to releasing v2 of the contracts. thinking we're going to wait on landing this change until that is live. there will be some rebase conflicts here as we're doing some file renaming, but we can return to this / get those fixed once v2 is out!