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