@gmx-io/sdk 1.3.1 → 1.4.1

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 (494) hide show
  1. package/README.md +37 -37
  2. package/build/cjs/src/abis/ArbitrumNodeInterface.js +105 -0
  3. package/build/cjs/src/abis/ClaimHandler.js +424 -0
  4. package/build/cjs/src/abis/CustomErrors.js +1884 -0
  5. package/build/cjs/src/abis/DataStore.js +639 -0
  6. package/build/cjs/src/abis/ERC20PermitInterface.js +54 -0
  7. package/build/cjs/src/abis/ERC721.js +196 -0
  8. package/build/cjs/src/abis/EventEmitter.js +1228 -0
  9. package/build/cjs/src/abis/ExchangeRouter.js +1590 -0
  10. package/build/cjs/src/abis/GelatoRelayRouter.js +1579 -0
  11. package/build/cjs/src/abis/GlpManager.js +246 -0
  12. package/build/cjs/src/abis/GlvReader.js +1471 -0
  13. package/build/cjs/src/abis/GlvRouter.js +764 -0
  14. package/build/cjs/src/abis/GmxMigrator.js +269 -0
  15. package/build/cjs/src/abis/GovToken.js +325 -0
  16. package/build/cjs/src/abis/IStargate.js +603 -0
  17. package/build/cjs/src/abis/LayerZeroProvider.js +388 -0
  18. package/build/cjs/src/abis/MintableBaseToken.js +323 -0
  19. package/build/cjs/src/abis/Multicall.js +231 -0
  20. package/build/cjs/src/abis/MultichainClaimsRouter.js +1266 -0
  21. package/build/cjs/src/abis/MultichainGlvRouter.js +1150 -0
  22. package/build/cjs/src/abis/MultichainGmRouter.js +1449 -0
  23. package/build/cjs/src/abis/MultichainOrderRouter.js +2009 -0
  24. package/build/cjs/src/abis/MultichainSubaccountRouter.js +2069 -0
  25. package/build/cjs/src/abis/MultichainTransferRouter.js +915 -0
  26. package/build/cjs/src/abis/MultichainVault.js +275 -0
  27. package/build/cjs/src/abis/Reader.js +140 -0
  28. package/build/cjs/src/abis/ReaderV2.js +259 -0
  29. package/build/cjs/src/abis/ReferralStorage.js +261 -0
  30. package/build/cjs/src/abis/RelayParams.js +55 -0
  31. package/build/cjs/src/abis/RewardReader.js +35 -0
  32. package/build/cjs/src/abis/RewardRouter.js +460 -0
  33. package/build/cjs/src/abis/RewardTracker.js +415 -0
  34. package/build/cjs/src/abis/SmartAccount.js +14 -0
  35. package/build/cjs/src/abis/StBTC.js +513 -0
  36. package/build/cjs/src/abis/SubaccountApproval.js +17 -0
  37. package/build/cjs/src/abis/SubaccountGelatoRelayRouter.js +2019 -0
  38. package/build/cjs/src/abis/SubaccountRouter.js +602 -0
  39. package/build/cjs/src/abis/SyntheticsReader.js +4905 -0
  40. package/build/cjs/src/abis/SyntheticsRouter.js +72 -0
  41. package/build/cjs/src/abis/Timelock.js +778 -0
  42. package/build/cjs/src/abis/Token.js +150 -0
  43. package/build/cjs/src/abis/Treasury.js +206 -0
  44. package/build/cjs/src/abis/UniPool.js +36 -0
  45. package/build/cjs/src/abis/UniswapV2.js +287 -0
  46. package/build/cjs/src/abis/UniswapV3Factory.js +200 -0
  47. package/build/cjs/src/abis/UniswapV3Pool.js +985 -0
  48. package/build/cjs/src/abis/UniswapV3PositionManager.js +991 -0
  49. package/build/cjs/src/abis/Vault.js +1308 -0
  50. package/build/cjs/src/abis/VaultReader.js +30 -0
  51. package/build/cjs/src/abis/VaultV2.js +1222 -0
  52. package/build/cjs/src/abis/VaultV2b.js +1308 -0
  53. package/build/cjs/src/abis/VenusVToken.js +49 -0
  54. package/build/cjs/src/abis/Vester.js +456 -0
  55. package/build/cjs/src/abis/WETH.js +137 -0
  56. package/build/cjs/src/abis/index.js +106 -118
  57. package/build/cjs/src/configs/batch.js +31 -92
  58. package/build/cjs/src/configs/chainIds.js +17 -0
  59. package/build/cjs/src/configs/chains.js +251 -161
  60. package/build/cjs/src/configs/contracts.js +60 -85
  61. package/build/cjs/src/configs/dataStore.js +8 -11
  62. package/build/cjs/src/configs/express.js +17 -4
  63. package/build/cjs/src/configs/factors.js +2 -3
  64. package/build/cjs/src/configs/gasLimits.js +41 -0
  65. package/build/cjs/src/configs/markets.js +193 -1
  66. package/build/cjs/src/configs/multichain.js +27 -0
  67. package/build/cjs/src/configs/oracleKeeper.js +15 -2
  68. package/build/cjs/src/configs/tokens.js +162 -18
  69. package/build/cjs/src/configs/uniswapV3.js +18 -0
  70. package/build/cjs/src/configs/venus.js +58 -0
  71. package/build/cjs/src/modules/markets/index.js +42 -16
  72. package/build/cjs/src/modules/markets/markets.spec.js +5 -5
  73. package/build/cjs/src/modules/markets/query-builders.js +14 -10
  74. package/build/cjs/src/modules/orders/helpers.js +3 -2
  75. package/build/cjs/src/modules/orders/helpers.spec.js +1 -1
  76. package/build/cjs/src/modules/orders/orders.spec.js +1 -1
  77. package/build/cjs/src/modules/positions/positions.js +10 -2
  78. package/build/cjs/src/modules/positions/positions.spec.js +2 -2
  79. package/build/cjs/src/modules/tokens/tokens.spec.js +2 -2
  80. package/build/cjs/src/modules/trades/trades.js +2 -2
  81. package/build/cjs/src/modules/trades/trades.spec.js +1 -1
  82. package/build/cjs/src/modules/utils/utils.js +7 -6
  83. package/build/cjs/src/prebuilt/hashedKinkModelMarketRatesKeys.json +112 -0
  84. package/build/cjs/src/prebuilt/hashedMarketConfigKeys.json +1402 -453
  85. package/build/cjs/src/prebuilt/hashedMarketValuesKeys.json +210 -0
  86. package/build/cjs/src/test/mock.js +5 -3
  87. package/build/cjs/src/types/chains.js +2 -0
  88. package/build/cjs/src/types/orders.js +8 -2
  89. package/build/cjs/src/types/subsquid.js +433 -217
  90. package/build/cjs/src/types/tokens.js +7 -0
  91. package/build/cjs/src/types/tradeHistory.js +9 -1
  92. package/build/cjs/src/utils/LruCache.js +21 -17
  93. package/build/cjs/src/utils/__tests__/LruCache.spec.js +11 -0
  94. package/build/cjs/src/utils/__tests__/abort.spec.js +122 -0
  95. package/build/cjs/src/utils/__tests__/fees.spec.js +4 -4
  96. package/build/cjs/src/utils/__tests__/{subgraph.spec.js → indexers.spec.js} +18 -18
  97. package/build/cjs/src/utils/__tests__/numbers.spec.js +95 -15
  98. package/build/cjs/src/utils/abort.js +31 -0
  99. package/build/cjs/src/utils/bigmath.js +3 -0
  100. package/build/cjs/src/utils/buildUrl.js +1 -0
  101. package/build/cjs/src/utils/callContract.js +4 -4
  102. package/build/cjs/src/utils/errors/transactionsErrors.js +1 -0
  103. package/build/cjs/src/utils/fees/executionFee.js +14 -11
  104. package/build/cjs/src/utils/fees/index.js +13 -8
  105. package/build/cjs/src/utils/fees/priceImpact.js +29 -19
  106. package/build/cjs/src/utils/{subgraph.js → indexers.js} +17 -1
  107. package/build/cjs/src/utils/marketKeysAndConfigs.js +15 -11
  108. package/build/cjs/src/utils/markets.js +16 -1
  109. package/build/cjs/src/utils/multicall.js +54 -17
  110. package/build/cjs/src/utils/numbers.js +34 -18
  111. package/build/cjs/src/utils/orderTransactions.js +5 -5
  112. package/build/cjs/src/utils/orders.js +11 -3
  113. package/build/cjs/src/utils/prices.js +0 -2
  114. package/build/cjs/src/utils/swap/__tests__/mockRouting.spec.js +7 -6
  115. package/build/cjs/src/utils/swap/__tests__/swapRouting.spec.js +5 -4
  116. package/build/cjs/src/utils/swap/__tests__/swapStats.spec.js +10 -9
  117. package/build/cjs/src/utils/swap/botanixStaking.js +3 -3
  118. package/build/cjs/src/utils/swap/buildSwapStrategy.js +10 -9
  119. package/build/cjs/src/utils/swap/swapPath.js +6 -15
  120. package/build/cjs/src/utils/swap/swapRouting.js +8 -4
  121. package/build/cjs/src/utils/swap/swapStats.js +6 -6
  122. package/build/cjs/src/utils/swap/swapValues.js +19 -15
  123. package/build/cjs/src/utils/tokens.js +17 -1
  124. package/build/cjs/src/utils/trade/decrease.js +7 -10
  125. package/build/cjs/src/utils/trade/increase.js +9 -8
  126. package/build/cjs/src/utils/tradeHistory.js +3 -0
  127. package/build/esm/src/abis/ArbitrumNodeInterface.js +103 -0
  128. package/build/esm/src/abis/ClaimHandler.js +422 -0
  129. package/build/esm/src/abis/CustomErrors.js +1882 -0
  130. package/build/esm/src/abis/DataStore.js +637 -0
  131. package/build/esm/src/abis/ERC20PermitInterface.js +52 -0
  132. package/build/esm/src/abis/ERC721.js +194 -0
  133. package/build/esm/src/abis/EventEmitter.js +1226 -0
  134. package/build/esm/src/abis/ExchangeRouter.js +1588 -0
  135. package/build/esm/src/abis/GelatoRelayRouter.js +1577 -0
  136. package/build/esm/src/abis/GlpManager.js +244 -0
  137. package/build/esm/src/abis/GlvReader.js +1469 -0
  138. package/build/esm/src/abis/GlvRouter.js +762 -0
  139. package/build/esm/src/abis/GmxMigrator.js +267 -0
  140. package/build/esm/src/abis/GovToken.js +323 -0
  141. package/build/esm/src/abis/IStargate.js +601 -0
  142. package/build/esm/src/abis/LayerZeroProvider.js +386 -0
  143. package/build/esm/src/abis/MintableBaseToken.js +321 -0
  144. package/build/esm/src/abis/Multicall.js +229 -0
  145. package/build/esm/src/abis/MultichainClaimsRouter.js +1264 -0
  146. package/build/esm/src/abis/MultichainGlvRouter.js +1148 -0
  147. package/build/esm/src/abis/MultichainGmRouter.js +1447 -0
  148. package/build/esm/src/abis/MultichainOrderRouter.js +2007 -0
  149. package/build/esm/src/abis/MultichainSubaccountRouter.js +2067 -0
  150. package/build/esm/src/abis/MultichainTransferRouter.js +913 -0
  151. package/build/esm/src/abis/MultichainVault.js +273 -0
  152. package/build/esm/src/abis/Reader.js +138 -0
  153. package/build/esm/src/abis/ReaderV2.js +257 -0
  154. package/build/esm/src/abis/ReferralStorage.js +259 -0
  155. package/build/esm/src/abis/RelayParams.js +53 -0
  156. package/build/esm/src/abis/RewardReader.js +33 -0
  157. package/build/esm/src/abis/RewardRouter.js +458 -0
  158. package/build/esm/src/abis/RewardTracker.js +413 -0
  159. package/build/esm/src/abis/SmartAccount.js +12 -0
  160. package/build/esm/src/abis/StBTC.js +511 -0
  161. package/build/esm/src/abis/SubaccountApproval.js +15 -0
  162. package/build/esm/src/abis/SubaccountGelatoRelayRouter.js +2017 -0
  163. package/build/esm/src/abis/SubaccountRouter.js +600 -0
  164. package/build/esm/src/abis/SyntheticsReader.js +4903 -0
  165. package/build/esm/src/abis/SyntheticsRouter.js +70 -0
  166. package/build/esm/src/abis/Timelock.js +776 -0
  167. package/build/esm/src/abis/Token.js +148 -0
  168. package/build/esm/src/abis/Treasury.js +204 -0
  169. package/build/esm/src/abis/UniPool.js +34 -0
  170. package/build/esm/src/abis/UniswapV2.js +285 -0
  171. package/build/esm/src/abis/UniswapV3Factory.js +198 -0
  172. package/build/esm/src/abis/UniswapV3Pool.js +983 -0
  173. package/build/esm/src/abis/UniswapV3PositionManager.js +989 -0
  174. package/build/esm/src/abis/Vault.js +1306 -0
  175. package/build/esm/src/abis/VaultReader.js +28 -0
  176. package/build/esm/src/abis/VaultV2.js +1220 -0
  177. package/build/esm/src/abis/VaultV2b.js +1306 -0
  178. package/build/esm/src/abis/VenusVToken.js +47 -0
  179. package/build/esm/src/abis/Vester.js +454 -0
  180. package/build/esm/src/abis/WETH.js +135 -0
  181. package/build/esm/src/abis/index.js +106 -118
  182. package/build/esm/src/configs/batch.js +31 -92
  183. package/build/esm/src/configs/chainIds.js +14 -0
  184. package/build/esm/src/configs/chains.js +215 -149
  185. package/build/esm/src/configs/contracts.js +60 -85
  186. package/build/esm/src/configs/dataStore.js +4 -6
  187. package/build/esm/src/configs/express.js +16 -3
  188. package/build/esm/src/configs/factors.js +1 -2
  189. package/build/esm/src/configs/gasLimits.js +38 -0
  190. package/build/esm/src/configs/markets.js +183 -0
  191. package/build/esm/src/configs/multichain.js +22 -0
  192. package/build/esm/src/configs/oracleKeeper.js +14 -1
  193. package/build/esm/src/configs/tokens.js +160 -17
  194. package/build/esm/src/configs/uniswapV3.js +13 -0
  195. package/build/esm/src/configs/venus.js +53 -0
  196. package/build/esm/src/modules/markets/index.js +42 -16
  197. package/build/esm/src/modules/markets/markets.spec.js +5 -5
  198. package/build/esm/src/modules/markets/query-builders.js +14 -10
  199. package/build/esm/src/modules/orders/helpers.js +4 -3
  200. package/build/esm/src/modules/orders/helpers.spec.js +1 -1
  201. package/build/esm/src/modules/orders/orders.spec.js +1 -1
  202. package/build/esm/src/modules/positions/positions.js +10 -2
  203. package/build/esm/src/modules/positions/positions.spec.js +2 -2
  204. package/build/esm/src/modules/tokens/tokens.spec.js +2 -2
  205. package/build/esm/src/modules/trades/trades.js +1 -1
  206. package/build/esm/src/modules/trades/trades.spec.js +1 -1
  207. package/build/esm/src/modules/utils/utils.js +7 -6
  208. package/build/esm/src/prebuilt/hashedKinkModelMarketRatesKeys.json +112 -0
  209. package/build/esm/src/prebuilt/hashedMarketConfigKeys.json +1402 -453
  210. package/build/esm/src/prebuilt/hashedMarketValuesKeys.json +210 -0
  211. package/build/esm/src/test/mock.js +5 -3
  212. package/build/esm/src/types/orders.js +8 -2
  213. package/build/esm/src/types/subsquid.js +432 -216
  214. package/build/esm/src/types/tokens.js +6 -1
  215. package/build/esm/src/types/tradeHistory.js +6 -0
  216. package/build/esm/src/utils/LruCache.js +21 -17
  217. package/build/esm/src/utils/__tests__/LruCache.spec.js +11 -0
  218. package/build/esm/src/utils/__tests__/abort.spec.js +120 -0
  219. package/build/esm/src/utils/__tests__/fees.spec.js +4 -4
  220. package/build/esm/src/utils/__tests__/{subgraph.spec.js → indexers.spec.js} +1 -1
  221. package/build/esm/src/utils/__tests__/numbers.spec.js +96 -16
  222. package/build/esm/src/utils/abort.js +27 -0
  223. package/build/esm/src/utils/bigmath.js +3 -0
  224. package/build/esm/src/utils/buildUrl.js +1 -0
  225. package/build/esm/src/utils/callContract.js +5 -5
  226. package/build/esm/src/utils/errors/transactionsErrors.js +1 -0
  227. package/build/esm/src/utils/fees/executionFee.js +15 -12
  228. package/build/esm/src/utils/fees/index.js +13 -8
  229. package/build/esm/src/utils/fees/priceImpact.js +28 -19
  230. package/build/esm/src/utils/{subgraph.js → indexers.js} +15 -0
  231. package/build/esm/src/utils/marketKeysAndConfigs.js +16 -12
  232. package/build/esm/src/utils/markets.js +13 -0
  233. package/build/esm/src/utils/multicall.js +53 -16
  234. package/build/esm/src/utils/numbers.js +29 -16
  235. package/build/esm/src/utils/orderTransactions.js +5 -5
  236. package/build/esm/src/utils/orders.js +11 -4
  237. package/build/esm/src/utils/prices.js +0 -2
  238. package/build/esm/src/utils/swap/__tests__/mockRouting.spec.js +7 -6
  239. package/build/esm/src/utils/swap/__tests__/swapRouting.spec.js +5 -4
  240. package/build/esm/src/utils/swap/__tests__/swapStats.spec.js +10 -9
  241. package/build/esm/src/utils/swap/botanixStaking.js +3 -3
  242. package/build/esm/src/utils/swap/buildSwapStrategy.js +10 -9
  243. package/build/esm/src/utils/swap/swapPath.js +6 -15
  244. package/build/esm/src/utils/swap/swapRouting.js +8 -4
  245. package/build/esm/src/utils/swap/swapStats.js +6 -6
  246. package/build/esm/src/utils/swap/swapValues.js +19 -15
  247. package/build/esm/src/utils/tokens.js +15 -1
  248. package/build/esm/src/utils/trade/decrease.js +8 -11
  249. package/build/esm/src/utils/trade/increase.js +9 -8
  250. package/build/esm/src/utils/tradeHistory.js +3 -0
  251. package/build/types/src/abis/ArbitrumNodeInterface.d.ts +214 -0
  252. package/build/types/src/abis/ClaimHandler.d.ts +322 -0
  253. package/build/types/src/abis/CustomErrors.d.ts +3330 -0
  254. package/build/types/src/abis/DataStore.d.ts +1098 -0
  255. package/build/types/src/abis/ERC20PermitInterface.d.ts +90 -0
  256. package/build/types/src/abis/ERC721.d.ts +334 -0
  257. package/build/types/src/abis/EventEmitter.d.ts +1564 -0
  258. package/build/types/src/abis/ExchangeRouter.d.ts +1224 -0
  259. package/build/types/src/abis/GelatoRelayRouter.d.ts +1222 -0
  260. package/build/types/src/abis/GlpManager.d.ts +452 -0
  261. package/build/types/src/abis/GlvReader.d.ts +1131 -0
  262. package/build/types/src/abis/GlvRouter.d.ts +588 -0
  263. package/build/types/src/abis/GmxMigrator.d.ts +497 -0
  264. package/build/types/src/abis/GovToken.d.ts +588 -0
  265. package/build/types/src/abis/IStargate.d.ts +464 -0
  266. package/build/types/src/abis/LayerZeroProvider.d.ts +297 -0
  267. package/build/types/src/abis/MintableBaseToken.d.ts +526 -0
  268. package/build/types/src/abis/Multicall.d.ts +323 -0
  269. package/build/types/src/abis/MultichainClaimsRouter.d.ts +973 -0
  270. package/build/types/src/abis/MultichainGlvRouter.d.ts +886 -0
  271. package/build/types/src/abis/MultichainGmRouter.d.ts +1118 -0
  272. package/build/types/src/abis/MultichainOrderRouter.d.ts +1557 -0
  273. package/build/types/src/abis/MultichainSubaccountRouter.d.ts +1606 -0
  274. package/build/types/src/abis/MultichainTransferRouter.d.ts +702 -0
  275. package/build/types/src/abis/MultichainVault.d.ts +208 -0
  276. package/build/types/src/abis/Reader.d.ts +264 -0
  277. package/build/types/src/abis/ReaderV2.d.ts +474 -0
  278. package/build/types/src/abis/ReferralStorage.d.ts +429 -0
  279. package/build/types/src/abis/RelayParams.d.ts +114 -0
  280. package/build/types/src/abis/RewardReader.d.ts +60 -0
  281. package/build/types/src/abis/RewardRouter.d.ts +790 -0
  282. package/build/types/src/abis/RewardTracker.d.ts +695 -0
  283. package/build/types/src/abis/SmartAccount.d.ts +20 -0
  284. package/build/types/src/abis/StBTC.d.ts +932 -0
  285. package/build/types/src/abis/SubaccountApproval.d.ts +29 -0
  286. package/build/types/src/abis/SubaccountGelatoRelayRouter.d.ts +1567 -0
  287. package/build/types/src/abis/SubaccountRouter.d.ts +465 -0
  288. package/build/types/src/abis/SyntheticsReader.d.ts +3780 -0
  289. package/build/types/src/abis/SyntheticsRouter.d.ts +54 -0
  290. package/build/types/src/abis/Timelock.d.ts +1356 -0
  291. package/build/types/src/abis/Token.d.ts +260 -0
  292. package/build/types/src/abis/Treasury.d.ts +312 -0
  293. package/build/types/src/abis/UniPool.d.ts +64 -0
  294. package/build/types/src/abis/UniswapV2.d.ts +511 -0
  295. package/build/types/src/abis/UniswapV3Factory.d.ts +154 -0
  296. package/build/types/src/abis/UniswapV3Pool.d.ts +771 -0
  297. package/build/types/src/abis/UniswapV3PositionManager.d.ts +767 -0
  298. package/build/types/src/abis/Vault.d.ts +2482 -0
  299. package/build/types/src/abis/VaultReader.d.ts +62 -0
  300. package/build/types/src/abis/VaultV2.d.ts +2327 -0
  301. package/build/types/src/abis/VaultV2b.d.ts +2482 -0
  302. package/build/types/src/abis/VenusVToken.d.ts +36 -0
  303. package/build/types/src/abis/Vester.d.ts +782 -0
  304. package/build/types/src/abis/WETH.d.ts +240 -0
  305. package/build/types/src/abis/index.d.ts +43664 -23
  306. package/build/types/src/configs/batch.d.ts +1 -0
  307. package/build/types/src/configs/chainIds.d.ts +10 -0
  308. package/build/types/src/configs/chains.d.ts +171 -33
  309. package/build/types/src/configs/contracts.d.ts +0 -25
  310. package/build/types/src/configs/dataStore.d.ts +3 -3
  311. package/build/types/src/configs/express.d.ts +5 -1
  312. package/build/types/src/configs/factors.d.ts +1 -2
  313. package/build/types/src/configs/gasLimits.d.ts +4 -0
  314. package/build/types/src/configs/markets.d.ts +13 -1
  315. package/build/types/src/configs/multichain.d.ts +5 -0
  316. package/build/types/src/configs/oracleKeeper.d.ts +13 -0
  317. package/build/types/src/configs/tokens.d.ts +4 -0
  318. package/build/types/src/configs/uniswapV3.d.ts +7 -0
  319. package/build/types/src/configs/venus.d.ts +16 -0
  320. package/build/types/src/index.d.ts +3 -3
  321. package/build/types/src/modules/base.d.ts +2 -2
  322. package/build/types/src/modules/markets/index.d.ts +3 -0
  323. package/build/types/src/modules/markets/query-builders.d.ts +2 -2
  324. package/build/types/src/modules/markets/types.d.ts +2 -2
  325. package/build/types/src/modules/orders/orders.d.ts +2 -2
  326. package/build/types/src/modules/orders/transactions/cancelOrdersTxn.d.ts +2 -2
  327. package/build/types/src/modules/orders/transactions/createDecreaseOrderTxn.d.ts +1 -1
  328. package/build/types/src/modules/orders/transactions/createWrapOrUnwrapTxn.d.ts +1 -1
  329. package/build/types/src/modules/orders/transactions/updateOrderTxn.d.ts +1 -1
  330. package/build/types/src/modules/orders/utils.d.ts +2 -2
  331. package/build/types/src/modules/positions/positions.d.ts +1 -1
  332. package/build/types/src/modules/utils/utils.d.ts +2 -3
  333. package/build/types/src/types/chains.d.ts +57 -0
  334. package/build/types/src/types/markets.d.ts +5 -3
  335. package/build/types/src/types/orders.d.ts +9 -2
  336. package/build/types/src/types/positions.d.ts +1 -0
  337. package/build/types/src/types/subsquid.d.ts +6232 -5089
  338. package/build/types/src/types/tokens.d.ts +26 -7
  339. package/build/types/src/types/trade.d.ts +6 -0
  340. package/build/types/src/types/tradeHistory.d.ts +5 -0
  341. package/build/types/src/utils/LruCache.d.ts +2 -2
  342. package/build/types/src/utils/abort.d.ts +1 -0
  343. package/build/types/src/utils/bigmath.d.ts +1 -0
  344. package/build/types/src/utils/callContract.d.ts +1 -1
  345. package/build/types/src/utils/fees/estimateOraclePriceCount.d.ts +2 -2
  346. package/build/types/src/utils/fees/executionFee.d.ts +6 -6
  347. package/build/types/src/utils/fees/index.d.ts +2 -1
  348. package/build/types/src/utils/fees/priceImpact.d.ts +9 -3
  349. package/build/types/src/utils/hash.d.ts +1 -1
  350. package/build/types/src/utils/{subgraph.d.ts → indexers.d.ts} +1 -0
  351. package/build/types/src/utils/marketKeysAndConfigs.d.ts +4 -3
  352. package/build/types/src/utils/markets.d.ts +5 -2
  353. package/build/types/src/utils/multicall.d.ts +4 -2
  354. package/build/types/src/utils/numbers.d.ts +12 -1
  355. package/build/types/src/utils/orderTransactions.d.ts +7 -7
  356. package/build/types/src/utils/orders.d.ts +1 -0
  357. package/build/types/src/utils/prices.d.ts +0 -2
  358. package/build/types/src/utils/swap/buildSwapStrategy.d.ts +6 -3
  359. package/build/types/src/utils/swap/swapPath.d.ts +2 -2
  360. package/build/types/src/utils/swap/swapRouting.d.ts +7 -2
  361. package/build/types/src/utils/swap/swapStats.d.ts +3 -2
  362. package/build/types/src/utils/swap/swapValues.d.ts +1 -1
  363. package/build/types/src/utils/tokens.d.ts +3 -0
  364. package/build/types/src/utils/trade/decrease.d.ts +1 -0
  365. package/build/types/src/utils/trade/increase.d.ts +1 -0
  366. package/build/types/src/utils/tradeHistory.d.ts +1 -2
  367. package/package.json +13 -3
  368. package/build/cjs/src/abis/ArbitrumNodeInterface.json +0 -105
  369. package/build/cjs/src/abis/ClaimHandler.json +0 -424
  370. package/build/cjs/src/abis/CustomErrors.json +0 -4432
  371. package/build/cjs/src/abis/DataStore.json +0 -1459
  372. package/build/cjs/src/abis/ERC20PermitInterface.json +0 -118
  373. package/build/cjs/src/abis/ERC721.json +0 -442
  374. package/build/cjs/src/abis/EventEmitter.json +0 -2060
  375. package/build/cjs/src/abis/ExchangeRouter.json +0 -1706
  376. package/build/cjs/src/abis/GMT.json +0 -522
  377. package/build/cjs/src/abis/GelatoRelayRouter.json +0 -1579
  378. package/build/cjs/src/abis/GlpManager.json +0 -591
  379. package/build/cjs/src/abis/GlvReader.json +0 -1471
  380. package/build/cjs/src/abis/GlvRouter.json +0 -764
  381. package/build/cjs/src/abis/GmxMigrator.json +0 -657
  382. package/build/cjs/src/abis/GovToken.json +0 -768
  383. package/build/cjs/src/abis/LayerZeroProvider.json +0 -372
  384. package/build/cjs/src/abis/MintableBaseToken.json +0 -696
  385. package/build/cjs/src/abis/Multicall.json +0 -429
  386. package/build/cjs/src/abis/MultichainClaimsRouter.json +0 -1266
  387. package/build/cjs/src/abis/MultichainGlvRouter.json +0 -1150
  388. package/build/cjs/src/abis/MultichainGmRouter.json +0 -1449
  389. package/build/cjs/src/abis/MultichainOrderRouter.json +0 -1820
  390. package/build/cjs/src/abis/MultichainSubaccountRouter.json +0 -2069
  391. package/build/cjs/src/abis/MultichainTransferRouter.json +0 -915
  392. package/build/cjs/src/abis/MultichainUtils.json +0 -133
  393. package/build/cjs/src/abis/MultichainVault.json +0 -275
  394. package/build/cjs/src/abis/OrderBook.json +0 -1997
  395. package/build/cjs/src/abis/OrderBookReader.json +0 -111
  396. package/build/cjs/src/abis/OrderExecutor.json +0 -122
  397. package/build/cjs/src/abis/PositionManager.json +0 -1165
  398. package/build/cjs/src/abis/PositionRouter.json +0 -2030
  399. package/build/cjs/src/abis/Reader.json +0 -355
  400. package/build/cjs/src/abis/ReaderV2.json +0 -630
  401. package/build/cjs/src/abis/ReferralStorage.json +0 -557
  402. package/build/cjs/src/abis/RelayParams.json +0 -147
  403. package/build/cjs/src/abis/RewardReader.json +0 -86
  404. package/build/cjs/src/abis/RewardRouter.json +0 -1024
  405. package/build/cjs/src/abis/RewardTracker.json +0 -918
  406. package/build/cjs/src/abis/Router-v2.json +0 -605
  407. package/build/cjs/src/abis/Router.json +0 -605
  408. package/build/cjs/src/abis/SmartAccount.json +0 -28
  409. package/build/cjs/src/abis/StBTC.json +0 -1225
  410. package/build/cjs/src/abis/SubaccountApproval.json +0 -17
  411. package/build/cjs/src/abis/SubaccountGelatoRelayRouter.json +0 -2019
  412. package/build/cjs/src/abis/SubaccountRouter.json +0 -602
  413. package/build/cjs/src/abis/SyntheticsReader.json +0 -4905
  414. package/build/cjs/src/abis/SyntheticsRouter.json +0 -72
  415. package/build/cjs/src/abis/Timelock.json +0 -1737
  416. package/build/cjs/src/abis/Token.json +0 -345
  417. package/build/cjs/src/abis/Treasury.json +0 -411
  418. package/build/cjs/src/abis/UniPool.json +0 -89
  419. package/build/cjs/src/abis/UniswapV2.json +0 -1
  420. package/build/cjs/src/abis/Vault.json +0 -3220
  421. package/build/cjs/src/abis/VaultReader.json +0 -87
  422. package/build/cjs/src/abis/VaultV2.json +0 -3019
  423. package/build/cjs/src/abis/VaultV2b.json +0 -3220
  424. package/build/cjs/src/abis/Vester.json +0 -1031
  425. package/build/cjs/src/abis/WETH.json +0 -320
  426. package/build/cjs/src/abis/YieldFarm.json +0 -599
  427. package/build/cjs/src/abis/YieldToken.json +0 -560
  428. package/build/cjs/src/abis/__tests__/abis.spec.js +0 -40
  429. package/build/cjs/src/configs/__tests__/permits.spec.js +0 -109
  430. package/build/esm/src/abis/ArbitrumNodeInterface.json +0 -105
  431. package/build/esm/src/abis/ClaimHandler.json +0 -424
  432. package/build/esm/src/abis/CustomErrors.json +0 -4432
  433. package/build/esm/src/abis/DataStore.json +0 -1459
  434. package/build/esm/src/abis/ERC20PermitInterface.json +0 -118
  435. package/build/esm/src/abis/ERC721.json +0 -442
  436. package/build/esm/src/abis/EventEmitter.json +0 -2060
  437. package/build/esm/src/abis/ExchangeRouter.json +0 -1706
  438. package/build/esm/src/abis/GMT.json +0 -522
  439. package/build/esm/src/abis/GelatoRelayRouter.json +0 -1579
  440. package/build/esm/src/abis/GlpManager.json +0 -591
  441. package/build/esm/src/abis/GlvReader.json +0 -1471
  442. package/build/esm/src/abis/GlvRouter.json +0 -764
  443. package/build/esm/src/abis/GmxMigrator.json +0 -657
  444. package/build/esm/src/abis/GovToken.json +0 -768
  445. package/build/esm/src/abis/LayerZeroProvider.json +0 -372
  446. package/build/esm/src/abis/MintableBaseToken.json +0 -696
  447. package/build/esm/src/abis/Multicall.json +0 -429
  448. package/build/esm/src/abis/MultichainClaimsRouter.json +0 -1266
  449. package/build/esm/src/abis/MultichainGlvRouter.json +0 -1150
  450. package/build/esm/src/abis/MultichainGmRouter.json +0 -1449
  451. package/build/esm/src/abis/MultichainOrderRouter.json +0 -1820
  452. package/build/esm/src/abis/MultichainSubaccountRouter.json +0 -2069
  453. package/build/esm/src/abis/MultichainTransferRouter.json +0 -915
  454. package/build/esm/src/abis/MultichainUtils.json +0 -133
  455. package/build/esm/src/abis/MultichainVault.json +0 -275
  456. package/build/esm/src/abis/OrderBook.json +0 -1997
  457. package/build/esm/src/abis/OrderBookReader.json +0 -111
  458. package/build/esm/src/abis/OrderExecutor.json +0 -122
  459. package/build/esm/src/abis/PositionManager.json +0 -1165
  460. package/build/esm/src/abis/PositionRouter.json +0 -2030
  461. package/build/esm/src/abis/Reader.json +0 -355
  462. package/build/esm/src/abis/ReaderV2.json +0 -630
  463. package/build/esm/src/abis/ReferralStorage.json +0 -557
  464. package/build/esm/src/abis/RelayParams.json +0 -147
  465. package/build/esm/src/abis/RewardReader.json +0 -86
  466. package/build/esm/src/abis/RewardRouter.json +0 -1024
  467. package/build/esm/src/abis/RewardTracker.json +0 -918
  468. package/build/esm/src/abis/Router-v2.json +0 -605
  469. package/build/esm/src/abis/Router.json +0 -605
  470. package/build/esm/src/abis/SmartAccount.json +0 -28
  471. package/build/esm/src/abis/StBTC.json +0 -1225
  472. package/build/esm/src/abis/SubaccountApproval.json +0 -17
  473. package/build/esm/src/abis/SubaccountGelatoRelayRouter.json +0 -2019
  474. package/build/esm/src/abis/SubaccountRouter.json +0 -602
  475. package/build/esm/src/abis/SyntheticsReader.json +0 -4905
  476. package/build/esm/src/abis/SyntheticsRouter.json +0 -72
  477. package/build/esm/src/abis/Timelock.json +0 -1737
  478. package/build/esm/src/abis/Token.json +0 -345
  479. package/build/esm/src/abis/Treasury.json +0 -411
  480. package/build/esm/src/abis/UniPool.json +0 -89
  481. package/build/esm/src/abis/UniswapV2.json +0 -1
  482. package/build/esm/src/abis/Vault.json +0 -3220
  483. package/build/esm/src/abis/VaultReader.json +0 -87
  484. package/build/esm/src/abis/VaultV2.json +0 -3019
  485. package/build/esm/src/abis/VaultV2b.json +0 -3220
  486. package/build/esm/src/abis/Vester.json +0 -1031
  487. package/build/esm/src/abis/WETH.json +0 -320
  488. package/build/esm/src/abis/YieldFarm.json +0 -599
  489. package/build/esm/src/abis/YieldToken.json +0 -560
  490. package/build/esm/src/abis/__tests__/abis.spec.js +0 -35
  491. package/build/esm/src/configs/__tests__/permits.spec.js +0 -107
  492. /package/build/{types/src/abis/__tests__/abis.spec.d.ts → esm/src/types/chains.js} +0 -0
  493. /package/build/types/src/{configs/__tests__/permits.spec.d.ts → utils/__tests__/abort.spec.d.ts} +0 -0
  494. /package/build/types/src/utils/__tests__/{subgraph.spec.d.ts → indexers.spec.d.ts} +0 -0
@@ -18,6 +18,12 @@ export var AccountStatOrderByInput;
18
18
  AccountStatOrderByInput["cumsumSize_DESC"] = "cumsumSize_DESC";
19
19
  AccountStatOrderByInput["cumsumSize_DESC_NULLS_FIRST"] = "cumsumSize_DESC_NULLS_FIRST";
20
20
  AccountStatOrderByInput["cumsumSize_DESC_NULLS_LAST"] = "cumsumSize_DESC_NULLS_LAST";
21
+ AccountStatOrderByInput["deposits_ASC"] = "deposits_ASC";
22
+ AccountStatOrderByInput["deposits_ASC_NULLS_FIRST"] = "deposits_ASC_NULLS_FIRST";
23
+ AccountStatOrderByInput["deposits_ASC_NULLS_LAST"] = "deposits_ASC_NULLS_LAST";
24
+ AccountStatOrderByInput["deposits_DESC"] = "deposits_DESC";
25
+ AccountStatOrderByInput["deposits_DESC_NULLS_FIRST"] = "deposits_DESC_NULLS_FIRST";
26
+ AccountStatOrderByInput["deposits_DESC_NULLS_LAST"] = "deposits_DESC_NULLS_LAST";
21
27
  AccountStatOrderByInput["id_ASC"] = "id_ASC";
22
28
  AccountStatOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
23
29
  AccountStatOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
@@ -60,6 +66,12 @@ export var AccountStatOrderByInput;
60
66
  AccountStatOrderByInput["realizedPriceImpact_DESC"] = "realizedPriceImpact_DESC";
61
67
  AccountStatOrderByInput["realizedPriceImpact_DESC_NULLS_FIRST"] = "realizedPriceImpact_DESC_NULLS_FIRST";
62
68
  AccountStatOrderByInput["realizedPriceImpact_DESC_NULLS_LAST"] = "realizedPriceImpact_DESC_NULLS_LAST";
69
+ AccountStatOrderByInput["realizedSwapImpact_ASC"] = "realizedSwapImpact_ASC";
70
+ AccountStatOrderByInput["realizedSwapImpact_ASC_NULLS_FIRST"] = "realizedSwapImpact_ASC_NULLS_FIRST";
71
+ AccountStatOrderByInput["realizedSwapImpact_ASC_NULLS_LAST"] = "realizedSwapImpact_ASC_NULLS_LAST";
72
+ AccountStatOrderByInput["realizedSwapImpact_DESC"] = "realizedSwapImpact_DESC";
73
+ AccountStatOrderByInput["realizedSwapImpact_DESC_NULLS_FIRST"] = "realizedSwapImpact_DESC_NULLS_FIRST";
74
+ AccountStatOrderByInput["realizedSwapImpact_DESC_NULLS_LAST"] = "realizedSwapImpact_DESC_NULLS_LAST";
63
75
  AccountStatOrderByInput["sumMaxSize_ASC"] = "sumMaxSize_ASC";
64
76
  AccountStatOrderByInput["sumMaxSize_ASC_NULLS_FIRST"] = "sumMaxSize_ASC_NULLS_FIRST";
65
77
  AccountStatOrderByInput["sumMaxSize_ASC_NULLS_LAST"] = "sumMaxSize_ASC_NULLS_LAST";
@@ -195,12 +207,6 @@ export var ClaimActionOrderByInput;
195
207
  ClaimActionOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
196
208
  ClaimActionOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
197
209
  ClaimActionOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
198
- ClaimActionOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
199
- ClaimActionOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
200
- ClaimActionOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
201
- ClaimActionOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
202
- ClaimActionOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
203
- ClaimActionOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
204
210
  ClaimActionOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
205
211
  ClaimActionOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
206
212
  ClaimActionOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -255,6 +261,45 @@ export var ClaimRefOrderByInput;
255
261
  ClaimRefOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
256
262
  ClaimRefOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
257
263
  })(ClaimRefOrderByInput || (ClaimRefOrderByInput = {}));
264
+ export var ClaimableAmountOrderByInput;
265
+ (function (ClaimableAmountOrderByInput) {
266
+ ClaimableAmountOrderByInput["account_ASC"] = "account_ASC";
267
+ ClaimableAmountOrderByInput["account_ASC_NULLS_FIRST"] = "account_ASC_NULLS_FIRST";
268
+ ClaimableAmountOrderByInput["account_ASC_NULLS_LAST"] = "account_ASC_NULLS_LAST";
269
+ ClaimableAmountOrderByInput["account_DESC"] = "account_DESC";
270
+ ClaimableAmountOrderByInput["account_DESC_NULLS_FIRST"] = "account_DESC_NULLS_FIRST";
271
+ ClaimableAmountOrderByInput["account_DESC_NULLS_LAST"] = "account_DESC_NULLS_LAST";
272
+ ClaimableAmountOrderByInput["amountInUsd_ASC"] = "amountInUsd_ASC";
273
+ ClaimableAmountOrderByInput["amountInUsd_ASC_NULLS_FIRST"] = "amountInUsd_ASC_NULLS_FIRST";
274
+ ClaimableAmountOrderByInput["amountInUsd_ASC_NULLS_LAST"] = "amountInUsd_ASC_NULLS_LAST";
275
+ ClaimableAmountOrderByInput["amountInUsd_DESC"] = "amountInUsd_DESC";
276
+ ClaimableAmountOrderByInput["amountInUsd_DESC_NULLS_FIRST"] = "amountInUsd_DESC_NULLS_FIRST";
277
+ ClaimableAmountOrderByInput["amountInUsd_DESC_NULLS_LAST"] = "amountInUsd_DESC_NULLS_LAST";
278
+ ClaimableAmountOrderByInput["amount_ASC"] = "amount_ASC";
279
+ ClaimableAmountOrderByInput["amount_ASC_NULLS_FIRST"] = "amount_ASC_NULLS_FIRST";
280
+ ClaimableAmountOrderByInput["amount_ASC_NULLS_LAST"] = "amount_ASC_NULLS_LAST";
281
+ ClaimableAmountOrderByInput["amount_DESC"] = "amount_DESC";
282
+ ClaimableAmountOrderByInput["amount_DESC_NULLS_FIRST"] = "amount_DESC_NULLS_FIRST";
283
+ ClaimableAmountOrderByInput["amount_DESC_NULLS_LAST"] = "amount_DESC_NULLS_LAST";
284
+ ClaimableAmountOrderByInput["distributionId_ASC"] = "distributionId_ASC";
285
+ ClaimableAmountOrderByInput["distributionId_ASC_NULLS_FIRST"] = "distributionId_ASC_NULLS_FIRST";
286
+ ClaimableAmountOrderByInput["distributionId_ASC_NULLS_LAST"] = "distributionId_ASC_NULLS_LAST";
287
+ ClaimableAmountOrderByInput["distributionId_DESC"] = "distributionId_DESC";
288
+ ClaimableAmountOrderByInput["distributionId_DESC_NULLS_FIRST"] = "distributionId_DESC_NULLS_FIRST";
289
+ ClaimableAmountOrderByInput["distributionId_DESC_NULLS_LAST"] = "distributionId_DESC_NULLS_LAST";
290
+ ClaimableAmountOrderByInput["id_ASC"] = "id_ASC";
291
+ ClaimableAmountOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
292
+ ClaimableAmountOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
293
+ ClaimableAmountOrderByInput["id_DESC"] = "id_DESC";
294
+ ClaimableAmountOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
295
+ ClaimableAmountOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
296
+ ClaimableAmountOrderByInput["token_ASC"] = "token_ASC";
297
+ ClaimableAmountOrderByInput["token_ASC_NULLS_FIRST"] = "token_ASC_NULLS_FIRST";
298
+ ClaimableAmountOrderByInput["token_ASC_NULLS_LAST"] = "token_ASC_NULLS_LAST";
299
+ ClaimableAmountOrderByInput["token_DESC"] = "token_DESC";
300
+ ClaimableAmountOrderByInput["token_DESC_NULLS_FIRST"] = "token_DESC_NULLS_FIRST";
301
+ ClaimableAmountOrderByInput["token_DESC_NULLS_LAST"] = "token_DESC_NULLS_LAST";
302
+ })(ClaimableAmountOrderByInput || (ClaimableAmountOrderByInput = {}));
258
303
  export var ClaimableCollateralGroupOrderByInput;
259
304
  (function (ClaimableCollateralGroupOrderByInput) {
260
305
  ClaimableCollateralGroupOrderByInput["factor_ASC"] = "factor_ASC";
@@ -617,12 +662,6 @@ export var DistributionOrderByInput;
617
662
  DistributionOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
618
663
  DistributionOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
619
664
  DistributionOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
620
- DistributionOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
621
- DistributionOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
622
- DistributionOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
623
- DistributionOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
624
- DistributionOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
625
- DistributionOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
626
665
  DistributionOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
627
666
  DistributionOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
628
667
  DistributionOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -862,12 +901,6 @@ export var MarketInfoOrderByInput;
862
901
  MarketInfoOrderByInput["longOpenInterestUsingShortToken_DESC"] = "longOpenInterestUsingShortToken_DESC";
863
902
  MarketInfoOrderByInput["longOpenInterestUsingShortToken_DESC_NULLS_FIRST"] = "longOpenInterestUsingShortToken_DESC_NULLS_FIRST";
864
903
  MarketInfoOrderByInput["longOpenInterestUsingShortToken_DESC_NULLS_LAST"] = "longOpenInterestUsingShortToken_DESC_NULLS_LAST";
865
- MarketInfoOrderByInput["longPoolAmountAdjustment_ASC"] = "longPoolAmountAdjustment_ASC";
866
- MarketInfoOrderByInput["longPoolAmountAdjustment_ASC_NULLS_FIRST"] = "longPoolAmountAdjustment_ASC_NULLS_FIRST";
867
- MarketInfoOrderByInput["longPoolAmountAdjustment_ASC_NULLS_LAST"] = "longPoolAmountAdjustment_ASC_NULLS_LAST";
868
- MarketInfoOrderByInput["longPoolAmountAdjustment_DESC"] = "longPoolAmountAdjustment_DESC";
869
- MarketInfoOrderByInput["longPoolAmountAdjustment_DESC_NULLS_FIRST"] = "longPoolAmountAdjustment_DESC_NULLS_FIRST";
870
- MarketInfoOrderByInput["longPoolAmountAdjustment_DESC_NULLS_LAST"] = "longPoolAmountAdjustment_DESC_NULLS_LAST";
871
904
  MarketInfoOrderByInput["longPoolAmount_ASC"] = "longPoolAmount_ASC";
872
905
  MarketInfoOrderByInput["longPoolAmount_ASC_NULLS_FIRST"] = "longPoolAmount_ASC_NULLS_FIRST";
873
906
  MarketInfoOrderByInput["longPoolAmount_ASC_NULLS_LAST"] = "longPoolAmount_ASC_NULLS_LAST";
@@ -1072,12 +1105,18 @@ export var MarketInfoOrderByInput;
1072
1105
  MarketInfoOrderByInput["positionFeeFactorForPositiveImpact_DESC"] = "positionFeeFactorForPositiveImpact_DESC";
1073
1106
  MarketInfoOrderByInput["positionFeeFactorForPositiveImpact_DESC_NULLS_FIRST"] = "positionFeeFactorForPositiveImpact_DESC_NULLS_FIRST";
1074
1107
  MarketInfoOrderByInput["positionFeeFactorForPositiveImpact_DESC_NULLS_LAST"] = "positionFeeFactorForPositiveImpact_DESC_NULLS_LAST";
1075
- MarketInfoOrderByInput["positionImpactExponentFactor_ASC"] = "positionImpactExponentFactor_ASC";
1076
- MarketInfoOrderByInput["positionImpactExponentFactor_ASC_NULLS_FIRST"] = "positionImpactExponentFactor_ASC_NULLS_FIRST";
1077
- MarketInfoOrderByInput["positionImpactExponentFactor_ASC_NULLS_LAST"] = "positionImpactExponentFactor_ASC_NULLS_LAST";
1078
- MarketInfoOrderByInput["positionImpactExponentFactor_DESC"] = "positionImpactExponentFactor_DESC";
1079
- MarketInfoOrderByInput["positionImpactExponentFactor_DESC_NULLS_FIRST"] = "positionImpactExponentFactor_DESC_NULLS_FIRST";
1080
- MarketInfoOrderByInput["positionImpactExponentFactor_DESC_NULLS_LAST"] = "positionImpactExponentFactor_DESC_NULLS_LAST";
1108
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_ASC"] = "positionImpactExponentFactorNegative_ASC";
1109
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_ASC_NULLS_FIRST"] = "positionImpactExponentFactorNegative_ASC_NULLS_FIRST";
1110
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_ASC_NULLS_LAST"] = "positionImpactExponentFactorNegative_ASC_NULLS_LAST";
1111
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_DESC"] = "positionImpactExponentFactorNegative_DESC";
1112
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_DESC_NULLS_FIRST"] = "positionImpactExponentFactorNegative_DESC_NULLS_FIRST";
1113
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_DESC_NULLS_LAST"] = "positionImpactExponentFactorNegative_DESC_NULLS_LAST";
1114
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_ASC"] = "positionImpactExponentFactorPositive_ASC";
1115
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_ASC_NULLS_FIRST"] = "positionImpactExponentFactorPositive_ASC_NULLS_FIRST";
1116
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_ASC_NULLS_LAST"] = "positionImpactExponentFactorPositive_ASC_NULLS_LAST";
1117
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_DESC"] = "positionImpactExponentFactorPositive_DESC";
1118
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_DESC_NULLS_FIRST"] = "positionImpactExponentFactorPositive_DESC_NULLS_FIRST";
1119
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_DESC_NULLS_LAST"] = "positionImpactExponentFactorPositive_DESC_NULLS_LAST";
1081
1120
  MarketInfoOrderByInput["positionImpactFactorNegative_ASC"] = "positionImpactFactorNegative_ASC";
1082
1121
  MarketInfoOrderByInput["positionImpactFactorNegative_ASC_NULLS_FIRST"] = "positionImpactFactorNegative_ASC_NULLS_FIRST";
1083
1122
  MarketInfoOrderByInput["positionImpactFactorNegative_ASC_NULLS_LAST"] = "positionImpactFactorNegative_ASC_NULLS_LAST";
@@ -1150,12 +1189,6 @@ export var MarketInfoOrderByInput;
1150
1189
  MarketInfoOrderByInput["shortOpenInterestUsingShortToken_DESC"] = "shortOpenInterestUsingShortToken_DESC";
1151
1190
  MarketInfoOrderByInput["shortOpenInterestUsingShortToken_DESC_NULLS_FIRST"] = "shortOpenInterestUsingShortToken_DESC_NULLS_FIRST";
1152
1191
  MarketInfoOrderByInput["shortOpenInterestUsingShortToken_DESC_NULLS_LAST"] = "shortOpenInterestUsingShortToken_DESC_NULLS_LAST";
1153
- MarketInfoOrderByInput["shortPoolAmountAdjustment_ASC"] = "shortPoolAmountAdjustment_ASC";
1154
- MarketInfoOrderByInput["shortPoolAmountAdjustment_ASC_NULLS_FIRST"] = "shortPoolAmountAdjustment_ASC_NULLS_FIRST";
1155
- MarketInfoOrderByInput["shortPoolAmountAdjustment_ASC_NULLS_LAST"] = "shortPoolAmountAdjustment_ASC_NULLS_LAST";
1156
- MarketInfoOrderByInput["shortPoolAmountAdjustment_DESC"] = "shortPoolAmountAdjustment_DESC";
1157
- MarketInfoOrderByInput["shortPoolAmountAdjustment_DESC_NULLS_FIRST"] = "shortPoolAmountAdjustment_DESC_NULLS_FIRST";
1158
- MarketInfoOrderByInput["shortPoolAmountAdjustment_DESC_NULLS_LAST"] = "shortPoolAmountAdjustment_DESC_NULLS_LAST";
1159
1192
  MarketInfoOrderByInput["shortPoolAmount_ASC"] = "shortPoolAmount_ASC";
1160
1193
  MarketInfoOrderByInput["shortPoolAmount_ASC_NULLS_FIRST"] = "shortPoolAmount_ASC_NULLS_FIRST";
1161
1194
  MarketInfoOrderByInput["shortPoolAmount_ASC_NULLS_LAST"] = "shortPoolAmount_ASC_NULLS_LAST";
@@ -1228,6 +1261,12 @@ export var MarketInfoOrderByInput;
1228
1261
  MarketInfoOrderByInput["totalBorrowingFees_DESC"] = "totalBorrowingFees_DESC";
1229
1262
  MarketInfoOrderByInput["totalBorrowingFees_DESC_NULLS_FIRST"] = "totalBorrowingFees_DESC_NULLS_FIRST";
1230
1263
  MarketInfoOrderByInput["totalBorrowingFees_DESC_NULLS_LAST"] = "totalBorrowingFees_DESC_NULLS_LAST";
1264
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_ASC"] = "useOpenInterestInTokensForBalance_ASC";
1265
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_ASC_NULLS_FIRST"] = "useOpenInterestInTokensForBalance_ASC_NULLS_FIRST";
1266
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_ASC_NULLS_LAST"] = "useOpenInterestInTokensForBalance_ASC_NULLS_LAST";
1267
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_DESC"] = "useOpenInterestInTokensForBalance_DESC";
1268
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_DESC_NULLS_FIRST"] = "useOpenInterestInTokensForBalance_DESC_NULLS_FIRST";
1269
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_DESC_NULLS_LAST"] = "useOpenInterestInTokensForBalance_DESC_NULLS_LAST";
1231
1270
  MarketInfoOrderByInput["virtualIndexTokenId_ASC"] = "virtualIndexTokenId_ASC";
1232
1271
  MarketInfoOrderByInput["virtualIndexTokenId_ASC_NULLS_FIRST"] = "virtualIndexTokenId_ASC_NULLS_FIRST";
1233
1272
  MarketInfoOrderByInput["virtualIndexTokenId_ASC_NULLS_LAST"] = "virtualIndexTokenId_ASC_NULLS_LAST";
@@ -1305,54 +1344,18 @@ export var MultichainFundingOperation;
1305
1344
  })(MultichainFundingOperation || (MultichainFundingOperation = {}));
1306
1345
  export var MultichainFundingReceiveEventOrderByInput;
1307
1346
  (function (MultichainFundingReceiveEventOrderByInput) {
1308
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_ASC"] = "deliveredTxn_blockNumber_ASC";
1309
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_ASC_NULLS_FIRST"] = "deliveredTxn_blockNumber_ASC_NULLS_FIRST";
1310
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_ASC_NULLS_LAST"] = "deliveredTxn_blockNumber_ASC_NULLS_LAST";
1311
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_DESC"] = "deliveredTxn_blockNumber_DESC";
1312
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_DESC_NULLS_FIRST"] = "deliveredTxn_blockNumber_DESC_NULLS_FIRST";
1313
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_DESC_NULLS_LAST"] = "deliveredTxn_blockNumber_DESC_NULLS_LAST";
1314
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_ASC"] = "deliveredTxn_chainId_ASC";
1315
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_ASC_NULLS_FIRST"] = "deliveredTxn_chainId_ASC_NULLS_FIRST";
1316
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_ASC_NULLS_LAST"] = "deliveredTxn_chainId_ASC_NULLS_LAST";
1317
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_DESC"] = "deliveredTxn_chainId_DESC";
1318
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_DESC_NULLS_FIRST"] = "deliveredTxn_chainId_DESC_NULLS_FIRST";
1319
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_DESC_NULLS_LAST"] = "deliveredTxn_chainId_DESC_NULLS_LAST";
1320
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_ASC"] = "deliveredTxn_from_ASC";
1321
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_ASC_NULLS_FIRST"] = "deliveredTxn_from_ASC_NULLS_FIRST";
1322
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_ASC_NULLS_LAST"] = "deliveredTxn_from_ASC_NULLS_LAST";
1323
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_DESC"] = "deliveredTxn_from_DESC";
1324
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_DESC_NULLS_FIRST"] = "deliveredTxn_from_DESC_NULLS_FIRST";
1325
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_DESC_NULLS_LAST"] = "deliveredTxn_from_DESC_NULLS_LAST";
1326
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_ASC"] = "deliveredTxn_hash_ASC";
1327
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_ASC_NULLS_FIRST"] = "deliveredTxn_hash_ASC_NULLS_FIRST";
1328
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_ASC_NULLS_LAST"] = "deliveredTxn_hash_ASC_NULLS_LAST";
1329
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_DESC"] = "deliveredTxn_hash_DESC";
1330
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_DESC_NULLS_FIRST"] = "deliveredTxn_hash_DESC_NULLS_FIRST";
1331
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_DESC_NULLS_LAST"] = "deliveredTxn_hash_DESC_NULLS_LAST";
1332
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_ASC"] = "deliveredTxn_id_ASC";
1333
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_ASC_NULLS_FIRST"] = "deliveredTxn_id_ASC_NULLS_FIRST";
1334
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_ASC_NULLS_LAST"] = "deliveredTxn_id_ASC_NULLS_LAST";
1335
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_DESC"] = "deliveredTxn_id_DESC";
1336
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_DESC_NULLS_FIRST"] = "deliveredTxn_id_DESC_NULLS_FIRST";
1337
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_DESC_NULLS_LAST"] = "deliveredTxn_id_DESC_NULLS_LAST";
1338
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_ASC"] = "deliveredTxn_timestamp_ASC";
1339
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_ASC_NULLS_FIRST"] = "deliveredTxn_timestamp_ASC_NULLS_FIRST";
1340
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_ASC_NULLS_LAST"] = "deliveredTxn_timestamp_ASC_NULLS_LAST";
1341
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_DESC"] = "deliveredTxn_timestamp_DESC";
1342
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_DESC_NULLS_FIRST"] = "deliveredTxn_timestamp_DESC_NULLS_FIRST";
1343
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_DESC_NULLS_LAST"] = "deliveredTxn_timestamp_DESC_NULLS_LAST";
1344
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_ASC"] = "deliveredTxn_to_ASC";
1345
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_ASC_NULLS_FIRST"] = "deliveredTxn_to_ASC_NULLS_FIRST";
1346
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_ASC_NULLS_LAST"] = "deliveredTxn_to_ASC_NULLS_LAST";
1347
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_DESC"] = "deliveredTxn_to_DESC";
1348
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_DESC_NULLS_FIRST"] = "deliveredTxn_to_DESC_NULLS_FIRST";
1349
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_DESC_NULLS_LAST"] = "deliveredTxn_to_DESC_NULLS_LAST";
1350
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_ASC"] = "deliveredTxn_transactionIndex_ASC";
1351
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_ASC_NULLS_FIRST"] = "deliveredTxn_transactionIndex_ASC_NULLS_FIRST";
1352
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_ASC_NULLS_LAST"] = "deliveredTxn_transactionIndex_ASC_NULLS_LAST";
1353
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_DESC"] = "deliveredTxn_transactionIndex_DESC";
1354
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_DESC_NULLS_FIRST"] = "deliveredTxn_transactionIndex_DESC_NULLS_FIRST";
1355
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_DESC_NULLS_LAST"] = "deliveredTxn_transactionIndex_DESC_NULLS_LAST";
1347
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_ASC"] = "deliveredTimestamp_ASC";
1348
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_ASC_NULLS_FIRST"] = "deliveredTimestamp_ASC_NULLS_FIRST";
1349
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_ASC_NULLS_LAST"] = "deliveredTimestamp_ASC_NULLS_LAST";
1350
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_DESC"] = "deliveredTimestamp_DESC";
1351
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_DESC_NULLS_FIRST"] = "deliveredTimestamp_DESC_NULLS_FIRST";
1352
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_DESC_NULLS_LAST"] = "deliveredTimestamp_DESC_NULLS_LAST";
1353
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_ASC"] = "deliveredTxn_ASC";
1354
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_ASC_NULLS_FIRST"] = "deliveredTxn_ASC_NULLS_FIRST";
1355
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_ASC_NULLS_LAST"] = "deliveredTxn_ASC_NULLS_LAST";
1356
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_DESC"] = "deliveredTxn_DESC";
1357
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_DESC_NULLS_FIRST"] = "deliveredTxn_DESC_NULLS_FIRST";
1358
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_DESC_NULLS_LAST"] = "deliveredTxn_DESC_NULLS_LAST";
1356
1359
  MultichainFundingReceiveEventOrderByInput["id_ASC"] = "id_ASC";
1357
1360
  MultichainFundingReceiveEventOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
1358
1361
  MultichainFundingReceiveEventOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
@@ -1383,54 +1386,18 @@ export var MultichainFundingReceiveEventOrderByInput;
1383
1386
  MultichainFundingReceiveEventOrderByInput["receivedAmount_DESC"] = "receivedAmount_DESC";
1384
1387
  MultichainFundingReceiveEventOrderByInput["receivedAmount_DESC_NULLS_FIRST"] = "receivedAmount_DESC_NULLS_FIRST";
1385
1388
  MultichainFundingReceiveEventOrderByInput["receivedAmount_DESC_NULLS_LAST"] = "receivedAmount_DESC_NULLS_LAST";
1386
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_ASC"] = "receivedTxn_blockNumber_ASC";
1387
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_ASC_NULLS_FIRST"] = "receivedTxn_blockNumber_ASC_NULLS_FIRST";
1388
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_ASC_NULLS_LAST"] = "receivedTxn_blockNumber_ASC_NULLS_LAST";
1389
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_DESC"] = "receivedTxn_blockNumber_DESC";
1390
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_DESC_NULLS_FIRST"] = "receivedTxn_blockNumber_DESC_NULLS_FIRST";
1391
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_DESC_NULLS_LAST"] = "receivedTxn_blockNumber_DESC_NULLS_LAST";
1392
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_ASC"] = "receivedTxn_chainId_ASC";
1393
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_ASC_NULLS_FIRST"] = "receivedTxn_chainId_ASC_NULLS_FIRST";
1394
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_ASC_NULLS_LAST"] = "receivedTxn_chainId_ASC_NULLS_LAST";
1395
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_DESC"] = "receivedTxn_chainId_DESC";
1396
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_DESC_NULLS_FIRST"] = "receivedTxn_chainId_DESC_NULLS_FIRST";
1397
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_DESC_NULLS_LAST"] = "receivedTxn_chainId_DESC_NULLS_LAST";
1398
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_ASC"] = "receivedTxn_from_ASC";
1399
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_ASC_NULLS_FIRST"] = "receivedTxn_from_ASC_NULLS_FIRST";
1400
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_ASC_NULLS_LAST"] = "receivedTxn_from_ASC_NULLS_LAST";
1401
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_DESC"] = "receivedTxn_from_DESC";
1402
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_DESC_NULLS_FIRST"] = "receivedTxn_from_DESC_NULLS_FIRST";
1403
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_DESC_NULLS_LAST"] = "receivedTxn_from_DESC_NULLS_LAST";
1404
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_ASC"] = "receivedTxn_hash_ASC";
1405
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_ASC_NULLS_FIRST"] = "receivedTxn_hash_ASC_NULLS_FIRST";
1406
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_ASC_NULLS_LAST"] = "receivedTxn_hash_ASC_NULLS_LAST";
1407
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_DESC"] = "receivedTxn_hash_DESC";
1408
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_DESC_NULLS_FIRST"] = "receivedTxn_hash_DESC_NULLS_FIRST";
1409
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_DESC_NULLS_LAST"] = "receivedTxn_hash_DESC_NULLS_LAST";
1410
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_ASC"] = "receivedTxn_id_ASC";
1411
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_ASC_NULLS_FIRST"] = "receivedTxn_id_ASC_NULLS_FIRST";
1412
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_ASC_NULLS_LAST"] = "receivedTxn_id_ASC_NULLS_LAST";
1413
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_DESC"] = "receivedTxn_id_DESC";
1414
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_DESC_NULLS_FIRST"] = "receivedTxn_id_DESC_NULLS_FIRST";
1415
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_DESC_NULLS_LAST"] = "receivedTxn_id_DESC_NULLS_LAST";
1416
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_ASC"] = "receivedTxn_timestamp_ASC";
1417
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_ASC_NULLS_FIRST"] = "receivedTxn_timestamp_ASC_NULLS_FIRST";
1418
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_ASC_NULLS_LAST"] = "receivedTxn_timestamp_ASC_NULLS_LAST";
1419
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_DESC"] = "receivedTxn_timestamp_DESC";
1420
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_DESC_NULLS_FIRST"] = "receivedTxn_timestamp_DESC_NULLS_FIRST";
1421
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_DESC_NULLS_LAST"] = "receivedTxn_timestamp_DESC_NULLS_LAST";
1422
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_ASC"] = "receivedTxn_to_ASC";
1423
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_ASC_NULLS_FIRST"] = "receivedTxn_to_ASC_NULLS_FIRST";
1424
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_ASC_NULLS_LAST"] = "receivedTxn_to_ASC_NULLS_LAST";
1425
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_DESC"] = "receivedTxn_to_DESC";
1426
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_DESC_NULLS_FIRST"] = "receivedTxn_to_DESC_NULLS_FIRST";
1427
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_DESC_NULLS_LAST"] = "receivedTxn_to_DESC_NULLS_LAST";
1428
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_ASC"] = "receivedTxn_transactionIndex_ASC";
1429
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_ASC_NULLS_FIRST"] = "receivedTxn_transactionIndex_ASC_NULLS_FIRST";
1430
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_ASC_NULLS_LAST"] = "receivedTxn_transactionIndex_ASC_NULLS_LAST";
1431
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_DESC"] = "receivedTxn_transactionIndex_DESC";
1432
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_DESC_NULLS_FIRST"] = "receivedTxn_transactionIndex_DESC_NULLS_FIRST";
1433
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_DESC_NULLS_LAST"] = "receivedTxn_transactionIndex_DESC_NULLS_LAST";
1389
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_ASC"] = "receivedTimestamp_ASC";
1390
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_ASC_NULLS_FIRST"] = "receivedTimestamp_ASC_NULLS_FIRST";
1391
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_ASC_NULLS_LAST"] = "receivedTimestamp_ASC_NULLS_LAST";
1392
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_DESC"] = "receivedTimestamp_DESC";
1393
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_DESC_NULLS_FIRST"] = "receivedTimestamp_DESC_NULLS_FIRST";
1394
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_DESC_NULLS_LAST"] = "receivedTimestamp_DESC_NULLS_LAST";
1395
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_ASC"] = "receivedTxn_ASC";
1396
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_ASC_NULLS_FIRST"] = "receivedTxn_ASC_NULLS_FIRST";
1397
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_ASC_NULLS_LAST"] = "receivedTxn_ASC_NULLS_LAST";
1398
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_DESC"] = "receivedTxn_DESC";
1399
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_DESC_NULLS_FIRST"] = "receivedTxn_DESC_NULLS_FIRST";
1400
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_DESC_NULLS_LAST"] = "receivedTxn_DESC_NULLS_LAST";
1434
1401
  MultichainFundingReceiveEventOrderByInput["sourceChainId_ASC"] = "sourceChainId_ASC";
1435
1402
  MultichainFundingReceiveEventOrderByInput["sourceChainId_ASC_NULLS_FIRST"] = "sourceChainId_ASC_NULLS_FIRST";
1436
1403
  MultichainFundingReceiveEventOrderByInput["sourceChainId_ASC_NULLS_LAST"] = "sourceChainId_ASC_NULLS_LAST";
@@ -1482,60 +1449,24 @@ export var MultichainFundingSendEventOrderByInput;
1482
1449
  MultichainFundingSendEventOrderByInput["sourceChainId_DESC"] = "sourceChainId_DESC";
1483
1450
  MultichainFundingSendEventOrderByInput["sourceChainId_DESC_NULLS_FIRST"] = "sourceChainId_DESC_NULLS_FIRST";
1484
1451
  MultichainFundingSendEventOrderByInput["sourceChainId_DESC_NULLS_LAST"] = "sourceChainId_DESC_NULLS_LAST";
1452
+ MultichainFundingSendEventOrderByInput["timestamp_ASC"] = "timestamp_ASC";
1453
+ MultichainFundingSendEventOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
1454
+ MultichainFundingSendEventOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
1455
+ MultichainFundingSendEventOrderByInput["timestamp_DESC"] = "timestamp_DESC";
1456
+ MultichainFundingSendEventOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
1457
+ MultichainFundingSendEventOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
1485
1458
  MultichainFundingSendEventOrderByInput["token_ASC"] = "token_ASC";
1486
1459
  MultichainFundingSendEventOrderByInput["token_ASC_NULLS_FIRST"] = "token_ASC_NULLS_FIRST";
1487
1460
  MultichainFundingSendEventOrderByInput["token_ASC_NULLS_LAST"] = "token_ASC_NULLS_LAST";
1488
1461
  MultichainFundingSendEventOrderByInput["token_DESC"] = "token_DESC";
1489
1462
  MultichainFundingSendEventOrderByInput["token_DESC_NULLS_FIRST"] = "token_DESC_NULLS_FIRST";
1490
1463
  MultichainFundingSendEventOrderByInput["token_DESC_NULLS_LAST"] = "token_DESC_NULLS_LAST";
1491
- MultichainFundingSendEventOrderByInput["txn_blockNumber_ASC"] = "txn_blockNumber_ASC";
1492
- MultichainFundingSendEventOrderByInput["txn_blockNumber_ASC_NULLS_FIRST"] = "txn_blockNumber_ASC_NULLS_FIRST";
1493
- MultichainFundingSendEventOrderByInput["txn_blockNumber_ASC_NULLS_LAST"] = "txn_blockNumber_ASC_NULLS_LAST";
1494
- MultichainFundingSendEventOrderByInput["txn_blockNumber_DESC"] = "txn_blockNumber_DESC";
1495
- MultichainFundingSendEventOrderByInput["txn_blockNumber_DESC_NULLS_FIRST"] = "txn_blockNumber_DESC_NULLS_FIRST";
1496
- MultichainFundingSendEventOrderByInput["txn_blockNumber_DESC_NULLS_LAST"] = "txn_blockNumber_DESC_NULLS_LAST";
1497
- MultichainFundingSendEventOrderByInput["txn_chainId_ASC"] = "txn_chainId_ASC";
1498
- MultichainFundingSendEventOrderByInput["txn_chainId_ASC_NULLS_FIRST"] = "txn_chainId_ASC_NULLS_FIRST";
1499
- MultichainFundingSendEventOrderByInput["txn_chainId_ASC_NULLS_LAST"] = "txn_chainId_ASC_NULLS_LAST";
1500
- MultichainFundingSendEventOrderByInput["txn_chainId_DESC"] = "txn_chainId_DESC";
1501
- MultichainFundingSendEventOrderByInput["txn_chainId_DESC_NULLS_FIRST"] = "txn_chainId_DESC_NULLS_FIRST";
1502
- MultichainFundingSendEventOrderByInput["txn_chainId_DESC_NULLS_LAST"] = "txn_chainId_DESC_NULLS_LAST";
1503
- MultichainFundingSendEventOrderByInput["txn_from_ASC"] = "txn_from_ASC";
1504
- MultichainFundingSendEventOrderByInput["txn_from_ASC_NULLS_FIRST"] = "txn_from_ASC_NULLS_FIRST";
1505
- MultichainFundingSendEventOrderByInput["txn_from_ASC_NULLS_LAST"] = "txn_from_ASC_NULLS_LAST";
1506
- MultichainFundingSendEventOrderByInput["txn_from_DESC"] = "txn_from_DESC";
1507
- MultichainFundingSendEventOrderByInput["txn_from_DESC_NULLS_FIRST"] = "txn_from_DESC_NULLS_FIRST";
1508
- MultichainFundingSendEventOrderByInput["txn_from_DESC_NULLS_LAST"] = "txn_from_DESC_NULLS_LAST";
1509
- MultichainFundingSendEventOrderByInput["txn_hash_ASC"] = "txn_hash_ASC";
1510
- MultichainFundingSendEventOrderByInput["txn_hash_ASC_NULLS_FIRST"] = "txn_hash_ASC_NULLS_FIRST";
1511
- MultichainFundingSendEventOrderByInput["txn_hash_ASC_NULLS_LAST"] = "txn_hash_ASC_NULLS_LAST";
1512
- MultichainFundingSendEventOrderByInput["txn_hash_DESC"] = "txn_hash_DESC";
1513
- MultichainFundingSendEventOrderByInput["txn_hash_DESC_NULLS_FIRST"] = "txn_hash_DESC_NULLS_FIRST";
1514
- MultichainFundingSendEventOrderByInput["txn_hash_DESC_NULLS_LAST"] = "txn_hash_DESC_NULLS_LAST";
1515
- MultichainFundingSendEventOrderByInput["txn_id_ASC"] = "txn_id_ASC";
1516
- MultichainFundingSendEventOrderByInput["txn_id_ASC_NULLS_FIRST"] = "txn_id_ASC_NULLS_FIRST";
1517
- MultichainFundingSendEventOrderByInput["txn_id_ASC_NULLS_LAST"] = "txn_id_ASC_NULLS_LAST";
1518
- MultichainFundingSendEventOrderByInput["txn_id_DESC"] = "txn_id_DESC";
1519
- MultichainFundingSendEventOrderByInput["txn_id_DESC_NULLS_FIRST"] = "txn_id_DESC_NULLS_FIRST";
1520
- MultichainFundingSendEventOrderByInput["txn_id_DESC_NULLS_LAST"] = "txn_id_DESC_NULLS_LAST";
1521
- MultichainFundingSendEventOrderByInput["txn_timestamp_ASC"] = "txn_timestamp_ASC";
1522
- MultichainFundingSendEventOrderByInput["txn_timestamp_ASC_NULLS_FIRST"] = "txn_timestamp_ASC_NULLS_FIRST";
1523
- MultichainFundingSendEventOrderByInput["txn_timestamp_ASC_NULLS_LAST"] = "txn_timestamp_ASC_NULLS_LAST";
1524
- MultichainFundingSendEventOrderByInput["txn_timestamp_DESC"] = "txn_timestamp_DESC";
1525
- MultichainFundingSendEventOrderByInput["txn_timestamp_DESC_NULLS_FIRST"] = "txn_timestamp_DESC_NULLS_FIRST";
1526
- MultichainFundingSendEventOrderByInput["txn_timestamp_DESC_NULLS_LAST"] = "txn_timestamp_DESC_NULLS_LAST";
1527
- MultichainFundingSendEventOrderByInput["txn_to_ASC"] = "txn_to_ASC";
1528
- MultichainFundingSendEventOrderByInput["txn_to_ASC_NULLS_FIRST"] = "txn_to_ASC_NULLS_FIRST";
1529
- MultichainFundingSendEventOrderByInput["txn_to_ASC_NULLS_LAST"] = "txn_to_ASC_NULLS_LAST";
1530
- MultichainFundingSendEventOrderByInput["txn_to_DESC"] = "txn_to_DESC";
1531
- MultichainFundingSendEventOrderByInput["txn_to_DESC_NULLS_FIRST"] = "txn_to_DESC_NULLS_FIRST";
1532
- MultichainFundingSendEventOrderByInput["txn_to_DESC_NULLS_LAST"] = "txn_to_DESC_NULLS_LAST";
1533
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_ASC"] = "txn_transactionIndex_ASC";
1534
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_ASC_NULLS_FIRST"] = "txn_transactionIndex_ASC_NULLS_FIRST";
1535
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_ASC_NULLS_LAST"] = "txn_transactionIndex_ASC_NULLS_LAST";
1536
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_DESC"] = "txn_transactionIndex_DESC";
1537
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_DESC_NULLS_FIRST"] = "txn_transactionIndex_DESC_NULLS_FIRST";
1538
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_DESC_NULLS_LAST"] = "txn_transactionIndex_DESC_NULLS_LAST";
1464
+ MultichainFundingSendEventOrderByInput["txn_ASC"] = "txn_ASC";
1465
+ MultichainFundingSendEventOrderByInput["txn_ASC_NULLS_FIRST"] = "txn_ASC_NULLS_FIRST";
1466
+ MultichainFundingSendEventOrderByInput["txn_ASC_NULLS_LAST"] = "txn_ASC_NULLS_LAST";
1467
+ MultichainFundingSendEventOrderByInput["txn_DESC"] = "txn_DESC";
1468
+ MultichainFundingSendEventOrderByInput["txn_DESC_NULLS_FIRST"] = "txn_DESC_NULLS_FIRST";
1469
+ MultichainFundingSendEventOrderByInput["txn_DESC_NULLS_LAST"] = "txn_DESC_NULLS_LAST";
1539
1470
  })(MultichainFundingSendEventOrderByInput || (MultichainFundingSendEventOrderByInput = {}));
1540
1471
  export var MultichainMetadataOrderByInput;
1541
1472
  (function (MultichainMetadataOrderByInput) {
@@ -1636,12 +1567,6 @@ export var OrderOrderByInput;
1636
1567
  OrderOrderByInput["cancelledTxn_blockNumber_DESC"] = "cancelledTxn_blockNumber_DESC";
1637
1568
  OrderOrderByInput["cancelledTxn_blockNumber_DESC_NULLS_FIRST"] = "cancelledTxn_blockNumber_DESC_NULLS_FIRST";
1638
1569
  OrderOrderByInput["cancelledTxn_blockNumber_DESC_NULLS_LAST"] = "cancelledTxn_blockNumber_DESC_NULLS_LAST";
1639
- OrderOrderByInput["cancelledTxn_chainId_ASC"] = "cancelledTxn_chainId_ASC";
1640
- OrderOrderByInput["cancelledTxn_chainId_ASC_NULLS_FIRST"] = "cancelledTxn_chainId_ASC_NULLS_FIRST";
1641
- OrderOrderByInput["cancelledTxn_chainId_ASC_NULLS_LAST"] = "cancelledTxn_chainId_ASC_NULLS_LAST";
1642
- OrderOrderByInput["cancelledTxn_chainId_DESC"] = "cancelledTxn_chainId_DESC";
1643
- OrderOrderByInput["cancelledTxn_chainId_DESC_NULLS_FIRST"] = "cancelledTxn_chainId_DESC_NULLS_FIRST";
1644
- OrderOrderByInput["cancelledTxn_chainId_DESC_NULLS_LAST"] = "cancelledTxn_chainId_DESC_NULLS_LAST";
1645
1570
  OrderOrderByInput["cancelledTxn_from_ASC"] = "cancelledTxn_from_ASC";
1646
1571
  OrderOrderByInput["cancelledTxn_from_ASC_NULLS_FIRST"] = "cancelledTxn_from_ASC_NULLS_FIRST";
1647
1572
  OrderOrderByInput["cancelledTxn_from_ASC_NULLS_LAST"] = "cancelledTxn_from_ASC_NULLS_LAST";
@@ -1684,12 +1609,6 @@ export var OrderOrderByInput;
1684
1609
  OrderOrderByInput["createdTxn_blockNumber_DESC"] = "createdTxn_blockNumber_DESC";
1685
1610
  OrderOrderByInput["createdTxn_blockNumber_DESC_NULLS_FIRST"] = "createdTxn_blockNumber_DESC_NULLS_FIRST";
1686
1611
  OrderOrderByInput["createdTxn_blockNumber_DESC_NULLS_LAST"] = "createdTxn_blockNumber_DESC_NULLS_LAST";
1687
- OrderOrderByInput["createdTxn_chainId_ASC"] = "createdTxn_chainId_ASC";
1688
- OrderOrderByInput["createdTxn_chainId_ASC_NULLS_FIRST"] = "createdTxn_chainId_ASC_NULLS_FIRST";
1689
- OrderOrderByInput["createdTxn_chainId_ASC_NULLS_LAST"] = "createdTxn_chainId_ASC_NULLS_LAST";
1690
- OrderOrderByInput["createdTxn_chainId_DESC"] = "createdTxn_chainId_DESC";
1691
- OrderOrderByInput["createdTxn_chainId_DESC_NULLS_FIRST"] = "createdTxn_chainId_DESC_NULLS_FIRST";
1692
- OrderOrderByInput["createdTxn_chainId_DESC_NULLS_LAST"] = "createdTxn_chainId_DESC_NULLS_LAST";
1693
1612
  OrderOrderByInput["createdTxn_from_ASC"] = "createdTxn_from_ASC";
1694
1613
  OrderOrderByInput["createdTxn_from_ASC_NULLS_FIRST"] = "createdTxn_from_ASC_NULLS_FIRST";
1695
1614
  OrderOrderByInput["createdTxn_from_ASC_NULLS_LAST"] = "createdTxn_from_ASC_NULLS_LAST";
@@ -1726,18 +1645,18 @@ export var OrderOrderByInput;
1726
1645
  OrderOrderByInput["createdTxn_transactionIndex_DESC"] = "createdTxn_transactionIndex_DESC";
1727
1646
  OrderOrderByInput["createdTxn_transactionIndex_DESC_NULLS_FIRST"] = "createdTxn_transactionIndex_DESC_NULLS_FIRST";
1728
1647
  OrderOrderByInput["createdTxn_transactionIndex_DESC_NULLS_LAST"] = "createdTxn_transactionIndex_DESC_NULLS_LAST";
1648
+ OrderOrderByInput["decreasePositionSwapType_ASC"] = "decreasePositionSwapType_ASC";
1649
+ OrderOrderByInput["decreasePositionSwapType_ASC_NULLS_FIRST"] = "decreasePositionSwapType_ASC_NULLS_FIRST";
1650
+ OrderOrderByInput["decreasePositionSwapType_ASC_NULLS_LAST"] = "decreasePositionSwapType_ASC_NULLS_LAST";
1651
+ OrderOrderByInput["decreasePositionSwapType_DESC"] = "decreasePositionSwapType_DESC";
1652
+ OrderOrderByInput["decreasePositionSwapType_DESC_NULLS_FIRST"] = "decreasePositionSwapType_DESC_NULLS_FIRST";
1653
+ OrderOrderByInput["decreasePositionSwapType_DESC_NULLS_LAST"] = "decreasePositionSwapType_DESC_NULLS_LAST";
1729
1654
  OrderOrderByInput["executedTxn_blockNumber_ASC"] = "executedTxn_blockNumber_ASC";
1730
1655
  OrderOrderByInput["executedTxn_blockNumber_ASC_NULLS_FIRST"] = "executedTxn_blockNumber_ASC_NULLS_FIRST";
1731
1656
  OrderOrderByInput["executedTxn_blockNumber_ASC_NULLS_LAST"] = "executedTxn_blockNumber_ASC_NULLS_LAST";
1732
1657
  OrderOrderByInput["executedTxn_blockNumber_DESC"] = "executedTxn_blockNumber_DESC";
1733
1658
  OrderOrderByInput["executedTxn_blockNumber_DESC_NULLS_FIRST"] = "executedTxn_blockNumber_DESC_NULLS_FIRST";
1734
1659
  OrderOrderByInput["executedTxn_blockNumber_DESC_NULLS_LAST"] = "executedTxn_blockNumber_DESC_NULLS_LAST";
1735
- OrderOrderByInput["executedTxn_chainId_ASC"] = "executedTxn_chainId_ASC";
1736
- OrderOrderByInput["executedTxn_chainId_ASC_NULLS_FIRST"] = "executedTxn_chainId_ASC_NULLS_FIRST";
1737
- OrderOrderByInput["executedTxn_chainId_ASC_NULLS_LAST"] = "executedTxn_chainId_ASC_NULLS_LAST";
1738
- OrderOrderByInput["executedTxn_chainId_DESC"] = "executedTxn_chainId_DESC";
1739
- OrderOrderByInput["executedTxn_chainId_DESC_NULLS_FIRST"] = "executedTxn_chainId_DESC_NULLS_FIRST";
1740
- OrderOrderByInput["executedTxn_chainId_DESC_NULLS_LAST"] = "executedTxn_chainId_DESC_NULLS_LAST";
1741
1660
  OrderOrderByInput["executedTxn_from_ASC"] = "executedTxn_from_ASC";
1742
1661
  OrderOrderByInput["executedTxn_from_ASC_NULLS_FIRST"] = "executedTxn_from_ASC_NULLS_FIRST";
1743
1662
  OrderOrderByInput["executedTxn_from_ASC_NULLS_LAST"] = "executedTxn_from_ASC_NULLS_LAST";
@@ -1902,6 +1821,33 @@ export var OrderStatus;
1902
1821
  OrderStatus["Executed"] = "Executed";
1903
1822
  OrderStatus["Frozen"] = "Frozen";
1904
1823
  })(OrderStatus || (OrderStatus = {}));
1824
+ export var PlatformStatsOrderByInput;
1825
+ (function (PlatformStatsOrderByInput) {
1826
+ PlatformStatsOrderByInput["depositedUsers_ASC"] = "depositedUsers_ASC";
1827
+ PlatformStatsOrderByInput["depositedUsers_ASC_NULLS_FIRST"] = "depositedUsers_ASC_NULLS_FIRST";
1828
+ PlatformStatsOrderByInput["depositedUsers_ASC_NULLS_LAST"] = "depositedUsers_ASC_NULLS_LAST";
1829
+ PlatformStatsOrderByInput["depositedUsers_DESC"] = "depositedUsers_DESC";
1830
+ PlatformStatsOrderByInput["depositedUsers_DESC_NULLS_FIRST"] = "depositedUsers_DESC_NULLS_FIRST";
1831
+ PlatformStatsOrderByInput["depositedUsers_DESC_NULLS_LAST"] = "depositedUsers_DESC_NULLS_LAST";
1832
+ PlatformStatsOrderByInput["id_ASC"] = "id_ASC";
1833
+ PlatformStatsOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
1834
+ PlatformStatsOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
1835
+ PlatformStatsOrderByInput["id_DESC"] = "id_DESC";
1836
+ PlatformStatsOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
1837
+ PlatformStatsOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
1838
+ PlatformStatsOrderByInput["tradedUsers_ASC"] = "tradedUsers_ASC";
1839
+ PlatformStatsOrderByInput["tradedUsers_ASC_NULLS_FIRST"] = "tradedUsers_ASC_NULLS_FIRST";
1840
+ PlatformStatsOrderByInput["tradedUsers_ASC_NULLS_LAST"] = "tradedUsers_ASC_NULLS_LAST";
1841
+ PlatformStatsOrderByInput["tradedUsers_DESC"] = "tradedUsers_DESC";
1842
+ PlatformStatsOrderByInput["tradedUsers_DESC_NULLS_FIRST"] = "tradedUsers_DESC_NULLS_FIRST";
1843
+ PlatformStatsOrderByInput["tradedUsers_DESC_NULLS_LAST"] = "tradedUsers_DESC_NULLS_LAST";
1844
+ PlatformStatsOrderByInput["volume_ASC"] = "volume_ASC";
1845
+ PlatformStatsOrderByInput["volume_ASC_NULLS_FIRST"] = "volume_ASC_NULLS_FIRST";
1846
+ PlatformStatsOrderByInput["volume_ASC_NULLS_LAST"] = "volume_ASC_NULLS_LAST";
1847
+ PlatformStatsOrderByInput["volume_DESC"] = "volume_DESC";
1848
+ PlatformStatsOrderByInput["volume_DESC_NULLS_FIRST"] = "volume_DESC_NULLS_FIRST";
1849
+ PlatformStatsOrderByInput["volume_DESC_NULLS_LAST"] = "volume_DESC_NULLS_LAST";
1850
+ })(PlatformStatsOrderByInput || (PlatformStatsOrderByInput = {}));
1905
1851
  export var PnlAprSnapshotOrderByInput;
1906
1852
  (function (PnlAprSnapshotOrderByInput) {
1907
1853
  PnlAprSnapshotOrderByInput["address_ASC"] = "address_ASC";
@@ -2021,6 +1967,18 @@ export var PositionChangeOrderByInput;
2021
1967
  PositionChangeOrderByInput["maxSize_DESC"] = "maxSize_DESC";
2022
1968
  PositionChangeOrderByInput["maxSize_DESC_NULLS_FIRST"] = "maxSize_DESC_NULLS_FIRST";
2023
1969
  PositionChangeOrderByInput["maxSize_DESC_NULLS_LAST"] = "maxSize_DESC_NULLS_LAST";
1970
+ PositionChangeOrderByInput["orderKey_ASC"] = "orderKey_ASC";
1971
+ PositionChangeOrderByInput["orderKey_ASC_NULLS_FIRST"] = "orderKey_ASC_NULLS_FIRST";
1972
+ PositionChangeOrderByInput["orderKey_ASC_NULLS_LAST"] = "orderKey_ASC_NULLS_LAST";
1973
+ PositionChangeOrderByInput["orderKey_DESC"] = "orderKey_DESC";
1974
+ PositionChangeOrderByInput["orderKey_DESC_NULLS_FIRST"] = "orderKey_DESC_NULLS_FIRST";
1975
+ PositionChangeOrderByInput["orderKey_DESC_NULLS_LAST"] = "orderKey_DESC_NULLS_LAST";
1976
+ PositionChangeOrderByInput["positionKey_ASC"] = "positionKey_ASC";
1977
+ PositionChangeOrderByInput["positionKey_ASC_NULLS_FIRST"] = "positionKey_ASC_NULLS_FIRST";
1978
+ PositionChangeOrderByInput["positionKey_ASC_NULLS_LAST"] = "positionKey_ASC_NULLS_LAST";
1979
+ PositionChangeOrderByInput["positionKey_DESC"] = "positionKey_DESC";
1980
+ PositionChangeOrderByInput["positionKey_DESC_NULLS_FIRST"] = "positionKey_DESC_NULLS_FIRST";
1981
+ PositionChangeOrderByInput["positionKey_DESC_NULLS_LAST"] = "positionKey_DESC_NULLS_LAST";
2024
1982
  PositionChangeOrderByInput["priceImpactAmount_ASC"] = "priceImpactAmount_ASC";
2025
1983
  PositionChangeOrderByInput["priceImpactAmount_ASC_NULLS_FIRST"] = "priceImpactAmount_ASC_NULLS_FIRST";
2026
1984
  PositionChangeOrderByInput["priceImpactAmount_ASC_NULLS_LAST"] = "priceImpactAmount_ASC_NULLS_LAST";
@@ -2045,18 +2003,36 @@ export var PositionChangeOrderByInput;
2045
2003
  PositionChangeOrderByInput["proportionalPendingImpactUsd_DESC"] = "proportionalPendingImpactUsd_DESC";
2046
2004
  PositionChangeOrderByInput["proportionalPendingImpactUsd_DESC_NULLS_FIRST"] = "proportionalPendingImpactUsd_DESC_NULLS_FIRST";
2047
2005
  PositionChangeOrderByInput["proportionalPendingImpactUsd_DESC_NULLS_LAST"] = "proportionalPendingImpactUsd_DESC_NULLS_LAST";
2006
+ PositionChangeOrderByInput["sizeDeltaInTokens_ASC"] = "sizeDeltaInTokens_ASC";
2007
+ PositionChangeOrderByInput["sizeDeltaInTokens_ASC_NULLS_FIRST"] = "sizeDeltaInTokens_ASC_NULLS_FIRST";
2008
+ PositionChangeOrderByInput["sizeDeltaInTokens_ASC_NULLS_LAST"] = "sizeDeltaInTokens_ASC_NULLS_LAST";
2009
+ PositionChangeOrderByInput["sizeDeltaInTokens_DESC"] = "sizeDeltaInTokens_DESC";
2010
+ PositionChangeOrderByInput["sizeDeltaInTokens_DESC_NULLS_FIRST"] = "sizeDeltaInTokens_DESC_NULLS_FIRST";
2011
+ PositionChangeOrderByInput["sizeDeltaInTokens_DESC_NULLS_LAST"] = "sizeDeltaInTokens_DESC_NULLS_LAST";
2048
2012
  PositionChangeOrderByInput["sizeDeltaUsd_ASC"] = "sizeDeltaUsd_ASC";
2049
2013
  PositionChangeOrderByInput["sizeDeltaUsd_ASC_NULLS_FIRST"] = "sizeDeltaUsd_ASC_NULLS_FIRST";
2050
2014
  PositionChangeOrderByInput["sizeDeltaUsd_ASC_NULLS_LAST"] = "sizeDeltaUsd_ASC_NULLS_LAST";
2051
2015
  PositionChangeOrderByInput["sizeDeltaUsd_DESC"] = "sizeDeltaUsd_DESC";
2052
2016
  PositionChangeOrderByInput["sizeDeltaUsd_DESC_NULLS_FIRST"] = "sizeDeltaUsd_DESC_NULLS_FIRST";
2053
2017
  PositionChangeOrderByInput["sizeDeltaUsd_DESC_NULLS_LAST"] = "sizeDeltaUsd_DESC_NULLS_LAST";
2018
+ PositionChangeOrderByInput["sizeInTokens_ASC"] = "sizeInTokens_ASC";
2019
+ PositionChangeOrderByInput["sizeInTokens_ASC_NULLS_FIRST"] = "sizeInTokens_ASC_NULLS_FIRST";
2020
+ PositionChangeOrderByInput["sizeInTokens_ASC_NULLS_LAST"] = "sizeInTokens_ASC_NULLS_LAST";
2021
+ PositionChangeOrderByInput["sizeInTokens_DESC"] = "sizeInTokens_DESC";
2022
+ PositionChangeOrderByInput["sizeInTokens_DESC_NULLS_FIRST"] = "sizeInTokens_DESC_NULLS_FIRST";
2023
+ PositionChangeOrderByInput["sizeInTokens_DESC_NULLS_LAST"] = "sizeInTokens_DESC_NULLS_LAST";
2054
2024
  PositionChangeOrderByInput["sizeInUsd_ASC"] = "sizeInUsd_ASC";
2055
2025
  PositionChangeOrderByInput["sizeInUsd_ASC_NULLS_FIRST"] = "sizeInUsd_ASC_NULLS_FIRST";
2056
2026
  PositionChangeOrderByInput["sizeInUsd_ASC_NULLS_LAST"] = "sizeInUsd_ASC_NULLS_LAST";
2057
2027
  PositionChangeOrderByInput["sizeInUsd_DESC"] = "sizeInUsd_DESC";
2058
2028
  PositionChangeOrderByInput["sizeInUsd_DESC_NULLS_FIRST"] = "sizeInUsd_DESC_NULLS_FIRST";
2059
2029
  PositionChangeOrderByInput["sizeInUsd_DESC_NULLS_LAST"] = "sizeInUsd_DESC_NULLS_LAST";
2030
+ PositionChangeOrderByInput["swapImpactUsd_ASC"] = "swapImpactUsd_ASC";
2031
+ PositionChangeOrderByInput["swapImpactUsd_ASC_NULLS_FIRST"] = "swapImpactUsd_ASC_NULLS_FIRST";
2032
+ PositionChangeOrderByInput["swapImpactUsd_ASC_NULLS_LAST"] = "swapImpactUsd_ASC_NULLS_LAST";
2033
+ PositionChangeOrderByInput["swapImpactUsd_DESC"] = "swapImpactUsd_DESC";
2034
+ PositionChangeOrderByInput["swapImpactUsd_DESC_NULLS_FIRST"] = "swapImpactUsd_DESC_NULLS_FIRST";
2035
+ PositionChangeOrderByInput["swapImpactUsd_DESC_NULLS_LAST"] = "swapImpactUsd_DESC_NULLS_LAST";
2060
2036
  PositionChangeOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2061
2037
  PositionChangeOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2062
2038
  PositionChangeOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
@@ -2197,12 +2173,6 @@ export var PositionFeesEntityOrderByInput;
2197
2173
  PositionFeesEntityOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2198
2174
  PositionFeesEntityOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2199
2175
  PositionFeesEntityOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2200
- PositionFeesEntityOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
2201
- PositionFeesEntityOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
2202
- PositionFeesEntityOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
2203
- PositionFeesEntityOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
2204
- PositionFeesEntityOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
2205
- PositionFeesEntityOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
2206
2176
  PositionFeesEntityOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2207
2177
  PositionFeesEntityOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2208
2178
  PositionFeesEntityOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -2271,6 +2241,12 @@ export var PositionOrderByInput;
2271
2241
  PositionOrderByInput["accountStat_cumsumSize_DESC"] = "accountStat_cumsumSize_DESC";
2272
2242
  PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_FIRST"] = "accountStat_cumsumSize_DESC_NULLS_FIRST";
2273
2243
  PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_LAST"] = "accountStat_cumsumSize_DESC_NULLS_LAST";
2244
+ PositionOrderByInput["accountStat_deposits_ASC"] = "accountStat_deposits_ASC";
2245
+ PositionOrderByInput["accountStat_deposits_ASC_NULLS_FIRST"] = "accountStat_deposits_ASC_NULLS_FIRST";
2246
+ PositionOrderByInput["accountStat_deposits_ASC_NULLS_LAST"] = "accountStat_deposits_ASC_NULLS_LAST";
2247
+ PositionOrderByInput["accountStat_deposits_DESC"] = "accountStat_deposits_DESC";
2248
+ PositionOrderByInput["accountStat_deposits_DESC_NULLS_FIRST"] = "accountStat_deposits_DESC_NULLS_FIRST";
2249
+ PositionOrderByInput["accountStat_deposits_DESC_NULLS_LAST"] = "accountStat_deposits_DESC_NULLS_LAST";
2274
2250
  PositionOrderByInput["accountStat_id_ASC"] = "accountStat_id_ASC";
2275
2251
  PositionOrderByInput["accountStat_id_ASC_NULLS_FIRST"] = "accountStat_id_ASC_NULLS_FIRST";
2276
2252
  PositionOrderByInput["accountStat_id_ASC_NULLS_LAST"] = "accountStat_id_ASC_NULLS_LAST";
@@ -2313,6 +2289,12 @@ export var PositionOrderByInput;
2313
2289
  PositionOrderByInput["accountStat_realizedPriceImpact_DESC"] = "accountStat_realizedPriceImpact_DESC";
2314
2290
  PositionOrderByInput["accountStat_realizedPriceImpact_DESC_NULLS_FIRST"] = "accountStat_realizedPriceImpact_DESC_NULLS_FIRST";
2315
2291
  PositionOrderByInput["accountStat_realizedPriceImpact_DESC_NULLS_LAST"] = "accountStat_realizedPriceImpact_DESC_NULLS_LAST";
2292
+ PositionOrderByInput["accountStat_realizedSwapImpact_ASC"] = "accountStat_realizedSwapImpact_ASC";
2293
+ PositionOrderByInput["accountStat_realizedSwapImpact_ASC_NULLS_FIRST"] = "accountStat_realizedSwapImpact_ASC_NULLS_FIRST";
2294
+ PositionOrderByInput["accountStat_realizedSwapImpact_ASC_NULLS_LAST"] = "accountStat_realizedSwapImpact_ASC_NULLS_LAST";
2295
+ PositionOrderByInput["accountStat_realizedSwapImpact_DESC"] = "accountStat_realizedSwapImpact_DESC";
2296
+ PositionOrderByInput["accountStat_realizedSwapImpact_DESC_NULLS_FIRST"] = "accountStat_realizedSwapImpact_DESC_NULLS_FIRST";
2297
+ PositionOrderByInput["accountStat_realizedSwapImpact_DESC_NULLS_LAST"] = "accountStat_realizedSwapImpact_DESC_NULLS_LAST";
2316
2298
  PositionOrderByInput["accountStat_sumMaxSize_ASC"] = "accountStat_sumMaxSize_ASC";
2317
2299
  PositionOrderByInput["accountStat_sumMaxSize_ASC_NULLS_FIRST"] = "accountStat_sumMaxSize_ASC_NULLS_FIRST";
2318
2300
  PositionOrderByInput["accountStat_sumMaxSize_ASC_NULLS_LAST"] = "accountStat_sumMaxSize_ASC_NULLS_LAST";
@@ -2373,6 +2355,12 @@ export var PositionOrderByInput;
2373
2355
  PositionOrderByInput["isSnapshot_DESC"] = "isSnapshot_DESC";
2374
2356
  PositionOrderByInput["isSnapshot_DESC_NULLS_FIRST"] = "isSnapshot_DESC_NULLS_FIRST";
2375
2357
  PositionOrderByInput["isSnapshot_DESC_NULLS_LAST"] = "isSnapshot_DESC_NULLS_LAST";
2358
+ PositionOrderByInput["leverage_ASC"] = "leverage_ASC";
2359
+ PositionOrderByInput["leverage_ASC_NULLS_FIRST"] = "leverage_ASC_NULLS_FIRST";
2360
+ PositionOrderByInput["leverage_ASC_NULLS_LAST"] = "leverage_ASC_NULLS_LAST";
2361
+ PositionOrderByInput["leverage_DESC"] = "leverage_DESC";
2362
+ PositionOrderByInput["leverage_DESC_NULLS_FIRST"] = "leverage_DESC_NULLS_FIRST";
2363
+ PositionOrderByInput["leverage_DESC_NULLS_LAST"] = "leverage_DESC_NULLS_LAST";
2376
2364
  PositionOrderByInput["market_ASC"] = "market_ASC";
2377
2365
  PositionOrderByInput["market_ASC_NULLS_FIRST"] = "market_ASC_NULLS_FIRST";
2378
2366
  PositionOrderByInput["market_ASC_NULLS_LAST"] = "market_ASC_NULLS_LAST";
@@ -2397,6 +2385,12 @@ export var PositionOrderByInput;
2397
2385
  PositionOrderByInput["positionKey_DESC"] = "positionKey_DESC";
2398
2386
  PositionOrderByInput["positionKey_DESC_NULLS_FIRST"] = "positionKey_DESC_NULLS_FIRST";
2399
2387
  PositionOrderByInput["positionKey_DESC_NULLS_LAST"] = "positionKey_DESC_NULLS_LAST";
2388
+ PositionOrderByInput["qualifyingPnl_ASC"] = "qualifyingPnl_ASC";
2389
+ PositionOrderByInput["qualifyingPnl_ASC_NULLS_FIRST"] = "qualifyingPnl_ASC_NULLS_FIRST";
2390
+ PositionOrderByInput["qualifyingPnl_ASC_NULLS_LAST"] = "qualifyingPnl_ASC_NULLS_LAST";
2391
+ PositionOrderByInput["qualifyingPnl_DESC"] = "qualifyingPnl_DESC";
2392
+ PositionOrderByInput["qualifyingPnl_DESC_NULLS_FIRST"] = "qualifyingPnl_DESC_NULLS_FIRST";
2393
+ PositionOrderByInput["qualifyingPnl_DESC_NULLS_LAST"] = "qualifyingPnl_DESC_NULLS_LAST";
2400
2394
  PositionOrderByInput["realizedFees_ASC"] = "realizedFees_ASC";
2401
2395
  PositionOrderByInput["realizedFees_ASC_NULLS_FIRST"] = "realizedFees_ASC_NULLS_FIRST";
2402
2396
  PositionOrderByInput["realizedFees_ASC_NULLS_LAST"] = "realizedFees_ASC_NULLS_LAST";
@@ -2452,6 +2446,45 @@ export var PositionOrderByInput;
2452
2446
  PositionOrderByInput["unrealizedPriceImpact_DESC_NULLS_FIRST"] = "unrealizedPriceImpact_DESC_NULLS_FIRST";
2453
2447
  PositionOrderByInput["unrealizedPriceImpact_DESC_NULLS_LAST"] = "unrealizedPriceImpact_DESC_NULLS_LAST";
2454
2448
  })(PositionOrderByInput || (PositionOrderByInput = {}));
2449
+ export var PositionVolumeInfoOrderByInput;
2450
+ (function (PositionVolumeInfoOrderByInput) {
2451
+ PositionVolumeInfoOrderByInput["collateralToken_ASC"] = "collateralToken_ASC";
2452
+ PositionVolumeInfoOrderByInput["collateralToken_ASC_NULLS_FIRST"] = "collateralToken_ASC_NULLS_FIRST";
2453
+ PositionVolumeInfoOrderByInput["collateralToken_ASC_NULLS_LAST"] = "collateralToken_ASC_NULLS_LAST";
2454
+ PositionVolumeInfoOrderByInput["collateralToken_DESC"] = "collateralToken_DESC";
2455
+ PositionVolumeInfoOrderByInput["collateralToken_DESC_NULLS_FIRST"] = "collateralToken_DESC_NULLS_FIRST";
2456
+ PositionVolumeInfoOrderByInput["collateralToken_DESC_NULLS_LAST"] = "collateralToken_DESC_NULLS_LAST";
2457
+ PositionVolumeInfoOrderByInput["id_ASC"] = "id_ASC";
2458
+ PositionVolumeInfoOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
2459
+ PositionVolumeInfoOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
2460
+ PositionVolumeInfoOrderByInput["id_DESC"] = "id_DESC";
2461
+ PositionVolumeInfoOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
2462
+ PositionVolumeInfoOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
2463
+ PositionVolumeInfoOrderByInput["indexToken_ASC"] = "indexToken_ASC";
2464
+ PositionVolumeInfoOrderByInput["indexToken_ASC_NULLS_FIRST"] = "indexToken_ASC_NULLS_FIRST";
2465
+ PositionVolumeInfoOrderByInput["indexToken_ASC_NULLS_LAST"] = "indexToken_ASC_NULLS_LAST";
2466
+ PositionVolumeInfoOrderByInput["indexToken_DESC"] = "indexToken_DESC";
2467
+ PositionVolumeInfoOrderByInput["indexToken_DESC_NULLS_FIRST"] = "indexToken_DESC_NULLS_FIRST";
2468
+ PositionVolumeInfoOrderByInput["indexToken_DESC_NULLS_LAST"] = "indexToken_DESC_NULLS_LAST";
2469
+ PositionVolumeInfoOrderByInput["period_ASC"] = "period_ASC";
2470
+ PositionVolumeInfoOrderByInput["period_ASC_NULLS_FIRST"] = "period_ASC_NULLS_FIRST";
2471
+ PositionVolumeInfoOrderByInput["period_ASC_NULLS_LAST"] = "period_ASC_NULLS_LAST";
2472
+ PositionVolumeInfoOrderByInput["period_DESC"] = "period_DESC";
2473
+ PositionVolumeInfoOrderByInput["period_DESC_NULLS_FIRST"] = "period_DESC_NULLS_FIRST";
2474
+ PositionVolumeInfoOrderByInput["period_DESC_NULLS_LAST"] = "period_DESC_NULLS_LAST";
2475
+ PositionVolumeInfoOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2476
+ PositionVolumeInfoOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2477
+ PositionVolumeInfoOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
2478
+ PositionVolumeInfoOrderByInput["timestamp_DESC"] = "timestamp_DESC";
2479
+ PositionVolumeInfoOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
2480
+ PositionVolumeInfoOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
2481
+ PositionVolumeInfoOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
2482
+ PositionVolumeInfoOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
2483
+ PositionVolumeInfoOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
2484
+ PositionVolumeInfoOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
2485
+ PositionVolumeInfoOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
2486
+ PositionVolumeInfoOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
2487
+ })(PositionVolumeInfoOrderByInput || (PositionVolumeInfoOrderByInput = {}));
2455
2488
  export var PriceOrderByInput;
2456
2489
  (function (PriceOrderByInput) {
2457
2490
  PriceOrderByInput["id_ASC"] = "id_ASC";
@@ -2537,6 +2570,93 @@ export var ProcessorStatusOrderByInput;
2537
2570
  ProcessorStatusOrderByInput["lastProcessorCallTimestamp_DESC_NULLS_FIRST"] = "lastProcessorCallTimestamp_DESC_NULLS_FIRST";
2538
2571
  ProcessorStatusOrderByInput["lastProcessorCallTimestamp_DESC_NULLS_LAST"] = "lastProcessorCallTimestamp_DESC_NULLS_LAST";
2539
2572
  })(ProcessorStatusOrderByInput || (ProcessorStatusOrderByInput = {}));
2573
+ export var SwapFeesInfoOrderByInput;
2574
+ (function (SwapFeesInfoOrderByInput) {
2575
+ SwapFeesInfoOrderByInput["feeReceiverAmount_ASC"] = "feeReceiverAmount_ASC";
2576
+ SwapFeesInfoOrderByInput["feeReceiverAmount_ASC_NULLS_FIRST"] = "feeReceiverAmount_ASC_NULLS_FIRST";
2577
+ SwapFeesInfoOrderByInput["feeReceiverAmount_ASC_NULLS_LAST"] = "feeReceiverAmount_ASC_NULLS_LAST";
2578
+ SwapFeesInfoOrderByInput["feeReceiverAmount_DESC"] = "feeReceiverAmount_DESC";
2579
+ SwapFeesInfoOrderByInput["feeReceiverAmount_DESC_NULLS_FIRST"] = "feeReceiverAmount_DESC_NULLS_FIRST";
2580
+ SwapFeesInfoOrderByInput["feeReceiverAmount_DESC_NULLS_LAST"] = "feeReceiverAmount_DESC_NULLS_LAST";
2581
+ SwapFeesInfoOrderByInput["feeUsdForPool_ASC"] = "feeUsdForPool_ASC";
2582
+ SwapFeesInfoOrderByInput["feeUsdForPool_ASC_NULLS_FIRST"] = "feeUsdForPool_ASC_NULLS_FIRST";
2583
+ SwapFeesInfoOrderByInput["feeUsdForPool_ASC_NULLS_LAST"] = "feeUsdForPool_ASC_NULLS_LAST";
2584
+ SwapFeesInfoOrderByInput["feeUsdForPool_DESC"] = "feeUsdForPool_DESC";
2585
+ SwapFeesInfoOrderByInput["feeUsdForPool_DESC_NULLS_FIRST"] = "feeUsdForPool_DESC_NULLS_FIRST";
2586
+ SwapFeesInfoOrderByInput["feeUsdForPool_DESC_NULLS_LAST"] = "feeUsdForPool_DESC_NULLS_LAST";
2587
+ SwapFeesInfoOrderByInput["id_ASC"] = "id_ASC";
2588
+ SwapFeesInfoOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
2589
+ SwapFeesInfoOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
2590
+ SwapFeesInfoOrderByInput["id_DESC"] = "id_DESC";
2591
+ SwapFeesInfoOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
2592
+ SwapFeesInfoOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
2593
+ SwapFeesInfoOrderByInput["marketAddress_ASC"] = "marketAddress_ASC";
2594
+ SwapFeesInfoOrderByInput["marketAddress_ASC_NULLS_FIRST"] = "marketAddress_ASC_NULLS_FIRST";
2595
+ SwapFeesInfoOrderByInput["marketAddress_ASC_NULLS_LAST"] = "marketAddress_ASC_NULLS_LAST";
2596
+ SwapFeesInfoOrderByInput["marketAddress_DESC"] = "marketAddress_DESC";
2597
+ SwapFeesInfoOrderByInput["marketAddress_DESC_NULLS_FIRST"] = "marketAddress_DESC_NULLS_FIRST";
2598
+ SwapFeesInfoOrderByInput["marketAddress_DESC_NULLS_LAST"] = "marketAddress_DESC_NULLS_LAST";
2599
+ SwapFeesInfoOrderByInput["swapFeeType_ASC"] = "swapFeeType_ASC";
2600
+ SwapFeesInfoOrderByInput["swapFeeType_ASC_NULLS_FIRST"] = "swapFeeType_ASC_NULLS_FIRST";
2601
+ SwapFeesInfoOrderByInput["swapFeeType_ASC_NULLS_LAST"] = "swapFeeType_ASC_NULLS_LAST";
2602
+ SwapFeesInfoOrderByInput["swapFeeType_DESC"] = "swapFeeType_DESC";
2603
+ SwapFeesInfoOrderByInput["swapFeeType_DESC_NULLS_FIRST"] = "swapFeeType_DESC_NULLS_FIRST";
2604
+ SwapFeesInfoOrderByInput["swapFeeType_DESC_NULLS_LAST"] = "swapFeeType_DESC_NULLS_LAST";
2605
+ SwapFeesInfoOrderByInput["tokenAddress_ASC"] = "tokenAddress_ASC";
2606
+ SwapFeesInfoOrderByInput["tokenAddress_ASC_NULLS_FIRST"] = "tokenAddress_ASC_NULLS_FIRST";
2607
+ SwapFeesInfoOrderByInput["tokenAddress_ASC_NULLS_LAST"] = "tokenAddress_ASC_NULLS_LAST";
2608
+ SwapFeesInfoOrderByInput["tokenAddress_DESC"] = "tokenAddress_DESC";
2609
+ SwapFeesInfoOrderByInput["tokenAddress_DESC_NULLS_FIRST"] = "tokenAddress_DESC_NULLS_FIRST";
2610
+ SwapFeesInfoOrderByInput["tokenAddress_DESC_NULLS_LAST"] = "tokenAddress_DESC_NULLS_LAST";
2611
+ SwapFeesInfoOrderByInput["tokenPrice_ASC"] = "tokenPrice_ASC";
2612
+ SwapFeesInfoOrderByInput["tokenPrice_ASC_NULLS_FIRST"] = "tokenPrice_ASC_NULLS_FIRST";
2613
+ SwapFeesInfoOrderByInput["tokenPrice_ASC_NULLS_LAST"] = "tokenPrice_ASC_NULLS_LAST";
2614
+ SwapFeesInfoOrderByInput["tokenPrice_DESC"] = "tokenPrice_DESC";
2615
+ SwapFeesInfoOrderByInput["tokenPrice_DESC_NULLS_FIRST"] = "tokenPrice_DESC_NULLS_FIRST";
2616
+ SwapFeesInfoOrderByInput["tokenPrice_DESC_NULLS_LAST"] = "tokenPrice_DESC_NULLS_LAST";
2617
+ SwapFeesInfoOrderByInput["transaction_blockNumber_ASC"] = "transaction_blockNumber_ASC";
2618
+ SwapFeesInfoOrderByInput["transaction_blockNumber_ASC_NULLS_FIRST"] = "transaction_blockNumber_ASC_NULLS_FIRST";
2619
+ SwapFeesInfoOrderByInput["transaction_blockNumber_ASC_NULLS_LAST"] = "transaction_blockNumber_ASC_NULLS_LAST";
2620
+ SwapFeesInfoOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2621
+ SwapFeesInfoOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2622
+ SwapFeesInfoOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2623
+ SwapFeesInfoOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2624
+ SwapFeesInfoOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2625
+ SwapFeesInfoOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
2626
+ SwapFeesInfoOrderByInput["transaction_from_DESC"] = "transaction_from_DESC";
2627
+ SwapFeesInfoOrderByInput["transaction_from_DESC_NULLS_FIRST"] = "transaction_from_DESC_NULLS_FIRST";
2628
+ SwapFeesInfoOrderByInput["transaction_from_DESC_NULLS_LAST"] = "transaction_from_DESC_NULLS_LAST";
2629
+ SwapFeesInfoOrderByInput["transaction_hash_ASC"] = "transaction_hash_ASC";
2630
+ SwapFeesInfoOrderByInput["transaction_hash_ASC_NULLS_FIRST"] = "transaction_hash_ASC_NULLS_FIRST";
2631
+ SwapFeesInfoOrderByInput["transaction_hash_ASC_NULLS_LAST"] = "transaction_hash_ASC_NULLS_LAST";
2632
+ SwapFeesInfoOrderByInput["transaction_hash_DESC"] = "transaction_hash_DESC";
2633
+ SwapFeesInfoOrderByInput["transaction_hash_DESC_NULLS_FIRST"] = "transaction_hash_DESC_NULLS_FIRST";
2634
+ SwapFeesInfoOrderByInput["transaction_hash_DESC_NULLS_LAST"] = "transaction_hash_DESC_NULLS_LAST";
2635
+ SwapFeesInfoOrderByInput["transaction_id_ASC"] = "transaction_id_ASC";
2636
+ SwapFeesInfoOrderByInput["transaction_id_ASC_NULLS_FIRST"] = "transaction_id_ASC_NULLS_FIRST";
2637
+ SwapFeesInfoOrderByInput["transaction_id_ASC_NULLS_LAST"] = "transaction_id_ASC_NULLS_LAST";
2638
+ SwapFeesInfoOrderByInput["transaction_id_DESC"] = "transaction_id_DESC";
2639
+ SwapFeesInfoOrderByInput["transaction_id_DESC_NULLS_FIRST"] = "transaction_id_DESC_NULLS_FIRST";
2640
+ SwapFeesInfoOrderByInput["transaction_id_DESC_NULLS_LAST"] = "transaction_id_DESC_NULLS_LAST";
2641
+ SwapFeesInfoOrderByInput["transaction_timestamp_ASC"] = "transaction_timestamp_ASC";
2642
+ SwapFeesInfoOrderByInput["transaction_timestamp_ASC_NULLS_FIRST"] = "transaction_timestamp_ASC_NULLS_FIRST";
2643
+ SwapFeesInfoOrderByInput["transaction_timestamp_ASC_NULLS_LAST"] = "transaction_timestamp_ASC_NULLS_LAST";
2644
+ SwapFeesInfoOrderByInput["transaction_timestamp_DESC"] = "transaction_timestamp_DESC";
2645
+ SwapFeesInfoOrderByInput["transaction_timestamp_DESC_NULLS_FIRST"] = "transaction_timestamp_DESC_NULLS_FIRST";
2646
+ SwapFeesInfoOrderByInput["transaction_timestamp_DESC_NULLS_LAST"] = "transaction_timestamp_DESC_NULLS_LAST";
2647
+ SwapFeesInfoOrderByInput["transaction_to_ASC"] = "transaction_to_ASC";
2648
+ SwapFeesInfoOrderByInput["transaction_to_ASC_NULLS_FIRST"] = "transaction_to_ASC_NULLS_FIRST";
2649
+ SwapFeesInfoOrderByInput["transaction_to_ASC_NULLS_LAST"] = "transaction_to_ASC_NULLS_LAST";
2650
+ SwapFeesInfoOrderByInput["transaction_to_DESC"] = "transaction_to_DESC";
2651
+ SwapFeesInfoOrderByInput["transaction_to_DESC_NULLS_FIRST"] = "transaction_to_DESC_NULLS_FIRST";
2652
+ SwapFeesInfoOrderByInput["transaction_to_DESC_NULLS_LAST"] = "transaction_to_DESC_NULLS_LAST";
2653
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_ASC"] = "transaction_transactionIndex_ASC";
2654
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_ASC_NULLS_FIRST"] = "transaction_transactionIndex_ASC_NULLS_FIRST";
2655
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_ASC_NULLS_LAST"] = "transaction_transactionIndex_ASC_NULLS_LAST";
2656
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_DESC"] = "transaction_transactionIndex_DESC";
2657
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_DESC_NULLS_FIRST"] = "transaction_transactionIndex_DESC_NULLS_FIRST";
2658
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_DESC_NULLS_LAST"] = "transaction_transactionIndex_DESC_NULLS_LAST";
2659
+ })(SwapFeesInfoOrderByInput || (SwapFeesInfoOrderByInput = {}));
2540
2660
  export var SwapInfoOrderByInput;
2541
2661
  (function (SwapInfoOrderByInput) {
2542
2662
  SwapInfoOrderByInput["amountInAfterFees_ASC"] = "amountInAfterFees_ASC";
@@ -2617,12 +2737,6 @@ export var SwapInfoOrderByInput;
2617
2737
  SwapInfoOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2618
2738
  SwapInfoOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2619
2739
  SwapInfoOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2620
- SwapInfoOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
2621
- SwapInfoOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
2622
- SwapInfoOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
2623
- SwapInfoOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
2624
- SwapInfoOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
2625
- SwapInfoOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
2626
2740
  SwapInfoOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2627
2741
  SwapInfoOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2628
2742
  SwapInfoOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -2660,6 +2774,45 @@ export var SwapInfoOrderByInput;
2660
2774
  SwapInfoOrderByInput["transaction_transactionIndex_DESC_NULLS_FIRST"] = "transaction_transactionIndex_DESC_NULLS_FIRST";
2661
2775
  SwapInfoOrderByInput["transaction_transactionIndex_DESC_NULLS_LAST"] = "transaction_transactionIndex_DESC_NULLS_LAST";
2662
2776
  })(SwapInfoOrderByInput || (SwapInfoOrderByInput = {}));
2777
+ export var SwapVolumeInfoOrderByInput;
2778
+ (function (SwapVolumeInfoOrderByInput) {
2779
+ SwapVolumeInfoOrderByInput["id_ASC"] = "id_ASC";
2780
+ SwapVolumeInfoOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
2781
+ SwapVolumeInfoOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
2782
+ SwapVolumeInfoOrderByInput["id_DESC"] = "id_DESC";
2783
+ SwapVolumeInfoOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
2784
+ SwapVolumeInfoOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
2785
+ SwapVolumeInfoOrderByInput["period_ASC"] = "period_ASC";
2786
+ SwapVolumeInfoOrderByInput["period_ASC_NULLS_FIRST"] = "period_ASC_NULLS_FIRST";
2787
+ SwapVolumeInfoOrderByInput["period_ASC_NULLS_LAST"] = "period_ASC_NULLS_LAST";
2788
+ SwapVolumeInfoOrderByInput["period_DESC"] = "period_DESC";
2789
+ SwapVolumeInfoOrderByInput["period_DESC_NULLS_FIRST"] = "period_DESC_NULLS_FIRST";
2790
+ SwapVolumeInfoOrderByInput["period_DESC_NULLS_LAST"] = "period_DESC_NULLS_LAST";
2791
+ SwapVolumeInfoOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2792
+ SwapVolumeInfoOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2793
+ SwapVolumeInfoOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
2794
+ SwapVolumeInfoOrderByInput["timestamp_DESC"] = "timestamp_DESC";
2795
+ SwapVolumeInfoOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
2796
+ SwapVolumeInfoOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
2797
+ SwapVolumeInfoOrderByInput["tokenIn_ASC"] = "tokenIn_ASC";
2798
+ SwapVolumeInfoOrderByInput["tokenIn_ASC_NULLS_FIRST"] = "tokenIn_ASC_NULLS_FIRST";
2799
+ SwapVolumeInfoOrderByInput["tokenIn_ASC_NULLS_LAST"] = "tokenIn_ASC_NULLS_LAST";
2800
+ SwapVolumeInfoOrderByInput["tokenIn_DESC"] = "tokenIn_DESC";
2801
+ SwapVolumeInfoOrderByInput["tokenIn_DESC_NULLS_FIRST"] = "tokenIn_DESC_NULLS_FIRST";
2802
+ SwapVolumeInfoOrderByInput["tokenIn_DESC_NULLS_LAST"] = "tokenIn_DESC_NULLS_LAST";
2803
+ SwapVolumeInfoOrderByInput["tokenOut_ASC"] = "tokenOut_ASC";
2804
+ SwapVolumeInfoOrderByInput["tokenOut_ASC_NULLS_FIRST"] = "tokenOut_ASC_NULLS_FIRST";
2805
+ SwapVolumeInfoOrderByInput["tokenOut_ASC_NULLS_LAST"] = "tokenOut_ASC_NULLS_LAST";
2806
+ SwapVolumeInfoOrderByInput["tokenOut_DESC"] = "tokenOut_DESC";
2807
+ SwapVolumeInfoOrderByInput["tokenOut_DESC_NULLS_FIRST"] = "tokenOut_DESC_NULLS_FIRST";
2808
+ SwapVolumeInfoOrderByInput["tokenOut_DESC_NULLS_LAST"] = "tokenOut_DESC_NULLS_LAST";
2809
+ SwapVolumeInfoOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
2810
+ SwapVolumeInfoOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
2811
+ SwapVolumeInfoOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
2812
+ SwapVolumeInfoOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
2813
+ SwapVolumeInfoOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
2814
+ SwapVolumeInfoOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
2815
+ })(SwapVolumeInfoOrderByInput || (SwapVolumeInfoOrderByInput = {}));
2663
2816
  export var TradeActionOrderByInput;
2664
2817
  (function (TradeActionOrderByInput) {
2665
2818
  TradeActionOrderByInput["acceptablePrice_ASC"] = "acceptablePrice_ASC";
@@ -2698,12 +2851,24 @@ export var TradeActionOrderByInput;
2698
2851
  TradeActionOrderByInput["collateralTokenPriceMin_DESC"] = "collateralTokenPriceMin_DESC";
2699
2852
  TradeActionOrderByInput["collateralTokenPriceMin_DESC_NULLS_FIRST"] = "collateralTokenPriceMin_DESC_NULLS_FIRST";
2700
2853
  TradeActionOrderByInput["collateralTokenPriceMin_DESC_NULLS_LAST"] = "collateralTokenPriceMin_DESC_NULLS_LAST";
2854
+ TradeActionOrderByInput["collateralTotalCostAmount_ASC"] = "collateralTotalCostAmount_ASC";
2855
+ TradeActionOrderByInput["collateralTotalCostAmount_ASC_NULLS_FIRST"] = "collateralTotalCostAmount_ASC_NULLS_FIRST";
2856
+ TradeActionOrderByInput["collateralTotalCostAmount_ASC_NULLS_LAST"] = "collateralTotalCostAmount_ASC_NULLS_LAST";
2857
+ TradeActionOrderByInput["collateralTotalCostAmount_DESC"] = "collateralTotalCostAmount_DESC";
2858
+ TradeActionOrderByInput["collateralTotalCostAmount_DESC_NULLS_FIRST"] = "collateralTotalCostAmount_DESC_NULLS_FIRST";
2859
+ TradeActionOrderByInput["collateralTotalCostAmount_DESC_NULLS_LAST"] = "collateralTotalCostAmount_DESC_NULLS_LAST";
2701
2860
  TradeActionOrderByInput["contractTriggerPrice_ASC"] = "contractTriggerPrice_ASC";
2702
2861
  TradeActionOrderByInput["contractTriggerPrice_ASC_NULLS_FIRST"] = "contractTriggerPrice_ASC_NULLS_FIRST";
2703
2862
  TradeActionOrderByInput["contractTriggerPrice_ASC_NULLS_LAST"] = "contractTriggerPrice_ASC_NULLS_LAST";
2704
2863
  TradeActionOrderByInput["contractTriggerPrice_DESC"] = "contractTriggerPrice_DESC";
2705
2864
  TradeActionOrderByInput["contractTriggerPrice_DESC_NULLS_FIRST"] = "contractTriggerPrice_DESC_NULLS_FIRST";
2706
2865
  TradeActionOrderByInput["contractTriggerPrice_DESC_NULLS_LAST"] = "contractTriggerPrice_DESC_NULLS_LAST";
2866
+ TradeActionOrderByInput["decreasePositionSwapType_ASC"] = "decreasePositionSwapType_ASC";
2867
+ TradeActionOrderByInput["decreasePositionSwapType_ASC_NULLS_FIRST"] = "decreasePositionSwapType_ASC_NULLS_FIRST";
2868
+ TradeActionOrderByInput["decreasePositionSwapType_ASC_NULLS_LAST"] = "decreasePositionSwapType_ASC_NULLS_LAST";
2869
+ TradeActionOrderByInput["decreasePositionSwapType_DESC"] = "decreasePositionSwapType_DESC";
2870
+ TradeActionOrderByInput["decreasePositionSwapType_DESC_NULLS_FIRST"] = "decreasePositionSwapType_DESC_NULLS_FIRST";
2871
+ TradeActionOrderByInput["decreasePositionSwapType_DESC_NULLS_LAST"] = "decreasePositionSwapType_DESC_NULLS_LAST";
2707
2872
  TradeActionOrderByInput["eventName_ASC"] = "eventName_ASC";
2708
2873
  TradeActionOrderByInput["eventName_ASC_NULLS_FIRST"] = "eventName_ASC_NULLS_FIRST";
2709
2874
  TradeActionOrderByInput["eventName_ASC_NULLS_LAST"] = "eventName_ASC_NULLS_LAST";
@@ -2854,6 +3019,12 @@ export var TradeActionOrderByInput;
2854
3019
  TradeActionOrderByInput["shouldUnwrapNativeToken_DESC"] = "shouldUnwrapNativeToken_DESC";
2855
3020
  TradeActionOrderByInput["shouldUnwrapNativeToken_DESC_NULLS_FIRST"] = "shouldUnwrapNativeToken_DESC_NULLS_FIRST";
2856
3021
  TradeActionOrderByInput["shouldUnwrapNativeToken_DESC_NULLS_LAST"] = "shouldUnwrapNativeToken_DESC_NULLS_LAST";
3022
+ TradeActionOrderByInput["sizeDeltaInTokens_ASC"] = "sizeDeltaInTokens_ASC";
3023
+ TradeActionOrderByInput["sizeDeltaInTokens_ASC_NULLS_FIRST"] = "sizeDeltaInTokens_ASC_NULLS_FIRST";
3024
+ TradeActionOrderByInput["sizeDeltaInTokens_ASC_NULLS_LAST"] = "sizeDeltaInTokens_ASC_NULLS_LAST";
3025
+ TradeActionOrderByInput["sizeDeltaInTokens_DESC"] = "sizeDeltaInTokens_DESC";
3026
+ TradeActionOrderByInput["sizeDeltaInTokens_DESC_NULLS_FIRST"] = "sizeDeltaInTokens_DESC_NULLS_FIRST";
3027
+ TradeActionOrderByInput["sizeDeltaInTokens_DESC_NULLS_LAST"] = "sizeDeltaInTokens_DESC_NULLS_LAST";
2857
3028
  TradeActionOrderByInput["sizeDeltaUsd_ASC"] = "sizeDeltaUsd_ASC";
2858
3029
  TradeActionOrderByInput["sizeDeltaUsd_ASC_NULLS_FIRST"] = "sizeDeltaUsd_ASC_NULLS_FIRST";
2859
3030
  TradeActionOrderByInput["sizeDeltaUsd_ASC_NULLS_LAST"] = "sizeDeltaUsd_ASC_NULLS_LAST";
@@ -2866,6 +3037,12 @@ export var TradeActionOrderByInput;
2866
3037
  TradeActionOrderByInput["srcChainId_DESC"] = "srcChainId_DESC";
2867
3038
  TradeActionOrderByInput["srcChainId_DESC_NULLS_FIRST"] = "srcChainId_DESC_NULLS_FIRST";
2868
3039
  TradeActionOrderByInput["srcChainId_DESC_NULLS_LAST"] = "srcChainId_DESC_NULLS_LAST";
3040
+ TradeActionOrderByInput["swapImpactUsd_ASC"] = "swapImpactUsd_ASC";
3041
+ TradeActionOrderByInput["swapImpactUsd_ASC_NULLS_FIRST"] = "swapImpactUsd_ASC_NULLS_FIRST";
3042
+ TradeActionOrderByInput["swapImpactUsd_ASC_NULLS_LAST"] = "swapImpactUsd_ASC_NULLS_LAST";
3043
+ TradeActionOrderByInput["swapImpactUsd_DESC"] = "swapImpactUsd_DESC";
3044
+ TradeActionOrderByInput["swapImpactUsd_DESC_NULLS_FIRST"] = "swapImpactUsd_DESC_NULLS_FIRST";
3045
+ TradeActionOrderByInput["swapImpactUsd_DESC_NULLS_LAST"] = "swapImpactUsd_DESC_NULLS_LAST";
2869
3046
  TradeActionOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2870
3047
  TradeActionOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2871
3048
  TradeActionOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
@@ -2884,12 +3061,6 @@ export var TradeActionOrderByInput;
2884
3061
  TradeActionOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2885
3062
  TradeActionOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2886
3063
  TradeActionOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2887
- TradeActionOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
2888
- TradeActionOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
2889
- TradeActionOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
2890
- TradeActionOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
2891
- TradeActionOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
2892
- TradeActionOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
2893
3064
  TradeActionOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2894
3065
  TradeActionOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2895
3066
  TradeActionOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -2953,12 +3124,6 @@ export var TransactionOrderByInput;
2953
3124
  TransactionOrderByInput["blockNumber_DESC"] = "blockNumber_DESC";
2954
3125
  TransactionOrderByInput["blockNumber_DESC_NULLS_FIRST"] = "blockNumber_DESC_NULLS_FIRST";
2955
3126
  TransactionOrderByInput["blockNumber_DESC_NULLS_LAST"] = "blockNumber_DESC_NULLS_LAST";
2956
- TransactionOrderByInput["chainId_ASC"] = "chainId_ASC";
2957
- TransactionOrderByInput["chainId_ASC_NULLS_FIRST"] = "chainId_ASC_NULLS_FIRST";
2958
- TransactionOrderByInput["chainId_ASC_NULLS_LAST"] = "chainId_ASC_NULLS_LAST";
2959
- TransactionOrderByInput["chainId_DESC"] = "chainId_DESC";
2960
- TransactionOrderByInput["chainId_DESC_NULLS_FIRST"] = "chainId_DESC_NULLS_FIRST";
2961
- TransactionOrderByInput["chainId_DESC_NULLS_LAST"] = "chainId_DESC_NULLS_LAST";
2962
3127
  TransactionOrderByInput["from_ASC"] = "from_ASC";
2963
3128
  TransactionOrderByInput["from_ASC_NULLS_FIRST"] = "from_ASC_NULLS_FIRST";
2964
3129
  TransactionOrderByInput["from_ASC_NULLS_LAST"] = "from_ASC_NULLS_LAST";
@@ -2996,3 +3161,54 @@ export var TransactionOrderByInput;
2996
3161
  TransactionOrderByInput["transactionIndex_DESC_NULLS_FIRST"] = "transactionIndex_DESC_NULLS_FIRST";
2997
3162
  TransactionOrderByInput["transactionIndex_DESC_NULLS_LAST"] = "transactionIndex_DESC_NULLS_LAST";
2998
3163
  })(TransactionOrderByInput || (TransactionOrderByInput = {}));
3164
+ export var VolumeInfoOrderByInput;
3165
+ (function (VolumeInfoOrderByInput) {
3166
+ VolumeInfoOrderByInput["depositVolumeUsd_ASC"] = "depositVolumeUsd_ASC";
3167
+ VolumeInfoOrderByInput["depositVolumeUsd_ASC_NULLS_FIRST"] = "depositVolumeUsd_ASC_NULLS_FIRST";
3168
+ VolumeInfoOrderByInput["depositVolumeUsd_ASC_NULLS_LAST"] = "depositVolumeUsd_ASC_NULLS_LAST";
3169
+ VolumeInfoOrderByInput["depositVolumeUsd_DESC"] = "depositVolumeUsd_DESC";
3170
+ VolumeInfoOrderByInput["depositVolumeUsd_DESC_NULLS_FIRST"] = "depositVolumeUsd_DESC_NULLS_FIRST";
3171
+ VolumeInfoOrderByInput["depositVolumeUsd_DESC_NULLS_LAST"] = "depositVolumeUsd_DESC_NULLS_LAST";
3172
+ VolumeInfoOrderByInput["id_ASC"] = "id_ASC";
3173
+ VolumeInfoOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
3174
+ VolumeInfoOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
3175
+ VolumeInfoOrderByInput["id_DESC"] = "id_DESC";
3176
+ VolumeInfoOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
3177
+ VolumeInfoOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
3178
+ VolumeInfoOrderByInput["marginVolumeUsd_ASC"] = "marginVolumeUsd_ASC";
3179
+ VolumeInfoOrderByInput["marginVolumeUsd_ASC_NULLS_FIRST"] = "marginVolumeUsd_ASC_NULLS_FIRST";
3180
+ VolumeInfoOrderByInput["marginVolumeUsd_ASC_NULLS_LAST"] = "marginVolumeUsd_ASC_NULLS_LAST";
3181
+ VolumeInfoOrderByInput["marginVolumeUsd_DESC"] = "marginVolumeUsd_DESC";
3182
+ VolumeInfoOrderByInput["marginVolumeUsd_DESC_NULLS_FIRST"] = "marginVolumeUsd_DESC_NULLS_FIRST";
3183
+ VolumeInfoOrderByInput["marginVolumeUsd_DESC_NULLS_LAST"] = "marginVolumeUsd_DESC_NULLS_LAST";
3184
+ VolumeInfoOrderByInput["period_ASC"] = "period_ASC";
3185
+ VolumeInfoOrderByInput["period_ASC_NULLS_FIRST"] = "period_ASC_NULLS_FIRST";
3186
+ VolumeInfoOrderByInput["period_ASC_NULLS_LAST"] = "period_ASC_NULLS_LAST";
3187
+ VolumeInfoOrderByInput["period_DESC"] = "period_DESC";
3188
+ VolumeInfoOrderByInput["period_DESC_NULLS_FIRST"] = "period_DESC_NULLS_FIRST";
3189
+ VolumeInfoOrderByInput["period_DESC_NULLS_LAST"] = "period_DESC_NULLS_LAST";
3190
+ VolumeInfoOrderByInput["swapVolumeUsd_ASC"] = "swapVolumeUsd_ASC";
3191
+ VolumeInfoOrderByInput["swapVolumeUsd_ASC_NULLS_FIRST"] = "swapVolumeUsd_ASC_NULLS_FIRST";
3192
+ VolumeInfoOrderByInput["swapVolumeUsd_ASC_NULLS_LAST"] = "swapVolumeUsd_ASC_NULLS_LAST";
3193
+ VolumeInfoOrderByInput["swapVolumeUsd_DESC"] = "swapVolumeUsd_DESC";
3194
+ VolumeInfoOrderByInput["swapVolumeUsd_DESC_NULLS_FIRST"] = "swapVolumeUsd_DESC_NULLS_FIRST";
3195
+ VolumeInfoOrderByInput["swapVolumeUsd_DESC_NULLS_LAST"] = "swapVolumeUsd_DESC_NULLS_LAST";
3196
+ VolumeInfoOrderByInput["timestamp_ASC"] = "timestamp_ASC";
3197
+ VolumeInfoOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
3198
+ VolumeInfoOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
3199
+ VolumeInfoOrderByInput["timestamp_DESC"] = "timestamp_DESC";
3200
+ VolumeInfoOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
3201
+ VolumeInfoOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
3202
+ VolumeInfoOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
3203
+ VolumeInfoOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
3204
+ VolumeInfoOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
3205
+ VolumeInfoOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
3206
+ VolumeInfoOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
3207
+ VolumeInfoOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
3208
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_ASC"] = "withdrawalVolumeUsd_ASC";
3209
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_ASC_NULLS_FIRST"] = "withdrawalVolumeUsd_ASC_NULLS_FIRST";
3210
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_ASC_NULLS_LAST"] = "withdrawalVolumeUsd_ASC_NULLS_LAST";
3211
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_DESC"] = "withdrawalVolumeUsd_DESC";
3212
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_DESC_NULLS_FIRST"] = "withdrawalVolumeUsd_DESC_NULLS_FIRST";
3213
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_DESC_NULLS_LAST"] = "withdrawalVolumeUsd_DESC_NULLS_LAST";
3214
+ })(VolumeInfoOrderByInput || (VolumeInfoOrderByInput = {}));