solana_sdk::bpf_loader_upgradeable

Function set_buffer_authority_checked

Source
pub fn set_buffer_authority_checked(
    buffer_address: &Pubkey,
    current_authority_address: &Pubkey,
    new_authority_address: &Pubkey,
) -> Instruction
Expand description

Returns the instructions required to set a buffers’s authority. If using this instruction, the new authority must sign.