UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

34 lines 1.32 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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit'; export type KaminoRewardInfo = { decimals: bigint; rewardVault: Address; rewardMint: Address; rewardCollateralId: bigint; lastIssuanceTs: bigint; rewardPerSecond: bigint; amountUncollected: bigint; amountIssuedCumulative: bigint; amountAvailable: bigint; }; export type KaminoRewardInfoArgs = { decimals: number | bigint; rewardVault: Address; rewardMint: Address; rewardCollateralId: number | bigint; lastIssuanceTs: number | bigint; rewardPerSecond: number | bigint; amountUncollected: number | bigint; amountIssuedCumulative: number | bigint; amountAvailable: number | bigint; }; export declare function getKaminoRewardInfoEncoder(): FixedSizeEncoder<KaminoRewardInfoArgs>; export declare function getKaminoRewardInfoDecoder(): FixedSizeDecoder<KaminoRewardInfo>; export declare function getKaminoRewardInfoCodec(): FixedSizeCodec<KaminoRewardInfoArgs, KaminoRewardInfo>; //# sourceMappingURL=kaminoRewardInfo.d.ts.map