/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import type { AccountMeta, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount } from "@solana/kit"; import { WHIRLPOOL_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const SET_TOKEN_BADGE_AUTHORITY_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetTokenBadgeAuthorityDiscriminatorBytes(): ReadonlyUint8Array; export type SetTokenBadgeAuthorityInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountWhirlpoolsConfig extends string ? ReadonlyAccount : TAccountWhirlpoolsConfig, TAccountWhirlpoolsConfigExtension extends string ? WritableAccount : TAccountWhirlpoolsConfigExtension, TAccountConfigExtensionAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountConfigExtensionAuthority, TAccountNewTokenBadgeAuthority extends string ? ReadonlyAccount : TAccountNewTokenBadgeAuthority, ...TRemainingAccounts ]>; export interface SetTokenBadgeAuthorityInstructionData { discriminator: ReadonlyUint8Array; } export type SetTokenBadgeAuthorityInstructionDataArgs = {}; export declare function getSetTokenBadgeAuthorityInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetTokenBadgeAuthorityInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetTokenBadgeAuthorityInstructionDataCodec(): FixedSizeCodec; export interface SetTokenBadgeAuthorityInput { whirlpoolsConfig: Address; whirlpoolsConfigExtension: Address; configExtensionAuthority: TransactionSigner; newTokenBadgeAuthority: Address; } export declare function getSetTokenBadgeAuthorityInstruction(input: SetTokenBadgeAuthorityInput, config?: { programAddress?: TProgramAddress; }): SetTokenBadgeAuthorityInstruction; export interface ParsedSetTokenBadgeAuthorityInstruction { programAddress: Address; accounts: { whirlpoolsConfig: TAccountMetas[0]; whirlpoolsConfigExtension: TAccountMetas[1]; configExtensionAuthority: TAccountMetas[2]; newTokenBadgeAuthority: TAccountMetas[3]; }; data: SetTokenBadgeAuthorityInstructionData; } export declare function parseSetTokenBadgeAuthorityInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetTokenBadgeAuthorityInstruction; //# sourceMappingURL=setTokenBadgeAuthority.d.ts.map