pub fn ramp_a<'a, 'b, 'c, 'info>(
    ctx: CpiContext<'a, 'b, 'c, 'info, AdminUserContext<'info>>,
    target_amp: u64,
    stop_ramp_ts: i64
) -> Result<()>
Expand description

Creates and invokes a stable_swap_client::instruction::ramp_a instruction.

Arguments

See stable_swap_client::instruction::RampAData.

  • target_amp - Target amplification factor to ramp to.
  • stop_ramp_ts - Timestamp when ramp up/down should stop.