@nadohq/indexer-client 0.14.0 → 0.17.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/CandlestickPeriod-1DtcEiOb.d.ts +15 -0
- package/dist/CandlestickPeriod-1DtcEiOb.d.ts.map +1 -0
- package/dist/CandlestickPeriod-D3_IoSev.d.cts +15 -0
- package/dist/CandlestickPeriod-D3_IoSev.d.cts.map +1 -0
- package/dist/IndexerBaseClient-3KfzA2ph.cjs +639 -0
- package/dist/IndexerBaseClient-3KfzA2ph.cjs.map +1 -0
- package/dist/IndexerBaseClient.cjs +3 -788
- package/dist/IndexerBaseClient.d.cts +223 -229
- package/dist/IndexerBaseClient.d.cts.map +1 -0
- package/dist/IndexerBaseClient.d.ts +223 -229
- package/dist/IndexerBaseClient.d.ts.map +1 -0
- package/dist/IndexerBaseClient.js +601 -783
- package/dist/IndexerBaseClient.js.map +1 -1
- package/dist/IndexerClient.cjs +275 -381
- package/dist/IndexerClient.cjs.map +1 -1
- package/dist/IndexerClient.d.cts +32 -43
- package/dist/IndexerClient.d.cts.map +1 -0
- package/dist/IndexerClient.d.ts +32 -43
- package/dist/IndexerClient.d.ts.map +1 -0
- package/dist/IndexerClient.js +273 -362
- package/dist/IndexerClient.js.map +1 -1
- package/dist/IndexerEventType-B-uXsf-a.d.cts +5 -0
- package/dist/IndexerEventType-B-uXsf-a.d.cts.map +1 -0
- package/dist/IndexerEventType-DCLkSlgR.d.ts +5 -0
- package/dist/IndexerEventType-DCLkSlgR.d.ts.map +1 -0
- package/dist/IndexerLeaderboardType-Ck12QVWR.d.cts +13 -0
- package/dist/IndexerLeaderboardType-Ck12QVWR.d.cts.map +1 -0
- package/dist/IndexerLeaderboardType-DAKw2tfI.d.ts +13 -0
- package/dist/IndexerLeaderboardType-DAKw2tfI.d.ts.map +1 -0
- package/dist/NadoTx-CWCklgY4.d.ts +50 -0
- package/dist/NadoTx-CWCklgY4.d.ts.map +1 -0
- package/dist/NadoTx-MYNIlXyq.d.cts +50 -0
- package/dist/NadoTx-MYNIlXyq.d.cts.map +1 -0
- package/dist/clientTypes-BpxOUu1q.d.ts +709 -0
- package/dist/clientTypes-BpxOUu1q.d.ts.map +1 -0
- package/dist/clientTypes-BsJ2yIC4.d.cts +709 -0
- package/dist/clientTypes-BsJ2yIC4.d.cts.map +1 -0
- package/dist/collateralEventType-CzH_2iTV.d.ts +5 -0
- package/dist/collateralEventType-CzH_2iTV.d.ts.map +1 -0
- package/dist/collateralEventType-DIm6Te7F.d.cts +5 -0
- package/dist/collateralEventType-DIm6Te7F.d.cts.map +1 -0
- package/dist/dataMappers.cjs +269 -346
- package/dist/dataMappers.cjs.map +1 -1
- package/dist/dataMappers.d.cts +7 -12
- package/dist/dataMappers.d.cts.map +1 -0
- package/dist/dataMappers.d.ts +7 -12
- package/dist/dataMappers.d.ts.map +1 -0
- package/dist/dataMappers.js +248 -314
- package/dist/dataMappers.js.map +1 -1
- package/dist/endpoints.cjs +8 -32
- package/dist/endpoints.cjs.map +1 -1
- package/dist/endpoints.d.cts +4 -2
- package/dist/endpoints.d.cts.map +1 -0
- package/dist/endpoints.d.ts +4 -2
- package/dist/endpoints.d.ts.map +1 -0
- package/dist/endpoints.js +8 -8
- package/dist/endpoints.js.map +1 -1
- package/dist/index-D6CnpA_r.d.cts +1 -0
- package/dist/index-DhI2LvVQ.d.ts +1 -0
- package/dist/index.cjs +15 -33
- package/dist/index.d.cts +14 -18
- package/dist/index.d.ts +14 -18
- package/dist/index.js +8 -7
- package/dist/indexerBalanceValue-4AuNuTAc.d.cts +32 -0
- package/dist/indexerBalanceValue-4AuNuTAc.d.cts.map +1 -0
- package/dist/indexerBalanceValue-B0OggI67.d.ts +32 -0
- package/dist/indexerBalanceValue-B0OggI67.d.ts.map +1 -0
- package/dist/paginatedEventsTypes-DtGDU-kI.d.cts +110 -0
- package/dist/paginatedEventsTypes-DtGDU-kI.d.cts.map +1 -0
- package/dist/paginatedEventsTypes-RwXoQrEa.d.ts +110 -0
- package/dist/paginatedEventsTypes-RwXoQrEa.d.ts.map +1 -0
- package/dist/serverModelTypes-CM2g040o.d.cts +262 -0
- package/dist/serverModelTypes-CM2g040o.d.cts.map +1 -0
- package/dist/serverModelTypes-DPHMUSZe.d.ts +262 -0
- package/dist/serverModelTypes-DPHMUSZe.d.ts.map +1 -0
- package/dist/serverTypes-BMSNh2GK.d.cts +452 -0
- package/dist/serverTypes-BMSNh2GK.d.cts.map +1 -0
- package/dist/serverTypes-c8IABU73.d.ts +452 -0
- package/dist/serverTypes-c8IABU73.d.ts.map +1 -0
- package/dist/types/CandlestickPeriod.cjs +16 -40
- package/dist/types/CandlestickPeriod.cjs.map +1 -1
- package/dist/types/CandlestickPeriod.d.cts +2 -13
- package/dist/types/CandlestickPeriod.d.ts +2 -13
- package/dist/types/CandlestickPeriod.js +16 -16
- package/dist/types/CandlestickPeriod.js.map +1 -1
- package/dist/types/IndexerEventType.cjs +0 -19
- package/dist/types/IndexerEventType.d.cts +2 -3
- package/dist/types/IndexerEventType.d.ts +2 -3
- package/dist/types/IndexerEventType.js +1 -1
- package/dist/types/IndexerLeaderboardType.cjs +0 -19
- package/dist/types/IndexerLeaderboardType.d.cts +2 -11
- package/dist/types/IndexerLeaderboardType.d.ts +2 -11
- package/dist/types/IndexerLeaderboardType.js +1 -1
- package/dist/types/NadoTx.cjs +0 -19
- package/dist/types/NadoTx.d.cts +2 -48
- package/dist/types/NadoTx.d.ts +2 -48
- package/dist/types/NadoTx.js +1 -1
- package/dist/types/clientTypes.cjs +0 -19
- package/dist/types/clientTypes.d.cts +2 -709
- package/dist/types/clientTypes.d.ts +2 -709
- package/dist/types/clientTypes.js +1 -1
- package/dist/types/collateralEventType.cjs +0 -19
- package/dist/types/collateralEventType.d.cts +2 -3
- package/dist/types/collateralEventType.d.ts +2 -3
- package/dist/types/collateralEventType.js +1 -1
- package/dist/types/index.cjs +3 -41
- package/dist/types/index.d.cts +10 -13
- package/dist/types/index.d.ts +10 -13
- package/dist/types/index.js +2 -11
- package/dist/types/paginatedEventsTypes.cjs +0 -19
- package/dist/types/paginatedEventsTypes.d.cts +2 -115
- package/dist/types/paginatedEventsTypes.d.ts +2 -115
- package/dist/types/paginatedEventsTypes.js +1 -1
- package/dist/types/serverModelTypes.cjs +0 -19
- package/dist/types/serverModelTypes.d.cts +2 -260
- package/dist/types/serverModelTypes.d.ts +2 -260
- package/dist/types/serverModelTypes.js +1 -1
- package/dist/types/serverTypes.cjs +0 -19
- package/dist/types/serverTypes.d.cts +2 -451
- package/dist/types/serverTypes.d.ts +2 -451
- package/dist/types/serverTypes.js +1 -1
- package/dist/utils/index.cjs +5 -25
- package/dist/utils/index.d.cts +2 -12
- package/dist/utils/index.d.ts +2 -12
- package/dist/utils/index.js +2 -3
- package/dist/utils/indexerBalanceValue.cjs +32 -36
- package/dist/utils/indexerBalanceValue.cjs.map +1 -1
- package/dist/utils/indexerBalanceValue.d.cts +2 -39
- package/dist/utils/indexerBalanceValue.d.ts +2 -39
- package/dist/utils/indexerBalanceValue.js +29 -9
- package/dist/utils/indexerBalanceValue.js.map +1 -1
- package/package.json +10 -10
- package/dist/IndexerBaseClient.cjs.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/types/IndexerEventType.cjs.map +0 -1
- package/dist/types/IndexerEventType.js.map +0 -1
- package/dist/types/IndexerLeaderboardType.cjs.map +0 -1
- package/dist/types/IndexerLeaderboardType.js.map +0 -1
- package/dist/types/NadoTx.cjs.map +0 -1
- package/dist/types/NadoTx.js.map +0 -1
- package/dist/types/clientTypes.cjs.map +0 -1
- package/dist/types/clientTypes.js.map +0 -1
- package/dist/types/collateralEventType.cjs.map +0 -1
- package/dist/types/collateralEventType.js.map +0 -1
- package/dist/types/index.cjs.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/types/paginatedEventsTypes.cjs.map +0 -1
- package/dist/types/paginatedEventsTypes.js.map +0 -1
- package/dist/types/serverModelTypes.cjs.map +0 -1
- package/dist/types/serverModelTypes.js.map +0 -1
- package/dist/types/serverTypes.cjs.map +0 -1
- package/dist/types/serverTypes.js.map +0 -1
- package/dist/utils/index.cjs.map +0 -1
- package/dist/utils/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/types/collateralEventType.ts
|
|
17
|
-
var collateralEventType_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(collateralEventType_exports);
|
|
19
|
-
//# sourceMappingURL=collateralEventType.cjs.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export type { CollateralEventType };
|
|
1
|
+
import { t as CollateralEventType } from "../collateralEventType-DIm6Te7F.cjs";
|
|
2
|
+
export { CollateralEventType };
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export type { CollateralEventType };
|
|
1
|
+
import { t as CollateralEventType } from "../collateralEventType-CzH_2iTV.js";
|
|
2
|
+
export { CollateralEventType };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,41 +1,3 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
|
|
17
|
-
// src/types/index.ts
|
|
18
|
-
var types_exports = {};
|
|
19
|
-
module.exports = __toCommonJS(types_exports);
|
|
20
|
-
__reExport(types_exports, require("./CandlestickPeriod.cjs"), module.exports);
|
|
21
|
-
__reExport(types_exports, require("./clientTypes.cjs"), module.exports);
|
|
22
|
-
__reExport(types_exports, require("./collateralEventType.cjs"), module.exports);
|
|
23
|
-
__reExport(types_exports, require("./IndexerEventType.cjs"), module.exports);
|
|
24
|
-
__reExport(types_exports, require("./IndexerLeaderboardType.cjs"), module.exports);
|
|
25
|
-
__reExport(types_exports, require("./NadoTx.cjs"), module.exports);
|
|
26
|
-
__reExport(types_exports, require("./paginatedEventsTypes.cjs"), module.exports);
|
|
27
|
-
__reExport(types_exports, require("./serverModelTypes.cjs"), module.exports);
|
|
28
|
-
__reExport(types_exports, require("./serverTypes.cjs"), module.exports);
|
|
29
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
-
0 && (module.exports = {
|
|
31
|
-
...require("./CandlestickPeriod.cjs"),
|
|
32
|
-
...require("./clientTypes.cjs"),
|
|
33
|
-
...require("./collateralEventType.cjs"),
|
|
34
|
-
...require("./IndexerEventType.cjs"),
|
|
35
|
-
...require("./IndexerLeaderboardType.cjs"),
|
|
36
|
-
...require("./NadoTx.cjs"),
|
|
37
|
-
...require("./paginatedEventsTypes.cjs"),
|
|
38
|
-
...require("./serverModelTypes.cjs"),
|
|
39
|
-
...require("./serverTypes.cjs")
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=index.cjs.map
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_types_CandlestickPeriod = require("./CandlestickPeriod.cjs");
|
|
3
|
+
exports.CandlestickPeriod = require_types_CandlestickPeriod.CandlestickPeriod;
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import 'bignumber.js';
|
|
12
|
-
import 'viem';
|
|
13
|
-
import '@nadohq/engine-client';
|
|
1
|
+
import { t as CandlestickPeriod } from "../CandlestickPeriod-D3_IoSev.cjs";
|
|
2
|
+
import { t as IndexerEventType } from "../IndexerEventType-B-uXsf-a.cjs";
|
|
3
|
+
import { t as IndexerLeaderboardRankType } from "../IndexerLeaderboardType-Ck12QVWR.cjs";
|
|
4
|
+
import { a as NadoTransferQuoteTx, i as NadoMatchOrdersTx, n as NadoLiquidateSubaccountTx, o as NadoTx, r as NadoMatchOrdersRfqTx, s as NadoWithdrawCollateralTx, t as NadoDepositCollateralTx } from "../NadoTx-MYNIlXyq.cjs";
|
|
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-CM2g040o.cjs";
|
|
6
|
+
import { $ as IndexerServerPerpPrices, A as IndexerServerLeaderboardRegistrationsResponse, B as IndexerServerMarketSnapshotsResponse, C as IndexerServerLeaderboardContestsResponse, Ct as IndexerServerV2Symbol, D as IndexerServerLeaderboardRegisterParams, E as IndexerServerLeaderboardRankResponse, Et as IndexerServerV2TickersResponse, F as IndexerServerListSubaccountsParams, G as IndexerServerMultiSubaccountSnapshotsParams, H as IndexerServerMatchEventsResponse, I as IndexerServerListSubaccountsResponse, J as IndexerServerNlpSnapshotsResponse, K as IndexerServerMultiSubaccountSnapshotsResponse, L as IndexerServerMakerStatisticsParams, M as IndexerServerLinkedSignerParams, N as IndexerServerLinkedSignerResponse, O as IndexerServerLeaderboardRegisterResponse, P as IndexerServerListSocialAccountsParams, Q as IndexerServerOrdersResponse, R as IndexerServerMakerStatisticsResponse, S as IndexerServerLeaderboardContestsParams, St as IndexerServerV2MarketHours, T as IndexerServerLeaderboardRankParams, Tt as IndexerServerV2TickerResponse, U as IndexerServerMultiProductsParams, V as IndexerServerMatchEventsParams, W as IndexerServerMultiProductsResponse, X as IndexerServerOraclePricesResponse, Y as IndexerServerOraclePricesParams, Z as IndexerServerOrdersParams, _ as IndexerServerFundingRateResponse, _t as IndexerServerRevokeSocialAccountParams, a as IndexerServerAllTimePoints, at as IndexerServerPriceParams, b as IndexerServerInterestFundingParams, bt as IndexerServerSocialConnectResponse, c as IndexerServerCandlesticksResponse, ct as IndexerServerPrivateAlphaChoiceResponse, d as IndexerServerEventsParams, dt as IndexerServerQueryRequestByType, et as IndexerServerPerpPricesParams, f as IndexerServerEventsResponse, ft as IndexerServerQueryRequestType, g as IndexerServerFundingRateParams, gt as IndexerServerReferralCodeResponse, h as IndexerServerFundingRate, ht as IndexerServerReferralCodeParams, i as IndexerEdgeServerMarketSnapshotsResponse, it as IndexerServerPointsResponse, j as IndexerServerLeaderboardResponse, k as IndexerServerLeaderboardRegistrationsParams, l as IndexerServerDDAQueryParams, lt as IndexerServerProductsParams, m as IndexerServerFastWithdrawalSignatureResponse, mt as IndexerServerQuotePriceResponse, n as IndexerEdgeServerCandlesticksResponse, nt as IndexerServerPointsEpoch, o as IndexerServerBacklogResponse, ot as IndexerServerPriceResponse, p as IndexerServerFastWithdrawalSignatureParams, pt as IndexerServerQueryResponseByType, q as IndexerServerNlpSnapshotsParams, r as IndexerEdgeServerMarketSnapshotsParams, rt as IndexerServerPointsParams, s as IndexerServerCandlesticksParams, st as IndexerServerPrivateAlphaChoiceParams, t as IndexerEdgeServerCandlesticksParams, tt as IndexerServerPerpPricesResponse, u as IndexerServerDDAResponse, ut as IndexerServerProductsResponse, v as IndexerServerFundingRatesParams, vt as IndexerServerSocialAccountsResponse, w as IndexerServerLeaderboardParams, wt as IndexerServerV2SymbolsResponse, x as IndexerServerInterestFundingResponse, xt as IndexerServerTriggerTypeFilter, y as IndexerServerFundingRatesResponse, yt as IndexerServerSocialConnectParams, z as IndexerServerMarketSnapshotsParams } from "../serverTypes-BMSNh2GK.cjs";
|
|
7
|
+
import { $ as GetIndexerPointsResponse, $t as RegisterLeaderboardResponse, A as GetIndexerMakerStatisticsParams, At as IndexerMatchEventBalances, B as GetIndexerMultiProductSnapshotsParams, Bt as IndexerSnapshotsIntervalParams, C as GetIndexerLeaderboardParticipantParams, Ct as IndexerLeaderboardParticipant, D as GetIndexerLeaderboardResponse, Dt as IndexerMakerSnapshot, E as GetIndexerLeaderboardRegistrationsResponse, Et as IndexerMaker, F as GetIndexerMatchEventsResponse, Ft as IndexerPerpPrices, G as GetIndexerNlpSnapshotsResponse, Gt as IndexerV2Symbol, H as GetIndexerMultiSubaccountSnapshotsParams, Ht as IndexerSpotBalance, I as GetIndexerMultiProductFundingRatesParams, It as IndexerPointsEpoch, J as GetIndexerOrdersParams, Jt as ListIndexerSocialAccountsParams, K as GetIndexerOraclePricesParams, Kt as IndexerV2TickerResponse, L as GetIndexerMultiProductFundingRatesResponse, Lt as IndexerProductPayment, M as GetIndexerMarketSnapshotsParams, Mt as IndexerOraclePrice, N as GetIndexerMarketSnapshotsResponse, Nt as IndexerOrder, O as GetIndexerLinkedSignerParams, Ot as IndexerMarketSnapshot, P as GetIndexerMatchEventsParams, Pt as IndexerPerpBalance, Q as GetIndexerPointsParams, Qt as RegisterLeaderboardParams, R as GetIndexerMultiProductPerpPricesParams, Rt as IndexerProductSnapshot, S as GetIndexerLeaderboardParams, St as IndexerLeaderboardContestTrack, T as GetIndexerLeaderboardRegistrationsParams, Tt as IndexerLeaderboardTrackPosition, U as GetIndexerMultiSubaccountSnapshotsResponse, Ut as IndexerSubaccountSnapshot, V as GetIndexerMultiProductSnapshotsResponse, Vt as IndexerSocialAccountInfo, W as GetIndexerNlpSnapshotsParams, Wt as IndexerV2MarketHours, X as GetIndexerPerpPricesParams, Xt as ListIndexerSubaccountsParams, Y as GetIndexerOrdersResponse, Yt as ListIndexerSocialAccountsResponse, Z as GetIndexerPerpPricesResponse, Zt as ListIndexerSubaccountsResponse, _ as GetIndexerFundingRateResponse, _t as IndexerEventPerpStateSnapshot, a as GetIndexerCandlesticksParams, at as GetIndexerReferralCodeParams, b as GetIndexerLeaderboardContestsParams, bt as IndexerFundingRate, c as GetIndexerEdgeCandlesticksResponse, ct as GetIndexerSubaccountDDAResponse, d as GetIndexerEventsLimitType, dt as GetIndexerV2TickersParams, en as RevokeSocialAccountParams, et as GetIndexerPrivateAlphaChoiceParams, f as GetIndexerEventsParams, ft as GetIndexerV2TickersResponse, g as GetIndexerFundingRateParams, gt as IndexerEventBalanceStateSnapshot, h as GetIndexerFastWithdrawalSignatureResponse, ht as IndexerEvent, i as GetIndexerBacklogResponse, it as GetIndexerQuotePriceResponse, j as GetIndexerMakerStatisticsResponse, jt as IndexerNlpSnapshot, k as GetIndexerLinkedSignerResponse, kt as IndexerMatchEvent, l as GetIndexerEdgeMarketSnapshotResponse, lt as GetIndexerV2SymbolsParams, m as GetIndexerFastWithdrawalSignatureParams, mt as IndexerBalanceTrackedVars, n as ConnectSocialAccountParams, nn as TickerMarketType, nt as GetIndexerProductSnapshotsParams, o as GetIndexerCandlesticksResponse, ot as GetIndexerReferralCodeResponse, p as GetIndexerEventsResponse, pt as IndexerAllTimePoints, q as GetIndexerOraclePricesResponse, qt as IndexerV2TradingStatus, r as ConnectSocialAccountResponse, rt as GetIndexerProductSnapshotsResponse, s as GetIndexerEdgeCandlesticksParams, st as GetIndexerSubaccountDDAParams, t as Candlestick, tn as RevokeSocialAccountResponse, tt as GetIndexerPrivateAlphaChoiceResponse, u as GetIndexerEdgeMarketSnapshotsParams, ut as GetIndexerV2SymbolsResponse, v as GetIndexerInterestFundingPaymentsParams, vt as IndexerEventSpotStateSnapshot, w as GetIndexerLeaderboardParticipantResponse, wt as IndexerLeaderboardRegistration, x as GetIndexerLeaderboardContestsResponse, xt as IndexerLeaderboardContest, y as GetIndexerInterestFundingPaymentsResponse, yt as IndexerEventWithTx, z as GetIndexerMultiProductPerpPricesResponse, zt as IndexerSnapshotBalance } from "../clientTypes-BsJ2yIC4.cjs";
|
|
8
|
+
import { t as CollateralEventType } from "../collateralEventType-DIm6Te7F.cjs";
|
|
9
|
+
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-DtGDU-kI.cjs";
|
|
10
|
+
export { BaseIndexerPaginatedEvent, Candlestick, CandlestickPeriod, CollateralEventType, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, 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, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCollateralEvent, IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventType, IndexerEventWithTx, IndexerFundingRate, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRankType, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerLiquidationEvent, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpEvent, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPaginationMeta, IndexerPaginationParams, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerProductPayment, IndexerProductSnapshot, IndexerServerAllTimePoints, IndexerServerBacklogResponse, IndexerServerBalance, IndexerServerCandlestick, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerDDAQueryParams, IndexerServerDDAResponse, IndexerServerEvent, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, 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, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerPrivateAlphaChoiceParams, IndexerServerPrivateAlphaChoiceResponse, IndexerServerProduct, IndexerServerProductPayment, IndexerServerProductSnapshot, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerQuotePriceResponse, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerRevokeSocialAccountParams, IndexerServerSnapshotsInterval, IndexerServerSocialAccount, IndexerServerSocialAccountsResponse, IndexerServerSocialConnectParams, IndexerServerSocialConnectResponse, IndexerServerTriggerTypeFilter, IndexerServerTx, IndexerServerV2MarketHours, IndexerServerV2Symbol, IndexerServerV2SymbolsResponse, IndexerServerV2TickerResponse, IndexerServerV2TickersResponse, IndexerSettlementEvent, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, PaginatedIndexerEventsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType, WithPaginationMeta };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import 'bignumber.js';
|
|
12
|
-
import 'viem';
|
|
13
|
-
import '@nadohq/engine-client';
|
|
1
|
+
import { t as CandlestickPeriod } from "../CandlestickPeriod-1DtcEiOb.js";
|
|
2
|
+
import { t as IndexerEventType } from "../IndexerEventType-DCLkSlgR.js";
|
|
3
|
+
import { t as IndexerLeaderboardRankType } from "../IndexerLeaderboardType-DAKw2tfI.js";
|
|
4
|
+
import { a as NadoTransferQuoteTx, i as NadoMatchOrdersTx, n as NadoLiquidateSubaccountTx, o as NadoTx, r as NadoMatchOrdersRfqTx, s as NadoWithdrawCollateralTx, t as NadoDepositCollateralTx } from "../NadoTx-CWCklgY4.js";
|
|
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-DPHMUSZe.js";
|
|
6
|
+
import { $ as IndexerServerPerpPrices, A as IndexerServerLeaderboardRegistrationsResponse, B as IndexerServerMarketSnapshotsResponse, C as IndexerServerLeaderboardContestsResponse, Ct as IndexerServerV2Symbol, D as IndexerServerLeaderboardRegisterParams, E as IndexerServerLeaderboardRankResponse, Et as IndexerServerV2TickersResponse, F as IndexerServerListSubaccountsParams, G as IndexerServerMultiSubaccountSnapshotsParams, H as IndexerServerMatchEventsResponse, I as IndexerServerListSubaccountsResponse, J as IndexerServerNlpSnapshotsResponse, K as IndexerServerMultiSubaccountSnapshotsResponse, L as IndexerServerMakerStatisticsParams, M as IndexerServerLinkedSignerParams, N as IndexerServerLinkedSignerResponse, O as IndexerServerLeaderboardRegisterResponse, P as IndexerServerListSocialAccountsParams, Q as IndexerServerOrdersResponse, R as IndexerServerMakerStatisticsResponse, S as IndexerServerLeaderboardContestsParams, St as IndexerServerV2MarketHours, T as IndexerServerLeaderboardRankParams, Tt as IndexerServerV2TickerResponse, U as IndexerServerMultiProductsParams, V as IndexerServerMatchEventsParams, W as IndexerServerMultiProductsResponse, X as IndexerServerOraclePricesResponse, Y as IndexerServerOraclePricesParams, Z as IndexerServerOrdersParams, _ as IndexerServerFundingRateResponse, _t as IndexerServerRevokeSocialAccountParams, a as IndexerServerAllTimePoints, at as IndexerServerPriceParams, b as IndexerServerInterestFundingParams, bt as IndexerServerSocialConnectResponse, c as IndexerServerCandlesticksResponse, ct as IndexerServerPrivateAlphaChoiceResponse, d as IndexerServerEventsParams, dt as IndexerServerQueryRequestByType, et as IndexerServerPerpPricesParams, f as IndexerServerEventsResponse, ft as IndexerServerQueryRequestType, g as IndexerServerFundingRateParams, gt as IndexerServerReferralCodeResponse, h as IndexerServerFundingRate, ht as IndexerServerReferralCodeParams, i as IndexerEdgeServerMarketSnapshotsResponse, it as IndexerServerPointsResponse, j as IndexerServerLeaderboardResponse, k as IndexerServerLeaderboardRegistrationsParams, l as IndexerServerDDAQueryParams, lt as IndexerServerProductsParams, m as IndexerServerFastWithdrawalSignatureResponse, mt as IndexerServerQuotePriceResponse, n as IndexerEdgeServerCandlesticksResponse, nt as IndexerServerPointsEpoch, o as IndexerServerBacklogResponse, ot as IndexerServerPriceResponse, p as IndexerServerFastWithdrawalSignatureParams, pt as IndexerServerQueryResponseByType, q as IndexerServerNlpSnapshotsParams, r as IndexerEdgeServerMarketSnapshotsParams, rt as IndexerServerPointsParams, s as IndexerServerCandlesticksParams, st as IndexerServerPrivateAlphaChoiceParams, t as IndexerEdgeServerCandlesticksParams, tt as IndexerServerPerpPricesResponse, u as IndexerServerDDAResponse, ut as IndexerServerProductsResponse, v as IndexerServerFundingRatesParams, vt as IndexerServerSocialAccountsResponse, w as IndexerServerLeaderboardParams, wt as IndexerServerV2SymbolsResponse, x as IndexerServerInterestFundingResponse, xt as IndexerServerTriggerTypeFilter, y as IndexerServerFundingRatesResponse, yt as IndexerServerSocialConnectParams, z as IndexerServerMarketSnapshotsParams } from "../serverTypes-c8IABU73.js";
|
|
7
|
+
import { $ as GetIndexerPointsResponse, $t as RegisterLeaderboardResponse, A as GetIndexerMakerStatisticsParams, At as IndexerMatchEventBalances, B as GetIndexerMultiProductSnapshotsParams, Bt as IndexerSnapshotsIntervalParams, C as GetIndexerLeaderboardParticipantParams, Ct as IndexerLeaderboardParticipant, D as GetIndexerLeaderboardResponse, Dt as IndexerMakerSnapshot, E as GetIndexerLeaderboardRegistrationsResponse, Et as IndexerMaker, F as GetIndexerMatchEventsResponse, Ft as IndexerPerpPrices, G as GetIndexerNlpSnapshotsResponse, Gt as IndexerV2Symbol, H as GetIndexerMultiSubaccountSnapshotsParams, Ht as IndexerSpotBalance, I as GetIndexerMultiProductFundingRatesParams, It as IndexerPointsEpoch, J as GetIndexerOrdersParams, Jt as ListIndexerSocialAccountsParams, K as GetIndexerOraclePricesParams, Kt as IndexerV2TickerResponse, L as GetIndexerMultiProductFundingRatesResponse, Lt as IndexerProductPayment, M as GetIndexerMarketSnapshotsParams, Mt as IndexerOraclePrice, N as GetIndexerMarketSnapshotsResponse, Nt as IndexerOrder, O as GetIndexerLinkedSignerParams, Ot as IndexerMarketSnapshot, P as GetIndexerMatchEventsParams, Pt as IndexerPerpBalance, Q as GetIndexerPointsParams, Qt as RegisterLeaderboardParams, R as GetIndexerMultiProductPerpPricesParams, Rt as IndexerProductSnapshot, S as GetIndexerLeaderboardParams, St as IndexerLeaderboardContestTrack, T as GetIndexerLeaderboardRegistrationsParams, Tt as IndexerLeaderboardTrackPosition, U as GetIndexerMultiSubaccountSnapshotsResponse, Ut as IndexerSubaccountSnapshot, V as GetIndexerMultiProductSnapshotsResponse, Vt as IndexerSocialAccountInfo, W as GetIndexerNlpSnapshotsParams, Wt as IndexerV2MarketHours, X as GetIndexerPerpPricesParams, Xt as ListIndexerSubaccountsParams, Y as GetIndexerOrdersResponse, Yt as ListIndexerSocialAccountsResponse, Z as GetIndexerPerpPricesResponse, Zt as ListIndexerSubaccountsResponse, _ as GetIndexerFundingRateResponse, _t as IndexerEventPerpStateSnapshot, a as GetIndexerCandlesticksParams, at as GetIndexerReferralCodeParams, b as GetIndexerLeaderboardContestsParams, bt as IndexerFundingRate, c as GetIndexerEdgeCandlesticksResponse, ct as GetIndexerSubaccountDDAResponse, d as GetIndexerEventsLimitType, dt as GetIndexerV2TickersParams, en as RevokeSocialAccountParams, et as GetIndexerPrivateAlphaChoiceParams, f as GetIndexerEventsParams, ft as GetIndexerV2TickersResponse, g as GetIndexerFundingRateParams, gt as IndexerEventBalanceStateSnapshot, h as GetIndexerFastWithdrawalSignatureResponse, ht as IndexerEvent, i as GetIndexerBacklogResponse, it as GetIndexerQuotePriceResponse, j as GetIndexerMakerStatisticsResponse, jt as IndexerNlpSnapshot, k as GetIndexerLinkedSignerResponse, kt as IndexerMatchEvent, l as GetIndexerEdgeMarketSnapshotResponse, lt as GetIndexerV2SymbolsParams, m as GetIndexerFastWithdrawalSignatureParams, mt as IndexerBalanceTrackedVars, n as ConnectSocialAccountParams, nn as TickerMarketType, nt as GetIndexerProductSnapshotsParams, o as GetIndexerCandlesticksResponse, ot as GetIndexerReferralCodeResponse, p as GetIndexerEventsResponse, pt as IndexerAllTimePoints, q as GetIndexerOraclePricesResponse, qt as IndexerV2TradingStatus, r as ConnectSocialAccountResponse, rt as GetIndexerProductSnapshotsResponse, s as GetIndexerEdgeCandlesticksParams, st as GetIndexerSubaccountDDAParams, t as Candlestick, tn as RevokeSocialAccountResponse, tt as GetIndexerPrivateAlphaChoiceResponse, u as GetIndexerEdgeMarketSnapshotsParams, ut as GetIndexerV2SymbolsResponse, v as GetIndexerInterestFundingPaymentsParams, vt as IndexerEventSpotStateSnapshot, w as GetIndexerLeaderboardParticipantResponse, wt as IndexerLeaderboardRegistration, x as GetIndexerLeaderboardContestsResponse, xt as IndexerLeaderboardContest, y as GetIndexerInterestFundingPaymentsResponse, yt as IndexerEventWithTx, z as GetIndexerMultiProductPerpPricesResponse, zt as IndexerSnapshotBalance } from "../clientTypes-BpxOUu1q.js";
|
|
8
|
+
import { t as CollateralEventType } from "../collateralEventType-CzH_2iTV.js";
|
|
9
|
+
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-RwXoQrEa.js";
|
|
10
|
+
export { BaseIndexerPaginatedEvent, Candlestick, CandlestickPeriod, CollateralEventType, ConnectSocialAccountParams, ConnectSocialAccountResponse, GetIndexerBacklogResponse, GetIndexerCandlesticksParams, GetIndexerCandlesticksResponse, GetIndexerEdgeCandlesticksParams, GetIndexerEdgeCandlesticksResponse, GetIndexerEdgeMarketSnapshotResponse, GetIndexerEdgeMarketSnapshotsParams, GetIndexerEventsLimitType, GetIndexerEventsParams, GetIndexerEventsResponse, GetIndexerFastWithdrawalSignatureParams, GetIndexerFastWithdrawalSignatureResponse, 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, GetIndexerPrivateAlphaChoiceParams, GetIndexerPrivateAlphaChoiceResponse, GetIndexerProductSnapshotsParams, GetIndexerProductSnapshotsResponse, GetIndexerQuotePriceResponse, GetIndexerReferralCodeParams, GetIndexerReferralCodeResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountDDAParams, GetIndexerSubaccountDDAResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, GetIndexerV2SymbolsParams, GetIndexerV2SymbolsResponse, GetIndexerV2TickersParams, GetIndexerV2TickersResponse, IndexerAllTimePoints, IndexerBalanceTrackedVars, IndexerCollateralEvent, IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerEvent, IndexerEventBalanceStateSnapshot, IndexerEventPerpStateSnapshot, IndexerEventSpotStateSnapshot, IndexerEventType, IndexerEventWithTx, IndexerFundingRate, IndexerLeaderboardContest, IndexerLeaderboardContestTrack, IndexerLeaderboardParticipant, IndexerLeaderboardRankType, IndexerLeaderboardRegistration, IndexerLeaderboardTrackPosition, IndexerLiquidationEvent, IndexerMaker, IndexerMakerSnapshot, IndexerMarketSnapshot, IndexerMatchEvent, IndexerMatchEventBalances, IndexerNlpEvent, IndexerNlpSnapshot, IndexerOraclePrice, IndexerOrder, IndexerPaginationMeta, IndexerPaginationParams, IndexerPerpBalance, IndexerPerpPrices, IndexerPointsEpoch, IndexerProductPayment, IndexerProductSnapshot, IndexerServerAllTimePoints, IndexerServerBacklogResponse, IndexerServerBalance, IndexerServerCandlestick, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerDDAQueryParams, IndexerServerDDAResponse, IndexerServerEvent, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, 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, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerPrivateAlphaChoiceParams, IndexerServerPrivateAlphaChoiceResponse, IndexerServerProduct, IndexerServerProductPayment, IndexerServerProductSnapshot, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerQuotePriceResponse, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerRevokeSocialAccountParams, IndexerServerSnapshotsInterval, IndexerServerSocialAccount, IndexerServerSocialAccountsResponse, IndexerServerSocialConnectParams, IndexerServerSocialConnectResponse, IndexerServerTriggerTypeFilter, IndexerServerTx, IndexerServerV2MarketHours, IndexerServerV2Symbol, IndexerServerV2SymbolsResponse, IndexerServerV2TickerResponse, IndexerServerV2TickersResponse, IndexerSettlementEvent, IndexerSnapshotBalance, IndexerSnapshotsIntervalParams, IndexerSocialAccountInfo, IndexerSpotBalance, IndexerSubaccountSnapshot, IndexerV2MarketHours, IndexerV2Symbol, IndexerV2TickerResponse, IndexerV2TradingStatus, ListIndexerSocialAccountsParams, ListIndexerSocialAccountsResponse, ListIndexerSubaccountsParams, ListIndexerSubaccountsResponse, NadoDepositCollateralTx, NadoLiquidateSubaccountTx, NadoMatchOrdersRfqTx, NadoMatchOrdersTx, NadoTransferQuoteTx, NadoTx, NadoWithdrawCollateralTx, PaginatedIndexerEventsResponse, RegisterLeaderboardParams, RegisterLeaderboardResponse, RevokeSocialAccountParams, RevokeSocialAccountResponse, TickerMarketType, WithPaginationMeta };
|
package/dist/types/index.js
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export * from "./clientTypes.js";
|
|
4
|
-
export * from "./collateralEventType.js";
|
|
5
|
-
export * from "./IndexerEventType.js";
|
|
6
|
-
export * from "./IndexerLeaderboardType.js";
|
|
7
|
-
export * from "./NadoTx.js";
|
|
8
|
-
export * from "./paginatedEventsTypes.js";
|
|
9
|
-
export * from "./serverModelTypes.js";
|
|
10
|
-
export * from "./serverTypes.js";
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { CandlestickPeriod } from "./CandlestickPeriod.js";
|
|
2
|
+
export { CandlestickPeriod };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/types/paginatedEventsTypes.ts
|
|
17
|
-
var paginatedEventsTypes_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(paginatedEventsTypes_exports);
|
|
19
|
-
//# sourceMappingURL=paginatedEventsTypes.cjs.map
|
|
@@ -1,115 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { CollateralEventType } from './collateralEventType.cjs';
|
|
4
|
-
import './IndexerEventType.cjs';
|
|
5
|
-
import './IndexerLeaderboardType.cjs';
|
|
6
|
-
import { NadoTx } from './NadoTx.cjs';
|
|
7
|
-
import { Subaccount } from '@nadohq/shared';
|
|
8
|
-
import BigNumber from 'bignumber.js';
|
|
9
|
-
import './serverModelTypes.cjs';
|
|
10
|
-
import './serverTypes.cjs';
|
|
11
|
-
import 'viem';
|
|
12
|
-
import '@nadohq/engine-client';
|
|
13
|
-
|
|
14
|
-
interface IndexerPaginationParams {
|
|
15
|
-
limit: number;
|
|
16
|
-
startCursor?: string;
|
|
17
|
-
}
|
|
18
|
-
interface IndexerPaginationMeta {
|
|
19
|
-
hasMore: boolean;
|
|
20
|
-
nextCursor?: string;
|
|
21
|
-
}
|
|
22
|
-
type WithPaginationMeta = {
|
|
23
|
-
meta: IndexerPaginationMeta;
|
|
24
|
-
};
|
|
25
|
-
type BaseSubaccountPaginationParams = Subaccount & IndexerPaginationParams & {
|
|
26
|
-
/**
|
|
27
|
-
* If provided, only events with a timestamp in seconds <= this value will be returned
|
|
28
|
-
* Specifying `startCursor` will supercede this value
|
|
29
|
-
*/
|
|
30
|
-
maxTimestampInclusive?: number;
|
|
31
|
-
};
|
|
32
|
-
interface BaseIndexerPaginatedEvent extends Subaccount {
|
|
33
|
-
timestamp: BigNumber;
|
|
34
|
-
submissionIndex: string;
|
|
35
|
-
tx: NadoTx;
|
|
36
|
-
}
|
|
37
|
-
interface PaginatedIndexerEventsResponse<T extends BaseIndexerPaginatedEvent> extends WithPaginationMeta {
|
|
38
|
-
events: T[];
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Collateral
|
|
42
|
-
*/
|
|
43
|
-
interface GetIndexerSubaccountCollateralEventsParams extends BaseSubaccountPaginationParams {
|
|
44
|
-
eventTypes?: CollateralEventType[];
|
|
45
|
-
isolated?: boolean;
|
|
46
|
-
}
|
|
47
|
-
interface IndexerCollateralEvent extends BaseIndexerPaginatedEvent {
|
|
48
|
-
eventType: CollateralEventType;
|
|
49
|
-
amount: BigNumber;
|
|
50
|
-
newAmount: BigNumber;
|
|
51
|
-
snapshot: IndexerEventSpotStateSnapshot;
|
|
52
|
-
}
|
|
53
|
-
type GetIndexerSubaccountCollateralEventsResponse = PaginatedIndexerEventsResponse<IndexerCollateralEvent>;
|
|
54
|
-
/**
|
|
55
|
-
* NLP
|
|
56
|
-
*/
|
|
57
|
-
type GetIndexerSubaccountNlpEventsParams = BaseSubaccountPaginationParams;
|
|
58
|
-
interface IndexerNlpEvent extends BaseIndexerPaginatedEvent {
|
|
59
|
-
nlpDelta: BigNumber;
|
|
60
|
-
primaryQuoteDelta: BigNumber;
|
|
61
|
-
}
|
|
62
|
-
type GetIndexerSubaccountNlpEventsResponse = PaginatedIndexerEventsResponse<IndexerNlpEvent>;
|
|
63
|
-
/**
|
|
64
|
-
* Match events
|
|
65
|
-
*/
|
|
66
|
-
type GetIndexerSubaccountMatchEventParams = BaseSubaccountPaginationParams & Pick<GetIndexerMatchEventsParams, 'productIds' | 'isolated'>;
|
|
67
|
-
type GetIndexerSubaccountMatchEventsResponse = PaginatedIndexerEventsResponse<IndexerMatchEvent>;
|
|
68
|
-
/**
|
|
69
|
-
* Orders
|
|
70
|
-
*/
|
|
71
|
-
type GetIndexerPaginatedOrdersParams = BaseSubaccountPaginationParams & Pick<GetIndexerOrdersParams, 'productIds' | 'triggerTypes' | 'isolated'>;
|
|
72
|
-
interface GetIndexerPaginatedOrdersResponse {
|
|
73
|
-
orders: IndexerOrder[];
|
|
74
|
-
meta: IndexerPaginationMeta;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Liquidations
|
|
78
|
-
*/
|
|
79
|
-
type GetIndexerSubaccountLiquidationEventsParams = BaseSubaccountPaginationParams & Pick<GetIndexerOrdersParams, 'productIds'>;
|
|
80
|
-
type WithIndexerEvent<TData, TStateType extends IndexerEventBalanceStateSnapshot> = TData & {
|
|
81
|
-
indexerEvent: IndexerEventWithTx<TStateType>;
|
|
82
|
-
};
|
|
83
|
-
interface IndexerLiquidationEvent extends BaseIndexerPaginatedEvent {
|
|
84
|
-
spot?: WithIndexerEvent<{
|
|
85
|
-
amountLiquidated: BigNumber;
|
|
86
|
-
}, IndexerEventSpotStateSnapshot>;
|
|
87
|
-
perp?: WithIndexerEvent<{
|
|
88
|
-
amountLiquidated: BigNumber;
|
|
89
|
-
}, IndexerEventPerpStateSnapshot>;
|
|
90
|
-
quote: WithIndexerEvent<{
|
|
91
|
-
balanceDelta: BigNumber;
|
|
92
|
-
}, IndexerEventSpotStateSnapshot>;
|
|
93
|
-
}
|
|
94
|
-
type GetIndexerSubaccountLiquidationEventsResponse = PaginatedIndexerEventsResponse<IndexerLiquidationEvent>;
|
|
95
|
-
/**
|
|
96
|
-
* Settlement
|
|
97
|
-
*/
|
|
98
|
-
type GetIndexerSubaccountSettlementEventsParams = BaseSubaccountPaginationParams;
|
|
99
|
-
interface IndexerSettlementEvent extends BaseIndexerPaginatedEvent {
|
|
100
|
-
quoteDelta: BigNumber;
|
|
101
|
-
snapshot: IndexerEventPerpStateSnapshot;
|
|
102
|
-
isolated: boolean;
|
|
103
|
-
}
|
|
104
|
-
type GetIndexerSubaccountSettlementEventsResponse = PaginatedIndexerEventsResponse<IndexerSettlementEvent>;
|
|
105
|
-
/**
|
|
106
|
-
* Interest / Funding
|
|
107
|
-
*/
|
|
108
|
-
type GetIndexerSubaccountInterestFundingPaymentsParams = BaseSubaccountPaginationParams & Pick<GetIndexerInterestFundingPaymentsParams, 'productIds' | 'startCursor'>;
|
|
109
|
-
interface GetIndexerPaginatedInterestFundingPaymentsResponse extends GetIndexerInterestFundingPaymentsResponse {
|
|
110
|
-
meta: IndexerPaginationMeta;
|
|
111
|
-
}
|
|
112
|
-
type GetIndexerPaginatedLeaderboardParams = IndexerPaginationParams & Pick<GetIndexerLeaderboardParams, 'contestId' | 'rankType'>;
|
|
113
|
-
type GetIndexerPaginatedLeaderboardResponse = WithPaginationMeta & GetIndexerLeaderboardResponse;
|
|
114
|
-
|
|
115
|
-
export type { BaseIndexerPaginatedEvent, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, IndexerCollateralEvent, IndexerLiquidationEvent, IndexerNlpEvent, IndexerPaginationMeta, IndexerPaginationParams, IndexerSettlementEvent, PaginatedIndexerEventsResponse, WithPaginationMeta };
|
|
1
|
+
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-DtGDU-kI.cjs";
|
|
2
|
+
export { BaseIndexerPaginatedEvent, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, IndexerCollateralEvent, IndexerLiquidationEvent, IndexerNlpEvent, IndexerPaginationMeta, IndexerPaginationParams, IndexerSettlementEvent, PaginatedIndexerEventsResponse, WithPaginationMeta };
|
|
@@ -1,115 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { CollateralEventType } from './collateralEventType.js';
|
|
4
|
-
import './IndexerEventType.js';
|
|
5
|
-
import './IndexerLeaderboardType.js';
|
|
6
|
-
import { NadoTx } from './NadoTx.js';
|
|
7
|
-
import { Subaccount } from '@nadohq/shared';
|
|
8
|
-
import BigNumber from 'bignumber.js';
|
|
9
|
-
import './serverModelTypes.js';
|
|
10
|
-
import './serverTypes.js';
|
|
11
|
-
import 'viem';
|
|
12
|
-
import '@nadohq/engine-client';
|
|
13
|
-
|
|
14
|
-
interface IndexerPaginationParams {
|
|
15
|
-
limit: number;
|
|
16
|
-
startCursor?: string;
|
|
17
|
-
}
|
|
18
|
-
interface IndexerPaginationMeta {
|
|
19
|
-
hasMore: boolean;
|
|
20
|
-
nextCursor?: string;
|
|
21
|
-
}
|
|
22
|
-
type WithPaginationMeta = {
|
|
23
|
-
meta: IndexerPaginationMeta;
|
|
24
|
-
};
|
|
25
|
-
type BaseSubaccountPaginationParams = Subaccount & IndexerPaginationParams & {
|
|
26
|
-
/**
|
|
27
|
-
* If provided, only events with a timestamp in seconds <= this value will be returned
|
|
28
|
-
* Specifying `startCursor` will supercede this value
|
|
29
|
-
*/
|
|
30
|
-
maxTimestampInclusive?: number;
|
|
31
|
-
};
|
|
32
|
-
interface BaseIndexerPaginatedEvent extends Subaccount {
|
|
33
|
-
timestamp: BigNumber;
|
|
34
|
-
submissionIndex: string;
|
|
35
|
-
tx: NadoTx;
|
|
36
|
-
}
|
|
37
|
-
interface PaginatedIndexerEventsResponse<T extends BaseIndexerPaginatedEvent> extends WithPaginationMeta {
|
|
38
|
-
events: T[];
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Collateral
|
|
42
|
-
*/
|
|
43
|
-
interface GetIndexerSubaccountCollateralEventsParams extends BaseSubaccountPaginationParams {
|
|
44
|
-
eventTypes?: CollateralEventType[];
|
|
45
|
-
isolated?: boolean;
|
|
46
|
-
}
|
|
47
|
-
interface IndexerCollateralEvent extends BaseIndexerPaginatedEvent {
|
|
48
|
-
eventType: CollateralEventType;
|
|
49
|
-
amount: BigNumber;
|
|
50
|
-
newAmount: BigNumber;
|
|
51
|
-
snapshot: IndexerEventSpotStateSnapshot;
|
|
52
|
-
}
|
|
53
|
-
type GetIndexerSubaccountCollateralEventsResponse = PaginatedIndexerEventsResponse<IndexerCollateralEvent>;
|
|
54
|
-
/**
|
|
55
|
-
* NLP
|
|
56
|
-
*/
|
|
57
|
-
type GetIndexerSubaccountNlpEventsParams = BaseSubaccountPaginationParams;
|
|
58
|
-
interface IndexerNlpEvent extends BaseIndexerPaginatedEvent {
|
|
59
|
-
nlpDelta: BigNumber;
|
|
60
|
-
primaryQuoteDelta: BigNumber;
|
|
61
|
-
}
|
|
62
|
-
type GetIndexerSubaccountNlpEventsResponse = PaginatedIndexerEventsResponse<IndexerNlpEvent>;
|
|
63
|
-
/**
|
|
64
|
-
* Match events
|
|
65
|
-
*/
|
|
66
|
-
type GetIndexerSubaccountMatchEventParams = BaseSubaccountPaginationParams & Pick<GetIndexerMatchEventsParams, 'productIds' | 'isolated'>;
|
|
67
|
-
type GetIndexerSubaccountMatchEventsResponse = PaginatedIndexerEventsResponse<IndexerMatchEvent>;
|
|
68
|
-
/**
|
|
69
|
-
* Orders
|
|
70
|
-
*/
|
|
71
|
-
type GetIndexerPaginatedOrdersParams = BaseSubaccountPaginationParams & Pick<GetIndexerOrdersParams, 'productIds' | 'triggerTypes' | 'isolated'>;
|
|
72
|
-
interface GetIndexerPaginatedOrdersResponse {
|
|
73
|
-
orders: IndexerOrder[];
|
|
74
|
-
meta: IndexerPaginationMeta;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Liquidations
|
|
78
|
-
*/
|
|
79
|
-
type GetIndexerSubaccountLiquidationEventsParams = BaseSubaccountPaginationParams & Pick<GetIndexerOrdersParams, 'productIds'>;
|
|
80
|
-
type WithIndexerEvent<TData, TStateType extends IndexerEventBalanceStateSnapshot> = TData & {
|
|
81
|
-
indexerEvent: IndexerEventWithTx<TStateType>;
|
|
82
|
-
};
|
|
83
|
-
interface IndexerLiquidationEvent extends BaseIndexerPaginatedEvent {
|
|
84
|
-
spot?: WithIndexerEvent<{
|
|
85
|
-
amountLiquidated: BigNumber;
|
|
86
|
-
}, IndexerEventSpotStateSnapshot>;
|
|
87
|
-
perp?: WithIndexerEvent<{
|
|
88
|
-
amountLiquidated: BigNumber;
|
|
89
|
-
}, IndexerEventPerpStateSnapshot>;
|
|
90
|
-
quote: WithIndexerEvent<{
|
|
91
|
-
balanceDelta: BigNumber;
|
|
92
|
-
}, IndexerEventSpotStateSnapshot>;
|
|
93
|
-
}
|
|
94
|
-
type GetIndexerSubaccountLiquidationEventsResponse = PaginatedIndexerEventsResponse<IndexerLiquidationEvent>;
|
|
95
|
-
/**
|
|
96
|
-
* Settlement
|
|
97
|
-
*/
|
|
98
|
-
type GetIndexerSubaccountSettlementEventsParams = BaseSubaccountPaginationParams;
|
|
99
|
-
interface IndexerSettlementEvent extends BaseIndexerPaginatedEvent {
|
|
100
|
-
quoteDelta: BigNumber;
|
|
101
|
-
snapshot: IndexerEventPerpStateSnapshot;
|
|
102
|
-
isolated: boolean;
|
|
103
|
-
}
|
|
104
|
-
type GetIndexerSubaccountSettlementEventsResponse = PaginatedIndexerEventsResponse<IndexerSettlementEvent>;
|
|
105
|
-
/**
|
|
106
|
-
* Interest / Funding
|
|
107
|
-
*/
|
|
108
|
-
type GetIndexerSubaccountInterestFundingPaymentsParams = BaseSubaccountPaginationParams & Pick<GetIndexerInterestFundingPaymentsParams, 'productIds' | 'startCursor'>;
|
|
109
|
-
interface GetIndexerPaginatedInterestFundingPaymentsResponse extends GetIndexerInterestFundingPaymentsResponse {
|
|
110
|
-
meta: IndexerPaginationMeta;
|
|
111
|
-
}
|
|
112
|
-
type GetIndexerPaginatedLeaderboardParams = IndexerPaginationParams & Pick<GetIndexerLeaderboardParams, 'contestId' | 'rankType'>;
|
|
113
|
-
type GetIndexerPaginatedLeaderboardResponse = WithPaginationMeta & GetIndexerLeaderboardResponse;
|
|
114
|
-
|
|
115
|
-
export type { BaseIndexerPaginatedEvent, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, IndexerCollateralEvent, IndexerLiquidationEvent, IndexerNlpEvent, IndexerPaginationMeta, IndexerPaginationParams, IndexerSettlementEvent, PaginatedIndexerEventsResponse, WithPaginationMeta };
|
|
1
|
+
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-RwXoQrEa.js";
|
|
2
|
+
export { BaseIndexerPaginatedEvent, GetIndexerPaginatedInterestFundingPaymentsResponse, GetIndexerPaginatedLeaderboardParams, GetIndexerPaginatedLeaderboardResponse, GetIndexerPaginatedOrdersParams, GetIndexerPaginatedOrdersResponse, GetIndexerSubaccountCollateralEventsParams, GetIndexerSubaccountCollateralEventsResponse, GetIndexerSubaccountInterestFundingPaymentsParams, GetIndexerSubaccountLiquidationEventsParams, GetIndexerSubaccountLiquidationEventsResponse, GetIndexerSubaccountMatchEventParams, GetIndexerSubaccountMatchEventsResponse, GetIndexerSubaccountNlpEventsParams, GetIndexerSubaccountNlpEventsResponse, GetIndexerSubaccountSettlementEventsParams, GetIndexerSubaccountSettlementEventsResponse, IndexerCollateralEvent, IndexerLiquidationEvent, IndexerNlpEvent, IndexerPaginationMeta, IndexerPaginationParams, IndexerSettlementEvent, PaginatedIndexerEventsResponse, WithPaginationMeta };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/types/serverModelTypes.ts
|
|
17
|
-
var serverModelTypes_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(serverModelTypes_exports);
|
|
19
|
-
//# sourceMappingURL=serverModelTypes.cjs.map
|