UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

38 lines 1.35 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 RewardInfo = { rewardState: number; openTime: bigint; endTime: bigint; lastUpdateTime: bigint; emissionsPerSecondX64: bigint; rewardTotalEmissioned: bigint; rewardClaimed: bigint; tokenMint: Address; tokenVault: Address; authority: Address; rewardGrowthGlobalX64: bigint; }; export type RewardInfoArgs = { rewardState: number; openTime: number | bigint; endTime: number | bigint; lastUpdateTime: number | bigint; emissionsPerSecondX64: number | bigint; rewardTotalEmissioned: number | bigint; rewardClaimed: number | bigint; tokenMint: Address; tokenVault: Address; authority: Address; rewardGrowthGlobalX64: number | bigint; }; export declare function getRewardInfoEncoder(): FixedSizeEncoder<RewardInfoArgs>; export declare function getRewardInfoDecoder(): FixedSizeDecoder<RewardInfo>; export declare function getRewardInfoCodec(): FixedSizeCodec<RewardInfoArgs, RewardInfo>; //# sourceMappingURL=rewardInfo.d.ts.map