cw1 2.0.0

Definition and types for the CosmWasm-1 interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use schemars::JsonSchema;
use std::fmt;

use cosmwasm_schema::cw_serde;
use cosmwasm_std::{CosmosMsg, Empty};

#[cw_serde]
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>> },
}