/** * 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 ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from "@solana/kit"; import { PERPETUALS_PROGRAM_ADDRESS } from "../programs"; export declare const SET_TEST_TIME_DISCRIMINATOR: Uint8Array; export declare function getSetTestTimeDiscriminatorBytes(): ReadonlyUint8Array; export type SetTestTimeInstruction = string, TAccountPerpetuals extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdmin extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountAdmin, TAccountPerpetuals extends string ? WritableAccount : TAccountPerpetuals, ...TRemainingAccounts ]>; export type SetTestTimeInstructionData = { discriminator: ReadonlyUint8Array; time: bigint; }; export type SetTestTimeInstructionDataArgs = { time: number | bigint; }; export declare function getSetTestTimeInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetTestTimeInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetTestTimeInstructionDataCodec(): FixedSizeCodec; export type SetTestTimeInput = { admin: TransactionSigner; perpetuals: Address; time: SetTestTimeInstructionDataArgs["time"]; }; export declare function getSetTestTimeInstruction(input: SetTestTimeInput, config?: { programAddress?: TProgramAddress; }): SetTestTimeInstruction; export type ParsedSetTestTimeInstruction = { programAddress: Address; accounts: { admin: TAccountMetas[0]; perpetuals: TAccountMetas[1]; }; data: SetTestTimeInstructionData; }; export declare function parseSetTestTimeInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetTestTimeInstruction; //# sourceMappingURL=setTestTime.d.ts.map