@nadohq/indexer-client 0.1.0-alpha.1 → 0.1.0-alpha.2

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.
Files changed (48) hide show
  1. package/dist/IndexerBaseClient.cjs +3 -3
  2. package/dist/IndexerBaseClient.cjs.map +1 -1
  3. package/dist/IndexerBaseClient.d.cts +2 -2
  4. package/dist/IndexerBaseClient.d.ts +2 -2
  5. package/dist/IndexerBaseClient.js +4 -4
  6. package/dist/IndexerBaseClient.js.map +1 -1
  7. package/dist/IndexerClient.cjs +6 -6
  8. package/dist/IndexerClient.cjs.map +1 -1
  9. package/dist/IndexerClient.d.cts +2 -2
  10. package/dist/IndexerClient.d.ts +2 -2
  11. package/dist/IndexerClient.js +7 -7
  12. package/dist/IndexerClient.js.map +1 -1
  13. package/dist/dataMappers.cjs +3 -3
  14. package/dist/dataMappers.cjs.map +1 -1
  15. package/dist/dataMappers.d.cts +4 -4
  16. package/dist/dataMappers.d.ts +4 -4
  17. package/dist/dataMappers.js +2 -2
  18. package/dist/dataMappers.js.map +1 -1
  19. package/dist/index.d.cts +4 -4
  20. package/dist/index.d.ts +4 -4
  21. package/dist/types/IndexerEventType.cjs.map +1 -1
  22. package/dist/types/IndexerEventType.d.cts +1 -1
  23. package/dist/types/IndexerEventType.d.ts +1 -1
  24. package/dist/types/NadoTx.cjs.map +1 -1
  25. package/dist/types/clientTypes.cjs.map +1 -1
  26. package/dist/types/clientTypes.d.cts +6 -6
  27. package/dist/types/clientTypes.d.ts +6 -6
  28. package/dist/types/index.d.cts +4 -4
  29. package/dist/types/index.d.ts +4 -4
  30. package/dist/types/paginatedEventsTypes.cjs.map +1 -1
  31. package/dist/types/paginatedEventsTypes.d.cts +6 -6
  32. package/dist/types/paginatedEventsTypes.d.ts +6 -6
  33. package/dist/types/serverModelTypes.cjs.map +1 -1
  34. package/dist/types/serverModelTypes.d.cts +3 -3
  35. package/dist/types/serverModelTypes.d.ts +3 -3
  36. package/dist/types/serverTypes.cjs.map +1 -1
  37. package/dist/types/serverTypes.d.cts +7 -7
  38. package/dist/types/serverTypes.d.ts +7 -7
  39. package/package.json +5 -5
  40. package/src/IndexerBaseClient.ts +8 -8
  41. package/src/IndexerClient.ts +15 -15
  42. package/src/dataMappers.ts +5 -5
  43. package/src/types/IndexerEventType.ts +2 -2
  44. package/src/types/NadoTx.ts +1 -1
  45. package/src/types/clientTypes.ts +6 -6
  46. package/src/types/paginatedEventsTypes.ts +6 -6
  47. package/src/types/serverModelTypes.ts +2 -2
  48. package/src/types/serverTypes.ts +6 -6
@@ -2,7 +2,7 @@ import { SignedTx, EIP712LeaderboardAuthenticationValues } from '@nadohq/contrac
2
2
  import { IndexerEventType } from './IndexerEventType.js';
3
3
  import { IndexerLeaderboardRankType } from './IndexerLeaderboardType.js';
4
4
  import { NadoWithdrawCollateralTx } from './NadoTx.js';
5
- import { IndexerServerMarketSnapshotInterval, IndexerServerSnapshotsInterval, IndexerServerEvent, IndexerServerCandlestick, IndexerServerMarketSnapshot, IndexerServerTx, IndexerServerProductPayment, IndexerServerLeaderboardPosition, IndexerServerLeaderboardContest, IndexerServerLeaderboardRegistration, IndexerServerMaker, IndexerServerMatchEvent, IndexerServerOraclePrice, IndexerServerOrder, IndexerServerProductSnapshot, IndexerServerVlpSnapshot } from './serverModelTypes.js';
5
+ import { IndexerServerMarketSnapshotInterval, IndexerServerSnapshotsInterval, IndexerServerEvent, IndexerServerCandlestick, IndexerServerMarketSnapshot, IndexerServerTx, IndexerServerProductPayment, IndexerServerLeaderboardPosition, IndexerServerLeaderboardContest, IndexerServerLeaderboardRegistration, IndexerServerMaker, IndexerServerMatchEvent, IndexerServerOraclePrice, IndexerServerOrder, IndexerServerProductSnapshot, IndexerServerNlpSnapshot } from './serverModelTypes.js';
6
6
  import '@nadohq/engine-client';
7
7
 
8
8
  /**
@@ -130,7 +130,7 @@ interface IndexerServerFastWithdrawalSignatureParams {
130
130
  */
131
131
  idx: number | string;
132
132
  }
133
- interface IndexerServerVlpSnapshotsParams {
133
+ interface IndexerServerNlpSnapshotsParams {
134
134
  interval: IndexerServerSnapshotsInterval;
135
135
  }
136
136
  interface IndexerServerQueryRequestByType {
@@ -161,7 +161,7 @@ interface IndexerServerQueryRequestByType {
161
161
  referral_code: IndexerServerReferralCodeParams;
162
162
  subaccounts: IndexerServerListSubaccountsParams;
163
163
  usdc_price: Record<string, never>;
164
- vlp_snapshots: IndexerServerVlpSnapshotsParams;
164
+ nlp_snapshots: IndexerServerNlpSnapshotsParams;
165
165
  }
166
166
  type IndexerServerQueryRequestType = keyof IndexerServerQueryRequestByType;
167
167
  /**
@@ -259,8 +259,8 @@ interface IndexerServerFastWithdrawalSignatureResponse {
259
259
  tx_bytes: string;
260
260
  signatures: string[];
261
261
  }
262
- interface IndexerServerVlpSnapshotsResponse {
263
- snapshots: IndexerServerVlpSnapshot[];
262
+ interface IndexerServerNlpSnapshotsResponse {
263
+ snapshots: IndexerServerNlpSnapshot[];
264
264
  }
265
265
  interface IndexerServerBacklogResponse {
266
266
  total_txs: string;
@@ -298,7 +298,7 @@ interface IndexerServerQueryResponseByType {
298
298
  referral_code: IndexerServerReferralCodeResponse;
299
299
  subaccounts: IndexerServerListSubaccountsResponse;
300
300
  usdc_price: IndexerServerUsdcPriceResponse;
301
- vlp_snapshots: IndexerServerVlpSnapshotsResponse;
301
+ nlp_snapshots: IndexerServerNlpSnapshotsResponse;
302
302
  }
303
303
 
304
- export type { IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerServerBacklogResponse, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, IndexerServerFundingRateParams, IndexerServerFundingRateResponse, IndexerServerFundingRatesParams, IndexerServerFundingRatesResponse, IndexerServerInterestFundingParams, IndexerServerInterestFundingResponse, IndexerServerLeaderboardContestsParams, IndexerServerLeaderboardContestsResponse, IndexerServerLeaderboardParams, IndexerServerLeaderboardRankParams, IndexerServerLeaderboardRankResponse, IndexerServerLeaderboardRegistrationParams, IndexerServerLeaderboardRegistrationResponse, IndexerServerLeaderboardResponse, IndexerServerLinkedSignerParams, IndexerServerLinkedSignerResponse, IndexerServerListSubaccountsParams, IndexerServerListSubaccountsResponse, IndexerServerMakerStatisticsParams, IndexerServerMakerStatisticsResponse, IndexerServerMarketSnapshotsParams, IndexerServerMarketSnapshotsResponse, IndexerServerMatchEventsParams, IndexerServerMatchEventsResponse, IndexerServerMultiProductsParams, IndexerServerMultiProductsResponse, IndexerServerMultiSubaccountSnapshotsParams, IndexerServerMultiSubaccountSnapshotsResponse, IndexerServerOraclePricesParams, IndexerServerOraclePricesResponse, IndexerServerOrdersParams, IndexerServerOrdersResponse, IndexerServerPerpPrices, IndexerServerPerpPricesParams, IndexerServerPerpPricesResponse, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerUsdcPriceResponse, IndexerServerVlpSnapshotsParams, IndexerServerVlpSnapshotsResponse };
304
+ export type { IndexerEdgeServerCandlesticksParams, IndexerEdgeServerCandlesticksResponse, IndexerEdgeServerMarketSnapshotsParams, IndexerEdgeServerMarketSnapshotsResponse, IndexerServerBacklogResponse, IndexerServerCandlesticksParams, IndexerServerCandlesticksResponse, IndexerServerEventsParams, IndexerServerEventsResponse, IndexerServerFastWithdrawalSignatureParams, IndexerServerFastWithdrawalSignatureResponse, IndexerServerFundingRate, IndexerServerFundingRateParams, IndexerServerFundingRateResponse, IndexerServerFundingRatesParams, IndexerServerFundingRatesResponse, IndexerServerInterestFundingParams, IndexerServerInterestFundingResponse, IndexerServerLeaderboardContestsParams, IndexerServerLeaderboardContestsResponse, IndexerServerLeaderboardParams, IndexerServerLeaderboardRankParams, IndexerServerLeaderboardRankResponse, IndexerServerLeaderboardRegistrationParams, IndexerServerLeaderboardRegistrationResponse, IndexerServerLeaderboardResponse, IndexerServerLinkedSignerParams, IndexerServerLinkedSignerResponse, IndexerServerListSubaccountsParams, IndexerServerListSubaccountsResponse, IndexerServerMakerStatisticsParams, IndexerServerMakerStatisticsResponse, IndexerServerMarketSnapshotsParams, IndexerServerMarketSnapshotsResponse, IndexerServerMatchEventsParams, IndexerServerMatchEventsResponse, IndexerServerMultiProductsParams, IndexerServerMultiProductsResponse, IndexerServerMultiSubaccountSnapshotsParams, IndexerServerMultiSubaccountSnapshotsResponse, IndexerServerNlpSnapshotsParams, IndexerServerNlpSnapshotsResponse, IndexerServerOraclePricesParams, IndexerServerOraclePricesResponse, IndexerServerOrdersParams, IndexerServerOrdersResponse, IndexerServerPerpPrices, IndexerServerPerpPricesParams, IndexerServerPerpPricesResponse, IndexerServerPriceParams, IndexerServerPriceResponse, IndexerServerProductsParams, IndexerServerProductsResponse, IndexerServerQueryRequestByType, IndexerServerQueryRequestType, IndexerServerQueryResponseByType, IndexerServerReferralCodeParams, IndexerServerReferralCodeResponse, IndexerServerUsdcPriceResponse };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadohq/indexer-client",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0-alpha.2",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "> TODO: description",
@@ -37,9 +37,9 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "@nadohq/contracts": "^0.1.0-alpha.1",
41
- "@nadohq/engine-client": "^0.1.0-alpha.1",
42
- "@nadohq/utils": "^0.1.0-alpha.1",
40
+ "@nadohq/contracts": "^0.1.0-alpha.2",
41
+ "@nadohq/engine-client": "^0.1.0-alpha.2",
42
+ "@nadohq/utils": "^0.1.0-alpha.2",
43
43
  "axios": "*",
44
44
  "ts-mixer": "*"
45
45
  },
@@ -49,5 +49,5 @@
49
49
  "devDependencies": {
50
50
  "viem": "*"
51
51
  },
52
- "gitHead": "80100d38c43806d1bb57c9139d9577329467d5db"
52
+ "gitHead": "7ec8ff9383dc6734bb64511b87b0687438d01618"
53
53
  }
@@ -37,7 +37,7 @@ import {
37
37
  mapIndexerPerpPrices,
38
38
  mapIndexerProductPayment,
39
39
  mapIndexerServerProduct,
40
- mapIndexerVlpSnapshot,
40
+ mapIndexerNlpSnapshot,
41
41
  mapSnapshotsIntervalToServerParams,
42
42
  } from './dataMappers';
43
43
  import {
@@ -91,8 +91,8 @@ import {
91
91
  GetIndexerQuotePriceResponse,
92
92
  GetIndexerReferralCodeParams,
93
93
  GetIndexerReferralCodeResponse,
94
- GetIndexerVlpSnapshotsParams,
95
- GetIndexerVlpSnapshotsResponse,
94
+ GetIndexerNlpSnapshotsParams,
95
+ GetIndexerNlpSnapshotsResponse,
96
96
  IndexerEventWithTx,
97
97
  IndexerMatchEvent,
98
98
  IndexerOraclePrice,
@@ -769,10 +769,10 @@ export class IndexerBaseClient {
769
769
  };
770
770
  }
771
771
 
772
- async getVlpSnapshots(
773
- params: GetIndexerVlpSnapshotsParams,
774
- ): Promise<GetIndexerVlpSnapshotsResponse> {
775
- const baseResponse = await this.query('vlp_snapshots', {
772
+ async getNlpSnapshots(
773
+ params: GetIndexerNlpSnapshotsParams,
774
+ ): Promise<GetIndexerNlpSnapshotsResponse> {
775
+ const baseResponse = await this.query('nlp_snapshots', {
776
776
  interval: {
777
777
  count: params.limit,
778
778
  max_time: params.maxTimeInclusive
@@ -783,7 +783,7 @@ export class IndexerBaseClient {
783
783
  });
784
784
 
785
785
  return {
786
- snapshots: baseResponse.snapshots.map(mapIndexerVlpSnapshot),
786
+ snapshots: baseResponse.snapshots.map(mapIndexerNlpSnapshot),
787
787
  };
788
788
  }
789
789
 
@@ -2,7 +2,7 @@ import {
2
2
  ProductEngineType,
3
3
  QUOTE_PRODUCT_ID,
4
4
  subaccountFromHex,
5
- VLP_PRODUCT_ID,
5
+ NLP_PRODUCT_ID,
6
6
  } from '@nadohq/contracts';
7
7
  import { toBigDecimal, toIntegerString } from '@nadohq/utils';
8
8
 
@@ -24,15 +24,15 @@ import {
24
24
  GetIndexerSubaccountMatchEventsResponse,
25
25
  GetIndexerSubaccountSettlementEventsParams,
26
26
  GetIndexerSubaccountSettlementEventsResponse,
27
- GetIndexerSubaccountVlpEventsParams,
28
- GetIndexerSubaccountVlpEventsResponse,
27
+ GetIndexerSubaccountNlpEventsParams,
28
+ GetIndexerSubaccountNlpEventsResponse,
29
29
  IndexerCollateralEvent,
30
30
  IndexerEventPerpStateSnapshot,
31
31
  IndexerEventSpotStateSnapshot,
32
32
  IndexerEventWithTx,
33
33
  IndexerLiquidationEvent,
34
34
  IndexerSettlementEvent,
35
- IndexerVlpEvent,
35
+ IndexerNlpEvent,
36
36
  PaginatedIndexerEventsResponse,
37
37
  } from './types';
38
38
 
@@ -66,9 +66,9 @@ export class IndexerClient extends IndexerBaseClient {
66
66
  return this.getPaginationEventsResponse(events, requestedLimit);
67
67
  }
68
68
 
69
- async getPaginatedSubaccountVlpEvents(
70
- params: GetIndexerSubaccountVlpEventsParams,
71
- ): Promise<GetIndexerSubaccountVlpEventsResponse> {
69
+ async getPaginatedSubaccountNlpEvents(
70
+ params: GetIndexerSubaccountNlpEventsParams,
71
+ ): Promise<GetIndexerSubaccountNlpEventsResponse> {
72
72
  const {
73
73
  startCursor,
74
74
  maxTimestampInclusive,
@@ -77,12 +77,12 @@ export class IndexerClient extends IndexerBaseClient {
77
77
  subaccountOwner,
78
78
  } = params;
79
79
 
80
- // There are 2 events per mint/burn for spot - one associated with the VLP product & the other with the primary quote
80
+ // There are 2 events per mint/burn for spot - one associated with the NLP product & the other with the primary quote
81
81
  const limit = requestedLimit + 1;
82
82
  const baseResponse = await this.getEvents({
83
83
  startCursor,
84
84
  maxTimestampInclusive,
85
- eventTypes: ['mint_vlp', 'burn_vlp'],
85
+ eventTypes: ['mint_nlp', 'burn_nlp'],
86
86
  limit: {
87
87
  type: 'txs',
88
88
  value: limit,
@@ -91,7 +91,7 @@ export class IndexerClient extends IndexerBaseClient {
91
91
  });
92
92
 
93
93
  // Now aggregate results by the submission index, use map to maintain insertion order
94
- const eventsBySubmissionIdx = new Map<string, IndexerVlpEvent>();
94
+ const eventsBySubmissionIdx = new Map<string, IndexerNlpEvent>();
95
95
 
96
96
  baseResponse.forEach((event) => {
97
97
  const mappedEvent = (() => {
@@ -100,8 +100,8 @@ export class IndexerClient extends IndexerBaseClient {
100
100
  return existingEvent;
101
101
  }
102
102
 
103
- const newEvent: IndexerVlpEvent = {
104
- vlpDelta: toBigDecimal(0),
103
+ const newEvent: IndexerNlpEvent = {
104
+ nlpDelta: toBigDecimal(0),
105
105
  primaryQuoteDelta: toBigDecimal(0),
106
106
  timestamp: event.timestamp,
107
107
  submissionIndex: event.submissionIndex,
@@ -120,10 +120,10 @@ export class IndexerClient extends IndexerBaseClient {
120
120
  const productId = event.state.market.productId;
121
121
  if (productId === QUOTE_PRODUCT_ID) {
122
122
  mappedEvent.primaryQuoteDelta = balanceDelta;
123
- } else if (productId === VLP_PRODUCT_ID) {
124
- mappedEvent.vlpDelta = balanceDelta;
123
+ } else if (productId === NLP_PRODUCT_ID) {
124
+ mappedEvent.nlpDelta = balanceDelta;
125
125
  } else {
126
- throw Error(`Invalid product ID for VLP event ${productId}`);
126
+ throw Error(`Invalid product ID for NLP event ${productId}`);
127
127
  }
128
128
  });
129
129
 
@@ -48,10 +48,10 @@ import {
48
48
  IndexerServerProductPayment,
49
49
  IndexerServerSnapshotsInterval,
50
50
  IndexerServerTx,
51
- IndexerServerVlpSnapshot,
51
+ IndexerServerNlpSnapshot,
52
52
  IndexerSnapshotsIntervalParams,
53
53
  IndexerSpotBalance,
54
- IndexerVlpSnapshot,
54
+ IndexerNlpSnapshot,
55
55
  } from './types';
56
56
 
57
57
  export function mapSnapshotsIntervalToServerParams(
@@ -344,9 +344,9 @@ export function mapIndexerMarketSnapshot(
344
344
  };
345
345
  }
346
346
 
347
- export function mapIndexerVlpSnapshot(
348
- snapshot: IndexerServerVlpSnapshot,
349
- ): IndexerVlpSnapshot {
347
+ export function mapIndexerNlpSnapshot(
348
+ snapshot: IndexerServerNlpSnapshot,
349
+ ): IndexerNlpSnapshot {
350
350
  return {
351
351
  submissionIndex: snapshot.submission_idx,
352
352
  timestamp: toBigDecimal(snapshot.timestamp),
@@ -5,5 +5,5 @@ export type IndexerEventType =
5
5
  | 'settle_pnl'
6
6
  | 'match_orders'
7
7
  | 'transfer_quote'
8
- | 'mint_vlp'
9
- | 'burn_vlp';
8
+ | 'mint_nlp'
9
+ | 'burn_nlp';
@@ -60,4 +60,4 @@ export type NadoTx =
60
60
  | {
61
61
  // TODO: Populate all types
62
62
  [key: string]: never;
63
- };
63
+ };
@@ -640,15 +640,15 @@ export interface GetIndexerFastWithdrawalSignatureResponse {
640
640
  }
641
641
 
642
642
  /**
643
- * VLP
643
+ * NLP
644
644
  */
645
645
 
646
- export type GetIndexerVlpSnapshotsParams = IndexerSnapshotsIntervalParams;
646
+ export type GetIndexerNlpSnapshotsParams = IndexerSnapshotsIntervalParams;
647
647
 
648
- export interface IndexerVlpSnapshot {
648
+ export interface IndexerNlpSnapshot {
649
649
  submissionIndex: string;
650
650
  timestamp: BigDecimal;
651
- // Total volume traded by the VLP, in terms of the primary quote
651
+ // Total volume traded by the NLP, in terms of the primary quote
652
652
  cumulativeVolume: BigDecimal;
653
653
  cumulativeTrades: BigDecimal;
654
654
  cumulativeMintAmountUsdc: BigDecimal;
@@ -659,8 +659,8 @@ export interface IndexerVlpSnapshot {
659
659
  depositors: BigDecimal;
660
660
  }
661
661
 
662
- export interface GetIndexerVlpSnapshotsResponse {
663
- snapshots: IndexerVlpSnapshot[];
662
+ export interface GetIndexerNlpSnapshotsResponse {
663
+ snapshots: IndexerNlpSnapshot[];
664
664
  }
665
665
 
666
666
  export interface GetIndexerBacklogResponse {
@@ -75,18 +75,18 @@ export type GetIndexerSubaccountCollateralEventsResponse =
75
75
  PaginatedIndexerEventsResponse<IndexerCollateralEvent>;
76
76
 
77
77
  /**
78
- * VLP
78
+ * NLP
79
79
  */
80
- export type GetIndexerSubaccountVlpEventsParams =
80
+ export type GetIndexerSubaccountNlpEventsParams =
81
81
  BaseSubaccountPaginationParams;
82
82
 
83
- export interface IndexerVlpEvent extends BaseIndexerPaginatedEvent {
84
- vlpDelta: BigDecimal;
83
+ export interface IndexerNlpEvent extends BaseIndexerPaginatedEvent {
84
+ nlpDelta: BigDecimal;
85
85
  primaryQuoteDelta: BigDecimal;
86
86
  }
87
87
 
88
- export type GetIndexerSubaccountVlpEventsResponse =
89
- PaginatedIndexerEventsResponse<IndexerVlpEvent>;
88
+ export type GetIndexerSubaccountNlpEventsResponse =
89
+ PaginatedIndexerEventsResponse<IndexerNlpEvent>;
90
90
 
91
91
  /**
92
92
  * Match events
@@ -254,10 +254,10 @@ export interface IndexerServerLeaderboardRegistration {
254
254
  }
255
255
 
256
256
  /**
257
- * VLP
257
+ * NLP
258
258
  */
259
259
 
260
- export interface IndexerServerVlpSnapshot {
260
+ export interface IndexerServerNlpSnapshot {
261
261
  cumulative_burn_usdc: string;
262
262
  cumulative_mint_usdc: string;
263
263
  cumulative_pnl: string;
@@ -21,7 +21,7 @@ import {
21
21
  IndexerServerProductSnapshot,
22
22
  IndexerServerSnapshotsInterval,
23
23
  IndexerServerTx,
24
- IndexerServerVlpSnapshot,
24
+ IndexerServerNlpSnapshot,
25
25
  } from './serverModelTypes';
26
26
 
27
27
  /**
@@ -193,7 +193,7 @@ export interface IndexerServerFastWithdrawalSignatureParams {
193
193
  idx: number | string;
194
194
  }
195
195
 
196
- export interface IndexerServerVlpSnapshotsParams {
196
+ export interface IndexerServerNlpSnapshotsParams {
197
197
  interval: IndexerServerSnapshotsInterval;
198
198
  }
199
199
 
@@ -226,7 +226,7 @@ export interface IndexerServerQueryRequestByType {
226
226
  referral_code: IndexerServerReferralCodeParams;
227
227
  subaccounts: IndexerServerListSubaccountsParams;
228
228
  usdc_price: Record<string, never>;
229
- vlp_snapshots: IndexerServerVlpSnapshotsParams;
229
+ nlp_snapshots: IndexerServerNlpSnapshotsParams;
230
230
  }
231
231
 
232
232
  export type IndexerServerQueryRequestType =
@@ -375,8 +375,8 @@ export interface IndexerServerFastWithdrawalSignatureResponse {
375
375
  signatures: string[];
376
376
  }
377
377
 
378
- export interface IndexerServerVlpSnapshotsResponse {
379
- snapshots: IndexerServerVlpSnapshot[];
378
+ export interface IndexerServerNlpSnapshotsResponse {
379
+ snapshots: IndexerServerNlpSnapshot[];
380
380
  }
381
381
 
382
382
  export interface IndexerServerBacklogResponse {
@@ -423,5 +423,5 @@ export interface IndexerServerQueryResponseByType {
423
423
  referral_code: IndexerServerReferralCodeResponse;
424
424
  subaccounts: IndexerServerListSubaccountsResponse;
425
425
  usdc_price: IndexerServerUsdcPriceResponse;
426
- vlp_snapshots: IndexerServerVlpSnapshotsResponse;
426
+ nlp_snapshots: IndexerServerNlpSnapshotsResponse;
427
427
  }