process_recv_packet_execute

Function process_recv_packet_execute 

Source
pub fn process_recv_packet_execute<Ctx: TokenTransferExecutionContext>(
    ctx_b: &mut Ctx,
    packet: &Packet,
    data: PacketData,
) -> Result<ModuleExtras, (ModuleExtras, TokenTransferError)>
Expand description

This function handles the transfer receiving logic.

Note that send/mint_coins_validate steps are performed on the host chain to validate accounts and token info. But the result is then used for execution on the IBC side, including storing acknowledgements and emitting events.