pub trait IbcCallbackEndpoint: Handler + ModuleInterface {
    // Provided method
    fn handle_ibc_callback(
        self,
        deps: DepsMut<'_>,
        env: Env,
        info: MessageInfo,
        msg: IbcResponseMsg
    ) -> Result<Response, Self::Error> { ... }
}

Provided Methods§

source

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.

Implementors§