DA0-DA0 / dao-contracts

CosmWasm smart contracts for Interchain DAOs.
https://docs.daodao.zone
BSD 3-Clause "New" or "Revised" License
202 stars 133 forks source link

Timelock on proposal execution #736

Closed JakeHartnell closed 7 months ago

JakeHartnell commented 10 months ago

A good feature to upstream from the Neutron DAO fork is timelock on proposal execution. I.E. when a proposal passes voting there is configurable delay on execution whereby a configurable address (or parent DAO) may vote to veto it.

Their implementation: https://github.com/neutron-org/neutron-dao/tree/448c7c91e85ccd02d13fdaf7cddb66f04abf8ca9/contracts/subdaos/cwd-subdao-timelock-single

There are probably a couple of ways to implement this, but feel the most straight forward is to implement it at the proposal module level (for example, in dao-proposal-single and dao-proposal-multiple.

JakeHartnell commented 10 months ago

Seems they've done it via a pre-propose module. Will investigate that option.