pub trait IbcCallbackEndpoint: Sized + MemoryOperation {
    type ContractError: From<StdError>;

    fn callback_handler(
        &self,
        id: &str
    ) -> Option<IbcCallbackHandlerFn<Self, Self::ContractError>>; fn handle_ibc_callback(
        self,
        deps: DepsMut<'_>,
        env: Env,
        info: MessageInfo,
        msg: IbcResponseMsg
    ) -> Result<Response, Self::ContractError> { ... } }

Required Associated Types

Required Methods

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.

Provided Methods

Implementors