solana_sdk::bpf_loader_upgradeable

Function upgrade

source
pub fn upgrade(
    program_address: &Pubkey,
    buffer_address: &Pubkey,
    authority_address: &Pubkey,
    spill_address: &Pubkey,
) -> Instruction
Expand description

Returns the instructions required to upgrade a program.