Trait abstract_sdk::base::ModuleIbcEndpoint
source · pub trait ModuleIbcEndpoint: Handler {
// Required method
fn ibc_host(&self, deps: Deps<'_>) -> Result<Addr, Self::Error>;
// Provided method
fn module_ibc(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: ModuleIbcMsg,
) -> Result<Response, Self::Error> { ... }
}
Expand description
Trait for a contract to call itself on an IBC counterpart.
Required Methods§
Provided Methods§
sourcefn module_ibc(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: ModuleIbcMsg,
) -> Result<Response, Self::Error>
fn module_ibc( self, deps: DepsMut<'_>, env: Env, info: MessageInfo, msg: ModuleIbcMsg, ) -> Result<Response, Self::Error>
Handler for the ExecuteMsg::ModuleIbc(ModuleIbcMsg)
variant.
Object Safety§
This trait is not object safe.