Type Alias SubMsg

Source
pub type SubMsg = SubMsg<StargazeMsgWrapper>;

Aliased Type§

pub struct SubMsg {
    pub id: u64,
    pub msg: CosmosMsg<StargazeMsgWrapper>,
    pub gas_limit: Option<u64>,
    pub reply_on: ReplyOn,
}

Fields§

§id: u64

An arbitrary ID chosen by the contract. This is typically used to match Replys in the reply entry point to the submessage.

§msg: CosmosMsg<StargazeMsgWrapper>§gas_limit: Option<u64>

Gas limit measured in Cosmos SDK gas.

§reply_on: ReplyOn