pub fn extend_lookup_table(
    lookup_table_address: Pubkey,
    authority_address: Pubkey,
    payer_address: Pubkey,
    new_addresses: Vec<Pubkey>,
) -> Instruction {
    Instruction::new_with_bincode(
        id(),
        &ProgramInstruction::ExtendLookupTable { new_addresses },
        vec![
            AccountMeta::new(lookup_table_address, false),
            AccountMeta::new_readonly(authority_address, true),
            AccountMeta::new(payer_address, true),
            AccountMeta::new_readonly(system_program::id(), false),
        ],
    )
}
/// Constructs an instruction which extends an address lookup
/// table account with new addresses.
Constructs an instruction which extends an address lookup
table account with new addresses.
Constructs an instruction which extends an address lookup table account with new addresses .
pub fn extend_lookup_table(
    lookup_table_address: Pubkey,
    authority_address: Pubkey,
    payer_address: Pubkey,
    new_addresses: Vec<Pubkey>,
) -> Instruction {
    Instruction::new_with_bincode(
        id(),
        &ProgramInstruction::ExtendLookupTable { new_addresses },
        vec![
            AccountMeta::new(lookup_table_address, false),
            AccountMeta::new_readonly(authority_address, true),
            AccountMeta::new(payer_address, true),
            AccountMeta::new_readonly(system_program::id(), false),
        ],
    )
}
pub fn extend_lookup_table ( lookup_table_address : Pubkey , authority_address : Pubkey , payer_address : Pubkey , new_addresses : Vec < Pubkey > , ) -> Instruction { Instruction :: new_with_bincode ( id ( ) , & ProgramInstruction :: ExtendLookupTable { new_addresses } , vec ! [ AccountMeta new ( lookup_table_address false ) AccountMeta new_readonly ( authority_address true ) AccountMeta new ( payer_address true ) AccountMeta new_readonly ( system_program id ( ) false ) ] , ) }
Constructs an instruction which extends an address lookup
table account with new addresses.
Constructs an instruction which extends an address lookup table account with new addresses .
lookup_table_address
Pubkey
authority_address
Pubkey
payer_address
Pubkey
new_addresses
Vec<Pubkey>