@gmx-io/sdk 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (435) 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/LayerZeroProvider.js +161 -0
  17. package/build/cjs/src/abis/MintableBaseToken.js +323 -0
  18. package/build/cjs/src/abis/Multicall.js +231 -0
  19. package/build/cjs/src/abis/MultichainClaimsRouter.js +1266 -0
  20. package/build/cjs/src/abis/MultichainGlvRouter.js +1150 -0
  21. package/build/cjs/src/abis/MultichainGmRouter.js +1449 -0
  22. package/build/cjs/src/abis/MultichainOrderRouter.js +2009 -0
  23. package/build/cjs/src/abis/MultichainSubaccountRouter.js +2069 -0
  24. package/build/cjs/src/abis/MultichainTransferRouter.js +915 -0
  25. package/build/cjs/src/abis/MultichainUtils.js +133 -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 +14 -1
  58. package/build/cjs/src/configs/chainIds.js +17 -0
  59. package/build/cjs/src/configs/chains.js +77 -66
  60. package/build/cjs/src/configs/contracts.js +59 -80
  61. package/build/cjs/src/configs/dataStore.js +6 -10
  62. package/build/cjs/src/configs/express.js +16 -3
  63. package/build/cjs/src/configs/factors.js +2 -3
  64. package/build/cjs/src/configs/markets.js +127 -1
  65. package/build/cjs/src/configs/multichain.js +26 -0
  66. package/build/cjs/src/configs/oracleKeeper.js +19 -4
  67. package/build/cjs/src/configs/tokens.js +110 -5
  68. package/build/cjs/src/configs/uniswapV3.js +18 -0
  69. package/build/cjs/src/configs/venus.js +58 -0
  70. package/build/cjs/src/modules/markets/index.js +36 -14
  71. package/build/cjs/src/modules/markets/query-builders.js +6 -10
  72. package/build/cjs/src/modules/orders/helpers.js +1 -0
  73. package/build/cjs/src/modules/positions/positions.js +10 -2
  74. package/build/cjs/src/modules/trades/trades.js +2 -2
  75. package/build/cjs/src/prebuilt/hashedKinkModelMarketRatesKeys.json +88 -0
  76. package/build/cjs/src/prebuilt/hashedMarketConfigKeys.json +907 -453
  77. package/build/cjs/src/prebuilt/hashedMarketValuesKeys.json +165 -0
  78. package/build/cjs/src/test/mock.js +3 -3
  79. package/build/cjs/src/types/subsquid.js +193 -217
  80. package/build/cjs/src/types/tradeHistory.js +9 -1
  81. package/build/cjs/src/utils/LruCache.js +21 -17
  82. package/build/cjs/src/utils/__tests__/LruCache.spec.js +11 -0
  83. package/build/cjs/src/utils/__tests__/fees.spec.js +4 -4
  84. package/build/cjs/src/utils/__tests__/{subgraph.spec.js → indexers.spec.js} +18 -18
  85. package/build/cjs/src/utils/__tests__/numbers.spec.js +1 -1
  86. package/build/cjs/src/utils/bigmath.js +3 -0
  87. package/build/cjs/src/utils/buildUrl.js +1 -0
  88. package/build/cjs/src/utils/errors/transactionsErrors.js +1 -0
  89. package/build/cjs/src/utils/fees/index.js +5 -6
  90. package/build/cjs/src/utils/fees/priceImpact.js +29 -19
  91. package/build/cjs/src/utils/{subgraph.js → indexers.js} +17 -1
  92. package/build/cjs/src/utils/marketKeysAndConfigs.js +7 -11
  93. package/build/cjs/src/utils/markets.js +10 -1
  94. package/build/cjs/src/utils/numbers.js +11 -6
  95. package/build/cjs/src/utils/orderTransactions.js +5 -5
  96. package/build/cjs/src/utils/orders.js +9 -1
  97. package/build/cjs/src/utils/prices.js +0 -2
  98. package/build/cjs/src/utils/swap/botanixStaking.js +3 -3
  99. package/build/cjs/src/utils/swap/swapPath.js +1 -10
  100. package/build/cjs/src/utils/swap/swapValues.js +15 -15
  101. package/build/cjs/src/utils/trade/decrease.js +6 -9
  102. package/build/cjs/src/utils/trade/increase.js +9 -8
  103. package/build/cjs/src/utils/tradeHistory.js +3 -0
  104. package/build/esm/src/abis/ArbitrumNodeInterface.js +103 -0
  105. package/build/esm/src/abis/ClaimHandler.js +422 -0
  106. package/build/esm/src/abis/CustomErrors.js +1882 -0
  107. package/build/esm/src/abis/DataStore.js +637 -0
  108. package/build/esm/src/abis/ERC20PermitInterface.js +52 -0
  109. package/build/esm/src/abis/ERC721.js +194 -0
  110. package/build/esm/src/abis/EventEmitter.js +1226 -0
  111. package/build/esm/src/abis/ExchangeRouter.js +1588 -0
  112. package/build/esm/src/abis/GelatoRelayRouter.js +1577 -0
  113. package/build/esm/src/abis/GlpManager.js +244 -0
  114. package/build/esm/src/abis/GlvReader.js +1469 -0
  115. package/build/esm/src/abis/GlvRouter.js +762 -0
  116. package/build/esm/src/abis/GmxMigrator.js +267 -0
  117. package/build/esm/src/abis/GovToken.js +323 -0
  118. package/build/esm/src/abis/LayerZeroProvider.js +159 -0
  119. package/build/esm/src/abis/MintableBaseToken.js +321 -0
  120. package/build/esm/src/abis/Multicall.js +229 -0
  121. package/build/esm/src/abis/MultichainClaimsRouter.js +1264 -0
  122. package/build/esm/src/abis/MultichainGlvRouter.js +1148 -0
  123. package/build/esm/src/abis/MultichainGmRouter.js +1447 -0
  124. package/build/esm/src/abis/MultichainOrderRouter.js +2007 -0
  125. package/build/esm/src/abis/MultichainSubaccountRouter.js +2067 -0
  126. package/build/esm/src/abis/MultichainTransferRouter.js +913 -0
  127. package/build/esm/src/abis/MultichainUtils.js +131 -0
  128. package/build/esm/src/abis/MultichainVault.js +273 -0
  129. package/build/esm/src/abis/Reader.js +138 -0
  130. package/build/esm/src/abis/ReaderV2.js +257 -0
  131. package/build/esm/src/abis/ReferralStorage.js +259 -0
  132. package/build/esm/src/abis/RelayParams.js +53 -0
  133. package/build/esm/src/abis/RewardReader.js +33 -0
  134. package/build/esm/src/abis/RewardRouter.js +458 -0
  135. package/build/esm/src/abis/RewardTracker.js +413 -0
  136. package/build/esm/src/abis/SmartAccount.js +12 -0
  137. package/build/esm/src/abis/StBTC.js +511 -0
  138. package/build/esm/src/abis/SubaccountApproval.js +15 -0
  139. package/build/esm/src/abis/SubaccountGelatoRelayRouter.js +2017 -0
  140. package/build/esm/src/abis/SubaccountRouter.js +600 -0
  141. package/build/esm/src/abis/SyntheticsReader.js +4903 -0
  142. package/build/esm/src/abis/SyntheticsRouter.js +70 -0
  143. package/build/esm/src/abis/Timelock.js +776 -0
  144. package/build/esm/src/abis/Token.js +148 -0
  145. package/build/esm/src/abis/Treasury.js +204 -0
  146. package/build/esm/src/abis/UniPool.js +34 -0
  147. package/build/esm/src/abis/UniswapV2.js +285 -0
  148. package/build/esm/src/abis/UniswapV3Factory.js +198 -0
  149. package/build/esm/src/abis/UniswapV3Pool.js +983 -0
  150. package/build/esm/src/abis/UniswapV3PositionManager.js +989 -0
  151. package/build/esm/src/abis/Vault.js +1306 -0
  152. package/build/esm/src/abis/VaultReader.js +28 -0
  153. package/build/esm/src/abis/VaultV2.js +1220 -0
  154. package/build/esm/src/abis/VaultV2b.js +1306 -0
  155. package/build/esm/src/abis/VenusVToken.js +47 -0
  156. package/build/esm/src/abis/Vester.js +454 -0
  157. package/build/esm/src/abis/WETH.js +135 -0
  158. package/build/esm/src/abis/index.js +106 -118
  159. package/build/esm/src/configs/batch.js +14 -1
  160. package/build/esm/src/configs/chainIds.js +14 -0
  161. package/build/esm/src/configs/chains.js +15 -14
  162. package/build/esm/src/configs/contracts.js +59 -80
  163. package/build/esm/src/configs/dataStore.js +3 -6
  164. package/build/esm/src/configs/express.js +15 -2
  165. package/build/esm/src/configs/factors.js +1 -2
  166. package/build/esm/src/configs/markets.js +124 -0
  167. package/build/esm/src/configs/multichain.js +21 -0
  168. package/build/esm/src/configs/oracleKeeper.js +19 -4
  169. package/build/esm/src/configs/tokens.js +108 -4
  170. package/build/esm/src/configs/uniswapV3.js +13 -0
  171. package/build/esm/src/configs/venus.js +53 -0
  172. package/build/esm/src/modules/markets/index.js +36 -14
  173. package/build/esm/src/modules/markets/query-builders.js +6 -10
  174. package/build/esm/src/modules/orders/helpers.js +1 -0
  175. package/build/esm/src/modules/positions/positions.js +10 -2
  176. package/build/esm/src/modules/trades/trades.js +1 -1
  177. package/build/esm/src/prebuilt/hashedKinkModelMarketRatesKeys.json +88 -0
  178. package/build/esm/src/prebuilt/hashedMarketConfigKeys.json +907 -453
  179. package/build/esm/src/prebuilt/hashedMarketValuesKeys.json +165 -0
  180. package/build/esm/src/test/mock.js +3 -3
  181. package/build/esm/src/types/subsquid.js +192 -216
  182. package/build/esm/src/types/tradeHistory.js +6 -0
  183. package/build/esm/src/utils/LruCache.js +21 -17
  184. package/build/esm/src/utils/__tests__/LruCache.spec.js +11 -0
  185. package/build/esm/src/utils/__tests__/fees.spec.js +4 -4
  186. package/build/esm/src/utils/__tests__/{subgraph.spec.js → indexers.spec.js} +1 -1
  187. package/build/esm/src/utils/__tests__/numbers.spec.js +1 -1
  188. package/build/esm/src/utils/bigmath.js +3 -0
  189. package/build/esm/src/utils/buildUrl.js +1 -0
  190. package/build/esm/src/utils/errors/transactionsErrors.js +1 -0
  191. package/build/esm/src/utils/fees/index.js +5 -6
  192. package/build/esm/src/utils/fees/priceImpact.js +28 -19
  193. package/build/esm/src/utils/{subgraph.js → indexers.js} +15 -0
  194. package/build/esm/src/utils/marketKeysAndConfigs.js +8 -12
  195. package/build/esm/src/utils/markets.js +8 -0
  196. package/build/esm/src/utils/numbers.js +8 -4
  197. package/build/esm/src/utils/orderTransactions.js +5 -5
  198. package/build/esm/src/utils/orders.js +8 -1
  199. package/build/esm/src/utils/prices.js +0 -2
  200. package/build/esm/src/utils/swap/botanixStaking.js +3 -3
  201. package/build/esm/src/utils/swap/swapPath.js +1 -10
  202. package/build/esm/src/utils/swap/swapValues.js +15 -15
  203. package/build/esm/src/utils/trade/decrease.js +6 -9
  204. package/build/esm/src/utils/trade/increase.js +9 -8
  205. package/build/esm/src/utils/tradeHistory.js +3 -0
  206. package/build/types/src/abis/ArbitrumNodeInterface.d.ts +214 -0
  207. package/build/types/src/abis/ClaimHandler.d.ts +322 -0
  208. package/build/types/src/abis/CustomErrors.d.ts +3330 -0
  209. package/build/types/src/abis/DataStore.d.ts +1098 -0
  210. package/build/types/src/abis/ERC20PermitInterface.d.ts +90 -0
  211. package/build/types/src/abis/ERC721.d.ts +334 -0
  212. package/build/types/src/abis/EventEmitter.d.ts +1564 -0
  213. package/build/types/src/abis/ExchangeRouter.d.ts +1224 -0
  214. package/build/types/src/abis/GelatoRelayRouter.d.ts +1222 -0
  215. package/build/types/src/abis/GlpManager.d.ts +452 -0
  216. package/build/types/src/abis/GlvReader.d.ts +1131 -0
  217. package/build/types/src/abis/GlvRouter.d.ts +588 -0
  218. package/build/types/src/abis/GmxMigrator.d.ts +497 -0
  219. package/build/types/src/abis/GovToken.d.ts +588 -0
  220. package/build/types/src/abis/LayerZeroProvider.d.ts +285 -0
  221. package/build/types/src/abis/MintableBaseToken.d.ts +526 -0
  222. package/build/types/src/abis/Multicall.d.ts +323 -0
  223. package/build/types/src/abis/MultichainClaimsRouter.d.ts +973 -0
  224. package/build/types/src/abis/MultichainGlvRouter.d.ts +886 -0
  225. package/build/types/src/abis/MultichainGmRouter.d.ts +1118 -0
  226. package/build/types/src/abis/MultichainOrderRouter.d.ts +1557 -0
  227. package/build/types/src/abis/MultichainSubaccountRouter.d.ts +1606 -0
  228. package/build/types/src/abis/MultichainTransferRouter.d.ts +702 -0
  229. package/build/types/src/abis/MultichainUtils.d.ts +100 -0
  230. package/build/types/src/abis/MultichainVault.d.ts +208 -0
  231. package/build/types/src/abis/Reader.d.ts +264 -0
  232. package/build/types/src/abis/ReaderV2.d.ts +474 -0
  233. package/build/types/src/abis/ReferralStorage.d.ts +429 -0
  234. package/build/types/src/abis/RelayParams.d.ts +114 -0
  235. package/build/types/src/abis/RewardReader.d.ts +60 -0
  236. package/build/types/src/abis/RewardRouter.d.ts +790 -0
  237. package/build/types/src/abis/RewardTracker.d.ts +695 -0
  238. package/build/types/src/abis/SmartAccount.d.ts +20 -0
  239. package/build/types/src/abis/StBTC.d.ts +932 -0
  240. package/build/types/src/abis/SubaccountApproval.d.ts +29 -0
  241. package/build/types/src/abis/SubaccountGelatoRelayRouter.d.ts +1567 -0
  242. package/build/types/src/abis/SubaccountRouter.d.ts +465 -0
  243. package/build/types/src/abis/SyntheticsReader.d.ts +3780 -0
  244. package/build/types/src/abis/SyntheticsRouter.d.ts +54 -0
  245. package/build/types/src/abis/Timelock.d.ts +1356 -0
  246. package/build/types/src/abis/Token.d.ts +260 -0
  247. package/build/types/src/abis/Treasury.d.ts +312 -0
  248. package/build/types/src/abis/UniPool.d.ts +64 -0
  249. package/build/types/src/abis/UniswapV2.d.ts +511 -0
  250. package/build/types/src/abis/UniswapV3Factory.d.ts +154 -0
  251. package/build/types/src/abis/UniswapV3Pool.d.ts +771 -0
  252. package/build/types/src/abis/UniswapV3PositionManager.d.ts +767 -0
  253. package/build/types/src/abis/Vault.d.ts +2482 -0
  254. package/build/types/src/abis/VaultReader.d.ts +62 -0
  255. package/build/types/src/abis/VaultV2.d.ts +2327 -0
  256. package/build/types/src/abis/VaultV2b.d.ts +2482 -0
  257. package/build/types/src/abis/VenusVToken.d.ts +36 -0
  258. package/build/types/src/abis/Vester.d.ts +782 -0
  259. package/build/types/src/abis/WETH.d.ts +240 -0
  260. package/build/types/src/abis/index.d.ts +43288 -23
  261. package/build/types/src/configs/batch.d.ts +1 -0
  262. package/build/types/src/configs/chainIds.d.ts +10 -0
  263. package/build/types/src/configs/chains.d.ts +7 -12
  264. package/build/types/src/configs/contracts.d.ts +0 -21
  265. package/build/types/src/configs/dataStore.d.ts +2 -3
  266. package/build/types/src/configs/express.d.ts +4 -0
  267. package/build/types/src/configs/factors.d.ts +1 -2
  268. package/build/types/src/configs/markets.d.ts +3 -0
  269. package/build/types/src/configs/multichain.d.ts +5 -0
  270. package/build/types/src/configs/tokens.d.ts +1 -0
  271. package/build/types/src/configs/uniswapV3.d.ts +7 -0
  272. package/build/types/src/configs/venus.d.ts +16 -0
  273. package/build/types/src/index.d.ts +2 -2
  274. package/build/types/src/modules/base.d.ts +1 -1
  275. package/build/types/src/modules/markets/index.d.ts +1 -0
  276. package/build/types/src/modules/markets/query-builders.d.ts +2 -2
  277. package/build/types/src/modules/markets/types.d.ts +2 -2
  278. package/build/types/src/modules/orders/orders.d.ts +2 -2
  279. package/build/types/src/modules/orders/transactions/cancelOrdersTxn.d.ts +2 -2
  280. package/build/types/src/modules/orders/transactions/createDecreaseOrderTxn.d.ts +1 -1
  281. package/build/types/src/modules/orders/transactions/createWrapOrUnwrapTxn.d.ts +1 -1
  282. package/build/types/src/modules/orders/transactions/updateOrderTxn.d.ts +1 -1
  283. package/build/types/src/modules/orders/utils.d.ts +2 -2
  284. package/build/types/src/modules/positions/positions.d.ts +1 -1
  285. package/build/types/src/types/markets.d.ts +3 -3
  286. package/build/types/src/types/orders.d.ts +1 -0
  287. package/build/types/src/types/positions.d.ts +1 -0
  288. package/build/types/src/types/subsquid.d.ts +633 -305
  289. package/build/types/src/types/tokens.d.ts +15 -4
  290. package/build/types/src/types/trade.d.ts +1 -0
  291. package/build/types/src/types/tradeHistory.d.ts +5 -0
  292. package/build/types/src/utils/LruCache.d.ts +2 -2
  293. package/build/types/src/utils/bigmath.d.ts +1 -0
  294. package/build/types/src/utils/callContract.d.ts +1 -1
  295. package/build/types/src/utils/fees/priceImpact.d.ts +9 -3
  296. package/build/types/src/utils/hash.d.ts +1 -1
  297. package/build/types/src/utils/{subgraph.d.ts → indexers.d.ts} +1 -0
  298. package/build/types/src/utils/marketKeysAndConfigs.d.ts +2 -3
  299. package/build/types/src/utils/markets.d.ts +1 -0
  300. package/build/types/src/utils/numbers.d.ts +4 -0
  301. package/build/types/src/utils/orderTransactions.d.ts +7 -7
  302. package/build/types/src/utils/orders.d.ts +1 -0
  303. package/build/types/src/utils/prices.d.ts +0 -2
  304. package/build/types/src/utils/swap/swapPath.d.ts +0 -1
  305. package/build/types/src/utils/trade/decrease.d.ts +1 -0
  306. package/build/types/src/utils/trade/increase.d.ts +1 -0
  307. package/build/types/src/utils/tradeHistory.d.ts +1 -2
  308. package/package.json +6 -2
  309. package/build/cjs/src/abis/ArbitrumNodeInterface.json +0 -105
  310. package/build/cjs/src/abis/ClaimHandler.json +0 -424
  311. package/build/cjs/src/abis/CustomErrors.json +0 -4432
  312. package/build/cjs/src/abis/DataStore.json +0 -1459
  313. package/build/cjs/src/abis/ERC20PermitInterface.json +0 -118
  314. package/build/cjs/src/abis/ERC721.json +0 -442
  315. package/build/cjs/src/abis/EventEmitter.json +0 -2060
  316. package/build/cjs/src/abis/ExchangeRouter.json +0 -1706
  317. package/build/cjs/src/abis/GMT.json +0 -522
  318. package/build/cjs/src/abis/GelatoRelayRouter.json +0 -1579
  319. package/build/cjs/src/abis/GlpManager.json +0 -591
  320. package/build/cjs/src/abis/GlvReader.json +0 -1471
  321. package/build/cjs/src/abis/GlvRouter.json +0 -764
  322. package/build/cjs/src/abis/GmxMigrator.json +0 -657
  323. package/build/cjs/src/abis/GovToken.json +0 -768
  324. package/build/cjs/src/abis/LayerZeroProvider.json +0 -372
  325. package/build/cjs/src/abis/MintableBaseToken.json +0 -696
  326. package/build/cjs/src/abis/Multicall.json +0 -429
  327. package/build/cjs/src/abis/MultichainClaimsRouter.json +0 -1266
  328. package/build/cjs/src/abis/MultichainGlvRouter.json +0 -1150
  329. package/build/cjs/src/abis/MultichainGmRouter.json +0 -1449
  330. package/build/cjs/src/abis/MultichainOrderRouter.json +0 -1820
  331. package/build/cjs/src/abis/MultichainSubaccountRouter.json +0 -2069
  332. package/build/cjs/src/abis/MultichainTransferRouter.json +0 -915
  333. package/build/cjs/src/abis/MultichainUtils.json +0 -133
  334. package/build/cjs/src/abis/MultichainVault.json +0 -275
  335. package/build/cjs/src/abis/OrderBook.json +0 -1997
  336. package/build/cjs/src/abis/OrderBookReader.json +0 -111
  337. package/build/cjs/src/abis/OrderExecutor.json +0 -122
  338. package/build/cjs/src/abis/PositionManager.json +0 -1165
  339. package/build/cjs/src/abis/PositionRouter.json +0 -2030
  340. package/build/cjs/src/abis/Reader.json +0 -355
  341. package/build/cjs/src/abis/ReaderV2.json +0 -630
  342. package/build/cjs/src/abis/ReferralStorage.json +0 -557
  343. package/build/cjs/src/abis/RelayParams.json +0 -147
  344. package/build/cjs/src/abis/RewardReader.json +0 -86
  345. package/build/cjs/src/abis/RewardRouter.json +0 -1024
  346. package/build/cjs/src/abis/RewardTracker.json +0 -918
  347. package/build/cjs/src/abis/Router-v2.json +0 -605
  348. package/build/cjs/src/abis/Router.json +0 -605
  349. package/build/cjs/src/abis/SmartAccount.json +0 -28
  350. package/build/cjs/src/abis/StBTC.json +0 -1225
  351. package/build/cjs/src/abis/SubaccountApproval.json +0 -17
  352. package/build/cjs/src/abis/SubaccountGelatoRelayRouter.json +0 -2019
  353. package/build/cjs/src/abis/SubaccountRouter.json +0 -602
  354. package/build/cjs/src/abis/SyntheticsReader.json +0 -4905
  355. package/build/cjs/src/abis/SyntheticsRouter.json +0 -72
  356. package/build/cjs/src/abis/Timelock.json +0 -1737
  357. package/build/cjs/src/abis/Token.json +0 -345
  358. package/build/cjs/src/abis/Treasury.json +0 -411
  359. package/build/cjs/src/abis/UniPool.json +0 -89
  360. package/build/cjs/src/abis/UniswapV2.json +0 -1
  361. package/build/cjs/src/abis/Vault.json +0 -3220
  362. package/build/cjs/src/abis/VaultReader.json +0 -87
  363. package/build/cjs/src/abis/VaultV2.json +0 -3019
  364. package/build/cjs/src/abis/VaultV2b.json +0 -3220
  365. package/build/cjs/src/abis/Vester.json +0 -1031
  366. package/build/cjs/src/abis/WETH.json +0 -320
  367. package/build/cjs/src/abis/YieldFarm.json +0 -599
  368. package/build/cjs/src/abis/YieldToken.json +0 -560
  369. package/build/cjs/src/abis/__tests__/abis.spec.js +0 -40
  370. package/build/cjs/src/configs/__tests__/permits.spec.js +0 -109
  371. package/build/esm/src/abis/ArbitrumNodeInterface.json +0 -105
  372. package/build/esm/src/abis/ClaimHandler.json +0 -424
  373. package/build/esm/src/abis/CustomErrors.json +0 -4432
  374. package/build/esm/src/abis/DataStore.json +0 -1459
  375. package/build/esm/src/abis/ERC20PermitInterface.json +0 -118
  376. package/build/esm/src/abis/ERC721.json +0 -442
  377. package/build/esm/src/abis/EventEmitter.json +0 -2060
  378. package/build/esm/src/abis/ExchangeRouter.json +0 -1706
  379. package/build/esm/src/abis/GMT.json +0 -522
  380. package/build/esm/src/abis/GelatoRelayRouter.json +0 -1579
  381. package/build/esm/src/abis/GlpManager.json +0 -591
  382. package/build/esm/src/abis/GlvReader.json +0 -1471
  383. package/build/esm/src/abis/GlvRouter.json +0 -764
  384. package/build/esm/src/abis/GmxMigrator.json +0 -657
  385. package/build/esm/src/abis/GovToken.json +0 -768
  386. package/build/esm/src/abis/LayerZeroProvider.json +0 -372
  387. package/build/esm/src/abis/MintableBaseToken.json +0 -696
  388. package/build/esm/src/abis/Multicall.json +0 -429
  389. package/build/esm/src/abis/MultichainClaimsRouter.json +0 -1266
  390. package/build/esm/src/abis/MultichainGlvRouter.json +0 -1150
  391. package/build/esm/src/abis/MultichainGmRouter.json +0 -1449
  392. package/build/esm/src/abis/MultichainOrderRouter.json +0 -1820
  393. package/build/esm/src/abis/MultichainSubaccountRouter.json +0 -2069
  394. package/build/esm/src/abis/MultichainTransferRouter.json +0 -915
  395. package/build/esm/src/abis/MultichainUtils.json +0 -133
  396. package/build/esm/src/abis/MultichainVault.json +0 -275
  397. package/build/esm/src/abis/OrderBook.json +0 -1997
  398. package/build/esm/src/abis/OrderBookReader.json +0 -111
  399. package/build/esm/src/abis/OrderExecutor.json +0 -122
  400. package/build/esm/src/abis/PositionManager.json +0 -1165
  401. package/build/esm/src/abis/PositionRouter.json +0 -2030
  402. package/build/esm/src/abis/Reader.json +0 -355
  403. package/build/esm/src/abis/ReaderV2.json +0 -630
  404. package/build/esm/src/abis/ReferralStorage.json +0 -557
  405. package/build/esm/src/abis/RelayParams.json +0 -147
  406. package/build/esm/src/abis/RewardReader.json +0 -86
  407. package/build/esm/src/abis/RewardRouter.json +0 -1024
  408. package/build/esm/src/abis/RewardTracker.json +0 -918
  409. package/build/esm/src/abis/Router-v2.json +0 -605
  410. package/build/esm/src/abis/Router.json +0 -605
  411. package/build/esm/src/abis/SmartAccount.json +0 -28
  412. package/build/esm/src/abis/StBTC.json +0 -1225
  413. package/build/esm/src/abis/SubaccountApproval.json +0 -17
  414. package/build/esm/src/abis/SubaccountGelatoRelayRouter.json +0 -2019
  415. package/build/esm/src/abis/SubaccountRouter.json +0 -602
  416. package/build/esm/src/abis/SyntheticsReader.json +0 -4905
  417. package/build/esm/src/abis/SyntheticsRouter.json +0 -72
  418. package/build/esm/src/abis/Timelock.json +0 -1737
  419. package/build/esm/src/abis/Token.json +0 -345
  420. package/build/esm/src/abis/Treasury.json +0 -411
  421. package/build/esm/src/abis/UniPool.json +0 -89
  422. package/build/esm/src/abis/UniswapV2.json +0 -1
  423. package/build/esm/src/abis/Vault.json +0 -3220
  424. package/build/esm/src/abis/VaultReader.json +0 -87
  425. package/build/esm/src/abis/VaultV2.json +0 -3019
  426. package/build/esm/src/abis/VaultV2b.json +0 -3220
  427. package/build/esm/src/abis/Vester.json +0 -1031
  428. package/build/esm/src/abis/WETH.json +0 -320
  429. package/build/esm/src/abis/YieldFarm.json +0 -599
  430. package/build/esm/src/abis/YieldToken.json +0 -560
  431. package/build/esm/src/abis/__tests__/abis.spec.js +0 -35
  432. package/build/esm/src/configs/__tests__/permits.spec.js +0 -107
  433. package/build/types/src/configs/__tests__/permits.spec.d.ts +0 -1
  434. package/build/types/src/utils/__tests__/subgraph.spec.d.ts +0 -1
  435. /package/build/types/src/{abis/__tests__/abis.spec.d.ts → utils/__tests__/indexers.spec.d.ts} +0 -0
@@ -18,6 +18,12 @@ export var AccountStatOrderByInput;
18
18
  AccountStatOrderByInput["cumsumSize_DESC"] = "cumsumSize_DESC";
19
19
  AccountStatOrderByInput["cumsumSize_DESC_NULLS_FIRST"] = "cumsumSize_DESC_NULLS_FIRST";
20
20
  AccountStatOrderByInput["cumsumSize_DESC_NULLS_LAST"] = "cumsumSize_DESC_NULLS_LAST";
21
+ AccountStatOrderByInput["deposits_ASC"] = "deposits_ASC";
22
+ AccountStatOrderByInput["deposits_ASC_NULLS_FIRST"] = "deposits_ASC_NULLS_FIRST";
23
+ AccountStatOrderByInput["deposits_ASC_NULLS_LAST"] = "deposits_ASC_NULLS_LAST";
24
+ AccountStatOrderByInput["deposits_DESC"] = "deposits_DESC";
25
+ AccountStatOrderByInput["deposits_DESC_NULLS_FIRST"] = "deposits_DESC_NULLS_FIRST";
26
+ AccountStatOrderByInput["deposits_DESC_NULLS_LAST"] = "deposits_DESC_NULLS_LAST";
21
27
  AccountStatOrderByInput["id_ASC"] = "id_ASC";
22
28
  AccountStatOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
23
29
  AccountStatOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
@@ -60,6 +66,12 @@ export var AccountStatOrderByInput;
60
66
  AccountStatOrderByInput["realizedPriceImpact_DESC"] = "realizedPriceImpact_DESC";
61
67
  AccountStatOrderByInput["realizedPriceImpact_DESC_NULLS_FIRST"] = "realizedPriceImpact_DESC_NULLS_FIRST";
62
68
  AccountStatOrderByInput["realizedPriceImpact_DESC_NULLS_LAST"] = "realizedPriceImpact_DESC_NULLS_LAST";
69
+ AccountStatOrderByInput["realizedSwapImpact_ASC"] = "realizedSwapImpact_ASC";
70
+ AccountStatOrderByInput["realizedSwapImpact_ASC_NULLS_FIRST"] = "realizedSwapImpact_ASC_NULLS_FIRST";
71
+ AccountStatOrderByInput["realizedSwapImpact_ASC_NULLS_LAST"] = "realizedSwapImpact_ASC_NULLS_LAST";
72
+ AccountStatOrderByInput["realizedSwapImpact_DESC"] = "realizedSwapImpact_DESC";
73
+ AccountStatOrderByInput["realizedSwapImpact_DESC_NULLS_FIRST"] = "realizedSwapImpact_DESC_NULLS_FIRST";
74
+ AccountStatOrderByInput["realizedSwapImpact_DESC_NULLS_LAST"] = "realizedSwapImpact_DESC_NULLS_LAST";
63
75
  AccountStatOrderByInput["sumMaxSize_ASC"] = "sumMaxSize_ASC";
64
76
  AccountStatOrderByInput["sumMaxSize_ASC_NULLS_FIRST"] = "sumMaxSize_ASC_NULLS_FIRST";
65
77
  AccountStatOrderByInput["sumMaxSize_ASC_NULLS_LAST"] = "sumMaxSize_ASC_NULLS_LAST";
@@ -195,12 +207,6 @@ export var ClaimActionOrderByInput;
195
207
  ClaimActionOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
196
208
  ClaimActionOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
197
209
  ClaimActionOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
198
- ClaimActionOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
199
- ClaimActionOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
200
- ClaimActionOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
201
- ClaimActionOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
202
- ClaimActionOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
203
- ClaimActionOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
204
210
  ClaimActionOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
205
211
  ClaimActionOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
206
212
  ClaimActionOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -255,6 +261,45 @@ export var ClaimRefOrderByInput;
255
261
  ClaimRefOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
256
262
  ClaimRefOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
257
263
  })(ClaimRefOrderByInput || (ClaimRefOrderByInput = {}));
264
+ export var ClaimableAmountOrderByInput;
265
+ (function (ClaimableAmountOrderByInput) {
266
+ ClaimableAmountOrderByInput["account_ASC"] = "account_ASC";
267
+ ClaimableAmountOrderByInput["account_ASC_NULLS_FIRST"] = "account_ASC_NULLS_FIRST";
268
+ ClaimableAmountOrderByInput["account_ASC_NULLS_LAST"] = "account_ASC_NULLS_LAST";
269
+ ClaimableAmountOrderByInput["account_DESC"] = "account_DESC";
270
+ ClaimableAmountOrderByInput["account_DESC_NULLS_FIRST"] = "account_DESC_NULLS_FIRST";
271
+ ClaimableAmountOrderByInput["account_DESC_NULLS_LAST"] = "account_DESC_NULLS_LAST";
272
+ ClaimableAmountOrderByInput["amountInUsd_ASC"] = "amountInUsd_ASC";
273
+ ClaimableAmountOrderByInput["amountInUsd_ASC_NULLS_FIRST"] = "amountInUsd_ASC_NULLS_FIRST";
274
+ ClaimableAmountOrderByInput["amountInUsd_ASC_NULLS_LAST"] = "amountInUsd_ASC_NULLS_LAST";
275
+ ClaimableAmountOrderByInput["amountInUsd_DESC"] = "amountInUsd_DESC";
276
+ ClaimableAmountOrderByInput["amountInUsd_DESC_NULLS_FIRST"] = "amountInUsd_DESC_NULLS_FIRST";
277
+ ClaimableAmountOrderByInput["amountInUsd_DESC_NULLS_LAST"] = "amountInUsd_DESC_NULLS_LAST";
278
+ ClaimableAmountOrderByInput["amount_ASC"] = "amount_ASC";
279
+ ClaimableAmountOrderByInput["amount_ASC_NULLS_FIRST"] = "amount_ASC_NULLS_FIRST";
280
+ ClaimableAmountOrderByInput["amount_ASC_NULLS_LAST"] = "amount_ASC_NULLS_LAST";
281
+ ClaimableAmountOrderByInput["amount_DESC"] = "amount_DESC";
282
+ ClaimableAmountOrderByInput["amount_DESC_NULLS_FIRST"] = "amount_DESC_NULLS_FIRST";
283
+ ClaimableAmountOrderByInput["amount_DESC_NULLS_LAST"] = "amount_DESC_NULLS_LAST";
284
+ ClaimableAmountOrderByInput["distributionId_ASC"] = "distributionId_ASC";
285
+ ClaimableAmountOrderByInput["distributionId_ASC_NULLS_FIRST"] = "distributionId_ASC_NULLS_FIRST";
286
+ ClaimableAmountOrderByInput["distributionId_ASC_NULLS_LAST"] = "distributionId_ASC_NULLS_LAST";
287
+ ClaimableAmountOrderByInput["distributionId_DESC"] = "distributionId_DESC";
288
+ ClaimableAmountOrderByInput["distributionId_DESC_NULLS_FIRST"] = "distributionId_DESC_NULLS_FIRST";
289
+ ClaimableAmountOrderByInput["distributionId_DESC_NULLS_LAST"] = "distributionId_DESC_NULLS_LAST";
290
+ ClaimableAmountOrderByInput["id_ASC"] = "id_ASC";
291
+ ClaimableAmountOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
292
+ ClaimableAmountOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
293
+ ClaimableAmountOrderByInput["id_DESC"] = "id_DESC";
294
+ ClaimableAmountOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
295
+ ClaimableAmountOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
296
+ ClaimableAmountOrderByInput["token_ASC"] = "token_ASC";
297
+ ClaimableAmountOrderByInput["token_ASC_NULLS_FIRST"] = "token_ASC_NULLS_FIRST";
298
+ ClaimableAmountOrderByInput["token_ASC_NULLS_LAST"] = "token_ASC_NULLS_LAST";
299
+ ClaimableAmountOrderByInput["token_DESC"] = "token_DESC";
300
+ ClaimableAmountOrderByInput["token_DESC_NULLS_FIRST"] = "token_DESC_NULLS_FIRST";
301
+ ClaimableAmountOrderByInput["token_DESC_NULLS_LAST"] = "token_DESC_NULLS_LAST";
302
+ })(ClaimableAmountOrderByInput || (ClaimableAmountOrderByInput = {}));
258
303
  export var ClaimableCollateralGroupOrderByInput;
259
304
  (function (ClaimableCollateralGroupOrderByInput) {
260
305
  ClaimableCollateralGroupOrderByInput["factor_ASC"] = "factor_ASC";
@@ -617,12 +662,6 @@ export var DistributionOrderByInput;
617
662
  DistributionOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
618
663
  DistributionOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
619
664
  DistributionOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
620
- DistributionOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
621
- DistributionOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
622
- DistributionOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
623
- DistributionOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
624
- DistributionOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
625
- DistributionOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
626
665
  DistributionOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
627
666
  DistributionOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
628
667
  DistributionOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -862,12 +901,6 @@ export var MarketInfoOrderByInput;
862
901
  MarketInfoOrderByInput["longOpenInterestUsingShortToken_DESC"] = "longOpenInterestUsingShortToken_DESC";
863
902
  MarketInfoOrderByInput["longOpenInterestUsingShortToken_DESC_NULLS_FIRST"] = "longOpenInterestUsingShortToken_DESC_NULLS_FIRST";
864
903
  MarketInfoOrderByInput["longOpenInterestUsingShortToken_DESC_NULLS_LAST"] = "longOpenInterestUsingShortToken_DESC_NULLS_LAST";
865
- MarketInfoOrderByInput["longPoolAmountAdjustment_ASC"] = "longPoolAmountAdjustment_ASC";
866
- MarketInfoOrderByInput["longPoolAmountAdjustment_ASC_NULLS_FIRST"] = "longPoolAmountAdjustment_ASC_NULLS_FIRST";
867
- MarketInfoOrderByInput["longPoolAmountAdjustment_ASC_NULLS_LAST"] = "longPoolAmountAdjustment_ASC_NULLS_LAST";
868
- MarketInfoOrderByInput["longPoolAmountAdjustment_DESC"] = "longPoolAmountAdjustment_DESC";
869
- MarketInfoOrderByInput["longPoolAmountAdjustment_DESC_NULLS_FIRST"] = "longPoolAmountAdjustment_DESC_NULLS_FIRST";
870
- MarketInfoOrderByInput["longPoolAmountAdjustment_DESC_NULLS_LAST"] = "longPoolAmountAdjustment_DESC_NULLS_LAST";
871
904
  MarketInfoOrderByInput["longPoolAmount_ASC"] = "longPoolAmount_ASC";
872
905
  MarketInfoOrderByInput["longPoolAmount_ASC_NULLS_FIRST"] = "longPoolAmount_ASC_NULLS_FIRST";
873
906
  MarketInfoOrderByInput["longPoolAmount_ASC_NULLS_LAST"] = "longPoolAmount_ASC_NULLS_LAST";
@@ -1072,12 +1105,18 @@ export var MarketInfoOrderByInput;
1072
1105
  MarketInfoOrderByInput["positionFeeFactorForPositiveImpact_DESC"] = "positionFeeFactorForPositiveImpact_DESC";
1073
1106
  MarketInfoOrderByInput["positionFeeFactorForPositiveImpact_DESC_NULLS_FIRST"] = "positionFeeFactorForPositiveImpact_DESC_NULLS_FIRST";
1074
1107
  MarketInfoOrderByInput["positionFeeFactorForPositiveImpact_DESC_NULLS_LAST"] = "positionFeeFactorForPositiveImpact_DESC_NULLS_LAST";
1075
- MarketInfoOrderByInput["positionImpactExponentFactor_ASC"] = "positionImpactExponentFactor_ASC";
1076
- MarketInfoOrderByInput["positionImpactExponentFactor_ASC_NULLS_FIRST"] = "positionImpactExponentFactor_ASC_NULLS_FIRST";
1077
- MarketInfoOrderByInput["positionImpactExponentFactor_ASC_NULLS_LAST"] = "positionImpactExponentFactor_ASC_NULLS_LAST";
1078
- MarketInfoOrderByInput["positionImpactExponentFactor_DESC"] = "positionImpactExponentFactor_DESC";
1079
- MarketInfoOrderByInput["positionImpactExponentFactor_DESC_NULLS_FIRST"] = "positionImpactExponentFactor_DESC_NULLS_FIRST";
1080
- MarketInfoOrderByInput["positionImpactExponentFactor_DESC_NULLS_LAST"] = "positionImpactExponentFactor_DESC_NULLS_LAST";
1108
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_ASC"] = "positionImpactExponentFactorNegative_ASC";
1109
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_ASC_NULLS_FIRST"] = "positionImpactExponentFactorNegative_ASC_NULLS_FIRST";
1110
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_ASC_NULLS_LAST"] = "positionImpactExponentFactorNegative_ASC_NULLS_LAST";
1111
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_DESC"] = "positionImpactExponentFactorNegative_DESC";
1112
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_DESC_NULLS_FIRST"] = "positionImpactExponentFactorNegative_DESC_NULLS_FIRST";
1113
+ MarketInfoOrderByInput["positionImpactExponentFactorNegative_DESC_NULLS_LAST"] = "positionImpactExponentFactorNegative_DESC_NULLS_LAST";
1114
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_ASC"] = "positionImpactExponentFactorPositive_ASC";
1115
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_ASC_NULLS_FIRST"] = "positionImpactExponentFactorPositive_ASC_NULLS_FIRST";
1116
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_ASC_NULLS_LAST"] = "positionImpactExponentFactorPositive_ASC_NULLS_LAST";
1117
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_DESC"] = "positionImpactExponentFactorPositive_DESC";
1118
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_DESC_NULLS_FIRST"] = "positionImpactExponentFactorPositive_DESC_NULLS_FIRST";
1119
+ MarketInfoOrderByInput["positionImpactExponentFactorPositive_DESC_NULLS_LAST"] = "positionImpactExponentFactorPositive_DESC_NULLS_LAST";
1081
1120
  MarketInfoOrderByInput["positionImpactFactorNegative_ASC"] = "positionImpactFactorNegative_ASC";
1082
1121
  MarketInfoOrderByInput["positionImpactFactorNegative_ASC_NULLS_FIRST"] = "positionImpactFactorNegative_ASC_NULLS_FIRST";
1083
1122
  MarketInfoOrderByInput["positionImpactFactorNegative_ASC_NULLS_LAST"] = "positionImpactFactorNegative_ASC_NULLS_LAST";
@@ -1150,12 +1189,6 @@ export var MarketInfoOrderByInput;
1150
1189
  MarketInfoOrderByInput["shortOpenInterestUsingShortToken_DESC"] = "shortOpenInterestUsingShortToken_DESC";
1151
1190
  MarketInfoOrderByInput["shortOpenInterestUsingShortToken_DESC_NULLS_FIRST"] = "shortOpenInterestUsingShortToken_DESC_NULLS_FIRST";
1152
1191
  MarketInfoOrderByInput["shortOpenInterestUsingShortToken_DESC_NULLS_LAST"] = "shortOpenInterestUsingShortToken_DESC_NULLS_LAST";
1153
- MarketInfoOrderByInput["shortPoolAmountAdjustment_ASC"] = "shortPoolAmountAdjustment_ASC";
1154
- MarketInfoOrderByInput["shortPoolAmountAdjustment_ASC_NULLS_FIRST"] = "shortPoolAmountAdjustment_ASC_NULLS_FIRST";
1155
- MarketInfoOrderByInput["shortPoolAmountAdjustment_ASC_NULLS_LAST"] = "shortPoolAmountAdjustment_ASC_NULLS_LAST";
1156
- MarketInfoOrderByInput["shortPoolAmountAdjustment_DESC"] = "shortPoolAmountAdjustment_DESC";
1157
- MarketInfoOrderByInput["shortPoolAmountAdjustment_DESC_NULLS_FIRST"] = "shortPoolAmountAdjustment_DESC_NULLS_FIRST";
1158
- MarketInfoOrderByInput["shortPoolAmountAdjustment_DESC_NULLS_LAST"] = "shortPoolAmountAdjustment_DESC_NULLS_LAST";
1159
1192
  MarketInfoOrderByInput["shortPoolAmount_ASC"] = "shortPoolAmount_ASC";
1160
1193
  MarketInfoOrderByInput["shortPoolAmount_ASC_NULLS_FIRST"] = "shortPoolAmount_ASC_NULLS_FIRST";
1161
1194
  MarketInfoOrderByInput["shortPoolAmount_ASC_NULLS_LAST"] = "shortPoolAmount_ASC_NULLS_LAST";
@@ -1305,54 +1338,18 @@ export var MultichainFundingOperation;
1305
1338
  })(MultichainFundingOperation || (MultichainFundingOperation = {}));
1306
1339
  export var MultichainFundingReceiveEventOrderByInput;
1307
1340
  (function (MultichainFundingReceiveEventOrderByInput) {
1308
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_ASC"] = "deliveredTxn_blockNumber_ASC";
1309
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_ASC_NULLS_FIRST"] = "deliveredTxn_blockNumber_ASC_NULLS_FIRST";
1310
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_ASC_NULLS_LAST"] = "deliveredTxn_blockNumber_ASC_NULLS_LAST";
1311
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_DESC"] = "deliveredTxn_blockNumber_DESC";
1312
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_DESC_NULLS_FIRST"] = "deliveredTxn_blockNumber_DESC_NULLS_FIRST";
1313
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_blockNumber_DESC_NULLS_LAST"] = "deliveredTxn_blockNumber_DESC_NULLS_LAST";
1314
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_ASC"] = "deliveredTxn_chainId_ASC";
1315
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_ASC_NULLS_FIRST"] = "deliveredTxn_chainId_ASC_NULLS_FIRST";
1316
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_ASC_NULLS_LAST"] = "deliveredTxn_chainId_ASC_NULLS_LAST";
1317
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_DESC"] = "deliveredTxn_chainId_DESC";
1318
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_DESC_NULLS_FIRST"] = "deliveredTxn_chainId_DESC_NULLS_FIRST";
1319
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_chainId_DESC_NULLS_LAST"] = "deliveredTxn_chainId_DESC_NULLS_LAST";
1320
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_ASC"] = "deliveredTxn_from_ASC";
1321
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_ASC_NULLS_FIRST"] = "deliveredTxn_from_ASC_NULLS_FIRST";
1322
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_ASC_NULLS_LAST"] = "deliveredTxn_from_ASC_NULLS_LAST";
1323
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_DESC"] = "deliveredTxn_from_DESC";
1324
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_DESC_NULLS_FIRST"] = "deliveredTxn_from_DESC_NULLS_FIRST";
1325
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_from_DESC_NULLS_LAST"] = "deliveredTxn_from_DESC_NULLS_LAST";
1326
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_ASC"] = "deliveredTxn_hash_ASC";
1327
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_ASC_NULLS_FIRST"] = "deliveredTxn_hash_ASC_NULLS_FIRST";
1328
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_ASC_NULLS_LAST"] = "deliveredTxn_hash_ASC_NULLS_LAST";
1329
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_DESC"] = "deliveredTxn_hash_DESC";
1330
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_DESC_NULLS_FIRST"] = "deliveredTxn_hash_DESC_NULLS_FIRST";
1331
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_hash_DESC_NULLS_LAST"] = "deliveredTxn_hash_DESC_NULLS_LAST";
1332
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_ASC"] = "deliveredTxn_id_ASC";
1333
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_ASC_NULLS_FIRST"] = "deliveredTxn_id_ASC_NULLS_FIRST";
1334
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_ASC_NULLS_LAST"] = "deliveredTxn_id_ASC_NULLS_LAST";
1335
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_DESC"] = "deliveredTxn_id_DESC";
1336
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_DESC_NULLS_FIRST"] = "deliveredTxn_id_DESC_NULLS_FIRST";
1337
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_id_DESC_NULLS_LAST"] = "deliveredTxn_id_DESC_NULLS_LAST";
1338
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_ASC"] = "deliveredTxn_timestamp_ASC";
1339
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_ASC_NULLS_FIRST"] = "deliveredTxn_timestamp_ASC_NULLS_FIRST";
1340
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_ASC_NULLS_LAST"] = "deliveredTxn_timestamp_ASC_NULLS_LAST";
1341
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_DESC"] = "deliveredTxn_timestamp_DESC";
1342
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_DESC_NULLS_FIRST"] = "deliveredTxn_timestamp_DESC_NULLS_FIRST";
1343
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_timestamp_DESC_NULLS_LAST"] = "deliveredTxn_timestamp_DESC_NULLS_LAST";
1344
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_ASC"] = "deliveredTxn_to_ASC";
1345
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_ASC_NULLS_FIRST"] = "deliveredTxn_to_ASC_NULLS_FIRST";
1346
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_ASC_NULLS_LAST"] = "deliveredTxn_to_ASC_NULLS_LAST";
1347
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_DESC"] = "deliveredTxn_to_DESC";
1348
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_DESC_NULLS_FIRST"] = "deliveredTxn_to_DESC_NULLS_FIRST";
1349
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_to_DESC_NULLS_LAST"] = "deliveredTxn_to_DESC_NULLS_LAST";
1350
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_ASC"] = "deliveredTxn_transactionIndex_ASC";
1351
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_ASC_NULLS_FIRST"] = "deliveredTxn_transactionIndex_ASC_NULLS_FIRST";
1352
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_ASC_NULLS_LAST"] = "deliveredTxn_transactionIndex_ASC_NULLS_LAST";
1353
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_DESC"] = "deliveredTxn_transactionIndex_DESC";
1354
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_DESC_NULLS_FIRST"] = "deliveredTxn_transactionIndex_DESC_NULLS_FIRST";
1355
- MultichainFundingReceiveEventOrderByInput["deliveredTxn_transactionIndex_DESC_NULLS_LAST"] = "deliveredTxn_transactionIndex_DESC_NULLS_LAST";
1341
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_ASC"] = "deliveredTimestamp_ASC";
1342
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_ASC_NULLS_FIRST"] = "deliveredTimestamp_ASC_NULLS_FIRST";
1343
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_ASC_NULLS_LAST"] = "deliveredTimestamp_ASC_NULLS_LAST";
1344
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_DESC"] = "deliveredTimestamp_DESC";
1345
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_DESC_NULLS_FIRST"] = "deliveredTimestamp_DESC_NULLS_FIRST";
1346
+ MultichainFundingReceiveEventOrderByInput["deliveredTimestamp_DESC_NULLS_LAST"] = "deliveredTimestamp_DESC_NULLS_LAST";
1347
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_ASC"] = "deliveredTxn_ASC";
1348
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_ASC_NULLS_FIRST"] = "deliveredTxn_ASC_NULLS_FIRST";
1349
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_ASC_NULLS_LAST"] = "deliveredTxn_ASC_NULLS_LAST";
1350
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_DESC"] = "deliveredTxn_DESC";
1351
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_DESC_NULLS_FIRST"] = "deliveredTxn_DESC_NULLS_FIRST";
1352
+ MultichainFundingReceiveEventOrderByInput["deliveredTxn_DESC_NULLS_LAST"] = "deliveredTxn_DESC_NULLS_LAST";
1356
1353
  MultichainFundingReceiveEventOrderByInput["id_ASC"] = "id_ASC";
1357
1354
  MultichainFundingReceiveEventOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
1358
1355
  MultichainFundingReceiveEventOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
@@ -1383,54 +1380,18 @@ export var MultichainFundingReceiveEventOrderByInput;
1383
1380
  MultichainFundingReceiveEventOrderByInput["receivedAmount_DESC"] = "receivedAmount_DESC";
1384
1381
  MultichainFundingReceiveEventOrderByInput["receivedAmount_DESC_NULLS_FIRST"] = "receivedAmount_DESC_NULLS_FIRST";
1385
1382
  MultichainFundingReceiveEventOrderByInput["receivedAmount_DESC_NULLS_LAST"] = "receivedAmount_DESC_NULLS_LAST";
1386
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_ASC"] = "receivedTxn_blockNumber_ASC";
1387
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_ASC_NULLS_FIRST"] = "receivedTxn_blockNumber_ASC_NULLS_FIRST";
1388
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_ASC_NULLS_LAST"] = "receivedTxn_blockNumber_ASC_NULLS_LAST";
1389
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_DESC"] = "receivedTxn_blockNumber_DESC";
1390
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_DESC_NULLS_FIRST"] = "receivedTxn_blockNumber_DESC_NULLS_FIRST";
1391
- MultichainFundingReceiveEventOrderByInput["receivedTxn_blockNumber_DESC_NULLS_LAST"] = "receivedTxn_blockNumber_DESC_NULLS_LAST";
1392
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_ASC"] = "receivedTxn_chainId_ASC";
1393
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_ASC_NULLS_FIRST"] = "receivedTxn_chainId_ASC_NULLS_FIRST";
1394
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_ASC_NULLS_LAST"] = "receivedTxn_chainId_ASC_NULLS_LAST";
1395
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_DESC"] = "receivedTxn_chainId_DESC";
1396
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_DESC_NULLS_FIRST"] = "receivedTxn_chainId_DESC_NULLS_FIRST";
1397
- MultichainFundingReceiveEventOrderByInput["receivedTxn_chainId_DESC_NULLS_LAST"] = "receivedTxn_chainId_DESC_NULLS_LAST";
1398
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_ASC"] = "receivedTxn_from_ASC";
1399
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_ASC_NULLS_FIRST"] = "receivedTxn_from_ASC_NULLS_FIRST";
1400
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_ASC_NULLS_LAST"] = "receivedTxn_from_ASC_NULLS_LAST";
1401
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_DESC"] = "receivedTxn_from_DESC";
1402
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_DESC_NULLS_FIRST"] = "receivedTxn_from_DESC_NULLS_FIRST";
1403
- MultichainFundingReceiveEventOrderByInput["receivedTxn_from_DESC_NULLS_LAST"] = "receivedTxn_from_DESC_NULLS_LAST";
1404
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_ASC"] = "receivedTxn_hash_ASC";
1405
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_ASC_NULLS_FIRST"] = "receivedTxn_hash_ASC_NULLS_FIRST";
1406
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_ASC_NULLS_LAST"] = "receivedTxn_hash_ASC_NULLS_LAST";
1407
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_DESC"] = "receivedTxn_hash_DESC";
1408
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_DESC_NULLS_FIRST"] = "receivedTxn_hash_DESC_NULLS_FIRST";
1409
- MultichainFundingReceiveEventOrderByInput["receivedTxn_hash_DESC_NULLS_LAST"] = "receivedTxn_hash_DESC_NULLS_LAST";
1410
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_ASC"] = "receivedTxn_id_ASC";
1411
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_ASC_NULLS_FIRST"] = "receivedTxn_id_ASC_NULLS_FIRST";
1412
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_ASC_NULLS_LAST"] = "receivedTxn_id_ASC_NULLS_LAST";
1413
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_DESC"] = "receivedTxn_id_DESC";
1414
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_DESC_NULLS_FIRST"] = "receivedTxn_id_DESC_NULLS_FIRST";
1415
- MultichainFundingReceiveEventOrderByInput["receivedTxn_id_DESC_NULLS_LAST"] = "receivedTxn_id_DESC_NULLS_LAST";
1416
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_ASC"] = "receivedTxn_timestamp_ASC";
1417
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_ASC_NULLS_FIRST"] = "receivedTxn_timestamp_ASC_NULLS_FIRST";
1418
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_ASC_NULLS_LAST"] = "receivedTxn_timestamp_ASC_NULLS_LAST";
1419
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_DESC"] = "receivedTxn_timestamp_DESC";
1420
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_DESC_NULLS_FIRST"] = "receivedTxn_timestamp_DESC_NULLS_FIRST";
1421
- MultichainFundingReceiveEventOrderByInput["receivedTxn_timestamp_DESC_NULLS_LAST"] = "receivedTxn_timestamp_DESC_NULLS_LAST";
1422
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_ASC"] = "receivedTxn_to_ASC";
1423
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_ASC_NULLS_FIRST"] = "receivedTxn_to_ASC_NULLS_FIRST";
1424
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_ASC_NULLS_LAST"] = "receivedTxn_to_ASC_NULLS_LAST";
1425
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_DESC"] = "receivedTxn_to_DESC";
1426
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_DESC_NULLS_FIRST"] = "receivedTxn_to_DESC_NULLS_FIRST";
1427
- MultichainFundingReceiveEventOrderByInput["receivedTxn_to_DESC_NULLS_LAST"] = "receivedTxn_to_DESC_NULLS_LAST";
1428
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_ASC"] = "receivedTxn_transactionIndex_ASC";
1429
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_ASC_NULLS_FIRST"] = "receivedTxn_transactionIndex_ASC_NULLS_FIRST";
1430
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_ASC_NULLS_LAST"] = "receivedTxn_transactionIndex_ASC_NULLS_LAST";
1431
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_DESC"] = "receivedTxn_transactionIndex_DESC";
1432
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_DESC_NULLS_FIRST"] = "receivedTxn_transactionIndex_DESC_NULLS_FIRST";
1433
- MultichainFundingReceiveEventOrderByInput["receivedTxn_transactionIndex_DESC_NULLS_LAST"] = "receivedTxn_transactionIndex_DESC_NULLS_LAST";
1383
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_ASC"] = "receivedTimestamp_ASC";
1384
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_ASC_NULLS_FIRST"] = "receivedTimestamp_ASC_NULLS_FIRST";
1385
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_ASC_NULLS_LAST"] = "receivedTimestamp_ASC_NULLS_LAST";
1386
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_DESC"] = "receivedTimestamp_DESC";
1387
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_DESC_NULLS_FIRST"] = "receivedTimestamp_DESC_NULLS_FIRST";
1388
+ MultichainFundingReceiveEventOrderByInput["receivedTimestamp_DESC_NULLS_LAST"] = "receivedTimestamp_DESC_NULLS_LAST";
1389
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_ASC"] = "receivedTxn_ASC";
1390
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_ASC_NULLS_FIRST"] = "receivedTxn_ASC_NULLS_FIRST";
1391
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_ASC_NULLS_LAST"] = "receivedTxn_ASC_NULLS_LAST";
1392
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_DESC"] = "receivedTxn_DESC";
1393
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_DESC_NULLS_FIRST"] = "receivedTxn_DESC_NULLS_FIRST";
1394
+ MultichainFundingReceiveEventOrderByInput["receivedTxn_DESC_NULLS_LAST"] = "receivedTxn_DESC_NULLS_LAST";
1434
1395
  MultichainFundingReceiveEventOrderByInput["sourceChainId_ASC"] = "sourceChainId_ASC";
1435
1396
  MultichainFundingReceiveEventOrderByInput["sourceChainId_ASC_NULLS_FIRST"] = "sourceChainId_ASC_NULLS_FIRST";
1436
1397
  MultichainFundingReceiveEventOrderByInput["sourceChainId_ASC_NULLS_LAST"] = "sourceChainId_ASC_NULLS_LAST";
@@ -1482,60 +1443,24 @@ export var MultichainFundingSendEventOrderByInput;
1482
1443
  MultichainFundingSendEventOrderByInput["sourceChainId_DESC"] = "sourceChainId_DESC";
1483
1444
  MultichainFundingSendEventOrderByInput["sourceChainId_DESC_NULLS_FIRST"] = "sourceChainId_DESC_NULLS_FIRST";
1484
1445
  MultichainFundingSendEventOrderByInput["sourceChainId_DESC_NULLS_LAST"] = "sourceChainId_DESC_NULLS_LAST";
1446
+ MultichainFundingSendEventOrderByInput["timestamp_ASC"] = "timestamp_ASC";
1447
+ MultichainFundingSendEventOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
1448
+ MultichainFundingSendEventOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
1449
+ MultichainFundingSendEventOrderByInput["timestamp_DESC"] = "timestamp_DESC";
1450
+ MultichainFundingSendEventOrderByInput["timestamp_DESC_NULLS_FIRST"] = "timestamp_DESC_NULLS_FIRST";
1451
+ MultichainFundingSendEventOrderByInput["timestamp_DESC_NULLS_LAST"] = "timestamp_DESC_NULLS_LAST";
1485
1452
  MultichainFundingSendEventOrderByInput["token_ASC"] = "token_ASC";
1486
1453
  MultichainFundingSendEventOrderByInput["token_ASC_NULLS_FIRST"] = "token_ASC_NULLS_FIRST";
1487
1454
  MultichainFundingSendEventOrderByInput["token_ASC_NULLS_LAST"] = "token_ASC_NULLS_LAST";
1488
1455
  MultichainFundingSendEventOrderByInput["token_DESC"] = "token_DESC";
1489
1456
  MultichainFundingSendEventOrderByInput["token_DESC_NULLS_FIRST"] = "token_DESC_NULLS_FIRST";
1490
1457
  MultichainFundingSendEventOrderByInput["token_DESC_NULLS_LAST"] = "token_DESC_NULLS_LAST";
1491
- MultichainFundingSendEventOrderByInput["txn_blockNumber_ASC"] = "txn_blockNumber_ASC";
1492
- MultichainFundingSendEventOrderByInput["txn_blockNumber_ASC_NULLS_FIRST"] = "txn_blockNumber_ASC_NULLS_FIRST";
1493
- MultichainFundingSendEventOrderByInput["txn_blockNumber_ASC_NULLS_LAST"] = "txn_blockNumber_ASC_NULLS_LAST";
1494
- MultichainFundingSendEventOrderByInput["txn_blockNumber_DESC"] = "txn_blockNumber_DESC";
1495
- MultichainFundingSendEventOrderByInput["txn_blockNumber_DESC_NULLS_FIRST"] = "txn_blockNumber_DESC_NULLS_FIRST";
1496
- MultichainFundingSendEventOrderByInput["txn_blockNumber_DESC_NULLS_LAST"] = "txn_blockNumber_DESC_NULLS_LAST";
1497
- MultichainFundingSendEventOrderByInput["txn_chainId_ASC"] = "txn_chainId_ASC";
1498
- MultichainFundingSendEventOrderByInput["txn_chainId_ASC_NULLS_FIRST"] = "txn_chainId_ASC_NULLS_FIRST";
1499
- MultichainFundingSendEventOrderByInput["txn_chainId_ASC_NULLS_LAST"] = "txn_chainId_ASC_NULLS_LAST";
1500
- MultichainFundingSendEventOrderByInput["txn_chainId_DESC"] = "txn_chainId_DESC";
1501
- MultichainFundingSendEventOrderByInput["txn_chainId_DESC_NULLS_FIRST"] = "txn_chainId_DESC_NULLS_FIRST";
1502
- MultichainFundingSendEventOrderByInput["txn_chainId_DESC_NULLS_LAST"] = "txn_chainId_DESC_NULLS_LAST";
1503
- MultichainFundingSendEventOrderByInput["txn_from_ASC"] = "txn_from_ASC";
1504
- MultichainFundingSendEventOrderByInput["txn_from_ASC_NULLS_FIRST"] = "txn_from_ASC_NULLS_FIRST";
1505
- MultichainFundingSendEventOrderByInput["txn_from_ASC_NULLS_LAST"] = "txn_from_ASC_NULLS_LAST";
1506
- MultichainFundingSendEventOrderByInput["txn_from_DESC"] = "txn_from_DESC";
1507
- MultichainFundingSendEventOrderByInput["txn_from_DESC_NULLS_FIRST"] = "txn_from_DESC_NULLS_FIRST";
1508
- MultichainFundingSendEventOrderByInput["txn_from_DESC_NULLS_LAST"] = "txn_from_DESC_NULLS_LAST";
1509
- MultichainFundingSendEventOrderByInput["txn_hash_ASC"] = "txn_hash_ASC";
1510
- MultichainFundingSendEventOrderByInput["txn_hash_ASC_NULLS_FIRST"] = "txn_hash_ASC_NULLS_FIRST";
1511
- MultichainFundingSendEventOrderByInput["txn_hash_ASC_NULLS_LAST"] = "txn_hash_ASC_NULLS_LAST";
1512
- MultichainFundingSendEventOrderByInput["txn_hash_DESC"] = "txn_hash_DESC";
1513
- MultichainFundingSendEventOrderByInput["txn_hash_DESC_NULLS_FIRST"] = "txn_hash_DESC_NULLS_FIRST";
1514
- MultichainFundingSendEventOrderByInput["txn_hash_DESC_NULLS_LAST"] = "txn_hash_DESC_NULLS_LAST";
1515
- MultichainFundingSendEventOrderByInput["txn_id_ASC"] = "txn_id_ASC";
1516
- MultichainFundingSendEventOrderByInput["txn_id_ASC_NULLS_FIRST"] = "txn_id_ASC_NULLS_FIRST";
1517
- MultichainFundingSendEventOrderByInput["txn_id_ASC_NULLS_LAST"] = "txn_id_ASC_NULLS_LAST";
1518
- MultichainFundingSendEventOrderByInput["txn_id_DESC"] = "txn_id_DESC";
1519
- MultichainFundingSendEventOrderByInput["txn_id_DESC_NULLS_FIRST"] = "txn_id_DESC_NULLS_FIRST";
1520
- MultichainFundingSendEventOrderByInput["txn_id_DESC_NULLS_LAST"] = "txn_id_DESC_NULLS_LAST";
1521
- MultichainFundingSendEventOrderByInput["txn_timestamp_ASC"] = "txn_timestamp_ASC";
1522
- MultichainFundingSendEventOrderByInput["txn_timestamp_ASC_NULLS_FIRST"] = "txn_timestamp_ASC_NULLS_FIRST";
1523
- MultichainFundingSendEventOrderByInput["txn_timestamp_ASC_NULLS_LAST"] = "txn_timestamp_ASC_NULLS_LAST";
1524
- MultichainFundingSendEventOrderByInput["txn_timestamp_DESC"] = "txn_timestamp_DESC";
1525
- MultichainFundingSendEventOrderByInput["txn_timestamp_DESC_NULLS_FIRST"] = "txn_timestamp_DESC_NULLS_FIRST";
1526
- MultichainFundingSendEventOrderByInput["txn_timestamp_DESC_NULLS_LAST"] = "txn_timestamp_DESC_NULLS_LAST";
1527
- MultichainFundingSendEventOrderByInput["txn_to_ASC"] = "txn_to_ASC";
1528
- MultichainFundingSendEventOrderByInput["txn_to_ASC_NULLS_FIRST"] = "txn_to_ASC_NULLS_FIRST";
1529
- MultichainFundingSendEventOrderByInput["txn_to_ASC_NULLS_LAST"] = "txn_to_ASC_NULLS_LAST";
1530
- MultichainFundingSendEventOrderByInput["txn_to_DESC"] = "txn_to_DESC";
1531
- MultichainFundingSendEventOrderByInput["txn_to_DESC_NULLS_FIRST"] = "txn_to_DESC_NULLS_FIRST";
1532
- MultichainFundingSendEventOrderByInput["txn_to_DESC_NULLS_LAST"] = "txn_to_DESC_NULLS_LAST";
1533
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_ASC"] = "txn_transactionIndex_ASC";
1534
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_ASC_NULLS_FIRST"] = "txn_transactionIndex_ASC_NULLS_FIRST";
1535
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_ASC_NULLS_LAST"] = "txn_transactionIndex_ASC_NULLS_LAST";
1536
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_DESC"] = "txn_transactionIndex_DESC";
1537
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_DESC_NULLS_FIRST"] = "txn_transactionIndex_DESC_NULLS_FIRST";
1538
- MultichainFundingSendEventOrderByInput["txn_transactionIndex_DESC_NULLS_LAST"] = "txn_transactionIndex_DESC_NULLS_LAST";
1458
+ MultichainFundingSendEventOrderByInput["txn_ASC"] = "txn_ASC";
1459
+ MultichainFundingSendEventOrderByInput["txn_ASC_NULLS_FIRST"] = "txn_ASC_NULLS_FIRST";
1460
+ MultichainFundingSendEventOrderByInput["txn_ASC_NULLS_LAST"] = "txn_ASC_NULLS_LAST";
1461
+ MultichainFundingSendEventOrderByInput["txn_DESC"] = "txn_DESC";
1462
+ MultichainFundingSendEventOrderByInput["txn_DESC_NULLS_FIRST"] = "txn_DESC_NULLS_FIRST";
1463
+ MultichainFundingSendEventOrderByInput["txn_DESC_NULLS_LAST"] = "txn_DESC_NULLS_LAST";
1539
1464
  })(MultichainFundingSendEventOrderByInput || (MultichainFundingSendEventOrderByInput = {}));
1540
1465
  export var MultichainMetadataOrderByInput;
1541
1466
  (function (MultichainMetadataOrderByInput) {
@@ -1636,12 +1561,6 @@ export var OrderOrderByInput;
1636
1561
  OrderOrderByInput["cancelledTxn_blockNumber_DESC"] = "cancelledTxn_blockNumber_DESC";
1637
1562
  OrderOrderByInput["cancelledTxn_blockNumber_DESC_NULLS_FIRST"] = "cancelledTxn_blockNumber_DESC_NULLS_FIRST";
1638
1563
  OrderOrderByInput["cancelledTxn_blockNumber_DESC_NULLS_LAST"] = "cancelledTxn_blockNumber_DESC_NULLS_LAST";
1639
- OrderOrderByInput["cancelledTxn_chainId_ASC"] = "cancelledTxn_chainId_ASC";
1640
- OrderOrderByInput["cancelledTxn_chainId_ASC_NULLS_FIRST"] = "cancelledTxn_chainId_ASC_NULLS_FIRST";
1641
- OrderOrderByInput["cancelledTxn_chainId_ASC_NULLS_LAST"] = "cancelledTxn_chainId_ASC_NULLS_LAST";
1642
- OrderOrderByInput["cancelledTxn_chainId_DESC"] = "cancelledTxn_chainId_DESC";
1643
- OrderOrderByInput["cancelledTxn_chainId_DESC_NULLS_FIRST"] = "cancelledTxn_chainId_DESC_NULLS_FIRST";
1644
- OrderOrderByInput["cancelledTxn_chainId_DESC_NULLS_LAST"] = "cancelledTxn_chainId_DESC_NULLS_LAST";
1645
1564
  OrderOrderByInput["cancelledTxn_from_ASC"] = "cancelledTxn_from_ASC";
1646
1565
  OrderOrderByInput["cancelledTxn_from_ASC_NULLS_FIRST"] = "cancelledTxn_from_ASC_NULLS_FIRST";
1647
1566
  OrderOrderByInput["cancelledTxn_from_ASC_NULLS_LAST"] = "cancelledTxn_from_ASC_NULLS_LAST";
@@ -1684,12 +1603,6 @@ export var OrderOrderByInput;
1684
1603
  OrderOrderByInput["createdTxn_blockNumber_DESC"] = "createdTxn_blockNumber_DESC";
1685
1604
  OrderOrderByInput["createdTxn_blockNumber_DESC_NULLS_FIRST"] = "createdTxn_blockNumber_DESC_NULLS_FIRST";
1686
1605
  OrderOrderByInput["createdTxn_blockNumber_DESC_NULLS_LAST"] = "createdTxn_blockNumber_DESC_NULLS_LAST";
1687
- OrderOrderByInput["createdTxn_chainId_ASC"] = "createdTxn_chainId_ASC";
1688
- OrderOrderByInput["createdTxn_chainId_ASC_NULLS_FIRST"] = "createdTxn_chainId_ASC_NULLS_FIRST";
1689
- OrderOrderByInput["createdTxn_chainId_ASC_NULLS_LAST"] = "createdTxn_chainId_ASC_NULLS_LAST";
1690
- OrderOrderByInput["createdTxn_chainId_DESC"] = "createdTxn_chainId_DESC";
1691
- OrderOrderByInput["createdTxn_chainId_DESC_NULLS_FIRST"] = "createdTxn_chainId_DESC_NULLS_FIRST";
1692
- OrderOrderByInput["createdTxn_chainId_DESC_NULLS_LAST"] = "createdTxn_chainId_DESC_NULLS_LAST";
1693
1606
  OrderOrderByInput["createdTxn_from_ASC"] = "createdTxn_from_ASC";
1694
1607
  OrderOrderByInput["createdTxn_from_ASC_NULLS_FIRST"] = "createdTxn_from_ASC_NULLS_FIRST";
1695
1608
  OrderOrderByInput["createdTxn_from_ASC_NULLS_LAST"] = "createdTxn_from_ASC_NULLS_LAST";
@@ -1726,18 +1639,18 @@ export var OrderOrderByInput;
1726
1639
  OrderOrderByInput["createdTxn_transactionIndex_DESC"] = "createdTxn_transactionIndex_DESC";
1727
1640
  OrderOrderByInput["createdTxn_transactionIndex_DESC_NULLS_FIRST"] = "createdTxn_transactionIndex_DESC_NULLS_FIRST";
1728
1641
  OrderOrderByInput["createdTxn_transactionIndex_DESC_NULLS_LAST"] = "createdTxn_transactionIndex_DESC_NULLS_LAST";
1642
+ OrderOrderByInput["decreasePositionSwapType_ASC"] = "decreasePositionSwapType_ASC";
1643
+ OrderOrderByInput["decreasePositionSwapType_ASC_NULLS_FIRST"] = "decreasePositionSwapType_ASC_NULLS_FIRST";
1644
+ OrderOrderByInput["decreasePositionSwapType_ASC_NULLS_LAST"] = "decreasePositionSwapType_ASC_NULLS_LAST";
1645
+ OrderOrderByInput["decreasePositionSwapType_DESC"] = "decreasePositionSwapType_DESC";
1646
+ OrderOrderByInput["decreasePositionSwapType_DESC_NULLS_FIRST"] = "decreasePositionSwapType_DESC_NULLS_FIRST";
1647
+ OrderOrderByInput["decreasePositionSwapType_DESC_NULLS_LAST"] = "decreasePositionSwapType_DESC_NULLS_LAST";
1729
1648
  OrderOrderByInput["executedTxn_blockNumber_ASC"] = "executedTxn_blockNumber_ASC";
1730
1649
  OrderOrderByInput["executedTxn_blockNumber_ASC_NULLS_FIRST"] = "executedTxn_blockNumber_ASC_NULLS_FIRST";
1731
1650
  OrderOrderByInput["executedTxn_blockNumber_ASC_NULLS_LAST"] = "executedTxn_blockNumber_ASC_NULLS_LAST";
1732
1651
  OrderOrderByInput["executedTxn_blockNumber_DESC"] = "executedTxn_blockNumber_DESC";
1733
1652
  OrderOrderByInput["executedTxn_blockNumber_DESC_NULLS_FIRST"] = "executedTxn_blockNumber_DESC_NULLS_FIRST";
1734
1653
  OrderOrderByInput["executedTxn_blockNumber_DESC_NULLS_LAST"] = "executedTxn_blockNumber_DESC_NULLS_LAST";
1735
- OrderOrderByInput["executedTxn_chainId_ASC"] = "executedTxn_chainId_ASC";
1736
- OrderOrderByInput["executedTxn_chainId_ASC_NULLS_FIRST"] = "executedTxn_chainId_ASC_NULLS_FIRST";
1737
- OrderOrderByInput["executedTxn_chainId_ASC_NULLS_LAST"] = "executedTxn_chainId_ASC_NULLS_LAST";
1738
- OrderOrderByInput["executedTxn_chainId_DESC"] = "executedTxn_chainId_DESC";
1739
- OrderOrderByInput["executedTxn_chainId_DESC_NULLS_FIRST"] = "executedTxn_chainId_DESC_NULLS_FIRST";
1740
- OrderOrderByInput["executedTxn_chainId_DESC_NULLS_LAST"] = "executedTxn_chainId_DESC_NULLS_LAST";
1741
1654
  OrderOrderByInput["executedTxn_from_ASC"] = "executedTxn_from_ASC";
1742
1655
  OrderOrderByInput["executedTxn_from_ASC_NULLS_FIRST"] = "executedTxn_from_ASC_NULLS_FIRST";
1743
1656
  OrderOrderByInput["executedTxn_from_ASC_NULLS_LAST"] = "executedTxn_from_ASC_NULLS_LAST";
@@ -1902,6 +1815,33 @@ export var OrderStatus;
1902
1815
  OrderStatus["Executed"] = "Executed";
1903
1816
  OrderStatus["Frozen"] = "Frozen";
1904
1817
  })(OrderStatus || (OrderStatus = {}));
1818
+ export var PlatformStatsOrderByInput;
1819
+ (function (PlatformStatsOrderByInput) {
1820
+ PlatformStatsOrderByInput["depositedUsers_ASC"] = "depositedUsers_ASC";
1821
+ PlatformStatsOrderByInput["depositedUsers_ASC_NULLS_FIRST"] = "depositedUsers_ASC_NULLS_FIRST";
1822
+ PlatformStatsOrderByInput["depositedUsers_ASC_NULLS_LAST"] = "depositedUsers_ASC_NULLS_LAST";
1823
+ PlatformStatsOrderByInput["depositedUsers_DESC"] = "depositedUsers_DESC";
1824
+ PlatformStatsOrderByInput["depositedUsers_DESC_NULLS_FIRST"] = "depositedUsers_DESC_NULLS_FIRST";
1825
+ PlatformStatsOrderByInput["depositedUsers_DESC_NULLS_LAST"] = "depositedUsers_DESC_NULLS_LAST";
1826
+ PlatformStatsOrderByInput["id_ASC"] = "id_ASC";
1827
+ PlatformStatsOrderByInput["id_ASC_NULLS_FIRST"] = "id_ASC_NULLS_FIRST";
1828
+ PlatformStatsOrderByInput["id_ASC_NULLS_LAST"] = "id_ASC_NULLS_LAST";
1829
+ PlatformStatsOrderByInput["id_DESC"] = "id_DESC";
1830
+ PlatformStatsOrderByInput["id_DESC_NULLS_FIRST"] = "id_DESC_NULLS_FIRST";
1831
+ PlatformStatsOrderByInput["id_DESC_NULLS_LAST"] = "id_DESC_NULLS_LAST";
1832
+ PlatformStatsOrderByInput["tradedUsers_ASC"] = "tradedUsers_ASC";
1833
+ PlatformStatsOrderByInput["tradedUsers_ASC_NULLS_FIRST"] = "tradedUsers_ASC_NULLS_FIRST";
1834
+ PlatformStatsOrderByInput["tradedUsers_ASC_NULLS_LAST"] = "tradedUsers_ASC_NULLS_LAST";
1835
+ PlatformStatsOrderByInput["tradedUsers_DESC"] = "tradedUsers_DESC";
1836
+ PlatformStatsOrderByInput["tradedUsers_DESC_NULLS_FIRST"] = "tradedUsers_DESC_NULLS_FIRST";
1837
+ PlatformStatsOrderByInput["tradedUsers_DESC_NULLS_LAST"] = "tradedUsers_DESC_NULLS_LAST";
1838
+ PlatformStatsOrderByInput["volume_ASC"] = "volume_ASC";
1839
+ PlatformStatsOrderByInput["volume_ASC_NULLS_FIRST"] = "volume_ASC_NULLS_FIRST";
1840
+ PlatformStatsOrderByInput["volume_ASC_NULLS_LAST"] = "volume_ASC_NULLS_LAST";
1841
+ PlatformStatsOrderByInput["volume_DESC"] = "volume_DESC";
1842
+ PlatformStatsOrderByInput["volume_DESC_NULLS_FIRST"] = "volume_DESC_NULLS_FIRST";
1843
+ PlatformStatsOrderByInput["volume_DESC_NULLS_LAST"] = "volume_DESC_NULLS_LAST";
1844
+ })(PlatformStatsOrderByInput || (PlatformStatsOrderByInput = {}));
1905
1845
  export var PnlAprSnapshotOrderByInput;
1906
1846
  (function (PnlAprSnapshotOrderByInput) {
1907
1847
  PnlAprSnapshotOrderByInput["address_ASC"] = "address_ASC";
@@ -2045,6 +1985,12 @@ export var PositionChangeOrderByInput;
2045
1985
  PositionChangeOrderByInput["proportionalPendingImpactUsd_DESC"] = "proportionalPendingImpactUsd_DESC";
2046
1986
  PositionChangeOrderByInput["proportionalPendingImpactUsd_DESC_NULLS_FIRST"] = "proportionalPendingImpactUsd_DESC_NULLS_FIRST";
2047
1987
  PositionChangeOrderByInput["proportionalPendingImpactUsd_DESC_NULLS_LAST"] = "proportionalPendingImpactUsd_DESC_NULLS_LAST";
1988
+ PositionChangeOrderByInput["sizeDeltaInTokens_ASC"] = "sizeDeltaInTokens_ASC";
1989
+ PositionChangeOrderByInput["sizeDeltaInTokens_ASC_NULLS_FIRST"] = "sizeDeltaInTokens_ASC_NULLS_FIRST";
1990
+ PositionChangeOrderByInput["sizeDeltaInTokens_ASC_NULLS_LAST"] = "sizeDeltaInTokens_ASC_NULLS_LAST";
1991
+ PositionChangeOrderByInput["sizeDeltaInTokens_DESC"] = "sizeDeltaInTokens_DESC";
1992
+ PositionChangeOrderByInput["sizeDeltaInTokens_DESC_NULLS_FIRST"] = "sizeDeltaInTokens_DESC_NULLS_FIRST";
1993
+ PositionChangeOrderByInput["sizeDeltaInTokens_DESC_NULLS_LAST"] = "sizeDeltaInTokens_DESC_NULLS_LAST";
2048
1994
  PositionChangeOrderByInput["sizeDeltaUsd_ASC"] = "sizeDeltaUsd_ASC";
2049
1995
  PositionChangeOrderByInput["sizeDeltaUsd_ASC_NULLS_FIRST"] = "sizeDeltaUsd_ASC_NULLS_FIRST";
2050
1996
  PositionChangeOrderByInput["sizeDeltaUsd_ASC_NULLS_LAST"] = "sizeDeltaUsd_ASC_NULLS_LAST";
@@ -2057,6 +2003,12 @@ export var PositionChangeOrderByInput;
2057
2003
  PositionChangeOrderByInput["sizeInUsd_DESC"] = "sizeInUsd_DESC";
2058
2004
  PositionChangeOrderByInput["sizeInUsd_DESC_NULLS_FIRST"] = "sizeInUsd_DESC_NULLS_FIRST";
2059
2005
  PositionChangeOrderByInput["sizeInUsd_DESC_NULLS_LAST"] = "sizeInUsd_DESC_NULLS_LAST";
2006
+ PositionChangeOrderByInput["swapImpactUsd_ASC"] = "swapImpactUsd_ASC";
2007
+ PositionChangeOrderByInput["swapImpactUsd_ASC_NULLS_FIRST"] = "swapImpactUsd_ASC_NULLS_FIRST";
2008
+ PositionChangeOrderByInput["swapImpactUsd_ASC_NULLS_LAST"] = "swapImpactUsd_ASC_NULLS_LAST";
2009
+ PositionChangeOrderByInput["swapImpactUsd_DESC"] = "swapImpactUsd_DESC";
2010
+ PositionChangeOrderByInput["swapImpactUsd_DESC_NULLS_FIRST"] = "swapImpactUsd_DESC_NULLS_FIRST";
2011
+ PositionChangeOrderByInput["swapImpactUsd_DESC_NULLS_LAST"] = "swapImpactUsd_DESC_NULLS_LAST";
2060
2012
  PositionChangeOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2061
2013
  PositionChangeOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2062
2014
  PositionChangeOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
@@ -2197,12 +2149,6 @@ export var PositionFeesEntityOrderByInput;
2197
2149
  PositionFeesEntityOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2198
2150
  PositionFeesEntityOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2199
2151
  PositionFeesEntityOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2200
- PositionFeesEntityOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
2201
- PositionFeesEntityOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
2202
- PositionFeesEntityOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
2203
- PositionFeesEntityOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
2204
- PositionFeesEntityOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
2205
- PositionFeesEntityOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
2206
2152
  PositionFeesEntityOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2207
2153
  PositionFeesEntityOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2208
2154
  PositionFeesEntityOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -2271,6 +2217,12 @@ export var PositionOrderByInput;
2271
2217
  PositionOrderByInput["accountStat_cumsumSize_DESC"] = "accountStat_cumsumSize_DESC";
2272
2218
  PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_FIRST"] = "accountStat_cumsumSize_DESC_NULLS_FIRST";
2273
2219
  PositionOrderByInput["accountStat_cumsumSize_DESC_NULLS_LAST"] = "accountStat_cumsumSize_DESC_NULLS_LAST";
2220
+ PositionOrderByInput["accountStat_deposits_ASC"] = "accountStat_deposits_ASC";
2221
+ PositionOrderByInput["accountStat_deposits_ASC_NULLS_FIRST"] = "accountStat_deposits_ASC_NULLS_FIRST";
2222
+ PositionOrderByInput["accountStat_deposits_ASC_NULLS_LAST"] = "accountStat_deposits_ASC_NULLS_LAST";
2223
+ PositionOrderByInput["accountStat_deposits_DESC"] = "accountStat_deposits_DESC";
2224
+ PositionOrderByInput["accountStat_deposits_DESC_NULLS_FIRST"] = "accountStat_deposits_DESC_NULLS_FIRST";
2225
+ PositionOrderByInput["accountStat_deposits_DESC_NULLS_LAST"] = "accountStat_deposits_DESC_NULLS_LAST";
2274
2226
  PositionOrderByInput["accountStat_id_ASC"] = "accountStat_id_ASC";
2275
2227
  PositionOrderByInput["accountStat_id_ASC_NULLS_FIRST"] = "accountStat_id_ASC_NULLS_FIRST";
2276
2228
  PositionOrderByInput["accountStat_id_ASC_NULLS_LAST"] = "accountStat_id_ASC_NULLS_LAST";
@@ -2313,6 +2265,12 @@ export var PositionOrderByInput;
2313
2265
  PositionOrderByInput["accountStat_realizedPriceImpact_DESC"] = "accountStat_realizedPriceImpact_DESC";
2314
2266
  PositionOrderByInput["accountStat_realizedPriceImpact_DESC_NULLS_FIRST"] = "accountStat_realizedPriceImpact_DESC_NULLS_FIRST";
2315
2267
  PositionOrderByInput["accountStat_realizedPriceImpact_DESC_NULLS_LAST"] = "accountStat_realizedPriceImpact_DESC_NULLS_LAST";
2268
+ PositionOrderByInput["accountStat_realizedSwapImpact_ASC"] = "accountStat_realizedSwapImpact_ASC";
2269
+ PositionOrderByInput["accountStat_realizedSwapImpact_ASC_NULLS_FIRST"] = "accountStat_realizedSwapImpact_ASC_NULLS_FIRST";
2270
+ PositionOrderByInput["accountStat_realizedSwapImpact_ASC_NULLS_LAST"] = "accountStat_realizedSwapImpact_ASC_NULLS_LAST";
2271
+ PositionOrderByInput["accountStat_realizedSwapImpact_DESC"] = "accountStat_realizedSwapImpact_DESC";
2272
+ PositionOrderByInput["accountStat_realizedSwapImpact_DESC_NULLS_FIRST"] = "accountStat_realizedSwapImpact_DESC_NULLS_FIRST";
2273
+ PositionOrderByInput["accountStat_realizedSwapImpact_DESC_NULLS_LAST"] = "accountStat_realizedSwapImpact_DESC_NULLS_LAST";
2316
2274
  PositionOrderByInput["accountStat_sumMaxSize_ASC"] = "accountStat_sumMaxSize_ASC";
2317
2275
  PositionOrderByInput["accountStat_sumMaxSize_ASC_NULLS_FIRST"] = "accountStat_sumMaxSize_ASC_NULLS_FIRST";
2318
2276
  PositionOrderByInput["accountStat_sumMaxSize_ASC_NULLS_LAST"] = "accountStat_sumMaxSize_ASC_NULLS_LAST";
@@ -2373,6 +2331,12 @@ export var PositionOrderByInput;
2373
2331
  PositionOrderByInput["isSnapshot_DESC"] = "isSnapshot_DESC";
2374
2332
  PositionOrderByInput["isSnapshot_DESC_NULLS_FIRST"] = "isSnapshot_DESC_NULLS_FIRST";
2375
2333
  PositionOrderByInput["isSnapshot_DESC_NULLS_LAST"] = "isSnapshot_DESC_NULLS_LAST";
2334
+ PositionOrderByInput["leverage_ASC"] = "leverage_ASC";
2335
+ PositionOrderByInput["leverage_ASC_NULLS_FIRST"] = "leverage_ASC_NULLS_FIRST";
2336
+ PositionOrderByInput["leverage_ASC_NULLS_LAST"] = "leverage_ASC_NULLS_LAST";
2337
+ PositionOrderByInput["leverage_DESC"] = "leverage_DESC";
2338
+ PositionOrderByInput["leverage_DESC_NULLS_FIRST"] = "leverage_DESC_NULLS_FIRST";
2339
+ PositionOrderByInput["leverage_DESC_NULLS_LAST"] = "leverage_DESC_NULLS_LAST";
2376
2340
  PositionOrderByInput["market_ASC"] = "market_ASC";
2377
2341
  PositionOrderByInput["market_ASC_NULLS_FIRST"] = "market_ASC_NULLS_FIRST";
2378
2342
  PositionOrderByInput["market_ASC_NULLS_LAST"] = "market_ASC_NULLS_LAST";
@@ -2397,6 +2361,12 @@ export var PositionOrderByInput;
2397
2361
  PositionOrderByInput["positionKey_DESC"] = "positionKey_DESC";
2398
2362
  PositionOrderByInput["positionKey_DESC_NULLS_FIRST"] = "positionKey_DESC_NULLS_FIRST";
2399
2363
  PositionOrderByInput["positionKey_DESC_NULLS_LAST"] = "positionKey_DESC_NULLS_LAST";
2364
+ PositionOrderByInput["qualifyingPnl_ASC"] = "qualifyingPnl_ASC";
2365
+ PositionOrderByInput["qualifyingPnl_ASC_NULLS_FIRST"] = "qualifyingPnl_ASC_NULLS_FIRST";
2366
+ PositionOrderByInput["qualifyingPnl_ASC_NULLS_LAST"] = "qualifyingPnl_ASC_NULLS_LAST";
2367
+ PositionOrderByInput["qualifyingPnl_DESC"] = "qualifyingPnl_DESC";
2368
+ PositionOrderByInput["qualifyingPnl_DESC_NULLS_FIRST"] = "qualifyingPnl_DESC_NULLS_FIRST";
2369
+ PositionOrderByInput["qualifyingPnl_DESC_NULLS_LAST"] = "qualifyingPnl_DESC_NULLS_LAST";
2400
2370
  PositionOrderByInput["realizedFees_ASC"] = "realizedFees_ASC";
2401
2371
  PositionOrderByInput["realizedFees_ASC_NULLS_FIRST"] = "realizedFees_ASC_NULLS_FIRST";
2402
2372
  PositionOrderByInput["realizedFees_ASC_NULLS_LAST"] = "realizedFees_ASC_NULLS_LAST";
@@ -2617,12 +2587,6 @@ export var SwapInfoOrderByInput;
2617
2587
  SwapInfoOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2618
2588
  SwapInfoOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2619
2589
  SwapInfoOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2620
- SwapInfoOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
2621
- SwapInfoOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
2622
- SwapInfoOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
2623
- SwapInfoOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
2624
- SwapInfoOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
2625
- SwapInfoOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
2626
2590
  SwapInfoOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2627
2591
  SwapInfoOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2628
2592
  SwapInfoOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -2698,12 +2662,24 @@ export var TradeActionOrderByInput;
2698
2662
  TradeActionOrderByInput["collateralTokenPriceMin_DESC"] = "collateralTokenPriceMin_DESC";
2699
2663
  TradeActionOrderByInput["collateralTokenPriceMin_DESC_NULLS_FIRST"] = "collateralTokenPriceMin_DESC_NULLS_FIRST";
2700
2664
  TradeActionOrderByInput["collateralTokenPriceMin_DESC_NULLS_LAST"] = "collateralTokenPriceMin_DESC_NULLS_LAST";
2665
+ TradeActionOrderByInput["collateralTotalCostAmount_ASC"] = "collateralTotalCostAmount_ASC";
2666
+ TradeActionOrderByInput["collateralTotalCostAmount_ASC_NULLS_FIRST"] = "collateralTotalCostAmount_ASC_NULLS_FIRST";
2667
+ TradeActionOrderByInput["collateralTotalCostAmount_ASC_NULLS_LAST"] = "collateralTotalCostAmount_ASC_NULLS_LAST";
2668
+ TradeActionOrderByInput["collateralTotalCostAmount_DESC"] = "collateralTotalCostAmount_DESC";
2669
+ TradeActionOrderByInput["collateralTotalCostAmount_DESC_NULLS_FIRST"] = "collateralTotalCostAmount_DESC_NULLS_FIRST";
2670
+ TradeActionOrderByInput["collateralTotalCostAmount_DESC_NULLS_LAST"] = "collateralTotalCostAmount_DESC_NULLS_LAST";
2701
2671
  TradeActionOrderByInput["contractTriggerPrice_ASC"] = "contractTriggerPrice_ASC";
2702
2672
  TradeActionOrderByInput["contractTriggerPrice_ASC_NULLS_FIRST"] = "contractTriggerPrice_ASC_NULLS_FIRST";
2703
2673
  TradeActionOrderByInput["contractTriggerPrice_ASC_NULLS_LAST"] = "contractTriggerPrice_ASC_NULLS_LAST";
2704
2674
  TradeActionOrderByInput["contractTriggerPrice_DESC"] = "contractTriggerPrice_DESC";
2705
2675
  TradeActionOrderByInput["contractTriggerPrice_DESC_NULLS_FIRST"] = "contractTriggerPrice_DESC_NULLS_FIRST";
2706
2676
  TradeActionOrderByInput["contractTriggerPrice_DESC_NULLS_LAST"] = "contractTriggerPrice_DESC_NULLS_LAST";
2677
+ TradeActionOrderByInput["decreasePositionSwapType_ASC"] = "decreasePositionSwapType_ASC";
2678
+ TradeActionOrderByInput["decreasePositionSwapType_ASC_NULLS_FIRST"] = "decreasePositionSwapType_ASC_NULLS_FIRST";
2679
+ TradeActionOrderByInput["decreasePositionSwapType_ASC_NULLS_LAST"] = "decreasePositionSwapType_ASC_NULLS_LAST";
2680
+ TradeActionOrderByInput["decreasePositionSwapType_DESC"] = "decreasePositionSwapType_DESC";
2681
+ TradeActionOrderByInput["decreasePositionSwapType_DESC_NULLS_FIRST"] = "decreasePositionSwapType_DESC_NULLS_FIRST";
2682
+ TradeActionOrderByInput["decreasePositionSwapType_DESC_NULLS_LAST"] = "decreasePositionSwapType_DESC_NULLS_LAST";
2707
2683
  TradeActionOrderByInput["eventName_ASC"] = "eventName_ASC";
2708
2684
  TradeActionOrderByInput["eventName_ASC_NULLS_FIRST"] = "eventName_ASC_NULLS_FIRST";
2709
2685
  TradeActionOrderByInput["eventName_ASC_NULLS_LAST"] = "eventName_ASC_NULLS_LAST";
@@ -2854,6 +2830,12 @@ export var TradeActionOrderByInput;
2854
2830
  TradeActionOrderByInput["shouldUnwrapNativeToken_DESC"] = "shouldUnwrapNativeToken_DESC";
2855
2831
  TradeActionOrderByInput["shouldUnwrapNativeToken_DESC_NULLS_FIRST"] = "shouldUnwrapNativeToken_DESC_NULLS_FIRST";
2856
2832
  TradeActionOrderByInput["shouldUnwrapNativeToken_DESC_NULLS_LAST"] = "shouldUnwrapNativeToken_DESC_NULLS_LAST";
2833
+ TradeActionOrderByInput["sizeDeltaInTokens_ASC"] = "sizeDeltaInTokens_ASC";
2834
+ TradeActionOrderByInput["sizeDeltaInTokens_ASC_NULLS_FIRST"] = "sizeDeltaInTokens_ASC_NULLS_FIRST";
2835
+ TradeActionOrderByInput["sizeDeltaInTokens_ASC_NULLS_LAST"] = "sizeDeltaInTokens_ASC_NULLS_LAST";
2836
+ TradeActionOrderByInput["sizeDeltaInTokens_DESC"] = "sizeDeltaInTokens_DESC";
2837
+ TradeActionOrderByInput["sizeDeltaInTokens_DESC_NULLS_FIRST"] = "sizeDeltaInTokens_DESC_NULLS_FIRST";
2838
+ TradeActionOrderByInput["sizeDeltaInTokens_DESC_NULLS_LAST"] = "sizeDeltaInTokens_DESC_NULLS_LAST";
2857
2839
  TradeActionOrderByInput["sizeDeltaUsd_ASC"] = "sizeDeltaUsd_ASC";
2858
2840
  TradeActionOrderByInput["sizeDeltaUsd_ASC_NULLS_FIRST"] = "sizeDeltaUsd_ASC_NULLS_FIRST";
2859
2841
  TradeActionOrderByInput["sizeDeltaUsd_ASC_NULLS_LAST"] = "sizeDeltaUsd_ASC_NULLS_LAST";
@@ -2866,6 +2848,12 @@ export var TradeActionOrderByInput;
2866
2848
  TradeActionOrderByInput["srcChainId_DESC"] = "srcChainId_DESC";
2867
2849
  TradeActionOrderByInput["srcChainId_DESC_NULLS_FIRST"] = "srcChainId_DESC_NULLS_FIRST";
2868
2850
  TradeActionOrderByInput["srcChainId_DESC_NULLS_LAST"] = "srcChainId_DESC_NULLS_LAST";
2851
+ TradeActionOrderByInput["swapImpactUsd_ASC"] = "swapImpactUsd_ASC";
2852
+ TradeActionOrderByInput["swapImpactUsd_ASC_NULLS_FIRST"] = "swapImpactUsd_ASC_NULLS_FIRST";
2853
+ TradeActionOrderByInput["swapImpactUsd_ASC_NULLS_LAST"] = "swapImpactUsd_ASC_NULLS_LAST";
2854
+ TradeActionOrderByInput["swapImpactUsd_DESC"] = "swapImpactUsd_DESC";
2855
+ TradeActionOrderByInput["swapImpactUsd_DESC_NULLS_FIRST"] = "swapImpactUsd_DESC_NULLS_FIRST";
2856
+ TradeActionOrderByInput["swapImpactUsd_DESC_NULLS_LAST"] = "swapImpactUsd_DESC_NULLS_LAST";
2869
2857
  TradeActionOrderByInput["timestamp_ASC"] = "timestamp_ASC";
2870
2858
  TradeActionOrderByInput["timestamp_ASC_NULLS_FIRST"] = "timestamp_ASC_NULLS_FIRST";
2871
2859
  TradeActionOrderByInput["timestamp_ASC_NULLS_LAST"] = "timestamp_ASC_NULLS_LAST";
@@ -2884,12 +2872,6 @@ export var TradeActionOrderByInput;
2884
2872
  TradeActionOrderByInput["transaction_blockNumber_DESC"] = "transaction_blockNumber_DESC";
2885
2873
  TradeActionOrderByInput["transaction_blockNumber_DESC_NULLS_FIRST"] = "transaction_blockNumber_DESC_NULLS_FIRST";
2886
2874
  TradeActionOrderByInput["transaction_blockNumber_DESC_NULLS_LAST"] = "transaction_blockNumber_DESC_NULLS_LAST";
2887
- TradeActionOrderByInput["transaction_chainId_ASC"] = "transaction_chainId_ASC";
2888
- TradeActionOrderByInput["transaction_chainId_ASC_NULLS_FIRST"] = "transaction_chainId_ASC_NULLS_FIRST";
2889
- TradeActionOrderByInput["transaction_chainId_ASC_NULLS_LAST"] = "transaction_chainId_ASC_NULLS_LAST";
2890
- TradeActionOrderByInput["transaction_chainId_DESC"] = "transaction_chainId_DESC";
2891
- TradeActionOrderByInput["transaction_chainId_DESC_NULLS_FIRST"] = "transaction_chainId_DESC_NULLS_FIRST";
2892
- TradeActionOrderByInput["transaction_chainId_DESC_NULLS_LAST"] = "transaction_chainId_DESC_NULLS_LAST";
2893
2875
  TradeActionOrderByInput["transaction_from_ASC"] = "transaction_from_ASC";
2894
2876
  TradeActionOrderByInput["transaction_from_ASC_NULLS_FIRST"] = "transaction_from_ASC_NULLS_FIRST";
2895
2877
  TradeActionOrderByInput["transaction_from_ASC_NULLS_LAST"] = "transaction_from_ASC_NULLS_LAST";
@@ -2953,12 +2935,6 @@ export var TransactionOrderByInput;
2953
2935
  TransactionOrderByInput["blockNumber_DESC"] = "blockNumber_DESC";
2954
2936
  TransactionOrderByInput["blockNumber_DESC_NULLS_FIRST"] = "blockNumber_DESC_NULLS_FIRST";
2955
2937
  TransactionOrderByInput["blockNumber_DESC_NULLS_LAST"] = "blockNumber_DESC_NULLS_LAST";
2956
- TransactionOrderByInput["chainId_ASC"] = "chainId_ASC";
2957
- TransactionOrderByInput["chainId_ASC_NULLS_FIRST"] = "chainId_ASC_NULLS_FIRST";
2958
- TransactionOrderByInput["chainId_ASC_NULLS_LAST"] = "chainId_ASC_NULLS_LAST";
2959
- TransactionOrderByInput["chainId_DESC"] = "chainId_DESC";
2960
- TransactionOrderByInput["chainId_DESC_NULLS_FIRST"] = "chainId_DESC_NULLS_FIRST";
2961
- TransactionOrderByInput["chainId_DESC_NULLS_LAST"] = "chainId_DESC_NULLS_LAST";
2962
2938
  TransactionOrderByInput["from_ASC"] = "from_ASC";
2963
2939
  TransactionOrderByInput["from_ASC_NULLS_FIRST"] = "from_ASC_NULLS_FIRST";
2964
2940
  TransactionOrderByInput["from_ASC_NULLS_LAST"] = "from_ASC_NULLS_LAST";