@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
package/dist/dataMappers.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as IndexerServerTx, _ as IndexerServerOrder, d as IndexerServerMarketSnapshot, h as IndexerServerNlpSnapshot, i as IndexerServerLeaderboardContest, l as IndexerServerMaker, m as IndexerServerMatchEventBalances, n as IndexerServerCandlestick, o as IndexerServerLeaderboardPosition, r as IndexerServerEvent, s as IndexerServerLeaderboardRegistration, t as IndexerServerBalance, v as IndexerServerProduct, x as IndexerServerSnapshotsInterval, y as IndexerServerProductPayment } from "./serverModelTypes-DC4dsX9i.cjs";
|
|
2
|
-
import {
|
|
3
|
-
import { Bt as
|
|
2
|
+
import { Gt as IndexerServerV2Symbol, O as IndexerServerFundingRate, Tt as IndexerServerPortfolioResponse, Wt as IndexerServerV2MarketHours, ht as IndexerServerPerpPrices, k as IndexerServerFundingRateHistoryEntry, qt as IndexerServerV2TickerResponse } from "./serverTypes-DeUDMCog.cjs";
|
|
3
|
+
import { Bt as IndexerLeaderboardParticipant, Ft as IndexerEventWithTx, Gt as IndexerMarketSnapshot, It as IndexerFundingRate, Jt as IndexerNlpSnapshot, Lt as IndexerFundingRateHistoryEntry, Qt as IndexerPerpPrices, Rt as IndexerLeaderboardContest, Ut as IndexerMaker, Vt as IndexerLeaderboardRegistration, Xt as IndexerOrder, Zt as IndexerPerpBalance, at as GetIndexerPortfolioResponse, cn as IndexerSpotBalance, dn as IndexerV2Symbol, fn as IndexerV2TickerResponse, jt as IndexerEvent, on as IndexerSnapshotsIntervalParams, qt as IndexerMatchEventBalances, rn as IndexerProductPayment, t as Candlestick, un as IndexerV2MarketHours } from "./clientTypes-QBgifUeV.cjs";
|
|
4
4
|
import { Market } from "@nadohq/shared";
|
|
5
5
|
|
|
6
6
|
//#region src/dataMappers.d.ts
|
package/dist/dataMappers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as IndexerServerTx, _ as IndexerServerOrder, d as IndexerServerMarketSnapshot, h as IndexerServerNlpSnapshot, i as IndexerServerLeaderboardContest, l as IndexerServerMaker, m as IndexerServerMatchEventBalances, n as IndexerServerCandlestick, o as IndexerServerLeaderboardPosition, r as IndexerServerEvent, s as IndexerServerLeaderboardRegistration, t as IndexerServerBalance, v as IndexerServerProduct, x as IndexerServerSnapshotsInterval, y as IndexerServerProductPayment } from "./serverModelTypes-BAZNgoLE.js";
|
|
2
|
-
import {
|
|
3
|
-
import { Bt as
|
|
2
|
+
import { Gt as IndexerServerV2Symbol, O as IndexerServerFundingRate, Tt as IndexerServerPortfolioResponse, Wt as IndexerServerV2MarketHours, ht as IndexerServerPerpPrices, k as IndexerServerFundingRateHistoryEntry, qt as IndexerServerV2TickerResponse } from "./serverTypes-BQafrknp.js";
|
|
3
|
+
import { Bt as IndexerLeaderboardParticipant, Ft as IndexerEventWithTx, Gt as IndexerMarketSnapshot, It as IndexerFundingRate, Jt as IndexerNlpSnapshot, Lt as IndexerFundingRateHistoryEntry, Qt as IndexerPerpPrices, Rt as IndexerLeaderboardContest, Ut as IndexerMaker, Vt as IndexerLeaderboardRegistration, Xt as IndexerOrder, Zt as IndexerPerpBalance, at as GetIndexerPortfolioResponse, cn as IndexerSpotBalance, dn as IndexerV2Symbol, fn as IndexerV2TickerResponse, jt as IndexerEvent, on as IndexerSnapshotsIntervalParams, qt as IndexerMatchEventBalances, rn as IndexerProductPayment, t as Candlestick, un as IndexerV2MarketHours } from "./clientTypes-BLKeWmIr.js";
|
|
4
4
|
import { Market } from "@nadohq/shared";
|
|
5
5
|
|
|
6
6
|
//#region src/dataMappers.d.ts
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_IndexerBaseClient = require("./IndexerBaseClient-
|
|
2
|
+
const require_IndexerBaseClient = require("./IndexerBaseClient-DKxLMijD.cjs");
|
|
3
3
|
const require_types_CandlestickPeriod = require("./types/CandlestickPeriod.cjs");
|
|
4
4
|
const require_types_indexerErrorCodes = require("./types/indexerErrorCodes.cjs");
|
|
5
5
|
const require_types_IndexerServerFailureError = require("./types/IndexerServerFailureError.cjs");
|
|
@@ -11,6 +11,7 @@ require("./utils/index.cjs");
|
|
|
11
11
|
exports.CandlestickPeriod = require_types_CandlestickPeriod.CandlestickPeriod;
|
|
12
12
|
exports.INDEXER_CLIENT_ENDPOINTS = require_endpoints.INDEXER_CLIENT_ENDPOINTS;
|
|
13
13
|
exports.INDEXER_ERROR_CODES = require_types_indexerErrorCodes.INDEXER_ERROR_CODES;
|
|
14
|
+
exports.INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES = require_types_serverTypes.INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES;
|
|
14
15
|
exports.IndexerBaseClient = require_IndexerBaseClient.IndexerBaseClient;
|
|
15
16
|
exports.IndexerClient = require_IndexerClient.IndexerClient;
|
|
16
17
|
exports.IndexerServerFailureError = require_types_IndexerServerFailureError.IndexerServerFailureError;
|
package/dist/index.d.cts
CHANGED
|
@@ -3,14 +3,14 @@ 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-
|
|
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
12
|
import { IndexerBaseClient, IndexerClientOpts } from "./IndexerBaseClient.cjs";
|
|
13
13
|
import { IndexerClient } from "./IndexerClient.cjs";
|
|
14
14
|
import { INDEXER_CLIENT_ENDPOINTS } from "./endpoints.cjs";
|
|
15
|
-
import { n as calcIndexerPerpBalanceValue, r as calcIndexerSpotBalanceValue, t as calcIndexerPerpBalanceNotionalValue } from "./indexerBalanceValue-
|
|
16
|
-
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_CLIENT_ENDPOINTS, INDEXER_ERROR_CODES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerBaseClient, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesWalletSummary, IndexerClient, IndexerClientOpts, 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, calcIndexerPerpBalanceNotionalValue, calcIndexerPerpBalanceValue, calcIndexerSpotBalanceValue, isIndexerServerFailureResponse };
|
|
15
|
+
import { n as calcIndexerPerpBalanceValue, r as calcIndexerSpotBalanceValue, t as calcIndexerPerpBalanceNotionalValue } from "./indexerBalanceValue-DqMAvUsj.cjs";
|
|
16
|
+
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_CLIENT_ENDPOINTS, INDEXER_ERROR_CODES, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerBaseClient, IndexerCashIncentivesClaimableClaim, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesUnclaimableClaim, IndexerCashIncentivesWalletClaim, IndexerCashIncentivesWalletSummary, IndexerClient, IndexerClientOpts, 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, calcIndexerPerpBalanceNotionalValue, calcIndexerPerpBalanceValue, calcIndexerSpotBalanceValue, isIndexerServerFailureResponse };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ 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-
|
|
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
12
|
import { IndexerBaseClient, IndexerClientOpts } from "./IndexerBaseClient.js";
|
|
13
13
|
import { IndexerClient } from "./IndexerClient.js";
|
|
14
14
|
import { INDEXER_CLIENT_ENDPOINTS } from "./endpoints.js";
|
|
15
|
-
import { n as calcIndexerPerpBalanceValue, r as calcIndexerSpotBalanceValue, t as calcIndexerPerpBalanceNotionalValue } from "./indexerBalanceValue-
|
|
16
|
-
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_CLIENT_ENDPOINTS, INDEXER_ERROR_CODES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerBaseClient, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesWalletSummary, IndexerClient, IndexerClientOpts, 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, calcIndexerPerpBalanceNotionalValue, calcIndexerPerpBalanceValue, calcIndexerSpotBalanceValue, isIndexerServerFailureResponse };
|
|
15
|
+
import { n as calcIndexerPerpBalanceValue, r as calcIndexerSpotBalanceValue, t as calcIndexerPerpBalanceNotionalValue } from "./indexerBalanceValue-ZJec8hfI.js";
|
|
16
|
+
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_CLIENT_ENDPOINTS, INDEXER_ERROR_CODES, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerBaseClient, IndexerCashIncentivesClaimableClaim, IndexerCashIncentivesEvent, IndexerCashIncentivesEventMetadata, IndexerCashIncentivesEventPlatform, IndexerCashIncentivesEventWallet, IndexerCashIncentivesUnclaimableClaim, IndexerCashIncentivesWalletClaim, IndexerCashIncentivesWalletSummary, IndexerClient, IndexerClientOpts, 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, calcIndexerPerpBalanceNotionalValue, calcIndexerPerpBalanceValue, calcIndexerSpotBalanceValue, isIndexerServerFailureResponse };
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CandlestickPeriod } from "./types/CandlestickPeriod.js";
|
|
2
2
|
import { INDEXER_ERROR_CODES } from "./types/indexerErrorCodes.js";
|
|
3
3
|
import { IndexerServerFailureError } from "./types/IndexerServerFailureError.js";
|
|
4
|
-
import { isIndexerServerFailureResponse } from "./types/serverTypes.js";
|
|
4
|
+
import { INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, isIndexerServerFailureResponse } from "./types/serverTypes.js";
|
|
5
5
|
import { IndexerBaseClient } from "./IndexerBaseClient.js";
|
|
6
6
|
import { IndexerClient } from "./IndexerClient.js";
|
|
7
7
|
import { INDEXER_CLIENT_ENDPOINTS } from "./endpoints.js";
|
|
8
8
|
import { calcIndexerPerpBalanceNotionalValue, calcIndexerPerpBalanceValue, calcIndexerSpotBalanceValue } from "./utils/indexerBalanceValue.js";
|
|
9
9
|
import "./utils/index.js";
|
|
10
|
-
export { CandlestickPeriod, INDEXER_CLIENT_ENDPOINTS, INDEXER_ERROR_CODES, IndexerBaseClient, IndexerClient, IndexerServerFailureError, calcIndexerPerpBalanceNotionalValue, calcIndexerPerpBalanceValue, calcIndexerSpotBalanceValue, isIndexerServerFailureResponse };
|
|
10
|
+
export { CandlestickPeriod, INDEXER_CLIENT_ENDPOINTS, INDEXER_ERROR_CODES, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES, IndexerBaseClient, IndexerClient, IndexerServerFailureError, calcIndexerPerpBalanceNotionalValue, calcIndexerPerpBalanceValue, calcIndexerSpotBalanceValue, isIndexerServerFailureResponse };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Zt as IndexerPerpBalance, cn as IndexerSpotBalance } from "./clientTypes-QBgifUeV.cjs";
|
|
2
2
|
import BigNumber from "bignumber.js";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/indexerBalanceValue.d.ts
|
|
@@ -29,4 +29,4 @@ declare function calcIndexerPerpBalanceNotionalValue(balance: IndexerPerpBalance
|
|
|
29
29
|
declare function calcIndexerPerpBalanceValue(balance: IndexerPerpBalance, oraclePrice: BigNumber): BigNumber;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { calcIndexerPerpBalanceValue as n, calcIndexerSpotBalanceValue as r, calcIndexerPerpBalanceNotionalValue as t };
|
|
32
|
-
//# sourceMappingURL=indexerBalanceValue-
|
|
32
|
+
//# sourceMappingURL=indexerBalanceValue-DqMAvUsj.d.cts.map
|
package/dist/{indexerBalanceValue-DhC367Il.d.cts.map → indexerBalanceValue-DqMAvUsj.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexerBalanceValue-
|
|
1
|
+
{"version":3,"file":"indexerBalanceValue-DqMAvUsj.d.cts","names":[],"sources":["../src/utils/src/utils/indexerBalanceValue.ts"],"mappings":";;;;;;;AAcA;;;;;;;iBAAgB,2BAAA,CACd,OAAA,EAAS,kBAAA,EACT,WAAA,EAAa,SAAA,GACZ,SAAA;;;;;;;iBAUa,mCAAA,CACd,OAAA,EAAS,kBAAA,EACT,WAAA,EAAa,SAAA,GACZ,SAAA;AAHH;;;;;;AAAA,iBAagB,2BAAA,CACd,OAAA,EAAS,kBAAA,EACT,WAAA,EAAa,SAAA,GACZ,SAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Zt as IndexerPerpBalance, cn as IndexerSpotBalance } from "./clientTypes-BLKeWmIr.js";
|
|
2
2
|
import BigNumber from "bignumber.js";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/indexerBalanceValue.d.ts
|
|
@@ -29,4 +29,4 @@ declare function calcIndexerPerpBalanceNotionalValue(balance: IndexerPerpBalance
|
|
|
29
29
|
declare function calcIndexerPerpBalanceValue(balance: IndexerPerpBalance, oraclePrice: BigNumber): BigNumber;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { calcIndexerPerpBalanceValue as n, calcIndexerSpotBalanceValue as r, calcIndexerPerpBalanceNotionalValue as t };
|
|
32
|
-
//# sourceMappingURL=indexerBalanceValue-
|
|
32
|
+
//# sourceMappingURL=indexerBalanceValue-ZJec8hfI.d.ts.map
|
package/dist/{indexerBalanceValue-C9soABg1.d.ts.map → indexerBalanceValue-ZJec8hfI.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexerBalanceValue-
|
|
1
|
+
{"version":3,"file":"indexerBalanceValue-ZJec8hfI.d.ts","names":[],"sources":["../src/utils/src/utils/indexerBalanceValue.ts"],"mappings":";;;;;;;AAcA;;;;;;;iBAAgB,2BAAA,CACd,OAAA,EAAS,kBAAA,EACT,WAAA,EAAa,SAAA,GACZ,SAAA;;;;;;;iBAUa,mCAAA,CACd,OAAA,EAAS,kBAAA,EACT,WAAA,EAAa,SAAA,GACZ,SAAA;AAHH;;;;;;AAAA,iBAagB,2BAAA,CACd,OAAA,EAAS,kBAAA,EACT,WAAA,EAAa,SAAA,GACZ,SAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as NadoTx } from "./NadoTx-C3_f0YvI.cjs";
|
|
2
|
-
import {
|
|
2
|
+
import { C as GetIndexerInterestFundingPaymentsResponse, E as GetIndexerLeaderboardParams, Ft as IndexerEventWithTx, Kt as IndexerMatchEvent, Mt as IndexerEventBalanceStateSnapshot, Nt as IndexerEventPerpStateSnapshot, Pt as IndexerEventSpotStateSnapshot, Q as GetIndexerOrdersParams, R as GetIndexerMatchEventsParams, S as GetIndexerInterestFundingPaymentsParams, Xt as IndexerOrder, j as GetIndexerLeaderboardResponse } from "./clientTypes-QBgifUeV.cjs";
|
|
3
3
|
import { t as CollateralEventType } from "./collateralEventType-CNrryEno.cjs";
|
|
4
4
|
import { Subaccount } from "@nadohq/shared";
|
|
5
5
|
import BigNumber from "bignumber.js";
|
|
@@ -107,4 +107,4 @@ type GetIndexerPaginatedLeaderboardParams = IndexerPaginationParams & Pick<GetIn
|
|
|
107
107
|
type GetIndexerPaginatedLeaderboardResponse = WithPaginationMeta & GetIndexerLeaderboardResponse;
|
|
108
108
|
//#endregion
|
|
109
109
|
export { IndexerSettlementEvent as C, IndexerPaginationParams as S, WithPaginationMeta as T, GetIndexerSubaccountSettlementEventsResponse as _, GetIndexerPaginatedOrdersParams as a, IndexerNlpEvent as b, GetIndexerSubaccountCollateralEventsResponse as c, GetIndexerSubaccountLiquidationEventsResponse as d, GetIndexerSubaccountMatchEventParams as f, GetIndexerSubaccountSettlementEventsParams as g, GetIndexerSubaccountNlpEventsResponse as h, GetIndexerPaginatedLeaderboardResponse as i, GetIndexerSubaccountInterestFundingPaymentsParams as l, GetIndexerSubaccountNlpEventsParams as m, GetIndexerPaginatedInterestFundingPaymentsResponse as n, GetIndexerPaginatedOrdersResponse as o, GetIndexerSubaccountMatchEventsResponse as p, GetIndexerPaginatedLeaderboardParams as r, GetIndexerSubaccountCollateralEventsParams as s, BaseIndexerPaginatedEvent as t, GetIndexerSubaccountLiquidationEventsParams as u, IndexerCollateralEvent as v, PaginatedIndexerEventsResponse as w, IndexerPaginationMeta as x, IndexerLiquidationEvent as y };
|
|
110
|
-
//# sourceMappingURL=paginatedEventsTypes-
|
|
110
|
+
//# sourceMappingURL=paginatedEventsTypes-4I9Ibp9q.d.cts.map
|
package/dist/{paginatedEventsTypes-CBdWvsGe.d.cts.map → paginatedEventsTypes-4I9Ibp9q.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paginatedEventsTypes-
|
|
1
|
+
{"version":3,"file":"paginatedEventsTypes-4I9Ibp9q.d.cts","names":[],"sources":["../src/types/src/types/paginatedEventsTypes.ts"],"mappings":";;;;;;;UAmBiB,uBAAA;EACf,KAAA;EAEA,WAAW;AAAA;AAAA,UAGI,qBAAA;EACf,OAAA;EACA,UAAU;AAAA;AAAA,KAGA,kBAAA;EAAuB,IAAA,EAAM,qBAAqB;AAAA;AAAA,KAEzD,8BAAA,GAAiC,UAAA,GACpC,uBAAuB;EAHb;;;;EAQR,qBAAA;AAAA;AAAA,UAGa,yBAAA,SAAkC,UAAA;EACjD,SAAA,EAAW,SAAA;EACX,eAAA;EACA,EAAA,EAAI,MAAA;AAAA;AAAA,UAGW,8BAAA,WACL,yBAAA,UACF,kBAAA;EACR,MAAA,EAAQ,CAAA;AAAA;AATV;;;AAAA,UAgBiB,0CAAA,SAAmD,8BAA8B;EAChG,UAAA,GAAa,mBAAA;EAEb,QAAA;AAAA;AAAA,UAGe,sBAAA,SAA+B,yBAAA;EAC9C,SAAA,EAAW,mBAAA;EAEX,MAAA,EAAQ,SAAA;EAER,SAAA,EAAW,SAAA;EACX,QAAA,EAAU,6BAAA;AAAA;AAAA,KAGA,4CAAA,GACV,8BAA8B,CAAC,sBAAA;;AA7BrB;AAGZ;KA+BY,mCAAA,GACV,8BAA8B;AAAA,UAEf,eAAA,SAAwB,yBAAA;EACvC,QAAA,EAAU,SAAA;EACV,iBAAA,EAAmB,SAAA;AAAA;AAAA,KAGT,qCAAA,GACV,8BAA8B,CAAC,eAAA;;;;KAMrB,oCAAA,GACV,8BAAA,GACE,IAAA,CAAK,2BAAA;AAAA,KAEG,uCAAA,GACV,8BAA8B,CAAC,iBAAA;;;AAhDtB;KAsDC,+BAAA,GAAkC,8BAAA,GAC5C,IAAA,CAAK,sBAAA;AAAA,UAEU,iCAAA;EACf,MAAA,EAAQ,YAAA;EACR,IAAA,EAAM,qBAAqB;AAAA;;;;KAOjB,2CAAA,GACV,8BAAA,GAAiC,IAAA,CAAK,sBAAA;AAAA,KAEnC,gBAAA,2BAEgB,gCAAA,IACjB,KAAA;EACF,YAAA,EAAc,kBAAA,CAAmB,UAAA;AAAA;AAAA,UAGlB,uBAAA,SAAgC,yBAAA;EAG/C,IAAA,GAAO,gBAAA;IAIH,gBAAA,EAAkB,SAAA;EAAA,GAEpB,6BAAA;EAEF,IAAA,GAAO,gBAAA;IAIH,gBAAA,EAAkB,SAAA;EAAA,GAEpB,6BAAA;EAIF,KAAA,EAAO,gBAAA;IAEH,YAAA,EAAc,SAAA;EAAA,GAEhB,6BAAA;AAAA;AAAA,KAIQ,6CAAA,GACV,8BAA8B,CAAC,uBAAA;;;;KAMrB,0CAAA,GACV,8BAA8B;AAAA,UAEf,sBAAA,SAA+B,yBAAA;EAE9C,UAAA,EAAY,SAAA;EACZ,QAAA,EAAU,6BAAA;EACV,QAAA;AAAA;AAAA,KAGU,4CAAA,GACV,8BAA8B,CAAC,sBAAA;;AApGsB;AAKvD;KAqGY,iDAAA,GACV,8BAAA,GACE,IAAA,CAAK,uCAAA;AAAA,UAEQ,kDAAA,SAA2D,yCAAyC;EACnH,IAAA,EAAM,qBAAA;AAAA;AAAA,KAGI,oCAAA,GAAuC,uBAAA,GACjD,IAAA,CAAK,2BAAA;AAAA,KAEK,sCAAA,GAAyC,kBAAA,GACnD,6BAA6B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as NadoTx } from "./NadoTx-Bd4U-zDu.js";
|
|
2
|
-
import {
|
|
2
|
+
import { C as GetIndexerInterestFundingPaymentsResponse, E as GetIndexerLeaderboardParams, Ft as IndexerEventWithTx, Kt as IndexerMatchEvent, Mt as IndexerEventBalanceStateSnapshot, Nt as IndexerEventPerpStateSnapshot, Pt as IndexerEventSpotStateSnapshot, Q as GetIndexerOrdersParams, R as GetIndexerMatchEventsParams, S as GetIndexerInterestFundingPaymentsParams, Xt as IndexerOrder, j as GetIndexerLeaderboardResponse } from "./clientTypes-BLKeWmIr.js";
|
|
3
3
|
import { t as CollateralEventType } from "./collateralEventType-s-WbBniE.js";
|
|
4
4
|
import { Subaccount } from "@nadohq/shared";
|
|
5
5
|
import BigNumber from "bignumber.js";
|
|
@@ -107,4 +107,4 @@ type GetIndexerPaginatedLeaderboardParams = IndexerPaginationParams & Pick<GetIn
|
|
|
107
107
|
type GetIndexerPaginatedLeaderboardResponse = WithPaginationMeta & GetIndexerLeaderboardResponse;
|
|
108
108
|
//#endregion
|
|
109
109
|
export { IndexerSettlementEvent as C, IndexerPaginationParams as S, WithPaginationMeta as T, GetIndexerSubaccountSettlementEventsResponse as _, GetIndexerPaginatedOrdersParams as a, IndexerNlpEvent as b, GetIndexerSubaccountCollateralEventsResponse as c, GetIndexerSubaccountLiquidationEventsResponse as d, GetIndexerSubaccountMatchEventParams as f, GetIndexerSubaccountSettlementEventsParams as g, GetIndexerSubaccountNlpEventsResponse as h, GetIndexerPaginatedLeaderboardResponse as i, GetIndexerSubaccountInterestFundingPaymentsParams as l, GetIndexerSubaccountNlpEventsParams as m, GetIndexerPaginatedInterestFundingPaymentsResponse as n, GetIndexerPaginatedOrdersResponse as o, GetIndexerSubaccountMatchEventsResponse as p, GetIndexerPaginatedLeaderboardParams as r, GetIndexerSubaccountCollateralEventsParams as s, BaseIndexerPaginatedEvent as t, GetIndexerSubaccountLiquidationEventsParams as u, IndexerCollateralEvent as v, PaginatedIndexerEventsResponse as w, IndexerPaginationMeta as x, IndexerLiquidationEvent as y };
|
|
110
|
-
//# sourceMappingURL=paginatedEventsTypes-
|
|
110
|
+
//# sourceMappingURL=paginatedEventsTypes-D668Hgzl.d.ts.map
|
package/dist/{paginatedEventsTypes-Cc3NsS_6.d.ts.map → paginatedEventsTypes-D668Hgzl.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paginatedEventsTypes-
|
|
1
|
+
{"version":3,"file":"paginatedEventsTypes-D668Hgzl.d.ts","names":[],"sources":["../src/types/src/types/paginatedEventsTypes.ts"],"mappings":";;;;;;;UAmBiB,uBAAA;EACf,KAAA;EAEA,WAAW;AAAA;AAAA,UAGI,qBAAA;EACf,OAAA;EACA,UAAU;AAAA;AAAA,KAGA,kBAAA;EAAuB,IAAA,EAAM,qBAAqB;AAAA;AAAA,KAEzD,8BAAA,GAAiC,UAAA,GACpC,uBAAuB;EAHb;;;;EAQR,qBAAA;AAAA;AAAA,UAGa,yBAAA,SAAkC,UAAA;EACjD,SAAA,EAAW,SAAA;EACX,eAAA;EACA,EAAA,EAAI,MAAA;AAAA;AAAA,UAGW,8BAAA,WACL,yBAAA,UACF,kBAAA;EACR,MAAA,EAAQ,CAAA;AAAA;AATV;;;AAAA,UAgBiB,0CAAA,SAAmD,8BAA8B;EAChG,UAAA,GAAa,mBAAA;EAEb,QAAA;AAAA;AAAA,UAGe,sBAAA,SAA+B,yBAAA;EAC9C,SAAA,EAAW,mBAAA;EAEX,MAAA,EAAQ,SAAA;EAER,SAAA,EAAW,SAAA;EACX,QAAA,EAAU,6BAAA;AAAA;AAAA,KAGA,4CAAA,GACV,8BAA8B,CAAC,sBAAA;;AA7BrB;AAGZ;KA+BY,mCAAA,GACV,8BAA8B;AAAA,UAEf,eAAA,SAAwB,yBAAA;EACvC,QAAA,EAAU,SAAA;EACV,iBAAA,EAAmB,SAAA;AAAA;AAAA,KAGT,qCAAA,GACV,8BAA8B,CAAC,eAAA;;;;KAMrB,oCAAA,GACV,8BAAA,GACE,IAAA,CAAK,2BAAA;AAAA,KAEG,uCAAA,GACV,8BAA8B,CAAC,iBAAA;;;AAhDtB;KAsDC,+BAAA,GAAkC,8BAAA,GAC5C,IAAA,CAAK,sBAAA;AAAA,UAEU,iCAAA;EACf,MAAA,EAAQ,YAAA;EACR,IAAA,EAAM,qBAAqB;AAAA;;;;KAOjB,2CAAA,GACV,8BAAA,GAAiC,IAAA,CAAK,sBAAA;AAAA,KAEnC,gBAAA,2BAEgB,gCAAA,IACjB,KAAA;EACF,YAAA,EAAc,kBAAA,CAAmB,UAAA;AAAA;AAAA,UAGlB,uBAAA,SAAgC,yBAAA;EAG/C,IAAA,GAAO,gBAAA;IAIH,gBAAA,EAAkB,SAAA;EAAA,GAEpB,6BAAA;EAEF,IAAA,GAAO,gBAAA;IAIH,gBAAA,EAAkB,SAAA;EAAA,GAEpB,6BAAA;EAIF,KAAA,EAAO,gBAAA;IAEH,YAAA,EAAc,SAAA;EAAA,GAEhB,6BAAA;AAAA;AAAA,KAIQ,6CAAA,GACV,8BAA8B,CAAC,uBAAA;;;;KAMrB,0CAAA,GACV,8BAA8B;AAAA,UAEf,sBAAA,SAA+B,yBAAA;EAE9C,UAAA,EAAY,SAAA;EACZ,QAAA,EAAU,6BAAA;EACV,QAAA;AAAA;AAAA,KAGU,4CAAA,GACV,8BAA8B,CAAC,sBAAA;;AApGsB;AAKvD;KAqGY,iDAAA,GACV,8BAAA,GACE,IAAA,CAAK,uCAAA;AAAA,UAEQ,kDAAA,SAA2D,yCAAyC;EACnH,IAAA,EAAM,qBAAA;AAAA;AAAA,KAGI,oCAAA,GAAuC,uBAAA,GACjD,IAAA,CAAK,2BAAA;AAAA,KAEK,sCAAA,GAAyC,kBAAA,GACnD,6BAA6B"}
|
|
@@ -408,8 +408,43 @@ interface IndexerServerCashIncentivesEventPlatform {
|
|
|
408
408
|
platform_volume: string;
|
|
409
409
|
unlocked_reward: string;
|
|
410
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
* Claim status of a wallet for a single Cash Incentives event.
|
|
413
|
+
*
|
|
414
|
+
* - `in_progress`: the event is still active.
|
|
415
|
+
* - `pending`: the event has ended, but its settlement has not been published.
|
|
416
|
+
* - `no_reward`: the settlement exists, but the wallet has no reward.
|
|
417
|
+
* - `claimable`: the settlement grants this wallet a reward, and the proof to claim it is included.
|
|
418
|
+
*
|
|
419
|
+
* There is deliberately no `claimed` status. The airdrop contract's `getClaimed` is the source of
|
|
420
|
+
* truth for whether a reward has already been taken, so a reward stays `claimable` here even after
|
|
421
|
+
* it has been claimed onchain.
|
|
422
|
+
*/
|
|
423
|
+
declare const INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES: readonly ["in_progress", "pending", "no_reward", "claimable"];
|
|
424
|
+
type IndexerServerCashIncentivesWalletStatus = (typeof INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES)[number];
|
|
425
|
+
/**
|
|
426
|
+
* `wallet.claim` variant carrying everything needed to claim onchain.
|
|
427
|
+
*/
|
|
428
|
+
interface IndexerServerCashIncentivesClaimableClaim {
|
|
429
|
+
status: 'claimable';
|
|
430
|
+
airdrop_address: string;
|
|
431
|
+
week: number;
|
|
432
|
+
total_amount: string;
|
|
433
|
+
proof: string[];
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* `wallet.claim` variant for events with nothing to claim, which carries only the status.
|
|
437
|
+
*/
|
|
438
|
+
interface IndexerServerCashIncentivesUnclaimableClaim {
|
|
439
|
+
status: Exclude<IndexerServerCashIncentivesWalletStatus, 'claimable'>;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* Always present, tagged on `status`. Only the `claimable` variant carries proof data.
|
|
443
|
+
*/
|
|
444
|
+
type IndexerServerCashIncentivesWalletClaim = IndexerServerCashIncentivesClaimableClaim | IndexerServerCashIncentivesUnclaimableClaim;
|
|
411
445
|
interface IndexerServerCashIncentivesEventWallet {
|
|
412
446
|
reward: string;
|
|
447
|
+
claim: IndexerServerCashIncentivesWalletClaim;
|
|
413
448
|
}
|
|
414
449
|
interface IndexerServerCashIncentivesEvent {
|
|
415
450
|
metadata: IndexerServerCashIncentivesEventMetadata;
|
|
@@ -572,5 +607,5 @@ interface IndexerServerFailureResponse {
|
|
|
572
607
|
*/
|
|
573
608
|
declare function isIndexerServerFailureResponse(data: unknown): data is IndexerServerFailureResponse;
|
|
574
609
|
//#endregion
|
|
575
|
-
export {
|
|
576
|
-
//# sourceMappingURL=serverTypes-
|
|
610
|
+
export { IndexerServerMakerStatisticsParams as $, IndexerServerXPointsResponse as $t, IndexerServerFundingRateHistoryParams as A, IndexerServerProductsParams as At, IndexerServerLeaderboardParams as B, IndexerServerSocialAccountsResponse as Bt, IndexerServerEventsParams as C, IndexerServerPortfolioPeriod as Ct, IndexerServerFastWithdrawalSignatureResponse as D, IndexerServerPriceResponse as Dt, IndexerServerFastWithdrawalSignatureParams as E, IndexerServerPriceParams as Et, IndexerServerFundingRatesResponse as F, IndexerServerQuotePriceResponse as Ft, IndexerServerLeaderboardRegistrationsParams as G, IndexerServerV2Symbol as Gt, IndexerServerLeaderboardRankResponse as H, IndexerServerSocialConnectResponse as Ht, IndexerServerInterestFundingParams as I, IndexerServerReferralCodeParams as It, IndexerServerLinkedSignerParams as J, IndexerServerV2TickersResponse as Jt, IndexerServerLeaderboardRegistrationsResponse as K, IndexerServerV2SymbolsResponse as Kt, IndexerServerInterestFundingResponse as L, IndexerServerReferralCodeResponse as Lt, IndexerServerFundingRateParams as M, IndexerServerQueryRequestByType as Mt, IndexerServerFundingRateResponse as N, IndexerServerQueryRequestType as Nt, IndexerServerFundingRate as O, IndexerServerPrivateAlphaChoiceParams as Ot, IndexerServerFundingRatesParams as P, IndexerServerQueryResponseByType as Pt, IndexerServerListSubaccountsResponse as Q, IndexerServerXPointsQuest as Qt, IndexerServerLeaderboardContestsParams as R, IndexerServerRequestType as Rt, IndexerServerDDAResponse as S, IndexerServerPortfolioParams as St, IndexerServerFailureResponse as T, IndexerServerPortfolioResponse as Tt, IndexerServerLeaderboardRegisterParams as U, IndexerServerTriggerTypeFilter as Ut, IndexerServerLeaderboardRankParams as V, IndexerServerSocialConnectParams as Vt, IndexerServerLeaderboardRegisterResponse as W, IndexerServerV2MarketHours as Wt, IndexerServerListSocialAccountsParams as X, IndexerServerXPointsEpoch as Xt, IndexerServerLinkedSignerResponse as Y, IndexerServerXPointsAllTime as Yt, IndexerServerListSubaccountsParams as Z, IndexerServerXPointsParams as Zt, IndexerServerCashIncentivesUnclaimableClaim as _, IndexerServerPerpPricesResponse as _t, IndexerEdgeServerMarketSnapshotsResponse as a, IndexerServerMultiProductsParams as at, IndexerServerCashIncentivesWalletSummary as b, IndexerServerPointsResponse as bt, IndexerServerCandlesticksParams as c, IndexerServerMultiSubaccountSnapshotsResponse as ct, IndexerServerCashIncentivesEvent as d, IndexerServerOraclePricesParams as dt, isIndexerServerFailureResponse as en, IndexerServerMakerStatisticsResponse as et, IndexerServerCashIncentivesEventMetadata as f, IndexerServerOraclePricesResponse as ft, IndexerServerCashIncentivesResponse as g, IndexerServerPerpPricesParams as gt, IndexerServerCashIncentivesParams as h, IndexerServerPerpPrices as ht, IndexerEdgeServerMarketSnapshotsParams as i, IndexerServerMatchEventsResponse as it, IndexerServerFundingRateHistoryResponse as j, IndexerServerProductsResponse as jt, IndexerServerFundingRateHistoryEntry as k, IndexerServerPrivateAlphaChoiceResponse as kt, IndexerServerCandlesticksResponse as l, IndexerServerNlpSnapshotsParams as lt, IndexerServerCashIncentivesEventWallet as m, IndexerServerOrdersResponse as mt, IndexerEdgeServerCandlesticksParams as n, IndexerServerMarketSnapshotsResponse as nt, IndexerServerAllTimePoints as o, IndexerServerMultiProductsResponse as ot, IndexerServerCashIncentivesEventPlatform as p, IndexerServerOrdersParams as pt, IndexerServerLeaderboardResponse as q, IndexerServerV2TickerResponse as qt, IndexerEdgeServerCandlesticksResponse as r, IndexerServerMatchEventsParams as rt, IndexerServerBacklogResponse as s, IndexerServerMultiSubaccountSnapshotsParams as st, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES as t, IndexerServerMarketSnapshotsParams as tt, IndexerServerCashIncentivesClaimableClaim as u, IndexerServerNlpSnapshotsResponse as ut, IndexerServerCashIncentivesWalletClaim as v, IndexerServerPointsEpoch as vt, IndexerServerEventsResponse as w, IndexerServerPortfolioPoint as wt, IndexerServerDDAQueryParams as x, IndexerServerPortfolioHistory as xt, IndexerServerCashIncentivesWalletStatus as y, IndexerServerPointsParams as yt, IndexerServerLeaderboardContestsResponse as z, IndexerServerRevokeSocialAccountParams as zt };
|
|
611
|
+
//# sourceMappingURL=serverTypes-BQafrknp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverTypes-
|
|
1
|
+
{"version":3,"file":"serverTypes-BQafrknp.d.ts","names":[],"sources":["../src/types/src/types/serverTypes.ts"],"mappings":";;;;;;;;;AAgCA;UAAiB,kCAAA;EAEf,KAAA;EAEA,KAAA;EACA,OAAA;AAAA;AAAA,UAGe,2CAAA;EAEf,WAAA;EACA,UAAA;EAEA,QAAA;AAAA;AAAA,UAGe,+BAAA;EACf,UAAU;AAAA;AAAA,UAGK,8BAAA;EACf,UAAU;AAAA;AAAA,UAGK,+BAAA;EACf,WAAW;AAAA;AAAA,UAGI,qCAAA;EACf,UAAA;EACA,UAAA;EACA,QAAA;EAEA,KAAA;AAAA;AAAA,UAGe,wBAAA;EACf,UAAU;AAAA;AAAA,UAGK,6BAAA;EACf,WAAW;AAAA;AAAA,UAGI,4BAAA;EACf,UAAU;AAAA;AAAA,UAGK,+BAAA;EACf,WAAW;AAAA;AAAA,UAGI,+BAAA;EACf,UAAA;EACA,WAAA;EAEA,QAAA;EACA,KAAA;AAAA;AAAA,KAGU,mCAAA,GACV,+BAA+B;AAAA,UAEhB,2BAAA;EACf,UAAA;EACA,QAAA;EACA,KAAA;EAEA,GAAA;AAAA;AAAA,UAGe,gCAAA;EACf,WAAA;EACA,QAAQ;AAAA;AAAA,UAGO,yBAAA;EACf,WAAA;EACA,WAAA;EAEA,QAAA;EACA,WAAA,GAAc,gBAAgB;EAE9B,IAAA;EAEA,GAAA;EACA,QAAA;EACA,KAAA;IAEM,GAAA;EAAA;IAGA,GAAA;EAAA;AAAA;AAAA,KAII,8BAAA;AAAA,UAKK,yBAAA;EAC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AA;EACf,IAAA;EACA,UAAA;EACA,MAAA;EACA,mBAAA;EACA,cAAA;EACA,QAAA;EACA,kBAAA;EACA,kBAAA;EACA,uBAAA;EACA,2BAAA;EAvWK;;AAAe;EA2WpB,qBAAA;EAvW4C;;;EA2W5C,iBAAA;EACA,cAAA;EACA,aAAA;EACA,YAAA,EAAc,0BAA0B;EA9WO;;;;EAmX/C,UAAA;EA9We;;;EAkXf,gBAAA;EAjXA;;;EAqXA,gBAAA;AAAA;AApXoB;AAGtB;;;AAHsB,KA2XV,8BAAA,GAAiC,MAAM,SAEjD,qBAAA;AAzX0B;AAG5B;;;;;AAH4B,KAkYhB,wBAAA;;;;AA7XU;AAGtB;;;;AACW;UAoYM,4BAAA;EACf,MAAA;EACA,KAAA;EACA,UAAA;EACA,YAAA,EAAc,wBAAwB;AAAA;;;;iBAMxB,8BAAA,CACd,IAAA,YACC,IAAA,IAAQ,4BAA4B"}
|
|
@@ -408,8 +408,43 @@ interface IndexerServerCashIncentivesEventPlatform {
|
|
|
408
408
|
platform_volume: string;
|
|
409
409
|
unlocked_reward: string;
|
|
410
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
* Claim status of a wallet for a single Cash Incentives event.
|
|
413
|
+
*
|
|
414
|
+
* - `in_progress`: the event is still active.
|
|
415
|
+
* - `pending`: the event has ended, but its settlement has not been published.
|
|
416
|
+
* - `no_reward`: the settlement exists, but the wallet has no reward.
|
|
417
|
+
* - `claimable`: the settlement grants this wallet a reward, and the proof to claim it is included.
|
|
418
|
+
*
|
|
419
|
+
* There is deliberately no `claimed` status. The airdrop contract's `getClaimed` is the source of
|
|
420
|
+
* truth for whether a reward has already been taken, so a reward stays `claimable` here even after
|
|
421
|
+
* it has been claimed onchain.
|
|
422
|
+
*/
|
|
423
|
+
declare const INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES: readonly ["in_progress", "pending", "no_reward", "claimable"];
|
|
424
|
+
type IndexerServerCashIncentivesWalletStatus = (typeof INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES)[number];
|
|
425
|
+
/**
|
|
426
|
+
* `wallet.claim` variant carrying everything needed to claim onchain.
|
|
427
|
+
*/
|
|
428
|
+
interface IndexerServerCashIncentivesClaimableClaim {
|
|
429
|
+
status: 'claimable';
|
|
430
|
+
airdrop_address: string;
|
|
431
|
+
week: number;
|
|
432
|
+
total_amount: string;
|
|
433
|
+
proof: string[];
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* `wallet.claim` variant for events with nothing to claim, which carries only the status.
|
|
437
|
+
*/
|
|
438
|
+
interface IndexerServerCashIncentivesUnclaimableClaim {
|
|
439
|
+
status: Exclude<IndexerServerCashIncentivesWalletStatus, 'claimable'>;
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* Always present, tagged on `status`. Only the `claimable` variant carries proof data.
|
|
443
|
+
*/
|
|
444
|
+
type IndexerServerCashIncentivesWalletClaim = IndexerServerCashIncentivesClaimableClaim | IndexerServerCashIncentivesUnclaimableClaim;
|
|
411
445
|
interface IndexerServerCashIncentivesEventWallet {
|
|
412
446
|
reward: string;
|
|
447
|
+
claim: IndexerServerCashIncentivesWalletClaim;
|
|
413
448
|
}
|
|
414
449
|
interface IndexerServerCashIncentivesEvent {
|
|
415
450
|
metadata: IndexerServerCashIncentivesEventMetadata;
|
|
@@ -572,5 +607,5 @@ interface IndexerServerFailureResponse {
|
|
|
572
607
|
*/
|
|
573
608
|
declare function isIndexerServerFailureResponse(data: unknown): data is IndexerServerFailureResponse;
|
|
574
609
|
//#endregion
|
|
575
|
-
export {
|
|
576
|
-
//# sourceMappingURL=serverTypes-
|
|
610
|
+
export { IndexerServerMakerStatisticsParams as $, IndexerServerXPointsResponse as $t, IndexerServerFundingRateHistoryParams as A, IndexerServerProductsParams as At, IndexerServerLeaderboardParams as B, IndexerServerSocialAccountsResponse as Bt, IndexerServerEventsParams as C, IndexerServerPortfolioPeriod as Ct, IndexerServerFastWithdrawalSignatureResponse as D, IndexerServerPriceResponse as Dt, IndexerServerFastWithdrawalSignatureParams as E, IndexerServerPriceParams as Et, IndexerServerFundingRatesResponse as F, IndexerServerQuotePriceResponse as Ft, IndexerServerLeaderboardRegistrationsParams as G, IndexerServerV2Symbol as Gt, IndexerServerLeaderboardRankResponse as H, IndexerServerSocialConnectResponse as Ht, IndexerServerInterestFundingParams as I, IndexerServerReferralCodeParams as It, IndexerServerLinkedSignerParams as J, IndexerServerV2TickersResponse as Jt, IndexerServerLeaderboardRegistrationsResponse as K, IndexerServerV2SymbolsResponse as Kt, IndexerServerInterestFundingResponse as L, IndexerServerReferralCodeResponse as Lt, IndexerServerFundingRateParams as M, IndexerServerQueryRequestByType as Mt, IndexerServerFundingRateResponse as N, IndexerServerQueryRequestType as Nt, IndexerServerFundingRate as O, IndexerServerPrivateAlphaChoiceParams as Ot, IndexerServerFundingRatesParams as P, IndexerServerQueryResponseByType as Pt, IndexerServerListSubaccountsResponse as Q, IndexerServerXPointsQuest as Qt, IndexerServerLeaderboardContestsParams as R, IndexerServerRequestType as Rt, IndexerServerDDAResponse as S, IndexerServerPortfolioParams as St, IndexerServerFailureResponse as T, IndexerServerPortfolioResponse as Tt, IndexerServerLeaderboardRegisterParams as U, IndexerServerTriggerTypeFilter as Ut, IndexerServerLeaderboardRankParams as V, IndexerServerSocialConnectParams as Vt, IndexerServerLeaderboardRegisterResponse as W, IndexerServerV2MarketHours as Wt, IndexerServerListSocialAccountsParams as X, IndexerServerXPointsEpoch as Xt, IndexerServerLinkedSignerResponse as Y, IndexerServerXPointsAllTime as Yt, IndexerServerListSubaccountsParams as Z, IndexerServerXPointsParams as Zt, IndexerServerCashIncentivesUnclaimableClaim as _, IndexerServerPerpPricesResponse as _t, IndexerEdgeServerMarketSnapshotsResponse as a, IndexerServerMultiProductsParams as at, IndexerServerCashIncentivesWalletSummary as b, IndexerServerPointsResponse as bt, IndexerServerCandlesticksParams as c, IndexerServerMultiSubaccountSnapshotsResponse as ct, IndexerServerCashIncentivesEvent as d, IndexerServerOraclePricesParams as dt, isIndexerServerFailureResponse as en, IndexerServerMakerStatisticsResponse as et, IndexerServerCashIncentivesEventMetadata as f, IndexerServerOraclePricesResponse as ft, IndexerServerCashIncentivesResponse as g, IndexerServerPerpPricesParams as gt, IndexerServerCashIncentivesParams as h, IndexerServerPerpPrices as ht, IndexerEdgeServerMarketSnapshotsParams as i, IndexerServerMatchEventsResponse as it, IndexerServerFundingRateHistoryResponse as j, IndexerServerProductsResponse as jt, IndexerServerFundingRateHistoryEntry as k, IndexerServerPrivateAlphaChoiceResponse as kt, IndexerServerCandlesticksResponse as l, IndexerServerNlpSnapshotsParams as lt, IndexerServerCashIncentivesEventWallet as m, IndexerServerOrdersResponse as mt, IndexerEdgeServerCandlesticksParams as n, IndexerServerMarketSnapshotsResponse as nt, IndexerServerAllTimePoints as o, IndexerServerMultiProductsResponse as ot, IndexerServerCashIncentivesEventPlatform as p, IndexerServerOrdersParams as pt, IndexerServerLeaderboardResponse as q, IndexerServerV2TickerResponse as qt, IndexerEdgeServerCandlesticksResponse as r, IndexerServerMatchEventsParams as rt, IndexerServerBacklogResponse as s, IndexerServerMultiSubaccountSnapshotsParams as st, INDEXER_SERVER_CASH_INCENTIVES_WALLET_STATUSES as t, IndexerServerMarketSnapshotsParams as tt, IndexerServerCashIncentivesClaimableClaim as u, IndexerServerNlpSnapshotsResponse as ut, IndexerServerCashIncentivesWalletClaim as v, IndexerServerPointsEpoch as vt, IndexerServerEventsResponse as w, IndexerServerPortfolioPoint as wt, IndexerServerDDAQueryParams as x, IndexerServerPortfolioHistory as xt, IndexerServerCashIncentivesWalletStatus as y, IndexerServerPointsParams as yt, IndexerServerLeaderboardContestsResponse as z, IndexerServerRevokeSocialAccountParams as zt };
|
|
611
|
+
//# sourceMappingURL=serverTypes-DeUDMCog.d.cts.map
|