UNPKG

@kamino-finance/farms-sdk

Version:
29 lines 1.05 kB
/** * 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"; import { type Price, type PriceArgs } from "."; export type DatedPrice = { price: Price; lastUpdatedSlot: bigint; unixTimestamp: bigint; reserved: Array<bigint>; reserved2: Array<number>; index: number; }; export type DatedPriceArgs = { price: PriceArgs; lastUpdatedSlot: number | bigint; unixTimestamp: number | bigint; reserved: Array<number | bigint>; reserved2: Array<number>; index: number; }; export declare function getDatedPriceEncoder(): FixedSizeEncoder<DatedPriceArgs>; export declare function getDatedPriceDecoder(): FixedSizeDecoder<DatedPrice>; export declare function getDatedPriceCodec(): FixedSizeCodec<DatedPriceArgs, DatedPrice>; //# sourceMappingURL=datedPrice.d.ts.map