/** * 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 ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit"; import { YVAULTS_PROGRAM_ADDRESS } from "../programs"; export declare const INITIALIZE_COLLATERAL_INFO_DISCRIMINATOR: Uint8Array; export declare function getInitializeCollateralInfoDiscriminatorBytes(): ReadonlyUint8Array; export type InitializeCollateralInfoInstruction = string, TAccountGlobalConfig extends string | AccountMeta = string, TAccountCollInfo extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdminAuthority extends string ? WritableSignerAccount & AccountSignerMeta : TAccountAdminAuthority, TAccountGlobalConfig extends string ? WritableAccount : TAccountGlobalConfig, TAccountCollInfo extends string ? WritableAccount : TAccountCollInfo, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type InitializeCollateralInfoInstructionData = { discriminator: ReadonlyUint8Array; }; export type InitializeCollateralInfoInstructionDataArgs = {}; export declare function getInitializeCollateralInfoInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializeCollateralInfoInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializeCollateralInfoInstructionDataCodec(): FixedSizeCodec; export type InitializeCollateralInfoInput = { adminAuthority: TransactionSigner; globalConfig: Address; collInfo: Address; systemProgram?: Address; }; export declare function getInitializeCollateralInfoInstruction(input: InitializeCollateralInfoInput, config?: { programAddress?: TProgramAddress; }): InitializeCollateralInfoInstruction; export type ParsedInitializeCollateralInfoInstruction = { programAddress: Address; accounts: { adminAuthority: TAccountMetas[0]; globalConfig: TAccountMetas[1]; collInfo: TAccountMetas[2]; systemProgram: TAccountMetas[3]; }; data: InitializeCollateralInfoInstructionData; }; export declare function parseInitializeCollateralInfoInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeCollateralInfoInstruction; //# sourceMappingURL=initializeCollateralInfo.d.ts.map