@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
27 lines • 1.16 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 Codec, type Decoder, type Encoder, type Option, type OptionOrNullable } from '@solana/kit';
import { type Price, type PriceArgs } from '.';
export type RebalanceAutodriftWindow = {
stakingRateA: Option<Price>;
stakingRateB: Option<Price>;
epoch: bigint;
theoreticalTick: number;
stratMidTick: number;
};
export type RebalanceAutodriftWindowArgs = {
stakingRateA: OptionOrNullable<PriceArgs>;
stakingRateB: OptionOrNullable<PriceArgs>;
epoch: number | bigint;
theoreticalTick: number;
stratMidTick: number;
};
export declare function getRebalanceAutodriftWindowEncoder(): Encoder<RebalanceAutodriftWindowArgs>;
export declare function getRebalanceAutodriftWindowDecoder(): Decoder<RebalanceAutodriftWindow>;
export declare function getRebalanceAutodriftWindowCodec(): Codec<RebalanceAutodriftWindowArgs, RebalanceAutodriftWindow>;
//# sourceMappingURL=rebalanceAutodriftWindow.d.ts.map