pub fn accrue_reserve_interest(program_id: Pubkey, reserve_pubkeys: Vec<Pubkey>) -> Instruction {
    let mut accounts = vec![AccountMeta::new_readonly(sysvar::clock::id(), false)];
    accounts.extend(
        reserve_pubkeys
            .into_iter()
            .map(|reserve_pubkey| AccountMeta::new(reserve_pubkey, false)),
    );
    Instruction {
        program_id,
        accounts,
        data: LendingInstruction::AccrueReserveInterest.pack(),
    }
}
/// Creates an `AccrueReserveInterest` instruction
Creates an `AccrueReserveInterest` instruction
Creates an ` AccrueReserveInterest ` instruction
pub fn accrue_reserve_interest(program_id: Pubkey, reserve_pubkeys: Vec<Pubkey>) -> Instruction {
    let mut accounts = vec![AccountMeta::new_readonly(sysvar::clock::id(), false)];
    accounts.extend(
        reserve_pubkeys
            .into_iter()
            .map(|reserve_pubkey| AccountMeta::new(reserve_pubkey, false)),
    );
    Instruction {
        program_id,
        accounts,
        data: LendingInstruction::AccrueReserveInterest.pack(),
    }
}
pub fn accrue_reserve_interest ( program_id : Pubkey , reserve_pubkeys : Vec < Pubkey > ) -> Instruction { let mut accounts = vec ! [ AccountMeta new_readonly ( sysvar clock id ( ) false ) ] ; accounts . extend ( reserve_pubkeys . into_iter ( ) . map ( | reserve_pubkey | AccountMeta :: new ( reserve_pubkey , false ) ) , ) ; Instruction { program_id , accounts , data : LendingInstruction :: AccrueReserveInterest . pack ( ) , } }
Creates an `AccrueReserveInterest` instruction
Creates an ` AccrueReserveInterest ` instruction
program_id
Pubkey
reserve_pubkeys
Vec<Pubkey>