UNPKG

@kamino-finance/kamino-db

Version:
35 lines (34 loc) 1.16 kB
export interface StrategyStateEntity { id: number; created_on: Date; fees_collected_cumulative_a: string; fees_collected_cumulative_b: string; rewards_collected_cumulative_0: string; rewards_collected_cumulative_1: string; rewards_collected_cumulative_2: string; share_price: string; raw_json: string; strategy_id: number; share_mint_id: number; shares_issued: string; token_a_amounts: string; token_b_amounts: string; token_a_price: string; token_b_price: string; reward_0_price: string; reward_1_price: string; reward_2_price: string; kamino_rewards_issued_cumulative_0: string; kamino_rewards_issued_cumulative_1: string; kamino_rewards_issued_cumulative_2: string; kamino_reward_0_price: string; kamino_reward_1_price: string; kamino_reward_2_price: string; } export type StrategyStateEntityHourEntity = Omit<StrategyStateEntity, 'raw_json' | 'share_mint_id'> & { resampled_on: Date; total_value_locked: string; sol_price: string; }; export type StrategyStateEntityDayEntity = StrategyStateEntityHourEntity; export default StrategyStateEntity;