/** * 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 WritableSignerAccount } from "@solana/kit"; import { YVAULTS_PROGRAM_ADDRESS } from "../programs"; export declare const CHECK_EXPECTED_VAULTS_BALANCES_DISCRIMINATOR: Uint8Array; export declare function getCheckExpectedVaultsBalancesDiscriminatorBytes(): ReadonlyUint8Array; export type CheckExpectedVaultsBalancesInstruction = string, TAccountTokenAAta extends string | AccountMeta = string, TAccountTokenBAta extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountUser extends string ? WritableSignerAccount & AccountSignerMeta : TAccountUser, TAccountTokenAAta extends string ? ReadonlyAccount : TAccountTokenAAta, TAccountTokenBAta extends string ? ReadonlyAccount : TAccountTokenBAta, ...TRemainingAccounts ]>; export type CheckExpectedVaultsBalancesInstructionData = { discriminator: ReadonlyUint8Array; tokenAAtaBalance: bigint; tokenBAtaBalance: bigint; }; export type CheckExpectedVaultsBalancesInstructionDataArgs = { tokenAAtaBalance: number | bigint; tokenBAtaBalance: number | bigint; }; export declare function getCheckExpectedVaultsBalancesInstructionDataEncoder(): FixedSizeEncoder; export declare function getCheckExpectedVaultsBalancesInstructionDataDecoder(): FixedSizeDecoder; export declare function getCheckExpectedVaultsBalancesInstructionDataCodec(): FixedSizeCodec; export type CheckExpectedVaultsBalancesInput = { user: TransactionSigner; tokenAAta: Address; tokenBAta: Address; tokenAAtaBalance: CheckExpectedVaultsBalancesInstructionDataArgs["tokenAAtaBalance"]; tokenBAtaBalance: CheckExpectedVaultsBalancesInstructionDataArgs["tokenBAtaBalance"]; }; export declare function getCheckExpectedVaultsBalancesInstruction(input: CheckExpectedVaultsBalancesInput, config?: { programAddress?: TProgramAddress; }): CheckExpectedVaultsBalancesInstruction; export type ParsedCheckExpectedVaultsBalancesInstruction = { programAddress: Address; accounts: { user: TAccountMetas[0]; tokenAAta: TAccountMetas[1]; tokenBAta: TAccountMetas[2]; }; data: CheckExpectedVaultsBalancesInstructionData; }; export declare function parseCheckExpectedVaultsBalancesInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedCheckExpectedVaultsBalancesInstruction; //# sourceMappingURL=checkExpectedVaultsBalances.d.ts.map