dao-pre-propose-multiple

Crates.iodao-pre-propose-multiple
lib.rsdao-pre-propose-multiple
version2.6.0
sourcesrc
created_at2023-07-03 16:18:47.522668
updated_at2024-11-08 00:01:01.75331
descriptionA DAO DAO pre-propose module for dao-proposal-multiple for native and cw20 deposits.
homepage
repositoryhttps://github.com/DA0-DA0/dao-contracts
max_upload_size
id907183
size219,470
publishers (github:da0-da0:publishers)

documentation

README

Multiple choice proposal deposit contract

dao-pre-propose-multiple on crates.io docs.rs

This is a pre-propose module that manages proposal deposits for the dao-proposal-multiple proposal module.

It may accept either native (bank module), cw20 tokens, or no tokens as a deposit. If a proposal deposit is enabled the following refund strategies are avaliable:

  1. Never refund deposits. All deposits are sent to the DAO on proposal completion.
  2. Always refund deposits. Deposits are returned to the proposer on proposal completion.
  3. Only refund passed proposals. Deposits are only returned to the proposer if the proposal passes. Otherwise, they are sent to the DAO.

This module may also be configured to only accept proposals from members (addresses with voting power) of the DAO.

Here is a flowchart showing the proposal creation process using this module:

Resources

More about the pre-propose design.

More about pre-propose modules.

Commit count: 879

cargo fmt