@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
28 lines • 1.02 kB
TypeScript
/**
* 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 Tick = {
initialized: boolean;
liquidityNet: bigint;
liquidityGross: bigint;
feeGrowthOutsideA: bigint;
feeGrowthOutsideB: bigint;
rewardGrowthsOutside: Array<bigint>;
};
export type TickArgs = {
initialized: boolean;
liquidityNet: number | bigint;
liquidityGross: number | bigint;
feeGrowthOutsideA: number | bigint;
feeGrowthOutsideB: number | bigint;
rewardGrowthsOutside: Array<number | bigint>;
};
export declare function getTickEncoder(): FixedSizeEncoder<TickArgs>;
export declare function getTickDecoder(): FixedSizeDecoder<Tick>;
export declare function getTickCodec(): FixedSizeCodec<TickArgs, Tick>;
//# sourceMappingURL=tick.d.ts.map