Module callbacks

Source

Structs§

CallbackMessage
Executed on the callback receiver upon message completion. When being executed, the message will be tagged with “callback”:
CallbackRequest
A request for a callback.
ErrorResponse
ExecutionResponse

Enums§

Callback
CallbackRequestType
Disembiguates between a callback for remote message execution and queries.

Functions§

on_ack
Call on every packet ACK. Returns a callback message to execute, if any, and the address that executed the request on the remote chain (the message initiator’s remote account), if any.
on_timeout
Call on every packet timeout. Returns a callback message to execute, if any.
request_callback
Requests that a callback be returned for the IBC message identified by (channel_id, sequence_number).