Function solana_sdk::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
Returns the instructions required to set a program’s authority.