@nadohq/indexer-client 0.33.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{IndexerBaseClient-dpwAE5Om.cjs → IndexerBaseClient-DKxLMijD.cjs} +14 -4
- package/dist/{IndexerBaseClient-dpwAE5Om.cjs.map → IndexerBaseClient-DKxLMijD.cjs.map} +1 -1
- package/dist/IndexerBaseClient.cjs +1 -1
- package/dist/IndexerBaseClient.d.cts +5 -4
- package/dist/IndexerBaseClient.d.cts.map +1 -1
- package/dist/IndexerBaseClient.d.ts +5 -4
- package/dist/IndexerBaseClient.d.ts.map +1 -1
- package/dist/IndexerBaseClient.js +13 -3
- package/dist/IndexerBaseClient.js.map +1 -1
- package/dist/IndexerClient.cjs +1 -1
- package/dist/IndexerClient.d.cts +1 -1
- package/dist/IndexerClient.d.ts +1 -1
- package/dist/{IndexerServerFailureError-C1Rn5KxM.d.cts → IndexerServerFailureError-BMmMPfFJ.d.cts} +2 -2
- package/dist/{IndexerServerFailureError-C1Rn5KxM.d.cts.map → IndexerServerFailureError-BMmMPfFJ.d.cts.map} +1 -1
- package/dist/{IndexerServerFailureError-CSVuKIi6.d.ts → IndexerServerFailureError-ClC8vkmR.d.ts} +2 -2
- package/dist/{IndexerServerFailureError-CSVuKIi6.d.ts.map → IndexerServerFailureError-ClC8vkmR.d.ts.map} +1 -1
- package/dist/{clientTypes-DKN-EsOj.d.ts → clientTypes-BLKeWmIr.d.ts} +44 -3
- package/dist/{clientTypes-DKN-EsOj.d.ts.map → clientTypes-BLKeWmIr.d.ts.map} +1 -1
- package/dist/{clientTypes-DFn6P-tv.d.cts → clientTypes-QBgifUeV.d.cts} +44 -3
- package/dist/{clientTypes-DFn6P-tv.d.cts.map → clientTypes-QBgifUeV.d.cts.map} +1 -1
- package/dist/dataMappers.cjs +1 -1
- package/dist/dataMappers.d.cts +2 -2
- package/dist/dataMappers.d.ts +2 -2
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/{indexerBalanceValue-DhC367Il.d.cts → indexerBalanceValue-DqMAvUsj.d.cts} +2 -2
- package/dist/{indexerBalanceValue-DhC367Il.d.cts.map → indexerBalanceValue-DqMAvUsj.d.cts.map} +1 -1
- package/dist/{indexerBalanceValue-C9soABg1.d.ts → indexerBalanceValue-ZJec8hfI.d.ts} +2 -2
- package/dist/{indexerBalanceValue-C9soABg1.d.ts.map → indexerBalanceValue-ZJec8hfI.d.ts.map} +1 -1
- package/dist/{paginatedEventsTypes-CBdWvsGe.d.cts → paginatedEventsTypes-4I9Ibp9q.d.cts} +2 -2
- package/dist/{paginatedEventsTypes-CBdWvsGe.d.cts.map → paginatedEventsTypes-4I9Ibp9q.d.cts.map} +1 -1
- package/dist/{paginatedEventsTypes-Cc3NsS_6.d.ts → paginatedEventsTypes-D668Hgzl.d.ts} +2 -2
- package/dist/{paginatedEventsTypes-Cc3NsS_6.d.ts.map → paginatedEventsTypes-D668Hgzl.d.ts.map} +1 -1
- package/dist/{serverTypes-DhOquJu2.d.ts → serverTypes-BQafrknp.d.ts} +37 -2
- package/dist/{serverTypes-DhOquJu2.d.ts.map → serverTypes-BQafrknp.d.ts.map} +1 -1
- package/dist/{serverTypes-CKMTuCwh.d.cts → serverTypes-DeUDMCog.d.cts} +37 -2
- package/dist/{serverTypes-CKMTuCwh.d.cts.map → serverTypes-DeUDMCog.d.cts.map} +1 -1
- package/dist/types/IndexerServerFailureError.cjs +1 -1
- package/dist/types/IndexerServerFailureError.d.cts +1 -1
- package/dist/types/IndexerServerFailureError.d.ts +1 -1
- package/dist/types/clientTypes.d.cts +2 -2
- package/dist/types/clientTypes.d.ts +2 -2
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +2 -2
- package/dist/types/indexerErrorCodes.cjs +1 -1
- package/dist/types/paginatedEventsTypes.d.cts +1 -1
- package/dist/types/paginatedEventsTypes.d.ts +1 -1
- package/dist/types/serverTypes.cjs +19 -0
- package/dist/types/serverTypes.cjs.map +1 -1
- package/dist/types/serverTypes.d.cts +2 -2
- package/dist/types/serverTypes.d.ts +2 -2
- package/dist/types/serverTypes.js +19 -1
- package/dist/types/serverTypes.js.map +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/indexerBalanceValue.d.cts +1 -1
- package/dist/utils/indexerBalanceValue.d.ts +1 -1
- package/package.json +4 -4
- package/src/IndexerBaseClient.ts +16 -2
- package/src/types/clientTypes.ts +47 -0
- package/src/types/serverTypes.ts +51 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverTypes-
|
|
1
|
+
{"version":3,"file":"serverTypes-DeUDMCog.d.cts","names":[],"sources":["../src/types/src/types/serverTypes.ts"],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("../IndexerBaseClient-
|
|
2
|
+
require("../IndexerBaseClient-DKxLMijD.cjs");
|
|
3
3
|
let _nadohq_shared = require("@nadohq/shared");
|
|
4
4
|
//#region src/types/IndexerServerFailureError.ts
|
|
5
5
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-
|
|
1
|
+
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-BMmMPfFJ.cjs";
|
|
2
2
|
export { IndexerServerFailureError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-
|
|
1
|
+
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-ClC8vkmR.js";
|
|
2
2
|
export { IndexerServerFailureError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as GetIndexerOrdersResponse, $t as
|
|
2
|
-
export { Candlestick, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesWalletSummary, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerProductPayment, IndexerProductSnapshot, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType };
|
|
1
|
+
import { $ as GetIndexerOrdersResponse, $t as IndexerPointsEpoch, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerCashIncentivesWalletSummary, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerLeaderboardParticipant, C as GetIndexerInterestFundingPaymentsResponse, Cn as RevokeSocialAccountParams, Ct as IndexerCashIncentivesClaimableClaim, D as GetIndexerLeaderboardParticipantParams, Dt as IndexerCashIncentivesEventWallet, E as GetIndexerLeaderboardParams, Et as IndexerCashIncentivesEventPlatform, F as GetIndexerMakerStatisticsResponse, Ft as IndexerEventWithTx, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerMarketSnapshot, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerLeaderboardTrackPosition, I as GetIndexerMarketSnapshotsParams, It as IndexerFundingRate, J as GetIndexerNlpSnapshotsParams, Jt as IndexerNlpSnapshot, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerMatchEvent, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerFundingRateHistoryEntry, M as GetIndexerLinkedSignerParams, Mt as IndexerEventBalanceStateSnapshot, N as GetIndexerLinkedSignerResponse, Nt as IndexerEventPerpStateSnapshot, O as GetIndexerLeaderboardParticipantResponse, Ot as IndexerCashIncentivesUnclaimableClaim, P as GetIndexerMakerStatisticsParams, Pt as IndexerEventSpotStateSnapshot, Q as GetIndexerOrdersParams, Qt as IndexerPerpPrices, R as GetIndexerMatchEventsParams, Rt as IndexerLeaderboardContest, S as GetIndexerInterestFundingPaymentsParams, Sn as RegisterLeaderboardResponse, St as IndexerBalanceTrackedVars, T as GetIndexerLeaderboardContestsResponse, Tn as TickerMarketType, Tt as IndexerCashIncentivesEventMetadata, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerMaker, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerLeaderboardRegistration, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerMakerSnapshot, X as GetIndexerOraclePricesParams, Xt as IndexerOrder, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerOraclePrice, Z as GetIndexerOraclePricesResponse, Zt as IndexerPerpBalance, _ as GetIndexerFastWithdrawalSignatureResponse, _n as ListIndexerSocialAccountsParams, _t as GetIndexerV2TickersParams, a as GetIndexerCandlesticksParams, an as IndexerSnapshotBalance, at as GetIndexerPortfolioResponse, b as GetIndexerFundingRateParams, bn as ListIndexerSubaccountsResponse, bt as GetIndexerXPointsResponse, c as GetIndexerCashIncentivesResponse, cn as IndexerSpotBalance, ct as GetIndexerProductSnapshotsParams, d as GetIndexerEdgeMarketSnapshotResponse, dn as IndexerV2Symbol, dt as GetIndexerReferralCodeParams, en as IndexerPortfolioHistory, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as IndexerV2TickerResponse, ft as GetIndexerReferralCodeResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as IndexerXPointsQuest, gt as GetIndexerV2SymbolsResponse, h as GetIndexerEventsResponse, hn as IndexerXPointsEpoch, ht as GetIndexerV2SymbolsParams, i as GetIndexerBacklogResponse, in as IndexerProductSnapshot, it as GetIndexerPortfolioParams, j as GetIndexerLeaderboardResponse, jt as IndexerEvent, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerCashIncentivesWalletClaim, l as GetIndexerEdgeCandlesticksParams, ln as IndexerSubaccountSnapshot, lt as GetIndexerProductSnapshotsResponse, m as GetIndexerEventsParams, mn as IndexerXPointsAllTime, mt as GetIndexerSubaccountDDAResponse, n as ConnectSocialAccountParams, nn as IndexerPortfolioPoint, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerSnapshotsIntervalParams, ot as GetIndexerPrivateAlphaChoiceParams, p as GetIndexerEventsLimitType, pn as IndexerV2TradingStatus, pt as GetIndexerSubaccountDDAParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerMatchEventBalances, r as ConnectSocialAccountResponse, rn as IndexerProductPayment, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerSocialAccountInfo, st as GetIndexerPrivateAlphaChoiceResponse, t as Candlestick, tn as IndexerPortfolioPeriod, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as IndexerV2MarketHours, ut as GetIndexerQuotePriceResponse, v as GetIndexerFundingRateHistoryParams, vn as ListIndexerSocialAccountsResponse, vt as GetIndexerV2TickersResponse, w as GetIndexerLeaderboardContestsParams, wn as RevokeSocialAccountResponse, wt as IndexerCashIncentivesEvent, x as GetIndexerFundingRateResponse, xn as RegisterLeaderboardParams, xt as IndexerAllTimePoints, y as GetIndexerFundingRateHistoryResponse, yn as ListIndexerSubaccountsParams, yt as GetIndexerXPointsParams, z as GetIndexerMatchEventsResponse, zt as IndexerLeaderboardContestTrack } from "../clientTypes-QBgifUeV.cjs";
|
|
2
|
+
export { Candlestick, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesClaimableClaim, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesUnclaimableClaim, IndexerCashIncentivesWalletClaim, IndexerCashIncentivesWalletSummary, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerProductPayment, IndexerProductSnapshot, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as GetIndexerOrdersResponse, $t as
|
|
2
|
-
export { Candlestick, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesWalletSummary, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerProductPayment, IndexerProductSnapshot, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType };
|
|
1
|
+
import { $ as GetIndexerOrdersResponse, $t as IndexerPointsEpoch, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerCashIncentivesWalletSummary, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerLeaderboardParticipant, C as GetIndexerInterestFundingPaymentsResponse, Cn as RevokeSocialAccountParams, Ct as IndexerCashIncentivesClaimableClaim, D as GetIndexerLeaderboardParticipantParams, Dt as IndexerCashIncentivesEventWallet, E as GetIndexerLeaderboardParams, Et as IndexerCashIncentivesEventPlatform, F as GetIndexerMakerStatisticsResponse, Ft as IndexerEventWithTx, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerMarketSnapshot, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerLeaderboardTrackPosition, I as GetIndexerMarketSnapshotsParams, It as IndexerFundingRate, J as GetIndexerNlpSnapshotsParams, Jt as IndexerNlpSnapshot, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerMatchEvent, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerFundingRateHistoryEntry, M as GetIndexerLinkedSignerParams, Mt as IndexerEventBalanceStateSnapshot, N as GetIndexerLinkedSignerResponse, Nt as IndexerEventPerpStateSnapshot, O as GetIndexerLeaderboardParticipantResponse, Ot as IndexerCashIncentivesUnclaimableClaim, P as GetIndexerMakerStatisticsParams, Pt as IndexerEventSpotStateSnapshot, Q as GetIndexerOrdersParams, Qt as IndexerPerpPrices, R as GetIndexerMatchEventsParams, Rt as IndexerLeaderboardContest, S as GetIndexerInterestFundingPaymentsParams, Sn as RegisterLeaderboardResponse, St as IndexerBalanceTrackedVars, T as GetIndexerLeaderboardContestsResponse, Tn as TickerMarketType, Tt as IndexerCashIncentivesEventMetadata, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerMaker, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerLeaderboardRegistration, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerMakerSnapshot, X as GetIndexerOraclePricesParams, Xt as IndexerOrder, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerOraclePrice, Z as GetIndexerOraclePricesResponse, Zt as IndexerPerpBalance, _ as GetIndexerFastWithdrawalSignatureResponse, _n as ListIndexerSocialAccountsParams, _t as GetIndexerV2TickersParams, a as GetIndexerCandlesticksParams, an as IndexerSnapshotBalance, at as GetIndexerPortfolioResponse, b as GetIndexerFundingRateParams, bn as ListIndexerSubaccountsResponse, bt as GetIndexerXPointsResponse, c as GetIndexerCashIncentivesResponse, cn as IndexerSpotBalance, ct as GetIndexerProductSnapshotsParams, d as GetIndexerEdgeMarketSnapshotResponse, dn as IndexerV2Symbol, dt as GetIndexerReferralCodeParams, en as IndexerPortfolioHistory, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as IndexerV2TickerResponse, ft as GetIndexerReferralCodeResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as IndexerXPointsQuest, gt as GetIndexerV2SymbolsResponse, h as GetIndexerEventsResponse, hn as IndexerXPointsEpoch, ht as GetIndexerV2SymbolsParams, i as GetIndexerBacklogResponse, in as IndexerProductSnapshot, it as GetIndexerPortfolioParams, j as GetIndexerLeaderboardResponse, jt as IndexerEvent, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerCashIncentivesWalletClaim, l as GetIndexerEdgeCandlesticksParams, ln as IndexerSubaccountSnapshot, lt as GetIndexerProductSnapshotsResponse, m as GetIndexerEventsParams, mn as IndexerXPointsAllTime, mt as GetIndexerSubaccountDDAResponse, n as ConnectSocialAccountParams, nn as IndexerPortfolioPoint, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerSnapshotsIntervalParams, ot as GetIndexerPrivateAlphaChoiceParams, p as GetIndexerEventsLimitType, pn as IndexerV2TradingStatus, pt as GetIndexerSubaccountDDAParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerMatchEventBalances, r as ConnectSocialAccountResponse, rn as IndexerProductPayment, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerSocialAccountInfo, st as GetIndexerPrivateAlphaChoiceResponse, t as Candlestick, tn as IndexerPortfolioPeriod, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as IndexerV2MarketHours, ut as GetIndexerQuotePriceResponse, v as GetIndexerFundingRateHistoryParams, vn as ListIndexerSocialAccountsResponse, vt as GetIndexerV2TickersResponse, w as GetIndexerLeaderboardContestsParams, wn as RevokeSocialAccountResponse, wt as IndexerCashIncentivesEvent, x as GetIndexerFundingRateResponse, xn as RegisterLeaderboardParams, xt as IndexerAllTimePoints, y as GetIndexerFundingRateHistoryResponse, yn as ListIndexerSubaccountsParams, yt as GetIndexerXPointsParams, z as GetIndexerMatchEventsResponse, zt as IndexerLeaderboardContestTrack } from "../clientTypes-BLKeWmIr.js";
|
|
2
|
+
export { Candlestick, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesClaimableClaim, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesUnclaimableClaim, IndexerCashIncentivesWalletClaim, IndexerCashIncentivesWalletSummary, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerProductPayment, IndexerProductSnapshot, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType };
|
package/dist/types/index.cjs
CHANGED
|
@@ -5,5 +5,6 @@ const require_types_IndexerServerFailureError = require("./IndexerServerFailureE
|
|
|
5
5
|
const require_types_serverTypes = require("./serverTypes.cjs");
|
|
6
6
|
exports.CandlestickPeriod = require_types_CandlestickPeriod.CandlestickPeriod;
|
|
7
7
|
exports.INDEXER_ERROR_CODES = require_types_indexerErrorCodes.INDEXER_ERROR_CODES;
|
|
8
|
+
exports.INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES = require_types_serverTypes.INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES;
|
|
8
9
|
exports.IndexerServerFailureError = require_types_IndexerServerFailureError.IndexerServerFailureError;
|
|
9
10
|
exports.isIndexerServerFailureResponse = require_types_serverTypes.isIndexerServerFailureResponse;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -3,10 +3,10 @@ import { t as IndexerEventType } from "../IndexerEventType-9GB2zRoN.cjs";
|
|
|
3
3
|
import { t as IndexerLeaderboardRankType } from "../IndexerLeaderboardType-Ck12QVWR.cjs";
|
|
4
4
|
import { a as NadoTransferQuoteTx, c as NadoWithdrawCollateralV2Tx, i as NadoMatchOrdersTx, n as NadoLiquidateSubaccountTx, o as NadoTx, r as NadoMatchOrdersRfqTx, s as NadoWithdrawCollateralTx, t as NadoDepositCollateralTx } from "../NadoTx-C3_f0YvI.cjs";
|
|
5
5
|
import { C as IndexerServerTx, S as IndexerServerSocialAccount, _ as IndexerServerOrder, a as IndexerServerLeaderboardContestTrack, b as IndexerServerProductSnapshot, c as IndexerServerLeaderboardTrackPosition, d as IndexerServerMarketSnapshot, f as IndexerServerMarketSnapshotInterval, g as IndexerServerOraclePrice, h as IndexerServerNlpSnapshot, i as IndexerServerLeaderboardContest, l as IndexerServerMaker, m as IndexerServerMatchEventBalances, n as IndexerServerCandlestick, o as IndexerServerLeaderboardPosition, p as IndexerServerMatchEvent, r as IndexerServerEvent, s as IndexerServerLeaderboardRegistration, t as IndexerServerBalance, u as IndexerServerMakerData, v as IndexerServerProduct, x as IndexerServerSnapshotsInterval, y as IndexerServerProductPayment } from "../serverModelTypes-DC4dsX9i.cjs";
|
|
6
|
-
import { $ as
|
|
7
|
-
import { $ as GetIndexerOrdersResponse, $t as
|
|
6
|
+
import { $ as IndexerServerMakerStatisticsParams, $t as IndexerServerXPointsResponse, A as IndexerServerFundingRateHistoryParams, At as IndexerServerProductsParams, B as IndexerServerLeaderboardParams, Bt as IndexerServerSocialAccountsResponse, C as IndexerServerEventsParams, Ct as IndexerServerPortfolioPeriod, D as IndexerServerFastWithdrawalSignatureResponse, Dt as IndexerServerPriceResponse, E as IndexerServerFastWithdrawalSignatureParams, Et as IndexerServerPriceParams, F as IndexerServerFundingRatesResponse, Ft as IndexerServerQuotePriceResponse, G as IndexerServerLeaderboardRegistrationsParams, Gt as IndexerServerV2Symbol, H as IndexerServerLeaderboardRankResponse, Ht as IndexerServerSocialConnectResponse, I as IndexerServerInterestFundingParams, It as IndexerServerReferralCodeParams, J as IndexerServerLinkedSignerParams, Jt as IndexerServerV2TickersResponse, K as IndexerServerLeaderboardRegistrationsResponse, Kt as IndexerServerV2SymbolsResponse, L as IndexerServerInterestFundingResponse, Lt as IndexerServerReferralCodeResponse, M as IndexerServerFundingRateParams, Mt as IndexerServerQueryRequestByType, N as IndexerServerFundingRateResponse, Nt as IndexerServerQueryRequestType, O as IndexerServerFundingRate, Ot as IndexerServerPrivateAlphaChoiceParams, P as IndexerServerFundingRatesParams, Pt as IndexerServerQueryResponseByType, Q as IndexerServerListSubaccountsResponse, Qt as IndexerServerXPointsQuest, R as IndexerServerLeaderboardContestsParams, Rt as IndexerServerRequestType, S as IndexerServerDDAResponse, St as IndexerServerPortfolioParams, T as IndexerServerFailureResponse, Tt as IndexerServerPortfolioResponse, U as IndexerServerLeaderboardRegisterParams, Ut as IndexerServerTriggerTypeFilter, V as IndexerServerLeaderboardRankParams, Vt as IndexerServerSocialConnectParams, W as IndexerServerLeaderboardRegisterResponse, Wt as IndexerServerV2MarketHours, X as IndexerServerListSocialAccountsParams, Xt as IndexerServerXPointsEpoch, Y as IndexerServerLinkedSignerResponse, Yt as IndexerServerXPointsAllTime, Z as IndexerServerListSubaccountsParams, Zt as IndexerServerXPointsParams, _ as IndexerServerCashIncentivesUnclaimableClaim, _t as IndexerServerPerpPricesResponse, a as IndexerEdgeServerMarketSnapshotsResponse, at as IndexerServerMultiProductsParams, b as IndexerServerCashIncentivesWalletSummary, bt as IndexerServerPointsResponse, c as IndexerServerCandlesticksParams, ct as IndexerServerMultiSubaccountSnapshotsResponse, d as IndexerServerCashIncentivesEvent, dt as IndexerServerOraclePricesParams, en as isIndexerServerFailureResponse, et as IndexerServerMakerStatisticsResponse, f as IndexerServerCashIncentivesEventMetadata, ft as IndexerServerOraclePricesResponse, g as IndexerServerCashIncentivesResponse, gt as IndexerServerPerpPricesParams, h as IndexerServerCashIncentivesParams, ht as IndexerServerPerpPrices, i as IndexerEdgeServerMarketSnapshotsParams, it as IndexerServerMatchEventsResponse, j as IndexerServerFundingRateHistoryResponse, jt as IndexerServerProductsResponse, k as IndexerServerFundingRateHistoryEntry, kt as IndexerServerPrivateAlphaChoiceResponse, l as IndexerServerCandlesticksResponse, lt as IndexerServerNlpSnapshotsParams, m as IndexerServerCashIncentivesEventWallet, mt as IndexerServerOrdersResponse, n as IndexerEdgeServerCandlesticksParams, nt as IndexerServerMarketSnapshotsResponse, o as IndexerServerAllTimePoints, ot as IndexerServerMultiProductsResponse, p as IndexerServerCashIncentivesEventPlatform, pt as IndexerServerOrdersParams, q as IndexerServerLeaderboardResponse, qt as IndexerServerV2TickerResponse, r as IndexerEdgeServerCandlesticksResponse, rt as IndexerServerMatchEventsParams, s as IndexerServerBacklogResponse, st as IndexerServerMultiSubaccountSnapshotsParams, t as INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, tt as IndexerServerMarketSnapshotsParams, u as IndexerServerCashIncentivesClaimableClaim, ut as IndexerServerNlpSnapshotsResponse, v as IndexerServerCashIncentivesWalletClaim, vt as IndexerServerPointsEpoch, w as IndexerServerEventsResponse, wt as IndexerServerPortfolioPoint, x as IndexerServerDDAQueryParams, xt as IndexerServerPortfolioHistory, y as IndexerServerCashIncentivesWalletStatus, yt as IndexerServerPointsParams, z as IndexerServerLeaderboardContestsResponse, zt as IndexerServerRevokeSocialAccountParams } from "../serverTypes-DeUDMCog.cjs";
|
|
7
|
+
import { $ as GetIndexerOrdersResponse, $t as IndexerPointsEpoch, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerCashIncentivesWalletSummary, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerLeaderboardParticipant, C as GetIndexerInterestFundingPaymentsResponse, Cn as RevokeSocialAccountParams, Ct as IndexerCashIncentivesClaimableClaim, D as GetIndexerLeaderboardParticipantParams, Dt as IndexerCashIncentivesEventWallet, E as GetIndexerLeaderboardParams, Et as IndexerCashIncentivesEventPlatform, F as GetIndexerMakerStatisticsResponse, Ft as IndexerEventWithTx, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerMarketSnapshot, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerLeaderboardTrackPosition, I as GetIndexerMarketSnapshotsParams, It as IndexerFundingRate, J as GetIndexerNlpSnapshotsParams, Jt as IndexerNlpSnapshot, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerMatchEvent, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerFundingRateHistoryEntry, M as GetIndexerLinkedSignerParams, Mt as IndexerEventBalanceStateSnapshot, N as GetIndexerLinkedSignerResponse, Nt as IndexerEventPerpStateSnapshot, O as GetIndexerLeaderboardParticipantResponse, Ot as IndexerCashIncentivesUnclaimableClaim, P as GetIndexerMakerStatisticsParams, Pt as IndexerEventSpotStateSnapshot, Q as GetIndexerOrdersParams, Qt as IndexerPerpPrices, R as GetIndexerMatchEventsParams, Rt as IndexerLeaderboardContest, S as GetIndexerInterestFundingPaymentsParams, Sn as RegisterLeaderboardResponse, St as IndexerBalanceTrackedVars, T as GetIndexerLeaderboardContestsResponse, Tn as TickerMarketType, Tt as IndexerCashIncentivesEventMetadata, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerMaker, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerLeaderboardRegistration, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerMakerSnapshot, X as GetIndexerOraclePricesParams, Xt as IndexerOrder, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerOraclePrice, Z as GetIndexerOraclePricesResponse, Zt as IndexerPerpBalance, _ as GetIndexerFastWithdrawalSignatureResponse, _n as ListIndexerSocialAccountsParams, _t as GetIndexerV2TickersParams, a as GetIndexerCandlesticksParams, an as IndexerSnapshotBalance, at as GetIndexerPortfolioResponse, b as GetIndexerFundingRateParams, bn as ListIndexerSubaccountsResponse, bt as GetIndexerXPointsResponse, c as GetIndexerCashIncentivesResponse, cn as IndexerSpotBalance, ct as GetIndexerProductSnapshotsParams, d as GetIndexerEdgeMarketSnapshotResponse, dn as IndexerV2Symbol, dt as GetIndexerReferralCodeParams, en as IndexerPortfolioHistory, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as IndexerV2TickerResponse, ft as GetIndexerReferralCodeResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as IndexerXPointsQuest, gt as GetIndexerV2SymbolsResponse, h as GetIndexerEventsResponse, hn as IndexerXPointsEpoch, ht as GetIndexerV2SymbolsParams, i as GetIndexerBacklogResponse, in as IndexerProductSnapshot, it as GetIndexerPortfolioParams, j as GetIndexerLeaderboardResponse, jt as IndexerEvent, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerCashIncentivesWalletClaim, l as GetIndexerEdgeCandlesticksParams, ln as IndexerSubaccountSnapshot, lt as GetIndexerProductSnapshotsResponse, m as GetIndexerEventsParams, mn as IndexerXPointsAllTime, mt as GetIndexerSubaccountDDAResponse, n as ConnectSocialAccountParams, nn as IndexerPortfolioPoint, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerSnapshotsIntervalParams, ot as GetIndexerPrivateAlphaChoiceParams, p as GetIndexerEventsLimitType, pn as IndexerV2TradingStatus, pt as GetIndexerSubaccountDDAParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerMatchEventBalances, r as ConnectSocialAccountResponse, rn as IndexerProductPayment, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerSocialAccountInfo, st as GetIndexerPrivateAlphaChoiceResponse, t as Candlestick, tn as IndexerPortfolioPeriod, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as IndexerV2MarketHours, ut as GetIndexerQuotePriceResponse, v as GetIndexerFundingRateHistoryParams, vn as ListIndexerSocialAccountsResponse, vt as GetIndexerV2TickersResponse, w as GetIndexerLeaderboardContestsParams, wn as RevokeSocialAccountResponse, wt as IndexerCashIncentivesEvent, x as GetIndexerFundingRateResponse, xn as RegisterLeaderboardParams, xt as IndexerAllTimePoints, y as GetIndexerFundingRateHistoryResponse, yn as ListIndexerSubaccountsParams, yt as GetIndexerXPointsParams, z as GetIndexerMatchEventsResponse, zt as IndexerLeaderboardContestTrack } from "../clientTypes-QBgifUeV.cjs";
|
|
8
8
|
import { t as CollateralEventType } from "../collateralEventType-CNrryEno.cjs";
|
|
9
9
|
import { n as IndexerErrorCode, t as INDEXER_ERROR_CODES } from "../indexerErrorCodes-BK__sFOc.cjs";
|
|
10
|
-
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-
|
|
11
|
-
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-
|
|
12
|
-
export { BaseIndexerPaginatedEvent, Candlestick, CandlestickPeriod, CollateralEventType, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, INDEXER_ERROR_CODES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesWalletSummary, IndexerCollateralEvent, IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerErrorCode, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventType, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRankType, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerLiquidationEvent, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpEvent, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPaginationMeta, IndexerPaginationParams, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerProductPayment, IndexerProductSnapshot, IndexerServerAllTimePoints, IndexerServerBacklogResponse, IndexerServerBalance, IndexerServerCandlestick, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerCashIncentivesEvent, IndexerServerCashIncentivesEventMetadata, IndexerServerCashIncentivesEventPlatform, IndexerServerCashIncentivesEventWallet, IndexerServerCashIncentivesParams, IndexerServerCashIncentivesResponse, IndexerServerCashIncentivesWalletSummary, IndexerServerDDAQueryParams, IndexerServerDDAResponse, IndexerServerEvent, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFailureError, IndexerServerFailureResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, IndexerServerFundingRateHistoryEntry, IndexerServerFundingRateHistoryParams, IndexerServerFundingRateHistoryResponse, IndexerServerFundingRateParams, IndexerServerFundingRateResponse, IndexerServerFundingRatesParams, IndexerServerFundingRatesResponse, IndexerServerInterestFundingParams, IndexerServerInterestFundingResponse, IndexerServerLeaderboardContest, IndexerServerLeaderboardContestTrack, IndexerServerLeaderboardContestsParams, IndexerServerLeaderboardContestsResponse, IndexerServerLeaderboardParams, IndexerServerLeaderboardPosition, IndexerServerLeaderboardRankParams, IndexerServerLeaderboardRankResponse, IndexerServerLeaderboardRegisterParams, IndexerServerLeaderboardRegisterResponse, IndexerServerLeaderboardRegistration, IndexerServerLeaderboardRegistrationsParams, IndexerServerLeaderboardRegistrationsResponse, IndexerServerLeaderboardResponse, IndexerServerLeaderboardTrackPosition, IndexerServerLinkedSignerParams, IndexerServerLinkedSignerResponse, IndexerServerListSocialAccountsParams, IndexerServerListSubaccountsParams, IndexerServerListSubaccountsResponse, IndexerServerMaker, IndexerServerMakerData, IndexerServerMakerStatisticsParams, IndexerServerMakerStatisticsResponse, IndexerServerMarketSnapshot, IndexerServerMarketSnapshotInterval, IndexerServerMarketSnapshotsParams, IndexerServerMarketSnapshotsResponse, IndexerServerMatchEvent, IndexerServerMatchEventBalances, IndexerServerMatchEventsParams, IndexerServerMatchEventsResponse, IndexerServerMultiProductsParams, IndexerServerMultiProductsResponse, IndexerServerMultiSubaccountSnapshotsParams, IndexerServerMultiSubaccountSnapshotsResponse, IndexerServerNlpSnapshot, IndexerServerNlpSnapshotsParams, IndexerServerNlpSnapshotsResponse, IndexerServerOraclePrice, IndexerServerOraclePricesParams, IndexerServerOraclePricesResponse, IndexerServerOrder, IndexerServerOrdersParams, IndexerServerOrdersResponse, IndexerServerPerpPrices, IndexerServerPerpPricesParams, IndexerServerPerpPricesResponse, IndexerServerPointsEpoch, IndexerServerPointsParams, IndexerServerPointsResponse, IndexerServerPortfolioHistory, IndexerServerPortfolioParams, IndexerServerPortfolioPeriod, IndexerServerPortfolioPoint, IndexerServerPortfolioResponse, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerPrivateAlphaChoiceParams, IndexerServerPrivateAlphaChoiceResponse, IndexerServerProduct, IndexerServerProductPayment, IndexerServerProductSnapshot, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerQuotePriceResponse, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerRequestType, IndexerServerRevokeSocialAccountParams, IndexerServerSnapshotsInterval, IndexerServerSocialAccount, IndexerServerSocialAccountsResponse, IndexerServerSocialConnectParams, IndexerServerSocialConnectResponse, IndexerServerTriggerTypeFilter, IndexerServerTx, IndexerServerV2MarketHours, IndexerServerV2Symbol, IndexerServerV2SymbolsResponse, IndexerServerV2TickerResponse, IndexerServerV2TickersResponse, IndexerServerXPointsAllTime, IndexerServerXPointsEpoch, IndexerServerXPointsParams, IndexerServerXPointsQuest, IndexerServerXPointsResponse, IndexerSettlementEvent, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx, PaginatedIndexerEventsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType, WithPaginationMeta, isIndexerServerFailureResponse };
|
|
10
|
+
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-BMmMPfFJ.cjs";
|
|
11
|
+
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-4I9Ibp9q.cjs";
|
|
12
|
+
export { BaseIndexerPaginatedEvent, Candlestick, CandlestickPeriod, CollateralEventType, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, INDEXER_ERROR_CODES, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesClaimableClaim, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesUnclaimableClaim, IndexerCashIncentivesWalletClaim, IndexerCashIncentivesWalletSummary, IndexerCollateralEvent, IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerErrorCode, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventType, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRankType, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerLiquidationEvent, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpEvent, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPaginationMeta, IndexerPaginationParams, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerProductPayment, IndexerProductSnapshot, IndexerServerAllTimePoints, IndexerServerBacklogResponse, IndexerServerBalance, IndexerServerCandlestick, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerCashIncentivesClaimableClaim, IndexerServerCashIncentivesEvent, IndexerServerCashIncentivesEventMetadata, IndexerServerCashIncentivesEventPlatform, IndexerServerCashIncentivesEventWallet, IndexerServerCashIncentivesParams, IndexerServerCashIncentivesResponse, IndexerServerCashIncentivesUnclaimableClaim, IndexerServerCashIncentivesWalletClaim, IndexerServerCashIncentivesWalletStatus, IndexerServerCashIncentivesWalletSummary, IndexerServerDDAQueryParams, IndexerServerDDAResponse, IndexerServerEvent, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFailureError, IndexerServerFailureResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, IndexerServerFundingRateHistoryEntry, IndexerServerFundingRateHistoryParams, IndexerServerFundingRateHistoryResponse, IndexerServerFundingRateParams, IndexerServerFundingRateResponse, IndexerServerFundingRatesParams, IndexerServerFundingRatesResponse, IndexerServerInterestFundingParams, IndexerServerInterestFundingResponse, IndexerServerLeaderboardContest, IndexerServerLeaderboardContestTrack, IndexerServerLeaderboardContestsParams, IndexerServerLeaderboardContestsResponse, IndexerServerLeaderboardParams, IndexerServerLeaderboardPosition, IndexerServerLeaderboardRankParams, IndexerServerLeaderboardRankResponse, IndexerServerLeaderboardRegisterParams, IndexerServerLeaderboardRegisterResponse, IndexerServerLeaderboardRegistration, IndexerServerLeaderboardRegistrationsParams, IndexerServerLeaderboardRegistrationsResponse, IndexerServerLeaderboardResponse, IndexerServerLeaderboardTrackPosition, IndexerServerLinkedSignerParams, IndexerServerLinkedSignerResponse, IndexerServerListSocialAccountsParams, IndexerServerListSubaccountsParams, IndexerServerListSubaccountsResponse, IndexerServerMaker, IndexerServerMakerData, IndexerServerMakerStatisticsParams, IndexerServerMakerStatisticsResponse, IndexerServerMarketSnapshot, IndexerServerMarketSnapshotInterval, IndexerServerMarketSnapshotsParams, IndexerServerMarketSnapshotsResponse, IndexerServerMatchEvent, IndexerServerMatchEventBalances, IndexerServerMatchEventsParams, IndexerServerMatchEventsResponse, IndexerServerMultiProductsParams, IndexerServerMultiProductsResponse, IndexerServerMultiSubaccountSnapshotsParams, IndexerServerMultiSubaccountSnapshotsResponse, IndexerServerNlpSnapshot, IndexerServerNlpSnapshotsParams, IndexerServerNlpSnapshotsResponse, IndexerServerOraclePrice, IndexerServerOraclePricesParams, IndexerServerOraclePricesResponse, IndexerServerOrder, IndexerServerOrdersParams, IndexerServerOrdersResponse, IndexerServerPerpPrices, IndexerServerPerpPricesParams, IndexerServerPerpPricesResponse, IndexerServerPointsEpoch, IndexerServerPointsParams, IndexerServerPointsResponse, IndexerServerPortfolioHistory, IndexerServerPortfolioParams, IndexerServerPortfolioPeriod, IndexerServerPortfolioPoint, IndexerServerPortfolioResponse, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerPrivateAlphaChoiceParams, IndexerServerPrivateAlphaChoiceResponse, IndexerServerProduct, IndexerServerProductPayment, IndexerServerProductSnapshot, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerQuotePriceResponse, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerRequestType, IndexerServerRevokeSocialAccountParams, IndexerServerSnapshotsInterval, IndexerServerSocialAccount, IndexerServerSocialAccountsResponse, IndexerServerSocialConnectParams, IndexerServerSocialConnectResponse, IndexerServerTriggerTypeFilter, IndexerServerTx, IndexerServerV2MarketHours, IndexerServerV2Symbol, IndexerServerV2SymbolsResponse, IndexerServerV2TickerResponse, IndexerServerV2TickersResponse, IndexerServerXPointsAllTime, IndexerServerXPointsEpoch, IndexerServerXPointsParams, IndexerServerXPointsQuest, IndexerServerXPointsResponse, IndexerSettlementEvent, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx, PaginatedIndexerEventsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType, WithPaginationMeta, isIndexerServerFailureResponse };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { t as IndexerEventType } from "../IndexerEventType-Brm9aX8w.js";
|
|
|
3
3
|
import { t as IndexerLeaderboardRankType } from "../IndexerLeaderboardType-DAKw2tfI.js";
|
|
4
4
|
import { a as NadoTransferQuoteTx, c as NadoWithdrawCollateralV2Tx, i as NadoMatchOrdersTx, n as NadoLiquidateSubaccountTx, o as NadoTx, r as NadoMatchOrdersRfqTx, s as NadoWithdrawCollateralTx, t as NadoDepositCollateralTx } from "../NadoTx-Bd4U-zDu.js";
|
|
5
5
|
import { C as IndexerServerTx, S as IndexerServerSocialAccount, _ as IndexerServerOrder, a as IndexerServerLeaderboardContestTrack, b as IndexerServerProductSnapshot, c as IndexerServerLeaderboardTrackPosition, d as IndexerServerMarketSnapshot, f as IndexerServerMarketSnapshotInterval, g as IndexerServerOraclePrice, h as IndexerServerNlpSnapshot, i as IndexerServerLeaderboardContest, l as IndexerServerMaker, m as IndexerServerMatchEventBalances, n as IndexerServerCandlestick, o as IndexerServerLeaderboardPosition, p as IndexerServerMatchEvent, r as IndexerServerEvent, s as IndexerServerLeaderboardRegistration, t as IndexerServerBalance, u as IndexerServerMakerData, v as IndexerServerProduct, x as IndexerServerSnapshotsInterval, y as IndexerServerProductPayment } from "../serverModelTypes-BAZNgoLE.js";
|
|
6
|
-
import { $ as
|
|
7
|
-
import { $ as GetIndexerOrdersResponse, $t as
|
|
6
|
+
import { $ as IndexerServerMakerStatisticsParams, $t as IndexerServerXPointsResponse, A as IndexerServerFundingRateHistoryParams, At as IndexerServerProductsParams, B as IndexerServerLeaderboardParams, Bt as IndexerServerSocialAccountsResponse, C as IndexerServerEventsParams, Ct as IndexerServerPortfolioPeriod, D as IndexerServerFastWithdrawalSignatureResponse, Dt as IndexerServerPriceResponse, E as IndexerServerFastWithdrawalSignatureParams, Et as IndexerServerPriceParams, F as IndexerServerFundingRatesResponse, Ft as IndexerServerQuotePriceResponse, G as IndexerServerLeaderboardRegistrationsParams, Gt as IndexerServerV2Symbol, H as IndexerServerLeaderboardRankResponse, Ht as IndexerServerSocialConnectResponse, I as IndexerServerInterestFundingParams, It as IndexerServerReferralCodeParams, J as IndexerServerLinkedSignerParams, Jt as IndexerServerV2TickersResponse, K as IndexerServerLeaderboardRegistrationsResponse, Kt as IndexerServerV2SymbolsResponse, L as IndexerServerInterestFundingResponse, Lt as IndexerServerReferralCodeResponse, M as IndexerServerFundingRateParams, Mt as IndexerServerQueryRequestByType, N as IndexerServerFundingRateResponse, Nt as IndexerServerQueryRequestType, O as IndexerServerFundingRate, Ot as IndexerServerPrivateAlphaChoiceParams, P as IndexerServerFundingRatesParams, Pt as IndexerServerQueryResponseByType, Q as IndexerServerListSubaccountsResponse, Qt as IndexerServerXPointsQuest, R as IndexerServerLeaderboardContestsParams, Rt as IndexerServerRequestType, S as IndexerServerDDAResponse, St as IndexerServerPortfolioParams, T as IndexerServerFailureResponse, Tt as IndexerServerPortfolioResponse, U as IndexerServerLeaderboardRegisterParams, Ut as IndexerServerTriggerTypeFilter, V as IndexerServerLeaderboardRankParams, Vt as IndexerServerSocialConnectParams, W as IndexerServerLeaderboardRegisterResponse, Wt as IndexerServerV2MarketHours, X as IndexerServerListSocialAccountsParams, Xt as IndexerServerXPointsEpoch, Y as IndexerServerLinkedSignerResponse, Yt as IndexerServerXPointsAllTime, Z as IndexerServerListSubaccountsParams, Zt as IndexerServerXPointsParams, _ as IndexerServerCashIncentivesUnclaimableClaim, _t as IndexerServerPerpPricesResponse, a as IndexerEdgeServerMarketSnapshotsResponse, at as IndexerServerMultiProductsParams, b as IndexerServerCashIncentivesWalletSummary, bt as IndexerServerPointsResponse, c as IndexerServerCandlesticksParams, ct as IndexerServerMultiSubaccountSnapshotsResponse, d as IndexerServerCashIncentivesEvent, dt as IndexerServerOraclePricesParams, en as isIndexerServerFailureResponse, et as IndexerServerMakerStatisticsResponse, f as IndexerServerCashIncentivesEventMetadata, ft as IndexerServerOraclePricesResponse, g as IndexerServerCashIncentivesResponse, gt as IndexerServerPerpPricesParams, h as IndexerServerCashIncentivesParams, ht as IndexerServerPerpPrices, i as IndexerEdgeServerMarketSnapshotsParams, it as IndexerServerMatchEventsResponse, j as IndexerServerFundingRateHistoryResponse, jt as IndexerServerProductsResponse, k as IndexerServerFundingRateHistoryEntry, kt as IndexerServerPrivateAlphaChoiceResponse, l as IndexerServerCandlesticksResponse, lt as IndexerServerNlpSnapshotsParams, m as IndexerServerCashIncentivesEventWallet, mt as IndexerServerOrdersResponse, n as IndexerEdgeServerCandlesticksParams, nt as IndexerServerMarketSnapshotsResponse, o as IndexerServerAllTimePoints, ot as IndexerServerMultiProductsResponse, p as IndexerServerCashIncentivesEventPlatform, pt as IndexerServerOrdersParams, q as IndexerServerLeaderboardResponse, qt as IndexerServerV2TickerResponse, r as IndexerEdgeServerCandlesticksResponse, rt as IndexerServerMatchEventsParams, s as IndexerServerBacklogResponse, st as IndexerServerMultiSubaccountSnapshotsParams, t as INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, tt as IndexerServerMarketSnapshotsParams, u as IndexerServerCashIncentivesClaimableClaim, ut as IndexerServerNlpSnapshotsResponse, v as IndexerServerCashIncentivesWalletClaim, vt as IndexerServerPointsEpoch, w as IndexerServerEventsResponse, wt as IndexerServerPortfolioPoint, x as IndexerServerDDAQueryParams, xt as IndexerServerPortfolioHistory, y as IndexerServerCashIncentivesWalletStatus, yt as IndexerServerPointsParams, z as IndexerServerLeaderboardContestsResponse, zt as IndexerServerRevokeSocialAccountParams } from "../serverTypes-BQafrknp.js";
|
|
7
|
+
import { $ as GetIndexerOrdersResponse, $t as IndexerPointsEpoch, A as GetIndexerLeaderboardRegistrationsResponse, At as IndexerCashIncentivesWalletSummary, B as GetIndexerMultiProductFundingRatesParams, Bt as IndexerLeaderboardParticipant, C as GetIndexerInterestFundingPaymentsResponse, Cn as RevokeSocialAccountParams, Ct as IndexerCashIncentivesClaimableClaim, D as GetIndexerLeaderboardParticipantParams, Dt as IndexerCashIncentivesEventWallet, E as GetIndexerLeaderboardParams, Et as IndexerCashIncentivesEventPlatform, F as GetIndexerMakerStatisticsResponse, Ft as IndexerEventWithTx, G as GetIndexerMultiProductSnapshotsResponse, Gt as IndexerMarketSnapshot, H as GetIndexerMultiProductPerpPricesParams, Ht as IndexerLeaderboardTrackPosition, I as GetIndexerMarketSnapshotsParams, It as IndexerFundingRate, J as GetIndexerNlpSnapshotsParams, Jt as IndexerNlpSnapshot, K as GetIndexerMultiSubaccountSnapshotsParams, Kt as IndexerMatchEvent, L as GetIndexerMarketSnapshotsResponse, Lt as IndexerFundingRateHistoryEntry, M as GetIndexerLinkedSignerParams, Mt as IndexerEventBalanceStateSnapshot, N as GetIndexerLinkedSignerResponse, Nt as IndexerEventPerpStateSnapshot, O as GetIndexerLeaderboardParticipantResponse, Ot as IndexerCashIncentivesUnclaimableClaim, P as GetIndexerMakerStatisticsParams, Pt as IndexerEventSpotStateSnapshot, Q as GetIndexerOrdersParams, Qt as IndexerPerpPrices, R as GetIndexerMatchEventsParams, Rt as IndexerLeaderboardContest, S as GetIndexerInterestFundingPaymentsParams, Sn as RegisterLeaderboardResponse, St as IndexerBalanceTrackedVars, T as GetIndexerLeaderboardContestsResponse, Tn as TickerMarketType, Tt as IndexerCashIncentivesEventMetadata, U as GetIndexerMultiProductPerpPricesResponse, Ut as IndexerMaker, V as GetIndexerMultiProductFundingRatesResponse, Vt as IndexerLeaderboardRegistration, W as GetIndexerMultiProductSnapshotsParams, Wt as IndexerMakerSnapshot, X as GetIndexerOraclePricesParams, Xt as IndexerOrder, Y as GetIndexerNlpSnapshotsResponse, Yt as IndexerOraclePrice, Z as GetIndexerOraclePricesResponse, Zt as IndexerPerpBalance, _ as GetIndexerFastWithdrawalSignatureResponse, _n as ListIndexerSocialAccountsParams, _t as GetIndexerV2TickersParams, a as GetIndexerCandlesticksParams, an as IndexerSnapshotBalance, at as GetIndexerPortfolioResponse, b as GetIndexerFundingRateParams, bn as ListIndexerSubaccountsResponse, bt as GetIndexerXPointsResponse, c as GetIndexerCashIncentivesResponse, cn as IndexerSpotBalance, ct as GetIndexerProductSnapshotsParams, d as GetIndexerEdgeMarketSnapshotResponse, dn as IndexerV2Symbol, dt as GetIndexerReferralCodeParams, en as IndexerPortfolioHistory, et as GetIndexerPerpPricesParams, f as GetIndexerEdgeMarketSnapshotsParams, fn as IndexerV2TickerResponse, ft as GetIndexerReferralCodeResponse, g as GetIndexerFastWithdrawalSignatureParams, gn as IndexerXPointsQuest, gt as GetIndexerV2SymbolsResponse, h as GetIndexerEventsResponse, hn as IndexerXPointsEpoch, ht as GetIndexerV2SymbolsParams, i as GetIndexerBacklogResponse, in as IndexerProductSnapshot, it as GetIndexerPortfolioParams, j as GetIndexerLeaderboardResponse, jt as IndexerEvent, k as GetIndexerLeaderboardRegistrationsParams, kt as IndexerCashIncentivesWalletClaim, l as GetIndexerEdgeCandlesticksParams, ln as IndexerSubaccountSnapshot, lt as GetIndexerProductSnapshotsResponse, m as GetIndexerEventsParams, mn as IndexerXPointsAllTime, mt as GetIndexerSubaccountDDAResponse, n as ConnectSocialAccountParams, nn as IndexerPortfolioPoint, nt as GetIndexerPointsParams, o as GetIndexerCandlesticksResponse, on as IndexerSnapshotsIntervalParams, ot as GetIndexerPrivateAlphaChoiceParams, p as GetIndexerEventsLimitType, pn as IndexerV2TradingStatus, pt as GetIndexerSubaccountDDAParams, q as GetIndexerMultiSubaccountSnapshotsResponse, qt as IndexerMatchEventBalances, r as ConnectSocialAccountResponse, rn as IndexerProductPayment, rt as GetIndexerPointsResponse, s as GetIndexerCashIncentivesParams, sn as IndexerSocialAccountInfo, st as GetIndexerPrivateAlphaChoiceResponse, t as Candlestick, tn as IndexerPortfolioPeriod, tt as GetIndexerPerpPricesResponse, u as GetIndexerEdgeCandlesticksResponse, un as IndexerV2MarketHours, ut as GetIndexerQuotePriceResponse, v as GetIndexerFundingRateHistoryParams, vn as ListIndexerSocialAccountsResponse, vt as GetIndexerV2TickersResponse, w as GetIndexerLeaderboardContestsParams, wn as RevokeSocialAccountResponse, wt as IndexerCashIncentivesEvent, x as GetIndexerFundingRateResponse, xn as RegisterLeaderboardParams, xt as IndexerAllTimePoints, y as GetIndexerFundingRateHistoryResponse, yn as ListIndexerSubaccountsParams, yt as GetIndexerXPointsParams, z as GetIndexerMatchEventsResponse, zt as IndexerLeaderboardContestTrack } from "../clientTypes-BLKeWmIr.js";
|
|
8
8
|
import { t as CollateralEventType } from "../collateralEventType-s-WbBniE.js";
|
|
9
9
|
import { n as IndexerErrorCode, t as INDEXER_ERROR_CODES } from "../indexerErrorCodes-DNHtJXxm.js";
|
|
10
|
-
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-
|
|
11
|
-
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-
|
|
12
|
-
export { BaseIndexerPaginatedEvent, Candlestick, CandlestickPeriod, CollateralEventType, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, INDEXER_ERROR_CODES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesWalletSummary, IndexerCollateralEvent, IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerErrorCode, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventType, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRankType, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerLiquidationEvent, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpEvent, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPaginationMeta, IndexerPaginationParams, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerProductPayment, IndexerProductSnapshot, IndexerServerAllTimePoints, IndexerServerBacklogResponse, IndexerServerBalance, IndexerServerCandlestick, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerCashIncentivesEvent, IndexerServerCashIncentivesEventMetadata, IndexerServerCashIncentivesEventPlatform, IndexerServerCashIncentivesEventWallet, IndexerServerCashIncentivesParams, IndexerServerCashIncentivesResponse, IndexerServerCashIncentivesWalletSummary, IndexerServerDDAQueryParams, IndexerServerDDAResponse, IndexerServerEvent, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFailureError, IndexerServerFailureResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, IndexerServerFundingRateHistoryEntry, IndexerServerFundingRateHistoryParams, IndexerServerFundingRateHistoryResponse, IndexerServerFundingRateParams, IndexerServerFundingRateResponse, IndexerServerFundingRatesParams, IndexerServerFundingRatesResponse, IndexerServerInterestFundingParams, IndexerServerInterestFundingResponse, IndexerServerLeaderboardContest, IndexerServerLeaderboardContestTrack, IndexerServerLeaderboardContestsParams, IndexerServerLeaderboardContestsResponse, IndexerServerLeaderboardParams, IndexerServerLeaderboardPosition, IndexerServerLeaderboardRankParams, IndexerServerLeaderboardRankResponse, IndexerServerLeaderboardRegisterParams, IndexerServerLeaderboardRegisterResponse, IndexerServerLeaderboardRegistration, IndexerServerLeaderboardRegistrationsParams, IndexerServerLeaderboardRegistrationsResponse, IndexerServerLeaderboardResponse, IndexerServerLeaderboardTrackPosition, IndexerServerLinkedSignerParams, IndexerServerLinkedSignerResponse, IndexerServerListSocialAccountsParams, IndexerServerListSubaccountsParams, IndexerServerListSubaccountsResponse, IndexerServerMaker, IndexerServerMakerData, IndexerServerMakerStatisticsParams, IndexerServerMakerStatisticsResponse, IndexerServerMarketSnapshot, IndexerServerMarketSnapshotInterval, IndexerServerMarketSnapshotsParams, IndexerServerMarketSnapshotsResponse, IndexerServerMatchEvent, IndexerServerMatchEventBalances, IndexerServerMatchEventsParams, IndexerServerMatchEventsResponse, IndexerServerMultiProductsParams, IndexerServerMultiProductsResponse, IndexerServerMultiSubaccountSnapshotsParams, IndexerServerMultiSubaccountSnapshotsResponse, IndexerServerNlpSnapshot, IndexerServerNlpSnapshotsParams, IndexerServerNlpSnapshotsResponse, IndexerServerOraclePrice, IndexerServerOraclePricesParams, IndexerServerOraclePricesResponse, IndexerServerOrder, IndexerServerOrdersParams, IndexerServerOrdersResponse, IndexerServerPerpPrices, IndexerServerPerpPricesParams, IndexerServerPerpPricesResponse, IndexerServerPointsEpoch, IndexerServerPointsParams, IndexerServerPointsResponse, IndexerServerPortfolioHistory, IndexerServerPortfolioParams, IndexerServerPortfolioPeriod, IndexerServerPortfolioPoint, IndexerServerPortfolioResponse, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerPrivateAlphaChoiceParams, IndexerServerPrivateAlphaChoiceResponse, IndexerServerProduct, IndexerServerProductPayment, IndexerServerProductSnapshot, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerQuotePriceResponse, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerRequestType, IndexerServerRevokeSocialAccountParams, IndexerServerSnapshotsInterval, IndexerServerSocialAccount, IndexerServerSocialAccountsResponse, IndexerServerSocialConnectParams, IndexerServerSocialConnectResponse, IndexerServerTriggerTypeFilter, IndexerServerTx, IndexerServerV2MarketHours, IndexerServerV2Symbol, IndexerServerV2SymbolsResponse, IndexerServerV2TickerResponse, IndexerServerV2TickersResponse, IndexerServerXPointsAllTime, IndexerServerXPointsEpoch, IndexerServerXPointsParams, IndexerServerXPointsQuest, IndexerServerXPointsResponse, IndexerSettlementEvent, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx, PaginatedIndexerEventsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType, WithPaginationMeta, isIndexerServerFailureResponse };
|
|
10
|
+
import { t as IndexerServerFailureError } from "../IndexerServerFailureError-ClC8vkmR.js";
|
|
11
|
+
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-D668Hgzl.js";
|
|
12
|
+
export { BaseIndexerPaginatedEvent, Candlestick, CandlestickPeriod, CollateralEventType, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerCashIncentivesParams, GetIndexerCashIncentivesResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, GetIndexerFundingRateHistoryParams, GetIndexerFundingRateHistoryResponse, GetIndexerFundingRateParams, GetIndexerFundingRateResponse, GetIndexerInterestFundingPaymentsParams, GetIndexerInterestFundingPaymentsResponse, GetIndexerLeaderboardContestsParams, GetIndexerLeaderboardContestsResponse, GetIndexerLeaderboardParams, GetIndexerLeaderboardParticipantParams, GetIndexerLeaderboardParticipantResponse, GetIndexerLeaderboardRegistrationsParams, GetIndexerLeaderboardRegistrationsResponse, GetIndexerLeaderboardResponse, GetIndexerLinkedSignerParams, GetIndexerLinkedSignerResponse, GetIndexerMakerStatisticsParams, GetIndexerMakerStatisticsResponse, GetIndexerMarketSnapshotsParams, GetIndexerMarketSnapshotsResponse, GetIndexerMatchEventsParams, GetIndexerMatchEventsResponse, GetIndexerMultiProductFundingRatesParams, GetIndexerMultiProductFundingRatesResponse, GetIndexerMultiProductPerpPricesParams, GetIndexerMultiProductPerpPricesResponse, GetIndexerMultiProductSnapshotsParams, GetIndexerMultiProductSnapshotsResponse, GetIndexerMultiSubaccountSnapshotsParams, GetIndexerMultiSubaccountSnapshotsResponse, GetIndexerNlpSnapshotsParams, GetIndexerNlpSnapshotsResponse, GetIndexerOraclePricesParams, GetIndexerOraclePricesResponse, GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerPerpPricesParams, GetIndexerPerpPricesResponse, GetIndexerPointsParams, GetIndexerPointsResponse, GetIndexerPortfolioParams, GetIndexerPortfolioResponse, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, GetIndexerXPointsParams, GetIndexerXPointsResponse, INDEXER_ERROR_CODES, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCashIncentivesClaimableClaim, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesUnclaimableClaim, IndexerCashIncentivesWalletClaim, IndexerCashIncentivesWalletSummary, IndexerCollateralEvent, IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerErrorCode, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventType, IndexerEventWithTx, IndexerFundingRate, IndexerFundingRateHistoryEntry, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRankType, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerLiquidationEvent, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpEvent, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPaginationMeta, IndexerPaginationParams, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerPortfolioHistory, IndexerPortfolioPeriod, IndexerPortfolioPoint, IndexerProductPayment, IndexerProductSnapshot, IndexerServerAllTimePoints, IndexerServerBacklogResponse, IndexerServerBalance, IndexerServerCandlestick, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerCashIncentivesClaimableClaim, IndexerServerCashIncentivesEvent, IndexerServerCashIncentivesEventMetadata, IndexerServerCashIncentivesEventPlatform, IndexerServerCashIncentivesEventWallet, IndexerServerCashIncentivesParams, IndexerServerCashIncentivesResponse, IndexerServerCashIncentivesUnclaimableClaim, IndexerServerCashIncentivesWalletClaim, IndexerServerCashIncentivesWalletStatus, IndexerServerCashIncentivesWalletSummary, IndexerServerDDAQueryParams, IndexerServerDDAResponse, IndexerServerEvent, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFailureError, IndexerServerFailureResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, IndexerServerFundingRateHistoryEntry, IndexerServerFundingRateHistoryParams, IndexerServerFundingRateHistoryResponse, IndexerServerFundingRateParams, IndexerServerFundingRateResponse, IndexerServerFundingRatesParams, IndexerServerFundingRatesResponse, IndexerServerInterestFundingParams, IndexerServerInterestFundingResponse, IndexerServerLeaderboardContest, IndexerServerLeaderboardContestTrack, IndexerServerLeaderboardContestsParams, IndexerServerLeaderboardContestsResponse, IndexerServerLeaderboardParams, IndexerServerLeaderboardPosition, IndexerServerLeaderboardRankParams, IndexerServerLeaderboardRankResponse, IndexerServerLeaderboardRegisterParams, IndexerServerLeaderboardRegisterResponse, IndexerServerLeaderboardRegistration, IndexerServerLeaderboardRegistrationsParams, IndexerServerLeaderboardRegistrationsResponse, IndexerServerLeaderboardResponse, IndexerServerLeaderboardTrackPosition, IndexerServerLinkedSignerParams, IndexerServerLinkedSignerResponse, IndexerServerListSocialAccountsParams, IndexerServerListSubaccountsParams, IndexerServerListSubaccountsResponse, IndexerServerMaker, IndexerServerMakerData, IndexerServerMakerStatisticsParams, IndexerServerMakerStatisticsResponse, IndexerServerMarketSnapshot, IndexerServerMarketSnapshotInterval, IndexerServerMarketSnapshotsParams, IndexerServerMarketSnapshotsResponse, IndexerServerMatchEvent, IndexerServerMatchEventBalances, IndexerServerMatchEventsParams, IndexerServerMatchEventsResponse, IndexerServerMultiProductsParams, IndexerServerMultiProductsResponse, IndexerServerMultiSubaccountSnapshotsParams, IndexerServerMultiSubaccountSnapshotsResponse, IndexerServerNlpSnapshot, IndexerServerNlpSnapshotsParams, IndexerServerNlpSnapshotsResponse, IndexerServerOraclePrice, IndexerServerOraclePricesParams, IndexerServerOraclePricesResponse, IndexerServerOrder, IndexerServerOrdersParams, IndexerServerOrdersResponse, IndexerServerPerpPrices, IndexerServerPerpPricesParams, IndexerServerPerpPricesResponse, IndexerServerPointsEpoch, IndexerServerPointsParams, IndexerServerPointsResponse, IndexerServerPortfolioHistory, IndexerServerPortfolioParams, IndexerServerPortfolioPeriod, IndexerServerPortfolioPoint, IndexerServerPortfolioResponse, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerPrivateAlphaChoiceParams, IndexerServerPrivateAlphaChoiceResponse, IndexerServerProduct, IndexerServerProductPayment, IndexerServerProductSnapshot, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerQuotePriceResponse, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerRequestType, IndexerServerRevokeSocialAccountParams, IndexerServerSnapshotsInterval, IndexerServerSocialAccount, IndexerServerSocialAccountsResponse, IndexerServerSocialConnectParams, IndexerServerSocialConnectResponse, IndexerServerTriggerTypeFilter, IndexerServerTx, IndexerServerV2MarketHours, IndexerServerV2Symbol, IndexerServerV2SymbolsResponse, IndexerServerV2TickerResponse, IndexerServerV2TickersResponse, IndexerServerXPointsAllTime, IndexerServerXPointsEpoch, IndexerServerXPointsParams, IndexerServerXPointsQuest, IndexerServerXPointsResponse, IndexerSettlementEvent, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, IndexerXPointsAllTime, IndexerXPointsEpoch, IndexerXPointsQuest, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx, PaginatedIndexerEventsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType, WithPaginationMeta, isIndexerServerFailureResponse };
|
package/dist/types/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CandlestickPeriod } from "./CandlestickPeriod.js";
|
|
2
2
|
import { INDEXER_ERROR_CODES } from "./indexerErrorCodes.js";
|
|
3
3
|
import { IndexerServerFailureError } from "./IndexerServerFailureError.js";
|
|
4
|
-
import { isIndexerServerFailureResponse } from "./serverTypes.js";
|
|
5
|
-
export { CandlestickPeriod, INDEXER_ERROR_CODES, IndexerServerFailureError, isIndexerServerFailureResponse };
|
|
4
|
+
import { INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, isIndexerServerFailureResponse } from "./serverTypes.js";
|
|
5
|
+
export { CandlestickPeriod, INDEXER_ERROR_CODES, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, IndexerServerFailureError, isIndexerServerFailureResponse };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("../IndexerBaseClient-
|
|
2
|
+
require("../IndexerBaseClient-DKxLMijD.cjs");
|
|
3
3
|
//#region src/types/indexerErrorCodes.ts
|
|
4
4
|
/**
|
|
5
5
|
* Numeric error codes returned by the indexer service API. Codes shared across all Nado backend
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-
|
|
1
|
+
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-4I9Ibp9q.cjs";
|
|
2
2
|
export { BaseIndexerPaginatedEvent, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, IndexerCollateralEvent, IndexerLiquidationEvent, IndexerNlpEvent, IndexerPaginationMeta, IndexerPaginationParams, IndexerSettlementEvent, PaginatedIndexerEventsResponse, WithPaginationMeta };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-
|
|
1
|
+
import { C as IndexerSettlementEvent, S as IndexerPaginationParams, T as WithPaginationMeta, _ as GetIndexerSubaccountSettlementEventsResponse, a as GetIndexerPaginatedOrdersParams, b as IndexerNlpEvent, c as GetIndexerSubaccountCollateralEventsResponse, d as GetIndexerSubaccountLiquidationEventsResponse, f as GetIndexerSubaccountMatchEventParams, g as GetIndexerSubaccountSettlementEventsParams, h as GetIndexerSubaccountNlpEventsResponse, i as GetIndexerPaginatedLeaderboardResponse, l as GetIndexerSubaccountInterestFundingPaymentsParams, m as GetIndexerSubaccountNlpEventsParams, n as GetIndexerPaginatedInterestFundingPaymentsResponse, o as GetIndexerPaginatedOrdersResponse, p as GetIndexerSubaccountMatchEventsResponse, r as GetIndexerPaginatedLeaderboardParams, s as GetIndexerSubaccountCollateralEventsParams, t as BaseIndexerPaginatedEvent, u as GetIndexerSubaccountLiquidationEventsParams, v as IndexerCollateralEvent, w as PaginatedIndexerEventsResponse, x as IndexerPaginationMeta, y as IndexerLiquidationEvent } from "../paginatedEventsTypes-D668Hgzl.js";
|
|
2
2
|
export { BaseIndexerPaginatedEvent, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, IndexerCollateralEvent, IndexerLiquidationEvent, IndexerNlpEvent, IndexerPaginationMeta, IndexerPaginationParams, IndexerSettlementEvent, PaginatedIndexerEventsResponse, WithPaginationMeta };
|
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
//#region src/types/serverTypes.ts
|
|
3
3
|
/**
|
|
4
|
+
* Claim status of a wallet for a single Cash Incentives event.
|
|
5
|
+
*
|
|
6
|
+
* - `in_progress`: the event is still active.
|
|
7
|
+
* - `pending`: the event has ended, but its settlement has not been published.
|
|
8
|
+
* - `no_reward`: the settlement exists, but the wallet has no reward.
|
|
9
|
+
* - `claimable`: the settlement grants this wallet a reward, and the proof to claim it is included.
|
|
10
|
+
*
|
|
11
|
+
* There is deliberately no `claimed` status. The airdrop contract's `getClaimed` is the source of
|
|
12
|
+
* truth for whether a reward has already been taken, so a reward stays `claimable` here even after
|
|
13
|
+
* it has been claimed onchain.
|
|
14
|
+
*/
|
|
15
|
+
const INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES = [
|
|
16
|
+
"in_progress",
|
|
17
|
+
"pending",
|
|
18
|
+
"no_reward",
|
|
19
|
+
"claimable"
|
|
20
|
+
];
|
|
21
|
+
/**
|
|
4
22
|
* Narrows an unknown response body to the indexer service API failure envelope.
|
|
5
23
|
*/
|
|
6
24
|
function isIndexerServerFailureResponse(data) {
|
|
7
25
|
return typeof data === "object" && data !== null && data.status === "failure";
|
|
8
26
|
}
|
|
9
27
|
//#endregion
|
|
28
|
+
exports.INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES = INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES;
|
|
10
29
|
exports.isIndexerServerFailureResponse = isIndexerServerFailureResponse;
|
|
11
30
|
|
|
12
31
|
//# sourceMappingURL=serverTypes.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverTypes.cjs","names":[],"sources":["../../src/types/serverTypes.ts"],"sourcesContent":["import {\n EIP712LeaderboardAuthenticationValues,\n EIP712SocialAuthenticationValues,\n SignedTx,\n} from '@nadohq/shared';\nimport { IndexerEventType } from './IndexerEventType';\nimport { IndexerLeaderboardRankType } from './IndexerLeaderboardType';\nimport { NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx } from './NadoTx';\nimport {\n IndexerServerCandlestick,\n IndexerServerEvent,\n IndexerServerLeaderboardContest,\n IndexerServerLeaderboardPosition,\n IndexerServerLeaderboardRegistration,\n IndexerServerMaker,\n IndexerServerMarketSnapshot,\n IndexerServerMarketSnapshotInterval,\n IndexerServerMatchEvent,\n IndexerServerNlpSnapshot,\n IndexerServerOraclePrice,\n IndexerServerOrder,\n IndexerServerProductPayment,\n IndexerServerProductSnapshot,\n IndexerServerSnapshotsInterval,\n IndexerServerSocialAccount,\n IndexerServerTx,\n} from './serverModelTypes';\n\n/**\n * Params\n */\n\nexport interface IndexerServerListSubaccountsParams {\n // Inclusive, defaults to 0\n start?: number;\n // Defaults to 100\n limit?: number;\n address?: string;\n}\n\nexport interface IndexerServerMultiSubaccountSnapshotsParams {\n // Subaccount hex identifiers\n subaccounts: string[];\n timestamps: number[];\n // If not given, will return both isolated & non-iso balances\n isolated?: boolean;\n}\n\nexport interface IndexerServerReferralCodeParams {\n subaccount: string;\n}\n\nexport interface IndexerServerFundingRateParams {\n product_id: number;\n}\n\nexport interface IndexerServerFundingRatesParams {\n product_ids: number[];\n}\n\nexport interface IndexerServerFundingRateHistoryParams {\n product_id: number;\n start_time?: number | string;\n end_time?: number | string;\n // Max number of rates to return. Defaults to 100, max 1000.\n limit?: number;\n}\n\nexport interface IndexerServerPriceParams {\n product_id: number;\n}\n\nexport interface IndexerServerPerpPricesParams {\n product_ids: number[];\n}\n\nexport interface IndexerServerPortfolioParams {\n subaccount: string;\n}\n\nexport interface IndexerServerOraclePricesParams {\n product_ids: number[];\n}\n\nexport interface IndexerServerCandlesticksParams {\n product_id: number;\n granularity: number;\n // Seconds\n max_time?: number;\n limit: number;\n}\n\nexport type IndexerEdgeServerCandlesticksParams =\n IndexerServerCandlesticksParams;\n\nexport interface IndexerServerProductsParams {\n product_id: number;\n max_time?: number;\n limit: number;\n // submission_idx for pagination, inclusive\n idx?: string;\n}\n\nexport interface IndexerServerMultiProductsParams {\n product_ids: number[];\n max_time: number[];\n}\n\nexport interface IndexerServerEventsParams {\n subaccounts?: string[];\n product_ids?: number[];\n // If not given, will return both isolated & non-iso events\n isolated?: boolean;\n event_types?: IndexerEventType[];\n // Descending order for idx (time), defaults to true\n desc?: boolean;\n // submission_idx for pagination, inclusive\n idx?: string;\n max_time?: number;\n limit?:\n | {\n raw: number;\n }\n | {\n txs: number;\n };\n}\n\nexport type IndexerServerTriggerTypeFilter =\n | 'none'\n | 'price_trigger'\n | 'time_trigger';\n\nexport interface IndexerServerOrdersParams {\n subaccounts?: string[];\n product_ids?: number[];\n trigger_types?: IndexerServerTriggerTypeFilter[];\n digests?: string[];\n max_time?: number;\n limit?: number;\n // If not given, will return both isolated & non-iso orders\n isolated?: boolean;\n // submission_idx for pagination, inclusive\n idx?: string;\n}\n\nexport interface IndexerServerMatchEventsParams {\n subaccounts?: string[];\n product_ids?: number[];\n // If not given, will return both isolated & non-iso events\n isolated?: boolean;\n max_time?: number;\n limit: number;\n // submission_idx for pagination, inclusive\n idx?: string;\n}\n\nexport interface IndexerServerLinkedSignerParams {\n subaccount: string;\n}\n\nexport interface IndexerServerMarketSnapshotsParams {\n interval: IndexerServerMarketSnapshotInterval;\n // Defaults to all\n product_ids?: number[];\n}\n\nexport interface IndexerEdgeServerMarketSnapshotsParams {\n interval: IndexerServerMarketSnapshotInterval;\n}\n\nexport interface IndexerServerInterestFundingParams {\n subaccount: string;\n product_ids: number[];\n // If not given, defaults to latest\n max_idx?: string;\n max_time?: number;\n limit: number;\n}\n\nexport interface IndexerServerMakerStatisticsParams {\n product_id: number;\n epoch: number;\n interval: number;\n}\n\nexport interface IndexerServerLeaderboardParams {\n contest_id: number;\n rank_type?: IndexerLeaderboardRankType;\n start?: number | string;\n limit?: number | string;\n order?: 'ASC' | 'DESC';\n}\n\nexport interface IndexerServerLeaderboardRankParams {\n subaccount: string;\n contest_ids: number[];\n}\n\nexport interface IndexerServerLeaderboardContestsParams {\n contest_ids?: number[];\n active?: boolean;\n}\n\nexport interface IndexerServerLeaderboardRegistrationsParams {\n subaccount: string;\n contest_ids?: number[];\n active?: boolean;\n}\n\nexport interface IndexerServerLeaderboardRegisterParams {\n update_registration: SignedTx<EIP712LeaderboardAuthenticationValues>;\n}\n\nexport interface IndexerServerSocialConnectParams {\n update_social_account: SignedTx<EIP712SocialAuthenticationValues>;\n}\n\nexport interface IndexerServerListSocialAccountsParams {\n address: string;\n}\n\nexport type IndexerServerRevokeSocialAccountParams =\n IndexerServerSocialConnectParams;\n\nexport interface IndexerServerFastWithdrawalSignatureParams {\n /**\n * The submission index of the WithdrawCollateral tx to be used for fast withdraw.\n */\n idx: number | string;\n}\n\nexport interface IndexerServerNlpSnapshotsParams {\n interval: IndexerServerSnapshotsInterval;\n}\n\nexport interface IndexerServerDDAQueryParams {\n subaccount: string;\n}\n\nexport interface IndexerServerPrivateAlphaChoiceParams {\n address: string;\n}\n\nexport interface IndexerServerPointsParams {\n address: string;\n}\n\nexport interface IndexerServerXPointsParams {\n address: string;\n}\n\nexport interface IndexerServerCashIncentivesParams {\n wallet_address: string;\n}\n\n// Request\nexport interface IndexerServerQueryRequestByType {\n account_snapshots: IndexerServerMultiSubaccountSnapshotsParams;\n backlog: Record<string, never>;\n candlesticks: IndexerServerCandlesticksParams;\n direct_deposit_address: IndexerServerDDAQueryParams;\n edge_candlesticks: IndexerEdgeServerCandlesticksParams;\n edge_market_snapshots: IndexerEdgeServerMarketSnapshotsParams;\n events: IndexerServerEventsParams;\n fast_withdrawal_signature: IndexerServerFastWithdrawalSignatureParams;\n funding_rate: IndexerServerFundingRateParams;\n funding_rate_history: IndexerServerFundingRateHistoryParams;\n funding_rates: IndexerServerFundingRatesParams;\n interest_and_funding: IndexerServerInterestFundingParams;\n leaderboard: IndexerServerLeaderboardParams;\n leaderboard_contests: IndexerServerLeaderboardContestsParams;\n leaderboard_rank: IndexerServerLeaderboardRankParams;\n leaderboard_register: IndexerServerLeaderboardRegisterParams;\n leaderboard_registrations: IndexerServerLeaderboardRegistrationsParams;\n linked_signer_rate_limit: IndexerServerLinkedSignerParams;\n maker_statistics: IndexerServerMakerStatisticsParams;\n market_snapshots: IndexerServerMarketSnapshotsParams;\n matches: IndexerServerMatchEventsParams;\n oracle_price: IndexerServerOraclePricesParams;\n orders: IndexerServerOrdersParams;\n perp_prices: IndexerServerPerpPricesParams;\n portfolio: IndexerServerPortfolioParams;\n price: IndexerServerPriceParams;\n product_snapshots: IndexerServerMultiProductsParams;\n products: IndexerServerProductsParams;\n referral_code: IndexerServerReferralCodeParams;\n subaccounts: IndexerServerListSubaccountsParams;\n quote_price: Record<string, never>;\n nlp_snapshots: IndexerServerNlpSnapshotsParams;\n private_alpha_choice: IndexerServerPrivateAlphaChoiceParams;\n nado_points: IndexerServerPointsParams;\n nado_xpoints: IndexerServerXPointsParams;\n cash_incentives: IndexerServerCashIncentivesParams;\n social_connect: IndexerServerSocialConnectParams;\n list_social_accounts: IndexerServerListSocialAccountsParams;\n revoke_social_account: IndexerServerRevokeSocialAccountParams;\n}\n\nexport type IndexerServerQueryRequestType =\n keyof IndexerServerQueryRequestByType;\n\n/**\n * Responses\n */\n\nexport interface IndexerServerListSubaccountsResponse {\n subaccounts: {\n id: string;\n // Hex of subaccount bytes\n subaccount: string;\n // UNIX timestamp in seconds\n created_at: string;\n isolated: boolean;\n }[];\n}\n\nexport interface IndexerServerMultiSubaccountSnapshotsResponse {\n // Map of subaccount hex -> timestamp requested -> latest events corresponding to each product\n snapshots: Record<string, Record<string, IndexerServerEvent[]>>;\n}\n\nexport interface IndexerServerReferralCodeResponse {\n referral_code: string | null;\n}\n\nexport interface IndexerServerFundingRate {\n product_id: number;\n funding_rate_x18: string;\n update_time: number;\n}\n\nexport type IndexerServerFundingRateResponse = IndexerServerFundingRate;\n\n// Map of productId -> IndexerServerFundingRate\nexport type IndexerServerFundingRatesResponse = Record<\n string,\n IndexerServerFundingRate\n>;\n\nexport interface IndexerServerFundingRateHistoryEntry {\n product_id: number;\n // Epoch time in seconds of the settlement tick this funding rate was recorded at.\n timestamp: string;\n // Realized hourly funding rate at this tick, multiplied by 10^18 (% = rate * 100).\n funding_rate_x18: string;\n}\n\nexport interface IndexerServerFundingRateHistoryResponse {\n // Always ascending by timestamp.\n funding_rates: IndexerServerFundingRateHistoryEntry[];\n}\n\nexport type IndexerServerPortfolioPeriod =\n | 'day'\n | 'week'\n | 'month'\n | 'allTime'\n | 'perpDay'\n | 'perpWeek'\n | 'perpMonth'\n | 'perpAllTime';\n\n/**\n * [timestamp (unix seconds), value] — both x18-free decimal strings. Values are\n * USDT0-denominated, except `marketCountHistory` points, which are integer counts.\n */\nexport type IndexerServerPortfolioPoint = [string, string];\n\n// All five series are aligned: same timestamps, same length.\nexport interface IndexerServerPortfolioHistory {\n accountValueHistory: IndexerServerPortfolioPoint[];\n pnlHistory: IndexerServerPortfolioPoint[];\n volumeHistory: IndexerServerPortfolioPoint[];\n tradeSizeHistory: IndexerServerPortfolioPoint[];\n marketCountHistory: IndexerServerPortfolioPoint[];\n}\n\nexport type IndexerServerPortfolioResponse = [\n IndexerServerPortfolioPeriod,\n IndexerServerPortfolioHistory,\n][];\n\nexport interface IndexerServerPerpPrices {\n product_id: number;\n index_price_x18: string;\n mark_price_x18: string;\n update_time: number;\n}\n\nexport type IndexerServerPriceResponse = IndexerServerPerpPrices;\n\n// Map of productId -> IndexerServerPerpPrices\nexport type IndexerServerPerpPricesResponse = Record<\n string,\n IndexerServerPerpPrices\n>;\n\nexport interface IndexerServerOraclePricesResponse {\n prices: IndexerServerOraclePrice[];\n}\n\nexport interface IndexerServerCandlesticksResponse {\n candlesticks: IndexerServerCandlestick[];\n}\n\nexport type IndexerEdgeServerCandlesticksResponse =\n IndexerServerCandlesticksResponse;\n\nexport interface IndexerServerProductsResponse {\n products: IndexerServerProductSnapshot[];\n txs: IndexerServerTx[];\n}\n\n// Map of timestamp -> (productID -> IndexerServerProductSnapshot)\nexport type IndexerServerMultiProductsResponse = Record<\n string,\n Record<string, IndexerServerProductSnapshot>\n>;\n\nexport interface IndexerServerEventsResponse {\n events: IndexerServerEvent[];\n txs: IndexerServerTx[];\n}\n\nexport interface IndexerServerOrdersResponse {\n orders: IndexerServerOrder[];\n}\n\nexport interface IndexerServerMatchEventsResponse {\n matches: IndexerServerMatchEvent[];\n txs: IndexerServerTx[];\n}\n\nexport interface IndexerServerQuotePriceResponse {\n price_x18: string;\n}\n\nexport interface IndexerServerLinkedSignerResponse {\n total_tx_limit: string;\n remaining_tx: string;\n wait_time: string;\n signer: string;\n}\n\nexport interface IndexerServerMarketSnapshotsResponse {\n snapshots: IndexerServerMarketSnapshot[];\n}\n\nexport interface IndexerEdgeServerMarketSnapshotsResponse {\n snapshots: Record<number, IndexerServerMarketSnapshot[]>;\n}\n\nexport interface IndexerServerInterestFundingResponse {\n interest_payments: IndexerServerProductPayment[];\n funding_payments: IndexerServerProductPayment[];\n next_idx: string;\n}\n\nexport interface IndexerServerMakerStatisticsResponse {\n reward_coefficient: string;\n makers: IndexerServerMaker[];\n}\n\nexport interface IndexerServerLeaderboardResponse {\n positions: IndexerServerLeaderboardPosition[];\n}\n\nexport interface IndexerServerLeaderboardRegistrationsResponse {\n registrations: IndexerServerLeaderboardRegistration[];\n}\n\nexport type IndexerServerLeaderboardRegisterResponse =\n IndexerServerLeaderboardRegistrationsResponse;\n\nexport interface IndexerServerLeaderboardRankResponse {\n // If the subaccount is not eligible for a given contest, it would not be included in the response.\n // contestId -> IndexerServerLeaderboardPosition\n positions: Record<string, IndexerServerLeaderboardPosition>;\n}\n\nexport interface IndexerServerLeaderboardContestsResponse {\n contests: IndexerServerLeaderboardContest[];\n}\n\nexport interface IndexerServerFastWithdrawalSignatureResponse {\n idx: string;\n tx: NadoWithdrawCollateralTx['withdraw_collateral'];\n // Present only for `WithdrawCollateralV2` withdrawals.\n tx_v2?: NadoWithdrawCollateralV2Tx['withdraw_collateral_v2'];\n tx_bytes: string;\n signatures: string[];\n}\n\nexport interface IndexerServerNlpSnapshotsResponse {\n snapshots: IndexerServerNlpSnapshot[];\n}\n\nexport interface IndexerServerDDAResponse {\n v1_address: string;\n}\n\nexport interface IndexerServerBacklogResponse {\n // Total number of transactions stored in the indexer DB\n total_txs: string;\n // Current nSubmissions value from the chain (i.e., number of processed txs)\n total_submissions: string;\n // Number of unprocessed transactions (total_txs - total_submissions)\n backlog_size: string;\n // UNIX timestamp (in seconds) of when the data was last updated\n updated_at: string;\n // Estimated time in seconds (float) to clear the entire backlog (null if unavailable)\n backlog_eta_in_seconds: string | null;\n // Current submission rate in transactions per second (float) (null if unavailable)\n txs_per_second: string | null;\n}\n\nexport interface IndexerServerPrivateAlphaChoiceResponse {\n points: string;\n fee_refund: string;\n nft_eligibility: boolean;\n}\n\nexport interface IndexerServerPointsEpoch {\n epoch: number;\n description: string;\n start_time: string;\n end_time: string;\n total_points: string;\n points: string;\n rank: number;\n tier: number;\n}\n\nexport interface IndexerServerAllTimePoints {\n points: string;\n rank: number;\n tier: number;\n}\n\nexport interface IndexerServerPointsResponse {\n points_per_epoch: IndexerServerPointsEpoch[];\n all_time_points: IndexerServerAllTimePoints;\n}\n\nexport interface IndexerServerXPointsQuest {\n quest_type: string;\n points: string;\n}\n\nexport interface IndexerServerXPointsEpoch {\n epoch: number;\n description: string;\n start_time: string;\n end_time: string;\n total_points: string;\n rank: number;\n quests: IndexerServerXPointsQuest[];\n}\n\nexport interface IndexerServerXPointsAllTime {\n total_points: string;\n rank: number;\n quests: IndexerServerXPointsQuest[];\n}\n\nexport interface IndexerServerXPointsResponse {\n points_per_epoch: IndexerServerXPointsEpoch[];\n all_time_points: IndexerServerXPointsAllTime;\n}\n\nexport interface IndexerServerCashIncentivesEventMetadata {\n event_id: number;\n description: string;\n // UNIX timestamp in seconds\n epoch_start: string;\n // UNIX timestamp in seconds\n epoch_end: string;\n // x18 string\n max_volume: string;\n // x18 string\n max_reward: string;\n // x18 string\n min_volume: string;\n // x18 string\n min_reward: string;\n}\n\nexport interface IndexerServerCashIncentivesEventPlatform {\n // x18 string\n platform_volume: string;\n // x18 string\n unlocked_reward: string;\n}\n\nexport interface IndexerServerCashIncentivesEventWallet {\n // x18 string\n reward: string;\n}\n\nexport interface IndexerServerCashIncentivesEvent {\n metadata: IndexerServerCashIncentivesEventMetadata;\n platform: IndexerServerCashIncentivesEventPlatform;\n wallet: IndexerServerCashIncentivesEventWallet;\n}\n\nexport interface IndexerServerCashIncentivesWalletSummary {\n // x18 string\n total_reward: string;\n // x18 string\n claimable_reward: string;\n}\n\nexport interface IndexerServerCashIncentivesResponse {\n events: IndexerServerCashIncentivesEvent[];\n wallet_summary: IndexerServerCashIncentivesWalletSummary;\n}\n\nexport interface IndexerServerSocialConnectResponse {\n url: string;\n}\n\nexport interface IndexerServerSocialAccountsResponse {\n accounts: IndexerServerSocialAccount[];\n}\n\n// Response\nexport interface IndexerServerQueryResponseByType {\n account_snapshots: IndexerServerMultiSubaccountSnapshotsResponse;\n backlog: IndexerServerBacklogResponse;\n candlesticks: IndexerServerCandlesticksResponse;\n direct_deposit_address: IndexerServerDDAResponse;\n edge_candlesticks: IndexerEdgeServerCandlesticksResponse;\n edge_market_snapshots: IndexerEdgeServerMarketSnapshotsResponse;\n events: IndexerServerEventsResponse;\n fast_withdrawal_signature: IndexerServerFastWithdrawalSignatureResponse;\n funding_rate: IndexerServerFundingRateResponse;\n funding_rate_history: IndexerServerFundingRateHistoryResponse;\n funding_rates: IndexerServerFundingRatesResponse;\n interest_and_funding: IndexerServerInterestFundingResponse;\n leaderboard: IndexerServerLeaderboardResponse;\n leaderboard_contests: IndexerServerLeaderboardContestsResponse;\n leaderboard_rank: IndexerServerLeaderboardRankResponse;\n leaderboard_register: IndexerServerLeaderboardRegisterResponse;\n leaderboard_registrations: IndexerServerLeaderboardRegistrationsResponse;\n linked_signer_rate_limit: IndexerServerLinkedSignerResponse;\n maker_statistics: IndexerServerMakerStatisticsResponse;\n market_snapshots: IndexerServerMarketSnapshotsResponse;\n matches: IndexerServerMatchEventsResponse;\n oracle_price: IndexerServerOraclePricesResponse;\n orders: IndexerServerOrdersResponse;\n perp_prices: IndexerServerPerpPricesResponse;\n portfolio: IndexerServerPortfolioResponse;\n price: IndexerServerPriceResponse;\n product_snapshots: IndexerServerMultiProductsResponse;\n products: IndexerServerProductsResponse;\n referral_code: IndexerServerReferralCodeResponse;\n subaccounts: IndexerServerListSubaccountsResponse;\n quote_price: IndexerServerQuotePriceResponse;\n nlp_snapshots: IndexerServerNlpSnapshotsResponse;\n private_alpha_choice: IndexerServerPrivateAlphaChoiceResponse;\n nado_points: IndexerServerPointsResponse;\n nado_xpoints: IndexerServerXPointsResponse;\n cash_incentives: IndexerServerCashIncentivesResponse;\n social_connect: IndexerServerSocialConnectResponse;\n list_social_accounts: IndexerServerSocialAccountsResponse;\n revoke_social_account: IndexerServerSocialAccountsResponse;\n}\n\n/**\n * V2 API Types\n */\n\n/**\n * Individual ticker data from v2 indexer endpoint (server format)\n */\nexport interface IndexerServerV2TickerResponse {\n product_id: number;\n ticker_id: string;\n base_currency: string;\n quote_currency: string;\n last_price: number;\n base_volume: number;\n quote_volume: number;\n price_change_percent_24h: number;\n}\n\n/**\n * Response from v2 tickers endpoint (server format)\n * Maps ticker IDs to their respective ticker data\n */\nexport type IndexerServerV2TickersResponse = Record<\n string,\n IndexerServerV2TickerResponse\n>;\n\n/**\n * Market hours data from v2 symbols endpoint (server format)\n */\nexport interface IndexerServerV2MarketHours {\n is_open: boolean;\n reason: string | null;\n next_close: string | null;\n next_open: string | null;\n}\n\n/**\n * Individual symbol data from v2 indexer endpoint (server format)\n */\nexport interface IndexerServerV2Symbol {\n type: string;\n product_id: number;\n symbol: string;\n price_increment_x18: string;\n size_increment: string;\n min_size: string;\n maker_fee_rate_x18: string;\n taker_fee_rate_x18: string;\n long_weight_initial_x18: string;\n long_weight_maintenance_x18: string;\n /**\n * Defined only for perp markets with a max OI cap\n */\n max_open_interest_x18: string | null;\n /**\n * Defined only for xStocks spot markets\n */\n exchange_rate_x18: string | null;\n trading_status: string;\n isolated_only: boolean;\n market_hours: IndexerServerV2MarketHours | null;\n /**\n * Boost tier for products with rewards boosts. Null for non-boosted products.\n * 0 = none, 1 = taker 4x / maker 4x, 2 = taker 3x / maker 4x\n */\n boost_type: number | null;\n /**\n * Taker rewards multiplier. Null for non-boosted products.\n */\n taker_multiplier: number | null;\n /**\n * Maker rewards multiplier. Null for non-boosted products.\n */\n maker_multiplier: number | null;\n}\n\n/**\n * Response from v2 symbols endpoint (server format)\n * Maps symbols to their respective data\n */\nexport type IndexerServerV2SymbolsResponse = Record<\n string,\n IndexerServerV2Symbol\n>;\n\n/**\n * Wire `request_type` the indexer echoes on failure envelopes. The indexer's failure envelope is\n * keyed by route (`<verb>_<query_type>`), mirroring the engine and trigger services. Kept as a\n * `${string}_${string}` template to avoid enumerating the full set of v1 query types declared\n * above.\n */\nexport type IndexerServerRequestType = `${string}_${string}`;\n\n/**\n * Failure envelope returned by the indexer service API. Mirrors the failure shape used by the\n * engine and trigger services: a `status: 'failure'` discriminant plus an `error`/`error_code`\n * pair and the originating `request_type`. A response missing this envelope shape (e.g. a\n * malformed body, or a non-JSON response) is a transport-level error, not a domain error.\n *\n * The v2 REST endpoints do not return this envelope — they use plain HTTP error responses\n * without an `error_code` field.\n */\nexport interface IndexerServerFailureResponse {\n status: 'failure';\n error: string;\n error_code: number;\n request_type: IndexerServerRequestType;\n}\n\n/**\n * Narrows an unknown response body to the indexer service API failure envelope.\n */\nexport function isIndexerServerFailureResponse(\n data: unknown,\n): data is IndexerServerFailureResponse {\n return (\n typeof data === 'object' &&\n data !== null &&\n (data as Record<string, unknown>).status === 'failure'\n );\n}\n"],"mappings":";;;;;AA8wBA,SAAgB,+BACd,MACsC;CACtC,OACE,OAAO,SAAS,YAChB,SAAS,QACR,KAAiC,WAAW;AAEjD"}
|
|
1
|
+
{"version":3,"file":"serverTypes.cjs","names":[],"sources":["../../src/types/serverTypes.ts"],"sourcesContent":["import {\n EIP712LeaderboardAuthenticationValues,\n EIP712SocialAuthenticationValues,\n SignedTx,\n} from '@nadohq/shared';\nimport { IndexerEventType } from './IndexerEventType';\nimport { IndexerLeaderboardRankType } from './IndexerLeaderboardType';\nimport { NadoWithdrawCollateralTx, NadoWithdrawCollateralV2Tx } from './NadoTx';\nimport {\n IndexerServerCandlestick,\n IndexerServerEvent,\n IndexerServerLeaderboardContest,\n IndexerServerLeaderboardPosition,\n IndexerServerLeaderboardRegistration,\n IndexerServerMaker,\n IndexerServerMarketSnapshot,\n IndexerServerMarketSnapshotInterval,\n IndexerServerMatchEvent,\n IndexerServerNlpSnapshot,\n IndexerServerOraclePrice,\n IndexerServerOrder,\n IndexerServerProductPayment,\n IndexerServerProductSnapshot,\n IndexerServerSnapshotsInterval,\n IndexerServerSocialAccount,\n IndexerServerTx,\n} from './serverModelTypes';\n\n/**\n * Params\n */\n\nexport interface IndexerServerListSubaccountsParams {\n // Inclusive, defaults to 0\n start?: number;\n // Defaults to 100\n limit?: number;\n address?: string;\n}\n\nexport interface IndexerServerMultiSubaccountSnapshotsParams {\n // Subaccount hex identifiers\n subaccounts: string[];\n timestamps: number[];\n // If not given, will return both isolated & non-iso balances\n isolated?: boolean;\n}\n\nexport interface IndexerServerReferralCodeParams {\n subaccount: string;\n}\n\nexport interface IndexerServerFundingRateParams {\n product_id: number;\n}\n\nexport interface IndexerServerFundingRatesParams {\n product_ids: number[];\n}\n\nexport interface IndexerServerFundingRateHistoryParams {\n product_id: number;\n start_time?: number | string;\n end_time?: number | string;\n // Max number of rates to return. Defaults to 100, max 1000.\n limit?: number;\n}\n\nexport interface IndexerServerPriceParams {\n product_id: number;\n}\n\nexport interface IndexerServerPerpPricesParams {\n product_ids: number[];\n}\n\nexport interface IndexerServerPortfolioParams {\n subaccount: string;\n}\n\nexport interface IndexerServerOraclePricesParams {\n product_ids: number[];\n}\n\nexport interface IndexerServerCandlesticksParams {\n product_id: number;\n granularity: number;\n // Seconds\n max_time?: number;\n limit: number;\n}\n\nexport type IndexerEdgeServerCandlesticksParams =\n IndexerServerCandlesticksParams;\n\nexport interface IndexerServerProductsParams {\n product_id: number;\n max_time?: number;\n limit: number;\n // submission_idx for pagination, inclusive\n idx?: string;\n}\n\nexport interface IndexerServerMultiProductsParams {\n product_ids: number[];\n max_time: number[];\n}\n\nexport interface IndexerServerEventsParams {\n subaccounts?: string[];\n product_ids?: number[];\n // If not given, will return both isolated & non-iso events\n isolated?: boolean;\n event_types?: IndexerEventType[];\n // Descending order for idx (time), defaults to true\n desc?: boolean;\n // submission_idx for pagination, inclusive\n idx?: string;\n max_time?: number;\n limit?:\n | {\n raw: number;\n }\n | {\n txs: number;\n };\n}\n\nexport type IndexerServerTriggerTypeFilter =\n | 'none'\n | 'price_trigger'\n | 'time_trigger';\n\nexport interface IndexerServerOrdersParams {\n subaccounts?: string[];\n product_ids?: number[];\n trigger_types?: IndexerServerTriggerTypeFilter[];\n digests?: string[];\n max_time?: number;\n limit?: number;\n // If not given, will return both isolated & non-iso orders\n isolated?: boolean;\n // submission_idx for pagination, inclusive\n idx?: string;\n}\n\nexport interface IndexerServerMatchEventsParams {\n subaccounts?: string[];\n product_ids?: number[];\n // If not given, will return both isolated & non-iso events\n isolated?: boolean;\n max_time?: number;\n limit: number;\n // submission_idx for pagination, inclusive\n idx?: string;\n}\n\nexport interface IndexerServerLinkedSignerParams {\n subaccount: string;\n}\n\nexport interface IndexerServerMarketSnapshotsParams {\n interval: IndexerServerMarketSnapshotInterval;\n // Defaults to all\n product_ids?: number[];\n}\n\nexport interface IndexerEdgeServerMarketSnapshotsParams {\n interval: IndexerServerMarketSnapshotInterval;\n}\n\nexport interface IndexerServerInterestFundingParams {\n subaccount: string;\n product_ids: number[];\n // If not given, defaults to latest\n max_idx?: string;\n max_time?: number;\n limit: number;\n}\n\nexport interface IndexerServerMakerStatisticsParams {\n product_id: number;\n epoch: number;\n interval: number;\n}\n\nexport interface IndexerServerLeaderboardParams {\n contest_id: number;\n rank_type?: IndexerLeaderboardRankType;\n start?: number | string;\n limit?: number | string;\n order?: 'ASC' | 'DESC';\n}\n\nexport interface IndexerServerLeaderboardRankParams {\n subaccount: string;\n contest_ids: number[];\n}\n\nexport interface IndexerServerLeaderboardContestsParams {\n contest_ids?: number[];\n active?: boolean;\n}\n\nexport interface IndexerServerLeaderboardRegistrationsParams {\n subaccount: string;\n contest_ids?: number[];\n active?: boolean;\n}\n\nexport interface IndexerServerLeaderboardRegisterParams {\n update_registration: SignedTx<EIP712LeaderboardAuthenticationValues>;\n}\n\nexport interface IndexerServerSocialConnectParams {\n update_social_account: SignedTx<EIP712SocialAuthenticationValues>;\n}\n\nexport interface IndexerServerListSocialAccountsParams {\n address: string;\n}\n\nexport type IndexerServerRevokeSocialAccountParams =\n IndexerServerSocialConnectParams;\n\nexport interface IndexerServerFastWithdrawalSignatureParams {\n /**\n * The submission index of the WithdrawCollateral tx to be used for fast withdraw.\n */\n idx: number | string;\n}\n\nexport interface IndexerServerNlpSnapshotsParams {\n interval: IndexerServerSnapshotsInterval;\n}\n\nexport interface IndexerServerDDAQueryParams {\n subaccount: string;\n}\n\nexport interface IndexerServerPrivateAlphaChoiceParams {\n address: string;\n}\n\nexport interface IndexerServerPointsParams {\n address: string;\n}\n\nexport interface IndexerServerXPointsParams {\n address: string;\n}\n\nexport interface IndexerServerCashIncentivesParams {\n wallet_address: string;\n}\n\n// Request\nexport interface IndexerServerQueryRequestByType {\n account_snapshots: IndexerServerMultiSubaccountSnapshotsParams;\n backlog: Record<string, never>;\n candlesticks: IndexerServerCandlesticksParams;\n direct_deposit_address: IndexerServerDDAQueryParams;\n edge_candlesticks: IndexerEdgeServerCandlesticksParams;\n edge_market_snapshots: IndexerEdgeServerMarketSnapshotsParams;\n events: IndexerServerEventsParams;\n fast_withdrawal_signature: IndexerServerFastWithdrawalSignatureParams;\n funding_rate: IndexerServerFundingRateParams;\n funding_rate_history: IndexerServerFundingRateHistoryParams;\n funding_rates: IndexerServerFundingRatesParams;\n interest_and_funding: IndexerServerInterestFundingParams;\n leaderboard: IndexerServerLeaderboardParams;\n leaderboard_contests: IndexerServerLeaderboardContestsParams;\n leaderboard_rank: IndexerServerLeaderboardRankParams;\n leaderboard_register: IndexerServerLeaderboardRegisterParams;\n leaderboard_registrations: IndexerServerLeaderboardRegistrationsParams;\n linked_signer_rate_limit: IndexerServerLinkedSignerParams;\n maker_statistics: IndexerServerMakerStatisticsParams;\n market_snapshots: IndexerServerMarketSnapshotsParams;\n matches: IndexerServerMatchEventsParams;\n oracle_price: IndexerServerOraclePricesParams;\n orders: IndexerServerOrdersParams;\n perp_prices: IndexerServerPerpPricesParams;\n portfolio: IndexerServerPortfolioParams;\n price: IndexerServerPriceParams;\n product_snapshots: IndexerServerMultiProductsParams;\n products: IndexerServerProductsParams;\n referral_code: IndexerServerReferralCodeParams;\n subaccounts: IndexerServerListSubaccountsParams;\n quote_price: Record<string, never>;\n nlp_snapshots: IndexerServerNlpSnapshotsParams;\n private_alpha_choice: IndexerServerPrivateAlphaChoiceParams;\n nado_points: IndexerServerPointsParams;\n nado_xpoints: IndexerServerXPointsParams;\n cash_incentives: IndexerServerCashIncentivesParams;\n social_connect: IndexerServerSocialConnectParams;\n list_social_accounts: IndexerServerListSocialAccountsParams;\n revoke_social_account: IndexerServerRevokeSocialAccountParams;\n}\n\nexport type IndexerServerQueryRequestType =\n keyof IndexerServerQueryRequestByType;\n\n/**\n * Responses\n */\n\nexport interface IndexerServerListSubaccountsResponse {\n subaccounts: {\n id: string;\n // Hex of subaccount bytes\n subaccount: string;\n // UNIX timestamp in seconds\n created_at: string;\n isolated: boolean;\n }[];\n}\n\nexport interface IndexerServerMultiSubaccountSnapshotsResponse {\n // Map of subaccount hex -> timestamp requested -> latest events corresponding to each product\n snapshots: Record<string, Record<string, IndexerServerEvent[]>>;\n}\n\nexport interface IndexerServerReferralCodeResponse {\n referral_code: string | null;\n}\n\nexport interface IndexerServerFundingRate {\n product_id: number;\n funding_rate_x18: string;\n update_time: number;\n}\n\nexport type IndexerServerFundingRateResponse = IndexerServerFundingRate;\n\n// Map of productId -> IndexerServerFundingRate\nexport type IndexerServerFundingRatesResponse = Record<\n string,\n IndexerServerFundingRate\n>;\n\nexport interface IndexerServerFundingRateHistoryEntry {\n product_id: number;\n // Epoch time in seconds of the settlement tick this funding rate was recorded at.\n timestamp: string;\n // Realized hourly funding rate at this tick, multiplied by 10^18 (% = rate * 100).\n funding_rate_x18: string;\n}\n\nexport interface IndexerServerFundingRateHistoryResponse {\n // Always ascending by timestamp.\n funding_rates: IndexerServerFundingRateHistoryEntry[];\n}\n\nexport type IndexerServerPortfolioPeriod =\n | 'day'\n | 'week'\n | 'month'\n | 'allTime'\n | 'perpDay'\n | 'perpWeek'\n | 'perpMonth'\n | 'perpAllTime';\n\n/**\n * [timestamp (unix seconds), value] — both x18-free decimal strings. Values are\n * USDT0-denominated, except `marketCountHistory` points, which are integer counts.\n */\nexport type IndexerServerPortfolioPoint = [string, string];\n\n// All five series are aligned: same timestamps, same length.\nexport interface IndexerServerPortfolioHistory {\n accountValueHistory: IndexerServerPortfolioPoint[];\n pnlHistory: IndexerServerPortfolioPoint[];\n volumeHistory: IndexerServerPortfolioPoint[];\n tradeSizeHistory: IndexerServerPortfolioPoint[];\n marketCountHistory: IndexerServerPortfolioPoint[];\n}\n\nexport type IndexerServerPortfolioResponse = [\n IndexerServerPortfolioPeriod,\n IndexerServerPortfolioHistory,\n][];\n\nexport interface IndexerServerPerpPrices {\n product_id: number;\n index_price_x18: string;\n mark_price_x18: string;\n update_time: number;\n}\n\nexport type IndexerServerPriceResponse = IndexerServerPerpPrices;\n\n// Map of productId -> IndexerServerPerpPrices\nexport type IndexerServerPerpPricesResponse = Record<\n string,\n IndexerServerPerpPrices\n>;\n\nexport interface IndexerServerOraclePricesResponse {\n prices: IndexerServerOraclePrice[];\n}\n\nexport interface IndexerServerCandlesticksResponse {\n candlesticks: IndexerServerCandlestick[];\n}\n\nexport type IndexerEdgeServerCandlesticksResponse =\n IndexerServerCandlesticksResponse;\n\nexport interface IndexerServerProductsResponse {\n products: IndexerServerProductSnapshot[];\n txs: IndexerServerTx[];\n}\n\n// Map of timestamp -> (productID -> IndexerServerProductSnapshot)\nexport type IndexerServerMultiProductsResponse = Record<\n string,\n Record<string, IndexerServerProductSnapshot>\n>;\n\nexport interface IndexerServerEventsResponse {\n events: IndexerServerEvent[];\n txs: IndexerServerTx[];\n}\n\nexport interface IndexerServerOrdersResponse {\n orders: IndexerServerOrder[];\n}\n\nexport interface IndexerServerMatchEventsResponse {\n matches: IndexerServerMatchEvent[];\n txs: IndexerServerTx[];\n}\n\nexport interface IndexerServerQuotePriceResponse {\n price_x18: string;\n}\n\nexport interface IndexerServerLinkedSignerResponse {\n total_tx_limit: string;\n remaining_tx: string;\n wait_time: string;\n signer: string;\n}\n\nexport interface IndexerServerMarketSnapshotsResponse {\n snapshots: IndexerServerMarketSnapshot[];\n}\n\nexport interface IndexerEdgeServerMarketSnapshotsResponse {\n snapshots: Record<number, IndexerServerMarketSnapshot[]>;\n}\n\nexport interface IndexerServerInterestFundingResponse {\n interest_payments: IndexerServerProductPayment[];\n funding_payments: IndexerServerProductPayment[];\n next_idx: string;\n}\n\nexport interface IndexerServerMakerStatisticsResponse {\n reward_coefficient: string;\n makers: IndexerServerMaker[];\n}\n\nexport interface IndexerServerLeaderboardResponse {\n positions: IndexerServerLeaderboardPosition[];\n}\n\nexport interface IndexerServerLeaderboardRegistrationsResponse {\n registrations: IndexerServerLeaderboardRegistration[];\n}\n\nexport type IndexerServerLeaderboardRegisterResponse =\n IndexerServerLeaderboardRegistrationsResponse;\n\nexport interface IndexerServerLeaderboardRankResponse {\n // If the subaccount is not eligible for a given contest, it would not be included in the response.\n // contestId -> IndexerServerLeaderboardPosition\n positions: Record<string, IndexerServerLeaderboardPosition>;\n}\n\nexport interface IndexerServerLeaderboardContestsResponse {\n contests: IndexerServerLeaderboardContest[];\n}\n\nexport interface IndexerServerFastWithdrawalSignatureResponse {\n idx: string;\n tx: NadoWithdrawCollateralTx['withdraw_collateral'];\n // Present only for `WithdrawCollateralV2` withdrawals.\n tx_v2?: NadoWithdrawCollateralV2Tx['withdraw_collateral_v2'];\n tx_bytes: string;\n signatures: string[];\n}\n\nexport interface IndexerServerNlpSnapshotsResponse {\n snapshots: IndexerServerNlpSnapshot[];\n}\n\nexport interface IndexerServerDDAResponse {\n v1_address: string;\n}\n\nexport interface IndexerServerBacklogResponse {\n // Total number of transactions stored in the indexer DB\n total_txs: string;\n // Current nSubmissions value from the chain (i.e., number of processed txs)\n total_submissions: string;\n // Number of unprocessed transactions (total_txs - total_submissions)\n backlog_size: string;\n // UNIX timestamp (in seconds) of when the data was last updated\n updated_at: string;\n // Estimated time in seconds (float) to clear the entire backlog (null if unavailable)\n backlog_eta_in_seconds: string | null;\n // Current submission rate in transactions per second (float) (null if unavailable)\n txs_per_second: string | null;\n}\n\nexport interface IndexerServerPrivateAlphaChoiceResponse {\n points: string;\n fee_refund: string;\n nft_eligibility: boolean;\n}\n\nexport interface IndexerServerPointsEpoch {\n epoch: number;\n description: string;\n start_time: string;\n end_time: string;\n total_points: string;\n points: string;\n rank: number;\n tier: number;\n}\n\nexport interface IndexerServerAllTimePoints {\n points: string;\n rank: number;\n tier: number;\n}\n\nexport interface IndexerServerPointsResponse {\n points_per_epoch: IndexerServerPointsEpoch[];\n all_time_points: IndexerServerAllTimePoints;\n}\n\nexport interface IndexerServerXPointsQuest {\n quest_type: string;\n points: string;\n}\n\nexport interface IndexerServerXPointsEpoch {\n epoch: number;\n description: string;\n start_time: string;\n end_time: string;\n total_points: string;\n rank: number;\n quests: IndexerServerXPointsQuest[];\n}\n\nexport interface IndexerServerXPointsAllTime {\n total_points: string;\n rank: number;\n quests: IndexerServerXPointsQuest[];\n}\n\nexport interface IndexerServerXPointsResponse {\n points_per_epoch: IndexerServerXPointsEpoch[];\n all_time_points: IndexerServerXPointsAllTime;\n}\n\nexport interface IndexerServerCashIncentivesEventMetadata {\n event_id: number;\n description: string;\n // UNIX timestamp in seconds\n epoch_start: string;\n // UNIX timestamp in seconds\n epoch_end: string;\n // x18 string\n max_volume: string;\n // x18 string\n max_reward: string;\n // x18 string\n min_volume: string;\n // x18 string\n min_reward: string;\n}\n\nexport interface IndexerServerCashIncentivesEventPlatform {\n // x18 string\n platform_volume: string;\n // x18 string\n unlocked_reward: string;\n}\n\n/**\n * Claim status of a wallet for a single Cash Incentives event.\n *\n * - `in_progress`: the event is still active.\n * - `pending`: the event has ended, but its settlement has not been published.\n * - `no_reward`: the settlement exists, but the wallet has no reward.\n * - `claimable`: the settlement grants this wallet a reward, and the proof to claim it is included.\n *\n * There is deliberately no `claimed` status. The airdrop contract's `getClaimed` is the source of\n * truth for whether a reward has already been taken, so a reward stays `claimable` here even after\n * it has been claimed onchain.\n */\nexport const INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES = [\n 'in_progress',\n 'pending',\n 'no_reward',\n 'claimable',\n] as const;\n\nexport type IndexerServerCashIncentivesWalletStatus =\n (typeof INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES)[number];\n\n/**\n * `wallet.claim` variant carrying everything needed to claim onchain.\n */\nexport interface IndexerServerCashIncentivesClaimableClaim {\n status: 'claimable';\n airdrop_address: string;\n // Reward event id within the airdrop contract, distinct from `metadata.event_id`\n week: number;\n // Integer string in raw token units, as committed to by the merkle root\n total_amount: string;\n // Merkle proof hashes\n proof: string[];\n}\n\n/**\n * `wallet.claim` variant for events with nothing to claim, which carries only the status.\n */\nexport interface IndexerServerCashIncentivesUnclaimableClaim {\n status: Exclude<IndexerServerCashIncentivesWalletStatus, 'claimable'>;\n}\n\n/**\n * Always present, tagged on `status`. Only the `claimable` variant carries proof data.\n */\nexport type IndexerServerCashIncentivesWalletClaim =\n | IndexerServerCashIncentivesClaimableClaim\n | IndexerServerCashIncentivesUnclaimableClaim;\n\nexport interface IndexerServerCashIncentivesEventWallet {\n // x18 string\n reward: string;\n claim: IndexerServerCashIncentivesWalletClaim;\n}\n\nexport interface IndexerServerCashIncentivesEvent {\n metadata: IndexerServerCashIncentivesEventMetadata;\n platform: IndexerServerCashIncentivesEventPlatform;\n wallet: IndexerServerCashIncentivesEventWallet;\n}\n\nexport interface IndexerServerCashIncentivesWalletSummary {\n // x18 string\n total_reward: string;\n // x18 string\n claimable_reward: string;\n}\n\nexport interface IndexerServerCashIncentivesResponse {\n events: IndexerServerCashIncentivesEvent[];\n wallet_summary: IndexerServerCashIncentivesWalletSummary;\n}\n\nexport interface IndexerServerSocialConnectResponse {\n url: string;\n}\n\nexport interface IndexerServerSocialAccountsResponse {\n accounts: IndexerServerSocialAccount[];\n}\n\n// Response\nexport interface IndexerServerQueryResponseByType {\n account_snapshots: IndexerServerMultiSubaccountSnapshotsResponse;\n backlog: IndexerServerBacklogResponse;\n candlesticks: IndexerServerCandlesticksResponse;\n direct_deposit_address: IndexerServerDDAResponse;\n edge_candlesticks: IndexerEdgeServerCandlesticksResponse;\n edge_market_snapshots: IndexerEdgeServerMarketSnapshotsResponse;\n events: IndexerServerEventsResponse;\n fast_withdrawal_signature: IndexerServerFastWithdrawalSignatureResponse;\n funding_rate: IndexerServerFundingRateResponse;\n funding_rate_history: IndexerServerFundingRateHistoryResponse;\n funding_rates: IndexerServerFundingRatesResponse;\n interest_and_funding: IndexerServerInterestFundingResponse;\n leaderboard: IndexerServerLeaderboardResponse;\n leaderboard_contests: IndexerServerLeaderboardContestsResponse;\n leaderboard_rank: IndexerServerLeaderboardRankResponse;\n leaderboard_register: IndexerServerLeaderboardRegisterResponse;\n leaderboard_registrations: IndexerServerLeaderboardRegistrationsResponse;\n linked_signer_rate_limit: IndexerServerLinkedSignerResponse;\n maker_statistics: IndexerServerMakerStatisticsResponse;\n market_snapshots: IndexerServerMarketSnapshotsResponse;\n matches: IndexerServerMatchEventsResponse;\n oracle_price: IndexerServerOraclePricesResponse;\n orders: IndexerServerOrdersResponse;\n perp_prices: IndexerServerPerpPricesResponse;\n portfolio: IndexerServerPortfolioResponse;\n price: IndexerServerPriceResponse;\n product_snapshots: IndexerServerMultiProductsResponse;\n products: IndexerServerProductsResponse;\n referral_code: IndexerServerReferralCodeResponse;\n subaccounts: IndexerServerListSubaccountsResponse;\n quote_price: IndexerServerQuotePriceResponse;\n nlp_snapshots: IndexerServerNlpSnapshotsResponse;\n private_alpha_choice: IndexerServerPrivateAlphaChoiceResponse;\n nado_points: IndexerServerPointsResponse;\n nado_xpoints: IndexerServerXPointsResponse;\n cash_incentives: IndexerServerCashIncentivesResponse;\n social_connect: IndexerServerSocialConnectResponse;\n list_social_accounts: IndexerServerSocialAccountsResponse;\n revoke_social_account: IndexerServerSocialAccountsResponse;\n}\n\n/**\n * V2 API Types\n */\n\n/**\n * Individual ticker data from v2 indexer endpoint (server format)\n */\nexport interface IndexerServerV2TickerResponse {\n product_id: number;\n ticker_id: string;\n base_currency: string;\n quote_currency: string;\n last_price: number;\n base_volume: number;\n quote_volume: number;\n price_change_percent_24h: number;\n}\n\n/**\n * Response from v2 tickers endpoint (server format)\n * Maps ticker IDs to their respective ticker data\n */\nexport type IndexerServerV2TickersResponse = Record<\n string,\n IndexerServerV2TickerResponse\n>;\n\n/**\n * Market hours data from v2 symbols endpoint (server format)\n */\nexport interface IndexerServerV2MarketHours {\n is_open: boolean;\n reason: string | null;\n next_close: string | null;\n next_open: string | null;\n}\n\n/**\n * Individual symbol data from v2 indexer endpoint (server format)\n */\nexport interface IndexerServerV2Symbol {\n type: string;\n product_id: number;\n symbol: string;\n price_increment_x18: string;\n size_increment: string;\n min_size: string;\n maker_fee_rate_x18: string;\n taker_fee_rate_x18: string;\n long_weight_initial_x18: string;\n long_weight_maintenance_x18: string;\n /**\n * Defined only for perp markets with a max OI cap\n */\n max_open_interest_x18: string | null;\n /**\n * Defined only for xStocks spot markets\n */\n exchange_rate_x18: string | null;\n trading_status: string;\n isolated_only: boolean;\n market_hours: IndexerServerV2MarketHours | null;\n /**\n * Boost tier for products with rewards boosts. Null for non-boosted products.\n * 0 = none, 1 = taker 4x / maker 4x, 2 = taker 3x / maker 4x\n */\n boost_type: number | null;\n /**\n * Taker rewards multiplier. Null for non-boosted products.\n */\n taker_multiplier: number | null;\n /**\n * Maker rewards multiplier. Null for non-boosted products.\n */\n maker_multiplier: number | null;\n}\n\n/**\n * Response from v2 symbols endpoint (server format)\n * Maps symbols to their respective data\n */\nexport type IndexerServerV2SymbolsResponse = Record<\n string,\n IndexerServerV2Symbol\n>;\n\n/**\n * Wire `request_type` the indexer echoes on failure envelopes. The indexer's failure envelope is\n * keyed by route (`<verb>_<query_type>`), mirroring the engine and trigger services. Kept as a\n * `${string}_${string}` template to avoid enumerating the full set of v1 query types declared\n * above.\n */\nexport type IndexerServerRequestType = `${string}_${string}`;\n\n/**\n * Failure envelope returned by the indexer service API. Mirrors the failure shape used by the\n * engine and trigger services: a `status: 'failure'` discriminant plus an `error`/`error_code`\n * pair and the originating `request_type`. A response missing this envelope shape (e.g. a\n * malformed body, or a non-JSON response) is a transport-level error, not a domain error.\n *\n * The v2 REST endpoints do not return this envelope — they use plain HTTP error responses\n * without an `error_code` field.\n */\nexport interface IndexerServerFailureResponse {\n status: 'failure';\n error: string;\n error_code: number;\n request_type: IndexerServerRequestType;\n}\n\n/**\n * Narrows an unknown response body to the indexer service API failure envelope.\n */\nexport function isIndexerServerFailureResponse(\n data: unknown,\n): data is IndexerServerFailureResponse {\n return (\n typeof data === 'object' &&\n data !== null &&\n (data as Record<string, unknown>).status === 'failure'\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AA+lBA,MAAa,iDAAiD;CAC5D;CACA;CACA;CACA;AACF;;;;AA6NA,SAAgB,+BACd,MACsC;CACtC,OACE,OAAO,SAAS,YAChB,SAAS,QACR,KAAiC,WAAW;AAEjD"}
|