1 unstable release

0.1.0 Jul 3, 2023

#32 in #multisig

Download history 5/week @ 2024-07-27 3/week @ 2024-08-24 5/week @ 2024-08-31 11/week @ 2024-09-21 2/week @ 2024-09-28 6/week @ 2024-10-12 1/week @ 2024-10-19 13/week @ 2024-10-26 44/week @ 2024-11-02

64 downloads per month
Used in 2 crates

Apache-2.0

44KB
903 lines

cw4-group voting

A simple voting power module which determines voting power based on the weight of a user in a cw4-group contract. This allocates voting power in the same way that one would expect a multisig to.

For more information about how these modules fit together see this wiki page.

Receiving updates

This contract does not make subqueries to the cw4-group contract to get an addresses voting power. Instead, it listens for MemberChangedHook messages from said contract and caches voting power locally.

As the DAO is the admin of the underlying cw4-group contract it is important that the DAO does not remove this contract from that contract's list of hook receivers. Doing so will cause this contract to stop receiving voting power updates.

Dependencies

~4–6MB
~126K SLoC