UNPKG

@kamino-finance/kamino-db

Version:
33 lines (31 loc) 883 B
export interface KVaultHolderEntity { id: bigint; created_on: Date; shares_held: string; shares_in_farm: string; shares_amount: string; usd_amount: string; sol_amount: string; apy: string; apy_theoretical: string | null; apy_actual: string | null; apy_farm_rewards: string | null; apy_reserves_incentives: string | null; apy_incentives: string | null; cumulative_interest_earned: string; cumulative_interest_earned_usd: string; cumulative_interest_earned_sol: string; interest_earned_per_second: string; interest_earned_per_second_usd: string; interest_earned_per_second_sol: string; owner_id: number; kvault_state_id: string; } export type KVaultHolderHourEntity = KVaultHolderEntity & { resampled_on: Date; kvault_id: string; }; export type KVaultHolderDayEntity = KVaultHolderEntity & { resampled_on: Date; kvault_id: string; };