@kamino-finance/kliquidity-sdk
Version:
Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol
25 lines (19 loc) • 937 B
text/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 { combineCodec, getStructDecoder, getStructEncoder, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
export type RebalanceManualState = { };
export type RebalanceManualStateArgs = RebalanceManualState;
export function getRebalanceManualStateEncoder(): FixedSizeEncoder<RebalanceManualStateArgs> {
return getStructEncoder([]);
}
export function getRebalanceManualStateDecoder(): FixedSizeDecoder<RebalanceManualState> {
return getStructDecoder([]);
}
export function getRebalanceManualStateCodec(): FixedSizeCodec<RebalanceManualStateArgs, RebalanceManualState> {
return combineCodec(getRebalanceManualStateEncoder(), getRebalanceManualStateDecoder());
}