import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-Ba4uw4ZN.cjs"; //#region ../../node_modules/.pnpm/@injectivelabs+olp-proto-ts-v2@1.17.6/node_modules/@injectivelabs/olp-proto-ts-v2/generated/goagen_olp_injective_dmm_v2_pb.d.ts /** * @generated from protobuf message injective_dmm_v2.GetEpochsResponse */ interface GetEpochsResponse { /** * List of epochs * * @generated from protobuf field: repeated injective_dmm_v2.EpochV2 epochs = 1 */ epochs: EpochV2$1[]; } /** * Epoch data * * @generated from protobuf message injective_dmm_v2.EpochV2 */ interface EpochV2$1 { /** * Unique epoch identifier * * @generated from protobuf field: string epoch_id = 1 */ epochId: string; /** * Epoch status (e.g., 'running', 'completed') * * @generated from protobuf field: string status = 2 */ status: string; /** * Starting block height * * @generated from protobuf field: sint64 start_height = 3 */ startHeight: bigint; /** * Ending block height * * @generated from protobuf field: sint64 end_height = 4 */ endHeight: bigint; /** * Number of snapshots taken * * @generated from protobuf field: sint32 snapshot_count = 5 */ snapshotCount: number; /** * Number of results * * @generated from protobuf field: sint32 result_count = 6 */ resultCount: number; /** * Epoch configuration * * @generated from protobuf field: injective_dmm_v2.EpochConfigV2 config = 7 */ config?: EpochConfigV2$1; /** * Creation timestamp * * @generated from protobuf field: string created_at = 8 */ createdAt: string; /** * Last update timestamp * * @generated from protobuf field: string updated_at = 9 */ updatedAt: string; } /** * Epoch configuration settings * * @generated from protobuf message injective_dmm_v2.EpochConfigV2 */ interface EpochConfigV2$1 { /** * Epoch start date * * @generated from protobuf field: string start_date = 1 */ startDate: string; /** * Epoch end date * * @generated from protobuf field: string end_date = 2 */ endDate: string; /** * Total INJ reward for the epoch * * @generated from protobuf field: string reward_inj = 3 */ rewardInj: string; /** * Markets included in the epoch * * @generated from protobuf field: repeated injective_dmm_v2.Market markets = 4 */ markets: Market$1[]; /** * Exponent for liquidity score calculation * * @generated from protobuf field: string liquidity_score_exponent = 5 */ liquidityScoreExponent: string; /** * Exponent for uptime score calculation * * @generated from protobuf field: string uptime_exponent = 6 */ uptimeExponent: string; /** * Exponent for volume score calculation * * @generated from protobuf field: string volume_exponent = 7 */ volumeExponent: string; /** * Volume threshold for permanence qualification * * @generated from protobuf field: optional string permanence_volume_threshold = 8 */ permanenceVolumeThreshold?: string; /** * Volume threshold for reward qualification * * @generated from protobuf field: optional string qualifying_volume_threshold = 9 */ qualifyingVolumeThreshold?: string; /** * Epoch number * * @generated from protobuf field: sint32 number = 10 */ number: number; /** * Whether this is a mini epoch * * @generated from protobuf field: bool is_mini_epoch = 11 */ isMiniEpoch: boolean; } /** * Market information * * @generated from protobuf message injective_dmm_v2.Market */ interface Market$1 { /** * Market identifier * * @generated from protobuf field: string market_id = 1 */ marketId: string; /** * Market ticker symbol * * @generated from protobuf field: string ticker = 2 */ ticker: string; /** * Market start date * * @generated from protobuf field: optional string start_date = 3 */ startDate?: string; /** * Pre-allocated reward amount * * @generated from protobuf field: optional string pre_allocated_reward = 4 */ preAllocatedReward?: string; } /** * Pagination parameters for paginated requests and responses * * @generated from protobuf message injective_dmm_v2.Pagination */ interface Pagination { /** * Starting offset * * @generated from protobuf field: optional sint32 from = 1 */ from?: number; /** * Block height * * @generated from protobuf field: optional sint32 height = 2 */ height?: number; /** * Items per page * * @generated from protobuf field: optional sint32 per_page = 3 */ perPage?: number; /** * Total count * * @generated from protobuf field: optional sint32 total = 4 */ total?: number; } /** * Total score for a market/account in an epoch * * @generated from protobuf message injective_dmm_v2.TotalScore */ interface TotalScore$1 { /** * Epoch identifier * * @generated from protobuf field: string epoch_id = 1 */ epochId: string; /** * Market identifier * * @generated from protobuf field: string market_id = 2 */ marketId: string; /** * Account address * * @generated from protobuf field: string account_address = 3 */ accountAddress: string; /** * Block height * * @generated from protobuf field: sint64 height = 4 */ height: bigint; /** * Starting block height * * @generated from protobuf field: sint64 start_height = 5 */ startHeight: bigint; /** * Block timestamp * * @generated from protobuf field: string block_time = 6 */ blockTime: string; /** * Bid amount * * @generated from protobuf field: string bid = 7 */ bid: string; /** * Ask amount * * @generated from protobuf field: string ask = 8 */ ask: string; /** * Order book depth * * @generated from protobuf field: string depth = 9 */ depth: string; /** * Liquidity score * * @generated from protobuf field: string liquidity_score = 10 */ liquidityScore: string; /** * Weighted liquidity score * * @generated from protobuf field: string liquidity_score_ponderated = 11 */ liquidityScorePonderated: string; /** * Uptime score * * @generated from protobuf field: string uptime_score = 12 */ uptimeScore: string; /** * Weighted uptime score * * @generated from protobuf field: string uptime_score_ponderated = 13 */ uptimeScorePonderated: string; /** * Uptime percentage * * @generated from protobuf field: string uptime_percentage = 14 */ uptimePercentage: string; /** * Starting volume * * @generated from protobuf field: string start_volume = 15 */ startVolume: string; /** * Current volume * * @generated from protobuf field: string current_volume = 16 */ currentVolume: string; /** * Volume score * * @generated from protobuf field: string volume_score = 17 */ volumeScore: string; /** * Weighted volume score * * @generated from protobuf field: string volume_score_ponderated = 18 */ volumeScorePonderated: string; /** * Total combined score * * @generated from protobuf field: string total_score = 22 */ totalScore: string; /** * Calculated reward amount * * @generated from protobuf field: string reward = 23 */ reward: string; /** * Reward percentage * * @generated from protobuf field: string reward_percentage = 24 */ rewardPercentage: string; /** * Creation timestamp * * @generated from protobuf field: string created_at = 26 */ createdAt: string; /** * Last update timestamp * * @generated from protobuf field: string updated_at = 27 */ updatedAt: string; /** * Number of snapshots * * @generated from protobuf field: sint32 snapshot_count = 28 */ snapshotCount: number; /** * Total volume * * @generated from protobuf field: string volume = 29 */ volume: string; /** * Starting taker volume * * @generated from protobuf field: string taker_start_volume = 30 */ takerStartVolume: string; /** * Current taker volume * * @generated from protobuf field: string taker_current_volume = 31 */ takerCurrentVolume: string; /** * Total taker volume * * @generated from protobuf field: string taker_volume = 32 */ takerVolume: string; /** * Starting maker volume * * @generated from protobuf field: string maker_start_volume = 33 */ makerStartVolume: string; /** * Current maker volume * * @generated from protobuf field: string maker_current_volume = 34 */ makerCurrentVolume: string; /** * Total maker volume * * @generated from protobuf field: string maker_volume = 35 */ makerVolume: string; /** * Bid snapshot value * * @generated from protobuf field: string bid_snapshot = 36 */ bidSnapshot: string; /** * Ask snapshot value * * @generated from protobuf field: string ask_snapshot = 37 */ askSnapshot: string; /** * Depth snapshot value * * @generated from protobuf field: string depth_snapshot = 38 */ depthSnapshot: string; /** * Liquidity score snapshot * * @generated from protobuf field: string liquidity_score_snapshot = 39 */ liquidityScoreSnapshot: string; /** * Uptime score snapshot * * @generated from protobuf field: string uptime_score_snapshot = 40 */ uptimeScoreSnapshot: string; /** * Whether to skip this score * * @generated from protobuf field: bool skip = 41 */ skip: boolean; } /** * @generated from protobuf message injective_dmm_v2.GetTotalScoresHistoryResponse */ interface GetTotalScoresHistoryResponse { /** * List of total scores * * @generated from protobuf field: repeated injective_dmm_v2.TotalScore scores = 1 */ scores: TotalScore$1[]; /** * Next page pagination info * * @generated from protobuf field: injective_dmm_v2.Pagination next = 2 */ next?: Pagination; } /** * @generated from protobuf message injective_dmm_v2.GetEpochScoresResponse */ interface GetEpochScoresResponse { /** * List of epoch scores * * @generated from protobuf field: repeated injective_dmm_v2.EpochScore scores = 1 */ scores: EpochScore$1[]; /** * Next page pagination info * * @generated from protobuf field: injective_dmm_v2.Pagination next = 2 */ next?: Pagination; } /** * Epoch score for an account * * @generated from protobuf message injective_dmm_v2.EpochScore */ interface EpochScore$1 { /** * Epoch identifier * * @generated from protobuf field: string epoch_id = 1 */ epochId: string; /** * Account address * * @generated from protobuf field: string account_address = 2 */ accountAddress: string; /** * Block height * * @generated from protobuf field: sint64 height = 3 */ height: bigint; /** * Block timestamp * * @generated from protobuf field: string block_time = 4 */ blockTime: string; /** * Starting block height * * @generated from protobuf field: sint64 start_height = 5 */ startHeight: bigint; /** * Liquidity score * * @generated from protobuf field: string liquidity_score = 6 */ liquidityScore: string; /** * Weighted liquidity score * * @generated from protobuf field: string liquidity_score_ponderated = 7 */ liquidityScorePonderated: string; /** * Uptime score * * @generated from protobuf field: string uptime_score = 8 */ uptimeScore: string; /** * Weighted uptime score * * @generated from protobuf field: string uptime_score_ponderated = 9 */ uptimeScorePonderated: string; /** * Volume score * * @generated from protobuf field: string volume_score = 10 */ volumeScore: string; /** * Weighted volume score * * @generated from protobuf field: string volume_score_ponderated = 11 */ volumeScorePonderated: string; /** * Total combined score * * @generated from protobuf field: string total_score = 12 */ totalScore: string; /** * Total volume * * @generated from protobuf field: string volume = 13 */ volume: string; /** * Maker volume * * @generated from protobuf field: string maker_volume = 14 */ makerVolume: string; /** * Taker volume * * @generated from protobuf field: string taker_volume = 15 */ takerVolume: string; /** * Calculated reward amount * * @generated from protobuf field: string reward = 16 */ reward: string; /** * Reward percentage * * @generated from protobuf field: string reward_percentage = 17 */ rewardPercentage: string; /** * Whether account qualifies for rewards * * @generated from protobuf field: bool qualifies = 18 */ qualifies: boolean; /** * Volume percentage * * @generated from protobuf field: string volume_percentage = 19 */ volumePercentage: string; /** * Creation timestamp * * @generated from protobuf field: string created_at = 20 */ createdAt: string; /** * Last update timestamp * * @generated from protobuf field: string updated_at = 21 */ updatedAt: string; /** * Uptime percentage * * @generated from protobuf field: string uptime_percentage = 22 */ uptimePercentage: string; /** * Order book depth * * @generated from protobuf field: optional string depth = 23 */ depth?: string; } /** * @generated from protobuf message injective_dmm_v2.GetEpochScoresHistoryResponse */ interface GetEpochScoresHistoryResponse { /** * List of epoch scores * * @generated from protobuf field: repeated injective_dmm_v2.EpochScore scores = 1 */ scores: EpochScore$1[]; /** * Next page pagination info * * @generated from protobuf field: injective_dmm_v2.Pagination next = 2 */ next?: Pagination; } /** * @generated from protobuf message injective_dmm_v2.GetMarketRewardsResponse */ interface GetMarketRewardsResponse { /** * List of market rewards * * @generated from protobuf field: repeated injective_dmm_v2.MarketReward rewards = 1 */ rewards: MarketReward$1[]; } /** * Market reward information * * @generated from protobuf message injective_dmm_v2.MarketReward */ interface MarketReward$1 { /** * Epoch identifier * * @generated from protobuf field: string epoch_id = 1 */ epochId: string; /** * Market identifier * * @generated from protobuf field: string market_id = 2 */ marketId: string; /** * Reward amount * * @generated from protobuf field: string reward = 3 */ reward: string; /** * Reward percentage * * @generated from protobuf field: string reward_percentage = 4 */ rewardPercentage: string; /** * Start date * * @generated from protobuf field: string start_date = 5 */ startDate: string; /** * End date * * @generated from protobuf field: string end_date = 6 */ endDate: string; /** * Total score * * @generated from protobuf field: string total_score = 9 */ totalScore: string; /** * Creation timestamp * * @generated from protobuf field: string created_at = 10 */ createdAt: string; /** * Last update timestamp * * @generated from protobuf field: string updated_at = 11 */ updatedAt: string; /** * Block height * * @generated from protobuf field: sint64 height = 12 */ height: bigint; /** * Market liquidity * * @generated from protobuf field: string liquidity = 13 */ liquidity: string; /** * Mini epochs reward * * @generated from protobuf field: string mini_epochs_reward = 14 */ miniEpochsReward: string; } /** * @generated from protobuf message injective_dmm_v2.GetEligibleAddressesResponse */ interface GetEligibleAddressesResponse { /** * List of eligible addresses * * @generated from protobuf field: repeated injective_dmm_v2.EligibleAddress addresses = 1 */ addresses: EligibleAddress$1[]; /** * Next page pagination info * * @generated from protobuf field: injective_dmm_v2.Pagination next = 2 */ next?: Pagination; } /** * Eligible address for rewards * * @generated from protobuf message injective_dmm_v2.EligibleAddress */ interface EligibleAddress$1 { /** * Epoch identifier * * @generated from protobuf field: string epoch_id = 1 */ epochId: string; /** * Account address * * @generated from protobuf field: string account_address = 2 */ accountAddress: string; /** * Block height * * @generated from protobuf field: sint64 height = 3 */ height: bigint; /** * Source of eligibility * * @generated from protobuf field: string source = 4 */ source: string; /** * Creation timestamp * * @generated from protobuf field: string created_at = 5 */ createdAt: string; /** * Last update timestamp * * @generated from protobuf field: string updated_at = 6 */ updatedAt: string; } /** * @generated from protobuf message injective_dmm_v2.GetRewardsDistributionResponse */ interface GetRewardsDistributionResponse { /** * List of reward distributions * * @generated from protobuf field: repeated injective_dmm_v2.RewardDistribution rewards = 1 */ rewards: RewardDistribution$1[]; /** * Next page pagination info * * @generated from protobuf field: injective_dmm_v2.Pagination next = 2 */ next?: Pagination; } /** * Reward distribution record * * @generated from protobuf message injective_dmm_v2.RewardDistribution */ interface RewardDistribution$1 { /** * Epoch identifier * * @generated from protobuf field: string epoch_id = 1 */ epochId: string; /** * Account address * * @generated from protobuf field: string account_address = 2 */ accountAddress: string; /** * Block height * * @generated from protobuf field: sint64 height = 3 */ height: bigint; /** * Starting block height * * @generated from protobuf field: sint64 start_height = 4 */ startHeight: bigint; /** * Block timestamp * * @generated from protobuf field: string block_time = 5 */ blockTime: string; /** * Order book depth * * @generated from protobuf field: string depth = 6 */ depth: string; /** * Reward amount * * @generated from protobuf field: string reward = 7 */ reward: string; /** * Mini epoch rewards aggregated * * @generated from protobuf field: optional string mini_epochs_reward = 8 */ miniEpochsReward?: string; /** * Creation timestamp * * @generated from protobuf field: string created_at = 9 */ createdAt: string; /** * Last update timestamp * * @generated from protobuf field: string updated_at = 10 */ updatedAt: string; } /** * Account volume data * * @generated from protobuf message injective_dmm_v2.AccountVolume */ interface AccountVolume$1 { /** * Epoch identifier * * @generated from protobuf field: string epoch_id = 1 */ epochId: string; /** * Account address * * @generated from protobuf field: string account_address = 2 */ accountAddress: string; /** * Block height * * @generated from protobuf field: sint64 height = 3 */ height: bigint; /** * Block timestamp * * @generated from protobuf field: string block_time = 4 */ blockTime: string; /** * Date string * * @generated from protobuf field: string date = 6 */ date: string; /** * Total volume * * @generated from protobuf field: string volume = 7 */ volume: string; /** * Taker volume * * @generated from protobuf field: string taker_volume = 8 */ takerVolume: string; /** * Maker volume * * @generated from protobuf field: string maker_volume = 9 */ makerVolume: string; /** * Volume percentage * * @generated from protobuf field: string volume_percentage = 10 */ volumePercentage: string; /** * Maker volume percentage * * @generated from protobuf field: string maker_volume_percentage = 11 */ makerVolumePercentage: string; /** * Taker volume percentage * * @generated from protobuf field: string taker_volume_percentage = 12 */ takerVolumePercentage: string; /** * Creation timestamp * * @generated from protobuf field: string created_at = 13 */ createdAt: string; /** * Last update timestamp * * @generated from protobuf field: string updated_at = 14 */ updatedAt: string; /** * Date as timestamp * * @generated from protobuf field: string date_timestamp = 15 */ dateTimestamp: string; /** * Daily volume * * @generated from protobuf field: string daily_volume = 16 */ dailyVolume: string; /** * Daily maker volume * * @generated from protobuf field: string daily_maker_volume = 17 */ dailyMakerVolume: string; /** * Daily taker volume * * @generated from protobuf field: string daily_taker_volume = 18 */ dailyTakerVolume: string; /** * Daily volume percentage * * @generated from protobuf field: string daily_volume_percentage = 19 */ dailyVolumePercentage: string; /** * Daily maker volume percentage * * @generated from protobuf field: string daily_maker_volume_percentage = 20 */ dailyMakerVolumePercentage: string; /** * Daily taker volume percentage * * @generated from protobuf field: string daily_taker_volume_percentage = 21 */ dailyTakerVolumePercentage: string; /** * Whether qualified for daily rewards * * @generated from protobuf field: bool daily_qualified = 22 */ dailyQualified: boolean; } /** * @generated from protobuf message injective_dmm_v2.GetRewardsEligibilityResponse */ interface GetRewardsEligibilityResponse { /** * Account volume data * * @generated from protobuf field: repeated injective_dmm_v2.AccountVolume volumes = 1 */ volumes: AccountVolume$1[]; /** * Current maker volume percentage * * @generated from protobuf field: string current_maker_volume_percentage = 2 */ currentMakerVolumePercentage: string; /** * Average daily maker volume percentage * * @generated from protobuf field: optional string average_daily_maker_volume_percentage = 3 */ averageDailyMakerVolumePercentage?: string; /** * Whether eligible for next epoch * * @generated from protobuf field: bool eligible_for_next_epoch = 4 */ eligibleForNextEpoch: boolean; /** * Estimated reward amount * * @generated from protobuf field: string estimated_reward = 5 */ estimatedReward: string; /** * Whether eligible for current epoch * * @generated from protobuf field: bool eligible_for_current_epoch = 6 */ eligibleForCurrentEpoch: boolean; /** * Last update timestamp * * @generated from protobuf field: string updated_at = 7 */ updatedAt: string; } /** * @generated MessageType for protobuf message injective_dmm_v2.GetEpochsResponse */ declare const GetEpochsResponse = new GetEpochsResponse$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.EpochV2 */ declare const EpochV2$1 = new EpochV2$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.EpochConfigV2 */ declare const EpochConfigV2$1 = new EpochConfigV2$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.Market */ declare const Market$1 = new Market$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.Pagination */ declare const Pagination = new Pagination$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.TotalScore */ declare const TotalScore$1 = new TotalScore$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.GetTotalScoresHistoryResponse */ declare const GetTotalScoresHistoryResponse = new GetTotalScoresHistoryResponse$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.GetEpochScoresResponse */ declare const GetEpochScoresResponse = new GetEpochScoresResponse$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.EpochScore */ declare const EpochScore$1 = new EpochScore$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.GetEpochScoresHistoryResponse */ declare const GetEpochScoresHistoryResponse = new GetEpochScoresHistoryResponse$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.GetMarketRewardsResponse */ declare const GetMarketRewardsResponse = new GetMarketRewardsResponse$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.MarketReward */ declare const MarketReward$1 = new MarketReward$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.GetEligibleAddressesResponse */ declare const GetEligibleAddressesResponse = new GetEligibleAddressesResponse$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.EligibleAddress */ declare const EligibleAddress$1 = new EligibleAddress$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.GetRewardsDistributionResponse */ declare const GetRewardsDistributionResponse = new GetRewardsDistributionResponse$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.RewardDistribution */ declare const RewardDistribution$1 = new RewardDistribution$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.AccountVolume */ declare const AccountVolume$1 = new AccountVolume$Type(); /** * @generated MessageType for protobuf message injective_dmm_v2.GetRewardsEligibilityResponse */ declare const GetRewardsEligibilityResponse = new GetRewardsEligibilityResponse$Type(); //#endregion //#region src/client/base/BaseIndexerGrpcConsumer.d.ts /** * BaseIndexerGrpcConsumer extends BaseGrpcConsumer for Indexer APIs. * It provides the same functionality as BaseGrpcConsumer but is specifically * designed for Indexer gRPC APIs. */ declare class BaseIndexerGrpcConsumer extends BaseGrpcConsumer {} //#endregion //#region src/client/olp/grpc/OLPGrpcApi.d.ts declare class OLPGrpcApi extends BaseIndexerGrpcConsumer { protected module: string; private get client(); fetchEpochs(status?: string): Promise; fetchMarketRewards(epochId: string): Promise; fetchEligibleAddresses({ epochId, page }: { epochId: string; page?: Pagination; }): Promise; fetchEpochScores({ epochId, page }: { epochId: string; page?: Pagination; }): Promise; fetchEpochScoresHistory({ epochId, accountAddress, page }: { epochId: string; accountAddress: string; page?: Pagination; }): Promise; fetchTotalScores({ epochId, marketId, page }: { epochId: string; marketId: string; page?: Pagination; }): Promise; fetchTotalScoresHistory({ epochId, marketId, accountAddress, page }: { epochId: string; marketId: string; accountAddress: string; page?: Pagination; }): Promise; fetchRewardsDistribution({ epochId, height, page }: { epochId: string; height?: string; page?: Pagination; }): Promise; fetchAccountVolumes({ epochId, accountAddress }: { epochId: string; accountAddress: string; }): Promise; fetchRewardsEligibility({ epochId, accountAddress }: { epochId?: string; accountAddress?: string; }): Promise; fetchMarketRewardsRange({ epochId, marketId }: { epochId: string; marketId?: string; }): Promise; } //#endregion //#region src/client/olp/grpc/types/index.d.ts interface DmmPagination { from?: number; height?: number; perPage?: number; total?: number; } interface EpochsV2 { epochs: EpochV2[]; } interface TotalScores { scores: TotalScore[]; next?: DmmPagination; } interface TotalScoresHistory { scores: TotalScore[]; next?: DmmPagination; } interface EpochScores { scores: EpochScore[]; next?: DmmPagination; } interface EpochScoresHistory { scores: EpochScore[]; next?: DmmPagination; } interface MarketRewards { rewards: MarketReward[]; } interface EligibleAddresses { addresses: EligibleAddress[]; next?: DmmPagination; } interface RewardsDistribution { rewards: RewardDistribution[]; next?: DmmPagination; } interface AccountVolumes { volumes: AccountVolume[]; } interface RewardsEligibility { volumes: AccountVolume[]; currentMakerVolumePercentage: string; averageDailyMakerVolumePercentage?: string; eligibleForNextEpoch: boolean; eligibleForCurrentEpoch: boolean; estimatedReward: string; updatedAt?: Date; } interface EpochV2 { epochId: string; status: string; startHeight: string; endHeight: string; snapshotCount: number; resultCount: number; config?: EpochConfigV2; createdAt?: Date; updatedAt?: Date; } interface Market { marketId: string; ticker: string; startDate?: Date; preAllocatedReward?: string; } interface EpochConfigV2 { startDate?: Date; endDate?: Date; rewardInj: string; markets: Market[]; liquidityScoreExponent: string; uptimeExponent: string; volumeExponent: string; permanenceVolumeThreshold?: string; qualifyingVolumeThreshold?: string; number: number; isMiniEpoch: boolean; } interface TotalScore { epochId: string; marketId: string; accountAddress: string; height: string; startHeight: string; blockTime?: Date; bid: string; ask: string; depth: string; snapshotCount: number; liquidityScore: string; liquidityScorePonderated: string; uptimeScore: string; uptimeScorePonderated: string; uptimePercentage: string; startVolume: string; currentVolume: string; volume: string; volumeScore: string; volumeScorePonderated: string; takerStartVolume: string; takerCurrentVolume: string; takerVolume: string; makerStartVolume: string; makerCurrentVolume: string; makerVolume: string; totalScore: string; reward: string; rewardPercentage: string; createdAt?: Date; updatedAt?: Date; } interface EpochScore { epochId: string; accountAddress: string; height: string; blockTime?: Date; startHeight: string; liquidityScore: string; liquidityScorePonderated: string; uptimeScore: string; uptimeScorePonderated: string; uptimePercentage: string; volumeScore: string; volumeScorePonderated: string; totalScore: string; volume: string; makerVolume: string; takerVolume: string; reward: string; rewardPercentage: string; qualifies: boolean; volumePercentage: string; createdAt?: Date; updatedAt?: Date; } interface MarketReward { epochId: string; marketId: string; height: string; reward: string; rewardPercentage: string; liquidity: string; startDate?: Date; endDate?: Date; totalScore: string; createdAt?: Date; updatedAt?: Date; miniEpochsReward: string; } interface EligibleAddress { epochId: string; accountAddress: string; height: string; source: string; createdAt?: Date; updatedAt?: Date; } interface RewardDistribution { epochId: string; accountAddress: string; height: string; startHeight: string; blockTime?: Date | undefined; depth: string; reward: string; miniEpochsReward?: string; createdAt?: Date; updatedAt?: Date; } interface AccountVolume { epochId: string; accountAddress: string; height: string; blockTime?: Date; date: string; dateTimestamp?: Date; volume: string; takerVolume: string; makerVolume: string; volumePercentage: string; makerVolumePercentage: string; takerVolumePercentage: string; dailyVolume: string; dailyMakerVolume: string; dailyTakerVolume: string; dailyVolumePercentage: string; dailyMakerVolumePercentage: string; dailyTakerVolumePercentage: string; dailyQualified: boolean; createdAt?: Date; updatedAt?: Date; } interface MinMaxRewards { minRewards: Record; maxRewards: Record; } type GrpcEpochsV2 = GetEpochsResponse; type GrpcEpochV2 = EpochV2$1; type GrpcEpochConfigV2 = EpochConfigV2$1; type GrpcMarketReward = MarketReward$1; type GrpcMarketRewards = GetMarketRewardsResponse; type GrpcDmmPagination = Pagination; type GrpcEligibleAddresses = GetEligibleAddressesResponse; type GrpcEligibleAddress = EligibleAddress$1; type GrpcEpochScores = GetEpochScoresResponse; type GrpcEpochScore = EpochScore$1; type GrpcEpochScoresHistory = GetEpochScoresHistoryResponse; type GrpcTotalScores = GetTotalScoresHistoryResponse; type GrpcTotalScore = TotalScore$1; type GrpcTotalScoresHistory = GetTotalScoresHistoryResponse; type GrpcRewardsDistribution = GetRewardsDistributionResponse; type GrpcRewardDistribution = RewardDistribution$1; type GrpcAccountVolume = AccountVolume$1; type GrpcRewardsEligibility = GetRewardsEligibilityResponse; //#endregion export { Market as A, OLPGrpcApi as B, GrpcMarketRewards as C, GrpcTotalScore as D, GrpcRewardsEligibility as E, RewardsDistribution as F, RewardsEligibility as I, TotalScore as L, MarketRewards as M, MinMaxRewards as N, GrpcTotalScores as O, RewardDistribution as P, TotalScores as R, GrpcMarketReward as S, GrpcRewardsDistribution as T, BaseIndexerGrpcConsumer as V, GrpcEpochScore as _, EligibleAddresses as a, GrpcEpochV2 as b, EpochScores as c, EpochsV2 as d, GrpcAccountVolume as f, GrpcEpochConfigV2 as g, GrpcEligibleAddresses as h, EligibleAddress as i, MarketReward as j, GrpcTotalScoresHistory as k, EpochScoresHistory as l, GrpcEligibleAddress as m, AccountVolumes as n, EpochConfigV2 as o, GrpcDmmPagination as p, DmmPagination as r, EpochScore as s, AccountVolume as t, EpochV2 as u, GrpcEpochScores as v, GrpcRewardDistribution as w, GrpcEpochsV2 as x, GrpcEpochScoresHistory as y, TotalScoresHistory as z };