Crate tg_voting_contract
source ·Re-exports
pub use error::ContractError;
Modules
Functions
Checks if a given proposal is passed and can then be executed, and returns it.
Notice that this call is mutable, so, better execute the returned proposal after this succeeds,
as you you wouldn’t be able to execute it in the future (If the contract call errors, this status
change will be reverted / ignored).