Type Alias abstract_std::adapter::ExecuteMsg

source ·
pub type ExecuteMsg<Request = Empty, ReceiveMsg = Empty> = ExecuteMsg<BaseExecuteMsg, AdapterRequestMsg<Request>, ReceiveMsg>;

Aliased Type§

enum ExecuteMsg<Request = Empty, ReceiveMsg = Empty> {
    Base(BaseExecuteMsg),
    Module(AdapterRequestMsg<Request>),
    IbcCallback(IbcResponseMsg),
    ModuleIbc(ModuleIbcMsg),
    Receive(ReceiveMsg),
}

Variants§

§

Base(BaseExecuteMsg)

A configuration message, defined by the base.

§

Module(AdapterRequestMsg<Request>)

An app request defined by a base consumer.

§

IbcCallback(IbcResponseMsg)

IbcReceive to process IBC callbacks In order to trust this, the apps and adapters verify this comes from the ibc-client contract.

§

ModuleIbc(ModuleIbcMsg)

ModuleIbc endpoint to receive messages from modules on other chains
In order to trust this, the apps and adapters verify this comes from the ibc-host contract. They should also trust the sending chain

§

Receive(ReceiveMsg)

Receive endpoint for CW20 / external service integrations

Trait Implementations§

source§

impl<T: AdapterExecuteMsg, R: Serialize> From<T> for ExecuteMsg<T, R>

source§

fn from(adapter_msg: T) -> Self

Converts to this type from the input type.