Function stable_swap_anchor::ramp_a [−][src]
pub fn ramp_a<'a, 'b, 'c, 'info>(
ctx: CpiContext<'a, 'b, 'c, 'info, AdminUserContext<'info>>,
target_amp: u64,
stop_ramp_ts: i64
) -> ProgramResult
Expand description
Creates and invokes a stable_swap_client::instruction::ramp_a instruction.
Arguments:
target_amp
- Target amplification factor to ramp to.stop_ramp_ts
- Timestamp when ramp up/down should stop.