spl_transfer_hook_interface::instruction

Function execute

Source
pub fn execute(
    program_id: &Pubkey,
    source_pubkey: &Pubkey,
    mint_pubkey: &Pubkey,
    destination_pubkey: &Pubkey,
    authority_pubkey: &Pubkey,
    amount: u64,
) -> Instruction
Expand description

Creates an Execute instruction, without the additional accounts