cw1/msg.rs
1use schemars::JsonSchema;
2use std::fmt;
3
4use cosmwasm_schema::cw_serde;
5use cosmwasm_std::{CosmosMsg, Empty};
6
7#[cw_serde]
8pub enum Cw1ExecuteMsg<T = Empty>
9where
10 T: Clone + fmt::Debug + PartialEq + JsonSchema,
11{
12 /// Execute requests the contract to re-dispatch all these messages with the
13 /// contract's address as sender. Every implementation has it's own logic to
14 /// determine in
15 Execute { msgs: Vec<CosmosMsg<T>> },
16}