solana_program::bpf_loader_upgradeable

Function set_upgrade_authority

source
pub fn set_upgrade_authority(
    program_address: &Pubkey,
    current_authority_address: &Pubkey,
    new_authority_address: Option<&Pubkey>,
) -> Instruction
Expand description

Returns the instructions required to set a program’s authority.