pub fn upgrade( program_address: &Pubkey, buffer_address: &Pubkey, authority_address: &Pubkey, spill_address: &Pubkey, ) -> Instruction
Returns the instructions required to upgrade a program.