Crate abstract_cw3
source ·Expand description
CW3 is a specification for voting contracts based on CosmWasm. It is an extension of CW1 (which served as an immediate 1 of N multisig). In this case, no key can immediately execute, but only propose a set of messages for execution. The proposal, subsequent approvals, and signature aggregation all happen on chain.
For more information on this specification, please check out the README.
Structs§
- Cw3Contract is a wrapper around Addr that provides a lot of helpers for working with this.
- Information about the deposit required to create a proposal.
- Note, if you are storing custom messages in the proposal, the querier needs to know what possible custom message types those are in order to parse the response
- Information about the deposit required to create a proposal. For use in messages. To validate, transform into
DepositInfo
viainto_checked()
. - Returns the vote (opinion as well as weight counted) as well as the address of the voter who submitted it