@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
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionOrderByInput = exports.TradeActionOrderByInput = exports.SwapInfoOrderByInput = exports.ProcessorStatusOrderByInput = exports.PriceType = exports.PriceOrderByInput = exports.PositionOrderByInput = exports.PositionFeesEntityType = exports.PositionFeesEntityOrderByInput = exports.PositionChangeType = exports.PositionChangeOrderByInput = exports.PnlAprSnapshotOrderByInput = exports.OrderStatus = exports.OrderOrderByInput = exports.OnChainSettingType = exports.OnChainSettingOrderByInput = exports.MultichainMetadataOrderByInput = exports.MultichainFundingSendEventOrderByInput = exports.MultichainFundingReceiveEventOrderByInput = exports.MultichainFundingOperation = exports.MarketOrderByInput = exports.MarketInfoOrderByInput = exports.GlvOrderByInput = exports.EntityType = exports.DistributionOrderByInput = exports.CumulativePoolValueOrderByInput = exports.CumulativePnlOrderByInput = exports.CollectedFeesInfoOrderByInput = exports.ClaimableFundingFeeInfoOrderByInput = exports.ClaimableCollateralOrderByInput = exports.ClaimableCollateralGroupOrderByInput = exports.ClaimRefOrderByInput = exports.ClaimActionType = exports.ClaimActionOrderByInput = exports.BorrowingRateSnapshotOrderByInput = exports.AprSnapshotOrderByInput = exports.AccountStatOrderByInput = void 0;
3
+ exports.VolumeInfoOrderByInput = exports.TransactionOrderByInput = exports.TradeActionOrderByInput = exports.SwapVolumeInfoOrderByInput = exports.SwapInfoOrderByInput = exports.SwapFeesInfoOrderByInput = exports.ProcessorStatusOrderByInput = exports.PriceType = exports.PriceOrderByInput = exports.PositionVolumeInfoOrderByInput = exports.PositionOrderByInput = exports.PositionFeesEntityType = exports.PositionFeesEntityOrderByInput = exports.PositionChangeType = exports.PositionChangeOrderByInput = exports.PnlAprSnapshotOrderByInput = exports.PlatformStatsOrderByInput = exports.OrderStatus = exports.OrderOrderByInput = exports.OnChainSettingType = exports.OnChainSettingOrderByInput = exports.MultichainMetadataOrderByInput = exports.MultichainFundingSendEventOrderByInput = exports.MultichainFundingReceiveEventOrderByInput = exports.MultichainFundingOperation = exports.MarketOrderByInput = exports.MarketInfoOrderByInput = exports.GlvOrderByInput = exports.EntityType = exports.DistributionOrderByInput = exports.CumulativePoolValueOrderByInput = exports.CumulativePnlOrderByInput = exports.CollectedFeesInfoOrderByInput = exports.ClaimableFundingFeeInfoOrderByInput = exports.ClaimableCollateralOrderByInput = exports.ClaimableCollateralGroupOrderByInput = exports.ClaimableAmountOrderByInput = exports.ClaimRefOrderByInput = exports.ClaimActionType = exports.ClaimActionOrderByInput = exports.BorrowingRateSnapshotOrderByInput = exports.AprSnapshotOrderByInput = exports.AccountStatOrderByInput = void 0;
4
4
  var AccountStatOrderByInput;
5
5
  (function (AccountStatOrderByInput) {
6
6
  AccountStatOrderByInput["closedCount_ASC"] = "closedCount_ASC";
@@ -21,6 +21,12 @@ var AccountStatOrderByInput;
21
21
  AccountStatOrderByInput["cumsumSize_DESC"] = "cumsumSize_DESC";
22
22
  AccountStatOrderByInput["cumsumSize_DESC_NULLS_FIRST"] = "cumsumSize_DESC_NULLS_FIRST";
23
23
  AccountStatOrderByInput["cumsumSize_DESC_NULLS_LAST"] = "cumsumSize_DESC_NULLS_LAST";
24
+ AccountStatOrderByInput["deposits_ASC"] = "deposits_ASC";
25
+ AccountStatOrderByInput["deposits_ASC_NULLS_FIRST"] = "deposits_ASC_NULLS_FIRST";
26
+ AccountStatOrderByInput["deposits_ASC_NULLS_LAST"] = "deposits_ASC_NULLS_LAST";
27
+ AccountStatOrderByInput["deposits_DESC"] = "deposits_DESC";
28
+ AccountStatOrderByInput["deposits_DESC_NULLS_FIRST"] = "deposits_DESC_NULLS_FIRST";
29
+ AccountStatOrderByInput["deposits_DESC_NULLS_LAST"] = "deposits_DESC_NULLS_LAST";
24
30
  AccountStatOrderByInput["id_ASC"] = "id_ASC";
25
31
  AccountStatOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
26
32
  AccountStatOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
@@ -63,6 +69,12 @@ var AccountStatOrderByInput;
63
69
  AccountStatOrderByInput["realizedPriceImpact_DESC"] = "realizedPriceImpact_DESC";
64
70
  AccountStatOrderByInput["realizedPriceImpact_DESC_NULLS_FIRST"] = "realizedPriceImpact_DESC_NULLS_FIRST";
65
71
  AccountStatOrderByInput["realizedPriceImpact_DESC_NULLS_LAST"] = "realizedPriceImpact_DESC_NULLS_LAST";
72
+ AccountStatOrderByInput["realizedSwapImpact_ASC"] = "realizedSwapImpact_ASC";
73
+ AccountStatOrderByInput["realizedSwapImpact_ASC_NULLS_FIRST"] = "realizedSwapImpact_ASC_NULLS_FIRST";
74
+ AccountStatOrderByInput["realizedSwapImpact_ASC_NULLS_LAST"] = "realizedSwapImpact_ASC_NULLS_LAST";
75
+ AccountStatOrderByInput["realizedSwapImpact_DESC"] = "realizedSwapImpact_DESC";
76
+ AccountStatOrderByInput["realizedSwapImpact_DESC_NULLS_FIRST"] = "realizedSwapImpact_DESC_NULLS_FIRST";
77
+ AccountStatOrderByInput["realizedSwapImpact_DESC_NULLS_LAST"] = "realizedSwapImpact_DESC_NULLS_LAST";
66
78
  AccountStatOrderByInput["sumMaxSize_ASC"] = "sumMaxSize_ASC";
67
79
  AccountStatOrderByInput["sumMaxSize_ASC_NULLS_FIRST"] = "sumMaxSize_ASC_NULLS_FIRST";
68
80
  AccountStatOrderByInput["sumMaxSize_ASC_NULLS_LAST"] = "sumMaxSize_ASC_NULLS_LAST";
@@ -198,12 +210,6 @@ var ClaimActionOrderByInput;
198
210
  ClaimActionOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
199
211
  ClaimActionOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
200
212
  ClaimActionOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
201
- ClaimActionOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
202
- ClaimActionOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
203
- ClaimActionOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
204
- ClaimActionOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
205
- ClaimActionOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
206
- ClaimActionOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
207
213
  ClaimActionOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
208
214
  ClaimActionOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
209
215
  ClaimActionOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -258,6 +264,45 @@ var ClaimRefOrderByInput;
258
264
  ClaimRefOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
259
265
  ClaimRefOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
260
266
  })(ClaimRefOrderByInput || (exports.ClaimRefOrderByInput = ClaimRefOrderByInput = {}));
267
+ var ClaimableAmountOrderByInput;
268
+ (function (ClaimableAmountOrderByInput) {
269
+ ClaimableAmountOrderByInput["account_ASC"] = "account_ASC";
270
+ ClaimableAmountOrderByInput["account_ASC_NULLS_FIRST"] = "account_ASC_NULLS_FIRST";
271
+ ClaimableAmountOrderByInput["account_ASC_NULLS_LAST"] = "account_ASC_NULLS_LAST";
272
+ ClaimableAmountOrderByInput["account_DESC"] = "account_DESC";
273
+ ClaimableAmountOrderByInput["account_DESC_NULLS_FIRST"] = "account_DESC_NULLS_FIRST";
274
+ ClaimableAmountOrderByInput["account_DESC_NULLS_LAST"] = "account_DESC_NULLS_LAST";
275
+ ClaimableAmountOrderByInput["amountInUsd_ASC"] = "amountInUsd_ASC";
276
+ ClaimableAmountOrderByInput["amountInUsd_ASC_NULLS_FIRST"] = "amountInUsd_ASC_NULLS_FIRST";
277
+ ClaimableAmountOrderByInput["amountInUsd_ASC_NULLS_LAST"] = "amountInUsd_ASC_NULLS_LAST";
278
+ ClaimableAmountOrderByInput["amountInUsd_DESC"] = "amountInUsd_DESC";
279
+ ClaimableAmountOrderByInput["amountInUsd_DESC_NULLS_FIRST"] = "amountInUsd_DESC_NULLS_FIRST";
280
+ ClaimableAmountOrderByInput["amountInUsd_DESC_NULLS_LAST"] = "amountInUsd_DESC_NULLS_LAST";
281
+ ClaimableAmountOrderByInput["amount_ASC"] = "amount_ASC";
282
+ ClaimableAmountOrderByInput["amount_ASC_NULLS_FIRST"] = "amount_ASC_NULLS_FIRST";
283
+ ClaimableAmountOrderByInput["amount_ASC_NULLS_LAST"] = "amount_ASC_NULLS_LAST";
284
+ ClaimableAmountOrderByInput["amount_DESC"] = "amount_DESC";
285
+ ClaimableAmountOrderByInput["amount_DESC_NULLS_FIRST"] = "amount_DESC_NULLS_FIRST";
286
+ ClaimableAmountOrderByInput["amount_DESC_NULLS_LAST"] = "amount_DESC_NULLS_LAST";
287
+ ClaimableAmountOrderByInput["distributionId_ASC"] = "distributionId_ASC";
288
+ ClaimableAmountOrderByInput["distributionId_ASC_NULLS_FIRST"] = "distributionId_ASC_NULLS_FIRST";
289
+ ClaimableAmountOrderByInput["distributionId_ASC_NULLS_LAST"] = "distributionId_ASC_NULLS_LAST";
290
+ ClaimableAmountOrderByInput["distributionId_DESC"] = "distributionId_DESC";
291
+ ClaimableAmountOrderByInput["distributionId_DESC_NULLS_FIRST"] = "distributionId_DESC_NULLS_FIRST";
292
+ ClaimableAmountOrderByInput["distributionId_DESC_NULLS_LAST"] = "distributionId_DESC_NULLS_LAST";
293
+ ClaimableAmountOrderByInput["id_ASC"] = "id_ASC";
294
+ ClaimableAmountOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
295
+ ClaimableAmountOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
296
+ ClaimableAmountOrderByInput["id_DESC"] = "id_DESC";
297
+ ClaimableAmountOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
298
+ ClaimableAmountOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
299
+ ClaimableAmountOrderByInput["token_ASC"] = "token_ASC";
300
+ ClaimableAmountOrderByInput["token_ASC_NULLS_FIRST"] = "token_ASC_NULLS_FIRST";
301
+ ClaimableAmountOrderByInput["token_ASC_NULLS_LAST"] = "token_ASC_NULLS_LAST";
302
+ ClaimableAmountOrderByInput["token_DESC"] = "token_DESC";
303
+ ClaimableAmountOrderByInput["token_DESC_NULLS_FIRST"] = "token_DESC_NULLS_FIRST";
304
+ ClaimableAmountOrderByInput["token_DESC_NULLS_LAST"] = "token_DESC_NULLS_LAST";
305
+ })(ClaimableAmountOrderByInput || (exports.ClaimableAmountOrderByInput = ClaimableAmountOrderByInput = {}));
261
306
  var ClaimableCollateralGroupOrderByInput;
262
307
  (function (ClaimableCollateralGroupOrderByInput) {
263
308
  ClaimableCollateralGroupOrderByInput["factor_ASC"] = "factor_ASC";
@@ -620,12 +665,6 @@ var DistributionOrderByInput;
620
665
  DistributionOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
621
666
  DistributionOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
622
667
  DistributionOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
623
- DistributionOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
624
- DistributionOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
625
- DistributionOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
626
- DistributionOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
627
- DistributionOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
628
- DistributionOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
629
668
  DistributionOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
630
669
  DistributionOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
631
670
  DistributionOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -865,12 +904,6 @@ var MarketInfoOrderByInput;
865
904
  MarketInfoOrderByInput["longOpenInterestUsingShortToken_DESC"] = "longOpenInterestUsingShortToken_DESC";
866
905
  MarketInfoOrderByInput["longOpenInterestUsingShortToken_DESC_NULLS_FIRST"] = "longOpenInterestUsingShortToken_DESC_NULLS_FIRST";
867
906
  MarketInfoOrderByInput["longOpenInterestUsingShortToken_DESC_NULLS_LAST"] = "longOpenInterestUsingShortToken_DESC_NULLS_LAST";
868
- MarketInfoOrderByInput["longPoolAmountAdjustment_ASC"] = "longPoolAmountAdjustment_ASC";
869
- MarketInfoOrderByInput["longPoolAmountAdjustment_ASC_NULLS_FIRST"] = "longPoolAmountAdjustment_ASC_NULLS_FIRST";
870
- MarketInfoOrderByInput["longPoolAmountAdjustment_ASC_NULLS_LAST"] = "longPoolAmountAdjustment_ASC_NULLS_LAST";
871
- MarketInfoOrderByInput["longPoolAmountAdjustment_DESC"] = "longPoolAmountAdjustment_DESC";
872
- MarketInfoOrderByInput["longPoolAmountAdjustment_DESC_NULLS_FIRST"] = "longPoolAmountAdjustment_DESC_NULLS_FIRST";
873
- MarketInfoOrderByInput["longPoolAmountAdjustment_DESC_NULLS_LAST"] = "longPoolAmountAdjustment_DESC_NULLS_LAST";
874
907
  MarketInfoOrderByInput["longPoolAmount_ASC"] = "longPoolAmount_ASC";
875
908
  MarketInfoOrderByInput["longPoolAmount_ASC_NULLS_FIRST"] = "longPoolAmount_ASC_NULLS_FIRST";
876
909
  MarketInfoOrderByInput["longPoolAmount_ASC_NULLS_LAST"] = "longPoolAmount_ASC_NULLS_LAST";
@@ -1075,12 +1108,18 @@ var MarketInfoOrderByInput;
1075
1108
  MarketInfoOrderByInput["positionFeeFactorForPositiveImpact_DESC"] = "positionFeeFactorForPositiveImpact_DESC";
1076
1109
  MarketInfoOrderByInput["positionFeeFactorForPositiveImpact_DESC_NULLS_FIRST"] = "positionFeeFactorForPositiveImpact_DESC_NULLS_FIRST";
1077
1110
  MarketInfoOrderByInput["positionFeeFactorForPositiveImpact_DESC_NULLS_LAST"] = "positionFeeFactorForPositiveImpact_DESC_NULLS_LAST";
1078
- MarketInfoOrderByInput["positionImpactExponentFactor_ASC"] = "positionImpactExponentFactor_ASC";
1079
- MarketInfoOrderByInput["positionImpactExponentFactor_ASC_NULLS_FIRST"] = "positionImpactExponentFactor_ASC_NULLS_FIRST";
1080
- MarketInfoOrderByInput["positionImpactExponentFactor_ASC_NULLS_LAST"] = "positionImpactExponentFactor_ASC_NULLS_LAST";
1081
- MarketInfoOrderByInput["positionImpactExponentFactor_DESC"] = "positionImpactExponentFactor_DESC";
1082
- MarketInfoOrderByInput["positionImpactExponentFactor_DESC_NULLS_FIRST"] = "positionImpactExponentFactor_DESC_NULLS_FIRST";
1083
- MarketInfoOrderByInput["positionImpactExponentFactor_DESC_NULLS_LAST"] = "positionImpactExponentFactor_DESC_NULLS_LAST";
1111
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_ASC"] = "positionImpactExponentFactorNegative_ASC";
1112
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_ASC_NULLS_FIRST"] = "positionImpactExponentFactorNegative_ASC_NULLS_FIRST";
1113
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_ASC_NULLS_LAST"] = "positionImpactExponentFactorNegative_ASC_NULLS_LAST";
1114
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_DESC"] = "positionImpactExponentFactorNegative_DESC";
1115
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_DESC_NULLS_FIRST"] = "positionImpactExponentFactorNegative_DESC_NULLS_FIRST";
1116
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_DESC_NULLS_LAST"] = "positionImpactExponentFactorNegative_DESC_NULLS_LAST";
1117
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_ASC"] = "positionImpactExponentFactorPositive_ASC";
1118
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_ASC_NULLS_FIRST"] = "positionImpactExponentFactorPositive_ASC_NULLS_FIRST";
1119
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_ASC_NULLS_LAST"] = "positionImpactExponentFactorPositive_ASC_NULLS_LAST";
1120
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_DESC"] = "positionImpactExponentFactorPositive_DESC";
1121
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_DESC_NULLS_FIRST"] = "positionImpactExponentFactorPositive_DESC_NULLS_FIRST";
1122
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_DESC_NULLS_LAST"] = "positionImpactExponentFactorPositive_DESC_NULLS_LAST";
1084
1123
  MarketInfoOrderByInput["positionImpactFactorNegative_ASC"] = "positionImpactFactorNegative_ASC";
1085
1124
  MarketInfoOrderByInput["positionImpactFactorNegative_ASC_NULLS_FIRST"] = "positionImpactFactorNegative_ASC_NULLS_FIRST";
1086
1125
  MarketInfoOrderByInput["positionImpactFactorNegative_ASC_NULLS_LAST"] = "positionImpactFactorNegative_ASC_NULLS_LAST";
@@ -1153,12 +1192,6 @@ var MarketInfoOrderByInput;
1153
1192
  MarketInfoOrderByInput["shortOpenInterestUsingShortToken_DESC"] = "shortOpenInterestUsingShortToken_DESC";
1154
1193
  MarketInfoOrderByInput["shortOpenInterestUsingShortToken_DESC_NULLS_FIRST"] = "shortOpenInterestUsingShortToken_DESC_NULLS_FIRST";
1155
1194
  MarketInfoOrderByInput["shortOpenInterestUsingShortToken_DESC_NULLS_LAST"] = "shortOpenInterestUsingShortToken_DESC_NULLS_LAST";
1156
- MarketInfoOrderByInput["shortPoolAmountAdjustment_ASC"] = "shortPoolAmountAdjustment_ASC";
1157
- MarketInfoOrderByInput["shortPoolAmountAdjustment_ASC_NULLS_FIRST"] = "shortPoolAmountAdjustment_ASC_NULLS_FIRST";
1158
- MarketInfoOrderByInput["shortPoolAmountAdjustment_ASC_NULLS_LAST"] = "shortPoolAmountAdjustment_ASC_NULLS_LAST";
1159
- MarketInfoOrderByInput["shortPoolAmountAdjustment_DESC"] = "shortPoolAmountAdjustment_DESC";
1160
- MarketInfoOrderByInput["shortPoolAmountAdjustment_DESC_NULLS_FIRST"] = "shortPoolAmountAdjustment_DESC_NULLS_FIRST";
1161
- MarketInfoOrderByInput["shortPoolAmountAdjustment_DESC_NULLS_LAST"] = "shortPoolAmountAdjustment_DESC_NULLS_LAST";
1162
1195
  MarketInfoOrderByInput["shortPoolAmount_ASC"] = "shortPoolAmount_ASC";
1163
1196
  MarketInfoOrderByInput["shortPoolAmount_ASC_NULLS_FIRST"] = "shortPoolAmount_ASC_NULLS_FIRST";
1164
1197
  MarketInfoOrderByInput["shortPoolAmount_ASC_NULLS_LAST"] = "shortPoolAmount_ASC_NULLS_LAST";
@@ -1231,6 +1264,12 @@ var MarketInfoOrderByInput;
1231
1264
  MarketInfoOrderByInput["totalBorrowingFees_DESC"] = "totalBorrowingFees_DESC";
1232
1265
  MarketInfoOrderByInput["totalBorrowingFees_DESC_NULLS_FIRST"] = "totalBorrowingFees_DESC_NULLS_FIRST";
1233
1266
  MarketInfoOrderByInput["totalBorrowingFees_DESC_NULLS_LAST"] = "totalBorrowingFees_DESC_NULLS_LAST";
1267
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_ASC"] = "useOpenInterestInTokensForBalance_ASC";
1268
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_ASC_NULLS_FIRST"] = "useOpenInterestInTokensForBalance_ASC_NULLS_FIRST";
1269
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_ASC_NULLS_LAST"] = "useOpenInterestInTokensForBalance_ASC_NULLS_LAST";
1270
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_DESC"] = "useOpenInterestInTokensForBalance_DESC";
1271
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_DESC_NULLS_FIRST"] = "useOpenInterestInTokensForBalance_DESC_NULLS_FIRST";
1272
+ MarketInfoOrderByInput["useOpenInterestInTokensForBalance_DESC_NULLS_LAST"] = "useOpenInterestInTokensForBalance_DESC_NULLS_LAST";
1234
1273
  MarketInfoOrderByInput["virtualIndexTokenId_ASC"] = "virtualIndexTokenId_ASC";
1235
1274
  MarketInfoOrderByInput["virtualIndexTokenId_ASC_NULLS_FIRST"] = "virtualIndexTokenId_ASC_NULLS_FIRST";
1236
1275
  MarketInfoOrderByInput["virtualIndexTokenId_ASC_NULLS_LAST"] = "virtualIndexTokenId_ASC_NULLS_LAST";
@@ -1308,54 +1347,18 @@ var MultichainFundingOperation;
1308
1347
  })(MultichainFundingOperation || (exports.MultichainFundingOperation = MultichainFundingOperation = {}));
1309
1348
  var MultichainFundingReceiveEventOrderByInput;
1310
1349
  (function (MultichainFundingReceiveEventOrderByInput) {
1311
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_ASC"] = "deliveredTxn_blockNumber_ASC";
1312
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_ASC_NULLS_FIRST"] = "deliveredTxn_blockNumber_ASC_NULLS_FIRST";
1313
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_ASC_NULLS_LAST"] = "deliveredTxn_blockNumber_ASC_NULLS_LAST";
1314
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_DESC"] = "deliveredTxn_blockNumber_DESC";
1315
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_DESC_NULLS_FIRST"] = "deliveredTxn_blockNumber_DESC_NULLS_FIRST";
1316
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_DESC_NULLS_LAST"] = "deliveredTxn_blockNumber_DESC_NULLS_LAST";
1317
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_ASC"] = "deliveredTxn_chainId_ASC";
1318
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_ASC_NULLS_FIRST"] = "deliveredTxn_chainId_ASC_NULLS_FIRST";
1319
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_ASC_NULLS_LAST"] = "deliveredTxn_chainId_ASC_NULLS_LAST";
1320
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_DESC"] = "deliveredTxn_chainId_DESC";
1321
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_DESC_NULLS_FIRST"] = "deliveredTxn_chainId_DESC_NULLS_FIRST";
1322
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_DESC_NULLS_LAST"] = "deliveredTxn_chainId_DESC_NULLS_LAST";
1323
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_ASC"] = "deliveredTxn_from_ASC";
1324
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_ASC_NULLS_FIRST"] = "deliveredTxn_from_ASC_NULLS_FIRST";
1325
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_ASC_NULLS_LAST"] = "deliveredTxn_from_ASC_NULLS_LAST";
1326
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_DESC"] = "deliveredTxn_from_DESC";
1327
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_DESC_NULLS_FIRST"] = "deliveredTxn_from_DESC_NULLS_FIRST";
1328
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_DESC_NULLS_LAST"] = "deliveredTxn_from_DESC_NULLS_LAST";
1329
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_ASC"] = "deliveredTxn_hash_ASC";
1330
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_ASC_NULLS_FIRST"] = "deliveredTxn_hash_ASC_NULLS_FIRST";
1331
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_ASC_NULLS_LAST"] = "deliveredTxn_hash_ASC_NULLS_LAST";
1332
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_DESC"] = "deliveredTxn_hash_DESC";
1333
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_DESC_NULLS_FIRST"] = "deliveredTxn_hash_DESC_NULLS_FIRST";
1334
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_DESC_NULLS_LAST"] = "deliveredTxn_hash_DESC_NULLS_LAST";
1335
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_ASC"] = "deliveredTxn_id_ASC";
1336
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_ASC_NULLS_FIRST"] = "deliveredTxn_id_ASC_NULLS_FIRST";
1337
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_ASC_NULLS_LAST"] = "deliveredTxn_id_ASC_NULLS_LAST";
1338
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_DESC"] = "deliveredTxn_id_DESC";
1339
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_DESC_NULLS_FIRST"] = "deliveredTxn_id_DESC_NULLS_FIRST";
1340
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_DESC_NULLS_LAST"] = "deliveredTxn_id_DESC_NULLS_LAST";
1341
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_ASC"] = "deliveredTxn_timestamp_ASC";
1342
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_ASC_NULLS_FIRST"] = "deliveredTxn_timestamp_ASC_NULLS_FIRST";
1343
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_ASC_NULLS_LAST"] = "deliveredTxn_timestamp_ASC_NULLS_LAST";
1344
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_DESC"] = "deliveredTxn_timestamp_DESC";
1345
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_DESC_NULLS_FIRST"] = "deliveredTxn_timestamp_DESC_NULLS_FIRST";
1346
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_DESC_NULLS_LAST"] = "deliveredTxn_timestamp_DESC_NULLS_LAST";
1347
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_ASC"] = "deliveredTxn_to_ASC";
1348
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_ASC_NULLS_FIRST"] = "deliveredTxn_to_ASC_NULLS_FIRST";
1349
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_ASC_NULLS_LAST"] = "deliveredTxn_to_ASC_NULLS_LAST";
1350
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_DESC"] = "deliveredTxn_to_DESC";
1351
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_DESC_NULLS_FIRST"] = "deliveredTxn_to_DESC_NULLS_FIRST";
1352
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_DESC_NULLS_LAST"] = "deliveredTxn_to_DESC_NULLS_LAST";
1353
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_ASC"] = "deliveredTxn_transactionIndex_ASC";
1354
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_ASC_NULLS_FIRST"] = "deliveredTxn_transactionIndex_ASC_NULLS_FIRST";
1355
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_ASC_NULLS_LAST"] = "deliveredTxn_transactionIndex_ASC_NULLS_LAST";
1356
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_DESC"] = "deliveredTxn_transactionIndex_DESC";
1357
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_DESC_NULLS_FIRST"] = "deliveredTxn_transactionIndex_DESC_NULLS_FIRST";
1358
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_DESC_NULLS_LAST"] = "deliveredTxn_transactionIndex_DESC_NULLS_LAST";
1350
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_ASC"] = "deliveredTimestamp_ASC";
1351
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_ASC_NULLS_FIRST"] = "deliveredTimestamp_ASC_NULLS_FIRST";
1352
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_ASC_NULLS_LAST"] = "deliveredTimestamp_ASC_NULLS_LAST";
1353
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_DESC"] = "deliveredTimestamp_DESC";
1354
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_DESC_NULLS_FIRST"] = "deliveredTimestamp_DESC_NULLS_FIRST";
1355
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_DESC_NULLS_LAST"] = "deliveredTimestamp_DESC_NULLS_LAST";
1356
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_ASC"] = "deliveredTxn_ASC";
1357
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_ASC_NULLS_FIRST"] = "deliveredTxn_ASC_NULLS_FIRST";
1358
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_ASC_NULLS_LAST"] = "deliveredTxn_ASC_NULLS_LAST";
1359
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_DESC"] = "deliveredTxn_DESC";
1360
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_DESC_NULLS_FIRST"] = "deliveredTxn_DESC_NULLS_FIRST";
1361
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_DESC_NULLS_LAST"] = "deliveredTxn_DESC_NULLS_LAST";
1359
1362
  MultichainFundingReceiveEventOrderByInput["id_ASC"] = "id_ASC";
1360
1363
  MultichainFundingReceiveEventOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
1361
1364
  MultichainFundingReceiveEventOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
@@ -1386,54 +1389,18 @@ var MultichainFundingReceiveEventOrderByInput;
1386
1389
  MultichainFundingReceiveEventOrderByInput["receivedAmount_DESC"] = "receivedAmount_DESC";
1387
1390
  MultichainFundingReceiveEventOrderByInput["receivedAmount_DESC_NULLS_FIRST"] = "receivedAmount_DESC_NULLS_FIRST";
1388
1391
  MultichainFundingReceiveEventOrderByInput["receivedAmount_DESC_NULLS_LAST"] = "receivedAmount_DESC_NULLS_LAST";
1389
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_ASC"] = "receivedTxn_blockNumber_ASC";
1390
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_ASC_NULLS_FIRST"] = "receivedTxn_blockNumber_ASC_NULLS_FIRST";
1391
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_ASC_NULLS_LAST"] = "receivedTxn_blockNumber_ASC_NULLS_LAST";
1392
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_DESC"] = "receivedTxn_blockNumber_DESC";
1393
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_DESC_NULLS_FIRST"] = "receivedTxn_blockNumber_DESC_NULLS_FIRST";
1394
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_DESC_NULLS_LAST"] = "receivedTxn_blockNumber_DESC_NULLS_LAST";
1395
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_ASC"] = "receivedTxn_chainId_ASC";
1396
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_ASC_NULLS_FIRST"] = "receivedTxn_chainId_ASC_NULLS_FIRST";
1397
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_ASC_NULLS_LAST"] = "receivedTxn_chainId_ASC_NULLS_LAST";
1398
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_DESC"] = "receivedTxn_chainId_DESC";
1399
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_DESC_NULLS_FIRST"] = "receivedTxn_chainId_DESC_NULLS_FIRST";
1400
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_DESC_NULLS_LAST"] = "receivedTxn_chainId_DESC_NULLS_LAST";
1401
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_ASC"] = "receivedTxn_from_ASC";
1402
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_ASC_NULLS_FIRST"] = "receivedTxn_from_ASC_NULLS_FIRST";
1403
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_ASC_NULLS_LAST"] = "receivedTxn_from_ASC_NULLS_LAST";
1404
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_DESC"] = "receivedTxn_from_DESC";
1405
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_DESC_NULLS_FIRST"] = "receivedTxn_from_DESC_NULLS_FIRST";
1406
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_DESC_NULLS_LAST"] = "receivedTxn_from_DESC_NULLS_LAST";
1407
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_ASC"] = "receivedTxn_hash_ASC";
1408
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_ASC_NULLS_FIRST"] = "receivedTxn_hash_ASC_NULLS_FIRST";
1409
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_ASC_NULLS_LAST"] = "receivedTxn_hash_ASC_NULLS_LAST";
1410
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_DESC"] = "receivedTxn_hash_DESC";
1411
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_DESC_NULLS_FIRST"] = "receivedTxn_hash_DESC_NULLS_FIRST";
1412
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_DESC_NULLS_LAST"] = "receivedTxn_hash_DESC_NULLS_LAST";
1413
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_ASC"] = "receivedTxn_id_ASC";
1414
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_ASC_NULLS_FIRST"] = "receivedTxn_id_ASC_NULLS_FIRST";
1415
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_ASC_NULLS_LAST"] = "receivedTxn_id_ASC_NULLS_LAST";
1416
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_DESC"] = "receivedTxn_id_DESC";
1417
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_DESC_NULLS_FIRST"] = "receivedTxn_id_DESC_NULLS_FIRST";
1418
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_DESC_NULLS_LAST"] = "receivedTxn_id_DESC_NULLS_LAST";
1419
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_ASC"] = "receivedTxn_timestamp_ASC";
1420
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_ASC_NULLS_FIRST"] = "receivedTxn_timestamp_ASC_NULLS_FIRST";
1421
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_ASC_NULLS_LAST"] = "receivedTxn_timestamp_ASC_NULLS_LAST";
1422
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_DESC"] = "receivedTxn_timestamp_DESC";
1423
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_DESC_NULLS_FIRST"] = "receivedTxn_timestamp_DESC_NULLS_FIRST";
1424
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_DESC_NULLS_LAST"] = "receivedTxn_timestamp_DESC_NULLS_LAST";
1425
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_ASC"] = "receivedTxn_to_ASC";
1426
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_ASC_NULLS_FIRST"] = "receivedTxn_to_ASC_NULLS_FIRST";
1427
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_ASC_NULLS_LAST"] = "receivedTxn_to_ASC_NULLS_LAST";
1428
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_DESC"] = "receivedTxn_to_DESC";
1429
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_DESC_NULLS_FIRST"] = "receivedTxn_to_DESC_NULLS_FIRST";
1430
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_DESC_NULLS_LAST"] = "receivedTxn_to_DESC_NULLS_LAST";
1431
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_ASC"] = "receivedTxn_transactionIndex_ASC";
1432
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_ASC_NULLS_FIRST"] = "receivedTxn_transactionIndex_ASC_NULLS_FIRST";
1433
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_ASC_NULLS_LAST"] = "receivedTxn_transactionIndex_ASC_NULLS_LAST";
1434
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_DESC"] = "receivedTxn_transactionIndex_DESC";
1435
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_DESC_NULLS_FIRST"] = "receivedTxn_transactionIndex_DESC_NULLS_FIRST";
1436
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_DESC_NULLS_LAST"] = "receivedTxn_transactionIndex_DESC_NULLS_LAST";
1392
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_ASC"] = "receivedTimestamp_ASC";
1393
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_ASC_NULLS_FIRST"] = "receivedTimestamp_ASC_NULLS_FIRST";
1394
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_ASC_NULLS_LAST"] = "receivedTimestamp_ASC_NULLS_LAST";
1395
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_DESC"] = "receivedTimestamp_DESC";
1396
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_DESC_NULLS_FIRST"] = "receivedTimestamp_DESC_NULLS_FIRST";
1397
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_DESC_NULLS_LAST"] = "receivedTimestamp_DESC_NULLS_LAST";
1398
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_ASC"] = "receivedTxn_ASC";
1399
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_ASC_NULLS_FIRST"] = "receivedTxn_ASC_NULLS_FIRST";
1400
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_ASC_NULLS_LAST"] = "receivedTxn_ASC_NULLS_LAST";
1401
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_DESC"] = "receivedTxn_DESC";
1402
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_DESC_NULLS_FIRST"] = "receivedTxn_DESC_NULLS_FIRST";
1403
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_DESC_NULLS_LAST"] = "receivedTxn_DESC_NULLS_LAST";
1437
1404
  MultichainFundingReceiveEventOrderByInput["sourceChainId_ASC"] = "sourceChainId_ASC";
1438
1405
  MultichainFundingReceiveEventOrderByInput["sourceChainId_ASC_NULLS_FIRST"] = "sourceChainId_ASC_NULLS_FIRST";
1439
1406
  MultichainFundingReceiveEventOrderByInput["sourceChainId_ASC_NULLS_LAST"] = "sourceChainId_ASC_NULLS_LAST";
@@ -1485,60 +1452,24 @@ var MultichainFundingSendEventOrderByInput;
1485
1452
  MultichainFundingSendEventOrderByInput["sourceChainId_DESC"] = "sourceChainId_DESC";
1486
1453
  MultichainFundingSendEventOrderByInput["sourceChainId_DESC_NULLS_FIRST"] = "sourceChainId_DESC_NULLS_FIRST";
1487
1454
  MultichainFundingSendEventOrderByInput["sourceChainId_DESC_NULLS_LAST"] = "sourceChainId_DESC_NULLS_LAST";
1455
+ MultichainFundingSendEventOrderByInput["timestamp_ASC"] = "timestamp_ASC";
1456
+ MultichainFundingSendEventOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
1457
+ MultichainFundingSendEventOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
1458
+ MultichainFundingSendEventOrderByInput["timestamp_DESC"] = "timestamp_DESC";
1459
+ MultichainFundingSendEventOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
1460
+ MultichainFundingSendEventOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
1488
1461
  MultichainFundingSendEventOrderByInput["token_ASC"] = "token_ASC";
1489
1462
  MultichainFundingSendEventOrderByInput["token_ASC_NULLS_FIRST"] = "token_ASC_NULLS_FIRST";
1490
1463
  MultichainFundingSendEventOrderByInput["token_ASC_NULLS_LAST"] = "token_ASC_NULLS_LAST";
1491
1464
  MultichainFundingSendEventOrderByInput["token_DESC"] = "token_DESC";
1492
1465
  MultichainFundingSendEventOrderByInput["token_DESC_NULLS_FIRST"] = "token_DESC_NULLS_FIRST";
1493
1466
  MultichainFundingSendEventOrderByInput["token_DESC_NULLS_LAST"] = "token_DESC_NULLS_LAST";
1494
- MultichainFundingSendEventOrderByInput["txn_blockNumber_ASC"] = "txn_blockNumber_ASC";
1495
- MultichainFundingSendEventOrderByInput["txn_blockNumber_ASC_NULLS_FIRST"] = "txn_blockNumber_ASC_NULLS_FIRST";
1496
- MultichainFundingSendEventOrderByInput["txn_blockNumber_ASC_NULLS_LAST"] = "txn_blockNumber_ASC_NULLS_LAST";
1497
- MultichainFundingSendEventOrderByInput["txn_blockNumber_DESC"] = "txn_blockNumber_DESC";
1498
- MultichainFundingSendEventOrderByInput["txn_blockNumber_DESC_NULLS_FIRST"] = "txn_blockNumber_DESC_NULLS_FIRST";
1499
- MultichainFundingSendEventOrderByInput["txn_blockNumber_DESC_NULLS_LAST"] = "txn_blockNumber_DESC_NULLS_LAST";
1500
- MultichainFundingSendEventOrderByInput["txn_chainId_ASC"] = "txn_chainId_ASC";
1501
- MultichainFundingSendEventOrderByInput["txn_chainId_ASC_NULLS_FIRST"] = "txn_chainId_ASC_NULLS_FIRST";
1502
- MultichainFundingSendEventOrderByInput["txn_chainId_ASC_NULLS_LAST"] = "txn_chainId_ASC_NULLS_LAST";
1503
- MultichainFundingSendEventOrderByInput["txn_chainId_DESC"] = "txn_chainId_DESC";
1504
- MultichainFundingSendEventOrderByInput["txn_chainId_DESC_NULLS_FIRST"] = "txn_chainId_DESC_NULLS_FIRST";
1505
- MultichainFundingSendEventOrderByInput["txn_chainId_DESC_NULLS_LAST"] = "txn_chainId_DESC_NULLS_LAST";
1506
- MultichainFundingSendEventOrderByInput["txn_from_ASC"] = "txn_from_ASC";
1507
- MultichainFundingSendEventOrderByInput["txn_from_ASC_NULLS_FIRST"] = "txn_from_ASC_NULLS_FIRST";
1508
- MultichainFundingSendEventOrderByInput["txn_from_ASC_NULLS_LAST"] = "txn_from_ASC_NULLS_LAST";
1509
- MultichainFundingSendEventOrderByInput["txn_from_DESC"] = "txn_from_DESC";
1510
- MultichainFundingSendEventOrderByInput["txn_from_DESC_NULLS_FIRST"] = "txn_from_DESC_NULLS_FIRST";
1511
- MultichainFundingSendEventOrderByInput["txn_from_DESC_NULLS_LAST"] = "txn_from_DESC_NULLS_LAST";
1512
- MultichainFundingSendEventOrderByInput["txn_hash_ASC"] = "txn_hash_ASC";
1513
- MultichainFundingSendEventOrderByInput["txn_hash_ASC_NULLS_FIRST"] = "txn_hash_ASC_NULLS_FIRST";
1514
- MultichainFundingSendEventOrderByInput["txn_hash_ASC_NULLS_LAST"] = "txn_hash_ASC_NULLS_LAST";
1515
- MultichainFundingSendEventOrderByInput["txn_hash_DESC"] = "txn_hash_DESC";
1516
- MultichainFundingSendEventOrderByInput["txn_hash_DESC_NULLS_FIRST"] = "txn_hash_DESC_NULLS_FIRST";
1517
- MultichainFundingSendEventOrderByInput["txn_hash_DESC_NULLS_LAST"] = "txn_hash_DESC_NULLS_LAST";
1518
- MultichainFundingSendEventOrderByInput["txn_id_ASC"] = "txn_id_ASC";
1519
- MultichainFundingSendEventOrderByInput["txn_id_ASC_NULLS_FIRST"] = "txn_id_ASC_NULLS_FIRST";
1520
- MultichainFundingSendEventOrderByInput["txn_id_ASC_NULLS_LAST"] = "txn_id_ASC_NULLS_LAST";
1521
- MultichainFundingSendEventOrderByInput["txn_id_DESC"] = "txn_id_DESC";
1522
- MultichainFundingSendEventOrderByInput["txn_id_DESC_NULLS_FIRST"] = "txn_id_DESC_NULLS_FIRST";
1523
- MultichainFundingSendEventOrderByInput["txn_id_DESC_NULLS_LAST"] = "txn_id_DESC_NULLS_LAST";
1524
- MultichainFundingSendEventOrderByInput["txn_timestamp_ASC"] = "txn_timestamp_ASC";
1525
- MultichainFundingSendEventOrderByInput["txn_timestamp_ASC_NULLS_FIRST"] = "txn_timestamp_ASC_NULLS_FIRST";
1526
- MultichainFundingSendEventOrderByInput["txn_timestamp_ASC_NULLS_LAST"] = "txn_timestamp_ASC_NULLS_LAST";
1527
- MultichainFundingSendEventOrderByInput["txn_timestamp_DESC"] = "txn_timestamp_DESC";
1528
- MultichainFundingSendEventOrderByInput["txn_timestamp_DESC_NULLS_FIRST"] = "txn_timestamp_DESC_NULLS_FIRST";
1529
- MultichainFundingSendEventOrderByInput["txn_timestamp_DESC_NULLS_LAST"] = "txn_timestamp_DESC_NULLS_LAST";
1530
- MultichainFundingSendEventOrderByInput["txn_to_ASC"] = "txn_to_ASC";
1531
- MultichainFundingSendEventOrderByInput["txn_to_ASC_NULLS_FIRST"] = "txn_to_ASC_NULLS_FIRST";
1532
- MultichainFundingSendEventOrderByInput["txn_to_ASC_NULLS_LAST"] = "txn_to_ASC_NULLS_LAST";
1533
- MultichainFundingSendEventOrderByInput["txn_to_DESC"] = "txn_to_DESC";
1534
- MultichainFundingSendEventOrderByInput["txn_to_DESC_NULLS_FIRST"] = "txn_to_DESC_NULLS_FIRST";
1535
- MultichainFundingSendEventOrderByInput["txn_to_DESC_NULLS_LAST"] = "txn_to_DESC_NULLS_LAST";
1536
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_ASC"] = "txn_transactionIndex_ASC";
1537
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_ASC_NULLS_FIRST"] = "txn_transactionIndex_ASC_NULLS_FIRST";
1538
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_ASC_NULLS_LAST"] = "txn_transactionIndex_ASC_NULLS_LAST";
1539
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_DESC"] = "txn_transactionIndex_DESC";
1540
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_DESC_NULLS_FIRST"] = "txn_transactionIndex_DESC_NULLS_FIRST";
1541
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_DESC_NULLS_LAST"] = "txn_transactionIndex_DESC_NULLS_LAST";
1467
+ MultichainFundingSendEventOrderByInput["txn_ASC"] = "txn_ASC";
1468
+ MultichainFundingSendEventOrderByInput["txn_ASC_NULLS_FIRST"] = "txn_ASC_NULLS_FIRST";
1469
+ MultichainFundingSendEventOrderByInput["txn_ASC_NULLS_LAST"] = "txn_ASC_NULLS_LAST";
1470
+ MultichainFundingSendEventOrderByInput["txn_DESC"] = "txn_DESC";
1471
+ MultichainFundingSendEventOrderByInput["txn_DESC_NULLS_FIRST"] = "txn_DESC_NULLS_FIRST";
1472
+ MultichainFundingSendEventOrderByInput["txn_DESC_NULLS_LAST"] = "txn_DESC_NULLS_LAST";
1542
1473
  })(MultichainFundingSendEventOrderByInput || (exports.MultichainFundingSendEventOrderByInput = MultichainFundingSendEventOrderByInput = {}));
1543
1474
  var MultichainMetadataOrderByInput;
1544
1475
  (function (MultichainMetadataOrderByInput) {
@@ -1639,12 +1570,6 @@ var OrderOrderByInput;
1639
1570
  OrderOrderByInput["cancelledTxn_blockNumber_DESC"] = "cancelledTxn_blockNumber_DESC";
1640
1571
  OrderOrderByInput["cancelledTxn_blockNumber_DESC_NULLS_FIRST"] = "cancelledTxn_blockNumber_DESC_NULLS_FIRST";
1641
1572
  OrderOrderByInput["cancelledTxn_blockNumber_DESC_NULLS_LAST"] = "cancelledTxn_blockNumber_DESC_NULLS_LAST";
1642
- OrderOrderByInput["cancelledTxn_chainId_ASC"] = "cancelledTxn_chainId_ASC";
1643
- OrderOrderByInput["cancelledTxn_chainId_ASC_NULLS_FIRST"] = "cancelledTxn_chainId_ASC_NULLS_FIRST";
1644
- OrderOrderByInput["cancelledTxn_chainId_ASC_NULLS_LAST"] = "cancelledTxn_chainId_ASC_NULLS_LAST";
1645
- OrderOrderByInput["cancelledTxn_chainId_DESC"] = "cancelledTxn_chainId_DESC";
1646
- OrderOrderByInput["cancelledTxn_chainId_DESC_NULLS_FIRST"] = "cancelledTxn_chainId_DESC_NULLS_FIRST";
1647
- OrderOrderByInput["cancelledTxn_chainId_DESC_NULLS_LAST"] = "cancelledTxn_chainId_DESC_NULLS_LAST";
1648
1573
  OrderOrderByInput["cancelledTxn_from_ASC"] = "cancelledTxn_from_ASC";
1649
1574
  OrderOrderByInput["cancelledTxn_from_ASC_NULLS_FIRST"] = "cancelledTxn_from_ASC_NULLS_FIRST";
1650
1575
  OrderOrderByInput["cancelledTxn_from_ASC_NULLS_LAST"] = "cancelledTxn_from_ASC_NULLS_LAST";
@@ -1687,12 +1612,6 @@ var OrderOrderByInput;
1687
1612
  OrderOrderByInput["createdTxn_blockNumber_DESC"] = "createdTxn_blockNumber_DESC";
1688
1613
  OrderOrderByInput["createdTxn_blockNumber_DESC_NULLS_FIRST"] = "createdTxn_blockNumber_DESC_NULLS_FIRST";
1689
1614
  OrderOrderByInput["createdTxn_blockNumber_DESC_NULLS_LAST"] = "createdTxn_blockNumber_DESC_NULLS_LAST";
1690
- OrderOrderByInput["createdTxn_chainId_ASC"] = "createdTxn_chainId_ASC";
1691
- OrderOrderByInput["createdTxn_chainId_ASC_NULLS_FIRST"] = "createdTxn_chainId_ASC_NULLS_FIRST";
1692
- OrderOrderByInput["createdTxn_chainId_ASC_NULLS_LAST"] = "createdTxn_chainId_ASC_NULLS_LAST";
1693
- OrderOrderByInput["createdTxn_chainId_DESC"] = "createdTxn_chainId_DESC";
1694
- OrderOrderByInput["createdTxn_chainId_DESC_NULLS_FIRST"] = "createdTxn_chainId_DESC_NULLS_FIRST";
1695
- OrderOrderByInput["createdTxn_chainId_DESC_NULLS_LAST"] = "createdTxn_chainId_DESC_NULLS_LAST";
1696
1615
  OrderOrderByInput["createdTxn_from_ASC"] = "createdTxn_from_ASC";
1697
1616
  OrderOrderByInput["createdTxn_from_ASC_NULLS_FIRST"] = "createdTxn_from_ASC_NULLS_FIRST";
1698
1617
  OrderOrderByInput["createdTxn_from_ASC_NULLS_LAST"] = "createdTxn_from_ASC_NULLS_LAST";
@@ -1729,18 +1648,18 @@ var OrderOrderByInput;
1729
1648
  OrderOrderByInput["createdTxn_transactionIndex_DESC"] = "createdTxn_transactionIndex_DESC";
1730
1649
  OrderOrderByInput["createdTxn_transactionIndex_DESC_NULLS_FIRST"] = "createdTxn_transactionIndex_DESC_NULLS_FIRST";
1731
1650
  OrderOrderByInput["createdTxn_transactionIndex_DESC_NULLS_LAST"] = "createdTxn_transactionIndex_DESC_NULLS_LAST";
1651
+ OrderOrderByInput["decreasePositionSwapType_ASC"] = "decreasePositionSwapType_ASC";
1652
+ OrderOrderByInput["decreasePositionSwapType_ASC_NULLS_FIRST"] = "decreasePositionSwapType_ASC_NULLS_FIRST";
1653
+ OrderOrderByInput["decreasePositionSwapType_ASC_NULLS_LAST"] = "decreasePositionSwapType_ASC_NULLS_LAST";
1654
+ OrderOrderByInput["decreasePositionSwapType_DESC"] = "decreasePositionSwapType_DESC";
1655
+ OrderOrderByInput["decreasePositionSwapType_DESC_NULLS_FIRST"] = "decreasePositionSwapType_DESC_NULLS_FIRST";
1656
+ OrderOrderByInput["decreasePositionSwapType_DESC_NULLS_LAST"] = "decreasePositionSwapType_DESC_NULLS_LAST";
1732
1657
  OrderOrderByInput["executedTxn_blockNumber_ASC"] = "executedTxn_blockNumber_ASC";
1733
1658
  OrderOrderByInput["executedTxn_blockNumber_ASC_NULLS_FIRST"] = "executedTxn_blockNumber_ASC_NULLS_FIRST";
1734
1659
  OrderOrderByInput["executedTxn_blockNumber_ASC_NULLS_LAST"] = "executedTxn_blockNumber_ASC_NULLS_LAST";
1735
1660
  OrderOrderByInput["executedTxn_blockNumber_DESC"] = "executedTxn_blockNumber_DESC";
1736
1661
  OrderOrderByInput["executedTxn_blockNumber_DESC_NULLS_FIRST"] = "executedTxn_blockNumber_DESC_NULLS_FIRST";
1737
1662
  OrderOrderByInput["executedTxn_blockNumber_DESC_NULLS_LAST"] = "executedTxn_blockNumber_DESC_NULLS_LAST";
1738
- OrderOrderByInput["executedTxn_chainId_ASC"] = "executedTxn_chainId_ASC";
1739
- OrderOrderByInput["executedTxn_chainId_ASC_NULLS_FIRST"] = "executedTxn_chainId_ASC_NULLS_FIRST";
1740
- OrderOrderByInput["executedTxn_chainId_ASC_NULLS_LAST"] = "executedTxn_chainId_ASC_NULLS_LAST";
1741
- OrderOrderByInput["executedTxn_chainId_DESC"] = "executedTxn_chainId_DESC";
1742
- OrderOrderByInput["executedTxn_chainId_DESC_NULLS_FIRST"] = "executedTxn_chainId_DESC_NULLS_FIRST";
1743
- OrderOrderByInput["executedTxn_chainId_DESC_NULLS_LAST"] = "executedTxn_chainId_DESC_NULLS_LAST";
1744
1663
  OrderOrderByInput["executedTxn_from_ASC"] = "executedTxn_from_ASC";
1745
1664
  OrderOrderByInput["executedTxn_from_ASC_NULLS_FIRST"] = "executedTxn_from_ASC_NULLS_FIRST";
1746
1665
  OrderOrderByInput["executedTxn_from_ASC_NULLS_LAST"] = "executedTxn_from_ASC_NULLS_LAST";
@@ -1905,6 +1824,33 @@ var OrderStatus;
1905
1824
  OrderStatus["Executed"] = "Executed";
1906
1825
  OrderStatus["Frozen"] = "Frozen";
1907
1826
  })(OrderStatus || (exports.OrderStatus = OrderStatus = {}));
1827
+ var PlatformStatsOrderByInput;
1828
+ (function (PlatformStatsOrderByInput) {
1829
+ PlatformStatsOrderByInput["depositedUsers_ASC"] = "depositedUsers_ASC";
1830
+ PlatformStatsOrderByInput["depositedUsers_ASC_NULLS_FIRST"] = "depositedUsers_ASC_NULLS_FIRST";
1831
+ PlatformStatsOrderByInput["depositedUsers_ASC_NULLS_LAST"] = "depositedUsers_ASC_NULLS_LAST";
1832
+ PlatformStatsOrderByInput["depositedUsers_DESC"] = "depositedUsers_DESC";
1833
+ PlatformStatsOrderByInput["depositedUsers_DESC_NULLS_FIRST"] = "depositedUsers_DESC_NULLS_FIRST";
1834
+ PlatformStatsOrderByInput["depositedUsers_DESC_NULLS_LAST"] = "depositedUsers_DESC_NULLS_LAST";
1835
+ PlatformStatsOrderByInput["id_ASC"] = "id_ASC";
1836
+ PlatformStatsOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
1837
+ PlatformStatsOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
1838
+ PlatformStatsOrderByInput["id_DESC"] = "id_DESC";
1839
+ PlatformStatsOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
1840
+ PlatformStatsOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
1841
+ PlatformStatsOrderByInput["tradedUsers_ASC"] = "tradedUsers_ASC";
1842
+ PlatformStatsOrderByInput["tradedUsers_ASC_NULLS_FIRST"] = "tradedUsers_ASC_NULLS_FIRST";
1843
+ PlatformStatsOrderByInput["tradedUsers_ASC_NULLS_LAST"] = "tradedUsers_ASC_NULLS_LAST";
1844
+ PlatformStatsOrderByInput["tradedUsers_DESC"] = "tradedUsers_DESC";
1845
+ PlatformStatsOrderByInput["tradedUsers_DESC_NULLS_FIRST"] = "tradedUsers_DESC_NULLS_FIRST";
1846
+ PlatformStatsOrderByInput["tradedUsers_DESC_NULLS_LAST"] = "tradedUsers_DESC_NULLS_LAST";
1847
+ PlatformStatsOrderByInput["volume_ASC"] = "volume_ASC";
1848
+ PlatformStatsOrderByInput["volume_ASC_NULLS_FIRST"] = "volume_ASC_NULLS_FIRST";
1849
+ PlatformStatsOrderByInput["volume_ASC_NULLS_LAST"] = "volume_ASC_NULLS_LAST";
1850
+ PlatformStatsOrderByInput["volume_DESC"] = "volume_DESC";
1851
+ PlatformStatsOrderByInput["volume_DESC_NULLS_FIRST"] = "volume_DESC_NULLS_FIRST";
1852
+ PlatformStatsOrderByInput["volume_DESC_NULLS_LAST"] = "volume_DESC_NULLS_LAST";
1853
+ })(PlatformStatsOrderByInput || (exports.PlatformStatsOrderByInput = PlatformStatsOrderByInput = {}));
1908
1854
  var PnlAprSnapshotOrderByInput;
1909
1855
  (function (PnlAprSnapshotOrderByInput) {
1910
1856
  PnlAprSnapshotOrderByInput["address_ASC"] = "address_ASC";
@@ -2024,6 +1970,18 @@ var PositionChangeOrderByInput;
2024
1970
  PositionChangeOrderByInput["maxSize_DESC"] = "maxSize_DESC";
2025
1971
  PositionChangeOrderByInput["maxSize_DESC_NULLS_FIRST"] = "maxSize_DESC_NULLS_FIRST";
2026
1972
  PositionChangeOrderByInput["maxSize_DESC_NULLS_LAST"] = "maxSize_DESC_NULLS_LAST";
1973
+ PositionChangeOrderByInput["orderKey_ASC"] = "orderKey_ASC";
1974
+ PositionChangeOrderByInput["orderKey_ASC_NULLS_FIRST"] = "orderKey_ASC_NULLS_FIRST";
1975
+ PositionChangeOrderByInput["orderKey_ASC_NULLS_LAST"] = "orderKey_ASC_NULLS_LAST";
1976
+ PositionChangeOrderByInput["orderKey_DESC"] = "orderKey_DESC";
1977
+ PositionChangeOrderByInput["orderKey_DESC_NULLS_FIRST"] = "orderKey_DESC_NULLS_FIRST";
1978
+ PositionChangeOrderByInput["orderKey_DESC_NULLS_LAST"] = "orderKey_DESC_NULLS_LAST";
1979
+ PositionChangeOrderByInput["positionKey_ASC"] = "positionKey_ASC";
1980
+ PositionChangeOrderByInput["positionKey_ASC_NULLS_FIRST"] = "positionKey_ASC_NULLS_FIRST";
1981
+ PositionChangeOrderByInput["positionKey_ASC_NULLS_LAST"] = "positionKey_ASC_NULLS_LAST";
1982
+ PositionChangeOrderByInput["positionKey_DESC"] = "positionKey_DESC";
1983
+ PositionChangeOrderByInput["positionKey_DESC_NULLS_FIRST"] = "positionKey_DESC_NULLS_FIRST";
1984
+ PositionChangeOrderByInput["positionKey_DESC_NULLS_LAST"] = "positionKey_DESC_NULLS_LAST";
2027
1985
  PositionChangeOrderByInput["priceImpactAmount_ASC"] = "priceImpactAmount_ASC";
2028
1986
  PositionChangeOrderByInput["priceImpactAmount_ASC_NULLS_FIRST"] = "priceImpactAmount_ASC_NULLS_FIRST";
2029
1987
  PositionChangeOrderByInput["priceImpactAmount_ASC_NULLS_LAST"] = "priceImpactAmount_ASC_NULLS_LAST";
@@ -2048,18 +2006,36 @@ var PositionChangeOrderByInput;
2048
2006
  PositionChangeOrderByInput["proportionalPendingImpactUsd_DESC"] = "proportionalPendingImpactUsd_DESC";
2049
2007
  PositionChangeOrderByInput["proportionalPendingImpactUsd_DESC_NULLS_FIRST"] = "proportionalPendingImpactUsd_DESC_NULLS_FIRST";
2050
2008
  PositionChangeOrderByInput["proportionalPendingImpactUsd_DESC_NULLS_LAST"] = "proportionalPendingImpactUsd_DESC_NULLS_LAST";
2009
+ PositionChangeOrderByInput["sizeDeltaInTokens_ASC"] = "sizeDeltaInTokens_ASC";
2010
+ PositionChangeOrderByInput["sizeDeltaInTokens_ASC_NULLS_FIRST"] = "sizeDeltaInTokens_ASC_NULLS_FIRST";
2011
+ PositionChangeOrderByInput["sizeDeltaInTokens_ASC_NULLS_LAST"] = "sizeDeltaInTokens_ASC_NULLS_LAST";
2012
+ PositionChangeOrderByInput["sizeDeltaInTokens_DESC"] = "sizeDeltaInTokens_DESC";
2013
+ PositionChangeOrderByInput["sizeDeltaInTokens_DESC_NULLS_FIRST"] = "sizeDeltaInTokens_DESC_NULLS_FIRST";
2014
+ PositionChangeOrderByInput["sizeDeltaInTokens_DESC_NULLS_LAST"] = "sizeDeltaInTokens_DESC_NULLS_LAST";
2051
2015
  PositionChangeOrderByInput["sizeDeltaUsd_ASC"] = "sizeDeltaUsd_ASC";
2052
2016
  PositionChangeOrderByInput["sizeDeltaUsd_ASC_NULLS_FIRST"] = "sizeDeltaUsd_ASC_NULLS_FIRST";
2053
2017
  PositionChangeOrderByInput["sizeDeltaUsd_ASC_NULLS_LAST"] = "sizeDeltaUsd_ASC_NULLS_LAST";
2054
2018
  PositionChangeOrderByInput["sizeDeltaUsd_DESC"] = "sizeDeltaUsd_DESC";
2055
2019
  PositionChangeOrderByInput["sizeDeltaUsd_DESC_NULLS_FIRST"] = "sizeDeltaUsd_DESC_NULLS_FIRST";
2056
2020
  PositionChangeOrderByInput["sizeDeltaUsd_DESC_NULLS_LAST"] = "sizeDeltaUsd_DESC_NULLS_LAST";
2021
+ PositionChangeOrderByInput["sizeInTokens_ASC"] = "sizeInTokens_ASC";
2022
+ PositionChangeOrderByInput["sizeInTokens_ASC_NULLS_FIRST"] = "sizeInTokens_ASC_NULLS_FIRST";
2023
+ PositionChangeOrderByInput["sizeInTokens_ASC_NULLS_LAST"] = "sizeInTokens_ASC_NULLS_LAST";
2024
+ PositionChangeOrderByInput["sizeInTokens_DESC"] = "sizeInTokens_DESC";
2025
+ PositionChangeOrderByInput["sizeInTokens_DESC_NULLS_FIRST"] = "sizeInTokens_DESC_NULLS_FIRST";
2026
+ PositionChangeOrderByInput["sizeInTokens_DESC_NULLS_LAST"] = "sizeInTokens_DESC_NULLS_LAST";
2057
2027
  PositionChangeOrderByInput["sizeInUsd_ASC"] = "sizeInUsd_ASC";
2058
2028
  PositionChangeOrderByInput["sizeInUsd_ASC_NULLS_FIRST"] = "sizeInUsd_ASC_NULLS_FIRST";
2059
2029
  PositionChangeOrderByInput["sizeInUsd_ASC_NULLS_LAST"] = "sizeInUsd_ASC_NULLS_LAST";
2060
2030
  PositionChangeOrderByInput["sizeInUsd_DESC"] = "sizeInUsd_DESC";
2061
2031
  PositionChangeOrderByInput["sizeInUsd_DESC_NULLS_FIRST"] = "sizeInUsd_DESC_NULLS_FIRST";
2062
2032
  PositionChangeOrderByInput["sizeInUsd_DESC_NULLS_LAST"] = "sizeInUsd_DESC_NULLS_LAST";
2033
+ PositionChangeOrderByInput["swapImpactUsd_ASC"] = "swapImpactUsd_ASC";
2034
+ PositionChangeOrderByInput["swapImpactUsd_ASC_NULLS_FIRST"] = "swapImpactUsd_ASC_NULLS_FIRST";
2035
+ PositionChangeOrderByInput["swapImpactUsd_ASC_NULLS_LAST"] = "swapImpactUsd_ASC_NULLS_LAST";
2036
+ PositionChangeOrderByInput["swapImpactUsd_DESC"] = "swapImpactUsd_DESC";
2037
+ PositionChangeOrderByInput["swapImpactUsd_DESC_NULLS_FIRST"] = "swapImpactUsd_DESC_NULLS_FIRST";
2038
+ PositionChangeOrderByInput["swapImpactUsd_DESC_NULLS_LAST"] = "swapImpactUsd_DESC_NULLS_LAST";
2063
2039
  PositionChangeOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2064
2040
  PositionChangeOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2065
2041
  PositionChangeOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
@@ -2200,12 +2176,6 @@ var PositionFeesEntityOrderByInput;
2200
2176
  PositionFeesEntityOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2201
2177
  PositionFeesEntityOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2202
2178
  PositionFeesEntityOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2203
- PositionFeesEntityOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
2204
- PositionFeesEntityOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
2205
- PositionFeesEntityOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
2206
- PositionFeesEntityOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
2207
- PositionFeesEntityOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
2208
- PositionFeesEntityOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
2209
2179
  PositionFeesEntityOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2210
2180
  PositionFeesEntityOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2211
2181
  PositionFeesEntityOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -2274,6 +2244,12 @@ var PositionOrderByInput;
2274
2244
  PositionOrderByInput["accountStat_cumsumSize_DESC"] = "accountStat_cumsumSize_DESC";
2275
2245
  PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_FIRST"] = "accountStat_cumsumSize_DESC_NULLS_FIRST";
2276
2246
  PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_LAST"] = "accountStat_cumsumSize_DESC_NULLS_LAST";
2247
+ PositionOrderByInput["accountStat_deposits_ASC"] = "accountStat_deposits_ASC";
2248
+ PositionOrderByInput["accountStat_deposits_ASC_NULLS_FIRST"] = "accountStat_deposits_ASC_NULLS_FIRST";
2249
+ PositionOrderByInput["accountStat_deposits_ASC_NULLS_LAST"] = "accountStat_deposits_ASC_NULLS_LAST";
2250
+ PositionOrderByInput["accountStat_deposits_DESC"] = "accountStat_deposits_DESC";
2251
+ PositionOrderByInput["accountStat_deposits_DESC_NULLS_FIRST"] = "accountStat_deposits_DESC_NULLS_FIRST";
2252
+ PositionOrderByInput["accountStat_deposits_DESC_NULLS_LAST"] = "accountStat_deposits_DESC_NULLS_LAST";
2277
2253
  PositionOrderByInput["accountStat_id_ASC"] = "accountStat_id_ASC";
2278
2254
  PositionOrderByInput["accountStat_id_ASC_NULLS_FIRST"] = "accountStat_id_ASC_NULLS_FIRST";
2279
2255
  PositionOrderByInput["accountStat_id_ASC_NULLS_LAST"] = "accountStat_id_ASC_NULLS_LAST";
@@ -2316,6 +2292,12 @@ var PositionOrderByInput;
2316
2292
  PositionOrderByInput["accountStat_realizedPriceImpact_DESC"] = "accountStat_realizedPriceImpact_DESC";
2317
2293
  PositionOrderByInput["accountStat_realizedPriceImpact_DESC_NULLS_FIRST"] = "accountStat_realizedPriceImpact_DESC_NULLS_FIRST";
2318
2294
  PositionOrderByInput["accountStat_realizedPriceImpact_DESC_NULLS_LAST"] = "accountStat_realizedPriceImpact_DESC_NULLS_LAST";
2295
+ PositionOrderByInput["accountStat_realizedSwapImpact_ASC"] = "accountStat_realizedSwapImpact_ASC";
2296
+ PositionOrderByInput["accountStat_realizedSwapImpact_ASC_NULLS_FIRST"] = "accountStat_realizedSwapImpact_ASC_NULLS_FIRST";
2297
+ PositionOrderByInput["accountStat_realizedSwapImpact_ASC_NULLS_LAST"] = "accountStat_realizedSwapImpact_ASC_NULLS_LAST";
2298
+ PositionOrderByInput["accountStat_realizedSwapImpact_DESC"] = "accountStat_realizedSwapImpact_DESC";
2299
+ PositionOrderByInput["accountStat_realizedSwapImpact_DESC_NULLS_FIRST"] = "accountStat_realizedSwapImpact_DESC_NULLS_FIRST";
2300
+ PositionOrderByInput["accountStat_realizedSwapImpact_DESC_NULLS_LAST"] = "accountStat_realizedSwapImpact_DESC_NULLS_LAST";
2319
2301
  PositionOrderByInput["accountStat_sumMaxSize_ASC"] = "accountStat_sumMaxSize_ASC";
2320
2302
  PositionOrderByInput["accountStat_sumMaxSize_ASC_NULLS_FIRST"] = "accountStat_sumMaxSize_ASC_NULLS_FIRST";
2321
2303
  PositionOrderByInput["accountStat_sumMaxSize_ASC_NULLS_LAST"] = "accountStat_sumMaxSize_ASC_NULLS_LAST";
@@ -2376,6 +2358,12 @@ var PositionOrderByInput;
2376
2358
  PositionOrderByInput["isSnapshot_DESC"] = "isSnapshot_DESC";
2377
2359
  PositionOrderByInput["isSnapshot_DESC_NULLS_FIRST"] = "isSnapshot_DESC_NULLS_FIRST";
2378
2360
  PositionOrderByInput["isSnapshot_DESC_NULLS_LAST"] = "isSnapshot_DESC_NULLS_LAST";
2361
+ PositionOrderByInput["leverage_ASC"] = "leverage_ASC";
2362
+ PositionOrderByInput["leverage_ASC_NULLS_FIRST"] = "leverage_ASC_NULLS_FIRST";
2363
+ PositionOrderByInput["leverage_ASC_NULLS_LAST"] = "leverage_ASC_NULLS_LAST";
2364
+ PositionOrderByInput["leverage_DESC"] = "leverage_DESC";
2365
+ PositionOrderByInput["leverage_DESC_NULLS_FIRST"] = "leverage_DESC_NULLS_FIRST";
2366
+ PositionOrderByInput["leverage_DESC_NULLS_LAST"] = "leverage_DESC_NULLS_LAST";
2379
2367
  PositionOrderByInput["market_ASC"] = "market_ASC";
2380
2368
  PositionOrderByInput["market_ASC_NULLS_FIRST"] = "market_ASC_NULLS_FIRST";
2381
2369
  PositionOrderByInput["market_ASC_NULLS_LAST"] = "market_ASC_NULLS_LAST";
@@ -2400,6 +2388,12 @@ var PositionOrderByInput;
2400
2388
  PositionOrderByInput["positionKey_DESC"] = "positionKey_DESC";
2401
2389
  PositionOrderByInput["positionKey_DESC_NULLS_FIRST"] = "positionKey_DESC_NULLS_FIRST";
2402
2390
  PositionOrderByInput["positionKey_DESC_NULLS_LAST"] = "positionKey_DESC_NULLS_LAST";
2391
+ PositionOrderByInput["qualifyingPnl_ASC"] = "qualifyingPnl_ASC";
2392
+ PositionOrderByInput["qualifyingPnl_ASC_NULLS_FIRST"] = "qualifyingPnl_ASC_NULLS_FIRST";
2393
+ PositionOrderByInput["qualifyingPnl_ASC_NULLS_LAST"] = "qualifyingPnl_ASC_NULLS_LAST";
2394
+ PositionOrderByInput["qualifyingPnl_DESC"] = "qualifyingPnl_DESC";
2395
+ PositionOrderByInput["qualifyingPnl_DESC_NULLS_FIRST"] = "qualifyingPnl_DESC_NULLS_FIRST";
2396
+ PositionOrderByInput["qualifyingPnl_DESC_NULLS_LAST"] = "qualifyingPnl_DESC_NULLS_LAST";
2403
2397
  PositionOrderByInput["realizedFees_ASC"] = "realizedFees_ASC";
2404
2398
  PositionOrderByInput["realizedFees_ASC_NULLS_FIRST"] = "realizedFees_ASC_NULLS_FIRST";
2405
2399
  PositionOrderByInput["realizedFees_ASC_NULLS_LAST"] = "realizedFees_ASC_NULLS_LAST";
@@ -2455,6 +2449,45 @@ var PositionOrderByInput;
2455
2449
  PositionOrderByInput["unrealizedPriceImpact_DESC_NULLS_FIRST"] = "unrealizedPriceImpact_DESC_NULLS_FIRST";
2456
2450
  PositionOrderByInput["unrealizedPriceImpact_DESC_NULLS_LAST"] = "unrealizedPriceImpact_DESC_NULLS_LAST";
2457
2451
  })(PositionOrderByInput || (exports.PositionOrderByInput = PositionOrderByInput = {}));
2452
+ var PositionVolumeInfoOrderByInput;
2453
+ (function (PositionVolumeInfoOrderByInput) {
2454
+ PositionVolumeInfoOrderByInput["collateralToken_ASC"] = "collateralToken_ASC";
2455
+ PositionVolumeInfoOrderByInput["collateralToken_ASC_NULLS_FIRST"] = "collateralToken_ASC_NULLS_FIRST";
2456
+ PositionVolumeInfoOrderByInput["collateralToken_ASC_NULLS_LAST"] = "collateralToken_ASC_NULLS_LAST";
2457
+ PositionVolumeInfoOrderByInput["collateralToken_DESC"] = "collateralToken_DESC";
2458
+ PositionVolumeInfoOrderByInput["collateralToken_DESC_NULLS_FIRST"] = "collateralToken_DESC_NULLS_FIRST";
2459
+ PositionVolumeInfoOrderByInput["collateralToken_DESC_NULLS_LAST"] = "collateralToken_DESC_NULLS_LAST";
2460
+ PositionVolumeInfoOrderByInput["id_ASC"] = "id_ASC";
2461
+ PositionVolumeInfoOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
2462
+ PositionVolumeInfoOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
2463
+ PositionVolumeInfoOrderByInput["id_DESC"] = "id_DESC";
2464
+ PositionVolumeInfoOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
2465
+ PositionVolumeInfoOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
2466
+ PositionVolumeInfoOrderByInput["indexToken_ASC"] = "indexToken_ASC";
2467
+ PositionVolumeInfoOrderByInput["indexToken_ASC_NULLS_FIRST"] = "indexToken_ASC_NULLS_FIRST";
2468
+ PositionVolumeInfoOrderByInput["indexToken_ASC_NULLS_LAST"] = "indexToken_ASC_NULLS_LAST";
2469
+ PositionVolumeInfoOrderByInput["indexToken_DESC"] = "indexToken_DESC";
2470
+ PositionVolumeInfoOrderByInput["indexToken_DESC_NULLS_FIRST"] = "indexToken_DESC_NULLS_FIRST";
2471
+ PositionVolumeInfoOrderByInput["indexToken_DESC_NULLS_LAST"] = "indexToken_DESC_NULLS_LAST";
2472
+ PositionVolumeInfoOrderByInput["period_ASC"] = "period_ASC";
2473
+ PositionVolumeInfoOrderByInput["period_ASC_NULLS_FIRST"] = "period_ASC_NULLS_FIRST";
2474
+ PositionVolumeInfoOrderByInput["period_ASC_NULLS_LAST"] = "period_ASC_NULLS_LAST";
2475
+ PositionVolumeInfoOrderByInput["period_DESC"] = "period_DESC";
2476
+ PositionVolumeInfoOrderByInput["period_DESC_NULLS_FIRST"] = "period_DESC_NULLS_FIRST";
2477
+ PositionVolumeInfoOrderByInput["period_DESC_NULLS_LAST"] = "period_DESC_NULLS_LAST";
2478
+ PositionVolumeInfoOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2479
+ PositionVolumeInfoOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2480
+ PositionVolumeInfoOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
2481
+ PositionVolumeInfoOrderByInput["timestamp_DESC"] = "timestamp_DESC";
2482
+ PositionVolumeInfoOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
2483
+ PositionVolumeInfoOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
2484
+ PositionVolumeInfoOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
2485
+ PositionVolumeInfoOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
2486
+ PositionVolumeInfoOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
2487
+ PositionVolumeInfoOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
2488
+ PositionVolumeInfoOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
2489
+ PositionVolumeInfoOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
2490
+ })(PositionVolumeInfoOrderByInput || (exports.PositionVolumeInfoOrderByInput = PositionVolumeInfoOrderByInput = {}));
2458
2491
  var PriceOrderByInput;
2459
2492
  (function (PriceOrderByInput) {
2460
2493
  PriceOrderByInput["id_ASC"] = "id_ASC";
@@ -2540,6 +2573,93 @@ var ProcessorStatusOrderByInput;
2540
2573
  ProcessorStatusOrderByInput["lastProcessorCallTimestamp_DESC_NULLS_FIRST"] = "lastProcessorCallTimestamp_DESC_NULLS_FIRST";
2541
2574
  ProcessorStatusOrderByInput["lastProcessorCallTimestamp_DESC_NULLS_LAST"] = "lastProcessorCallTimestamp_DESC_NULLS_LAST";
2542
2575
  })(ProcessorStatusOrderByInput || (exports.ProcessorStatusOrderByInput = ProcessorStatusOrderByInput = {}));
2576
+ var SwapFeesInfoOrderByInput;
2577
+ (function (SwapFeesInfoOrderByInput) {
2578
+ SwapFeesInfoOrderByInput["feeReceiverAmount_ASC"] = "feeReceiverAmount_ASC";
2579
+ SwapFeesInfoOrderByInput["feeReceiverAmount_ASC_NULLS_FIRST"] = "feeReceiverAmount_ASC_NULLS_FIRST";
2580
+ SwapFeesInfoOrderByInput["feeReceiverAmount_ASC_NULLS_LAST"] = "feeReceiverAmount_ASC_NULLS_LAST";
2581
+ SwapFeesInfoOrderByInput["feeReceiverAmount_DESC"] = "feeReceiverAmount_DESC";
2582
+ SwapFeesInfoOrderByInput["feeReceiverAmount_DESC_NULLS_FIRST"] = "feeReceiverAmount_DESC_NULLS_FIRST";
2583
+ SwapFeesInfoOrderByInput["feeReceiverAmount_DESC_NULLS_LAST"] = "feeReceiverAmount_DESC_NULLS_LAST";
2584
+ SwapFeesInfoOrderByInput["feeUsdForPool_ASC"] = "feeUsdForPool_ASC";
2585
+ SwapFeesInfoOrderByInput["feeUsdForPool_ASC_NULLS_FIRST"] = "feeUsdForPool_ASC_NULLS_FIRST";
2586
+ SwapFeesInfoOrderByInput["feeUsdForPool_ASC_NULLS_LAST"] = "feeUsdForPool_ASC_NULLS_LAST";
2587
+ SwapFeesInfoOrderByInput["feeUsdForPool_DESC"] = "feeUsdForPool_DESC";
2588
+ SwapFeesInfoOrderByInput["feeUsdForPool_DESC_NULLS_FIRST"] = "feeUsdForPool_DESC_NULLS_FIRST";
2589
+ SwapFeesInfoOrderByInput["feeUsdForPool_DESC_NULLS_LAST"] = "feeUsdForPool_DESC_NULLS_LAST";
2590
+ SwapFeesInfoOrderByInput["id_ASC"] = "id_ASC";
2591
+ SwapFeesInfoOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
2592
+ SwapFeesInfoOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
2593
+ SwapFeesInfoOrderByInput["id_DESC"] = "id_DESC";
2594
+ SwapFeesInfoOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
2595
+ SwapFeesInfoOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
2596
+ SwapFeesInfoOrderByInput["marketAddress_ASC"] = "marketAddress_ASC";
2597
+ SwapFeesInfoOrderByInput["marketAddress_ASC_NULLS_FIRST"] = "marketAddress_ASC_NULLS_FIRST";
2598
+ SwapFeesInfoOrderByInput["marketAddress_ASC_NULLS_LAST"] = "marketAddress_ASC_NULLS_LAST";
2599
+ SwapFeesInfoOrderByInput["marketAddress_DESC"] = "marketAddress_DESC";
2600
+ SwapFeesInfoOrderByInput["marketAddress_DESC_NULLS_FIRST"] = "marketAddress_DESC_NULLS_FIRST";
2601
+ SwapFeesInfoOrderByInput["marketAddress_DESC_NULLS_LAST"] = "marketAddress_DESC_NULLS_LAST";
2602
+ SwapFeesInfoOrderByInput["swapFeeType_ASC"] = "swapFeeType_ASC";
2603
+ SwapFeesInfoOrderByInput["swapFeeType_ASC_NULLS_FIRST"] = "swapFeeType_ASC_NULLS_FIRST";
2604
+ SwapFeesInfoOrderByInput["swapFeeType_ASC_NULLS_LAST"] = "swapFeeType_ASC_NULLS_LAST";
2605
+ SwapFeesInfoOrderByInput["swapFeeType_DESC"] = "swapFeeType_DESC";
2606
+ SwapFeesInfoOrderByInput["swapFeeType_DESC_NULLS_FIRST"] = "swapFeeType_DESC_NULLS_FIRST";
2607
+ SwapFeesInfoOrderByInput["swapFeeType_DESC_NULLS_LAST"] = "swapFeeType_DESC_NULLS_LAST";
2608
+ SwapFeesInfoOrderByInput["tokenAddress_ASC"] = "tokenAddress_ASC";
2609
+ SwapFeesInfoOrderByInput["tokenAddress_ASC_NULLS_FIRST"] = "tokenAddress_ASC_NULLS_FIRST";
2610
+ SwapFeesInfoOrderByInput["tokenAddress_ASC_NULLS_LAST"] = "tokenAddress_ASC_NULLS_LAST";
2611
+ SwapFeesInfoOrderByInput["tokenAddress_DESC"] = "tokenAddress_DESC";
2612
+ SwapFeesInfoOrderByInput["tokenAddress_DESC_NULLS_FIRST"] = "tokenAddress_DESC_NULLS_FIRST";
2613
+ SwapFeesInfoOrderByInput["tokenAddress_DESC_NULLS_LAST"] = "tokenAddress_DESC_NULLS_LAST";
2614
+ SwapFeesInfoOrderByInput["tokenPrice_ASC"] = "tokenPrice_ASC";
2615
+ SwapFeesInfoOrderByInput["tokenPrice_ASC_NULLS_FIRST"] = "tokenPrice_ASC_NULLS_FIRST";
2616
+ SwapFeesInfoOrderByInput["tokenPrice_ASC_NULLS_LAST"] = "tokenPrice_ASC_NULLS_LAST";
2617
+ SwapFeesInfoOrderByInput["tokenPrice_DESC"] = "tokenPrice_DESC";
2618
+ SwapFeesInfoOrderByInput["tokenPrice_DESC_NULLS_FIRST"] = "tokenPrice_DESC_NULLS_FIRST";
2619
+ SwapFeesInfoOrderByInput["tokenPrice_DESC_NULLS_LAST"] = "tokenPrice_DESC_NULLS_LAST";
2620
+ SwapFeesInfoOrderByInput["transaction_blockNumber_ASC"] = "transaction_blockNumber_ASC";
2621
+ SwapFeesInfoOrderByInput["transaction_blockNumber_ASC_NULLS_FIRST"] = "transaction_blockNumber_ASC_NULLS_FIRST";
2622
+ SwapFeesInfoOrderByInput["transaction_blockNumber_ASC_NULLS_LAST"] = "transaction_blockNumber_ASC_NULLS_LAST";
2623
+ SwapFeesInfoOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2624
+ SwapFeesInfoOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2625
+ SwapFeesInfoOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2626
+ SwapFeesInfoOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2627
+ SwapFeesInfoOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2628
+ SwapFeesInfoOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
2629
+ SwapFeesInfoOrderByInput["transaction_from_DESC"] = "transaction_from_DESC";
2630
+ SwapFeesInfoOrderByInput["transaction_from_DESC_NULLS_FIRST"] = "transaction_from_DESC_NULLS_FIRST";
2631
+ SwapFeesInfoOrderByInput["transaction_from_DESC_NULLS_LAST"] = "transaction_from_DESC_NULLS_LAST";
2632
+ SwapFeesInfoOrderByInput["transaction_hash_ASC"] = "transaction_hash_ASC";
2633
+ SwapFeesInfoOrderByInput["transaction_hash_ASC_NULLS_FIRST"] = "transaction_hash_ASC_NULLS_FIRST";
2634
+ SwapFeesInfoOrderByInput["transaction_hash_ASC_NULLS_LAST"] = "transaction_hash_ASC_NULLS_LAST";
2635
+ SwapFeesInfoOrderByInput["transaction_hash_DESC"] = "transaction_hash_DESC";
2636
+ SwapFeesInfoOrderByInput["transaction_hash_DESC_NULLS_FIRST"] = "transaction_hash_DESC_NULLS_FIRST";
2637
+ SwapFeesInfoOrderByInput["transaction_hash_DESC_NULLS_LAST"] = "transaction_hash_DESC_NULLS_LAST";
2638
+ SwapFeesInfoOrderByInput["transaction_id_ASC"] = "transaction_id_ASC";
2639
+ SwapFeesInfoOrderByInput["transaction_id_ASC_NULLS_FIRST"] = "transaction_id_ASC_NULLS_FIRST";
2640
+ SwapFeesInfoOrderByInput["transaction_id_ASC_NULLS_LAST"] = "transaction_id_ASC_NULLS_LAST";
2641
+ SwapFeesInfoOrderByInput["transaction_id_DESC"] = "transaction_id_DESC";
2642
+ SwapFeesInfoOrderByInput["transaction_id_DESC_NULLS_FIRST"] = "transaction_id_DESC_NULLS_FIRST";
2643
+ SwapFeesInfoOrderByInput["transaction_id_DESC_NULLS_LAST"] = "transaction_id_DESC_NULLS_LAST";
2644
+ SwapFeesInfoOrderByInput["transaction_timestamp_ASC"] = "transaction_timestamp_ASC";
2645
+ SwapFeesInfoOrderByInput["transaction_timestamp_ASC_NULLS_FIRST"] = "transaction_timestamp_ASC_NULLS_FIRST";
2646
+ SwapFeesInfoOrderByInput["transaction_timestamp_ASC_NULLS_LAST"] = "transaction_timestamp_ASC_NULLS_LAST";
2647
+ SwapFeesInfoOrderByInput["transaction_timestamp_DESC"] = "transaction_timestamp_DESC";
2648
+ SwapFeesInfoOrderByInput["transaction_timestamp_DESC_NULLS_FIRST"] = "transaction_timestamp_DESC_NULLS_FIRST";
2649
+ SwapFeesInfoOrderByInput["transaction_timestamp_DESC_NULLS_LAST"] = "transaction_timestamp_DESC_NULLS_LAST";
2650
+ SwapFeesInfoOrderByInput["transaction_to_ASC"] = "transaction_to_ASC";
2651
+ SwapFeesInfoOrderByInput["transaction_to_ASC_NULLS_FIRST"] = "transaction_to_ASC_NULLS_FIRST";
2652
+ SwapFeesInfoOrderByInput["transaction_to_ASC_NULLS_LAST"] = "transaction_to_ASC_NULLS_LAST";
2653
+ SwapFeesInfoOrderByInput["transaction_to_DESC"] = "transaction_to_DESC";
2654
+ SwapFeesInfoOrderByInput["transaction_to_DESC_NULLS_FIRST"] = "transaction_to_DESC_NULLS_FIRST";
2655
+ SwapFeesInfoOrderByInput["transaction_to_DESC_NULLS_LAST"] = "transaction_to_DESC_NULLS_LAST";
2656
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_ASC"] = "transaction_transactionIndex_ASC";
2657
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_ASC_NULLS_FIRST"] = "transaction_transactionIndex_ASC_NULLS_FIRST";
2658
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_ASC_NULLS_LAST"] = "transaction_transactionIndex_ASC_NULLS_LAST";
2659
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_DESC"] = "transaction_transactionIndex_DESC";
2660
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_DESC_NULLS_FIRST"] = "transaction_transactionIndex_DESC_NULLS_FIRST";
2661
+ SwapFeesInfoOrderByInput["transaction_transactionIndex_DESC_NULLS_LAST"] = "transaction_transactionIndex_DESC_NULLS_LAST";
2662
+ })(SwapFeesInfoOrderByInput || (exports.SwapFeesInfoOrderByInput = SwapFeesInfoOrderByInput = {}));
2543
2663
  var SwapInfoOrderByInput;
2544
2664
  (function (SwapInfoOrderByInput) {
2545
2665
  SwapInfoOrderByInput["amountInAfterFees_ASC"] = "amountInAfterFees_ASC";
@@ -2620,12 +2740,6 @@ var SwapInfoOrderByInput;
2620
2740
  SwapInfoOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2621
2741
  SwapInfoOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2622
2742
  SwapInfoOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2623
- SwapInfoOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
2624
- SwapInfoOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
2625
- SwapInfoOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
2626
- SwapInfoOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
2627
- SwapInfoOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
2628
- SwapInfoOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
2629
2743
  SwapInfoOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2630
2744
  SwapInfoOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2631
2745
  SwapInfoOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -2663,6 +2777,45 @@ var SwapInfoOrderByInput;
2663
2777
  SwapInfoOrderByInput["transaction_transactionIndex_DESC_NULLS_FIRST"] = "transaction_transactionIndex_DESC_NULLS_FIRST";
2664
2778
  SwapInfoOrderByInput["transaction_transactionIndex_DESC_NULLS_LAST"] = "transaction_transactionIndex_DESC_NULLS_LAST";
2665
2779
  })(SwapInfoOrderByInput || (exports.SwapInfoOrderByInput = SwapInfoOrderByInput = {}));
2780
+ var SwapVolumeInfoOrderByInput;
2781
+ (function (SwapVolumeInfoOrderByInput) {
2782
+ SwapVolumeInfoOrderByInput["id_ASC"] = "id_ASC";
2783
+ SwapVolumeInfoOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
2784
+ SwapVolumeInfoOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
2785
+ SwapVolumeInfoOrderByInput["id_DESC"] = "id_DESC";
2786
+ SwapVolumeInfoOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
2787
+ SwapVolumeInfoOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
2788
+ SwapVolumeInfoOrderByInput["period_ASC"] = "period_ASC";
2789
+ SwapVolumeInfoOrderByInput["period_ASC_NULLS_FIRST"] = "period_ASC_NULLS_FIRST";
2790
+ SwapVolumeInfoOrderByInput["period_ASC_NULLS_LAST"] = "period_ASC_NULLS_LAST";
2791
+ SwapVolumeInfoOrderByInput["period_DESC"] = "period_DESC";
2792
+ SwapVolumeInfoOrderByInput["period_DESC_NULLS_FIRST"] = "period_DESC_NULLS_FIRST";
2793
+ SwapVolumeInfoOrderByInput["period_DESC_NULLS_LAST"] = "period_DESC_NULLS_LAST";
2794
+ SwapVolumeInfoOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2795
+ SwapVolumeInfoOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2796
+ SwapVolumeInfoOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
2797
+ SwapVolumeInfoOrderByInput["timestamp_DESC"] = "timestamp_DESC";
2798
+ SwapVolumeInfoOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
2799
+ SwapVolumeInfoOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
2800
+ SwapVolumeInfoOrderByInput["tokenIn_ASC"] = "tokenIn_ASC";
2801
+ SwapVolumeInfoOrderByInput["tokenIn_ASC_NULLS_FIRST"] = "tokenIn_ASC_NULLS_FIRST";
2802
+ SwapVolumeInfoOrderByInput["tokenIn_ASC_NULLS_LAST"] = "tokenIn_ASC_NULLS_LAST";
2803
+ SwapVolumeInfoOrderByInput["tokenIn_DESC"] = "tokenIn_DESC";
2804
+ SwapVolumeInfoOrderByInput["tokenIn_DESC_NULLS_FIRST"] = "tokenIn_DESC_NULLS_FIRST";
2805
+ SwapVolumeInfoOrderByInput["tokenIn_DESC_NULLS_LAST"] = "tokenIn_DESC_NULLS_LAST";
2806
+ SwapVolumeInfoOrderByInput["tokenOut_ASC"] = "tokenOut_ASC";
2807
+ SwapVolumeInfoOrderByInput["tokenOut_ASC_NULLS_FIRST"] = "tokenOut_ASC_NULLS_FIRST";
2808
+ SwapVolumeInfoOrderByInput["tokenOut_ASC_NULLS_LAST"] = "tokenOut_ASC_NULLS_LAST";
2809
+ SwapVolumeInfoOrderByInput["tokenOut_DESC"] = "tokenOut_DESC";
2810
+ SwapVolumeInfoOrderByInput["tokenOut_DESC_NULLS_FIRST"] = "tokenOut_DESC_NULLS_FIRST";
2811
+ SwapVolumeInfoOrderByInput["tokenOut_DESC_NULLS_LAST"] = "tokenOut_DESC_NULLS_LAST";
2812
+ SwapVolumeInfoOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
2813
+ SwapVolumeInfoOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
2814
+ SwapVolumeInfoOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
2815
+ SwapVolumeInfoOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
2816
+ SwapVolumeInfoOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
2817
+ SwapVolumeInfoOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
2818
+ })(SwapVolumeInfoOrderByInput || (exports.SwapVolumeInfoOrderByInput = SwapVolumeInfoOrderByInput = {}));
2666
2819
  var TradeActionOrderByInput;
2667
2820
  (function (TradeActionOrderByInput) {
2668
2821
  TradeActionOrderByInput["acceptablePrice_ASC"] = "acceptablePrice_ASC";
@@ -2701,12 +2854,24 @@ var TradeActionOrderByInput;
2701
2854
  TradeActionOrderByInput["collateralTokenPriceMin_DESC"] = "collateralTokenPriceMin_DESC";
2702
2855
  TradeActionOrderByInput["collateralTokenPriceMin_DESC_NULLS_FIRST"] = "collateralTokenPriceMin_DESC_NULLS_FIRST";
2703
2856
  TradeActionOrderByInput["collateralTokenPriceMin_DESC_NULLS_LAST"] = "collateralTokenPriceMin_DESC_NULLS_LAST";
2857
+ TradeActionOrderByInput["collateralTotalCostAmount_ASC"] = "collateralTotalCostAmount_ASC";
2858
+ TradeActionOrderByInput["collateralTotalCostAmount_ASC_NULLS_FIRST"] = "collateralTotalCostAmount_ASC_NULLS_FIRST";
2859
+ TradeActionOrderByInput["collateralTotalCostAmount_ASC_NULLS_LAST"] = "collateralTotalCostAmount_ASC_NULLS_LAST";
2860
+ TradeActionOrderByInput["collateralTotalCostAmount_DESC"] = "collateralTotalCostAmount_DESC";
2861
+ TradeActionOrderByInput["collateralTotalCostAmount_DESC_NULLS_FIRST"] = "collateralTotalCostAmount_DESC_NULLS_FIRST";
2862
+ TradeActionOrderByInput["collateralTotalCostAmount_DESC_NULLS_LAST"] = "collateralTotalCostAmount_DESC_NULLS_LAST";
2704
2863
  TradeActionOrderByInput["contractTriggerPrice_ASC"] = "contractTriggerPrice_ASC";
2705
2864
  TradeActionOrderByInput["contractTriggerPrice_ASC_NULLS_FIRST"] = "contractTriggerPrice_ASC_NULLS_FIRST";
2706
2865
  TradeActionOrderByInput["contractTriggerPrice_ASC_NULLS_LAST"] = "contractTriggerPrice_ASC_NULLS_LAST";
2707
2866
  TradeActionOrderByInput["contractTriggerPrice_DESC"] = "contractTriggerPrice_DESC";
2708
2867
  TradeActionOrderByInput["contractTriggerPrice_DESC_NULLS_FIRST"] = "contractTriggerPrice_DESC_NULLS_FIRST";
2709
2868
  TradeActionOrderByInput["contractTriggerPrice_DESC_NULLS_LAST"] = "contractTriggerPrice_DESC_NULLS_LAST";
2869
+ TradeActionOrderByInput["decreasePositionSwapType_ASC"] = "decreasePositionSwapType_ASC";
2870
+ TradeActionOrderByInput["decreasePositionSwapType_ASC_NULLS_FIRST"] = "decreasePositionSwapType_ASC_NULLS_FIRST";
2871
+ TradeActionOrderByInput["decreasePositionSwapType_ASC_NULLS_LAST"] = "decreasePositionSwapType_ASC_NULLS_LAST";
2872
+ TradeActionOrderByInput["decreasePositionSwapType_DESC"] = "decreasePositionSwapType_DESC";
2873
+ TradeActionOrderByInput["decreasePositionSwapType_DESC_NULLS_FIRST"] = "decreasePositionSwapType_DESC_NULLS_FIRST";
2874
+ TradeActionOrderByInput["decreasePositionSwapType_DESC_NULLS_LAST"] = "decreasePositionSwapType_DESC_NULLS_LAST";
2710
2875
  TradeActionOrderByInput["eventName_ASC"] = "eventName_ASC";
2711
2876
  TradeActionOrderByInput["eventName_ASC_NULLS_FIRST"] = "eventName_ASC_NULLS_FIRST";
2712
2877
  TradeActionOrderByInput["eventName_ASC_NULLS_LAST"] = "eventName_ASC_NULLS_LAST";
@@ -2857,6 +3022,12 @@ var TradeActionOrderByInput;
2857
3022
  TradeActionOrderByInput["shouldUnwrapNativeToken_DESC"] = "shouldUnwrapNativeToken_DESC";
2858
3023
  TradeActionOrderByInput["shouldUnwrapNativeToken_DESC_NULLS_FIRST"] = "shouldUnwrapNativeToken_DESC_NULLS_FIRST";
2859
3024
  TradeActionOrderByInput["shouldUnwrapNativeToken_DESC_NULLS_LAST"] = "shouldUnwrapNativeToken_DESC_NULLS_LAST";
3025
+ TradeActionOrderByInput["sizeDeltaInTokens_ASC"] = "sizeDeltaInTokens_ASC";
3026
+ TradeActionOrderByInput["sizeDeltaInTokens_ASC_NULLS_FIRST"] = "sizeDeltaInTokens_ASC_NULLS_FIRST";
3027
+ TradeActionOrderByInput["sizeDeltaInTokens_ASC_NULLS_LAST"] = "sizeDeltaInTokens_ASC_NULLS_LAST";
3028
+ TradeActionOrderByInput["sizeDeltaInTokens_DESC"] = "sizeDeltaInTokens_DESC";
3029
+ TradeActionOrderByInput["sizeDeltaInTokens_DESC_NULLS_FIRST"] = "sizeDeltaInTokens_DESC_NULLS_FIRST";
3030
+ TradeActionOrderByInput["sizeDeltaInTokens_DESC_NULLS_LAST"] = "sizeDeltaInTokens_DESC_NULLS_LAST";
2860
3031
  TradeActionOrderByInput["sizeDeltaUsd_ASC"] = "sizeDeltaUsd_ASC";
2861
3032
  TradeActionOrderByInput["sizeDeltaUsd_ASC_NULLS_FIRST"] = "sizeDeltaUsd_ASC_NULLS_FIRST";
2862
3033
  TradeActionOrderByInput["sizeDeltaUsd_ASC_NULLS_LAST"] = "sizeDeltaUsd_ASC_NULLS_LAST";
@@ -2869,6 +3040,12 @@ var TradeActionOrderByInput;
2869
3040
  TradeActionOrderByInput["srcChainId_DESC"] = "srcChainId_DESC";
2870
3041
  TradeActionOrderByInput["srcChainId_DESC_NULLS_FIRST"] = "srcChainId_DESC_NULLS_FIRST";
2871
3042
  TradeActionOrderByInput["srcChainId_DESC_NULLS_LAST"] = "srcChainId_DESC_NULLS_LAST";
3043
+ TradeActionOrderByInput["swapImpactUsd_ASC"] = "swapImpactUsd_ASC";
3044
+ TradeActionOrderByInput["swapImpactUsd_ASC_NULLS_FIRST"] = "swapImpactUsd_ASC_NULLS_FIRST";
3045
+ TradeActionOrderByInput["swapImpactUsd_ASC_NULLS_LAST"] = "swapImpactUsd_ASC_NULLS_LAST";
3046
+ TradeActionOrderByInput["swapImpactUsd_DESC"] = "swapImpactUsd_DESC";
3047
+ TradeActionOrderByInput["swapImpactUsd_DESC_NULLS_FIRST"] = "swapImpactUsd_DESC_NULLS_FIRST";
3048
+ TradeActionOrderByInput["swapImpactUsd_DESC_NULLS_LAST"] = "swapImpactUsd_DESC_NULLS_LAST";
2872
3049
  TradeActionOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2873
3050
  TradeActionOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2874
3051
  TradeActionOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
@@ -2887,12 +3064,6 @@ var TradeActionOrderByInput;
2887
3064
  TradeActionOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2888
3065
  TradeActionOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2889
3066
  TradeActionOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2890
- TradeActionOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
2891
- TradeActionOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
2892
- TradeActionOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
2893
- TradeActionOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
2894
- TradeActionOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
2895
- TradeActionOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
2896
3067
  TradeActionOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2897
3068
  TradeActionOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2898
3069
  TradeActionOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -2956,12 +3127,6 @@ var TransactionOrderByInput;
2956
3127
  TransactionOrderByInput["blockNumber_DESC"] = "blockNumber_DESC";
2957
3128
  TransactionOrderByInput["blockNumber_DESC_NULLS_FIRST"] = "blockNumber_DESC_NULLS_FIRST";
2958
3129
  TransactionOrderByInput["blockNumber_DESC_NULLS_LAST"] = "blockNumber_DESC_NULLS_LAST";
2959
- TransactionOrderByInput["chainId_ASC"] = "chainId_ASC";
2960
- TransactionOrderByInput["chainId_ASC_NULLS_FIRST"] = "chainId_ASC_NULLS_FIRST";
2961
- TransactionOrderByInput["chainId_ASC_NULLS_LAST"] = "chainId_ASC_NULLS_LAST";
2962
- TransactionOrderByInput["chainId_DESC"] = "chainId_DESC";
2963
- TransactionOrderByInput["chainId_DESC_NULLS_FIRST"] = "chainId_DESC_NULLS_FIRST";
2964
- TransactionOrderByInput["chainId_DESC_NULLS_LAST"] = "chainId_DESC_NULLS_LAST";
2965
3130
  TransactionOrderByInput["from_ASC"] = "from_ASC";
2966
3131
  TransactionOrderByInput["from_ASC_NULLS_FIRST"] = "from_ASC_NULLS_FIRST";
2967
3132
  TransactionOrderByInput["from_ASC_NULLS_LAST"] = "from_ASC_NULLS_LAST";
@@ -2999,3 +3164,54 @@ var TransactionOrderByInput;
2999
3164
  TransactionOrderByInput["transactionIndex_DESC_NULLS_FIRST"] = "transactionIndex_DESC_NULLS_FIRST";
3000
3165
  TransactionOrderByInput["transactionIndex_DESC_NULLS_LAST"] = "transactionIndex_DESC_NULLS_LAST";
3001
3166
  })(TransactionOrderByInput || (exports.TransactionOrderByInput = TransactionOrderByInput = {}));
3167
+ var VolumeInfoOrderByInput;
3168
+ (function (VolumeInfoOrderByInput) {
3169
+ VolumeInfoOrderByInput["depositVolumeUsd_ASC"] = "depositVolumeUsd_ASC";
3170
+ VolumeInfoOrderByInput["depositVolumeUsd_ASC_NULLS_FIRST"] = "depositVolumeUsd_ASC_NULLS_FIRST";
3171
+ VolumeInfoOrderByInput["depositVolumeUsd_ASC_NULLS_LAST"] = "depositVolumeUsd_ASC_NULLS_LAST";
3172
+ VolumeInfoOrderByInput["depositVolumeUsd_DESC"] = "depositVolumeUsd_DESC";
3173
+ VolumeInfoOrderByInput["depositVolumeUsd_DESC_NULLS_FIRST"] = "depositVolumeUsd_DESC_NULLS_FIRST";
3174
+ VolumeInfoOrderByInput["depositVolumeUsd_DESC_NULLS_LAST"] = "depositVolumeUsd_DESC_NULLS_LAST";
3175
+ VolumeInfoOrderByInput["id_ASC"] = "id_ASC";
3176
+ VolumeInfoOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
3177
+ VolumeInfoOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
3178
+ VolumeInfoOrderByInput["id_DESC"] = "id_DESC";
3179
+ VolumeInfoOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
3180
+ VolumeInfoOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
3181
+ VolumeInfoOrderByInput["marginVolumeUsd_ASC"] = "marginVolumeUsd_ASC";
3182
+ VolumeInfoOrderByInput["marginVolumeUsd_ASC_NULLS_FIRST"] = "marginVolumeUsd_ASC_NULLS_FIRST";
3183
+ VolumeInfoOrderByInput["marginVolumeUsd_ASC_NULLS_LAST"] = "marginVolumeUsd_ASC_NULLS_LAST";
3184
+ VolumeInfoOrderByInput["marginVolumeUsd_DESC"] = "marginVolumeUsd_DESC";
3185
+ VolumeInfoOrderByInput["marginVolumeUsd_DESC_NULLS_FIRST"] = "marginVolumeUsd_DESC_NULLS_FIRST";
3186
+ VolumeInfoOrderByInput["marginVolumeUsd_DESC_NULLS_LAST"] = "marginVolumeUsd_DESC_NULLS_LAST";
3187
+ VolumeInfoOrderByInput["period_ASC"] = "period_ASC";
3188
+ VolumeInfoOrderByInput["period_ASC_NULLS_FIRST"] = "period_ASC_NULLS_FIRST";
3189
+ VolumeInfoOrderByInput["period_ASC_NULLS_LAST"] = "period_ASC_NULLS_LAST";
3190
+ VolumeInfoOrderByInput["period_DESC"] = "period_DESC";
3191
+ VolumeInfoOrderByInput["period_DESC_NULLS_FIRST"] = "period_DESC_NULLS_FIRST";
3192
+ VolumeInfoOrderByInput["period_DESC_NULLS_LAST"] = "period_DESC_NULLS_LAST";
3193
+ VolumeInfoOrderByInput["swapVolumeUsd_ASC"] = "swapVolumeUsd_ASC";
3194
+ VolumeInfoOrderByInput["swapVolumeUsd_ASC_NULLS_FIRST"] = "swapVolumeUsd_ASC_NULLS_FIRST";
3195
+ VolumeInfoOrderByInput["swapVolumeUsd_ASC_NULLS_LAST"] = "swapVolumeUsd_ASC_NULLS_LAST";
3196
+ VolumeInfoOrderByInput["swapVolumeUsd_DESC"] = "swapVolumeUsd_DESC";
3197
+ VolumeInfoOrderByInput["swapVolumeUsd_DESC_NULLS_FIRST"] = "swapVolumeUsd_DESC_NULLS_FIRST";
3198
+ VolumeInfoOrderByInput["swapVolumeUsd_DESC_NULLS_LAST"] = "swapVolumeUsd_DESC_NULLS_LAST";
3199
+ VolumeInfoOrderByInput["timestamp_ASC"] = "timestamp_ASC";
3200
+ VolumeInfoOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
3201
+ VolumeInfoOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
3202
+ VolumeInfoOrderByInput["timestamp_DESC"] = "timestamp_DESC";
3203
+ VolumeInfoOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
3204
+ VolumeInfoOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
3205
+ VolumeInfoOrderByInput["volumeUsd_ASC"] = "volumeUsd_ASC";
3206
+ VolumeInfoOrderByInput["volumeUsd_ASC_NULLS_FIRST"] = "volumeUsd_ASC_NULLS_FIRST";
3207
+ VolumeInfoOrderByInput["volumeUsd_ASC_NULLS_LAST"] = "volumeUsd_ASC_NULLS_LAST";
3208
+ VolumeInfoOrderByInput["volumeUsd_DESC"] = "volumeUsd_DESC";
3209
+ VolumeInfoOrderByInput["volumeUsd_DESC_NULLS_FIRST"] = "volumeUsd_DESC_NULLS_FIRST";
3210
+ VolumeInfoOrderByInput["volumeUsd_DESC_NULLS_LAST"] = "volumeUsd_DESC_NULLS_LAST";
3211
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_ASC"] = "withdrawalVolumeUsd_ASC";
3212
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_ASC_NULLS_FIRST"] = "withdrawalVolumeUsd_ASC_NULLS_FIRST";
3213
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_ASC_NULLS_LAST"] = "withdrawalVolumeUsd_ASC_NULLS_LAST";
3214
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_DESC"] = "withdrawalVolumeUsd_DESC";
3215
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_DESC_NULLS_FIRST"] = "withdrawalVolumeUsd_DESC_NULLS_FIRST";
3216
+ VolumeInfoOrderByInput["withdrawalVolumeUsd_DESC_NULLS_LAST"] = "withdrawalVolumeUsd_DESC_NULLS_LAST";
3217
+ })(VolumeInfoOrderByInput || (exports.VolumeInfoOrderByInput = VolumeInfoOrderByInput = {}));