Trait abstract_sdk::base::IbcCallbackEndpoint
source · pub trait IbcCallbackEndpoint: Handler + ModuleInterface {
fn handle_ibc_callback(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: IbcResponseMsg
) -> Result<Response, Self::Error> { ... }
}Provided Methods§
sourcefn handle_ibc_callback(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: IbcResponseMsg
) -> Result<Response, Self::Error>
fn handle_ibc_callback(
self,
deps: DepsMut<'_>,
env: Env,
info: MessageInfo,
msg: IbcResponseMsg
) -> Result<Response, Self::Error>
Takes request, sets destination and executes request handler This fn is the only way to get an ApiContract instance which ensures the destination address is set correctly.