spl_token_2022::extension::scaled_ui_amount::instruction

Function initialize

Source
pub fn initialize(
    token_program_id: &Pubkey,
    mint: &Pubkey,
    authority: Option<Pubkey>,
    multiplier: f64,
) -> Result<Instruction, ProgramError>
Expand description

Create an Initialize instruction