Type Alias InitializeTokenBadgeInstruction<TProgram, TAccountWhirlpoolsConfig, TAccountWhirlpoolsConfigExtension, TAccountTokenBadgeAuthority, TAccountTokenMint, TAccountTokenBadge, TAccountFunder, TAccountSystemProgram, TRemainingAccounts>

InitializeTokenBadgeInstruction: IInstruction<TProgram> & IInstructionWithData<
    Uint8Array,
> & IInstructionWithAccounts<
    [
        TAccountWhirlpoolsConfig extends string
            ? ReadonlyAccount<TAccountWhirlpoolsConfig>
            : TAccountWhirlpoolsConfig,
        TAccountWhirlpoolsConfigExtension extends string
            ? ReadonlyAccount<TAccountWhirlpoolsConfigExtension>
            : TAccountWhirlpoolsConfigExtension,
        TAccountTokenBadgeAuthority extends string
            ? ReadonlySignerAccount<TAccountTokenBadgeAuthority> & IAccountSignerMeta<
                TAccountTokenBadgeAuthority,
            >
            : TAccountTokenBadgeAuthority,
        TAccountTokenMint extends string
            ? ReadonlyAccount<TAccountTokenMint>
            : TAccountTokenMint,
        TAccountTokenBadge extends string
            ? WritableAccount<TAccountTokenBadge>
            : TAccountTokenBadge,
        TAccountFunder extends string
            ? WritableSignerAccount<TAccountFunder> & IAccountSignerMeta<
                TAccountFunder,
            >
            : TAccountFunder,
        TAccountSystemProgram extends string
            ? ReadonlyAccount<TAccountSystemProgram>
            : TAccountSystemProgram,
        ...TRemainingAccounts,
    ],
>

Type Parameters

  • TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
  • TAccountWhirlpoolsConfig extends string | IAccountMeta<string> = string
  • TAccountWhirlpoolsConfigExtension extends string | IAccountMeta<string> = string
  • TAccountTokenBadgeAuthority extends string | IAccountMeta<string> = string
  • TAccountTokenMint extends string | IAccountMeta<string> = string
  • TAccountTokenBadge extends string | IAccountMeta<string> = string
  • TAccountFunder extends string | IAccountMeta<string> = string
  • TAccountSystemProgram extends string | IAccountMeta<string> = "11111111111111111111111111111111"
  • TRemainingAccounts extends readonly IAccountMeta<string>[] = []