pub fn add_cpi_accounts_for_execute<'a>(
cpi_instruction: &mut Instruction,
cpi_account_infos: &mut Vec<AccountInfo<'a>>,
mint_pubkey: &Pubkey,
program_id: &Pubkey,
additional_accounts: &[AccountInfo<'a>]
) -> ProgramResult
Expand description
Helper to add accounts required for the transfer-hook program on-chain, looking through the additional account infos to add the proper accounts