UNPKG

@kamino-finance/kliquidity-sdk

Version:

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

30 lines 1.13 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'; export type TickState = { tick: number; liquidityNet: bigint; liquidityGross: bigint; feeGrowthOutside0X64: bigint; feeGrowthOutside1X64: bigint; rewardGrowthsOutsideX64: Array<bigint>; padding: Array<number>; }; export type TickStateArgs = { tick: number; liquidityNet: number | bigint; liquidityGross: number | bigint; feeGrowthOutside0X64: number | bigint; feeGrowthOutside1X64: number | bigint; rewardGrowthsOutsideX64: Array<number | bigint>; padding: Array<number>; }; export declare function getTickStateEncoder(): FixedSizeEncoder<TickStateArgs>; export declare function getTickStateDecoder(): FixedSizeDecoder<TickState>; export declare function getTickStateCodec(): FixedSizeCodec<TickStateArgs, TickState>; //# sourceMappingURL=tickState.d.ts.map