/** * 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, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const INITIALIZE_TOKEN_METADATA_DISCRIMINATOR: Uint8Array; export declare function getInitializeTokenMetadataDiscriminatorBytes(): ReadonlyUint8Array; export type InitializeTokenMetadataInstruction = string, TAccountUpdateAuthority extends string | AccountMeta = string, TAccountMint extends string | AccountMeta = string, TAccountMintAuthority extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMetadata extends string ? WritableAccount : TAccountMetadata, TAccountUpdateAuthority extends string ? ReadonlyAccount : TAccountUpdateAuthority, TAccountMint extends string ? ReadonlyAccount : TAccountMint, TAccountMintAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountMintAuthority, ...TRemainingAccounts ]>; export type InitializeTokenMetadataInstructionData = { discriminator: ReadonlyUint8Array; /** Longer name of the token. */ name: string; /** Shortened symbol of the token. */ symbol: string; /** URI pointing to more metadata (image, video, etc.). */ uri: string; }; export type InitializeTokenMetadataInstructionDataArgs = { /** Longer name of the token. */ name: string; /** Shortened symbol of the token. */ symbol: string; /** URI pointing to more metadata (image, video, etc.). */ uri: string; }; export declare function getInitializeTokenMetadataInstructionDataEncoder(): Encoder; export declare function getInitializeTokenMetadataInstructionDataDecoder(): Decoder; export declare function getInitializeTokenMetadataInstructionDataCodec(): Codec; export type InitializeTokenMetadataInput = { metadata: Address; updateAuthority: Address; mint: Address; mintAuthority: TransactionSigner; name: InitializeTokenMetadataInstructionDataArgs['name']; symbol: InitializeTokenMetadataInstructionDataArgs['symbol']; uri: InitializeTokenMetadataInstructionDataArgs['uri']; }; export declare function getInitializeTokenMetadataInstruction(input: InitializeTokenMetadataInput, config?: { programAddress?: TProgramAddress; }): InitializeTokenMetadataInstruction; export type ParsedInitializeTokenMetadataInstruction = { programAddress: Address; accounts: { metadata: TAccountMetas[0]; updateAuthority: TAccountMetas[1]; mint: TAccountMetas[2]; mintAuthority: TAccountMetas[3]; }; data: InitializeTokenMetadataInstructionData; }; export declare function parseInitializeTokenMetadataInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeTokenMetadataInstruction; //# sourceMappingURL=initializeTokenMetadata.d.ts.map