Type Alias SetConfigExtensionAuthorityInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountWhirlpoolsConfigExtension, TAccountConfigExtensionAuthority, TAccountNewConfigExtensionAuthority, TRemainingAccounts>

SetConfigExtensionAuthorityInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountWhirlpoolsConfig extends string
            ? ReadonlyAccount<TAccountWhirlpoolsConfig>
            : TAccountWhirlpoolsConfig,
        TAccountWhirlpoolsConfigExtension extends string
            ? WritableAccount<TAccountWhirlpoolsConfigExtension>
            : TAccountWhirlpoolsConfigExtension,
        TAccountConfigExtensionAuthority extends string
            ? ReadonlySignerAccount<TAccountConfigExtensionAuthority> & IAccountSignerMeta<
                TAccountConfigExtensionAuthority,
            >
            : TAccountConfigExtensionAuthority,
        TAccountNewConfigExtensionAuthority extends string
            ? ReadonlyAccount<TAccountNewConfigExtensionAuthority>
            : TAccountNewConfigExtensionAuthority,
        ...TRemainingAccounts,
    ],
>

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountWhirlpoolsConfig extends string | IAccountMeta<string> = string
  • TAccountWhirlpoolsConfigExtension extends string | IAccountMeta<string> = string
  • TAccountConfigExtensionAuthority extends string | IAccountMeta<string> = string
  • TAccountNewConfigExtensionAuthority extends string | IAccountMeta<string> = string
  • TRemainingAccounts extends readonly IAccountMeta<string>[] = []