import { Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from "@solana/kit"; //#region src/generated/types/rewardInfo.d.ts /** Stores the state relevant for tracking liquidity mining rewards */ type RewardInfo = { /** Indicates if the reward has been initialized */ initialized: number; /** reward token flag */ rewardTokenFlag: number; /** padding */ padding0: Array; /** Padding to ensure `reward_rate: u128` is 16-byte aligned */ padding1: Array; /** Reward token mint. */ mint: Address; /** Reward vault token account. */ vault: Address; /** Authority account that allows to fund rewards */ funder: Address; /** reward duration */ rewardDuration: bigint; /** reward duration end */ rewardDurationEnd: bigint; /** reward rate */ rewardRate: bigint; /** Reward per token stored */ rewardPerTokenStored: Array; /** The last time reward states were updated. */ lastUpdateTime: bigint; /** * Accumulated seconds when the farm distributed rewards but the bin was empty. * These rewards will be carried over to the next reward time window. */ cumulativeSecondsWithEmptyLiquidityReward: bigint; }; type RewardInfoArgs = { /** Indicates if the reward has been initialized */ initialized: number; /** reward token flag */ rewardTokenFlag: number; /** padding */ padding0: Array; /** Padding to ensure `reward_rate: u128` is 16-byte aligned */ padding1: Array; /** Reward token mint. */ mint: Address; /** Reward vault token account. */ vault: Address; /** Authority account that allows to fund rewards */ funder: Address; /** reward duration */ rewardDuration: number | bigint; /** reward duration end */ rewardDurationEnd: number | bigint; /** reward rate */ rewardRate: number | bigint; /** Reward per token stored */ rewardPerTokenStored: Array; /** The last time reward states were updated. */ lastUpdateTime: number | bigint; /** * Accumulated seconds when the farm distributed rewards but the bin was empty. * These rewards will be carried over to the next reward time window. */ cumulativeSecondsWithEmptyLiquidityReward: number | bigint; }; declare function getRewardInfoEncoder(): FixedSizeEncoder; declare function getRewardInfoDecoder(): FixedSizeDecoder; declare function getRewardInfoCodec(): FixedSizeCodec; //#endregion export { RewardInfo, RewardInfoArgs, getRewardInfoCodec, getRewardInfoDecoder, getRewardInfoEncoder }; //# sourceMappingURL=rewardInfo.d.ts.map