/** * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from "@solana/kit"; export type EmaTwap = { lastUpdateSlot: bigint; lastUpdateUnixTimestamp: bigint; currentEma1h: bigint; /** The sample tracker is a 64 bit number where each bit represents a point in time. */ updatesTracker1h: bigint; updatesTracker7d: bigint; currentEma8h: bigint; currentEma24h: bigint; updatesTracker8h: bigint; updatesTracker24h: bigint; currentEma7d: bigint; padding1: Array; }; export type EmaTwapArgs = { lastUpdateSlot: number | bigint; lastUpdateUnixTimestamp: number | bigint; currentEma1h: number | bigint; /** The sample tracker is a 64 bit number where each bit represents a point in time. */ updatesTracker1h: number | bigint; updatesTracker7d: number | bigint; currentEma8h: number | bigint; currentEma24h: number | bigint; updatesTracker8h: number | bigint; updatesTracker24h: number | bigint; currentEma7d: number | bigint; padding1: Array; }; export declare function getEmaTwapEncoder(): FixedSizeEncoder; export declare function getEmaTwapDecoder(): FixedSizeDecoder; export declare function getEmaTwapCodec(): FixedSizeCodec; //# sourceMappingURL=emaTwap.d.ts.map