UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

24 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'; export type WithdrawalCaps = { configCapacity: bigint; currentTotal: bigint; lastIntervalStartTimestamp: bigint; configIntervalLengthSeconds: bigint; }; export type WithdrawalCapsArgs = { configCapacity: number | bigint; currentTotal: number | bigint; lastIntervalStartTimestamp: number | bigint; configIntervalLengthSeconds: number | bigint; }; export declare function getWithdrawalCapsEncoder(): FixedSizeEncoder<WithdrawalCapsArgs>; export declare function getWithdrawalCapsDecoder(): FixedSizeDecoder<WithdrawalCaps>; export declare function getWithdrawalCapsCodec(): FixedSizeCodec<WithdrawalCapsArgs, WithdrawalCaps>; //# sourceMappingURL=withdrawalCaps.d.ts.map