Trait abstract_cw3_flex_multisig::msg::ExecuteMsgFns

source ·
pub trait ExecuteMsgFns<Chain: CwEnv>: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg> {
    // Provided methods
    fn propose(
        &self,
        description: String,
        msgs: Vec<CosmosMsg<Empty>>,
        title: String,
        latest: Option<Expiration>
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn vote(
        &self,
        proposal_id: u64,
        vote: Vote
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn execute(
        &self,
        proposal_id: u64
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn close(&self, proposal_id: u64) -> Result<TxResponse<Chain>, CwOrchError> { ... }
    fn member_changed_hook(
        &self,
        arg0: MemberChangedHookMsg
    ) -> Result<TxResponse<Chain>, CwOrchError> { ... }
}
Expand description

Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.

Provided Methods§

source

fn propose( &self, description: String, msgs: Vec<CosmosMsg<Empty>>, title: String, latest: Option<Expiration> ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::Propose variant

source

fn vote( &self, proposal_id: u64, vote: Vote ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::Vote variant

source

fn execute(&self, proposal_id: u64) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::Execute variant

source

fn close(&self, proposal_id: u64) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::Close variant

source

fn member_changed_hook( &self, arg0: MemberChangedHookMsg ) -> Result<TxResponse<Chain>, CwOrchError>

Automatically generated wrapper around ExecuteMsg::MemberChangedHook variant

Implementors§

source§

impl<SupportedContract, Chain: CwEnv> ExecuteMsgFns<Chain> for SupportedContract
where SupportedContract: CwOrchExecute<Chain, ExecuteMsg = ExecuteMsg>,