Function solana_program::bpf_loader_upgradeable::set_upgrade_authority[][src]

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.