@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Function getSetRingActivationInstructionAsync

    • Mirrors Rust SetRingActivation::instruction. Governance admits a ring, or contains one it no longer trusts, and owns the authority-transact rail for the ring's whole life. The authority must be the config's ring creation authority. This never touches the ring's own paused flag.

      Ring creation is permissionless and lands inert on a permissioned pool, so this is the second of the two transactions that bring a ring up. The pool is called directly, which is what keeps a governance signature out of the candidate ring program's call chain.

      Parameters

      • input: Readonly<
            {
                authority: SignerAccount;
                ringConfig: Address;
                activated: boolean;
                ringAuthorityTransactIsEnabled: boolean;
            },
        >

      Returns Promise<
          Instruction<
              string,
              readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[],
          >,
      >