/** * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, 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 MINT_TO_CHECKED_DISCRIMINATOR = 14; export declare function getMintToCheckedDiscriminatorBytes(): ReadonlyUint8Array; export type MintToCheckedInstruction = string, TAccountToken extends string | AccountMeta = string, TAccountMintAuthority extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, TAccountToken extends string ? WritableAccount : TAccountToken, TAccountMintAuthority extends string ? ReadonlyAccount : TAccountMintAuthority, ...TRemainingAccounts ]>; export type MintToCheckedInstructionData = { discriminator: number; /** The amount of new tokens to mint. */ amount: bigint; /** Expected number of base 10 digits to the right of the decimal place. */ decimals: number; }; export type MintToCheckedInstructionDataArgs = { /** The amount of new tokens to mint. */ amount: number | bigint; /** Expected number of base 10 digits to the right of the decimal place. */ decimals: number; }; export declare function getMintToCheckedInstructionDataEncoder(): FixedSizeEncoder; export declare function getMintToCheckedInstructionDataDecoder(): FixedSizeDecoder; export declare function getMintToCheckedInstructionDataCodec(): FixedSizeCodec; export type MintToCheckedInput = { /** The mint. */ mint: Address; /** The account to mint tokens to. */ token: Address; /** The mint's minting authority or its multisignature account. */ mintAuthority: Address | TransactionSigner; amount: MintToCheckedInstructionDataArgs['amount']; decimals: MintToCheckedInstructionDataArgs['decimals']; multiSigners?: Array; }; export declare function getMintToCheckedInstruction(input: MintToCheckedInput, config?: { programAddress?: TProgramAddress; }): MintToCheckedInstruction ? ReadonlySignerAccount & AccountSignerMeta : TAccountMintAuthority>; export type ParsedMintToCheckedInstruction = { programAddress: Address; accounts: { /** The mint. */ mint: TAccountMetas[0]; /** The account to mint tokens to. */ token: TAccountMetas[1]; /** The mint's minting authority or its multisignature account. */ mintAuthority: TAccountMetas[2]; }; data: MintToCheckedInstructionData; }; export declare function parseMintToCheckedInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedMintToCheckedInstruction; //# sourceMappingURL=mintToChecked.d.ts.map