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.