Function ibc::ics26_routing::handler::dispatch [−][src]
pub fn dispatch<Ctx>(
ctx: &mut Ctx,
msg: Ics26Envelope
) -> Result<HandlerOutput<()>, Error> where
Ctx: Ics26Context,
Top-level ICS dispatch function. Routes incoming IBC messages to their corresponding module.
Returns a handler output with empty result of type HandlerOutput<()>
which contains the log
and events produced after processing the input msg
.