spl_token_2022::extension::cpi_guard::instruction

Function enable_cpi_guard

Source
pub fn enable_cpi_guard(
    token_program_id: &Pubkey,
    account: &Pubkey,
    owner: &Pubkey,
    signers: &[&Pubkey],
) -> Result<Instruction, ProgramError>
Expand description

Create an Enable instruction