solana_program::loader_v4

Function transfer_authority

Source
pub fn transfer_authority(
    program_address: &Pubkey,
    authority: &Pubkey,
    new_authority: &Pubkey,
) -> Instruction
Expand description

Returns the instructions required to transfer authority over a program.