@ultrade/shared 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/baseModel/base.model.d.ts +26 -0
  2. package/dist/baseModel/index.d.ts +2 -0
  3. package/dist/common/auth.helper.d.ts +4 -0
  4. package/dist/common/auth.helper.js +367 -0
  5. package/dist/common/awsKms.d.ts +2 -0
  6. package/dist/common/awsKms.js +265 -0
  7. package/dist/common/big-number.helper.d.ts +38 -0
  8. package/dist/common/big-number.helper.js +263 -0
  9. package/dist/common/index.d.ts +11 -0
  10. package/dist/common/index.js +2541 -0
  11. package/dist/common/indexer.helper.d.ts +2 -0
  12. package/dist/common/indexer.helper.js +387 -0
  13. package/dist/common/logger.d.ts +32 -0
  14. package/dist/common/logger.js +188 -0
  15. package/dist/common/mappers/codexAsset.mapper.d.ts +2 -0
  16. package/dist/common/mappers/codexAsset.mapper.js +40 -0
  17. package/dist/common/mappers/codexBalance.mapper.d.ts +2 -0
  18. package/dist/common/mappers/codexBalance.mapper.js +38 -0
  19. package/dist/common/mappers/index.d.ts +3 -0
  20. package/dist/common/mappers/index.js +1421 -0
  21. package/dist/common/mappers/trade.mapper.d.ts +6 -0
  22. package/dist/common/mappers/trade.mapper.js +1343 -0
  23. package/dist/common/migration.helpers.d.ts +4 -0
  24. package/dist/common/migration.helpers.js +44 -0
  25. package/dist/common/redis.helper.d.ts +27 -0
  26. package/dist/common/redis.helper.js +269 -0
  27. package/dist/common/secret.helper.d.ts +28 -0
  28. package/dist/common/secret.helper.js +144 -0
  29. package/dist/common/timestamp.helper.d.ts +1 -0
  30. package/dist/common/timestamp.helper.js +41 -0
  31. package/dist/common/utils/assert.d.ts +1 -0
  32. package/dist/common/utils/assert.js +32 -0
  33. package/dist/common/utils/decode.d.ts +5 -0
  34. package/dist/common/utils/decode.js +206 -0
  35. package/dist/common/utils/index.d.ts +9 -0
  36. package/dist/common/utils/index.js +122 -0
  37. package/dist/common/utils/social.d.ts +1 -0
  38. package/dist/common/utils/social.js +30 -0
  39. package/dist/common/utils/stat.d.ts +1 -0
  40. package/dist/common/utils/stat.js +274 -0
  41. package/dist/constants/allowedUrls.d.ts +1 -0
  42. package/dist/constants/auth.d.ts +2 -0
  43. package/dist/constants/cctp.d.ts +3 -0
  44. package/dist/constants/codex.d.ts +11 -0
  45. package/dist/constants/env.d.ts +6 -0
  46. package/dist/constants/index.d.ts +7 -0
  47. package/dist/constants/index.js +455 -0
  48. package/dist/constants/queue.d.ts +39 -0
  49. package/dist/constants/response.d.ts +82 -0
  50. package/dist/constants/settings.d.ts +2 -0
  51. package/dist/constants/social.d.ts +3 -0
  52. package/dist/constants/withdrawalWalletsMessage.d.ts +1 -0
  53. package/dist/enums/chains.enum.d.ts +50 -0
  54. package/dist/enums/db/account/index.d.ts +19 -0
  55. package/dist/enums/db/affiliate.enum.d.ts +7 -0
  56. package/dist/enums/db/available-pair-settings.enum.d.ts +12 -0
  57. package/dist/enums/db/chains.d.ts +30 -0
  58. package/dist/enums/db/common.enum.d.ts +4 -0
  59. package/dist/enums/db/component/index.d.ts +22 -0
  60. package/dist/enums/db/index.d.ts +21 -0
  61. package/dist/enums/db/market-maker.enum.d.ts +15 -0
  62. package/dist/enums/db/notification-center/userNotification.enum.d.ts +36 -0
  63. package/dist/enums/db/order-side.enum.d.ts +5 -0
  64. package/dist/enums/db/order-status.enum.d.ts +8 -0
  65. package/dist/enums/db/order-type.enum.d.ts +7 -0
  66. package/dist/enums/db/pending-actions.enum.d.ts +6 -0
  67. package/dist/enums/db/relayer.enum.d.ts +23 -0
  68. package/dist/enums/db/setting-type.enum.d.ts +8 -0
  69. package/dist/enums/db/social-action.enum.d.ts +24 -0
  70. package/dist/enums/db/social-prompt.enum.d.ts +8 -0
  71. package/dist/enums/db/social.enum.d.ts +10 -0
  72. package/dist/enums/db/state-type.enum.d.ts +9 -0
  73. package/dist/enums/db/trade.enums.d.ts +10 -0
  74. package/dist/enums/db/tradingKeyType.enum.d.ts +4 -0
  75. package/dist/enums/db/upgrade.enum.d.ts +5 -0
  76. package/dist/enums/db/withdrawal-wallet.enum.d.ts +5 -0
  77. package/dist/enums/index.d.ts +5 -0
  78. package/dist/enums/index.js +893 -0
  79. package/dist/enums/maintenanceMode.enum.d.ts +10 -0
  80. package/dist/enums/notification.enum.d.ts +7 -0
  81. package/dist/enums/social.enum.d.ts +10 -0
  82. package/dist/helpers/Encoding.d.ts +33 -0
  83. package/dist/helpers/Encoding.js +318 -0
  84. package/dist/helpers/algo.helper.d.ts +14 -0
  85. package/dist/helpers/algo.helper.js +1211 -0
  86. package/dist/helpers/api.helper.d.ts +16 -0
  87. package/dist/helpers/api.helper.js +1652 -0
  88. package/dist/helpers/assert.helper.d.ts +10 -0
  89. package/dist/helpers/assert.helper.js +1677 -0
  90. package/dist/helpers/atomic.helper.d.ts +21 -0
  91. package/dist/helpers/atomic.helper.js +712 -0
  92. package/dist/helpers/balance.helper.d.ts +13 -0
  93. package/dist/helpers/balance.helper.js +4330 -0
  94. package/dist/helpers/codex/common.helper.d.ts +24 -0
  95. package/dist/helpers/codex/common.helper.js +4246 -0
  96. package/dist/helpers/codex/index.d.ts +6 -0
  97. package/dist/helpers/codex/index.js +4246 -0
  98. package/dist/helpers/codex/mbr.helper.d.ts +6 -0
  99. package/dist/helpers/codex/mbr.helper.js +4246 -0
  100. package/dist/helpers/codex/mna.helper.d.ts +2 -0
  101. package/dist/helpers/codex/mna.helper.js +4246 -0
  102. package/dist/helpers/codex/order.helper.d.ts +6 -0
  103. package/dist/helpers/codex/order.helper.js +4246 -0
  104. package/dist/helpers/codex/setGlobal.helper.d.ts +27 -0
  105. package/dist/helpers/codex/setGlobal.helper.js +4312 -0
  106. package/dist/helpers/codex/transfer.helper.d.ts +21 -0
  107. package/dist/helpers/codex/transfer.helper.js +4246 -0
  108. package/dist/helpers/codex/txn.helper.d.ts +13 -0
  109. package/dist/helpers/codex/txn.helper.js +4246 -0
  110. package/dist/helpers/codex.helper.d.ts +106 -0
  111. package/dist/helpers/codex.helper.js +4246 -0
  112. package/dist/helpers/email.helper.d.ts +5 -0
  113. package/dist/helpers/email.helper.js +112 -0
  114. package/dist/helpers/eth.helper.d.ts +12 -0
  115. package/dist/helpers/eth.helper.js +4246 -0
  116. package/dist/helpers/hummingbots.helper.d.ts +2 -0
  117. package/dist/helpers/hummingbots.helper.js +163 -0
  118. package/dist/helpers/index.d.ts +5 -0
  119. package/dist/helpers/index.js +837 -0
  120. package/dist/helpers/interval.helpers.d.ts +9 -0
  121. package/dist/helpers/interval.helpers.js +110 -0
  122. package/dist/helpers/liquidity.helper.d.ts +6 -0
  123. package/dist/helpers/liquidity.helper.js +81 -0
  124. package/dist/helpers/order.helper.d.ts +7 -0
  125. package/dist/helpers/order.helper.js +946 -0
  126. package/dist/helpers/pair.helper.d.ts +9 -0
  127. package/dist/helpers/pair.helper.js +938 -0
  128. package/dist/helpers/pointSystem.helper.d.ts +14 -0
  129. package/dist/helpers/pointSystem.helper.js +392 -0
  130. package/dist/helpers/ticker.helpers.d.ts +8 -0
  131. package/dist/helpers/ticker.helpers.js +358 -0
  132. package/dist/helpers/vaa.helper.d.ts +2 -0
  133. package/dist/helpers/vaa.helper.js +4350 -0
  134. package/dist/helpers/withdraw.helper.d.ts +14 -0
  135. package/dist/helpers/withdraw.helper.js +4784 -0
  136. package/dist/interfaces/accountInfo.interface.d.ts +15 -0
  137. package/dist/interfaces/algostreamer/index.d.ts +49 -0
  138. package/dist/interfaces/api/affiliate.interface.d.ts +71 -0
  139. package/dist/interfaces/cache.interface.d.ts +25 -0
  140. package/dist/interfaces/confirmed-txn.interface.d.ts +46 -0
  141. package/dist/interfaces/controller.interface.d.ts +6 -0
  142. package/dist/interfaces/db/baseModel.interface.d.ts +5 -0
  143. package/dist/interfaces/db/hummingbot/index.d.ts +18 -0
  144. package/dist/interfaces/db/index.d.ts +10 -0
  145. package/dist/interfaces/db/market/index.d.ts +313 -0
  146. package/dist/interfaces/db/marketing/index.d.ts +48 -0
  147. package/dist/interfaces/db/notification_center/index.d.ts +33 -0
  148. package/dist/interfaces/db/relayer/index.d.ts +56 -0
  149. package/dist/interfaces/db/social/index.d.ts +188 -0
  150. package/dist/interfaces/db/softDeleteModel.interface.d.ts +4 -0
  151. package/dist/interfaces/db/white_label/index.d.ts +161 -0
  152. package/dist/interfaces/db/withdrawal_wallets/index.d.ts +12 -0
  153. package/dist/interfaces/dto/index.d.ts +62 -0
  154. package/dist/interfaces/emailService.interface.d.ts +4 -0
  155. package/dist/interfaces/index.d.ts +17 -0
  156. package/dist/interfaces/index.js +1319 -0
  157. package/dist/interfaces/kmsService.interface.d.ts +4 -0
  158. package/dist/interfaces/last-look-trade.interface.d.ts +10 -0
  159. package/dist/interfaces/market.interface.d.ts +17 -0
  160. package/dist/interfaces/order.interface.d.ts +162 -0
  161. package/dist/interfaces/pair.interface.d.ts +10 -0
  162. package/dist/interfaces/query.interface.d.ts +6 -0
  163. package/dist/interfaces/services/accountCache.interface.d.ts +15 -0
  164. package/dist/interfaces/services/algod.interface.d.ts +5 -0
  165. package/dist/interfaces/services/balances.interface.d.ts +11 -0
  166. package/dist/interfaces/services/coin-market-cap.interface.d.ts +124 -0
  167. package/dist/interfaces/services/index.d.ts +8 -0
  168. package/dist/interfaces/services/price-model.interface.d.ts +4 -0
  169. package/dist/interfaces/services/price-service.interface.d.ts +8 -0
  170. package/dist/interfaces/services/socialActivity.interface.d.ts +48 -0
  171. package/dist/interfaces/services/tmc.interface.d.ts +9 -0
  172. package/dist/interfaces/streaming.interface.d.ts +95 -0
  173. package/dist/interfaces/timestream.interface.d.ts +29 -0
  174. package/dist/interfaces/trading.interface.d.ts +235 -0
  175. package/dist/interfaces/tradingKey.interface.d.ts +26 -0
  176. package/dist/interfaces/transfer.interface.d.ts +12 -0
  177. package/dist/interfaces/wallet.interface.d.ts +89 -0
  178. package/dist/interfaces/withdrawalWallets.interface.d.ts +14 -0
  179. package/dist/types/algo-order.type.d.ts +10 -0
  180. package/dist/types/amm/amm.d.ts +163 -0
  181. package/dist/types/api/request.types.d.ts +99 -0
  182. package/dist/types/codex.types.d.ts +28 -0
  183. package/dist/types/hummingbots.types.d.ts +23 -0
  184. package/dist/types/index.d.ts +8 -0
  185. package/dist/types/index.js +362 -0
  186. package/dist/types/notification.type.d.ts +10 -0
  187. package/dist/types/settings.type.d.ts +162 -0
  188. package/dist/types/state.type.d.ts +4 -0
  189. package/package.json +78 -0
@@ -0,0 +1,938 @@
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory();
4
+ else if(typeof define === 'function' && define.amd)
5
+ define([], factory);
6
+ else {
7
+ var a = factory();
8
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
+ }
10
+ })(global, () => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 835:
16
+ /***/ ((__unused_webpack_module, exports) => {
17
+
18
+
19
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
20
+ var OrderSide;
21
+ (function (OrderSide) {
22
+ OrderSide[OrderSide["Buy"] = 0] = "Buy";
23
+ OrderSide[OrderSide["Sell"] = 1] = "Sell";
24
+ })(OrderSide || (OrderSide = {}));
25
+ exports["default"] = OrderSide;
26
+
27
+
28
+ /***/ }),
29
+
30
+ /***/ 892:
31
+ /***/ ((__unused_webpack_module, exports) => {
32
+
33
+
34
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
35
+ exports.PairComponentStatusType = exports.ComponentType = exports.ComponentStatusType = void 0;
36
+ var ComponentStatusType;
37
+ (function (ComponentStatusType) {
38
+ ComponentStatusType["ACTIVE"] = "ACTIVE";
39
+ ComponentStatusType["FAILED"] = "FAILED";
40
+ ComponentStatusType["STARTING"] = "STARTING";
41
+ ComponentStatusType["DRAINING"] = "DRAINING";
42
+ ComponentStatusType["TERMINATING"] = "TERMINATING";
43
+ ComponentStatusType["TERMINATED"] = "TERMINATED";
44
+ })(ComponentStatusType || (exports.ComponentStatusType = ComponentStatusType = {}));
45
+ var ComponentType;
46
+ (function (ComponentType) {
47
+ ComponentType["MATCHING_ENGINE"] = "me";
48
+ ComponentType["ORDER_SERVICE"] = "ors";
49
+ ComponentType["API"] = "api";
50
+ ComponentType["SOCKET_SERVICE"] = "ws";
51
+ ComponentType["TRANSACTION_SERVICE"] = "tns";
52
+ })(ComponentType || (exports.ComponentType = ComponentType = {}));
53
+ var PairComponentStatusType;
54
+ (function (PairComponentStatusType) {
55
+ PairComponentStatusType["ACTIVE"] = "ACTIVE";
56
+ PairComponentStatusType["FAILED"] = "FAILED";
57
+ PairComponentStatusType["UNASSIGNED"] = "UNASSIGNED";
58
+ PairComponentStatusType["ASSIGNED"] = "ASSIGNED";
59
+ PairComponentStatusType["STARTING"] = "STARTING";
60
+ })(PairComponentStatusType || (exports.PairComponentStatusType = PairComponentStatusType = {}));
61
+
62
+
63
+ /***/ }),
64
+
65
+ /***/ 893:
66
+ /***/ ((__unused_webpack_module, exports) => {
67
+
68
+
69
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
70
+ exports.NON_REPEATABLE_ACTIONS = exports.ActionEnum = exports.ActionSource = void 0;
71
+ var ActionSource;
72
+ (function (ActionSource) {
73
+ ActionSource["COMPANY"] = "COMPANY";
74
+ ActionSource["TWITTER"] = "TWITTER";
75
+ ActionSource["DISCORD"] = "DISCORD";
76
+ ActionSource["TELEGRAM"] = "TELEGRAM";
77
+ })(ActionSource || (exports.ActionSource = ActionSource = {}));
78
+ var ActionEnum;
79
+ (function (ActionEnum) {
80
+ ActionEnum[ActionEnum["TWITTER_FOLLOW"] = 1] = "TWITTER_FOLLOW";
81
+ ActionEnum[ActionEnum["TWITTER_REPLY"] = 2] = "TWITTER_REPLY";
82
+ ActionEnum[ActionEnum["TWITTER_RETWEET"] = 3] = "TWITTER_RETWEET";
83
+ ActionEnum[ActionEnum["TWITTER_LIKE"] = 4] = "TWITTER_LIKE";
84
+ ActionEnum[ActionEnum["COMPANY_FIRST_LOGIN"] = 5] = "COMPANY_FIRST_LOGIN";
85
+ ActionEnum[ActionEnum["COMPANY_CONFIRM_EMAIL"] = 6] = "COMPANY_CONFIRM_EMAIL";
86
+ ActionEnum[ActionEnum["COMPANY_DEPOSIT"] = 7] = "COMPANY_DEPOSIT";
87
+ ActionEnum[ActionEnum["COMPANY_TRADE"] = 8] = "COMPANY_TRADE";
88
+ ActionEnum[ActionEnum["TELEGRAM_JOIN_GROUP"] = 9] = "TELEGRAM_JOIN_GROUP";
89
+ ActionEnum[ActionEnum["DISCORD_JOIN_SERVER"] = 10] = "DISCORD_JOIN_SERVER";
90
+ ActionEnum[ActionEnum["AFFILIATE_POINTS_REWARD"] = 11] = "AFFILIATE_POINTS_REWARD";
91
+ })(ActionEnum || (exports.ActionEnum = ActionEnum = {}));
92
+ exports.NON_REPEATABLE_ACTIONS = [
93
+ ActionEnum.TWITTER_FOLLOW,
94
+ ActionEnum.TELEGRAM_JOIN_GROUP,
95
+ ActionEnum.DISCORD_JOIN_SERVER,
96
+ ActionEnum.COMPANY_CONFIRM_EMAIL,
97
+ ActionEnum.COMPANY_FIRST_LOGIN,
98
+ ];
99
+
100
+
101
+ /***/ }),
102
+
103
+ /***/ 1048:
104
+ /***/ ((__unused_webpack_module, exports) => {
105
+
106
+
107
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
108
+ exports.WithdrawalWalletType = void 0;
109
+ var WithdrawalWalletType;
110
+ (function (WithdrawalWalletType) {
111
+ WithdrawalWalletType["SOLANA"] = "SOLANA";
112
+ WithdrawalWalletType["ALGORAND"] = "ALGORAND";
113
+ WithdrawalWalletType["EVM"] = "EVM";
114
+ })(WithdrawalWalletType || (exports.WithdrawalWalletType = WithdrawalWalletType = {}));
115
+
116
+
117
+ /***/ }),
118
+
119
+ /***/ 1134:
120
+ /***/ ((__unused_webpack_module, exports) => {
121
+
122
+
123
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
124
+ var OrderType;
125
+ (function (OrderType) {
126
+ OrderType[OrderType["Limit"] = 0] = "Limit";
127
+ OrderType[OrderType["IOC"] = 1] = "IOC";
128
+ OrderType[OrderType["POST"] = 2] = "POST";
129
+ OrderType[OrderType["Market"] = 3] = "Market";
130
+ })(OrderType || (OrderType = {}));
131
+ exports["default"] = OrderType;
132
+
133
+
134
+ /***/ }),
135
+
136
+ /***/ 1283:
137
+ /***/ ((__unused_webpack_module, exports) => {
138
+
139
+
140
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
141
+ exports.StateType = void 0;
142
+ var StateType;
143
+ (function (StateType) {
144
+ StateType["VERSION"] = "version";
145
+ StateType["LAST_ALGO_BLOCK"] = "last_algo_block";
146
+ StateType["PRICES_PROVIDER_API_KEY"] = "prices_provider_api_key";
147
+ StateType["DEFAULT_API_DOMAIN"] = "default_api_domain";
148
+ StateType["NONCE_ACCOUNTS_SOLANA"] = "nonce_accounts_solana";
149
+ StateType["ARCHIVE_DATA_BATCH_SIZE"] = "archive_data_batch_size";
150
+ StateType["ARCHIVE_TASK_LOCK"] = "archive_task_lock";
151
+ })(StateType || (exports.StateType = StateType = {}));
152
+
153
+
154
+ /***/ }),
155
+
156
+ /***/ 1492:
157
+ /***/ ((__unused_webpack_module, exports) => {
158
+
159
+
160
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
161
+ var OrderStatus;
162
+ (function (OrderStatus) {
163
+ OrderStatus[OrderStatus["Open"] = 1] = "Open";
164
+ OrderStatus[OrderStatus["Canceled"] = 2] = "Canceled";
165
+ OrderStatus[OrderStatus["Matched"] = 3] = "Matched";
166
+ OrderStatus[OrderStatus["SelfMatched"] = 4] = "SelfMatched";
167
+ OrderStatus[OrderStatus["Expired"] = 5] = "Expired";
168
+ })(OrderStatus || (OrderStatus = {}));
169
+ exports["default"] = OrderStatus;
170
+
171
+
172
+ /***/ }),
173
+
174
+ /***/ 1682:
175
+ /***/ ((__unused_webpack_module, exports) => {
176
+
177
+
178
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
179
+ exports.SettingTypeColumn = void 0;
180
+ var SettingTypeColumn;
181
+ (function (SettingTypeColumn) {
182
+ SettingTypeColumn["STRING"] = "string";
183
+ SettingTypeColumn["BOOLEAN"] = "boolean";
184
+ SettingTypeColumn["INT"] = "int";
185
+ SettingTypeColumn["FLOAT"] = "float";
186
+ SettingTypeColumn["SINGLE_CHOICE"] = "single-choice";
187
+ SettingTypeColumn["MULTI_CHOICE"] = "multi-choice";
188
+ })(SettingTypeColumn || (exports.SettingTypeColumn = SettingTypeColumn = {}));
189
+
190
+
191
+ /***/ }),
192
+
193
+ /***/ 2224:
194
+ /***/ ((__unused_webpack_module, exports) => {
195
+
196
+
197
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
198
+ exports.AffiliateSortByEnum = void 0;
199
+ var AffiliateSortByEnum;
200
+ (function (AffiliateSortByEnum) {
201
+ AffiliateSortByEnum["INVITED_ACCOUNTS_COUNT"] = "invitedAccountsCount";
202
+ AffiliateSortByEnum["CREATED_AT"] = "createdAt";
203
+ AffiliateSortByEnum["FEE_SHARE"] = "feeShare";
204
+ AffiliateSortByEnum["ADDRESS"] = "address";
205
+ AffiliateSortByEnum["REFERRAL_TRADING_VOLUME"] = "referralTradingVolume";
206
+ })(AffiliateSortByEnum || (exports.AffiliateSortByEnum = AffiliateSortByEnum = {}));
207
+
208
+
209
+ /***/ }),
210
+
211
+ /***/ 2228:
212
+ /***/ ((__unused_webpack_module, exports) => {
213
+
214
+
215
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
216
+ exports.HTTPSRPC_MAINNET = exports.HTTPSRPC_TESTNET = exports.ChainNames = exports.Chains = void 0;
217
+ var Chains;
218
+ (function (Chains) {
219
+ Chains[Chains["Solana"] = 1] = "Solana";
220
+ Chains[Chains["Algorand"] = 8] = "Algorand";
221
+ Chains[Chains["Polygon"] = 5] = "Polygon";
222
+ Chains[Chains["Bsc"] = 4] = "Bsc";
223
+ Chains[Chains["Avalanche"] = 6] = "Avalanche";
224
+ Chains[Chains["Arbitrum"] = 23] = "Arbitrum";
225
+ Chains[Chains["Optimism"] = 24] = "Optimism";
226
+ Chains[Chains["Base"] = 30] = "Base";
227
+ Chains[Chains["Ethereum"] = 2] = "Ethereum";
228
+ Chains[Chains["Sepolia"] = 10002] = "Sepolia";
229
+ Chains[Chains["ArbitrumSepolia"] = 10003] = "ArbitrumSepolia";
230
+ Chains[Chains["BaseSepolia"] = 10004] = "BaseSepolia";
231
+ Chains[Chains["OptimismSepolia"] = 10005] = "OptimismSepolia";
232
+ Chains[Chains["PolygonAmoy"] = 10007] = "PolygonAmoy";
233
+ })(Chains || (exports.Chains = Chains = {}));
234
+ exports.ChainNames = {
235
+ [Chains.Solana]: "Solana",
236
+ [Chains.Ethereum]: "Ethereum",
237
+ [Chains.Polygon]: "Polygon",
238
+ [Chains.Bsc]: "BNB Chain",
239
+ [Chains.Avalanche]: "Avalanche",
240
+ [Chains.Algorand]: "Algorand",
241
+ [Chains.Arbitrum]: "Arbitrum",
242
+ [Chains.Optimism]: "Optimism",
243
+ [Chains.Base]: "Base",
244
+ [Chains.Sepolia]: "Ethereum Sepolia",
245
+ [Chains.ArbitrumSepolia]: "Arbitrum Sepolia",
246
+ [Chains.BaseSepolia]: "Base Sepolia",
247
+ [Chains.OptimismSepolia]: "Optimism Sepolia",
248
+ [Chains.PolygonAmoy]: "Polygon Amoy",
249
+ };
250
+ exports.HTTPSRPC_TESTNET = {
251
+ [Chains.Bsc]: [
252
+ '',
253
+ 'https://bsc-testnet.public.blastapi.io',
254
+ 'https://bsc-testnet.blockpi.network/v1/rpc/private',
255
+ 'https://bsc-testnet-rpc.publicnode.com',
256
+ 'https://api.zan.top/bsc-testnet',
257
+ 'https://data-seed-prebsc-2-s1.bnbchain.org:8545',
258
+ 'https://data-seed-prebsc-2-s2.bnbchain.org:8545',
259
+ 'https://data-seed-prebsc-2-s3.bnbchain.org:8545',
260
+ 'https://data-seed-prebsc-1-s1.bnbchain.org:8545',
261
+ 'https://data-seed-prebsc-1-s2.bnbchain.org:8545',
262
+ 'https://data-seed-prebsc-1-s3.bnbchain.org:8545',
263
+ 'https://endpoints.omniatech.io/v1/bsc/testnet/public',
264
+ ],
265
+ [Chains.Avalanche]: [
266
+ '',
267
+ 'https://rpc.ankr.com/avalanche_fuji',
268
+ 'https://rpc.ankr.com/avalanche_fuji-c',
269
+ 'https://api.avax-test.network/ext/bc/C/rpc',
270
+ 'https://ava-testnet.public.blastapi.io/ext/bc/C/rpc',
271
+ 'https://endpoints.omniatech.io/v1/avax/fuji/public',
272
+ 'https://avalanche-fuji.blockpi.network/v1/rpc/private',
273
+ 'https://avalanche-fuji-c-chain-rpc.publicnode.com',
274
+ 'https://avalanche-fuji.blockpi.network/v1/rpc/private',
275
+ ],
276
+ [Chains.Sepolia]: [
277
+ 'https://ethereum-sepolia-rpc.publicnode.com',
278
+ 'https://sepolia.gateway.tenderly.co',
279
+ 'https://eth-sepolia.public.blastapi.io',
280
+ 'https://ethereum-sepolia.blockpi.network/v1/rpc/private',
281
+ 'https://sepolia.drpc.org',
282
+ 'https://endpoints.omniatech.io/v1/eth/sepolia/public',
283
+ 'https://1rpc.io/sepolia',
284
+ 'https://gateway.tenderly.co/public/sepolia',
285
+ 'https://sepolia.gateway.tenderly.co',
286
+ 'https://api.zan.top/eth-sepolia',
287
+ 'https://ethereum-sepolia.rpc.subquery.network/public',
288
+ ],
289
+ [Chains.ArbitrumSepolia]: [
290
+ '',
291
+ 'https://arbitrum-sepolia.blockpi.network/v1/rpc/private ',
292
+ 'https://arbitrum-sepolia.gateway.tenderly.co',
293
+ 'https://endpoints.omniatech.io/v1/arbitrum/sepolia/public',
294
+ 'https://api.zan.top/arb-sepolia',
295
+ 'https://sepolia-rollup.arbitrum.io/rpc',
296
+ ],
297
+ [Chains.BaseSepolia]: [
298
+ '',
299
+ 'https://sepolia.base.org',
300
+ 'https://base-sepolia-rpc.publicnode.com',
301
+ 'https://base-sepolia.gateway.tenderly.co',
302
+ 'https://base-sepolia.blockpi.network/v1/rpc/private',
303
+ 'https://node.histori.xyz/base-sepolia/8ry9f6t9dct1se2hlagxnd9n2a',
304
+ ],
305
+ [Chains.OptimismSepolia]: [
306
+ '',
307
+ 'https://optimism-sepolia.blockpi.network/v1/rpc/private',
308
+ 'https://sepolia.optimism.io',
309
+ 'https://api.zan.top/opt-sepolia',
310
+ 'https://optimism-sepolia.gateway.tenderly.co',
311
+ 'https://optimism-sepolia.drpc.org',
312
+ 'https://endpoints.omniatech.io/v1/op/sepolia/public',
313
+ ],
314
+ [Chains.PolygonAmoy]: [
315
+ 'https://rpc-amoy.polygon.technology',
316
+ 'https://polygon-amoy-bor-rpc.publicnode.com',
317
+ 'https://rpc.ankr.com/polygon_amoy',
318
+ 'https://polygon-amoy.drpc.org',
319
+ 'https://api.zan.top/polygon-amoy',
320
+ 'https://polygon-amoy.gateway.tenderly.co',
321
+ ],
322
+ };
323
+ exports.HTTPSRPC_MAINNET = {
324
+ [Chains.Ethereum]: [
325
+ '',
326
+ 'https://eth.llamarpc.com',
327
+ 'https://ethereum.blockpi.network/v1/rpc/public',
328
+ 'https://eth-mainnet.nodereal.io/v1/1659dfb40aa24bbb8153a677b98064d7',
329
+ 'https://uk.rpc.blxrbdn.com',
330
+ 'https://singapore.rpc.blxrbdn.com',
331
+ 'https://virginia.rpc.blxrbdn.com',
332
+ 'https://eth-mainnet.public.blastapi.io',
333
+ 'https://api.securerpc.com/v1',
334
+ 'https://mainnet.gateway.tenderly.co',
335
+ 'https://eth-pokt.nodies.app',
336
+ 'https://eth.blockrazor.xyz',
337
+ 'https://eth.merkle.io',
338
+ 'https://gateway.tenderly.co/public/mainnet',
339
+ 'https://eth.rpc.blxrbdn.com',
340
+ ],
341
+ [Chains.Bsc]: [
342
+ '',
343
+ 'https://bsc.blockrazor.xyz',
344
+ 'https://bscrpc.com',
345
+ 'https://bsc-mainnet.public.blastapi.io',
346
+ 'https://binance.llamarpc.com',
347
+ 'https://go.getblock.io/cc778cdbdf5c4b028ec9456e0e6c0cf3',
348
+ 'https://bsc-pokt.nodies.app',
349
+ 'https://56.rpc.thirdweb.com',
350
+ 'https://bsc.blockpi.network/v1/rpc/private',
351
+ 'https://bsc.rpc.blxrbdn.com',
352
+ 'https://bsc-dataseed.bnbchain.org',
353
+ 'https://endpoints.omniatech.io/v1/bsc/mainnet/public',
354
+ 'https://bsc-dataseed1.ninicoin.io',
355
+ 'https://bsc-dataseed2.defibit.io',
356
+ 'https://bsc-dataseed2.ninicoin.io',
357
+ 'https://0.48.club',
358
+ 'https://bsc-dataseed3.defibit.io',
359
+ ],
360
+ [Chains.Polygon]: [
361
+ '',
362
+ 'https://polygon.llamarpc.com',
363
+ 'https://polygon-rpc.com',
364
+ 'https://rpc-mainnet.matic.quiknode.pro',
365
+ 'https://endpoints.omniatech.io/v1/matic/mainnet/public',
366
+ 'https://polygon-pokt.nodies.app',
367
+ 'https://polygon-bor-rpc.publicnode.com',
368
+ 'https://polygon.rpc.subquery.network/public',
369
+ 'https://polygon-bor-rpc.publicnode.com',
370
+ 'https://polygon.blockpi.network/v1/rpc/private',
371
+ 'https://polygon.api.onfinality.io/public',
372
+ 'https://polygon.lava.build',
373
+ 'https://api.zan.top/polygon-mainnet',
374
+ 'https://polygon.meowrpc.com',
375
+ ],
376
+ [Chains.Avalanche]: [
377
+ '',
378
+ 'https://avalanche-c-chain-rpc.publicnode.com',
379
+ 'https://ava-mainnet.public.blastapi.io/ext/bc/C/rpc',
380
+ 'https://endpoints.omniatech.io/v1/avax/mainnet/public',
381
+ 'https://avalanche-c-chain-rpc.publicnode.com',
382
+ 'https://avalanche.blockpi.network/v1/rpc/private',
383
+ 'https://avalanche.public-rpc.com',
384
+ 'https://avalanche.drpc.org',
385
+ 'https://avax.meowrpc.com',
386
+ 'https://endpoints.omniatech.io/v1/avax/mainnet/public',
387
+ 'https://api.avax.network/ext/bc/C/rpc',
388
+ 'https://1rpc.io/avax/c',
389
+ 'https://avax-pokt.nodies.app/ext/bc/C/rpc',
390
+ 'https://endpoints.omniatech.io/v1/avax/mainnet/public',
391
+ 'https://api.zan.top/avax-mainnet/ext/bc/C/rpc',
392
+ ],
393
+ [Chains.Arbitrum]: [
394
+ '',
395
+ 'https://arbitrum.llamarpc.com',
396
+ 'https://arbitrum.rpc.subquery.network/public',
397
+ 'https://endpoints.omniatech.io/v1/arbitrum/one/public',
398
+ 'https://arbitrum.meowrpc.com',
399
+ 'https://arbitrum.gateway.tenderly.co',
400
+ 'https://arbitrum-one.public.blastapi.io',
401
+ 'https://arb1.lava.build',
402
+ 'https://arbitrum-one.publicnode.com',
403
+ 'https://arbitrum.blockpi.network/v1/rpc/public',
404
+ 'https://arb-pokt.nodies.app',
405
+ 'https://api.zan.top/arb-one',
406
+ 'https://arb1.arbitrum.io/rpc',
407
+ 'https://arbitrum.drpc.org',
408
+ 'https://1rpc.io/arb',
409
+ ],
410
+ [Chains.Optimism]: [
411
+ '',
412
+ 'https://optimism.llamarpc.com',
413
+ 'https://op-pokt.nodies.app',
414
+ 'https://optimism-mainnet.public.blastapi.io',
415
+ 'https://optimism.blockpi.network/v1/rpc/public',
416
+ 'https://endpoints.omniatech.io/v1/op/mainnet/public',
417
+ 'https://optimism-rpc.publicnode.com',
418
+ 'https://optimism.drpc.org',
419
+ 'https://1rpc.io/op',
420
+ 'https://optimism.gateway.tenderly.co',
421
+ 'https://optimism.lava.build',
422
+ 'https://optimism.rpc.subquery.network/public',
423
+ 'https://mainnet.optimism.io',
424
+ 'https://optimism-rpc.publicnode.com',
425
+ 'https://gateway.tenderly.co/public/optimism',
426
+ ],
427
+ [Chains.Base]: [
428
+ '',
429
+ 'https://base.llamarpc.com',
430
+ 'https://base-mainnet.public.blastapi.io',
431
+ 'https://base-rpc.publicnode.com',
432
+ 'https://base.blockpi.network/v1/rpc/public',
433
+ 'https://base.drpc.org',
434
+ 'https://mainnet.base.org',
435
+ 'https://base.api.onfinality.io/public',
436
+ 'https://base-pokt.nodies.app',
437
+ 'https://1rpc.io/base',
438
+ 'https://developer-access-mainnet.base.org',
439
+ 'https://endpoints.omniatech.io/v1/base/mainnet/public',
440
+ 'https://base.rpc.subquery.network/public',
441
+ 'https://base.api.onfinality.io/public',
442
+ 'https://base.meowrpc.com',
443
+ 'https://base.gateway.tenderly.co',
444
+ ],
445
+ };
446
+
447
+
448
+ /***/ }),
449
+
450
+ /***/ 2623:
451
+ /***/ ((__unused_webpack_module, exports) => {
452
+
453
+
454
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
455
+ exports.TransactionType = exports.CCTPStatus = exports.ActionTypeEnum = exports.OperationStatusEnum = void 0;
456
+ var OperationStatusEnum;
457
+ (function (OperationStatusEnum) {
458
+ OperationStatusEnum["Pending"] = "pending";
459
+ OperationStatusEnum["Completed"] = "completed";
460
+ OperationStatusEnum["Failed"] = "failed";
461
+ OperationStatusEnum["Received"] = "received";
462
+ })(OperationStatusEnum || (exports.OperationStatusEnum = OperationStatusEnum = {}));
463
+ var ActionTypeEnum;
464
+ (function (ActionTypeEnum) {
465
+ ActionTypeEnum["Deposit"] = "deposit";
466
+ ActionTypeEnum["Withdraw"] = "withdraw";
467
+ ActionTypeEnum["Rebalance"] = "rebalance";
468
+ })(ActionTypeEnum || (exports.ActionTypeEnum = ActionTypeEnum = {}));
469
+ var CCTPStatus;
470
+ (function (CCTPStatus) {
471
+ CCTPStatus["PENDING"] = "pending";
472
+ CCTPStatus["COMPLETED"] = "completed";
473
+ CCTPStatus["FAILED"] = "failed";
474
+ })(CCTPStatus || (exports.CCTPStatus = CCTPStatus = {}));
475
+ var TransactionType;
476
+ (function (TransactionType) {
477
+ TransactionType["USER_TO_TMC"] = "user_to_tmc";
478
+ TransactionType["TMC_TO_USER"] = "tmc_to_user";
479
+ TransactionType["RELAYER_TO_TMC"] = "relayer_to_tmc";
480
+ TransactionType["RELAYER_TO_CODEX"] = "relayer_to_codex";
481
+ TransactionType["RELAYER_TO_CIRCLE"] = "relayer_to_circle";
482
+ })(TransactionType || (exports.TransactionType = TransactionType = {}));
483
+
484
+
485
+ /***/ }),
486
+
487
+ /***/ 2739:
488
+ /***/ ((__unused_webpack_module, exports) => {
489
+
490
+
491
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
492
+ exports.Notification = void 0;
493
+ var Notification;
494
+ (function (Notification) {
495
+ Notification[Notification["SELF_TRADE"] = 1] = "SELF_TRADE";
496
+ Notification[Notification["FULL_FILLED"] = 2] = "FULL_FILLED";
497
+ Notification[Notification["FULL_CANCELLED"] = 3] = "FULL_CANCELLED";
498
+ Notification[Notification["PARTIALLY_CANCELLED"] = 4] = "PARTIALLY_CANCELLED";
499
+ Notification[Notification["CREATED"] = 5] = "CREATED";
500
+ })(Notification || (exports.Notification = Notification = {}));
501
+
502
+
503
+ /***/ }),
504
+
505
+ /***/ 2797:
506
+ /***/ ((__unused_webpack_module, exports) => {
507
+
508
+
509
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
510
+ var AvailablePairSettings;
511
+ (function (AvailablePairSettings) {
512
+ AvailablePairSettings["MFT_AUDIO_LINK"] = "mft.audioLink";
513
+ AvailablePairSettings["MFT_TITLE"] = "mft.title";
514
+ AvailablePairSettings["MODE_PRE_SALE"] = "mode.preSale";
515
+ AvailablePairSettings["MAKER_FEE"] = "makerFee";
516
+ AvailablePairSettings["TAKER_FEE"] = "takerFee";
517
+ AvailablePairSettings["VIEW_BASE_COIN_ICON_LINK"] = "view.baseCoinIconLink";
518
+ AvailablePairSettings["VIEW_BASE_COIN_MARKET_LINK"] = "view.baseCoinMarketLink";
519
+ AvailablePairSettings["VIEW_PRICE_COIN_ICON_LINK"] = "view.priceCoinIconLink";
520
+ AvailablePairSettings["VIEW_PRICE_COIN_MARKET_LINK"] = "view.priceCoinMarketLink";
521
+ })(AvailablePairSettings || (AvailablePairSettings = {}));
522
+ exports["default"] = AvailablePairSettings;
523
+
524
+
525
+ /***/ }),
526
+
527
+ /***/ 3004:
528
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
529
+
530
+
531
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
532
+ if (k2 === undefined) k2 = k;
533
+ var desc = Object.getOwnPropertyDescriptor(m, k);
534
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
535
+ desc = { enumerable: true, get: function() { return m[k]; } };
536
+ }
537
+ Object.defineProperty(o, k2, desc);
538
+ }) : (function(o, m, k, k2) {
539
+ if (k2 === undefined) k2 = k;
540
+ o[k2] = m[k];
541
+ }));
542
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
543
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
544
+ };
545
+ var __importDefault = (this && this.__importDefault) || function (mod) {
546
+ return (mod && mod.__esModule) ? mod : { "default": mod };
547
+ };
548
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
549
+ exports.TradingKeyType = exports.OrderType = exports.OrderStatus = exports.OrderSide = exports.AvailablePairSettings = void 0;
550
+ const available_pair_settings_enum_1 = __importDefault(__webpack_require__(2797));
551
+ exports.AvailablePairSettings = available_pair_settings_enum_1.default;
552
+ const order_side_enum_1 = __importDefault(__webpack_require__(835));
553
+ exports.OrderSide = order_side_enum_1.default;
554
+ const order_status_enum_1 = __importDefault(__webpack_require__(1492));
555
+ exports.OrderStatus = order_status_enum_1.default;
556
+ const order_type_enum_1 = __importDefault(__webpack_require__(1134));
557
+ exports.OrderType = order_type_enum_1.default;
558
+ const tradingKeyType_enum_1 = __webpack_require__(3487);
559
+ Object.defineProperty(exports, "TradingKeyType", ({ enumerable: true, get: function () { return tradingKeyType_enum_1.TradingKeyType; } }));
560
+ __exportStar(__webpack_require__(893), exports);
561
+ __exportStar(__webpack_require__(3338), exports);
562
+ __exportStar(__webpack_require__(3245), exports);
563
+ __exportStar(__webpack_require__(6828), exports);
564
+ __exportStar(__webpack_require__(2224), exports);
565
+ __exportStar(__webpack_require__(892), exports);
566
+ __exportStar(__webpack_require__(2623), exports);
567
+ __exportStar(__webpack_require__(3854), exports);
568
+ __exportStar(__webpack_require__(4132), exports);
569
+ __exportStar(__webpack_require__(3516), exports);
570
+ __exportStar(__webpack_require__(4199), exports);
571
+ __exportStar(__webpack_require__(1682), exports);
572
+ __exportStar(__webpack_require__(1283), exports);
573
+ __exportStar(__webpack_require__(5237), exports);
574
+ __exportStar(__webpack_require__(1048), exports);
575
+
576
+
577
+ /***/ }),
578
+
579
+ /***/ 3084:
580
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
581
+
582
+
583
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
584
+ exports.extractPairFee = exports.parsePairSettings = exports.fetchTokensFromPair = void 0;
585
+ const _enums_1 = __webpack_require__(9965);
586
+ const fetchTokensFromPair = (pair) => {
587
+ const { base_id, base_chain_id, base_decimal, base_currency, price_id, price_chain_id, price_decimal, price_currency, } = pair;
588
+ const [baseAsset, priceAsset] = [
589
+ [base_id, base_chain_id, base_decimal, base_currency],
590
+ [price_id, price_chain_id, price_decimal, price_currency],
591
+ ].map(([address, chainId, decimal, name]) => ({ address, chainId, decimal, name }));
592
+ return { baseAsset, priceAsset };
593
+ };
594
+ exports.fetchTokensFromPair = fetchTokensFromPair;
595
+ const parsePairSettings = (settings, companyId) => {
596
+ return settings?.reduce((acc, o) => {
597
+ const { settingId, value } = o;
598
+ if (o.companyId && o.companyId !== companyId) {
599
+ return acc;
600
+ }
601
+ if (settingId === _enums_1.AvailablePairSettings.MODE_PRE_SALE) {
602
+ acc[settingId] = JSON.parse(value);
603
+ }
604
+ else {
605
+ acc[settingId] = value;
606
+ }
607
+ return acc;
608
+ }, {});
609
+ };
610
+ exports.parsePairSettings = parsePairSettings;
611
+ const extractPairFee = (pairSettings, companyId, feeType) => {
612
+ const pSettings = (0, exports.parsePairSettings)(pairSettings, companyId);
613
+ const feeSetting = feeType === "M" ? _enums_1.AvailablePairSettings.MAKER_FEE : _enums_1.AvailablePairSettings.TAKER_FEE;
614
+ const pairFee = Number(pSettings[feeSetting]);
615
+ if (pairFee) {
616
+ return pairFee;
617
+ }
618
+ };
619
+ exports.extractPairFee = extractPairFee;
620
+
621
+
622
+ /***/ }),
623
+
624
+ /***/ 3245:
625
+ /***/ ((__unused_webpack_module, exports) => {
626
+
627
+
628
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
629
+ exports.PromptTypeEnum = void 0;
630
+ var PromptTypeEnum;
631
+ (function (PromptTypeEnum) {
632
+ PromptTypeEnum["INSTRUCTIONS"] = "INSTRUCTIONS";
633
+ PromptTypeEnum["TEXT_STYLE"] = "TEXT_STYLE";
634
+ PromptTypeEnum["TEXT_TONE"] = "TEXT_TONE";
635
+ PromptTypeEnum["REACTION_TYPE"] = "REACTION_TYPE";
636
+ PromptTypeEnum["COMMENT_LENGTH"] = "COMMENT_LENGTH";
637
+ PromptTypeEnum["CONTEXT"] = "CONTEXT";
638
+ })(PromptTypeEnum || (exports.PromptTypeEnum = PromptTypeEnum = {}));
639
+
640
+
641
+ /***/ }),
642
+
643
+ /***/ 3338:
644
+ /***/ ((__unused_webpack_module, exports) => {
645
+
646
+
647
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
648
+ exports.TweetType = exports.SeasonStatusEnum = void 0;
649
+ var SeasonStatusEnum;
650
+ (function (SeasonStatusEnum) {
651
+ SeasonStatusEnum["CREATED"] = "created";
652
+ SeasonStatusEnum["STARTED"] = "started";
653
+ SeasonStatusEnum["PAUSED"] = "paused";
654
+ SeasonStatusEnum["CLOSED"] = "closed";
655
+ })(SeasonStatusEnum || (exports.SeasonStatusEnum = SeasonStatusEnum = {}));
656
+ var TweetType;
657
+ (function (TweetType) {
658
+ TweetType["Post"] = "POST";
659
+ TweetType["Comment"] = "COMMENT";
660
+ })(TweetType || (exports.TweetType = TweetType = {}));
661
+
662
+
663
+ /***/ }),
664
+
665
+ /***/ 3487:
666
+ /***/ ((__unused_webpack_module, exports) => {
667
+
668
+
669
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
670
+ exports.TradingKeyType = void 0;
671
+ var TradingKeyType;
672
+ (function (TradingKeyType) {
673
+ TradingKeyType["User"] = "User";
674
+ TradingKeyType["Api"] = "API";
675
+ })(TradingKeyType || (exports.TradingKeyType = TradingKeyType = {}));
676
+
677
+
678
+ /***/ }),
679
+
680
+ /***/ 3516:
681
+ /***/ ((__unused_webpack_module, exports) => {
682
+
683
+
684
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
685
+ exports.SortDirectionEnum = void 0;
686
+ var SortDirectionEnum;
687
+ (function (SortDirectionEnum) {
688
+ SortDirectionEnum["ASCENDING"] = "ASC";
689
+ SortDirectionEnum["DESCENDING"] = "DESC";
690
+ })(SortDirectionEnum || (exports.SortDirectionEnum = SortDirectionEnum = {}));
691
+
692
+
693
+ /***/ }),
694
+
695
+ /***/ 3854:
696
+ /***/ ((__unused_webpack_module, exports) => {
697
+
698
+
699
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
700
+ exports.TradeSubStatus = exports.TradeStatus = void 0;
701
+ var TradeStatus;
702
+ (function (TradeStatus) {
703
+ TradeStatus["Unconfirmed"] = "UNCONFIRMED";
704
+ TradeStatus["Confirmed"] = "CONFIRMED";
705
+ TradeStatus["Rejected"] = "REJECTED";
706
+ })(TradeStatus || (exports.TradeStatus = TradeStatus = {}));
707
+ var TradeSubStatus;
708
+ (function (TradeSubStatus) {
709
+ TradeSubStatus["RESUBMITTED"] = "RESUBMITTED";
710
+ TradeSubStatus["PROCESSED"] = "PROCESSED";
711
+ TradeSubStatus["REMATCHED"] = "REMATCHED";
712
+ })(TradeSubStatus || (exports.TradeSubStatus = TradeSubStatus = {}));
713
+
714
+
715
+ /***/ }),
716
+
717
+ /***/ 4132:
718
+ /***/ ((__unused_webpack_module, exports) => {
719
+
720
+
721
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
722
+ exports.MarketMakerSortByEnum = exports.MarketMakerRebateTier = void 0;
723
+ var MarketMakerRebateTier;
724
+ (function (MarketMakerRebateTier) {
725
+ MarketMakerRebateTier[MarketMakerRebateTier["FIRST"] = 1] = "FIRST";
726
+ MarketMakerRebateTier[MarketMakerRebateTier["SECOND"] = 2] = "SECOND";
727
+ MarketMakerRebateTier[MarketMakerRebateTier["THIRD"] = 3] = "THIRD";
728
+ MarketMakerRebateTier[MarketMakerRebateTier["FOURTH"] = 4] = "FOURTH";
729
+ })(MarketMakerRebateTier || (exports.MarketMakerRebateTier = MarketMakerRebateTier = {}));
730
+ var MarketMakerSortByEnum;
731
+ (function (MarketMakerSortByEnum) {
732
+ MarketMakerSortByEnum["REBATE_TIER"] = "rebateTier";
733
+ MarketMakerSortByEnum["CREATED_AT"] = "createdAt";
734
+ MarketMakerSortByEnum["NAME"] = "name";
735
+ MarketMakerSortByEnum["TAKER_FEE"] = "takerFee";
736
+ MarketMakerSortByEnum["ENABLED"] = "enabled";
737
+ MarketMakerSortByEnum["ADDRESS"] = "address";
738
+ MarketMakerSortByEnum["CHAIN"] = "chainId";
739
+ })(MarketMakerSortByEnum || (exports.MarketMakerSortByEnum = MarketMakerSortByEnum = {}));
740
+
741
+
742
+ /***/ }),
743
+
744
+ /***/ 4199:
745
+ /***/ ((__unused_webpack_module, exports) => {
746
+
747
+
748
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
749
+ exports.ScheduledNotificationStatusEnum = exports.NotificationStatusEnum = exports.NotificationPriorityEnum = exports.CombinedNotificationEnum = exports.AccountNotificationEnum = exports.GlobalNotificationEnum = void 0;
750
+ var GlobalNotificationEnum;
751
+ (function (GlobalNotificationEnum) {
752
+ GlobalNotificationEnum["GLOBAL_PAIR_DELISTING"] = "GLOBAL_PAIR_DELISTING";
753
+ GlobalNotificationEnum["GLOBAL_NEW_PAIR_LISTING"] = "GLOBAL_NEW_PAIR_LISTING";
754
+ GlobalNotificationEnum["GLOBAL_SYSTEM_MAINTENANCE"] = "GLOBAL_SYSTEM_MAINTENANCE";
755
+ GlobalNotificationEnum["GLOBAL_SMART_CONTRACT_UPDATE"] = "GLOBAL_SMART_CONTRACT_UPDATE";
756
+ })(GlobalNotificationEnum || (exports.GlobalNotificationEnum = GlobalNotificationEnum = {}));
757
+ var AccountNotificationEnum;
758
+ (function (AccountNotificationEnum) {
759
+ AccountNotificationEnum["ACCOUNT_POINTS_UNLOCK_ACHIEVEMENT"] = "ACCOUNT_POINTS_UNLOCK_ACHIEVEMENT";
760
+ AccountNotificationEnum["ACCOUNT_KYC_STATUS_CHANGED"] = "ACCOUNT_KYC_STATUS_CHANGED";
761
+ AccountNotificationEnum["ACCOUNT_AFFILIATE_DASHBOARD_UNLOCKED"] = "ACCOUNT_AFFILIATE_DASHBOARD_UNLOCKED";
762
+ })(AccountNotificationEnum || (exports.AccountNotificationEnum = AccountNotificationEnum = {}));
763
+ exports.CombinedNotificationEnum = {
764
+ ...GlobalNotificationEnum,
765
+ ...AccountNotificationEnum,
766
+ };
767
+ var NotificationPriorityEnum;
768
+ (function (NotificationPriorityEnum) {
769
+ NotificationPriorityEnum["CRITICAL"] = "CRITICAL";
770
+ NotificationPriorityEnum["IMPORTANT"] = "IMPORTANT";
771
+ NotificationPriorityEnum["INFO"] = "INFO";
772
+ })(NotificationPriorityEnum || (exports.NotificationPriorityEnum = NotificationPriorityEnum = {}));
773
+ var NotificationStatusEnum;
774
+ (function (NotificationStatusEnum) {
775
+ NotificationStatusEnum["UNREAD"] = "UNREAD";
776
+ NotificationStatusEnum["READ"] = "READ";
777
+ })(NotificationStatusEnum || (exports.NotificationStatusEnum = NotificationStatusEnum = {}));
778
+ var ScheduledNotificationStatusEnum;
779
+ (function (ScheduledNotificationStatusEnum) {
780
+ ScheduledNotificationStatusEnum["PENDING"] = "PENDING";
781
+ ScheduledNotificationStatusEnum["PROCESSED"] = "PROCESSED";
782
+ ScheduledNotificationStatusEnum["FAILED"] = "FAILED";
783
+ })(ScheduledNotificationStatusEnum || (exports.ScheduledNotificationStatusEnum = ScheduledNotificationStatusEnum = {}));
784
+
785
+
786
+ /***/ }),
787
+
788
+ /***/ 5237:
789
+ /***/ ((__unused_webpack_module, exports) => {
790
+
791
+
792
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
793
+ exports.UpgradeStatus = void 0;
794
+ var UpgradeStatus;
795
+ (function (UpgradeStatus) {
796
+ UpgradeStatus["SUCCESS"] = "success";
797
+ UpgradeStatus["FAILED"] = "failed";
798
+ UpgradeStatus["PENDING"] = "pending";
799
+ })(UpgradeStatus || (exports.UpgradeStatus = UpgradeStatus = {}));
800
+
801
+
802
+ /***/ }),
803
+
804
+ /***/ 6119:
805
+ /***/ ((__unused_webpack_module, exports) => {
806
+
807
+
808
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
809
+ exports.TwitterAccessScopeEnum = void 0;
810
+ var TwitterAccessScopeEnum;
811
+ (function (TwitterAccessScopeEnum) {
812
+ TwitterAccessScopeEnum["USERS_READ"] = "users.read";
813
+ TwitterAccessScopeEnum["FOLLOWS_READ"] = "follows.read";
814
+ TwitterAccessScopeEnum["FOLLOWS_WRITE"] = "follows.write";
815
+ TwitterAccessScopeEnum["TWEET_READ"] = "tweet.read";
816
+ TwitterAccessScopeEnum["TWEET_WRITE"] = "tweet.write";
817
+ TwitterAccessScopeEnum["OFFLINE_ACCESS"] = "offline.access";
818
+ TwitterAccessScopeEnum["LIKE_READ"] = "like.read";
819
+ TwitterAccessScopeEnum["LIKE_WRITE"] = "like.write";
820
+ })(TwitterAccessScopeEnum || (exports.TwitterAccessScopeEnum = TwitterAccessScopeEnum = {}));
821
+
822
+
823
+ /***/ }),
824
+
825
+ /***/ 6828:
826
+ /***/ ((__unused_webpack_module, exports) => {
827
+
828
+
829
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
830
+ exports.KYCAuthenticationStatus = exports.LastLookAction = exports.FeeTier = void 0;
831
+ var FeeTier;
832
+ (function (FeeTier) {
833
+ FeeTier[FeeTier["FEE_TIER_1"] = 1] = "FEE_TIER_1";
834
+ FeeTier[FeeTier["FEE_TIER_2"] = 2] = "FEE_TIER_2";
835
+ FeeTier[FeeTier["FEE_TIER_3"] = 3] = "FEE_TIER_3";
836
+ FeeTier[FeeTier["FEE_TIER_4"] = 4] = "FEE_TIER_4";
837
+ FeeTier[FeeTier["FEE_TIER_5"] = 5] = "FEE_TIER_5";
838
+ FeeTier[FeeTier["FEE_TIER_6"] = 6] = "FEE_TIER_6";
839
+ })(FeeTier || (exports.FeeTier = FeeTier = {}));
840
+ var LastLookAction;
841
+ (function (LastLookAction) {
842
+ LastLookAction[LastLookAction["Approve"] = 1] = "Approve";
843
+ LastLookAction[LastLookAction["Reject"] = 0] = "Reject";
844
+ })(LastLookAction || (exports.LastLookAction = LastLookAction = {}));
845
+ var KYCAuthenticationStatus;
846
+ (function (KYCAuthenticationStatus) {
847
+ KYCAuthenticationStatus["INITIATED"] = "INITIATED";
848
+ KYCAuthenticationStatus["CREATED"] = "CREATED";
849
+ KYCAuthenticationStatus["PROCESSING"] = "PROCESSING";
850
+ KYCAuthenticationStatus["APPROVED"] = "APPROVED";
851
+ KYCAuthenticationStatus["REJECTED"] = "REJECTED";
852
+ })(KYCAuthenticationStatus || (exports.KYCAuthenticationStatus = KYCAuthenticationStatus = {}));
853
+
854
+
855
+ /***/ }),
856
+
857
+ /***/ 6978:
858
+ /***/ ((__unused_webpack_module, exports) => {
859
+
860
+
861
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
862
+ exports.MaintenanceMode = void 0;
863
+ var MaintenanceMode;
864
+ (function (MaintenanceMode) {
865
+ MaintenanceMode[MaintenanceMode["Off"] = 0] = "Off";
866
+ MaintenanceMode[MaintenanceMode["Full"] = 1] = "Full";
867
+ MaintenanceMode[MaintenanceMode["Partial"] = 2] = "Partial";
868
+ MaintenanceMode[MaintenanceMode["Scheduled"] = 3] = "Scheduled";
869
+ })(MaintenanceMode || (exports.MaintenanceMode = MaintenanceMode = {}));
870
+
871
+
872
+ /***/ }),
873
+
874
+ /***/ 9965:
875
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
876
+
877
+
878
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
879
+ if (k2 === undefined) k2 = k;
880
+ var desc = Object.getOwnPropertyDescriptor(m, k);
881
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
882
+ desc = { enumerable: true, get: function() { return m[k]; } };
883
+ }
884
+ Object.defineProperty(o, k2, desc);
885
+ }) : (function(o, m, k, k2) {
886
+ if (k2 === undefined) k2 = k;
887
+ o[k2] = m[k];
888
+ }));
889
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
890
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
891
+ };
892
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
893
+ __exportStar(__webpack_require__(2228), exports);
894
+ __exportStar(__webpack_require__(6978), exports);
895
+ __exportStar(__webpack_require__(2739), exports);
896
+ __exportStar(__webpack_require__(6119), exports);
897
+ __exportStar(__webpack_require__(3004), exports);
898
+
899
+
900
+ /***/ })
901
+
902
+ /******/ });
903
+ /************************************************************************/
904
+ /******/ // The module cache
905
+ /******/ var __webpack_module_cache__ = {};
906
+ /******/
907
+ /******/ // The require function
908
+ /******/ function __webpack_require__(moduleId) {
909
+ /******/ // Check if module is in cache
910
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
911
+ /******/ if (cachedModule !== undefined) {
912
+ /******/ return cachedModule.exports;
913
+ /******/ }
914
+ /******/ // Create a new module (and put it into the cache)
915
+ /******/ var module = __webpack_module_cache__[moduleId] = {
916
+ /******/ // no module.id needed
917
+ /******/ // no module.loaded needed
918
+ /******/ exports: {}
919
+ /******/ };
920
+ /******/
921
+ /******/ // Execute the module function
922
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
923
+ /******/
924
+ /******/ // Return the exports of the module
925
+ /******/ return module.exports;
926
+ /******/ }
927
+ /******/
928
+ /************************************************************************/
929
+ /******/
930
+ /******/ // startup
931
+ /******/ // Load entry module and return exports
932
+ /******/ // This entry module is referenced by other modules so it can't be inlined
933
+ /******/ var __webpack_exports__ = __webpack_require__(3084);
934
+ /******/
935
+ /******/ return __webpack_exports__;
936
+ /******/ })()
937
+ ;
938
+ });