cw3_flex_multisig/
lib.rs

1/*!
2This builds on [`cw3_fixed_multisig`] with a more
3powerful implementation of the [cw3 spec](https://github.com/CosmWasm/cw-plus/blob/main/packages/cw3/README.md).
4It is a multisig contract that is backed by a
5[cw4 (group)](https://github.com/CosmWasm/cw-plus/blob/main/packages/cw4/README.md) contract, which independently
6maintains the voter set.
7
8This provides 2 main advantages:
9
10* You can create two different multisigs with different voting thresholds
11  backed by the same group. Thus, you can have a 50% vote, and a 67% vote
12  that always use the same voter set, but can take other actions.
13* TODO: It allows dynamic multisig groups.
14
15
16In addition to the dynamic voting set, the main difference with the native
17Cosmos SDK multisig, is that it aggregates the signatures on chain, with
18visible proposals (like `x/gov` in the Cosmos SDK), rather than requiring
19signers to share signatures off chain.
20
21For more information on this contract, please check out the
22[README](https://github.com/CosmWasm/cw-plus/blob/main/contracts/cw3-flex-multisig/README.md).
23*/
24
25pub mod contract;
26pub mod error;
27pub mod msg;
28pub mod state;
29
30pub use crate::error::ContractError;