/** * 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_INTEREST_BEARING_MINT_DISCRIMINATOR = 33; export declare function getInitializeInterestBearingMintDiscriminatorBytes(): ReadonlyUint8Array; export declare const INITIALIZE_INTEREST_BEARING_MINT_INTEREST_BEARING_MINT_DISCRIMINATOR = 0; export declare function getInitializeInterestBearingMintInterestBearingMintDiscriminatorBytes(): ReadonlyUint8Array; export type InitializeInterestBearingMintInstruction = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountMint extends string ? WritableAccount : TAccountMint, ...TRemainingAccounts ]>; export type InitializeInterestBearingMintInstructionData = { discriminator: number; interestBearingMintDiscriminator: number; /** The public key for the account that can update the rate */ rateAuthority: Option
; /** The initial interest rate */ rate: number; }; export type InitializeInterestBearingMintInstructionDataArgs = { /** The public key for the account that can update the rate */ rateAuthority: OptionOrNullable
; /** The initial interest rate */ rate: number; }; export declare function getInitializeInterestBearingMintInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializeInterestBearingMintInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializeInterestBearingMintInstructionDataCodec(): FixedSizeCodec; export type InitializeInterestBearingMintInput = { /** The mint to initialize. */ mint: Address; rateAuthority: InitializeInterestBearingMintInstructionDataArgs['rateAuthority']; rate: InitializeInterestBearingMintInstructionDataArgs['rate']; }; export declare function getInitializeInterestBearingMintInstruction(input: InitializeInterestBearingMintInput, config?: { programAddress?: TProgramAddress; }): InitializeInterestBearingMintInstruction; export type ParsedInitializeInterestBearingMintInstruction = { programAddress: Address; accounts: { /** The mint to initialize. */ mint: TAccountMetas[0]; }; data: InitializeInterestBearingMintInstructionData; }; export declare function parseInitializeInterestBearingMintInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeInterestBearingMintInstruction; //# sourceMappingURL=initializeInterestBearingMint.d.ts.map