/** * 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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const INITIALIZE_SCALED_UI_AMOUNT_MINT_DISCRIMINATOR = 43; export declare function getInitializeScaledUiAmountMintDiscriminatorBytes(): ReadonlyUint8Array; export declare const INITIALIZE_SCALED_UI_AMOUNT_MINT_SCALED_UI_AMOUNT_MINT_DISCRIMINATOR = 0; export declare function getInitializeScaledUiAmountMintScaledUiAmountMintDiscriminatorBytes(): ReadonlyUint8Array; export type InitializeScaledUiAmountMintInstruction = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, ...TRemainingAccounts ]>; export type InitializeScaledUiAmountMintInstructionData = { discriminator: number; scaledUiAmountMintDiscriminator: number; /** The authority that can update the multiplier */ authority: Option
; /** The initial multiplier for the scaled UI extension */ multiplier: number; }; export type InitializeScaledUiAmountMintInstructionDataArgs = { /** The authority that can update the multiplier */ authority: OptionOrNullable
; /** The initial multiplier for the scaled UI extension */ multiplier: number; }; export declare function getInitializeScaledUiAmountMintInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializeScaledUiAmountMintInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializeScaledUiAmountMintInstructionDataCodec(): FixedSizeCodec; export type InitializeScaledUiAmountMintInput = { /** The mint to initialize. */ mint: Address; authority: InitializeScaledUiAmountMintInstructionDataArgs['authority']; multiplier: InitializeScaledUiAmountMintInstructionDataArgs['multiplier']; }; export declare function getInitializeScaledUiAmountMintInstruction(input: InitializeScaledUiAmountMintInput, config?: { programAddress?: TProgramAddress; }): InitializeScaledUiAmountMintInstruction; export type ParsedInitializeScaledUiAmountMintInstruction = { programAddress: Address; accounts: { /** The mint to initialize. */ mint: TAccountMetas[0]; }; data: InitializeScaledUiAmountMintInstructionData; }; export declare function parseInitializeScaledUiAmountMintInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeScaledUiAmountMintInstruction; //# sourceMappingURL=initializeScaledUiAmountMint.d.ts.map