UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

23 lines 1.02 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 RebalanceDriftStep, type RebalanceDriftStepArgs } from '.'; export type RebalanceDriftState = { step: RebalanceDriftStep; lastDriftTimestamp: bigint; lastMidTick: number; }; export type RebalanceDriftStateArgs = { step: RebalanceDriftStepArgs; lastDriftTimestamp: number | bigint; lastMidTick: number; }; export declare function getRebalanceDriftStateEncoder(): FixedSizeEncoder<RebalanceDriftStateArgs>; export declare function getRebalanceDriftStateDecoder(): FixedSizeDecoder<RebalanceDriftState>; export declare function getRebalanceDriftStateCodec(): FixedSizeCodec<RebalanceDriftStateArgs, RebalanceDriftState>; //# sourceMappingURL=rebalanceDriftState.d.ts.map