spl_token_2022::instruction

Function initialize_permanent_delegate

Source
pub fn initialize_permanent_delegate(
    token_program_id: &Pubkey,
    mint_pubkey: &Pubkey,
    delegate: &Pubkey,
) -> Result<Instruction, ProgramError>
Expand description

Creates an InitializePermanentDelegate instruction