abstract_cw4_group/
lib.rs

1/*!
2This is a basic implementation of the [cw4 spec](https://github.com/CosmWasm/cw-plus/blob/main/packages/cw4/README.md).
3It fulfills all elements of the spec, including the raw query lookups,
4and it designed to be used as a backing storage for
5[cw3 compliant contracts](https://github.com/CosmWasm/cw-plus/blob/main/packages/cw3/README.md).
6
7It stores a set of members along with an admin, and allows the admin to
8update the state. Raw queries (intended for cross-contract queries)
9can check a given member address and the total weight. Smart queries (designed
10for client API) can do the same, and also query the admin address as well as
11paginate over all members.
12
13For more information on this contract, please check out the
14[README](https://github.com/CosmWasm/cw-plus/blob/main/contracts/cw4-group/README.md).
15*/
16
17pub mod contract;
18pub mod error;
19pub mod helpers;
20pub mod msg;
21pub mod state;
22
23pub use crate::error::ContractError;
24
25#[cfg(test)]
26mod tests;