Function stable_swap_anchor::commit_new_admin[][src]

pub fn commit_new_admin<'a, 'b, 'c, 'info>(
    ctx: CpiContext<'a, 'b, 'c, 'info, CommitNewAdmin<'info>>
) -> ProgramResult
Expand description

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

Arguments:

  • new_admin - Public key of the new admin.