@grvt/client 1.4.8 → 1.4.10

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 (43) hide show
  1. package/TDG/index.d.ts +10 -1
  2. package/TDG/index.js +33 -0
  3. package/interfaces/codegen/data.interface.d.ts +103 -7
  4. package/interfaces/codegen/data.interface.js +2 -0
  5. package/interfaces/codegen/enum-int.js +2 -1
  6. package/interfaces/codegen/hex-string-map.js +1 -0
  7. package/interfaces/codegen/schema-maps/api_sub_account_trade_aggregation_request.js +4 -2
  8. package/interfaces/codegen/schema-maps/api_vault_burn_tokens_request.d.ts +2 -0
  9. package/interfaces/codegen/schema-maps/api_vault_burn_tokens_request.js +21 -0
  10. package/interfaces/codegen/schema-maps/api_vault_invest_request.d.ts +2 -0
  11. package/interfaces/codegen/schema-maps/api_vault_invest_request.js +21 -0
  12. package/interfaces/codegen/schema-maps/api_vault_investor_summary_request.d.ts +2 -0
  13. package/interfaces/codegen/schema-maps/api_vault_investor_summary_request.js +14 -0
  14. package/interfaces/codegen/schema-maps/api_vault_investor_summary_response.d.ts +2 -0
  15. package/interfaces/codegen/schema-maps/api_vault_investor_summary_response.js +13 -0
  16. package/interfaces/codegen/schema-maps/api_vault_redeem_cancel_request.d.ts +2 -0
  17. package/interfaces/codegen/schema-maps/api_vault_redeem_cancel_request.js +14 -0
  18. package/interfaces/codegen/schema-maps/api_vault_redeem_request.d.ts +2 -0
  19. package/interfaces/codegen/schema-maps/api_vault_redeem_request.js +21 -0
  20. package/interfaces/codegen/schema-maps/api_vault_view_redemption_queue_request.d.ts +2 -0
  21. package/interfaces/codegen/schema-maps/api_vault_view_redemption_queue_request.js +14 -0
  22. package/interfaces/codegen/schema-maps/api_vault_view_redemption_queue_response.d.ts +2 -0
  23. package/interfaces/codegen/schema-maps/api_vault_view_redemption_queue_response.js +13 -0
  24. package/interfaces/codegen/schema-maps/index.d.ts +15 -0
  25. package/interfaces/codegen/schema-maps/index.js +15 -0
  26. package/interfaces/codegen/schema-maps/lp_info_entry.d.ts +2 -0
  27. package/interfaces/codegen/schema-maps/lp_info_entry.js +15 -0
  28. package/interfaces/codegen/schema-maps/snap_sub_account.js +6 -2
  29. package/interfaces/codegen/schema-maps/snap_sub_account_summary.js +6 -2
  30. package/interfaces/codegen/schema-maps/snap_vault_summary.d.ts +2 -0
  31. package/interfaces/codegen/schema-maps/snap_vault_summary.js +23 -0
  32. package/interfaces/codegen/schema-maps/sub_account_trade_aggregation.js +4 -2
  33. package/interfaces/codegen/schema-maps/vault_investor_history.d.ts +2 -0
  34. package/interfaces/codegen/schema-maps/vault_investor_history.js +26 -0
  35. package/interfaces/codegen/schema-maps/vault_investor_summary.d.ts +2 -0
  36. package/interfaces/codegen/schema-maps/vault_investor_summary.js +25 -0
  37. package/interfaces/codegen/schema-maps/vault_lp_info.d.ts +2 -0
  38. package/interfaces/codegen/schema-maps/vault_lp_info.js +14 -0
  39. package/interfaces/codegen/schema-maps/vault_redemption.d.ts +2 -0
  40. package/interfaces/codegen/schema-maps/vault_redemption.js +14 -0
  41. package/interfaces/codegen/schema-maps/vault_redemption_req_view.d.ts +2 -0
  42. package/interfaces/codegen/schema-maps/vault_redemption_req_view.js +16 -0
  43. package/package.json +1 -1
package/TDG/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { type AxiosRequestConfig } from 'axios';
2
- import { type IApiAggregatedAccountSummaryResponse, type IApiCancelAllOrdersRequest, type IApiCancelAllOrdersResponse, type IApiCancelOrderRequest, type IApiCancelOrderResponse, type IApiCreateBulkOrdersRequest, type IApiCreateBulkOrdersResponse, type IApiCreateOrderRequest, type IApiCreateOrderResponse, type IApiDedustPositionRequest, type IApiDedustPositionResponse, type IApiDepositHistoryRequest, type IApiDepositHistoryResponse, type IApiFillHistoryRequest, type IApiFillHistoryResponse, type IApiFundingAccountSummaryResponse, type IApiFundingPaymentHistoryRequest, type IApiFundingPaymentHistoryResponse, type IApiGetAllInitialLeverageRequest, type IApiGetAllInitialLeverageResponse, type IApiGetMarginTiersResponse, type IApiGetOrderGroupRequest, type IApiGetOrderGroupResponse, type IApiGetOrderRequest, type IApiGetOrderResponse, type IApiOpenOrdersRequest, type IApiOpenOrdersResponse, type IApiOrderHistoryRequest, type IApiOrderHistoryResponse, type IApiPositionsRequest, type IApiPositionsResponse, type IApiPreDepositCheckRequest, type IApiPreDepositCheckResponse, type IApiPreOrderCheckRequest, type IApiPreOrderCheckResponse, type IApiQueryListFundingAccountSummaryRequest, type IApiQueryListFundingAccountSummaryResponse, type IApiQueryListSubAccountSummaryRequest, type IApiQueryListSubAccountSummaryResponse, type IApiQueryTradingPerformanceRequest, type IApiQueryTradingPerformanceResponse, type IApiQueryTradingPerformanceTrendRequest, type IApiQueryTradingPerformanceTrendResponse, type IApiReplaceOrdersRequest, type IApiReplaceOrdersResponse, type IApiSetInitialLeverageRequest, type IApiSetInitialLeverageResponse, type IApiSocializedLossStatusResponse, type IApiSubAccountHistoryRequest, type IApiSubAccountHistoryResponse, type IApiSubAccountSummaryRequest, type IApiSubAccountSummaryResponse, type IApiTimedAssetExposureRequest, type IApiTimedAssetExposureResponse, type IApiTransferHistoryRequest, type IApiTransferHistoryResponse, type IApiTransferRequest, type IApiTransferResponse, type IApiWithdrawalHistoryRequest, type IApiWithdrawalHistoryResponse, type IApiWithdrawalRequest, type IConfig } from '../interfaces';
2
+ import { type IAckResponse, type IApiAggregatedAccountSummaryResponse, type IApiCancelAllOrdersRequest, type IApiCancelAllOrdersResponse, type IApiCancelOrderRequest, type IApiCancelOrderResponse, type IApiCreateBulkOrdersRequest, type IApiCreateBulkOrdersResponse, type IApiCreateOrderRequest, type IApiCreateOrderResponse, type IApiDedustPositionRequest, type IApiDedustPositionResponse, type IApiDepositHistoryRequest, type IApiDepositHistoryResponse, type IApiFillHistoryRequest, type IApiFillHistoryResponse, type IApiFundingAccountSummaryResponse, type IApiFundingPaymentHistoryRequest, type IApiFundingPaymentHistoryResponse, type IApiGetAllInitialLeverageRequest, type IApiGetAllInitialLeverageResponse, type IApiGetMarginTiersResponse, type IApiGetOrderGroupRequest, type IApiGetOrderGroupResponse, type IApiGetOrderRequest, type IApiGetOrderResponse, type IApiOpenOrdersRequest, type IApiOpenOrdersResponse, type IApiOrderHistoryRequest, type IApiOrderHistoryResponse, type IApiPositionsRequest, type IApiPositionsResponse, type IApiPreDepositCheckRequest, type IApiPreDepositCheckResponse, type IApiPreOrderCheckRequest, type IApiPreOrderCheckResponse, type IApiQueryListFundingAccountSummaryRequest, type IApiQueryListFundingAccountSummaryResponse, type IApiQueryListSubAccountSummaryRequest, type IApiQueryListSubAccountSummaryResponse, type IApiQueryTradingPerformanceRequest, type IApiQueryTradingPerformanceResponse, type IApiQueryTradingPerformanceTrendRequest, type IApiQueryTradingPerformanceTrendResponse, type IApiReplaceOrdersRequest, type IApiReplaceOrdersResponse, type IApiSetInitialLeverageRequest, type IApiSetInitialLeverageResponse, type IApiSocializedLossStatusResponse, type IApiSubAccountHistoryRequest, type IApiSubAccountHistoryResponse, type IApiSubAccountSummaryRequest, type IApiSubAccountSummaryResponse, type IApiTimedAssetExposureRequest, type IApiTimedAssetExposureResponse, type IApiTransferHistoryRequest, type IApiTransferHistoryResponse, type IApiTransferRequest, type IApiTransferResponse, type IApiVaultBurnTokensRequest, type IApiVaultInvestorSummaryRequest, type IApiVaultInvestorSummaryResponse, type IApiVaultInvestRequest, type IApiVaultRedeemCancelRequest, type IApiVaultRedeemRequest, type IApiVaultViewRedemptionQueueRequest, type IApiVaultViewRedemptionQueueResponse, type IApiWithdrawalHistoryRequest, type IApiWithdrawalHistoryResponse, type IApiWithdrawalRequest, type IConfig } from '../interfaces';
3
3
  export declare class TDG {
4
4
  private readonly _axios;
5
5
  private readonly _fullUrl;
@@ -110,4 +110,13 @@ export declare class TDG {
110
110
  tradingPerformance(payload: IApiQueryTradingPerformanceRequest, config?: AxiosRequestConfig): Promise<IApiQueryTradingPerformanceResponse>;
111
111
  tradingPerformanceTrend(payload: IApiQueryTradingPerformanceTrendRequest, config?: AxiosRequestConfig): Promise<IApiQueryTradingPerformanceTrendResponse>;
112
112
  assetExposure(payload: IApiTimedAssetExposureRequest, config?: AxiosRequestConfig): Promise<IApiTimedAssetExposureResponse>;
113
+ /**
114
+ * START: Vault
115
+ */
116
+ vaultBurnTokens(payload: IApiVaultBurnTokensRequest, config?: AxiosRequestConfig): Promise<IAckResponse>;
117
+ vaultInvest(payload: IApiVaultInvestRequest, config?: AxiosRequestConfig): Promise<IAckResponse>;
118
+ vaultInvestorSummary(payload: IApiVaultInvestorSummaryRequest, config?: AxiosRequestConfig): Promise<IApiVaultInvestorSummaryResponse>;
119
+ vaultRedeem(payload: IApiVaultRedeemRequest, config?: AxiosRequestConfig): Promise<IAckResponse>;
120
+ vaultViewRedemptionQueue(payload: IApiVaultViewRedemptionQueueRequest, config?: AxiosRequestConfig): Promise<IApiVaultViewRedemptionQueueResponse>;
121
+ vaultRedeemCancel(payload: IApiVaultRedeemCancelRequest, config?: AxiosRequestConfig): Promise<IAckResponse>;
113
122
  }
package/TDG/index.js CHANGED
@@ -248,5 +248,38 @@ class TDG {
248
248
  return utils_1.Utils.schemaMap(response.data, interfaces_1.API_TIMED_ASSET_EXPOSURE_RESPONSE_MAP.LITE_TO_FULL);
249
249
  }).catch(utils_1.Utils.coverApiError);
250
250
  }
251
+ /**
252
+ * START: Vault
253
+ */
254
+ vaultBurnTokens(payload, config) {
255
+ return this._axios.post(this._liteUrl + '/vault_burn_tokens', utils_1.Utils.schemaMap(payload, interfaces_1.API_VAULT_BURN_TOKENS_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
256
+ return utils_1.Utils.schemaMap(response.data, interfaces_1.ACK_RESPONSE_MAP.LITE_TO_FULL);
257
+ }).catch(utils_1.Utils.coverApiError);
258
+ }
259
+ vaultInvest(payload, config) {
260
+ return this._axios.post(this._liteUrl + '/vault_invest', utils_1.Utils.schemaMap(payload, interfaces_1.API_VAULT_INVEST_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
261
+ return utils_1.Utils.schemaMap(response.data, interfaces_1.ACK_RESPONSE_MAP.LITE_TO_FULL);
262
+ }).catch(utils_1.Utils.coverApiError);
263
+ }
264
+ vaultInvestorSummary(payload, config) {
265
+ return this._axios.post(this._liteUrl + '/vault_investor_summary', utils_1.Utils.schemaMap(payload, interfaces_1.API_VAULT_INVESTOR_SUMMARY_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
266
+ return utils_1.Utils.schemaMap(response.data, interfaces_1.API_VAULT_INVESTOR_SUMMARY_RESPONSE_MAP.LITE_TO_FULL);
267
+ }).catch(utils_1.Utils.coverApiError);
268
+ }
269
+ vaultRedeem(payload, config) {
270
+ return this._axios.post(this._liteUrl + '/vault_redeem', utils_1.Utils.schemaMap(payload, interfaces_1.API_VAULT_REDEEM_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
271
+ return utils_1.Utils.schemaMap(response.data, interfaces_1.ACK_RESPONSE_MAP.LITE_TO_FULL);
272
+ }).catch(utils_1.Utils.coverApiError);
273
+ }
274
+ vaultViewRedemptionQueue(payload, config) {
275
+ return this._axios.post(this._liteUrl + '/vault_view_redemption_queue', utils_1.Utils.schemaMap(payload, interfaces_1.API_VAULT_VIEW_REDEMPTION_QUEUE_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
276
+ return utils_1.Utils.schemaMap(response.data, interfaces_1.API_VAULT_VIEW_REDEMPTION_QUEUE_RESPONSE_MAP.LITE_TO_FULL);
277
+ }).catch(utils_1.Utils.coverApiError);
278
+ }
279
+ vaultRedeemCancel(payload, config) {
280
+ return this._axios.post(this._liteUrl + '/vault_redeem_cancel', utils_1.Utils.schemaMap(payload, interfaces_1.API_VAULT_REDEEM_CANCEL_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
281
+ return utils_1.Utils.schemaMap(response.data, interfaces_1.ACK_RESPONSE_MAP.LITE_TO_FULL);
282
+ }).catch(utils_1.Utils.coverApiError);
283
+ }
251
284
  }
252
285
  exports.TDG = TDG;
@@ -186,7 +186,8 @@ export declare enum ETimeInterval {
186
186
  INTERVAL_1_D = "INTERVAL_1_D",
187
187
  INTERVAL_7_D = "INTERVAL_7_D",
188
188
  INTERVAL_30_D = "INTERVAL_30_D",
189
- INTERVAL_90_D = "INTERVAL_90_D"
189
+ INTERVAL_90_D = "INTERVAL_90_D",
190
+ INTERVAL_LIFETIME = "INTERVAL_LIFETIME"
190
191
  }
191
192
  export declare enum ETransferType {
192
193
  UNSPECIFIED = "UNSPECIFIED",
@@ -215,8 +216,8 @@ export declare enum EVenue {
215
216
  RFQ = "RFQ"
216
217
  }
217
218
  export interface IAPISettlementPrice {
218
- base?: ECurrency;
219
- quote?: ECurrency;
219
+ base?: string;
220
+ quote?: string;
220
221
  settlement_time?: string;
221
222
  settlement_price?: string;
222
223
  }
@@ -407,8 +408,8 @@ export interface IApiGetEcosystemReferralStatResponse {
407
408
  }
408
409
  export interface IApiGetFilteredInstrumentsRequest {
409
410
  kind?: EKind[];
410
- base?: ECurrency[];
411
- quote?: ECurrency[];
411
+ base?: string[];
412
+ quote?: string[];
412
413
  is_active?: boolean;
413
414
  limit?: number;
414
415
  }
@@ -656,8 +657,8 @@ export interface IApiSetInitialLeverageResponse {
656
657
  success?: boolean;
657
658
  }
658
659
  export interface IApiSettlementPriceRequest {
659
- base?: ECurrency;
660
- quote?: ECurrency;
660
+ base?: string;
661
+ quote?: string;
661
662
  start_time?: string;
662
663
  end_time?: string;
663
664
  limit?: number;
@@ -699,6 +700,7 @@ export interface IApiSubAccountTradeAggregationRequest {
699
700
  is_taker?: boolean;
700
701
  cursor?: string;
701
702
  group_by_signer?: boolean;
703
+ sources?: ESource[];
702
704
  }
703
705
  export interface IApiSubAccountTradeAggregationResponse {
704
706
  result?: ISubAccountTradeAggregation[];
@@ -785,6 +787,45 @@ export interface IApiUserCategoryAffinityScoreRequest {
785
787
  export interface IApiUserCategoryAffinityScoreResponse {
786
788
  result?: IUserCategoryAffinityScore[];
787
789
  }
790
+ export interface IApiVaultBurnTokensRequest {
791
+ main_account_id?: string;
792
+ vault_id?: string;
793
+ currency?: ECurrency;
794
+ num_tokens?: string;
795
+ signature?: ISignature;
796
+ }
797
+ export interface IApiVaultInvestRequest {
798
+ main_account_id?: string;
799
+ vault_id?: string;
800
+ currency?: ECurrency;
801
+ num_tokens?: string;
802
+ signature?: ISignature;
803
+ }
804
+ export interface IApiVaultInvestorSummaryRequest {
805
+ main_account_id?: string;
806
+ vault_id?: string;
807
+ }
808
+ export interface IApiVaultInvestorSummaryResponse {
809
+ vault_investor_summary?: IVaultInvestorSummary[];
810
+ }
811
+ export interface IApiVaultRedeemCancelRequest {
812
+ main_account_id?: string;
813
+ vault_id?: string;
814
+ }
815
+ export interface IApiVaultRedeemRequest {
816
+ main_account_id?: string;
817
+ vault_id?: string;
818
+ currency?: ECurrency;
819
+ num_tokens?: string;
820
+ signature?: ISignature;
821
+ }
822
+ export interface IApiVaultViewRedemptionQueueRequest {
823
+ main_account_id?: string;
824
+ vault_id?: string;
825
+ }
826
+ export interface IApiVaultViewRedemptionQueueResponse {
827
+ redemption_queue?: IVaultRedemptionReqView[];
828
+ }
788
829
  export interface IApiWithdrawalHistoryRequest {
789
830
  currency?: ECurrency[];
790
831
  start_time?: string;
@@ -906,6 +947,8 @@ export interface IEcosystemPoint {
906
947
  referee_kyc_point?: string;
907
948
  referrer_kyc_point?: string;
908
949
  }
950
+ export interface IEmptyRequest {
951
+ }
909
952
  export interface IEpoch {
910
953
  epoch?: number;
911
954
  start_time?: string;
@@ -1055,6 +1098,10 @@ export interface ILPSnapshot {
1055
1098
  liquidity_score?: string;
1056
1099
  calculate_at?: string;
1057
1100
  }
1101
+ export interface ILpInfoEntry {
1102
+ lp_address?: string;
1103
+ info?: IVaultLpInfo;
1104
+ }
1058
1105
  export interface IMainAccIDRequest {
1059
1106
  main_account_id?: string;
1060
1107
  }
@@ -1246,6 +1293,16 @@ export interface ISnapSubAccountSummary {
1246
1293
  total_equity?: string;
1247
1294
  unrealized_pnl?: string;
1248
1295
  positions?: IPositionSummary[];
1296
+ is_vault?: boolean;
1297
+ vault_im_additions?: string;
1298
+ }
1299
+ export interface ISnapVaultSummary {
1300
+ event_time?: string;
1301
+ start_interval?: string;
1302
+ vault_id?: string;
1303
+ lp_infos?: ILpInfoEntry[];
1304
+ total_lp_token_supply?: string;
1305
+ share_price?: string;
1249
1306
  }
1250
1307
  export interface ISpotBalance {
1251
1308
  currency?: ECurrency;
@@ -1269,6 +1326,8 @@ export interface ISubAccount {
1269
1326
  spot_balances?: ISpotBalance[];
1270
1327
  positions?: IPositions[];
1271
1328
  settle_index_price?: string;
1329
+ is_vault?: boolean;
1330
+ vault_im_additions?: string;
1272
1331
  }
1273
1332
  export interface ISubAccountTradeAggregation {
1274
1333
  sub_account_id?: string;
@@ -1278,6 +1337,7 @@ export interface ISubAccountTradeAggregation {
1278
1337
  positive_fee?: string;
1279
1338
  signer?: string;
1280
1339
  realized_pnl?: string;
1340
+ source?: ESource;
1281
1341
  }
1282
1342
  export interface ITPSLOrderMetadata {
1283
1343
  trigger_by?: ETriggerBy;
@@ -1397,6 +1457,29 @@ export interface IVaultInvestResults {
1397
1457
  vault_share_price?: string;
1398
1458
  num_lp_tokens?: string;
1399
1459
  }
1460
+ export interface IVaultInvestorHistory {
1461
+ event_time?: string;
1462
+ main_account_id?: string;
1463
+ vault_id?: string;
1464
+ is_investing?: boolean;
1465
+ price?: string;
1466
+ size?: string;
1467
+ realized_pnl?: string;
1468
+ performance_fee?: string;
1469
+ }
1470
+ export interface IVaultInvestorSummary {
1471
+ sub_account_id?: string;
1472
+ num_lp_tokens?: string;
1473
+ avg_entry_price?: string;
1474
+ current_price?: string;
1475
+ total_equity?: string;
1476
+ all_time_realized_pnl?: string;
1477
+ pending_redemption?: IVaultRedemption;
1478
+ }
1479
+ export interface IVaultLpInfo {
1480
+ lp_token_balance?: string;
1481
+ usd_notional_invested?: string;
1482
+ }
1400
1483
  export interface IVaultManagementFeeTickResults {
1401
1484
  vault_total_equity?: string;
1402
1485
  vault_share_price?: string;
@@ -1422,6 +1505,15 @@ export interface IVaultRedeemResults {
1422
1505
  avg_entry_price?: string;
1423
1506
  fees_charged?: string;
1424
1507
  }
1508
+ export interface IVaultRedemption {
1509
+ num_lp_tokens?: string;
1510
+ request_valuation?: string;
1511
+ }
1512
+ export interface IVaultRedemptionReqView {
1513
+ request_time?: string;
1514
+ currency?: ECurrency;
1515
+ num_lp_tokens?: string;
1516
+ }
1425
1517
  export interface IWSCancelFeedDataV1 {
1426
1518
  stream?: string;
1427
1519
  selector?: string;
@@ -1465,6 +1557,8 @@ export interface IWSFillFeedSelectorV1 {
1465
1557
  sub_account_id?: string;
1466
1558
  instrument?: string;
1467
1559
  }
1560
+ export interface IWSListStreamsParams {
1561
+ }
1468
1562
  export interface IWSListStreamsResult {
1469
1563
  stream_reference?: IStreamReference[];
1470
1564
  }
@@ -1596,6 +1690,8 @@ export interface IWSTransferFeedSelectorV1 {
1596
1690
  main_account_id?: string;
1597
1691
  sub_account_id?: string;
1598
1692
  }
1693
+ export interface IWSUnsubscribeAllParams {
1694
+ }
1599
1695
  export interface IWSUnsubscribeAllResult {
1600
1696
  stream_reference?: IStreamReference[];
1601
1697
  }
@@ -369,6 +369,8 @@ var ETimeInterval;
369
369
  ETimeInterval["INTERVAL_30_D"] = "INTERVAL_30_D";
370
370
  // 90 days
371
371
  ETimeInterval["INTERVAL_90_D"] = "INTERVAL_90_D";
372
+ // Lifetime
373
+ ETimeInterval["INTERVAL_LIFETIME"] = "INTERVAL_LIFETIME";
372
374
  })(ETimeInterval || (exports.ETimeInterval = ETimeInterval = {}));
373
375
  var ETransferType;
374
376
  (function (ETransferType) {
@@ -190,7 +190,8 @@ exports.ETimeIntervalInt = Object.freeze({
190
190
  [data_interface_1.ETimeInterval.INTERVAL_1_D]: 1,
191
191
  [data_interface_1.ETimeInterval.INTERVAL_7_D]: 2,
192
192
  [data_interface_1.ETimeInterval.INTERVAL_30_D]: 3,
193
- [data_interface_1.ETimeInterval.INTERVAL_90_D]: 4
193
+ [data_interface_1.ETimeInterval.INTERVAL_90_D]: 4,
194
+ [data_interface_1.ETimeInterval.INTERVAL_LIFETIME]: 5
194
195
  });
195
196
  exports.ETransferTypeInt = Object.freeze({
196
197
  [data_interface_1.ETransferType.UNSPECIFIED]: 0,
@@ -13,6 +13,7 @@ exports.HexStringMap = [
13
13
  'l_1_hash',
14
14
  'l_2_hash',
15
15
  'liquidity_score',
16
+ 'lp_address',
16
17
  'main_account_id',
17
18
  'maker_trading_volume',
18
19
  'order_i_ds',
@@ -13,7 +13,8 @@ exports.API_SUB_ACCOUNT_TRADE_AGGREGATION_REQUEST_MAP = Object.freeze({
13
13
  is_maker: 'im',
14
14
  is_taker: 'it',
15
15
  cursor: 'c',
16
- group_by_signer: 'gb'
16
+ group_by_signer: 'gb',
17
+ sources: 's'
17
18
  },
18
19
  LITE_TO_FULL: {
19
20
  l: 'limit',
@@ -25,6 +26,7 @@ exports.API_SUB_ACCOUNT_TRADE_AGGREGATION_REQUEST_MAP = Object.freeze({
25
26
  im: 'is_maker',
26
27
  it: 'is_taker',
27
28
  c: 'cursor',
28
- gb: 'group_by_signer'
29
+ gb: 'group_by_signer',
30
+ s: 'sources'
29
31
  }
30
32
  });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_VAULT_BURN_TOKENS_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_VAULT_BURN_TOKENS_REQUEST_MAP = void 0;
4
+ const signature_1 = require("./signature");
5
+ // Schema map for the 'API_VAULT_BURN_TOKENS_REQUEST' struct.
6
+ exports.API_VAULT_BURN_TOKENS_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ main_account_id: 'ma',
9
+ vault_id: 'vi',
10
+ currency: 'c',
11
+ num_tokens: 'nt',
12
+ signature: ['s', signature_1.SIGNATURE_MAP.FULL_TO_LITE]
13
+ },
14
+ LITE_TO_FULL: {
15
+ ma: 'main_account_id',
16
+ vi: 'vault_id',
17
+ c: 'currency',
18
+ nt: 'num_tokens',
19
+ s: ['signature', signature_1.SIGNATURE_MAP.LITE_TO_FULL]
20
+ }
21
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_VAULT_INVEST_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_VAULT_INVEST_REQUEST_MAP = void 0;
4
+ const signature_1 = require("./signature");
5
+ // Schema map for the 'API_VAULT_INVEST_REQUEST' struct.
6
+ exports.API_VAULT_INVEST_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ main_account_id: 'ma',
9
+ vault_id: 'vi',
10
+ currency: 'c',
11
+ num_tokens: 'nt',
12
+ signature: ['s', signature_1.SIGNATURE_MAP.FULL_TO_LITE]
13
+ },
14
+ LITE_TO_FULL: {
15
+ ma: 'main_account_id',
16
+ vi: 'vault_id',
17
+ c: 'currency',
18
+ nt: 'num_tokens',
19
+ s: ['signature', signature_1.SIGNATURE_MAP.LITE_TO_FULL]
20
+ }
21
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_VAULT_INVESTOR_SUMMARY_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_VAULT_INVESTOR_SUMMARY_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_VAULT_INVESTOR_SUMMARY_REQUEST' struct.
5
+ exports.API_VAULT_INVESTOR_SUMMARY_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ main_account_id: 'ma',
8
+ vault_id: 'vi'
9
+ },
10
+ LITE_TO_FULL: {
11
+ ma: 'main_account_id',
12
+ vi: 'vault_id'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_VAULT_INVESTOR_SUMMARY_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_VAULT_INVESTOR_SUMMARY_RESPONSE_MAP = void 0;
4
+ const vault_investor_summary_1 = require("./vault_investor_summary");
5
+ // Schema map for the 'API_VAULT_INVESTOR_SUMMARY_RESPONSE' struct.
6
+ exports.API_VAULT_INVESTOR_SUMMARY_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ vault_investor_summary: ['vi', [vault_investor_summary_1.VAULT_INVESTOR_SUMMARY_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ vi: ['vault_investor_summary', [vault_investor_summary_1.VAULT_INVESTOR_SUMMARY_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_VAULT_REDEEM_CANCEL_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_VAULT_REDEEM_CANCEL_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_VAULT_REDEEM_CANCEL_REQUEST' struct.
5
+ exports.API_VAULT_REDEEM_CANCEL_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ main_account_id: 'ma',
8
+ vault_id: 'vi'
9
+ },
10
+ LITE_TO_FULL: {
11
+ ma: 'main_account_id',
12
+ vi: 'vault_id'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_VAULT_REDEEM_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_VAULT_REDEEM_REQUEST_MAP = void 0;
4
+ const signature_1 = require("./signature");
5
+ // Schema map for the 'API_VAULT_REDEEM_REQUEST' struct.
6
+ exports.API_VAULT_REDEEM_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ main_account_id: 'ma',
9
+ vault_id: 'vi',
10
+ currency: 'c',
11
+ num_tokens: 'nt',
12
+ signature: ['s', signature_1.SIGNATURE_MAP.FULL_TO_LITE]
13
+ },
14
+ LITE_TO_FULL: {
15
+ ma: 'main_account_id',
16
+ vi: 'vault_id',
17
+ c: 'currency',
18
+ nt: 'num_tokens',
19
+ s: ['signature', signature_1.SIGNATURE_MAP.LITE_TO_FULL]
20
+ }
21
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_VAULT_VIEW_REDEMPTION_QUEUE_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_VAULT_VIEW_REDEMPTION_QUEUE_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_VAULT_VIEW_REDEMPTION_QUEUE_REQUEST' struct.
5
+ exports.API_VAULT_VIEW_REDEMPTION_QUEUE_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ main_account_id: 'ma',
8
+ vault_id: 'vi'
9
+ },
10
+ LITE_TO_FULL: {
11
+ ma: 'main_account_id',
12
+ vi: 'vault_id'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_VAULT_VIEW_REDEMPTION_QUEUE_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_VAULT_VIEW_REDEMPTION_QUEUE_RESPONSE_MAP = void 0;
4
+ const vault_redemption_req_view_1 = require("./vault_redemption_req_view");
5
+ // Schema map for the 'API_VAULT_VIEW_REDEMPTION_QUEUE_RESPONSE' struct.
6
+ exports.API_VAULT_VIEW_REDEMPTION_QUEUE_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ redemption_queue: ['rq', [vault_redemption_req_view_1.VAULT_REDEMPTION_REQ_VIEW_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ rq: ['redemption_queue', [vault_redemption_req_view_1.VAULT_REDEMPTION_REQ_VIEW_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -129,6 +129,14 @@ export * from './api_transfer_request';
129
129
  export * from './api_transfer_response';
130
130
  export * from './api_user_category_affinity_score_request';
131
131
  export * from './api_user_category_affinity_score_response';
132
+ export * from './api_vault_burn_tokens_request';
133
+ export * from './api_vault_invest_request';
134
+ export * from './api_vault_investor_summary_request';
135
+ export * from './api_vault_investor_summary_response';
136
+ export * from './api_vault_redeem_cancel_request';
137
+ export * from './api_vault_redeem_request';
138
+ export * from './api_vault_view_redemption_queue_request';
139
+ export * from './api_vault_view_redemption_queue_response';
132
140
  export * from './api_withdrawal_history_request';
133
141
  export * from './api_withdrawal_history_response';
134
142
  export * from './api_withdrawal_request';
@@ -163,6 +171,7 @@ export * from './jsonrpc_request';
163
171
  export * from './jsonrpc_response';
164
172
  export * from './lp_point';
165
173
  export * from './lp_snapshot';
174
+ export * from './lp_info_entry';
166
175
  export * from './main_acc_id_request';
167
176
  export * from './margin_tier_response';
168
177
  export * from './mini_ticker';
@@ -194,6 +203,7 @@ export * from './signature';
194
203
  export * from './snap_account_summary';
195
204
  export * from './snap_funding_account_summary';
196
205
  export * from './snap_sub_account_summary';
206
+ export * from './snap_vault_summary';
197
207
  export * from './api_spot_balance';
198
208
  export * from './stream_reference';
199
209
  export * from './snap_sub_account';
@@ -211,9 +221,14 @@ export * from './user_category_affinity_score';
211
221
  export * from './user_tracking_event';
212
222
  export * from './user_vault_category_event_pay_load';
213
223
  export * from './vault_invest_results';
224
+ export * from './vault_investor_history';
225
+ export * from './vault_investor_summary';
226
+ export * from './vault_lp_info';
214
227
  export * from './vault_management_fee_tick_results';
215
228
  export * from './vault_params';
216
229
  export * from './vault_redeem_results';
230
+ export * from './vault_redemption';
231
+ export * from './vault_redemption_req_view';
217
232
  export * from './ws_cancel_feed_data_v_1';
218
233
  export * from './ws_cancel_feed_selector_v_1';
219
234
  export * from './ws_candlestick_feed_data_v_1';
@@ -145,6 +145,14 @@ __exportStar(require("./api_transfer_request"), exports);
145
145
  __exportStar(require("./api_transfer_response"), exports);
146
146
  __exportStar(require("./api_user_category_affinity_score_request"), exports);
147
147
  __exportStar(require("./api_user_category_affinity_score_response"), exports);
148
+ __exportStar(require("./api_vault_burn_tokens_request"), exports);
149
+ __exportStar(require("./api_vault_invest_request"), exports);
150
+ __exportStar(require("./api_vault_investor_summary_request"), exports);
151
+ __exportStar(require("./api_vault_investor_summary_response"), exports);
152
+ __exportStar(require("./api_vault_redeem_cancel_request"), exports);
153
+ __exportStar(require("./api_vault_redeem_request"), exports);
154
+ __exportStar(require("./api_vault_view_redemption_queue_request"), exports);
155
+ __exportStar(require("./api_vault_view_redemption_queue_response"), exports);
148
156
  __exportStar(require("./api_withdrawal_history_request"), exports);
149
157
  __exportStar(require("./api_withdrawal_history_response"), exports);
150
158
  __exportStar(require("./api_withdrawal_request"), exports);
@@ -179,6 +187,7 @@ __exportStar(require("./jsonrpc_request"), exports);
179
187
  __exportStar(require("./jsonrpc_response"), exports);
180
188
  __exportStar(require("./lp_point"), exports);
181
189
  __exportStar(require("./lp_snapshot"), exports);
190
+ __exportStar(require("./lp_info_entry"), exports);
182
191
  __exportStar(require("./main_acc_id_request"), exports);
183
192
  __exportStar(require("./margin_tier_response"), exports);
184
193
  __exportStar(require("./mini_ticker"), exports);
@@ -210,6 +219,7 @@ __exportStar(require("./signature"), exports);
210
219
  __exportStar(require("./snap_account_summary"), exports);
211
220
  __exportStar(require("./snap_funding_account_summary"), exports);
212
221
  __exportStar(require("./snap_sub_account_summary"), exports);
222
+ __exportStar(require("./snap_vault_summary"), exports);
213
223
  __exportStar(require("./api_spot_balance"), exports);
214
224
  __exportStar(require("./stream_reference"), exports);
215
225
  __exportStar(require("./snap_sub_account"), exports);
@@ -227,9 +237,14 @@ __exportStar(require("./user_category_affinity_score"), exports);
227
237
  __exportStar(require("./user_tracking_event"), exports);
228
238
  __exportStar(require("./user_vault_category_event_pay_load"), exports);
229
239
  __exportStar(require("./vault_invest_results"), exports);
240
+ __exportStar(require("./vault_investor_history"), exports);
241
+ __exportStar(require("./vault_investor_summary"), exports);
242
+ __exportStar(require("./vault_lp_info"), exports);
230
243
  __exportStar(require("./vault_management_fee_tick_results"), exports);
231
244
  __exportStar(require("./vault_params"), exports);
232
245
  __exportStar(require("./vault_redeem_results"), exports);
246
+ __exportStar(require("./vault_redemption"), exports);
247
+ __exportStar(require("./vault_redemption_req_view"), exports);
233
248
  __exportStar(require("./ws_cancel_feed_data_v_1"), exports);
234
249
  __exportStar(require("./ws_cancel_feed_selector_v_1"), exports);
235
250
  __exportStar(require("./ws_candlestick_feed_data_v_1"), exports);
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const LP_INFO_ENTRY_MAP: SchemaPairMap;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LP_INFO_ENTRY_MAP = void 0;
4
+ const vault_lp_info_1 = require("./vault_lp_info");
5
+ // Schema map for the 'LP_INFO_ENTRY' struct.
6
+ exports.LP_INFO_ENTRY_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ lp_address: 'la',
9
+ info: ['i', vault_lp_info_1.VAULT_LP_INFO_MAP.FULL_TO_LITE]
10
+ },
11
+ LITE_TO_FULL: {
12
+ la: 'lp_address',
13
+ i: ['info', vault_lp_info_1.VAULT_LP_INFO_MAP.LITE_TO_FULL]
14
+ }
15
+ });
@@ -17,7 +17,9 @@ exports.SUB_ACCOUNT_MAP = Object.freeze({
17
17
  available_balance: 'ab',
18
18
  spot_balances: ['sb', [api_spot_balance_1.SPOT_BALANCE_MAP.FULL_TO_LITE]],
19
19
  positions: ['p', [api_position_1.POSITIONS_MAP.FULL_TO_LITE]],
20
- settle_index_price: 'si'
20
+ settle_index_price: 'si',
21
+ is_vault: 'iv',
22
+ vault_im_additions: 'vi'
21
23
  },
22
24
  LITE_TO_FULL: {
23
25
  et: 'event_time',
@@ -31,6 +33,8 @@ exports.SUB_ACCOUNT_MAP = Object.freeze({
31
33
  ab: 'available_balance',
32
34
  sb: ['spot_balances', [api_spot_balance_1.SPOT_BALANCE_MAP.LITE_TO_FULL]],
33
35
  p: ['positions', [api_position_1.POSITIONS_MAP.LITE_TO_FULL]],
34
- si: 'settle_index_price'
36
+ si: 'settle_index_price',
37
+ iv: 'is_vault',
38
+ vi: 'vault_im_additions'
35
39
  }
36
40
  });
@@ -10,7 +10,9 @@ exports.SNAP_SUB_ACCOUNT_SUMMARY_MAP = Object.freeze({
10
10
  sub_account_id: 'sa',
11
11
  total_equity: 'te',
12
12
  unrealized_pnl: 'up',
13
- positions: ['p', [position_summary_1.POSITION_SUMMARY_MAP.FULL_TO_LITE]]
13
+ positions: ['p', [position_summary_1.POSITION_SUMMARY_MAP.FULL_TO_LITE]],
14
+ is_vault: 'iv',
15
+ vault_im_additions: 'vi'
14
16
  },
15
17
  LITE_TO_FULL: {
16
18
  et: 'event_time',
@@ -18,6 +20,8 @@ exports.SNAP_SUB_ACCOUNT_SUMMARY_MAP = Object.freeze({
18
20
  sa: 'sub_account_id',
19
21
  te: 'total_equity',
20
22
  up: 'unrealized_pnl',
21
- p: ['positions', [position_summary_1.POSITION_SUMMARY_MAP.LITE_TO_FULL]]
23
+ p: ['positions', [position_summary_1.POSITION_SUMMARY_MAP.LITE_TO_FULL]],
24
+ iv: 'is_vault',
25
+ vi: 'vault_im_additions'
22
26
  }
23
27
  });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const SNAP_VAULT_SUMMARY_MAP: SchemaPairMap;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SNAP_VAULT_SUMMARY_MAP = void 0;
4
+ const lp_info_entry_1 = require("./lp_info_entry");
5
+ // Schema map for the 'SNAP_VAULT_SUMMARY' struct.
6
+ exports.SNAP_VAULT_SUMMARY_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ event_time: 'et',
9
+ start_interval: 'si',
10
+ vault_id: 'vi',
11
+ lp_infos: ['li', [lp_info_entry_1.LP_INFO_ENTRY_MAP.FULL_TO_LITE]],
12
+ total_lp_token_supply: 'tl',
13
+ share_price: 'sp'
14
+ },
15
+ LITE_TO_FULL: {
16
+ et: 'event_time',
17
+ si: 'start_interval',
18
+ vi: 'vault_id',
19
+ li: ['lp_infos', [lp_info_entry_1.LP_INFO_ENTRY_MAP.LITE_TO_FULL]],
20
+ tl: 'total_lp_token_supply',
21
+ sp: 'share_price'
22
+ }
23
+ });
@@ -10,7 +10,8 @@ exports.SUB_ACCOUNT_TRADE_AGGREGATION_MAP = Object.freeze({
10
10
  num_traded: 'nt',
11
11
  positive_fee: 'pf',
12
12
  signer: 's',
13
- realized_pnl: 'rp'
13
+ realized_pnl: 'rp',
14
+ source: 's1'
14
15
  },
15
16
  LITE_TO_FULL: {
16
17
  sa: 'sub_account_id',
@@ -19,6 +20,7 @@ exports.SUB_ACCOUNT_TRADE_AGGREGATION_MAP = Object.freeze({
19
20
  nt: 'num_traded',
20
21
  pf: 'positive_fee',
21
22
  s: 'signer',
22
- rp: 'realized_pnl'
23
+ rp: 'realized_pnl',
24
+ s1: 'source'
23
25
  }
24
26
  });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const VAULT_INVESTOR_HISTORY_MAP: SchemaPairMap;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VAULT_INVESTOR_HISTORY_MAP = void 0;
4
+ // Schema map for the 'VAULT_INVESTOR_HISTORY' struct.
5
+ exports.VAULT_INVESTOR_HISTORY_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ event_time: 'et',
8
+ main_account_id: 'ma',
9
+ vault_id: 'vi',
10
+ is_investing: 'ii',
11
+ price: 'p',
12
+ size: 's',
13
+ realized_pnl: 'rp',
14
+ performance_fee: 'pf'
15
+ },
16
+ LITE_TO_FULL: {
17
+ et: 'event_time',
18
+ ma: 'main_account_id',
19
+ vi: 'vault_id',
20
+ ii: 'is_investing',
21
+ p: 'price',
22
+ s: 'size',
23
+ rp: 'realized_pnl',
24
+ pf: 'performance_fee'
25
+ }
26
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const VAULT_INVESTOR_SUMMARY_MAP: SchemaPairMap;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VAULT_INVESTOR_SUMMARY_MAP = void 0;
4
+ const vault_redemption_1 = require("./vault_redemption");
5
+ // Schema map for the 'VAULT_INVESTOR_SUMMARY' struct.
6
+ exports.VAULT_INVESTOR_SUMMARY_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ sub_account_id: 'sa',
9
+ num_lp_tokens: 'nl',
10
+ avg_entry_price: 'ae',
11
+ current_price: 'cp',
12
+ total_equity: 'te',
13
+ all_time_realized_pnl: 'at',
14
+ pending_redemption: ['pr', vault_redemption_1.VAULT_REDEMPTION_MAP.FULL_TO_LITE]
15
+ },
16
+ LITE_TO_FULL: {
17
+ sa: 'sub_account_id',
18
+ nl: 'num_lp_tokens',
19
+ ae: 'avg_entry_price',
20
+ cp: 'current_price',
21
+ te: 'total_equity',
22
+ at: 'all_time_realized_pnl',
23
+ pr: ['pending_redemption', vault_redemption_1.VAULT_REDEMPTION_MAP.LITE_TO_FULL]
24
+ }
25
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const VAULT_LP_INFO_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VAULT_LP_INFO_MAP = void 0;
4
+ // Schema map for the 'VAULT_LP_INFO' struct.
5
+ exports.VAULT_LP_INFO_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ lp_token_balance: 'lt',
8
+ usd_notional_invested: 'un'
9
+ },
10
+ LITE_TO_FULL: {
11
+ lt: 'lp_token_balance',
12
+ un: 'usd_notional_invested'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const VAULT_REDEMPTION_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VAULT_REDEMPTION_MAP = void 0;
4
+ // Schema map for the 'VAULT_REDEMPTION' struct.
5
+ exports.VAULT_REDEMPTION_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ num_lp_tokens: 'nl',
8
+ request_valuation: 'rv'
9
+ },
10
+ LITE_TO_FULL: {
11
+ nl: 'num_lp_tokens',
12
+ rv: 'request_valuation'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const VAULT_REDEMPTION_REQ_VIEW_MAP: SchemaPairMap;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VAULT_REDEMPTION_REQ_VIEW_MAP = void 0;
4
+ // Schema map for the 'VAULT_REDEMPTION_REQ_VIEW' struct.
5
+ exports.VAULT_REDEMPTION_REQ_VIEW_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ request_time: 'rt',
8
+ currency: 'c',
9
+ num_lp_tokens: 'nl'
10
+ },
11
+ LITE_TO_FULL: {
12
+ rt: 'request_time',
13
+ c: 'currency',
14
+ nl: 'num_lp_tokens'
15
+ }
16
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grvt/client",
3
- "version": "1.4.8",
3
+ "version": "1.4.10",
4
4
  "description": "Node.js & JavaScript client for GRVT REST APIs & WebSockets",
5
5
  "repository": {
6
6
  "type": "git",