@gmx-io/sdk 1.5.0-alpha-8 → 1.5.0-alpha-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 (235) hide show
  1. package/build/cjs/scripts/subsquid-codegen.js +1 -1
  2. package/build/cjs/src/clients/v1/testUtil.js +1 -1
  3. package/build/cjs/src/clients/v2/__tests__/data.spec.js +85 -0
  4. package/build/cjs/src/clients/v2/__tests__/decrease.spec.js +471 -0
  5. package/build/cjs/src/clients/v2/__tests__/editCancel.spec.js +259 -0
  6. package/build/cjs/src/clients/v2/__tests__/errors.spec.js +261 -0
  7. package/build/cjs/src/clients/v2/__tests__/increase.spec.js +764 -0
  8. package/build/cjs/src/clients/v2/__tests__/subaccount.spec.js +74 -0
  9. package/build/cjs/src/clients/v2/__tests__/swap.spec.js +192 -0
  10. package/build/cjs/src/clients/v2/__tests__/testUtil.js +136 -0
  11. package/build/cjs/src/clients/v2/index.js +164 -25
  12. package/build/cjs/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +82 -0
  13. package/build/cjs/src/codegen/prebuilt/hashedMarketConfigKeys.json +572 -0
  14. package/build/cjs/src/codegen/prebuilt/hashedMarketValuesKeys.json +152 -0
  15. package/build/cjs/src/codegen/subsquid.js +323 -1
  16. package/build/cjs/src/configs/__tests__/tokens.spec.js +1 -0
  17. package/build/cjs/src/configs/api.js +4 -3
  18. package/build/cjs/src/configs/batch.js +13 -0
  19. package/build/cjs/src/configs/chainIds.js +2 -1
  20. package/build/cjs/src/configs/chains.js +59 -3
  21. package/build/cjs/src/configs/contracts.js +73 -6
  22. package/build/cjs/src/configs/express.js +2 -0
  23. package/build/cjs/src/configs/gasLimits.js +7 -0
  24. package/build/cjs/src/configs/markets.js +86 -2
  25. package/build/cjs/src/configs/oracleKeeper.js +2 -0
  26. package/build/cjs/src/configs/tokens.js +151 -132
  27. package/build/cjs/src/test/mock.js +1 -1
  28. package/build/cjs/src/utils/__tests__/markets.spec.js +10 -0
  29. package/build/cjs/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +4 -0
  30. package/build/cjs/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +4 -0
  31. package/build/cjs/src/utils/__tests__/orderTransactions/swapOrders.spec.js +2 -0
  32. package/build/cjs/src/utils/__tests__/positions.spec.js +59 -7
  33. package/build/cjs/src/utils/__tests__/uiFeeReceiver.spec.js +58 -0
  34. package/build/cjs/src/utils/balances/api.js +65 -0
  35. package/build/cjs/src/utils/buyback/api.js +7 -0
  36. package/build/cjs/src/utils/buyback/types.js +2 -0
  37. package/build/cjs/src/utils/errors/index.js +1 -0
  38. package/build/cjs/src/utils/errors/isIgnoredEstimateGasError.js +23 -0
  39. package/build/cjs/src/utils/errors/parseError.js +3 -0
  40. package/build/cjs/src/utils/express/index.js +18 -0
  41. package/build/cjs/src/utils/express/types.js +2 -0
  42. package/build/cjs/src/utils/express/utils/batchOrderUtils.js +218 -0
  43. package/build/cjs/src/utils/express/utils/bridgeOutUtils.js +73 -0
  44. package/build/cjs/src/utils/express/utils/estimateExpressParams.js +244 -0
  45. package/build/cjs/src/utils/express/utils/expressParamsUtils.js +22 -0
  46. package/build/cjs/src/utils/express/utils/fetchGelatoGasTankBalance.js +13 -0
  47. package/build/cjs/src/utils/express/utils/gelatoRelayUtils.js +77 -0
  48. package/build/cjs/src/utils/express/utils/globalExpressParams.js +40 -0
  49. package/build/cjs/src/utils/express/utils/index.js +27 -0
  50. package/build/cjs/src/utils/express/utils/oracleParamsUtils.js +49 -0
  51. package/build/cjs/src/utils/express/utils/referralUtils.js +35 -0
  52. package/build/cjs/src/utils/express/utils/relayParamsUtils.js +208 -0
  53. package/build/cjs/src/utils/fees/priceImpact.js +1 -2
  54. package/build/cjs/src/utils/http/http.js +86 -13
  55. package/build/cjs/src/utils/markets/utils.js +8 -0
  56. package/build/cjs/src/utils/metrics/index.js +7 -0
  57. package/build/cjs/src/utils/numbers/utils.js +29 -27
  58. package/build/cjs/src/utils/orderTransactions/api.js +88 -0
  59. package/build/cjs/src/utils/orderTransactions/index.js +2 -0
  60. package/build/cjs/src/utils/orderTransactions/simulation.js +141 -0
  61. package/build/cjs/src/utils/orderTransactions/utils.js +4 -1
  62. package/build/cjs/src/utils/orderTransactions/validateTypedData.js +100 -0
  63. package/build/cjs/src/utils/positions/utils.js +5 -19
  64. package/build/cjs/src/utils/rpc/createViemRpc.js +39 -0
  65. package/build/cjs/src/utils/rpc/index.js +5 -0
  66. package/build/cjs/src/utils/signer/index.js +5 -0
  67. package/build/cjs/src/utils/signer/privateKeySigner.js +42 -0
  68. package/build/cjs/src/utils/staking/api.js +11 -0
  69. package/build/cjs/src/utils/staking/types.js +2 -0
  70. package/build/cjs/src/utils/subaccount/api.js +22 -0
  71. package/build/cjs/src/utils/subaccount/generateSubaccount.js +19 -0
  72. package/build/cjs/src/utils/subaccount/getEmptySubaccountApproval.js +24 -0
  73. package/build/cjs/src/utils/subaccount/getSubaccountApprovalTypedData.js +51 -0
  74. package/build/cjs/src/utils/subaccount/hashSubaccountApproval.js +28 -0
  75. package/build/cjs/src/utils/subaccount/index.js +30 -0
  76. package/build/cjs/src/utils/subaccount/types.js +2 -0
  77. package/build/cjs/src/utils/swap/swapPath.js +4 -1
  78. package/build/cjs/src/utils/trade/decrease.js +131 -6
  79. package/build/cjs/src/utils/trade/increase.js +2 -6
  80. package/build/cjs/src/utils/trade/types.js +1 -1
  81. package/build/cjs/src/utils/tradeHistory/utils.js +14 -28
  82. package/build/cjs/src/utils/twap/index.js +4 -1
  83. package/build/cjs/src/utils/twap/uiFeeReceiver.js +46 -14
  84. package/build/esm/scripts/subsquid-codegen.js +1 -1
  85. package/build/esm/src/clients/v1/testUtil.js +1 -1
  86. package/build/esm/src/clients/v2/__tests__/data.spec.js +83 -0
  87. package/build/esm/src/clients/v2/__tests__/decrease.spec.js +469 -0
  88. package/build/esm/src/clients/v2/__tests__/editCancel.spec.js +257 -0
  89. package/build/esm/src/clients/v2/__tests__/errors.spec.js +259 -0
  90. package/build/esm/src/clients/v2/__tests__/increase.spec.js +762 -0
  91. package/build/esm/src/clients/v2/__tests__/subaccount.spec.js +72 -0
  92. package/build/esm/src/clients/v2/__tests__/swap.spec.js +190 -0
  93. package/build/esm/src/clients/v2/__tests__/testUtil.js +124 -0
  94. package/build/esm/src/clients/v2/index.js +140 -4
  95. package/build/esm/src/codegen/prebuilt/hashedKinkModelMarketRatesKeys.json +82 -0
  96. package/build/esm/src/codegen/prebuilt/hashedMarketConfigKeys.json +572 -0
  97. package/build/esm/src/codegen/prebuilt/hashedMarketValuesKeys.json +152 -0
  98. package/build/esm/src/codegen/subsquid.js +321 -0
  99. package/build/esm/src/configs/__tests__/tokens.spec.js +2 -1
  100. package/build/esm/src/configs/api.js +5 -4
  101. package/build/esm/src/configs/batch.js +14 -1
  102. package/build/esm/src/configs/chainIds.js +1 -0
  103. package/build/esm/src/configs/chains.js +59 -4
  104. package/build/esm/src/configs/contracts.js +74 -7
  105. package/build/esm/src/configs/express.js +3 -1
  106. package/build/esm/src/configs/gasLimits.js +8 -1
  107. package/build/esm/src/configs/markets.js +86 -2
  108. package/build/esm/src/configs/oracleKeeper.js +3 -1
  109. package/build/esm/src/configs/tokens.js +151 -131
  110. package/build/esm/src/test/mock.js +1 -1
  111. package/build/esm/src/utils/__tests__/markets.spec.js +10 -0
  112. package/build/esm/src/utils/__tests__/orderTransactions/decreaseOrders.spec.js +4 -0
  113. package/build/esm/src/utils/__tests__/orderTransactions/increaseOrders.spec.js +4 -0
  114. package/build/esm/src/utils/__tests__/orderTransactions/swapOrders.spec.js +2 -0
  115. package/build/esm/src/utils/__tests__/positions.spec.js +60 -8
  116. package/build/esm/src/utils/__tests__/uiFeeReceiver.spec.js +59 -1
  117. package/build/esm/src/utils/balances/api.js +56 -0
  118. package/build/esm/src/utils/buyback/api.js +3 -0
  119. package/build/esm/src/utils/buyback/types.js +1 -0
  120. package/build/esm/src/utils/errors/index.js +1 -0
  121. package/build/esm/src/utils/errors/isIgnoredEstimateGasError.js +19 -0
  122. package/build/esm/src/utils/errors/parseError.js +3 -0
  123. package/build/esm/src/utils/express/index.js +2 -0
  124. package/build/esm/src/utils/express/types.js +1 -0
  125. package/build/esm/src/utils/express/utils/batchOrderUtils.js +210 -0
  126. package/build/esm/src/utils/express/utils/bridgeOutUtils.js +69 -0
  127. package/build/esm/src/utils/express/utils/estimateExpressParams.js +238 -0
  128. package/build/esm/src/utils/express/utils/expressParamsUtils.js +16 -0
  129. package/build/esm/src/utils/express/utils/fetchGelatoGasTankBalance.js +9 -0
  130. package/build/esm/src/utils/express/utils/gelatoRelayUtils.js +71 -0
  131. package/build/esm/src/utils/express/utils/globalExpressParams.js +36 -0
  132. package/build/esm/src/utils/express/utils/index.js +11 -0
  133. package/build/esm/src/utils/express/utils/oracleParamsUtils.js +42 -0
  134. package/build/esm/src/utils/express/utils/referralUtils.js +30 -0
  135. package/build/esm/src/utils/express/utils/relayParamsUtils.js +198 -0
  136. package/build/esm/src/utils/fees/priceImpact.js +1 -2
  137. package/build/esm/src/utils/http/http.js +84 -12
  138. package/build/esm/src/utils/markets/utils.js +8 -0
  139. package/build/esm/src/utils/metrics/index.js +4 -0
  140. package/build/esm/src/utils/numbers/utils.js +25 -24
  141. package/build/esm/src/utils/orderTransactions/api.js +77 -0
  142. package/build/esm/src/utils/orderTransactions/index.js +2 -0
  143. package/build/esm/src/utils/orderTransactions/simulation.js +136 -0
  144. package/build/esm/src/utils/orderTransactions/utils.js +4 -1
  145. package/build/esm/src/utils/orderTransactions/validateTypedData.js +95 -0
  146. package/build/esm/src/utils/positions/utils.js +5 -19
  147. package/build/esm/src/utils/rpc/createViemRpc.js +35 -0
  148. package/build/esm/src/utils/rpc/index.js +1 -0
  149. package/build/esm/src/utils/signer/index.js +1 -0
  150. package/build/esm/src/utils/signer/privateKeySigner.js +38 -0
  151. package/build/esm/src/utils/staking/api.js +7 -0
  152. package/build/esm/src/utils/staking/types.js +1 -0
  153. package/build/esm/src/utils/subaccount/api.js +16 -0
  154. package/build/esm/src/utils/subaccount/generateSubaccount.js +15 -0
  155. package/build/esm/src/utils/subaccount/getEmptySubaccountApproval.js +20 -0
  156. package/build/esm/src/utils/subaccount/getSubaccountApprovalTypedData.js +47 -0
  157. package/build/esm/src/utils/subaccount/hashSubaccountApproval.js +24 -0
  158. package/build/esm/src/utils/subaccount/index.js +6 -0
  159. package/build/esm/src/utils/subaccount/types.js +1 -0
  160. package/build/esm/src/utils/swap/swapPath.js +5 -2
  161. package/build/esm/src/utils/trade/decrease.js +127 -7
  162. package/build/esm/src/utils/trade/increase.js +3 -7
  163. package/build/esm/src/utils/trade/types.js +1 -1
  164. package/build/esm/src/utils/tradeHistory/utils.js +13 -26
  165. package/build/esm/src/utils/twap/index.js +1 -0
  166. package/build/esm/src/utils/twap/uiFeeReceiver.js +42 -13
  167. package/build/types/src/clients/v1/index.d.ts +1 -1
  168. package/build/types/src/clients/v1/modules/base.d.ts +1 -1
  169. package/build/types/src/clients/v1/multicall.d.ts +1 -1
  170. package/build/types/src/clients/v2/__tests__/data.spec.d.ts +1 -0
  171. package/build/types/src/clients/v2/__tests__/decrease.spec.d.ts +1 -0
  172. package/build/types/src/clients/v2/__tests__/editCancel.spec.d.ts +1 -0
  173. package/build/types/src/clients/v2/__tests__/errors.spec.d.ts +1 -0
  174. package/build/types/src/clients/v2/__tests__/increase.spec.d.ts +1 -0
  175. package/build/types/src/clients/v2/__tests__/subaccount.spec.d.ts +1 -0
  176. package/build/types/src/clients/v2/__tests__/swap.spec.d.ts +1 -0
  177. package/build/types/src/clients/v2/__tests__/testUtil.d.ts +25 -0
  178. package/build/types/src/clients/v2/index.d.ts +64 -1
  179. package/build/types/src/codegen/prebuilt/index.d.ts +960 -154
  180. package/build/types/src/codegen/subsquid.d.ts +1276 -44
  181. package/build/types/src/configs/chainIds.d.ts +1 -0
  182. package/build/types/src/configs/chains.d.ts +36 -7
  183. package/build/types/src/configs/contracts.d.ts +69 -5
  184. package/build/types/src/configs/markets.d.ts +5 -0
  185. package/build/types/src/configs/tokens.d.ts +6 -1
  186. package/build/types/src/utils/balances/api.d.ts +39 -0
  187. package/build/types/src/utils/buyback/api.d.ts +5 -0
  188. package/build/types/src/utils/buyback/types.d.ts +15 -0
  189. package/build/types/src/utils/chains/types.d.ts +1 -0
  190. package/build/types/src/utils/errors/index.d.ts +1 -0
  191. package/build/types/src/utils/errors/isIgnoredEstimateGasError.d.ts +2 -0
  192. package/build/types/src/utils/errors/parseError.d.ts +3 -0
  193. package/build/types/src/utils/express/index.d.ts +2 -0
  194. package/build/types/src/utils/express/types.d.ts +95 -0
  195. package/build/types/src/utils/express/utils/batchOrderUtils.d.ts +98 -0
  196. package/build/types/src/utils/express/utils/bridgeOutUtils.d.ts +21 -0
  197. package/build/types/src/utils/express/utils/estimateExpressParams.d.ts +37 -0
  198. package/build/types/src/utils/express/utils/expressParamsUtils.d.ts +19 -0
  199. package/build/types/src/utils/express/utils/fetchGelatoGasTankBalance.d.ts +5 -0
  200. package/build/types/src/utils/express/utils/gelatoRelayUtils.d.ts +25 -0
  201. package/build/types/src/utils/express/utils/globalExpressParams.d.ts +31 -0
  202. package/build/types/src/utils/express/utils/index.d.ts +11 -0
  203. package/build/types/src/utils/express/utils/oracleParamsUtils.d.ts +10 -0
  204. package/build/types/src/utils/express/utils/referralUtils.d.ts +17 -0
  205. package/build/types/src/utils/express/utils/relayParamsUtils.d.ts +63 -0
  206. package/build/types/src/utils/http/http.d.ts +16 -1
  207. package/build/types/src/utils/http/types.d.ts +3 -0
  208. package/build/types/src/utils/metrics/index.d.ts +4 -0
  209. package/build/types/src/utils/numbers/utils.d.ts +2 -5
  210. package/build/types/src/utils/orderTransactions/api.d.ts +158 -0
  211. package/build/types/src/utils/orderTransactions/index.d.ts +2 -0
  212. package/build/types/src/utils/orderTransactions/simulation.d.ts +26 -0
  213. package/build/types/src/utils/orderTransactions/validateTypedData.d.ts +6 -0
  214. package/build/types/src/utils/positions/utils.d.ts +1 -9
  215. package/build/types/src/utils/rpc/createViemRpc.d.ts +3 -0
  216. package/build/types/src/utils/rpc/index.d.ts +26 -0
  217. package/build/types/src/utils/signer/index.d.ts +23 -0
  218. package/build/types/src/utils/signer/privateKeySigner.d.ts +19 -0
  219. package/build/types/src/utils/staking/api.d.ts +7 -0
  220. package/build/types/src/utils/staking/types.d.ts +14 -0
  221. package/build/types/src/utils/subaccount/api.d.ts +50 -0
  222. package/build/types/src/utils/subaccount/generateSubaccount.d.ts +8 -0
  223. package/build/types/src/utils/subaccount/getEmptySubaccountApproval.d.ts +9 -0
  224. package/build/types/src/utils/subaccount/getSubaccountApprovalTypedData.d.ts +24 -0
  225. package/build/types/src/utils/subaccount/hashSubaccountApproval.d.ts +1 -0
  226. package/build/types/src/utils/subaccount/index.d.ts +7 -0
  227. package/build/types/src/utils/subaccount/types.d.ts +55 -0
  228. package/build/types/src/utils/tokens/types.d.ts +0 -1
  229. package/build/types/src/utils/trade/decrease.d.ts +41 -2
  230. package/build/types/src/utils/trade/types.d.ts +9 -1
  231. package/build/types/src/utils/tradeHistory/utils.d.ts +0 -1
  232. package/build/types/src/utils/twap/index.d.ts +1 -0
  233. package/build/types/src/utils/twap/types.d.ts +2 -0
  234. package/build/types/src/utils/twap/uiFeeReceiver.d.ts +18 -7
  235. package/package.json +40 -3
@@ -46,6 +46,68 @@
46
46
  "shortInterestInTokensUsingShortToken": "0xe8a3c7877b603e90c025cd38a1f20d1b94f4f7a8ec7054e17b629218c7474c27"
47
47
  }
48
48
  },
49
+ "4326": {
50
+ "0x31EdCc52bE2Fa55Ba68f50409F9e6b7d9EbF3D59": {
51
+ "longPoolAmount": "0x48cbe02151ba490e09da39093e5b8f5a17a8561b0eec2a1bac7c6ed706989b54",
52
+ "shortPoolAmount": "0x48cbe02151ba490e09da39093e5b8f5a17a8561b0eec2a1bac7c6ed706989b54",
53
+ "positionImpactPoolAmount": "0x7015ba3a5ac6f8ff863cf86151e6b230d9649ef7e36833aaf8adaf13ddfcdfff",
54
+ "swapImpactPoolAmountLong": "0x8d91547b49495c07544f33f2bcf83ec84dea215121b5d2063a36a9a0e39a4009",
55
+ "swapImpactPoolAmountShort": "0x8d91547b49495c07544f33f2bcf83ec84dea215121b5d2063a36a9a0e39a4009",
56
+ "longInterestUsingLongToken": "0x587dc7127539bef4935798f59017771f74b4877a64a7da6b7778ac16fd0e7965",
57
+ "longInterestUsingShortToken": "0x587dc7127539bef4935798f59017771f74b4877a64a7da6b7778ac16fd0e7965",
58
+ "shortInterestUsingLongToken": "0x6f4851fe1dba157760dc697bc24b3bd716d7b2f4d931a7162564d1468fcf7a46",
59
+ "shortInterestUsingShortToken": "0x6f4851fe1dba157760dc697bc24b3bd716d7b2f4d931a7162564d1468fcf7a46",
60
+ "longInterestInTokensUsingLongToken": "0x2257116aaa5d3939acb4136c61bd4f1c137b9fd537b9bb9b64a34ae4da72ad85",
61
+ "longInterestInTokensUsingShortToken": "0x2257116aaa5d3939acb4136c61bd4f1c137b9fd537b9bb9b64a34ae4da72ad85",
62
+ "shortInterestInTokensUsingLongToken": "0xc397b857f5e7e7c6d019de1c4772dd6db2ac94e7f1e63d2d5157995f283d28db",
63
+ "shortInterestInTokensUsingShortToken": "0xc397b857f5e7e7c6d019de1c4772dd6db2ac94e7f1e63d2d5157995f283d28db"
64
+ },
65
+ "0x9b1B72720f6D277F3b1e607a0c5fab1B300248b1": {
66
+ "longPoolAmount": "0x452c889d68f2c79409d484addb8841fcab0ec40d5b6225674b678f5a1395a963",
67
+ "shortPoolAmount": "0x452c889d68f2c79409d484addb8841fcab0ec40d5b6225674b678f5a1395a963",
68
+ "positionImpactPoolAmount": "0x507970dab266c82ac938c6edac601cc3320e2b4609ae88674e376cc2ee1f41ff",
69
+ "swapImpactPoolAmountLong": "0xdf452274e20a0d12a239c49819399c454bf1d85515d4418ca2b24aef657e5f88",
70
+ "swapImpactPoolAmountShort": "0xdf452274e20a0d12a239c49819399c454bf1d85515d4418ca2b24aef657e5f88",
71
+ "longInterestUsingLongToken": "0x12d084fddbeec7845f6d540a721164b2d276f7d2b642d05d4c597eb6844764ef",
72
+ "longInterestUsingShortToken": "0x12d084fddbeec7845f6d540a721164b2d276f7d2b642d05d4c597eb6844764ef",
73
+ "shortInterestUsingLongToken": "0xe82feaa2812ea3ae11ecbbb194f9ed0c970bb6730019a3ce10b30676f58bc0e5",
74
+ "shortInterestUsingShortToken": "0xe82feaa2812ea3ae11ecbbb194f9ed0c970bb6730019a3ce10b30676f58bc0e5",
75
+ "longInterestInTokensUsingLongToken": "0x56ab7f3c720b55cb3817d7756dff83cacdac11a40196f54a18b169b4e98c2f9a",
76
+ "longInterestInTokensUsingShortToken": "0x56ab7f3c720b55cb3817d7756dff83cacdac11a40196f54a18b169b4e98c2f9a",
77
+ "shortInterestInTokensUsingLongToken": "0xeb676c0c24bcc7d43c4339cf8ea522dd4a1dc6e5cefeb27bcfa7597d7ff670bf",
78
+ "shortInterestInTokensUsingShortToken": "0xeb676c0c24bcc7d43c4339cf8ea522dd4a1dc6e5cefeb27bcfa7597d7ff670bf"
79
+ },
80
+ "0xe8E716F1cddfFD0698B86919D41A8228d701fEe9": {
81
+ "longPoolAmount": "0xdd04b7bdf4f392234c9f7575f01d192a963d771a62aadb109bebd3b9e0bbfee3",
82
+ "shortPoolAmount": "0xdd04b7bdf4f392234c9f7575f01d192a963d771a62aadb109bebd3b9e0bbfee3",
83
+ "positionImpactPoolAmount": "0x3fb82e2a6edfbbbfc446e7c7c7346f61049c702de3341438ceb2e685e1fb8cb3",
84
+ "swapImpactPoolAmountLong": "0xab062d1c76c49aa33596a8dcaf26e0bc756d44507ae7b81e99dc517ae0521b2a",
85
+ "swapImpactPoolAmountShort": "0xab062d1c76c49aa33596a8dcaf26e0bc756d44507ae7b81e99dc517ae0521b2a",
86
+ "longInterestUsingLongToken": "0x361420c792d75d2c2ce47b6e463a51266acc2bd5e55897d0d7ada3c40c4d2e1a",
87
+ "longInterestUsingShortToken": "0x361420c792d75d2c2ce47b6e463a51266acc2bd5e55897d0d7ada3c40c4d2e1a",
88
+ "shortInterestUsingLongToken": "0xb9d62a8bd37ab199c88f038b3356143d808de0ca2d753add70710a2a4e6ea3e2",
89
+ "shortInterestUsingShortToken": "0xb9d62a8bd37ab199c88f038b3356143d808de0ca2d753add70710a2a4e6ea3e2",
90
+ "longInterestInTokensUsingLongToken": "0xac085f8e1e00d63fb6f540faca1d4d354009e61e034ca6dddf65a4ffe2015241",
91
+ "longInterestInTokensUsingShortToken": "0xac085f8e1e00d63fb6f540faca1d4d354009e61e034ca6dddf65a4ffe2015241",
92
+ "shortInterestInTokensUsingLongToken": "0xc9d6814f7afb11ad28efba7548a877fd702ce6f20100a22028aefd13bcdda320",
93
+ "shortInterestInTokensUsingShortToken": "0xc9d6814f7afb11ad28efba7548a877fd702ce6f20100a22028aefd13bcdda320"
94
+ },
95
+ "0xc5c9B5E23810565763De41144741477eeCB25e2e": {
96
+ "longPoolAmount": "0x7c7a0a88c4e728b99ea46549faef00dc7f38dd06cc788aa991683ec87fa9d5da",
97
+ "shortPoolAmount": "0xacce4845b7ef6fa3cf28e16cef47786c1759e08039fb6a65196ff8b50c1c051d",
98
+ "positionImpactPoolAmount": "0xe661cf4e73d12f956d127f08d466fc5e8214a59a96cc665cf5c4409ab73ffd19",
99
+ "swapImpactPoolAmountLong": "0xfb2d731fbdbd9eb52dbad8e5de5b2360dc88dfbf9424a94afd08dce332665b1b",
100
+ "swapImpactPoolAmountShort": "0x643b8167c905f512c59186c00b1c12408865c9d9d637d2a749689745dd666210",
101
+ "longInterestUsingLongToken": "0x71abcd6439512f888025f264a7d5147b4c72a06041df10dff3a4fa2996b69091",
102
+ "longInterestUsingShortToken": "0x93f689ed2491cd6699a8b152adc04964d0de4e6e5abe4f92a8b6819f4418ff3c",
103
+ "shortInterestUsingLongToken": "0x3a969b6bd6d67988446f774517b5a339e90853c06ecb66dc26e4e55217ace19e",
104
+ "shortInterestUsingShortToken": "0xd32d937eb46b570171c2e9bf515b2c62bf1163f44e1645cd3a5a656fe7bfb3ea",
105
+ "longInterestInTokensUsingLongToken": "0x56f82712bbe9fc0258f4e4ccfa0f67d7ed58723065a2014ea7ecc4b55794736c",
106
+ "longInterestInTokensUsingShortToken": "0xe83d97fc3908771363a263be1ed69a24555dc7c5cc76b3373274672002c155bb",
107
+ "shortInterestInTokensUsingLongToken": "0xef8d4b7d16675162321444d2bc5bfd1a4f632bcf2a111aab8275f04f8d81bc6d",
108
+ "shortInterestInTokensUsingShortToken": "0x42eb2e77b42509e3ed711f04a4727277703e0dfb80e6a4af0713aa4a072e894f"
109
+ }
110
+ },
49
111
  "42161": {
50
112
  "0x47c031236e19d024b42f8AE6780E44A573170703": {
51
113
  "longPoolAmount": "0xc97d6ba9e3cbf19c2bdb3eb671109e97cbbb0c4684ac5ea9b34fffbf3fff84fb",
@@ -1951,6 +2013,36 @@
1951
2013
  "longInterestInTokensUsingShortToken": "0xeb269d71e081bf2b8dcfb8834ee3093dd40be8f0e7f8294788eac2341c8e8721",
1952
2014
  "shortInterestInTokensUsingLongToken": "0xf9ec3ba3959fd87d0f62b6a6eb7fdc5a938039f26edd2352a26ece95ab48a395",
1953
2015
  "shortInterestInTokensUsingShortToken": "0x11338fd0f7b5e20b9c8b84ab34b92f667f3576670902aada7f61b8975d6b23f0"
2016
+ },
2017
+ "0x0Df2BE76F517BCF0000AbfFcB6344B3b2aC4Cc4f": {
2018
+ "longPoolAmount": "0x87d3f0db634b16124e2fd459eacf23d4a0b4629249cae480c240ef8f37d938f2",
2019
+ "shortPoolAmount": "0xae3684288cf1ede2bb3e76d7df856e150c8b28cc367418496d6585dddf9b1390",
2020
+ "positionImpactPoolAmount": "0x112e05e1baaa68169605d877d3edb9ae5a1ac198f84a7ee113488f66dac19cea",
2021
+ "swapImpactPoolAmountLong": "0xa1568a4a433ebda607e305e4b3c89637e6eb88ddf7a40742494af6727bc72dc0",
2022
+ "swapImpactPoolAmountShort": "0x444a3768bc52187ae3778664d578749626db226f3c550c35ac47b5f15bc1978a",
2023
+ "longInterestUsingLongToken": "0xa1042de1ed4181b13b565b9da747604e8967e7abb380c501f3bc67d9038f33ad",
2024
+ "longInterestUsingShortToken": "0xf83d2943e6edfcebd8fd573c853804d4817e799d0516fda9220032837eac0fd3",
2025
+ "shortInterestUsingLongToken": "0xd1ab4e7056b509ae793a2d6d98d68762089b78b82630ce6c0ce3c3abb546de0a",
2026
+ "shortInterestUsingShortToken": "0xd3bb5a5a3d6ef8447d6850b7f1c52924a2c340003f738f2222e41b8a95e750ed",
2027
+ "longInterestInTokensUsingLongToken": "0x2e26581682b98f074261d6bbbc338458f3a6a33f5d6be7ec81dc543d940a24d4",
2028
+ "longInterestInTokensUsingShortToken": "0x38dd03e591c25f1ff0e038ecee5e3bf0306cff484149cbf9102b37116eb4314c",
2029
+ "shortInterestInTokensUsingLongToken": "0x6b26ea5058f96fa1c8ae4389df206036c9b7a6ebc5d4be79b3e4976361e527dc",
2030
+ "shortInterestInTokensUsingShortToken": "0xcbc5e53bdb4aaa6ca9511818d77dbbccfeec01935452928e6bf63dc153ae3d34"
2031
+ },
2032
+ "0x448Fa722717df299ee197E2F6d8EB7911EFF6cEc": {
2033
+ "longPoolAmount": "0x1aa8c8422db6c18c9210a535dd2f2e33b00114a1389a9a2a9f805f46de3ead4f",
2034
+ "shortPoolAmount": "0x7bc7a5aa922e3a1507d086743da3b2b79b4b8501689de17ef2c60bc821ea4a86",
2035
+ "positionImpactPoolAmount": "0xf0057f3a7adec5ee891f107245adffc48703abfc34fe5fc2811c798e49b46c28",
2036
+ "swapImpactPoolAmountLong": "0x28d1996c1f186e63e2447f25031b4bf1db817e49a68a028f044ddbcc69384603",
2037
+ "swapImpactPoolAmountShort": "0xc231dc55ae48f1ff43f6a408a8ffcfa3c11f9a3252f359b556f2ca3454b159cf",
2038
+ "longInterestUsingLongToken": "0x1b3b587fedbbd7a1921c19c75c9302b0a0787628924b5f04cc679b67670f1c00",
2039
+ "longInterestUsingShortToken": "0xadb3b3c75805823411c55ea15644302ecdd30913225f76f7f4172ea8eabf3708",
2040
+ "shortInterestUsingLongToken": "0xffab79807aff79edaeab9c1379eedce574b456df4bee70a38e38f53888b36018",
2041
+ "shortInterestUsingShortToken": "0xf22c90ce573b5cc7833ca4ea970a947479584633d24d45f961a0764d563bb592",
2042
+ "longInterestInTokensUsingLongToken": "0xa38b095cd26da618efc72376047835a98d7c207f7f3aded69136e473d22302ae",
2043
+ "longInterestInTokensUsingShortToken": "0xd893c4fcc594e9a0ce0ab93d266e4e70414b4cd26b53cb0163e7062a5eb685f9",
2044
+ "shortInterestInTokensUsingLongToken": "0x44b4ead85e88e64c9d33a4d1536e7a88dbdd358c34493b750b307e71bd30c389",
2045
+ "shortInterestInTokensUsingShortToken": "0x2b0d7675116aaba49bd90b5bab02e516d56e17c58bc9094856584ef539cbaeab"
1954
2046
  }
1955
2047
  },
1956
2048
  "43113": {
@@ -2632,6 +2724,66 @@
2632
2724
  "longInterestInTokensUsingShortToken": "0xf61da26292dbce9b746fcc8438f02fab8e8a28a0d610791c191d64038ece27fc",
2633
2725
  "shortInterestInTokensUsingLongToken": "0x4e9ca5ca185f24d2f633d7bc31c3203b976717299efa1596032b0ffab3e8ff32",
2634
2726
  "shortInterestInTokensUsingShortToken": "0xfa0bb36ec3ca4732de1401392424dff4ce738063ac80315a014d3fffc4f7bd60"
2727
+ },
2728
+ "0x860F6B4B2F218885935C306B1c782a864ed2d67f": {
2729
+ "longPoolAmount": "0xaa74812765a58ba14daa9a347eff88a3f482da2d9964449e4c60e843dc3cf574",
2730
+ "shortPoolAmount": "0x96d7c8d42f4d3bf9eea7eab2272a2b0a3a56947335230c55dfebcf731deb6694",
2731
+ "positionImpactPoolAmount": "0x00410c9f08eb61cbcf78fafef5ab7fcb57c3ca2f39b7cbd599711d6d9867e189",
2732
+ "swapImpactPoolAmountLong": "0x6a8e6aa904fdec76cbd805e0b5bf62433e6fda198c0bf789419124bc45515b04",
2733
+ "swapImpactPoolAmountShort": "0x0bc66415b240685055bc9e22406c40001f73f0894264b5c3e696cc36e3c3f316",
2734
+ "longInterestUsingLongToken": "0x5f9c7fe3fb444ac05a8895dad3ecbd12acd1476980afcaaa4a4459583d66909e",
2735
+ "longInterestUsingShortToken": "0x1059fabb6fe9b7295984eb18d1ab457f879d66778334c57fc9fef9ffa812cee9",
2736
+ "shortInterestUsingLongToken": "0x38ab51f2f7110ec2c1f62376dafaf9e7c93b7aed64476d6c3376e18a1a21a8fd",
2737
+ "shortInterestUsingShortToken": "0x2782ac94d118f020d5493fcc8b27c98ab671d7a1fda23c061c4ff2f09e8f976f",
2738
+ "longInterestInTokensUsingLongToken": "0x3e691c628a889c01b37e079d7a157e90d45107e58b056a746a68d0e80c3573da",
2739
+ "longInterestInTokensUsingShortToken": "0xd43767405497957d13bf36e5837995156af0df256da5b008aba1fa16b3963df2",
2740
+ "shortInterestInTokensUsingLongToken": "0x907d7cfdb0f6a39ca6c2f582886ef98a03ab991fdbdf8569ce4f0d1854a81fd0",
2741
+ "shortInterestInTokensUsingShortToken": "0x04bf8d88f626b16a03240dcc95cb8c1e8b1296ba020ac388544889e6b2bb8779"
2742
+ },
2743
+ "0x8490D84c29134dA93f434210D76721179C382471": {
2744
+ "longPoolAmount": "0x1d737244c08ea39786e2b47edd089a21df522352a56864f197b0949b49364a45",
2745
+ "shortPoolAmount": "0x72f71dbb6b1534ddfc1cf76f60fec417e3332e306c61d4bb4865c4f2a6f95a50",
2746
+ "positionImpactPoolAmount": "0xf7524b527c66e94dea5434a007f6a1bddb7c58435495be034e8a1aeba85c71b0",
2747
+ "swapImpactPoolAmountLong": "0x8bc79093b0df548d22bba1ca121832fff48f82d5b3eca58ff8e4f476be8523f7",
2748
+ "swapImpactPoolAmountShort": "0x69fabf1a87a993cb040ebc72132231874483725f4b9b9522bf537bc7b151b2e4",
2749
+ "longInterestUsingLongToken": "0xdec66ef0ecc96c3fdf6456331a9a483e86a52ad78e44f0dadcbef62fa605fe93",
2750
+ "longInterestUsingShortToken": "0x2fc4daccd53411a658235da534add0cffd043b9d684f36f7d9a37e43ca56e7a0",
2751
+ "shortInterestUsingLongToken": "0xae4f32f9c16a2e7b91a212b29cbfa281a82e25dac40994f63d0795c6e514c275",
2752
+ "shortInterestUsingShortToken": "0x471091fb2380a5b1a81938f4a03337f1ea6d500061b4c95fc2387e605282f424",
2753
+ "longInterestInTokensUsingLongToken": "0x5dc3037186015a08db562fb0be3a96ceb043b5e7b9e0cda5cfe47c3615628600",
2754
+ "longInterestInTokensUsingShortToken": "0x5031d845d7b2eadfd5264355d6e4d64de5587c3d23950e1e31ecfd1d7ef0c98a",
2755
+ "shortInterestInTokensUsingLongToken": "0x44ef9a0a414f59b2437953b5e6de1d2a207c02210f9ebe379262e4a1c2d126fd",
2756
+ "shortInterestInTokensUsingShortToken": "0x1690ff6db99bb170c7603b99ee537f31f2fe546328f469061714c03855d7be70"
2757
+ },
2758
+ "0x02f0D10977f044d59460B2e71afB8c07Dc7b5E1F": {
2759
+ "longPoolAmount": "0x15f99aad2ca9f5ea10afcd3cefbac2c5c1750f5e4757b5807fb87efc38c99c2a",
2760
+ "shortPoolAmount": "0xf0e3f0c2549249b9fa8a435c50050ae445b63c14812e2ec917b2e65000200375",
2761
+ "positionImpactPoolAmount": "0xf28d02dca9f523fcdddd2f9af40b9b424267a08fa12a8ea1b9848d1b0df283c8",
2762
+ "swapImpactPoolAmountLong": "0x3a140cd572d0e09c4a72607920b98e4c1b4d398ccaf80602e9438cf1af376cc6",
2763
+ "swapImpactPoolAmountShort": "0x11dd32862fe5da5b3f2db84599acec346bca417b4bdb74f2351617bc837d7308",
2764
+ "longInterestUsingLongToken": "0x7089eb6e4c24455e57eb3b12322a09d8b1830242c78dc2db191054d201d60b79",
2765
+ "longInterestUsingShortToken": "0xc25ebfd6803040bef919e39b5c2287727594c791acc08c1fb9e8756d6add19df",
2766
+ "shortInterestUsingLongToken": "0xd8015b397c7a374908e10298545c6b5a5853a39a4c1ad20354c07de183eab057",
2767
+ "shortInterestUsingShortToken": "0xac19d94434821372c2335575d118877061173ae788f873ad2cf2a9f0d5631930",
2768
+ "longInterestInTokensUsingLongToken": "0xcfc885d6a646cd070154ff5bb524f6d0b2a37f2e0026f1977c96b6ef4155864e",
2769
+ "longInterestInTokensUsingShortToken": "0x3b8908e99d0a2247999e5e98ec1bd560f786fa706db8b7de494725ec1c531998",
2770
+ "shortInterestInTokensUsingLongToken": "0x8c60a15380f4e214293fd2bdc2086703601ad3912bf6f9d5964c1b1e670e540e",
2771
+ "shortInterestInTokensUsingShortToken": "0x37c2dc4278e11e5a91b22d9c6511e8fcb8c44638323d19a0971b362f80e067be"
2772
+ },
2773
+ "0x0b0A750812700E9673547134096577D8a79d8108": {
2774
+ "longPoolAmount": "0x43b8e45fac7565b92a170087641d08d47b683199079face771aebcb8711913f9",
2775
+ "shortPoolAmount": "0x2e650753501d06ce791c6abf87c6e6e01f84d8e2725bfe03889e9d4bada6c988",
2776
+ "positionImpactPoolAmount": "0x5a107b2c76b10e3e41d09951d22f03ba18abfbec30fcd198d830057fccf71f79",
2777
+ "swapImpactPoolAmountLong": "0xb36060b3cb38be4ba34f72b6b80f0685d7ade4358e8c7beda1f519f5e0925bad",
2778
+ "swapImpactPoolAmountShort": "0xdd6894d3709923313c0c794c72cc27e84b75e88d42b009050867d610518e636c",
2779
+ "longInterestUsingLongToken": "0x36d06085ddf5cac4fdda648fb0ba5d67666d76897f0a3c9786ffd03b4d114aa3",
2780
+ "longInterestUsingShortToken": "0xf4becc97a6e51838c83d9f4447a92df2f24a40c4eb3dd4c8bb0ba50dcd104200",
2781
+ "shortInterestUsingLongToken": "0x8be1560563ac471c322d6319bbdb4c67b1a12a8b36dd59b79198cdbc8f7e7975",
2782
+ "shortInterestUsingShortToken": "0xb696fc4c59e59cb5660308961b8f5cc1cb242fb9ead4926b9c604d92bf22f116",
2783
+ "longInterestInTokensUsingLongToken": "0x98044f4bdc27e384635ed1433a14e5494eb423cafd836597408337c1286baf6a",
2784
+ "longInterestInTokensUsingShortToken": "0xb25a5085521cac67dd3e8360864998eed951edf0b0a1535f329c470979caca2c",
2785
+ "shortInterestInTokensUsingLongToken": "0x18872ab14dc9f4a92cd1190a4bbe766e17ad9f39cede5cffddad687ffb07e186",
2786
+ "shortInterestInTokensUsingShortToken": "0x809576c9c2f294c9b9129896411a8c2842b3627b9bd3978d7321592d88f5f217"
2635
2787
  }
2636
2788
  }
2637
2789
  }
@@ -1,8 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VolumeInfoOrderByInput = exports.TradeActionOrderByInput = exports.SwapVolumeInfoOrderByInput = exports.SwapInfoOrderByInput = exports.SwapFeesInfoWithPeriodOrderByInput = exports.SwapFeesInfoOrderByInput = exports.ProcessorStatusOrderByInput = exports.PriceType = exports.PriceOrderByInput = exports.PositionVolumeInfoOrderByInput = exports.PositionOrderByInput = exports.PositionFeesInfoWithPeriodOrderByInput = exports.PositionFeesEntityType = exports.PositionFeesEntityOrderByInput = exports.PositionChangeType = exports.PositionChangeOrderByInput = exports.PnlAprSnapshotOrderByInput = exports.PlatformStatsOrderByInput = exports.OrderStatus = exports.OrderOrderByInput = exports.OnChainSettingType = exports.OnChainSettingOrderByInput = exports.MultichainSamechainFundingEventOrderByInput = exports.MultichainFundingSendEventOrderByInput = exports.MultichainFundingReceiveEventOrderByInput = exports.MultichainFundingOperation = exports.MarketOrderByInput = exports.MarketInfoOrderByInput = exports.GlvOrderByInput = exports.FundingRateSnapshotOrderByInput = exports.EntityType = exports.DistributionOrderByInput = exports.CumulativePoolValueOrderByInput = exports.CumulativePnlOrderByInput = exports.CollectedFeesInfoOrderByInput = exports.ClaimableFundingFeeInfoOrderByInput = exports.ClaimableCollateralOrderByInput = exports.ClaimableCollateralGroupOrderByInput = exports.ClaimableAmountOrderByInput = exports.ClaimRefOrderByInput = exports.ClaimActionType = exports.ClaimActionOrderByInput = exports.BorrowingRateSnapshotOrderByInput = exports.AprSnapshotOrderByInput = exports.AccountStatOrderByInput = void 0;
3
+ exports.TraderReferralOrderByInput = exports.TradeActionOrderByInput = exports.SwapVolumeInfoOrderByInput = exports.SwapInfoOrderByInput = exports.SwapFeesInfoWithPeriodOrderByInput = exports.SwapFeesInfoOrderByInput = exports.StakingPowerOrderByInput = exports.ReferralCodeOwnerOrderByInput = exports.ProcessorStatusOrderByInput = exports.PriceType = exports.PriceOrderByInput = exports.PositionVolumeInfoOrderByInput = exports.PositionOrderByInput = exports.PositionFeesInfoWithPeriodOrderByInput = exports.PositionFeesEntityType = exports.PositionFeesEntityOrderByInput = exports.PositionChangeType = exports.PositionChangeOrderByInput = exports.PnlAprSnapshotOrderByInput = exports.PlatformStatsOrderByInput = exports.OrderStatus = exports.OrderOrderByInput = exports.OnChainSettingType = exports.OnChainSettingOrderByInput = exports.NetworkStakingPowerOrderByInput = exports.MultichainSamechainFundingEventOrderByInput = exports.MultichainFundingSendEventOrderByInput = exports.MultichainFundingReceiveEventOrderByInput = exports.MultichainFundingOperation = exports.MarketOrderByInput = exports.MarketInfoOrderByInput = exports.GlvOrderByInput = exports.FundingRateSnapshotOrderByInput = exports.EntityType = exports.DistributionOrderByInput = exports.CumulativePoolValueOrderByInput = exports.CumulativePnlOrderByInput = exports.CollectedFeesInfoOrderByInput = exports.ClaimableFundingFeeInfoOrderByInput = exports.ClaimableCollateralOrderByInput = exports.ClaimableCollateralGroupOrderByInput = exports.ClaimableAmountOrderByInput = exports.ClaimRefOrderByInput = exports.ClaimActionType = exports.ClaimActionOrderByInput = exports.BorrowingRateSnapshotOrderByInput = exports.AprSnapshotOrderByInput = exports.AffiliateTraderStatsByHourOrderByInput = exports.AffiliateReferralTradeStatsByHourOrderByInput = exports.AccountStatOrderByInput = void 0;
4
+ exports.VolumeInfoOrderByInput = exports.TraderReferralTradeStatsByHourOrderByInput = void 0;
4
5
  var AccountStatOrderByInput;
5
6
  (function (AccountStatOrderByInput) {
7
+ AccountStatOrderByInput["account_ASC"] = "account_ASC";
8
+ AccountStatOrderByInput["account_ASC_NULLS_FIRST"] = "account_ASC_NULLS_FIRST";
9
+ AccountStatOrderByInput["account_ASC_NULLS_LAST"] = "account_ASC_NULLS_LAST";
10
+ AccountStatOrderByInput["account_DESC"] = "account_DESC";
11
+ AccountStatOrderByInput["account_DESC_NULLS_FIRST"] = "account_DESC_NULLS_FIRST";
12
+ AccountStatOrderByInput["account_DESC_NULLS_LAST"] = "account_DESC_NULLS_LAST";
6
13
  AccountStatOrderByInput["closedCount_ASC"] = "closedCount_ASC";
7
14
  AccountStatOrderByInput["closedCount_ASC_NULLS_FIRST"] = "closedCount_ASC_NULLS_FIRST";
8
15
  AccountStatOrderByInput["closedCount_ASC_NULLS_LAST"] = "closedCount_ASC_NULLS_LAST";
@@ -21,6 +28,12 @@ var AccountStatOrderByInput;
21
28
  AccountStatOrderByInput["cumsumSize_DESC"] = "cumsumSize_DESC";
22
29
  AccountStatOrderByInput["cumsumSize_DESC_NULLS_FIRST"] = "cumsumSize_DESC_NULLS_FIRST";
23
30
  AccountStatOrderByInput["cumsumSize_DESC_NULLS_LAST"] = "cumsumSize_DESC_NULLS_LAST";
31
+ AccountStatOrderByInput["dayTimestamp_ASC"] = "dayTimestamp_ASC";
32
+ AccountStatOrderByInput["dayTimestamp_ASC_NULLS_FIRST"] = "dayTimestamp_ASC_NULLS_FIRST";
33
+ AccountStatOrderByInput["dayTimestamp_ASC_NULLS_LAST"] = "dayTimestamp_ASC_NULLS_LAST";
34
+ AccountStatOrderByInput["dayTimestamp_DESC"] = "dayTimestamp_DESC";
35
+ AccountStatOrderByInput["dayTimestamp_DESC_NULLS_FIRST"] = "dayTimestamp_DESC_NULLS_FIRST";
36
+ AccountStatOrderByInput["dayTimestamp_DESC_NULLS_LAST"] = "dayTimestamp_DESC_NULLS_LAST";
24
37
  AccountStatOrderByInput["deposits_ASC"] = "deposits_ASC";
25
38
  AccountStatOrderByInput["deposits_ASC_NULLS_FIRST"] = "deposits_ASC_NULLS_FIRST";
26
39
  AccountStatOrderByInput["deposits_ASC_NULLS_LAST"] = "deposits_ASC_NULLS_LAST";
@@ -45,12 +58,30 @@ var AccountStatOrderByInput;
45
58
  AccountStatOrderByInput["maxCapital_DESC"] = "maxCapital_DESC";
46
59
  AccountStatOrderByInput["maxCapital_DESC_NULLS_FIRST"] = "maxCapital_DESC_NULLS_FIRST";
47
60
  AccountStatOrderByInput["maxCapital_DESC_NULLS_LAST"] = "maxCapital_DESC_NULLS_LAST";
61
+ AccountStatOrderByInput["maxNetCapitalRunningDelta_ASC"] = "maxNetCapitalRunningDelta_ASC";
62
+ AccountStatOrderByInput["maxNetCapitalRunningDelta_ASC_NULLS_FIRST"] = "maxNetCapitalRunningDelta_ASC_NULLS_FIRST";
63
+ AccountStatOrderByInput["maxNetCapitalRunningDelta_ASC_NULLS_LAST"] = "maxNetCapitalRunningDelta_ASC_NULLS_LAST";
64
+ AccountStatOrderByInput["maxNetCapitalRunningDelta_DESC"] = "maxNetCapitalRunningDelta_DESC";
65
+ AccountStatOrderByInput["maxNetCapitalRunningDelta_DESC_NULLS_FIRST"] = "maxNetCapitalRunningDelta_DESC_NULLS_FIRST";
66
+ AccountStatOrderByInput["maxNetCapitalRunningDelta_DESC_NULLS_LAST"] = "maxNetCapitalRunningDelta_DESC_NULLS_LAST";
67
+ AccountStatOrderByInput["netCapitalDelta_ASC"] = "netCapitalDelta_ASC";
68
+ AccountStatOrderByInput["netCapitalDelta_ASC_NULLS_FIRST"] = "netCapitalDelta_ASC_NULLS_FIRST";
69
+ AccountStatOrderByInput["netCapitalDelta_ASC_NULLS_LAST"] = "netCapitalDelta_ASC_NULLS_LAST";
70
+ AccountStatOrderByInput["netCapitalDelta_DESC"] = "netCapitalDelta_DESC";
71
+ AccountStatOrderByInput["netCapitalDelta_DESC_NULLS_FIRST"] = "netCapitalDelta_DESC_NULLS_FIRST";
72
+ AccountStatOrderByInput["netCapitalDelta_DESC_NULLS_LAST"] = "netCapitalDelta_DESC_NULLS_LAST";
48
73
  AccountStatOrderByInput["netCapital_ASC"] = "netCapital_ASC";
49
74
  AccountStatOrderByInput["netCapital_ASC_NULLS_FIRST"] = "netCapital_ASC_NULLS_FIRST";
50
75
  AccountStatOrderByInput["netCapital_ASC_NULLS_LAST"] = "netCapital_ASC_NULLS_LAST";
51
76
  AccountStatOrderByInput["netCapital_DESC"] = "netCapital_DESC";
52
77
  AccountStatOrderByInput["netCapital_DESC_NULLS_FIRST"] = "netCapital_DESC_NULLS_FIRST";
53
78
  AccountStatOrderByInput["netCapital_DESC_NULLS_LAST"] = "netCapital_DESC_NULLS_LAST";
79
+ AccountStatOrderByInput["period_ASC"] = "period_ASC";
80
+ AccountStatOrderByInput["period_ASC_NULLS_FIRST"] = "period_ASC_NULLS_FIRST";
81
+ AccountStatOrderByInput["period_ASC_NULLS_LAST"] = "period_ASC_NULLS_LAST";
82
+ AccountStatOrderByInput["period_DESC"] = "period_DESC";
83
+ AccountStatOrderByInput["period_DESC_NULLS_FIRST"] = "period_DESC_NULLS_FIRST";
84
+ AccountStatOrderByInput["period_DESC_NULLS_LAST"] = "period_DESC_NULLS_LAST";
54
85
  AccountStatOrderByInput["realizedFees_ASC"] = "realizedFees_ASC";
55
86
  AccountStatOrderByInput["realizedFees_ASC_NULLS_FIRST"] = "realizedFees_ASC_NULLS_FIRST";
56
87
  AccountStatOrderByInput["realizedFees_ASC_NULLS_LAST"] = "realizedFees_ASC_NULLS_LAST";
@@ -94,6 +125,84 @@ var AccountStatOrderByInput;
94
125
  AccountStatOrderByInput["wins_DESC_NULLS_FIRST"] = "wins_DESC_NULLS_FIRST";
95
126
  AccountStatOrderByInput["wins_DESC_NULLS_LAST"] = "wins_DESC_NULLS_LAST";
96
127
  })(AccountStatOrderByInput || (exports.AccountStatOrderByInput = AccountStatOrderByInput = {}));
128
+ var AffiliateReferralTradeStatsByHourOrderByInput;
129
+ (function (AffiliateReferralTradeStatsByHourOrderByInput) {
130
+ AffiliateReferralTradeStatsByHourOrderByInput["affiliate_ASC"] = "affiliate_ASC";
131
+ AffiliateReferralTradeStatsByHourOrderByInput["affiliate_ASC_NULLS_FIRST"] = "affiliate_ASC_NULLS_FIRST";
132
+ AffiliateReferralTradeStatsByHourOrderByInput["affiliate_ASC_NULLS_LAST"] = "affiliate_ASC_NULLS_LAST";
133
+ AffiliateReferralTradeStatsByHourOrderByInput["affiliate_DESC"] = "affiliate_DESC";
134
+ AffiliateReferralTradeStatsByHourOrderByInput["affiliate_DESC_NULLS_FIRST"] = "affiliate_DESC_NULLS_FIRST";
135
+ AffiliateReferralTradeStatsByHourOrderByInput["affiliate_DESC_NULLS_LAST"] = "affiliate_DESC_NULLS_LAST";
136
+ AffiliateReferralTradeStatsByHourOrderByInput["id_ASC"] = "id_ASC";
137
+ AffiliateReferralTradeStatsByHourOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
138
+ AffiliateReferralTradeStatsByHourOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
139
+ AffiliateReferralTradeStatsByHourOrderByInput["id_DESC"] = "id_DESC";
140
+ AffiliateReferralTradeStatsByHourOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
141
+ AffiliateReferralTradeStatsByHourOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
142
+ AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_ASC"] = "rebatesUsd_ASC";
143
+ AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_ASC_NULLS_FIRST"] = "rebatesUsd_ASC_NULLS_FIRST";
144
+ AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_ASC_NULLS_LAST"] = "rebatesUsd_ASC_NULLS_LAST";
145
+ AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_DESC"] = "rebatesUsd_DESC";
146
+ AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_DESC_NULLS_FIRST"] = "rebatesUsd_DESC_NULLS_FIRST";
147
+ AffiliateReferralTradeStatsByHourOrderByInput["rebatesUsd_DESC_NULLS_LAST"] = "rebatesUsd_DESC_NULLS_LAST";
148
+ AffiliateReferralTradeStatsByHourOrderByInput["timestamp_ASC"] = "timestamp_ASC";
149
+ AffiliateReferralTradeStatsByHourOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
150
+ AffiliateReferralTradeStatsByHourOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
151
+ AffiliateReferralTradeStatsByHourOrderByInput["timestamp_DESC"] = "timestamp_DESC";
152
+ AffiliateReferralTradeStatsByHourOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
153
+ AffiliateReferralTradeStatsByHourOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
154
+ AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_ASC"] = "tradesCount_ASC";
155
+ AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_ASC_NULLS_FIRST"] = "tradesCount_ASC_NULLS_FIRST";
156
+ AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_ASC_NULLS_LAST"] = "tradesCount_ASC_NULLS_LAST";
157
+ AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_DESC"] = "tradesCount_DESC";
158
+ AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_DESC_NULLS_FIRST"] = "tradesCount_DESC_NULLS_FIRST";
159
+ AffiliateReferralTradeStatsByHourOrderByInput["tradesCount_DESC_NULLS_LAST"] = "tradesCount_DESC_NULLS_LAST";
160
+ AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
161
+ AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
162
+ AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
163
+ AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
164
+ AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
165
+ AffiliateReferralTradeStatsByHourOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
166
+ })(AffiliateReferralTradeStatsByHourOrderByInput || (exports.AffiliateReferralTradeStatsByHourOrderByInput = AffiliateReferralTradeStatsByHourOrderByInput = {}));
167
+ var AffiliateTraderStatsByHourOrderByInput;
168
+ (function (AffiliateTraderStatsByHourOrderByInput) {
169
+ AffiliateTraderStatsByHourOrderByInput["affiliate_ASC"] = "affiliate_ASC";
170
+ AffiliateTraderStatsByHourOrderByInput["affiliate_ASC_NULLS_FIRST"] = "affiliate_ASC_NULLS_FIRST";
171
+ AffiliateTraderStatsByHourOrderByInput["affiliate_ASC_NULLS_LAST"] = "affiliate_ASC_NULLS_LAST";
172
+ AffiliateTraderStatsByHourOrderByInput["affiliate_DESC"] = "affiliate_DESC";
173
+ AffiliateTraderStatsByHourOrderByInput["affiliate_DESC_NULLS_FIRST"] = "affiliate_DESC_NULLS_FIRST";
174
+ AffiliateTraderStatsByHourOrderByInput["affiliate_DESC_NULLS_LAST"] = "affiliate_DESC_NULLS_LAST";
175
+ AffiliateTraderStatsByHourOrderByInput["id_ASC"] = "id_ASC";
176
+ AffiliateTraderStatsByHourOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
177
+ AffiliateTraderStatsByHourOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
178
+ AffiliateTraderStatsByHourOrderByInput["id_DESC"] = "id_DESC";
179
+ AffiliateTraderStatsByHourOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
180
+ AffiliateTraderStatsByHourOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
181
+ AffiliateTraderStatsByHourOrderByInput["timestamp_ASC"] = "timestamp_ASC";
182
+ AffiliateTraderStatsByHourOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
183
+ AffiliateTraderStatsByHourOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
184
+ AffiliateTraderStatsByHourOrderByInput["timestamp_DESC"] = "timestamp_DESC";
185
+ AffiliateTraderStatsByHourOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
186
+ AffiliateTraderStatsByHourOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
187
+ AffiliateTraderStatsByHourOrderByInput["tradersGained_ASC"] = "tradersGained_ASC";
188
+ AffiliateTraderStatsByHourOrderByInput["tradersGained_ASC_NULLS_FIRST"] = "tradersGained_ASC_NULLS_FIRST";
189
+ AffiliateTraderStatsByHourOrderByInput["tradersGained_ASC_NULLS_LAST"] = "tradersGained_ASC_NULLS_LAST";
190
+ AffiliateTraderStatsByHourOrderByInput["tradersGained_DESC"] = "tradersGained_DESC";
191
+ AffiliateTraderStatsByHourOrderByInput["tradersGained_DESC_NULLS_FIRST"] = "tradersGained_DESC_NULLS_FIRST";
192
+ AffiliateTraderStatsByHourOrderByInput["tradersGained_DESC_NULLS_LAST"] = "tradersGained_DESC_NULLS_LAST";
193
+ AffiliateTraderStatsByHourOrderByInput["tradersLost_ASC"] = "tradersLost_ASC";
194
+ AffiliateTraderStatsByHourOrderByInput["tradersLost_ASC_NULLS_FIRST"] = "tradersLost_ASC_NULLS_FIRST";
195
+ AffiliateTraderStatsByHourOrderByInput["tradersLost_ASC_NULLS_LAST"] = "tradersLost_ASC_NULLS_LAST";
196
+ AffiliateTraderStatsByHourOrderByInput["tradersLost_DESC"] = "tradersLost_DESC";
197
+ AffiliateTraderStatsByHourOrderByInput["tradersLost_DESC_NULLS_FIRST"] = "tradersLost_DESC_NULLS_FIRST";
198
+ AffiliateTraderStatsByHourOrderByInput["tradersLost_DESC_NULLS_LAST"] = "tradersLost_DESC_NULLS_LAST";
199
+ AffiliateTraderStatsByHourOrderByInput["tradersNet_ASC"] = "tradersNet_ASC";
200
+ AffiliateTraderStatsByHourOrderByInput["tradersNet_ASC_NULLS_FIRST"] = "tradersNet_ASC_NULLS_FIRST";
201
+ AffiliateTraderStatsByHourOrderByInput["tradersNet_ASC_NULLS_LAST"] = "tradersNet_ASC_NULLS_LAST";
202
+ AffiliateTraderStatsByHourOrderByInput["tradersNet_DESC"] = "tradersNet_DESC";
203
+ AffiliateTraderStatsByHourOrderByInput["tradersNet_DESC_NULLS_FIRST"] = "tradersNet_DESC_NULLS_FIRST";
204
+ AffiliateTraderStatsByHourOrderByInput["tradersNet_DESC_NULLS_LAST"] = "tradersNet_DESC_NULLS_LAST";
205
+ })(AffiliateTraderStatsByHourOrderByInput || (exports.AffiliateTraderStatsByHourOrderByInput = AffiliateTraderStatsByHourOrderByInput = {}));
97
206
  var AprSnapshotOrderByInput;
98
207
  (function (AprSnapshotOrderByInput) {
99
208
  AprSnapshotOrderByInput["address_ASC"] = "address_ASC";
@@ -1483,6 +1592,33 @@ var MultichainSamechainFundingEventOrderByInput;
1483
1592
  MultichainSamechainFundingEventOrderByInput["txHash_DESC_NULLS_FIRST"] = "txHash_DESC_NULLS_FIRST";
1484
1593
  MultichainSamechainFundingEventOrderByInput["txHash_DESC_NULLS_LAST"] = "txHash_DESC_NULLS_LAST";
1485
1594
  })(MultichainSamechainFundingEventOrderByInput || (exports.MultichainSamechainFundingEventOrderByInput = MultichainSamechainFundingEventOrderByInput = {}));
1595
+ var NetworkStakingPowerOrderByInput;
1596
+ (function (NetworkStakingPowerOrderByInput) {
1597
+ NetworkStakingPowerOrderByInput["id_ASC"] = "id_ASC";
1598
+ NetworkStakingPowerOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
1599
+ NetworkStakingPowerOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
1600
+ NetworkStakingPowerOrderByInput["id_DESC"] = "id_DESC";
1601
+ NetworkStakingPowerOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
1602
+ NetworkStakingPowerOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
1603
+ NetworkStakingPowerOrderByInput["lastUpdateTimestamp_ASC"] = "lastUpdateTimestamp_ASC";
1604
+ NetworkStakingPowerOrderByInput["lastUpdateTimestamp_ASC_NULLS_FIRST"] = "lastUpdateTimestamp_ASC_NULLS_FIRST";
1605
+ NetworkStakingPowerOrderByInput["lastUpdateTimestamp_ASC_NULLS_LAST"] = "lastUpdateTimestamp_ASC_NULLS_LAST";
1606
+ NetworkStakingPowerOrderByInput["lastUpdateTimestamp_DESC"] = "lastUpdateTimestamp_DESC";
1607
+ NetworkStakingPowerOrderByInput["lastUpdateTimestamp_DESC_NULLS_FIRST"] = "lastUpdateTimestamp_DESC_NULLS_FIRST";
1608
+ NetworkStakingPowerOrderByInput["lastUpdateTimestamp_DESC_NULLS_LAST"] = "lastUpdateTimestamp_DESC_NULLS_LAST";
1609
+ NetworkStakingPowerOrderByInput["totalAccumulatedPower_ASC"] = "totalAccumulatedPower_ASC";
1610
+ NetworkStakingPowerOrderByInput["totalAccumulatedPower_ASC_NULLS_FIRST"] = "totalAccumulatedPower_ASC_NULLS_FIRST";
1611
+ NetworkStakingPowerOrderByInput["totalAccumulatedPower_ASC_NULLS_LAST"] = "totalAccumulatedPower_ASC_NULLS_LAST";
1612
+ NetworkStakingPowerOrderByInput["totalAccumulatedPower_DESC"] = "totalAccumulatedPower_DESC";
1613
+ NetworkStakingPowerOrderByInput["totalAccumulatedPower_DESC_NULLS_FIRST"] = "totalAccumulatedPower_DESC_NULLS_FIRST";
1614
+ NetworkStakingPowerOrderByInput["totalAccumulatedPower_DESC_NULLS_LAST"] = "totalAccumulatedPower_DESC_NULLS_LAST";
1615
+ NetworkStakingPowerOrderByInput["totalCurrentStaked_ASC"] = "totalCurrentStaked_ASC";
1616
+ NetworkStakingPowerOrderByInput["totalCurrentStaked_ASC_NULLS_FIRST"] = "totalCurrentStaked_ASC_NULLS_FIRST";
1617
+ NetworkStakingPowerOrderByInput["totalCurrentStaked_ASC_NULLS_LAST"] = "totalCurrentStaked_ASC_NULLS_LAST";
1618
+ NetworkStakingPowerOrderByInput["totalCurrentStaked_DESC"] = "totalCurrentStaked_DESC";
1619
+ NetworkStakingPowerOrderByInput["totalCurrentStaked_DESC_NULLS_FIRST"] = "totalCurrentStaked_DESC_NULLS_FIRST";
1620
+ NetworkStakingPowerOrderByInput["totalCurrentStaked_DESC_NULLS_LAST"] = "totalCurrentStaked_DESC_NULLS_LAST";
1621
+ })(NetworkStakingPowerOrderByInput || (exports.NetworkStakingPowerOrderByInput = NetworkStakingPowerOrderByInput = {}));
1486
1622
  var OnChainSettingOrderByInput;
1487
1623
  (function (OnChainSettingOrderByInput) {
1488
1624
  OnChainSettingOrderByInput["id_ASC"] = "id_ASC";
@@ -2136,6 +2272,12 @@ var PositionFeesInfoWithPeriodOrderByInput;
2136
2272
  })(PositionFeesInfoWithPeriodOrderByInput || (exports.PositionFeesInfoWithPeriodOrderByInput = PositionFeesInfoWithPeriodOrderByInput = {}));
2137
2273
  var PositionOrderByInput;
2138
2274
  (function (PositionOrderByInput) {
2275
+ PositionOrderByInput["accountStat_account_ASC"] = "accountStat_account_ASC";
2276
+ PositionOrderByInput["accountStat_account_ASC_NULLS_FIRST"] = "accountStat_account_ASC_NULLS_FIRST";
2277
+ PositionOrderByInput["accountStat_account_ASC_NULLS_LAST"] = "accountStat_account_ASC_NULLS_LAST";
2278
+ PositionOrderByInput["accountStat_account_DESC"] = "accountStat_account_DESC";
2279
+ PositionOrderByInput["accountStat_account_DESC_NULLS_FIRST"] = "accountStat_account_DESC_NULLS_FIRST";
2280
+ PositionOrderByInput["accountStat_account_DESC_NULLS_LAST"] = "accountStat_account_DESC_NULLS_LAST";
2139
2281
  PositionOrderByInput["accountStat_closedCount_ASC"] = "accountStat_closedCount_ASC";
2140
2282
  PositionOrderByInput["accountStat_closedCount_ASC_NULLS_FIRST"] = "accountStat_closedCount_ASC_NULLS_FIRST";
2141
2283
  PositionOrderByInput["accountStat_closedCount_ASC_NULLS_LAST"] = "accountStat_closedCount_ASC_NULLS_LAST";
@@ -2154,6 +2296,12 @@ var PositionOrderByInput;
2154
2296
  PositionOrderByInput["accountStat_cumsumSize_DESC"] = "accountStat_cumsumSize_DESC";
2155
2297
  PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_FIRST"] = "accountStat_cumsumSize_DESC_NULLS_FIRST";
2156
2298
  PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_LAST"] = "accountStat_cumsumSize_DESC_NULLS_LAST";
2299
+ PositionOrderByInput["accountStat_dayTimestamp_ASC"] = "accountStat_dayTimestamp_ASC";
2300
+ PositionOrderByInput["accountStat_dayTimestamp_ASC_NULLS_FIRST"] = "accountStat_dayTimestamp_ASC_NULLS_FIRST";
2301
+ PositionOrderByInput["accountStat_dayTimestamp_ASC_NULLS_LAST"] = "accountStat_dayTimestamp_ASC_NULLS_LAST";
2302
+ PositionOrderByInput["accountStat_dayTimestamp_DESC"] = "accountStat_dayTimestamp_DESC";
2303
+ PositionOrderByInput["accountStat_dayTimestamp_DESC_NULLS_FIRST"] = "accountStat_dayTimestamp_DESC_NULLS_FIRST";
2304
+ PositionOrderByInput["accountStat_dayTimestamp_DESC_NULLS_LAST"] = "accountStat_dayTimestamp_DESC_NULLS_LAST";
2157
2305
  PositionOrderByInput["accountStat_deposits_ASC"] = "accountStat_deposits_ASC";
2158
2306
  PositionOrderByInput["accountStat_deposits_ASC_NULLS_FIRST"] = "accountStat_deposits_ASC_NULLS_FIRST";
2159
2307
  PositionOrderByInput["accountStat_deposits_ASC_NULLS_LAST"] = "accountStat_deposits_ASC_NULLS_LAST";
@@ -2178,12 +2326,30 @@ var PositionOrderByInput;
2178
2326
  PositionOrderByInput["accountStat_maxCapital_DESC"] = "accountStat_maxCapital_DESC";
2179
2327
  PositionOrderByInput["accountStat_maxCapital_DESC_NULLS_FIRST"] = "accountStat_maxCapital_DESC_NULLS_FIRST";
2180
2328
  PositionOrderByInput["accountStat_maxCapital_DESC_NULLS_LAST"] = "accountStat_maxCapital_DESC_NULLS_LAST";
2329
+ PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_ASC"] = "accountStat_maxNetCapitalRunningDelta_ASC";
2330
+ PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_ASC_NULLS_FIRST"] = "accountStat_maxNetCapitalRunningDelta_ASC_NULLS_FIRST";
2331
+ PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_ASC_NULLS_LAST"] = "accountStat_maxNetCapitalRunningDelta_ASC_NULLS_LAST";
2332
+ PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_DESC"] = "accountStat_maxNetCapitalRunningDelta_DESC";
2333
+ PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_DESC_NULLS_FIRST"] = "accountStat_maxNetCapitalRunningDelta_DESC_NULLS_FIRST";
2334
+ PositionOrderByInput["accountStat_maxNetCapitalRunningDelta_DESC_NULLS_LAST"] = "accountStat_maxNetCapitalRunningDelta_DESC_NULLS_LAST";
2335
+ PositionOrderByInput["accountStat_netCapitalDelta_ASC"] = "accountStat_netCapitalDelta_ASC";
2336
+ PositionOrderByInput["accountStat_netCapitalDelta_ASC_NULLS_FIRST"] = "accountStat_netCapitalDelta_ASC_NULLS_FIRST";
2337
+ PositionOrderByInput["accountStat_netCapitalDelta_ASC_NULLS_LAST"] = "accountStat_netCapitalDelta_ASC_NULLS_LAST";
2338
+ PositionOrderByInput["accountStat_netCapitalDelta_DESC"] = "accountStat_netCapitalDelta_DESC";
2339
+ PositionOrderByInput["accountStat_netCapitalDelta_DESC_NULLS_FIRST"] = "accountStat_netCapitalDelta_DESC_NULLS_FIRST";
2340
+ PositionOrderByInput["accountStat_netCapitalDelta_DESC_NULLS_LAST"] = "accountStat_netCapitalDelta_DESC_NULLS_LAST";
2181
2341
  PositionOrderByInput["accountStat_netCapital_ASC"] = "accountStat_netCapital_ASC";
2182
2342
  PositionOrderByInput["accountStat_netCapital_ASC_NULLS_FIRST"] = "accountStat_netCapital_ASC_NULLS_FIRST";
2183
2343
  PositionOrderByInput["accountStat_netCapital_ASC_NULLS_LAST"] = "accountStat_netCapital_ASC_NULLS_LAST";
2184
2344
  PositionOrderByInput["accountStat_netCapital_DESC"] = "accountStat_netCapital_DESC";
2185
2345
  PositionOrderByInput["accountStat_netCapital_DESC_NULLS_FIRST"] = "accountStat_netCapital_DESC_NULLS_FIRST";
2186
2346
  PositionOrderByInput["accountStat_netCapital_DESC_NULLS_LAST"] = "accountStat_netCapital_DESC_NULLS_LAST";
2347
+ PositionOrderByInput["accountStat_period_ASC"] = "accountStat_period_ASC";
2348
+ PositionOrderByInput["accountStat_period_ASC_NULLS_FIRST"] = "accountStat_period_ASC_NULLS_FIRST";
2349
+ PositionOrderByInput["accountStat_period_ASC_NULLS_LAST"] = "accountStat_period_ASC_NULLS_LAST";
2350
+ PositionOrderByInput["accountStat_period_DESC"] = "accountStat_period_DESC";
2351
+ PositionOrderByInput["accountStat_period_DESC_NULLS_FIRST"] = "accountStat_period_DESC_NULLS_FIRST";
2352
+ PositionOrderByInput["accountStat_period_DESC_NULLS_LAST"] = "accountStat_period_DESC_NULLS_LAST";
2187
2353
  PositionOrderByInput["accountStat_realizedFees_ASC"] = "accountStat_realizedFees_ASC";
2188
2354
  PositionOrderByInput["accountStat_realizedFees_ASC_NULLS_FIRST"] = "accountStat_realizedFees_ASC_NULLS_FIRST";
2189
2355
  PositionOrderByInput["accountStat_realizedFees_ASC_NULLS_LAST"] = "accountStat_realizedFees_ASC_NULLS_LAST";
@@ -2280,6 +2446,12 @@ var PositionOrderByInput;
2280
2446
  PositionOrderByInput["market_DESC"] = "market_DESC";
2281
2447
  PositionOrderByInput["market_DESC_NULLS_FIRST"] = "market_DESC_NULLS_FIRST";
2282
2448
  PositionOrderByInput["market_DESC_NULLS_LAST"] = "market_DESC_NULLS_LAST";
2449
+ PositionOrderByInput["maxCapital_ASC"] = "maxCapital_ASC";
2450
+ PositionOrderByInput["maxCapital_ASC_NULLS_FIRST"] = "maxCapital_ASC_NULLS_FIRST";
2451
+ PositionOrderByInput["maxCapital_ASC_NULLS_LAST"] = "maxCapital_ASC_NULLS_LAST";
2452
+ PositionOrderByInput["maxCapital_DESC"] = "maxCapital_DESC";
2453
+ PositionOrderByInput["maxCapital_DESC_NULLS_FIRST"] = "maxCapital_DESC_NULLS_FIRST";
2454
+ PositionOrderByInput["maxCapital_DESC_NULLS_LAST"] = "maxCapital_DESC_NULLS_LAST";
2283
2455
  PositionOrderByInput["maxSize_ASC"] = "maxSize_ASC";
2284
2456
  PositionOrderByInput["maxSize_ASC_NULLS_FIRST"] = "maxSize_ASC_NULLS_FIRST";
2285
2457
  PositionOrderByInput["maxSize_ASC_NULLS_LAST"] = "maxSize_ASC_NULLS_LAST";
@@ -2483,6 +2655,84 @@ var ProcessorStatusOrderByInput;
2483
2655
  ProcessorStatusOrderByInput["lastProcessorCallTimestamp_DESC_NULLS_FIRST"] = "lastProcessorCallTimestamp_DESC_NULLS_FIRST";
2484
2656
  ProcessorStatusOrderByInput["lastProcessorCallTimestamp_DESC_NULLS_LAST"] = "lastProcessorCallTimestamp_DESC_NULLS_LAST";
2485
2657
  })(ProcessorStatusOrderByInput || (exports.ProcessorStatusOrderByInput = ProcessorStatusOrderByInput = {}));
2658
+ var ReferralCodeOwnerOrderByInput;
2659
+ (function (ReferralCodeOwnerOrderByInput) {
2660
+ ReferralCodeOwnerOrderByInput["id_ASC"] = "id_ASC";
2661
+ ReferralCodeOwnerOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
2662
+ ReferralCodeOwnerOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
2663
+ ReferralCodeOwnerOrderByInput["id_DESC"] = "id_DESC";
2664
+ ReferralCodeOwnerOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
2665
+ ReferralCodeOwnerOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
2666
+ ReferralCodeOwnerOrderByInput["owner_ASC"] = "owner_ASC";
2667
+ ReferralCodeOwnerOrderByInput["owner_ASC_NULLS_FIRST"] = "owner_ASC_NULLS_FIRST";
2668
+ ReferralCodeOwnerOrderByInput["owner_ASC_NULLS_LAST"] = "owner_ASC_NULLS_LAST";
2669
+ ReferralCodeOwnerOrderByInput["owner_DESC"] = "owner_DESC";
2670
+ ReferralCodeOwnerOrderByInput["owner_DESC_NULLS_FIRST"] = "owner_DESC_NULLS_FIRST";
2671
+ ReferralCodeOwnerOrderByInput["owner_DESC_NULLS_LAST"] = "owner_DESC_NULLS_LAST";
2672
+ ReferralCodeOwnerOrderByInput["updatedAtBlock_ASC"] = "updatedAtBlock_ASC";
2673
+ ReferralCodeOwnerOrderByInput["updatedAtBlock_ASC_NULLS_FIRST"] = "updatedAtBlock_ASC_NULLS_FIRST";
2674
+ ReferralCodeOwnerOrderByInput["updatedAtBlock_ASC_NULLS_LAST"] = "updatedAtBlock_ASC_NULLS_LAST";
2675
+ ReferralCodeOwnerOrderByInput["updatedAtBlock_DESC"] = "updatedAtBlock_DESC";
2676
+ ReferralCodeOwnerOrderByInput["updatedAtBlock_DESC_NULLS_FIRST"] = "updatedAtBlock_DESC_NULLS_FIRST";
2677
+ ReferralCodeOwnerOrderByInput["updatedAtBlock_DESC_NULLS_LAST"] = "updatedAtBlock_DESC_NULLS_LAST";
2678
+ ReferralCodeOwnerOrderByInput["updatedAtTimestamp_ASC"] = "updatedAtTimestamp_ASC";
2679
+ ReferralCodeOwnerOrderByInput["updatedAtTimestamp_ASC_NULLS_FIRST"] = "updatedAtTimestamp_ASC_NULLS_FIRST";
2680
+ ReferralCodeOwnerOrderByInput["updatedAtTimestamp_ASC_NULLS_LAST"] = "updatedAtTimestamp_ASC_NULLS_LAST";
2681
+ ReferralCodeOwnerOrderByInput["updatedAtTimestamp_DESC"] = "updatedAtTimestamp_DESC";
2682
+ ReferralCodeOwnerOrderByInput["updatedAtTimestamp_DESC_NULLS_FIRST"] = "updatedAtTimestamp_DESC_NULLS_FIRST";
2683
+ ReferralCodeOwnerOrderByInput["updatedAtTimestamp_DESC_NULLS_LAST"] = "updatedAtTimestamp_DESC_NULLS_LAST";
2684
+ ReferralCodeOwnerOrderByInput["updatedTxnHash_ASC"] = "updatedTxnHash_ASC";
2685
+ ReferralCodeOwnerOrderByInput["updatedTxnHash_ASC_NULLS_FIRST"] = "updatedTxnHash_ASC_NULLS_FIRST";
2686
+ ReferralCodeOwnerOrderByInput["updatedTxnHash_ASC_NULLS_LAST"] = "updatedTxnHash_ASC_NULLS_LAST";
2687
+ ReferralCodeOwnerOrderByInput["updatedTxnHash_DESC"] = "updatedTxnHash_DESC";
2688
+ ReferralCodeOwnerOrderByInput["updatedTxnHash_DESC_NULLS_FIRST"] = "updatedTxnHash_DESC_NULLS_FIRST";
2689
+ ReferralCodeOwnerOrderByInput["updatedTxnHash_DESC_NULLS_LAST"] = "updatedTxnHash_DESC_NULLS_LAST";
2690
+ })(ReferralCodeOwnerOrderByInput || (exports.ReferralCodeOwnerOrderByInput = ReferralCodeOwnerOrderByInput = {}));
2691
+ var StakingPowerOrderByInput;
2692
+ (function (StakingPowerOrderByInput) {
2693
+ StakingPowerOrderByInput["accumulatedPower_ASC"] = "accumulatedPower_ASC";
2694
+ StakingPowerOrderByInput["accumulatedPower_ASC_NULLS_FIRST"] = "accumulatedPower_ASC_NULLS_FIRST";
2695
+ StakingPowerOrderByInput["accumulatedPower_ASC_NULLS_LAST"] = "accumulatedPower_ASC_NULLS_LAST";
2696
+ StakingPowerOrderByInput["accumulatedPower_DESC"] = "accumulatedPower_DESC";
2697
+ StakingPowerOrderByInput["accumulatedPower_DESC_NULLS_FIRST"] = "accumulatedPower_DESC_NULLS_FIRST";
2698
+ StakingPowerOrderByInput["accumulatedPower_DESC_NULLS_LAST"] = "accumulatedPower_DESC_NULLS_LAST";
2699
+ StakingPowerOrderByInput["currentStakedBalance_ASC"] = "currentStakedBalance_ASC";
2700
+ StakingPowerOrderByInput["currentStakedBalance_ASC_NULLS_FIRST"] = "currentStakedBalance_ASC_NULLS_FIRST";
2701
+ StakingPowerOrderByInput["currentStakedBalance_ASC_NULLS_LAST"] = "currentStakedBalance_ASC_NULLS_LAST";
2702
+ StakingPowerOrderByInput["currentStakedBalance_DESC"] = "currentStakedBalance_DESC";
2703
+ StakingPowerOrderByInput["currentStakedBalance_DESC_NULLS_FIRST"] = "currentStakedBalance_DESC_NULLS_FIRST";
2704
+ StakingPowerOrderByInput["currentStakedBalance_DESC_NULLS_LAST"] = "currentStakedBalance_DESC_NULLS_LAST";
2705
+ StakingPowerOrderByInput["historicalMaxStaked_ASC"] = "historicalMaxStaked_ASC";
2706
+ StakingPowerOrderByInput["historicalMaxStaked_ASC_NULLS_FIRST"] = "historicalMaxStaked_ASC_NULLS_FIRST";
2707
+ StakingPowerOrderByInput["historicalMaxStaked_ASC_NULLS_LAST"] = "historicalMaxStaked_ASC_NULLS_LAST";
2708
+ StakingPowerOrderByInput["historicalMaxStaked_DESC"] = "historicalMaxStaked_DESC";
2709
+ StakingPowerOrderByInput["historicalMaxStaked_DESC_NULLS_FIRST"] = "historicalMaxStaked_DESC_NULLS_FIRST";
2710
+ StakingPowerOrderByInput["historicalMaxStaked_DESC_NULLS_LAST"] = "historicalMaxStaked_DESC_NULLS_LAST";
2711
+ StakingPowerOrderByInput["id_ASC"] = "id_ASC";
2712
+ StakingPowerOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
2713
+ StakingPowerOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
2714
+ StakingPowerOrderByInput["id_DESC"] = "id_DESC";
2715
+ StakingPowerOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
2716
+ StakingPowerOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
2717
+ StakingPowerOrderByInput["lastPowerResetAt_ASC"] = "lastPowerResetAt_ASC";
2718
+ StakingPowerOrderByInput["lastPowerResetAt_ASC_NULLS_FIRST"] = "lastPowerResetAt_ASC_NULLS_FIRST";
2719
+ StakingPowerOrderByInput["lastPowerResetAt_ASC_NULLS_LAST"] = "lastPowerResetAt_ASC_NULLS_LAST";
2720
+ StakingPowerOrderByInput["lastPowerResetAt_DESC"] = "lastPowerResetAt_DESC";
2721
+ StakingPowerOrderByInput["lastPowerResetAt_DESC_NULLS_FIRST"] = "lastPowerResetAt_DESC_NULLS_FIRST";
2722
+ StakingPowerOrderByInput["lastPowerResetAt_DESC_NULLS_LAST"] = "lastPowerResetAt_DESC_NULLS_LAST";
2723
+ StakingPowerOrderByInput["lastUpdateTimestamp_ASC"] = "lastUpdateTimestamp_ASC";
2724
+ StakingPowerOrderByInput["lastUpdateTimestamp_ASC_NULLS_FIRST"] = "lastUpdateTimestamp_ASC_NULLS_FIRST";
2725
+ StakingPowerOrderByInput["lastUpdateTimestamp_ASC_NULLS_LAST"] = "lastUpdateTimestamp_ASC_NULLS_LAST";
2726
+ StakingPowerOrderByInput["lastUpdateTimestamp_DESC"] = "lastUpdateTimestamp_DESC";
2727
+ StakingPowerOrderByInput["lastUpdateTimestamp_DESC_NULLS_FIRST"] = "lastUpdateTimestamp_DESC_NULLS_FIRST";
2728
+ StakingPowerOrderByInput["lastUpdateTimestamp_DESC_NULLS_LAST"] = "lastUpdateTimestamp_DESC_NULLS_LAST";
2729
+ StakingPowerOrderByInput["powerResetCount_ASC"] = "powerResetCount_ASC";
2730
+ StakingPowerOrderByInput["powerResetCount_ASC_NULLS_FIRST"] = "powerResetCount_ASC_NULLS_FIRST";
2731
+ StakingPowerOrderByInput["powerResetCount_ASC_NULLS_LAST"] = "powerResetCount_ASC_NULLS_LAST";
2732
+ StakingPowerOrderByInput["powerResetCount_DESC"] = "powerResetCount_DESC";
2733
+ StakingPowerOrderByInput["powerResetCount_DESC_NULLS_FIRST"] = "powerResetCount_DESC_NULLS_FIRST";
2734
+ StakingPowerOrderByInput["powerResetCount_DESC_NULLS_LAST"] = "powerResetCount_DESC_NULLS_LAST";
2735
+ })(StakingPowerOrderByInput || (exports.StakingPowerOrderByInput = StakingPowerOrderByInput = {}));
2486
2736
  var SwapFeesInfoOrderByInput;
2487
2737
  (function (SwapFeesInfoOrderByInput) {
2488
2738
  SwapFeesInfoOrderByInput["feeReceiverAmount_ASC"] = "feeReceiverAmount_ASC";
@@ -2954,6 +3204,78 @@ var TradeActionOrderByInput;
2954
3204
  TradeActionOrderByInput["uiFeeReceiver_DESC_NULLS_FIRST"] = "uiFeeReceiver_DESC_NULLS_FIRST";
2955
3205
  TradeActionOrderByInput["uiFeeReceiver_DESC_NULLS_LAST"] = "uiFeeReceiver_DESC_NULLS_LAST";
2956
3206
  })(TradeActionOrderByInput || (exports.TradeActionOrderByInput = TradeActionOrderByInput = {}));
3207
+ var TraderReferralOrderByInput;
3208
+ (function (TraderReferralOrderByInput) {
3209
+ TraderReferralOrderByInput["affiliate_ASC"] = "affiliate_ASC";
3210
+ TraderReferralOrderByInput["affiliate_ASC_NULLS_FIRST"] = "affiliate_ASC_NULLS_FIRST";
3211
+ TraderReferralOrderByInput["affiliate_ASC_NULLS_LAST"] = "affiliate_ASC_NULLS_LAST";
3212
+ TraderReferralOrderByInput["affiliate_DESC"] = "affiliate_DESC";
3213
+ TraderReferralOrderByInput["affiliate_DESC_NULLS_FIRST"] = "affiliate_DESC_NULLS_FIRST";
3214
+ TraderReferralOrderByInput["affiliate_DESC_NULLS_LAST"] = "affiliate_DESC_NULLS_LAST";
3215
+ TraderReferralOrderByInput["id_ASC"] = "id_ASC";
3216
+ TraderReferralOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
3217
+ TraderReferralOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
3218
+ TraderReferralOrderByInput["id_DESC"] = "id_DESC";
3219
+ TraderReferralOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
3220
+ TraderReferralOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
3221
+ TraderReferralOrderByInput["referralCode_ASC"] = "referralCode_ASC";
3222
+ TraderReferralOrderByInput["referralCode_ASC_NULLS_FIRST"] = "referralCode_ASC_NULLS_FIRST";
3223
+ TraderReferralOrderByInput["referralCode_ASC_NULLS_LAST"] = "referralCode_ASC_NULLS_LAST";
3224
+ TraderReferralOrderByInput["referralCode_DESC"] = "referralCode_DESC";
3225
+ TraderReferralOrderByInput["referralCode_DESC_NULLS_FIRST"] = "referralCode_DESC_NULLS_FIRST";
3226
+ TraderReferralOrderByInput["referralCode_DESC_NULLS_LAST"] = "referralCode_DESC_NULLS_LAST";
3227
+ TraderReferralOrderByInput["updatedAtBlock_ASC"] = "updatedAtBlock_ASC";
3228
+ TraderReferralOrderByInput["updatedAtBlock_ASC_NULLS_FIRST"] = "updatedAtBlock_ASC_NULLS_FIRST";
3229
+ TraderReferralOrderByInput["updatedAtBlock_ASC_NULLS_LAST"] = "updatedAtBlock_ASC_NULLS_LAST";
3230
+ TraderReferralOrderByInput["updatedAtBlock_DESC"] = "updatedAtBlock_DESC";
3231
+ TraderReferralOrderByInput["updatedAtBlock_DESC_NULLS_FIRST"] = "updatedAtBlock_DESC_NULLS_FIRST";
3232
+ TraderReferralOrderByInput["updatedAtBlock_DESC_NULLS_LAST"] = "updatedAtBlock_DESC_NULLS_LAST";
3233
+ TraderReferralOrderByInput["updatedAtTimestamp_ASC"] = "updatedAtTimestamp_ASC";
3234
+ TraderReferralOrderByInput["updatedAtTimestamp_ASC_NULLS_FIRST"] = "updatedAtTimestamp_ASC_NULLS_FIRST";
3235
+ TraderReferralOrderByInput["updatedAtTimestamp_ASC_NULLS_LAST"] = "updatedAtTimestamp_ASC_NULLS_LAST";
3236
+ TraderReferralOrderByInput["updatedAtTimestamp_DESC"] = "updatedAtTimestamp_DESC";
3237
+ TraderReferralOrderByInput["updatedAtTimestamp_DESC_NULLS_FIRST"] = "updatedAtTimestamp_DESC_NULLS_FIRST";
3238
+ TraderReferralOrderByInput["updatedAtTimestamp_DESC_NULLS_LAST"] = "updatedAtTimestamp_DESC_NULLS_LAST";
3239
+ TraderReferralOrderByInput["updatedTxnHash_ASC"] = "updatedTxnHash_ASC";
3240
+ TraderReferralOrderByInput["updatedTxnHash_ASC_NULLS_FIRST"] = "updatedTxnHash_ASC_NULLS_FIRST";
3241
+ TraderReferralOrderByInput["updatedTxnHash_ASC_NULLS_LAST"] = "updatedTxnHash_ASC_NULLS_LAST";
3242
+ TraderReferralOrderByInput["updatedTxnHash_DESC"] = "updatedTxnHash_DESC";
3243
+ TraderReferralOrderByInput["updatedTxnHash_DESC_NULLS_FIRST"] = "updatedTxnHash_DESC_NULLS_FIRST";
3244
+ TraderReferralOrderByInput["updatedTxnHash_DESC_NULLS_LAST"] = "updatedTxnHash_DESC_NULLS_LAST";
3245
+ })(TraderReferralOrderByInput || (exports.TraderReferralOrderByInput = TraderReferralOrderByInput = {}));
3246
+ var TraderReferralTradeStatsByHourOrderByInput;
3247
+ (function (TraderReferralTradeStatsByHourOrderByInput) {
3248
+ TraderReferralTradeStatsByHourOrderByInput["discountsUsd_ASC"] = "discountsUsd_ASC";
3249
+ TraderReferralTradeStatsByHourOrderByInput["discountsUsd_ASC_NULLS_FIRST"] = "discountsUsd_ASC_NULLS_FIRST";
3250
+ TraderReferralTradeStatsByHourOrderByInput["discountsUsd_ASC_NULLS_LAST"] = "discountsUsd_ASC_NULLS_LAST";
3251
+ TraderReferralTradeStatsByHourOrderByInput["discountsUsd_DESC"] = "discountsUsd_DESC";
3252
+ TraderReferralTradeStatsByHourOrderByInput["discountsUsd_DESC_NULLS_FIRST"] = "discountsUsd_DESC_NULLS_FIRST";
3253
+ TraderReferralTradeStatsByHourOrderByInput["discountsUsd_DESC_NULLS_LAST"] = "discountsUsd_DESC_NULLS_LAST";
3254
+ TraderReferralTradeStatsByHourOrderByInput["id_ASC"] = "id_ASC";
3255
+ TraderReferralTradeStatsByHourOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
3256
+ TraderReferralTradeStatsByHourOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
3257
+ TraderReferralTradeStatsByHourOrderByInput["id_DESC"] = "id_DESC";
3258
+ TraderReferralTradeStatsByHourOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
3259
+ TraderReferralTradeStatsByHourOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
3260
+ TraderReferralTradeStatsByHourOrderByInput["timestamp_ASC"] = "timestamp_ASC";
3261
+ TraderReferralTradeStatsByHourOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
3262
+ TraderReferralTradeStatsByHourOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
3263
+ TraderReferralTradeStatsByHourOrderByInput["timestamp_DESC"] = "timestamp_DESC";
3264
+ TraderReferralTradeStatsByHourOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
3265
+ TraderReferralTradeStatsByHourOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
3266
+ TraderReferralTradeStatsByHourOrderByInput["trader_ASC"] = "trader_ASC";
3267
+ TraderReferralTradeStatsByHourOrderByInput["trader_ASC_NULLS_FIRST"] = "trader_ASC_NULLS_FIRST";
3268
+ TraderReferralTradeStatsByHourOrderByInput["trader_ASC_NULLS_LAST"] = "trader_ASC_NULLS_LAST";
3269
+ TraderReferralTradeStatsByHourOrderByInput["trader_DESC"] = "trader_DESC";
3270
+ TraderReferralTradeStatsByHourOrderByInput["trader_DESC_NULLS_FIRST"] = "trader_DESC_NULLS_FIRST";
3271
+ TraderReferralTradeStatsByHourOrderByInput["trader_DESC_NULLS_LAST"] = "trader_DESC_NULLS_LAST";
3272
+ TraderReferralTradeStatsByHourOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
3273
+ TraderReferralTradeStatsByHourOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
3274
+ TraderReferralTradeStatsByHourOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
3275
+ TraderReferralTradeStatsByHourOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
3276
+ TraderReferralTradeStatsByHourOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
3277
+ TraderReferralTradeStatsByHourOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
3278
+ })(TraderReferralTradeStatsByHourOrderByInput || (exports.TraderReferralTradeStatsByHourOrderByInput = TraderReferralTradeStatsByHourOrderByInput = {}));
2957
3279
  var VolumeInfoOrderByInput;
2958
3280
  (function (VolumeInfoOrderByInput) {
2959
3281
  VolumeInfoOrderByInput["depositVolumeUsd_ASC"] = "depositVolumeUsd_ASC";