Trait abstract_sdk::base::IbcCallbackEndpoint
source · pub trait IbcCallbackEndpoint: Handler {
// Required method
fn ibc_client_addr(&self, deps: Deps<'_>) -> Result<Addr, Self::Error>;
// Provided method
fn ibc_callback(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: IbcResponseMsg,
) -> Result<Response, Self::Error> { ... }
}
Expand description
Trait for a contract’s IBC callback ExecuteMsg variant.
Required Methods§
Provided Methods§
sourcefn ibc_callback(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: IbcResponseMsg,
) -> Result<Response, Self::Error>
fn ibc_callback( self, deps: DepsMut<'_>, env: Env, info: MessageInfo, msg: IbcResponseMsg, ) -> Result<Response, Self::Error>
Handler for the ExecuteMsg::IbcCallback()
variant.
Object Safety§
This trait is not object safe.