Function solana_sdk::bpf_loader_upgradeable::upgrade [−][src]
pub fn upgrade(
program_address: &Pubkey,
buffer_address: &Pubkey,
authority_address: &Pubkey,
spill_address: &Pubkey
) -> Instruction
Returns the instructions required to upgrade a program.