spl_token_2022::extension::interest_bearing_mint::instruction

Function update_rate

Source
pub fn update_rate(
    token_program_id: &Pubkey,
    mint: &Pubkey,
    rate_authority: &Pubkey,
    signers: &[&Pubkey],
    rate: i16,
) -> Result<Instruction, ProgramError>
Expand description

Create an UpdateRate instruction