@grvt/client 1.6.1 → 1.6.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 (123) hide show
  1. package/TDG/index.d.ts +13 -1
  2. package/TDG/index.js +43 -0
  3. package/interfaces/codegen/data.interface.d.ts +262 -6
  4. package/interfaces/codegen/enums/account-multiplier-status.d.ts +5 -0
  5. package/interfaces/codegen/enums/account-multiplier-status.js +14 -0
  6. package/interfaces/codegen/enums/account-type.d.ts +6 -0
  7. package/interfaces/codegen/enums/account-type.js +17 -0
  8. package/interfaces/codegen/enums/cluster-config-type.d.ts +8 -1
  9. package/interfaces/codegen/enums/cluster-config-type.js +22 -1
  10. package/interfaces/codegen/enums/epoch-band-status.d.ts +5 -0
  11. package/interfaces/codegen/enums/epoch-band-status.js +14 -0
  12. package/interfaces/codegen/enums/metric-type.d.ts +10 -0
  13. package/interfaces/codegen/enums/metric-type.js +29 -0
  14. package/interfaces/codegen/enums/reward-session.d.ts +5 -0
  15. package/interfaces/codegen/enums/reward-session.js +14 -0
  16. package/interfaces/codegen/enums/transaction-type.d.ts +2 -1
  17. package/interfaces/codegen/enums/transaction-type.js +3 -1
  18. package/interfaces/codegen/hex-string-map.js +2 -1
  19. package/interfaces/codegen/schema-maps/api_cross_exch_vault_attest_equity_request.d.ts +2 -0
  20. package/interfaces/codegen/schema-maps/api_cross_exch_vault_attest_equity_request.js +23 -0
  21. package/interfaces/codegen/schema-maps/api_cross_exch_vault_get_investor_allocation_stats_response.d.ts +2 -0
  22. package/interfaces/codegen/schema-maps/api_cross_exch_vault_get_investor_allocation_stats_response.js +18 -0
  23. package/interfaces/codegen/schema-maps/api_cross_exch_vault_invest_cancel_request.d.ts +2 -0
  24. package/interfaces/codegen/schema-maps/api_cross_exch_vault_invest_cancel_request.js +14 -0
  25. package/interfaces/codegen/schema-maps/api_cross_exch_vault_lock_request.d.ts +2 -0
  26. package/interfaces/codegen/schema-maps/api_cross_exch_vault_lock_request.js +12 -0
  27. package/interfaces/codegen/schema-maps/api_cross_exch_vault_trigger_redemption_request.d.ts +2 -0
  28. package/interfaces/codegen/schema-maps/api_cross_exch_vault_trigger_redemption_request.js +16 -0
  29. package/interfaces/codegen/schema-maps/api_cross_exch_vault_unlock_request.d.ts +2 -0
  30. package/interfaces/codegen/schema-maps/api_cross_exch_vault_unlock_request.js +12 -0
  31. package/interfaces/codegen/schema-maps/api_cross_exch_vault_view_investment_queue_request.d.ts +2 -0
  32. package/interfaces/codegen/schema-maps/api_cross_exch_vault_view_investment_queue_request.js +14 -0
  33. package/interfaces/codegen/schema-maps/api_cross_exch_vault_view_investment_queue_response.d.ts +2 -0
  34. package/interfaces/codegen/schema-maps/api_cross_exch_vault_view_investment_queue_response.js +15 -0
  35. package/interfaces/codegen/schema-maps/api_cross_exch_vault_view_pending_investment_request.d.ts +2 -0
  36. package/interfaces/codegen/schema-maps/api_cross_exch_vault_view_pending_investment_request.js +14 -0
  37. package/interfaces/codegen/schema-maps/api_cross_exch_vault_view_pending_investment_response.d.ts +2 -0
  38. package/interfaces/codegen/schema-maps/api_cross_exch_vault_view_pending_investment_response.js +15 -0
  39. package/interfaces/codegen/schema-maps/api_end_effect_account_multiplier_request.d.ts +2 -0
  40. package/interfaces/codegen/schema-maps/api_end_effect_account_multiplier_request.js +14 -0
  41. package/interfaces/codegen/schema-maps/api_end_effect_account_multiplier_response.d.ts +2 -0
  42. package/interfaces/codegen/schema-maps/api_end_effect_account_multiplier_response.js +12 -0
  43. package/interfaces/codegen/schema-maps/api_end_effect_epoch_band_parameter_request.d.ts +2 -0
  44. package/interfaces/codegen/schema-maps/api_end_effect_epoch_band_parameter_request.js +14 -0
  45. package/interfaces/codegen/schema-maps/api_end_effect_epoch_band_parameter_response.d.ts +2 -0
  46. package/interfaces/codegen/schema-maps/api_end_effect_epoch_band_parameter_response.js +12 -0
  47. package/interfaces/codegen/schema-maps/api_find_account_multiplier_request.d.ts +2 -0
  48. package/interfaces/codegen/schema-maps/api_find_account_multiplier_request.js +22 -0
  49. package/interfaces/codegen/schema-maps/api_find_account_multiplier_response.d.ts +2 -0
  50. package/interfaces/codegen/schema-maps/api_find_account_multiplier_response.js +13 -0
  51. package/interfaces/codegen/schema-maps/api_find_epoch_band_parameter_filter.d.ts +2 -0
  52. package/interfaces/codegen/schema-maps/api_find_epoch_band_parameter_filter.js +16 -0
  53. package/interfaces/codegen/schema-maps/api_find_epoch_band_parameter_response.d.ts +2 -0
  54. package/interfaces/codegen/schema-maps/api_find_epoch_band_parameter_response.js +13 -0
  55. package/interfaces/codegen/schema-maps/api_first_session_reward_response.d.ts +2 -0
  56. package/interfaces/codegen/schema-maps/api_first_session_reward_response.js +14 -0
  57. package/interfaces/codegen/schema-maps/api_get_active_account_multiplier_value_request.d.ts +2 -0
  58. package/interfaces/codegen/schema-maps/api_get_active_account_multiplier_value_request.js +20 -0
  59. package/interfaces/codegen/schema-maps/api_get_active_account_multiplier_value_response.d.ts +2 -0
  60. package/interfaces/codegen/schema-maps/api_get_active_account_multiplier_value_response.js +13 -0
  61. package/interfaces/codegen/schema-maps/api_get_active_epoch_band_parameter_value_request.d.ts +2 -0
  62. package/interfaces/codegen/schema-maps/api_get_active_epoch_band_parameter_value_request.js +14 -0
  63. package/interfaces/codegen/schema-maps/api_get_active_epoch_band_parameter_value_response.d.ts +2 -0
  64. package/interfaces/codegen/schema-maps/api_get_active_epoch_band_parameter_value_response.js +13 -0
  65. package/interfaces/codegen/schema-maps/api_get_epoch_point_stats_response.d.ts +2 -0
  66. package/interfaces/codegen/schema-maps/api_get_epoch_point_stats_response.js +18 -0
  67. package/interfaces/codegen/schema-maps/api_get_reward_leaderboard_response.d.ts +2 -0
  68. package/interfaces/codegen/schema-maps/api_get_reward_leaderboard_response.js +13 -0
  69. package/interfaces/codegen/schema-maps/api_get_user_epoch_point_stats_response.d.ts +2 -0
  70. package/interfaces/codegen/schema-maps/api_get_user_epoch_point_stats_response.js +24 -0
  71. package/interfaces/codegen/schema-maps/api_inactive_account_multiplier_request.d.ts +2 -0
  72. package/interfaces/codegen/schema-maps/api_inactive_account_multiplier_request.js +12 -0
  73. package/interfaces/codegen/schema-maps/api_inactive_account_multiplier_response.d.ts +2 -0
  74. package/interfaces/codegen/schema-maps/api_inactive_account_multiplier_response.js +12 -0
  75. package/interfaces/codegen/schema-maps/api_inactive_epoch_band_parameter_request.d.ts +2 -0
  76. package/interfaces/codegen/schema-maps/api_inactive_epoch_band_parameter_request.js +12 -0
  77. package/interfaces/codegen/schema-maps/api_inactive_epoch_band_parameter_response.d.ts +2 -0
  78. package/interfaces/codegen/schema-maps/api_inactive_epoch_band_parameter_response.js +12 -0
  79. package/interfaces/codegen/schema-maps/api_position.js +6 -2
  80. package/interfaces/codegen/schema-maps/api_reward_leaderboard_item.d.ts +2 -0
  81. package/interfaces/codegen/schema-maps/api_reward_leaderboard_item.js +18 -0
  82. package/interfaces/codegen/schema-maps/api_sub_account_trade_aggregation_request.js +4 -2
  83. package/interfaces/codegen/schema-maps/api_trading_performance_trend.js +4 -2
  84. package/interfaces/codegen/schema-maps/api_vault_detail.js +10 -2
  85. package/interfaces/codegen/schema-maps/api_vault_detail_response.js +10 -2
  86. package/interfaces/codegen/schema-maps/api_vault_performance.js +4 -2
  87. package/interfaces/codegen/schema-maps/cev_alloc_stats_acc_overview.d.ts +2 -0
  88. package/interfaces/codegen/schema-maps/cev_alloc_stats_acc_overview.js +22 -0
  89. package/interfaces/codegen/schema-maps/cev_alloc_stats_vault_level.d.ts +2 -0
  90. package/interfaces/codegen/schema-maps/cev_alloc_stats_vault_level.js +16 -0
  91. package/interfaces/codegen/schema-maps/cross_exch_vault_pending_investment_view.d.ts +2 -0
  92. package/interfaces/codegen/schema-maps/cross_exch_vault_pending_investment_view.js +18 -0
  93. package/interfaces/codegen/schema-maps/epoch.js +4 -2
  94. package/interfaces/codegen/schema-maps/epoch_metric_point.d.ts +2 -0
  95. package/interfaces/codegen/schema-maps/epoch_metric_point.js +25 -0
  96. package/interfaces/codegen/schema-maps/epoch_metric_point_calculator_metadata.d.ts +2 -0
  97. package/interfaces/codegen/schema-maps/epoch_metric_point_calculator_metadata.js +24 -0
  98. package/interfaces/codegen/schema-maps/epoch_point.d.ts +2 -0
  99. package/interfaces/codegen/schema-maps/epoch_point.js +16 -0
  100. package/interfaces/codegen/schema-maps/epoch_point_stats.d.ts +2 -0
  101. package/interfaces/codegen/schema-maps/epoch_point_stats.js +14 -0
  102. package/interfaces/codegen/schema-maps/query_epoch_point_stats_request.d.ts +2 -0
  103. package/interfaces/codegen/schema-maps/query_epoch_point_stats_request.js +12 -0
  104. package/interfaces/codegen/schema-maps/query_epoch_point_stats_response.d.ts +2 -0
  105. package/interfaces/codegen/schema-maps/query_epoch_point_stats_response.js +13 -0
  106. package/interfaces/codegen/schema-maps/query_reward_referral_point_request.d.ts +2 -0
  107. package/interfaces/codegen/schema-maps/query_reward_referral_point_request.js +16 -0
  108. package/interfaces/codegen/schema-maps/query_reward_referral_point_response.d.ts +2 -0
  109. package/interfaces/codegen/schema-maps/query_reward_referral_point_response.js +15 -0
  110. package/interfaces/codegen/schema-maps/reward_account_multiplier.d.ts +2 -0
  111. package/interfaces/codegen/schema-maps/reward_account_multiplier.js +32 -0
  112. package/interfaces/codegen/schema-maps/reward_epoch_band_parameter.d.ts +2 -0
  113. package/interfaces/codegen/schema-maps/reward_epoch_band_parameter.js +30 -0
  114. package/interfaces/codegen/schema-maps/reward_metric_point_metadata.d.ts +2 -0
  115. package/interfaces/codegen/schema-maps/reward_metric_point_metadata.js +14 -0
  116. package/interfaces/codegen/schema-maps/reward_referral_point.d.ts +2 -0
  117. package/interfaces/codegen/schema-maps/reward_referral_point.js +16 -0
  118. package/interfaces/codegen/schema-maps/sub_account_trading_performance.d.ts +2 -0
  119. package/interfaces/codegen/schema-maps/sub_account_trading_performance.js +30 -0
  120. package/interfaces/codegen/schema-maps/withdrawal_history.js +6 -2
  121. package/package.json +3 -3
  122. package/interfaces/codegen/schema-maps/trading_performance_point.d.ts +0 -2
  123. package/interfaces/codegen/schema-maps/trading_performance_point.js +0 -18
@@ -0,0 +1,10 @@
1
+ export declare enum EMetricType {
2
+ ALL = "ALL",
3
+ TRADING_VOLUME = "TRADING_VOLUME",
4
+ TRADING_LP_POINT = "TRADING_LP_POINT",
5
+ TRADING_OPEN_INTEREST = "TRADING_OPEN_INTEREST",
6
+ TRADING_LIQUIDATION = "TRADING_LIQUIDATION",
7
+ COMMUNITY_REFERRAL = "COMMUNITY_REFERRAL",
8
+ TVL = "TVL"
9
+ }
10
+ export declare const EMetricTypeInt: Record<EMetricType, number>;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EMetricTypeInt = exports.EMetricType = void 0;
4
+ var EMetricType;
5
+ (function (EMetricType) {
6
+ // All metrics
7
+ EMetricType["ALL"] = "ALL";
8
+ // Trading volume metric
9
+ EMetricType["TRADING_VOLUME"] = "TRADING_VOLUME";
10
+ // Trading liquidity point metric
11
+ EMetricType["TRADING_LP_POINT"] = "TRADING_LP_POINT";
12
+ // Trading open interest metric
13
+ EMetricType["TRADING_OPEN_INTEREST"] = "TRADING_OPEN_INTEREST";
14
+ // Trading liquidations metric
15
+ EMetricType["TRADING_LIQUIDATION"] = "TRADING_LIQUIDATION";
16
+ // Community referral metric
17
+ EMetricType["COMMUNITY_REFERRAL"] = "COMMUNITY_REFERRAL";
18
+ // Total value locked metric
19
+ EMetricType["TVL"] = "TVL";
20
+ })(EMetricType || (exports.EMetricType = EMetricType = {}));
21
+ exports.EMetricTypeInt = Object.freeze({
22
+ [EMetricType.ALL]: 1,
23
+ [EMetricType.TRADING_VOLUME]: 2,
24
+ [EMetricType.TRADING_LP_POINT]: 3,
25
+ [EMetricType.TRADING_OPEN_INTEREST]: 4,
26
+ [EMetricType.TRADING_LIQUIDATION]: 5,
27
+ [EMetricType.COMMUNITY_REFERRAL]: 6,
28
+ [EMetricType.TVL]: 7
29
+ });
@@ -0,0 +1,5 @@
1
+ export declare enum ERewardSession {
2
+ FIRST_SESSION = "FIRST_SESSION",
3
+ SECOND_SESSION = "SECOND_SESSION"
4
+ }
5
+ export declare const ERewardSessionInt: Record<ERewardSession, number>;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ERewardSessionInt = exports.ERewardSession = void 0;
4
+ var ERewardSession;
5
+ (function (ERewardSession) {
6
+ // The first session
7
+ ERewardSession["FIRST_SESSION"] = "FIRST_SESSION";
8
+ // The second session
9
+ ERewardSession["SECOND_SESSION"] = "SECOND_SESSION";
10
+ })(ERewardSession || (exports.ERewardSession = ERewardSession = {}));
11
+ exports.ERewardSessionInt = Object.freeze({
12
+ [ERewardSession.FIRST_SESSION]: 1,
13
+ [ERewardSession.SECOND_SESSION]: 2
14
+ });
@@ -46,6 +46,7 @@ export declare enum ETransactionType {
46
46
  VAULT_REDEEM = "VAULT_REDEEM",
47
47
  VAULT_MANAGEMENT_FEE_TICK = "VAULT_MANAGEMENT_FEE_TICK",
48
48
  ADD_CURRENCY = "ADD_CURRENCY",
49
- SET_DERISK_TO_MAINTENANCE_MARGIN_RATIO = "SET_DERISK_TO_MAINTENANCE_MARGIN_RATIO"
49
+ SET_DERISK_TO_MAINTENANCE_MARGIN_RATIO = "SET_DERISK_TO_MAINTENANCE_MARGIN_RATIO",
50
+ VAULT_CROSS_EXCHANGE_UPDATE = "VAULT_CROSS_EXCHANGE_UPDATE"
50
51
  }
51
52
  export declare const ETransactionTypeInt: Record<ETransactionType, number>;
@@ -51,6 +51,7 @@ var ETransactionType;
51
51
  ETransactionType["VAULT_MANAGEMENT_FEE_TICK"] = "VAULT_MANAGEMENT_FEE_TICK";
52
52
  ETransactionType["ADD_CURRENCY"] = "ADD_CURRENCY";
53
53
  ETransactionType["SET_DERISK_TO_MAINTENANCE_MARGIN_RATIO"] = "SET_DERISK_TO_MAINTENANCE_MARGIN_RATIO";
54
+ ETransactionType["VAULT_CROSS_EXCHANGE_UPDATE"] = "VAULT_CROSS_EXCHANGE_UPDATE";
54
55
  })(ETransactionType || (exports.ETransactionType = ETransactionType = {}));
55
56
  exports.ETransactionTypeInt = Object.freeze({
56
57
  [ETransactionType.UNSPECIFIED_1]: 1,
@@ -100,5 +101,6 @@ exports.ETransactionTypeInt = Object.freeze({
100
101
  [ETransactionType.VAULT_REDEEM]: 45,
101
102
  [ETransactionType.VAULT_MANAGEMENT_FEE_TICK]: 46,
102
103
  [ETransactionType.ADD_CURRENCY]: 47,
103
- [ETransactionType.SET_DERISK_TO_MAINTENANCE_MARGIN_RATIO]: 48
104
+ [ETransactionType.SET_DERISK_TO_MAINTENANCE_MARGIN_RATIO]: 48,
105
+ [ETransactionType.VAULT_CROSS_EXCHANGE_UPDATE]: 49
104
106
  });
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HexStringMap = void 0;
4
4
  // HexStringMap contains all bigints the should be encoded/decoded to/from hex strings
5
5
  exports.HexStringMap = [
6
+ 'adjusted_point',
6
7
  'ask_depth_scores',
7
8
  'bid_depth_scores',
8
9
  'brokered_trading_volume',
@@ -21,13 +22,13 @@ exports.HexStringMap = [
21
22
  'order_i_ds',
22
23
  'order_id',
23
24
  'r',
25
+ 'raw_point',
24
26
  'referrer_main_account_id',
25
27
  's',
26
28
  'signer',
27
29
  'to_account_id',
28
30
  'to_eth_address',
29
31
  'total_trade_volume',
30
- 'trading_volume',
31
32
  'tx_hash',
32
33
  'vault_liquidity_score'
33
34
  ];
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_ATTEST_EQUITY_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_ATTEST_EQUITY_REQUEST_MAP = void 0;
4
+ const signature_1 = require("./signature");
5
+ // Schema map for the 'API_CROSS_EXCH_VAULT_ATTEST_EQUITY_REQUEST' struct.
6
+ exports.API_CROSS_EXCH_VAULT_ATTEST_EQUITY_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ vault_id: 'vi',
9
+ total_equity: 'te',
10
+ num_lp_tokens: 'nl',
11
+ share_price: 'sp',
12
+ last_update_timestamp: 'lu',
13
+ signature: ['s', signature_1.SIGNATURE_MAP.FULL_TO_LITE]
14
+ },
15
+ LITE_TO_FULL: {
16
+ vi: 'vault_id',
17
+ te: 'total_equity',
18
+ nl: 'num_lp_tokens',
19
+ sp: 'share_price',
20
+ lu: 'last_update_timestamp',
21
+ s: ['signature', signature_1.SIGNATURE_MAP.LITE_TO_FULL]
22
+ }
23
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_GET_INVESTOR_ALLOCATION_STATS_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_GET_INVESTOR_ALLOCATION_STATS_RESPONSE_MAP = void 0;
4
+ const cev_alloc_stats_acc_overview_1 = require("./cev_alloc_stats_acc_overview");
5
+ const cev_alloc_stats_vault_level_1 = require("./cev_alloc_stats_vault_level");
6
+ // Schema map for the 'API_CROSS_EXCH_VAULT_GET_INVESTOR_ALLOCATION_STATS_RESPONSE' struct.
7
+ exports.API_CROSS_EXCH_VAULT_GET_INVESTOR_ALLOCATION_STATS_RESPONSE_MAP = Object.freeze({
8
+ FULL_TO_LITE: {
9
+ main_account_id: 'ma',
10
+ account_overview: ['ao', cev_alloc_stats_acc_overview_1.CEV_ALLOC_STATS_ACC_OVERVIEW_MAP.FULL_TO_LITE],
11
+ per_vault: ['pv', [cev_alloc_stats_vault_level_1.CEV_ALLOC_STATS_VAULT_LEVEL_MAP.FULL_TO_LITE]]
12
+ },
13
+ LITE_TO_FULL: {
14
+ ma: 'main_account_id',
15
+ ao: ['account_overview', cev_alloc_stats_acc_overview_1.CEV_ALLOC_STATS_ACC_OVERVIEW_MAP.LITE_TO_FULL],
16
+ pv: ['per_vault', [cev_alloc_stats_vault_level_1.CEV_ALLOC_STATS_VAULT_LEVEL_MAP.LITE_TO_FULL]]
17
+ }
18
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_INVEST_CANCEL_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_INVEST_CANCEL_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_INVEST_CANCEL_REQUEST' struct.
5
+ exports.API_CROSS_EXCH_VAULT_INVEST_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_CROSS_EXCH_VAULT_LOCK_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_LOCK_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_LOCK_REQUEST' struct.
5
+ exports.API_CROSS_EXCH_VAULT_LOCK_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ cross_exch_vault_id: 'ce'
8
+ },
9
+ LITE_TO_FULL: {
10
+ ce: 'cross_exch_vault_id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_TRIGGER_REDEMPTION_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_TRIGGER_REDEMPTION_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_TRIGGER_REDEMPTION_REQUEST' struct.
5
+ exports.API_CROSS_EXCH_VAULT_TRIGGER_REDEMPTION_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ main_account_id: 'ma',
8
+ vault_id: 'vi',
9
+ request_time: 'rt'
10
+ },
11
+ LITE_TO_FULL: {
12
+ ma: 'main_account_id',
13
+ vi: 'vault_id',
14
+ rt: 'request_time'
15
+ }
16
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_UNLOCK_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_UNLOCK_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_UNLOCK_REQUEST' struct.
5
+ exports.API_CROSS_EXCH_VAULT_UNLOCK_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ cross_exch_vault_id: 'ce'
8
+ },
9
+ LITE_TO_FULL: {
10
+ ce: 'cross_exch_vault_id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_VIEW_INVESTMENT_QUEUE_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_VIEW_INVESTMENT_QUEUE_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_VIEW_INVESTMENT_QUEUE_REQUEST' struct.
5
+ exports.API_CROSS_EXCH_VAULT_VIEW_INVESTMENT_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_CROSS_EXCH_VAULT_VIEW_INVESTMENT_QUEUE_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_VIEW_INVESTMENT_QUEUE_RESPONSE_MAP = void 0;
4
+ const cross_exch_vault_pending_investment_view_1 = require("./cross_exch_vault_pending_investment_view");
5
+ // Schema map for the 'API_CROSS_EXCH_VAULT_VIEW_INVESTMENT_QUEUE_RESPONSE' struct.
6
+ exports.API_CROSS_EXCH_VAULT_VIEW_INVESTMENT_QUEUE_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ investment_queue: ['iq', [cross_exch_vault_pending_investment_view_1.CROSS_EXCH_VAULT_PENDING_INVESTMENT_MAP.FULL_TO_LITE]],
9
+ total_investment_equity: 'ti'
10
+ },
11
+ LITE_TO_FULL: {
12
+ iq: ['investment_queue', [cross_exch_vault_pending_investment_view_1.CROSS_EXCH_VAULT_PENDING_INVESTMENT_MAP.LITE_TO_FULL]],
13
+ ti: 'total_investment_equity'
14
+ }
15
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_VIEW_PENDING_INVESTMENT_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_VIEW_PENDING_INVESTMENT_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_VIEW_PENDING_INVESTMENT_REQUEST' struct.
5
+ exports.API_CROSS_EXCH_VAULT_VIEW_PENDING_INVESTMENT_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_CROSS_EXCH_VAULT_VIEW_PENDING_INVESTMENT_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_VIEW_PENDING_INVESTMENT_RESPONSE_MAP = void 0;
4
+ const cross_exch_vault_pending_investment_view_1 = require("./cross_exch_vault_pending_investment_view");
5
+ // Schema map for the 'API_CROSS_EXCH_VAULT_VIEW_PENDING_INVESTMENT_RESPONSE' struct.
6
+ exports.API_CROSS_EXCH_VAULT_VIEW_PENDING_INVESTMENT_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ vault_id: 'vi',
9
+ pending_investment: ['pi', cross_exch_vault_pending_investment_view_1.CROSS_EXCH_VAULT_PENDING_INVESTMENT_MAP.FULL_TO_LITE]
10
+ },
11
+ LITE_TO_FULL: {
12
+ vi: 'vault_id',
13
+ pi: ['pending_investment', cross_exch_vault_pending_investment_view_1.CROSS_EXCH_VAULT_PENDING_INVESTMENT_MAP.LITE_TO_FULL]
14
+ }
15
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_END_EFFECT_ACCOUNT_MULTIPLIER_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_END_EFFECT_ACCOUNT_MULTIPLIER_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_END_EFFECT_ACCOUNT_MULTIPLIER_REQUEST' struct.
5
+ exports.API_END_EFFECT_ACCOUNT_MULTIPLIER_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ epoch: 'e',
8
+ ids: 'i'
9
+ },
10
+ LITE_TO_FULL: {
11
+ e: 'epoch',
12
+ i: 'ids'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_END_EFFECT_ACCOUNT_MULTIPLIER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_END_EFFECT_ACCOUNT_MULTIPLIER_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_END_EFFECT_ACCOUNT_MULTIPLIER_RESPONSE' struct.
5
+ exports.API_END_EFFECT_ACCOUNT_MULTIPLIER_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ ids: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'ids'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_END_EFFECT_EPOCH_BAND_PARAMETER_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_END_EFFECT_EPOCH_BAND_PARAMETER_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_END_EFFECT_EPOCH_BAND_PARAMETER_REQUEST' struct.
5
+ exports.API_END_EFFECT_EPOCH_BAND_PARAMETER_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ epoch: 'e',
8
+ ids: 'i'
9
+ },
10
+ LITE_TO_FULL: {
11
+ e: 'epoch',
12
+ i: 'ids'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_END_EFFECT_EPOCH_BAND_PARAMETER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_END_EFFECT_EPOCH_BAND_PARAMETER_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_END_EFFECT_EPOCH_BAND_PARAMETER_RESPONSE' struct.
5
+ exports.API_END_EFFECT_EPOCH_BAND_PARAMETER_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ ids: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'ids'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_FIND_ACCOUNT_MULTIPLIER_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_FIND_ACCOUNT_MULTIPLIER_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_FIND_ACCOUNT_MULTIPLIER_REQUEST' struct.
5
+ exports.API_FIND_ACCOUNT_MULTIPLIER_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ off_chain_account_id: 'oc',
8
+ filter_by_off_chain_account_id: 'fb',
9
+ account_type: 'at',
10
+ metric: 'm',
11
+ epoch: 'e',
12
+ status: 's'
13
+ },
14
+ LITE_TO_FULL: {
15
+ oc: 'off_chain_account_id',
16
+ fb: 'filter_by_off_chain_account_id',
17
+ at: 'account_type',
18
+ m: 'metric',
19
+ e: 'epoch',
20
+ s: 'status'
21
+ }
22
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_FIND_ACCOUNT_MULTIPLIER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_FIND_ACCOUNT_MULTIPLIER_RESPONSE_MAP = void 0;
4
+ const reward_account_multiplier_1 = require("./reward_account_multiplier");
5
+ // Schema map for the 'API_FIND_ACCOUNT_MULTIPLIER_RESPONSE' struct.
6
+ exports.API_FIND_ACCOUNT_MULTIPLIER_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', [reward_account_multiplier_1.REWARD_ACCOUNT_MULTIPLIER_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', [reward_account_multiplier_1.REWARD_ACCOUNT_MULTIPLIER_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_FIND_EPOCH_BAND_PARAMETER_FILTER_MAP: SchemaPairMap;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_FIND_EPOCH_BAND_PARAMETER_FILTER_MAP = void 0;
4
+ // Schema map for the 'API_FIND_EPOCH_BAND_PARAMETER_FILTER' struct.
5
+ exports.API_FIND_EPOCH_BAND_PARAMETER_FILTER_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ status: 's',
8
+ epoch: 'e',
9
+ metric: 'm'
10
+ },
11
+ LITE_TO_FULL: {
12
+ s: 'status',
13
+ e: 'epoch',
14
+ m: 'metric'
15
+ }
16
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_FIND_EPOCH_BAND_PARAMETER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_FIND_EPOCH_BAND_PARAMETER_RESPONSE_MAP = void 0;
4
+ const reward_epoch_band_parameter_1 = require("./reward_epoch_band_parameter");
5
+ // Schema map for the 'API_FIND_EPOCH_BAND_PARAMETER_RESPONSE' struct.
6
+ exports.API_FIND_EPOCH_BAND_PARAMETER_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', [reward_epoch_band_parameter_1.REWARD_EPOCH_BAND_PARAMETER_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', [reward_epoch_band_parameter_1.REWARD_EPOCH_BAND_PARAMETER_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_FIRST_SESSION_REWARD_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_FIRST_SESSION_REWARD_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_FIRST_SESSION_REWARD_RESPONSE' struct.
5
+ exports.API_FIRST_SESSION_REWARD_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ locked_airdrop_token_ratio: 'la',
8
+ end_time: 'et'
9
+ },
10
+ LITE_TO_FULL: {
11
+ la: 'locked_airdrop_token_ratio',
12
+ et: 'end_time'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_ACTIVE_ACCOUNT_MULTIPLIER_VALUE_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_GET_ACTIVE_ACCOUNT_MULTIPLIER_VALUE_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_GET_ACTIVE_ACCOUNT_MULTIPLIER_VALUE_REQUEST' struct.
5
+ exports.API_GET_ACTIVE_ACCOUNT_MULTIPLIER_VALUE_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ epoch: 'e',
8
+ off_chain_account_id: 'oc',
9
+ filter_by_off_chain_account_id: 'fb',
10
+ account_type: 'at',
11
+ metric: 'm'
12
+ },
13
+ LITE_TO_FULL: {
14
+ e: 'epoch',
15
+ oc: 'off_chain_account_id',
16
+ fb: 'filter_by_off_chain_account_id',
17
+ at: 'account_type',
18
+ m: 'metric'
19
+ }
20
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_ACTIVE_ACCOUNT_MULTIPLIER_VALUE_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_GET_ACTIVE_ACCOUNT_MULTIPLIER_VALUE_RESPONSE_MAP = void 0;
4
+ const reward_account_multiplier_1 = require("./reward_account_multiplier");
5
+ // Schema map for the 'API_GET_ACTIVE_ACCOUNT_MULTIPLIER_VALUE_RESPONSE' struct.
6
+ exports.API_GET_ACTIVE_ACCOUNT_MULTIPLIER_VALUE_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', [reward_account_multiplier_1.REWARD_ACCOUNT_MULTIPLIER_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', [reward_account_multiplier_1.REWARD_ACCOUNT_MULTIPLIER_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_ACTIVE_EPOCH_BAND_PARAMETER_VALUE_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_GET_ACTIVE_EPOCH_BAND_PARAMETER_VALUE_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_GET_ACTIVE_EPOCH_BAND_PARAMETER_VALUE_REQUEST' struct.
5
+ exports.API_GET_ACTIVE_EPOCH_BAND_PARAMETER_VALUE_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ epoch: 'e',
8
+ metric: 'm'
9
+ },
10
+ LITE_TO_FULL: {
11
+ e: 'epoch',
12
+ m: 'metric'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_ACTIVE_EPOCH_BAND_PARAMETER_VALUE_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_GET_ACTIVE_EPOCH_BAND_PARAMETER_VALUE_RESPONSE_MAP = void 0;
4
+ const reward_epoch_band_parameter_1 = require("./reward_epoch_band_parameter");
5
+ // Schema map for the 'API_GET_ACTIVE_EPOCH_BAND_PARAMETER_VALUE_RESPONSE' struct.
6
+ exports.API_GET_ACTIVE_EPOCH_BAND_PARAMETER_VALUE_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', [reward_epoch_band_parameter_1.REWARD_EPOCH_BAND_PARAMETER_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', [reward_epoch_band_parameter_1.REWARD_EPOCH_BAND_PARAMETER_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_EPOCH_POINT_STATS_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_GET_EPOCH_POINT_STATS_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_GET_EPOCH_POINT_STATS_RESPONSE' struct.
5
+ exports.API_GET_EPOCH_POINT_STATS_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ epoch: 'e',
8
+ epoch_start_time: 'es',
9
+ epoch_end_time: 'ee',
10
+ emitted_point: 'ep'
11
+ },
12
+ LITE_TO_FULL: {
13
+ e: 'epoch',
14
+ es: 'epoch_start_time',
15
+ ee: 'epoch_end_time',
16
+ ep: 'emitted_point'
17
+ }
18
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_GET_REWARD_LEADERBOARD_RESPONSE_MAP: SchemaPairMap;