abstract_cw3/
lib.rs

1/*!
2CW3 is a specification for voting contracts based on CosmWasm.
3It is an extension of CW1 (which served as an immediate 1 of N multisig).
4In this case, no key can immediately execute, but only propose
5a set of messages for execution. The proposal, subsequent
6approvals, and signature aggregation all happen on chain.
7
8For more information on this specification, please check out the
9[README](https://github.com/CosmWasm/cw-plus/blob/main/packages/cw3/README.md).
10*/
11
12// mod helpers;
13mod deposit;
14mod helpers;
15mod msg;
16mod proposal;
17mod query;
18
19pub use crate::deposit::{DepositError, DepositInfo, UncheckedDepositInfo};
20pub use crate::helpers::Cw3Contract;
21pub use crate::msg::{Cw3ExecuteMsg, Vote};
22pub use crate::proposal::{Ballot, Proposal, Votes};
23pub use crate::query::{
24    Cw3QueryMsg, ProposalListResponse, ProposalResponse, Status, VoteInfo, VoteListResponse,
25    VoteResponse, VoterDetail, VoterListResponse, VoterResponse,
26};