Type Alias SetTokenBadgeAuthorityInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountWhirlpoolsConfigExtension, TAccountConfigExtensionAuthority, TAccountNewTokenBadgeAuthority, TRemainingAccounts>

SetTokenBadgeAuthorityInstruction: 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,
        TAccountNewTokenBadgeAuthority extends string
            ? ReadonlyAccount<TAccountNewTokenBadgeAuthority>
            : TAccountNewTokenBadgeAuthority,
        ...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
  • TAccountNewTokenBadgeAuthority extends string | IAccountMeta<string> = string
  • TRemainingAccounts extends readonly IAccountMeta<string>[] = []