send_transfer_validate

Function send_transfer_validate 

Source
pub fn send_transfer_validate<SendPacketCtx, TokenCtx>(
    send_packet_ctx_a: &SendPacketCtx,
    token_ctx_a: &TokenCtx,
    msg: MsgTransfer,
) -> Result<(), TokenTransferError>
Expand description

Validates the token transfer. If this succeeds, then it is legal to initiate the transfer with send_transfer_execute.