@gmx-io/sdk 1.3.0 → 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 (443) 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/orders/transactions/createDecreaseOrderTxn.js +1 -0
  74. package/build/cjs/src/modules/orders/transactions/createIncreaseOrderTxn.js +1 -0
  75. package/build/cjs/src/modules/orders/transactions/createSwapOrderTxn.js +1 -0
  76. package/build/cjs/src/modules/positions/positions.js +10 -2
  77. package/build/cjs/src/modules/trades/trades.js +2 -2
  78. package/build/cjs/src/prebuilt/hashedKinkModelMarketRatesKeys.json +88 -0
  79. package/build/cjs/src/prebuilt/hashedMarketConfigKeys.json +907 -453
  80. package/build/cjs/src/prebuilt/hashedMarketValuesKeys.json +165 -0
  81. package/build/cjs/src/test/mock.js +3 -3
  82. package/build/cjs/src/types/subsquid.js +193 -217
  83. package/build/cjs/src/types/tradeHistory.js +9 -1
  84. package/build/cjs/src/utils/LruCache.js +21 -17
  85. package/build/cjs/src/utils/__tests__/LruCache.spec.js +11 -0
  86. package/build/cjs/src/utils/__tests__/fees.spec.js +4 -4
  87. package/build/cjs/src/utils/__tests__/{subgraph.spec.js → indexers.spec.js} +18 -18
  88. package/build/cjs/src/utils/__tests__/numbers.spec.js +1 -1
  89. package/build/cjs/src/utils/bigmath.js +3 -0
  90. package/build/cjs/src/utils/buildUrl.js +1 -0
  91. package/build/cjs/src/utils/errors/transactionsErrors.js +1 -0
  92. package/build/cjs/src/utils/fees/index.js +5 -6
  93. package/build/cjs/src/utils/fees/priceImpact.js +29 -19
  94. package/build/cjs/src/utils/{subgraph.js → indexers.js} +17 -1
  95. package/build/cjs/src/utils/marketKeysAndConfigs.js +7 -11
  96. package/build/cjs/src/utils/markets.js +10 -1
  97. package/build/cjs/src/utils/numbers.js +11 -6
  98. package/build/cjs/src/utils/orderTransactions.js +5 -5
  99. package/build/cjs/src/utils/orders.js +9 -1
  100. package/build/cjs/src/utils/prices.js +0 -2
  101. package/build/cjs/src/utils/swap/botanixStaking.js +3 -3
  102. package/build/cjs/src/utils/swap/swapPath.js +1 -10
  103. package/build/cjs/src/utils/swap/swapValues.js +15 -15
  104. package/build/cjs/src/utils/trade/decrease.js +6 -9
  105. package/build/cjs/src/utils/trade/increase.js +9 -8
  106. package/build/cjs/src/utils/tradeHistory.js +3 -0
  107. package/build/esm/src/abis/ArbitrumNodeInterface.js +103 -0
  108. package/build/esm/src/abis/ClaimHandler.js +422 -0
  109. package/build/esm/src/abis/CustomErrors.js +1882 -0
  110. package/build/esm/src/abis/DataStore.js +637 -0
  111. package/build/esm/src/abis/ERC20PermitInterface.js +52 -0
  112. package/build/esm/src/abis/ERC721.js +194 -0
  113. package/build/esm/src/abis/EventEmitter.js +1226 -0
  114. package/build/esm/src/abis/ExchangeRouter.js +1588 -0
  115. package/build/esm/src/abis/GelatoRelayRouter.js +1577 -0
  116. package/build/esm/src/abis/GlpManager.js +244 -0
  117. package/build/esm/src/abis/GlvReader.js +1469 -0
  118. package/build/esm/src/abis/GlvRouter.js +762 -0
  119. package/build/esm/src/abis/GmxMigrator.js +267 -0
  120. package/build/esm/src/abis/GovToken.js +323 -0
  121. package/build/esm/src/abis/LayerZeroProvider.js +159 -0
  122. package/build/esm/src/abis/MintableBaseToken.js +321 -0
  123. package/build/esm/src/abis/Multicall.js +229 -0
  124. package/build/esm/src/abis/MultichainClaimsRouter.js +1264 -0
  125. package/build/esm/src/abis/MultichainGlvRouter.js +1148 -0
  126. package/build/esm/src/abis/MultichainGmRouter.js +1447 -0
  127. package/build/esm/src/abis/MultichainOrderRouter.js +2007 -0
  128. package/build/esm/src/abis/MultichainSubaccountRouter.js +2067 -0
  129. package/build/esm/src/abis/MultichainTransferRouter.js +913 -0
  130. package/build/esm/src/abis/MultichainUtils.js +131 -0
  131. package/build/esm/src/abis/MultichainVault.js +273 -0
  132. package/build/esm/src/abis/Reader.js +138 -0
  133. package/build/esm/src/abis/ReaderV2.js +257 -0
  134. package/build/esm/src/abis/ReferralStorage.js +259 -0
  135. package/build/esm/src/abis/RelayParams.js +53 -0
  136. package/build/esm/src/abis/RewardReader.js +33 -0
  137. package/build/esm/src/abis/RewardRouter.js +458 -0
  138. package/build/esm/src/abis/RewardTracker.js +413 -0
  139. package/build/esm/src/abis/SmartAccount.js +12 -0
  140. package/build/esm/src/abis/StBTC.js +511 -0
  141. package/build/esm/src/abis/SubaccountApproval.js +15 -0
  142. package/build/esm/src/abis/SubaccountGelatoRelayRouter.js +2017 -0
  143. package/build/esm/src/abis/SubaccountRouter.js +600 -0
  144. package/build/esm/src/abis/SyntheticsReader.js +4903 -0
  145. package/build/esm/src/abis/SyntheticsRouter.js +70 -0
  146. package/build/esm/src/abis/Timelock.js +776 -0
  147. package/build/esm/src/abis/Token.js +148 -0
  148. package/build/esm/src/abis/Treasury.js +204 -0
  149. package/build/esm/src/abis/UniPool.js +34 -0
  150. package/build/esm/src/abis/UniswapV2.js +285 -0
  151. package/build/esm/src/abis/UniswapV3Factory.js +198 -0
  152. package/build/esm/src/abis/UniswapV3Pool.js +983 -0
  153. package/build/esm/src/abis/UniswapV3PositionManager.js +989 -0
  154. package/build/esm/src/abis/Vault.js +1306 -0
  155. package/build/esm/src/abis/VaultReader.js +28 -0
  156. package/build/esm/src/abis/VaultV2.js +1220 -0
  157. package/build/esm/src/abis/VaultV2b.js +1306 -0
  158. package/build/esm/src/abis/VenusVToken.js +47 -0
  159. package/build/esm/src/abis/Vester.js +454 -0
  160. package/build/esm/src/abis/WETH.js +135 -0
  161. package/build/esm/src/abis/index.js +106 -118
  162. package/build/esm/src/configs/batch.js +14 -1
  163. package/build/esm/src/configs/chainIds.js +14 -0
  164. package/build/esm/src/configs/chains.js +15 -14
  165. package/build/esm/src/configs/contracts.js +59 -80
  166. package/build/esm/src/configs/dataStore.js +3 -6
  167. package/build/esm/src/configs/express.js +15 -2
  168. package/build/esm/src/configs/factors.js +1 -2
  169. package/build/esm/src/configs/markets.js +124 -0
  170. package/build/esm/src/configs/multichain.js +21 -0
  171. package/build/esm/src/configs/oracleKeeper.js +19 -4
  172. package/build/esm/src/configs/tokens.js +108 -4
  173. package/build/esm/src/configs/uniswapV3.js +13 -0
  174. package/build/esm/src/configs/venus.js +53 -0
  175. package/build/esm/src/modules/markets/index.js +36 -14
  176. package/build/esm/src/modules/markets/query-builders.js +6 -10
  177. package/build/esm/src/modules/orders/helpers.js +1 -0
  178. package/build/esm/src/modules/orders/transactions/createDecreaseOrderTxn.js +1 -0
  179. package/build/esm/src/modules/orders/transactions/createIncreaseOrderTxn.js +1 -0
  180. package/build/esm/src/modules/orders/transactions/createSwapOrderTxn.js +1 -0
  181. package/build/esm/src/modules/positions/positions.js +10 -2
  182. package/build/esm/src/modules/trades/trades.js +1 -1
  183. package/build/esm/src/prebuilt/hashedKinkModelMarketRatesKeys.json +88 -0
  184. package/build/esm/src/prebuilt/hashedMarketConfigKeys.json +907 -453
  185. package/build/esm/src/prebuilt/hashedMarketValuesKeys.json +165 -0
  186. package/build/esm/src/test/mock.js +3 -3
  187. package/build/esm/src/types/subsquid.js +192 -216
  188. package/build/esm/src/types/tradeHistory.js +6 -0
  189. package/build/esm/src/utils/LruCache.js +21 -17
  190. package/build/esm/src/utils/__tests__/LruCache.spec.js +11 -0
  191. package/build/esm/src/utils/__tests__/fees.spec.js +4 -4
  192. package/build/esm/src/utils/__tests__/{subgraph.spec.js → indexers.spec.js} +1 -1
  193. package/build/esm/src/utils/__tests__/numbers.spec.js +1 -1
  194. package/build/esm/src/utils/bigmath.js +3 -0
  195. package/build/esm/src/utils/buildUrl.js +1 -0
  196. package/build/esm/src/utils/errors/transactionsErrors.js +1 -0
  197. package/build/esm/src/utils/fees/index.js +5 -6
  198. package/build/esm/src/utils/fees/priceImpact.js +28 -19
  199. package/build/esm/src/utils/{subgraph.js → indexers.js} +15 -0
  200. package/build/esm/src/utils/marketKeysAndConfigs.js +8 -12
  201. package/build/esm/src/utils/markets.js +8 -0
  202. package/build/esm/src/utils/numbers.js +8 -4
  203. package/build/esm/src/utils/orderTransactions.js +5 -5
  204. package/build/esm/src/utils/orders.js +8 -1
  205. package/build/esm/src/utils/prices.js +0 -2
  206. package/build/esm/src/utils/swap/botanixStaking.js +3 -3
  207. package/build/esm/src/utils/swap/swapPath.js +1 -10
  208. package/build/esm/src/utils/swap/swapValues.js +15 -15
  209. package/build/esm/src/utils/trade/decrease.js +6 -9
  210. package/build/esm/src/utils/trade/increase.js +9 -8
  211. package/build/esm/src/utils/tradeHistory.js +3 -0
  212. package/build/types/src/abis/ArbitrumNodeInterface.d.ts +214 -0
  213. package/build/types/src/abis/ClaimHandler.d.ts +322 -0
  214. package/build/types/src/abis/CustomErrors.d.ts +3330 -0
  215. package/build/types/src/abis/DataStore.d.ts +1098 -0
  216. package/build/types/src/abis/ERC20PermitInterface.d.ts +90 -0
  217. package/build/types/src/abis/ERC721.d.ts +334 -0
  218. package/build/types/src/abis/EventEmitter.d.ts +1564 -0
  219. package/build/types/src/abis/ExchangeRouter.d.ts +1224 -0
  220. package/build/types/src/abis/GelatoRelayRouter.d.ts +1222 -0
  221. package/build/types/src/abis/GlpManager.d.ts +452 -0
  222. package/build/types/src/abis/GlvReader.d.ts +1131 -0
  223. package/build/types/src/abis/GlvRouter.d.ts +588 -0
  224. package/build/types/src/abis/GmxMigrator.d.ts +497 -0
  225. package/build/types/src/abis/GovToken.d.ts +588 -0
  226. package/build/types/src/abis/LayerZeroProvider.d.ts +285 -0
  227. package/build/types/src/abis/MintableBaseToken.d.ts +526 -0
  228. package/build/types/src/abis/Multicall.d.ts +323 -0
  229. package/build/types/src/abis/MultichainClaimsRouter.d.ts +973 -0
  230. package/build/types/src/abis/MultichainGlvRouter.d.ts +886 -0
  231. package/build/types/src/abis/MultichainGmRouter.d.ts +1118 -0
  232. package/build/types/src/abis/MultichainOrderRouter.d.ts +1557 -0
  233. package/build/types/src/abis/MultichainSubaccountRouter.d.ts +1606 -0
  234. package/build/types/src/abis/MultichainTransferRouter.d.ts +702 -0
  235. package/build/types/src/abis/MultichainUtils.d.ts +100 -0
  236. package/build/types/src/abis/MultichainVault.d.ts +208 -0
  237. package/build/types/src/abis/Reader.d.ts +264 -0
  238. package/build/types/src/abis/ReaderV2.d.ts +474 -0
  239. package/build/types/src/abis/ReferralStorage.d.ts +429 -0
  240. package/build/types/src/abis/RelayParams.d.ts +114 -0
  241. package/build/types/src/abis/RewardReader.d.ts +60 -0
  242. package/build/types/src/abis/RewardRouter.d.ts +790 -0
  243. package/build/types/src/abis/RewardTracker.d.ts +695 -0
  244. package/build/types/src/abis/SmartAccount.d.ts +20 -0
  245. package/build/types/src/abis/StBTC.d.ts +932 -0
  246. package/build/types/src/abis/SubaccountApproval.d.ts +29 -0
  247. package/build/types/src/abis/SubaccountGelatoRelayRouter.d.ts +1567 -0
  248. package/build/types/src/abis/SubaccountRouter.d.ts +465 -0
  249. package/build/types/src/abis/SyntheticsReader.d.ts +3780 -0
  250. package/build/types/src/abis/SyntheticsRouter.d.ts +54 -0
  251. package/build/types/src/abis/Timelock.d.ts +1356 -0
  252. package/build/types/src/abis/Token.d.ts +260 -0
  253. package/build/types/src/abis/Treasury.d.ts +312 -0
  254. package/build/types/src/abis/UniPool.d.ts +64 -0
  255. package/build/types/src/abis/UniswapV2.d.ts +511 -0
  256. package/build/types/src/abis/UniswapV3Factory.d.ts +154 -0
  257. package/build/types/src/abis/UniswapV3Pool.d.ts +771 -0
  258. package/build/types/src/abis/UniswapV3PositionManager.d.ts +767 -0
  259. package/build/types/src/abis/Vault.d.ts +2482 -0
  260. package/build/types/src/abis/VaultReader.d.ts +62 -0
  261. package/build/types/src/abis/VaultV2.d.ts +2327 -0
  262. package/build/types/src/abis/VaultV2b.d.ts +2482 -0
  263. package/build/types/src/abis/VenusVToken.d.ts +36 -0
  264. package/build/types/src/abis/Vester.d.ts +782 -0
  265. package/build/types/src/abis/WETH.d.ts +240 -0
  266. package/build/types/src/abis/index.d.ts +43288 -23
  267. package/build/types/src/configs/batch.d.ts +1 -0
  268. package/build/types/src/configs/chainIds.d.ts +10 -0
  269. package/build/types/src/configs/chains.d.ts +7 -12
  270. package/build/types/src/configs/contracts.d.ts +0 -21
  271. package/build/types/src/configs/dataStore.d.ts +2 -3
  272. package/build/types/src/configs/express.d.ts +4 -0
  273. package/build/types/src/configs/factors.d.ts +1 -2
  274. package/build/types/src/configs/markets.d.ts +3 -0
  275. package/build/types/src/configs/multichain.d.ts +5 -0
  276. package/build/types/src/configs/tokens.d.ts +1 -0
  277. package/build/types/src/configs/uniswapV3.d.ts +7 -0
  278. package/build/types/src/configs/venus.d.ts +16 -0
  279. package/build/types/src/index.d.ts +2 -2
  280. package/build/types/src/modules/base.d.ts +1 -1
  281. package/build/types/src/modules/markets/index.d.ts +1 -0
  282. package/build/types/src/modules/markets/query-builders.d.ts +2 -2
  283. package/build/types/src/modules/markets/types.d.ts +2 -2
  284. package/build/types/src/modules/orders/orders.d.ts +2 -2
  285. package/build/types/src/modules/orders/transactions/cancelOrdersTxn.d.ts +2 -2
  286. package/build/types/src/modules/orders/transactions/createDecreaseOrderTxn.d.ts +2 -1
  287. package/build/types/src/modules/orders/transactions/createIncreaseOrderTxn.d.ts +1 -0
  288. package/build/types/src/modules/orders/transactions/createSwapOrderTxn.d.ts +1 -0
  289. package/build/types/src/modules/orders/transactions/createWrapOrUnwrapTxn.d.ts +1 -1
  290. package/build/types/src/modules/orders/transactions/updateOrderTxn.d.ts +1 -1
  291. package/build/types/src/modules/orders/utils.d.ts +2 -2
  292. package/build/types/src/modules/positions/positions.d.ts +1 -1
  293. package/build/types/src/types/markets.d.ts +3 -3
  294. package/build/types/src/types/orders.d.ts +1 -0
  295. package/build/types/src/types/positions.d.ts +1 -0
  296. package/build/types/src/types/subsquid.d.ts +633 -305
  297. package/build/types/src/types/tokens.d.ts +15 -4
  298. package/build/types/src/types/trade.d.ts +1 -0
  299. package/build/types/src/types/tradeHistory.d.ts +5 -0
  300. package/build/types/src/utils/LruCache.d.ts +2 -2
  301. package/build/types/src/utils/bigmath.d.ts +1 -0
  302. package/build/types/src/utils/callContract.d.ts +1 -1
  303. package/build/types/src/utils/fees/priceImpact.d.ts +9 -3
  304. package/build/types/src/utils/hash.d.ts +1 -1
  305. package/build/types/src/utils/{subgraph.d.ts → indexers.d.ts} +1 -0
  306. package/build/types/src/utils/marketKeysAndConfigs.d.ts +2 -3
  307. package/build/types/src/utils/markets.d.ts +1 -0
  308. package/build/types/src/utils/numbers.d.ts +4 -0
  309. package/build/types/src/utils/orderTransactions.d.ts +7 -7
  310. package/build/types/src/utils/orders.d.ts +1 -0
  311. package/build/types/src/utils/prices.d.ts +0 -2
  312. package/build/types/src/utils/swap/swapPath.d.ts +0 -1
  313. package/build/types/src/utils/trade/decrease.d.ts +1 -0
  314. package/build/types/src/utils/trade/increase.d.ts +1 -0
  315. package/build/types/src/utils/tradeHistory.d.ts +1 -2
  316. package/package.json +6 -2
  317. package/build/cjs/src/abis/ArbitrumNodeInterface.json +0 -105
  318. package/build/cjs/src/abis/ClaimHandler.json +0 -424
  319. package/build/cjs/src/abis/CustomErrors.json +0 -4432
  320. package/build/cjs/src/abis/DataStore.json +0 -1459
  321. package/build/cjs/src/abis/ERC20PermitInterface.json +0 -118
  322. package/build/cjs/src/abis/ERC721.json +0 -442
  323. package/build/cjs/src/abis/EventEmitter.json +0 -2060
  324. package/build/cjs/src/abis/ExchangeRouter.json +0 -1706
  325. package/build/cjs/src/abis/GMT.json +0 -522
  326. package/build/cjs/src/abis/GelatoRelayRouter.json +0 -1579
  327. package/build/cjs/src/abis/GlpManager.json +0 -591
  328. package/build/cjs/src/abis/GlvReader.json +0 -1471
  329. package/build/cjs/src/abis/GlvRouter.json +0 -764
  330. package/build/cjs/src/abis/GmxMigrator.json +0 -657
  331. package/build/cjs/src/abis/GovToken.json +0 -768
  332. package/build/cjs/src/abis/LayerZeroProvider.json +0 -372
  333. package/build/cjs/src/abis/MintableBaseToken.json +0 -696
  334. package/build/cjs/src/abis/Multicall.json +0 -429
  335. package/build/cjs/src/abis/MultichainClaimsRouter.json +0 -1266
  336. package/build/cjs/src/abis/MultichainGlvRouter.json +0 -1150
  337. package/build/cjs/src/abis/MultichainGmRouter.json +0 -1449
  338. package/build/cjs/src/abis/MultichainOrderRouter.json +0 -1820
  339. package/build/cjs/src/abis/MultichainSubaccountRouter.json +0 -2069
  340. package/build/cjs/src/abis/MultichainTransferRouter.json +0 -915
  341. package/build/cjs/src/abis/MultichainUtils.json +0 -133
  342. package/build/cjs/src/abis/MultichainVault.json +0 -275
  343. package/build/cjs/src/abis/OrderBook.json +0 -1997
  344. package/build/cjs/src/abis/OrderBookReader.json +0 -111
  345. package/build/cjs/src/abis/OrderExecutor.json +0 -122
  346. package/build/cjs/src/abis/PositionManager.json +0 -1165
  347. package/build/cjs/src/abis/PositionRouter.json +0 -2030
  348. package/build/cjs/src/abis/Reader.json +0 -355
  349. package/build/cjs/src/abis/ReaderV2.json +0 -630
  350. package/build/cjs/src/abis/ReferralStorage.json +0 -557
  351. package/build/cjs/src/abis/RelayParams.json +0 -147
  352. package/build/cjs/src/abis/RewardReader.json +0 -86
  353. package/build/cjs/src/abis/RewardRouter.json +0 -1024
  354. package/build/cjs/src/abis/RewardTracker.json +0 -918
  355. package/build/cjs/src/abis/Router-v2.json +0 -605
  356. package/build/cjs/src/abis/Router.json +0 -605
  357. package/build/cjs/src/abis/SmartAccount.json +0 -28
  358. package/build/cjs/src/abis/StBTC.json +0 -1225
  359. package/build/cjs/src/abis/SubaccountApproval.json +0 -17
  360. package/build/cjs/src/abis/SubaccountGelatoRelayRouter.json +0 -2019
  361. package/build/cjs/src/abis/SubaccountRouter.json +0 -602
  362. package/build/cjs/src/abis/SyntheticsReader.json +0 -4905
  363. package/build/cjs/src/abis/SyntheticsRouter.json +0 -72
  364. package/build/cjs/src/abis/Timelock.json +0 -1737
  365. package/build/cjs/src/abis/Token.json +0 -345
  366. package/build/cjs/src/abis/Treasury.json +0 -411
  367. package/build/cjs/src/abis/UniPool.json +0 -89
  368. package/build/cjs/src/abis/UniswapV2.json +0 -1
  369. package/build/cjs/src/abis/Vault.json +0 -3220
  370. package/build/cjs/src/abis/VaultReader.json +0 -87
  371. package/build/cjs/src/abis/VaultV2.json +0 -3019
  372. package/build/cjs/src/abis/VaultV2b.json +0 -3220
  373. package/build/cjs/src/abis/Vester.json +0 -1031
  374. package/build/cjs/src/abis/WETH.json +0 -320
  375. package/build/cjs/src/abis/YieldFarm.json +0 -599
  376. package/build/cjs/src/abis/YieldToken.json +0 -560
  377. package/build/cjs/src/abis/__tests__/abis.spec.js +0 -40
  378. package/build/cjs/src/configs/__tests__/permits.spec.js +0 -109
  379. package/build/esm/src/abis/ArbitrumNodeInterface.json +0 -105
  380. package/build/esm/src/abis/ClaimHandler.json +0 -424
  381. package/build/esm/src/abis/CustomErrors.json +0 -4432
  382. package/build/esm/src/abis/DataStore.json +0 -1459
  383. package/build/esm/src/abis/ERC20PermitInterface.json +0 -118
  384. package/build/esm/src/abis/ERC721.json +0 -442
  385. package/build/esm/src/abis/EventEmitter.json +0 -2060
  386. package/build/esm/src/abis/ExchangeRouter.json +0 -1706
  387. package/build/esm/src/abis/GMT.json +0 -522
  388. package/build/esm/src/abis/GelatoRelayRouter.json +0 -1579
  389. package/build/esm/src/abis/GlpManager.json +0 -591
  390. package/build/esm/src/abis/GlvReader.json +0 -1471
  391. package/build/esm/src/abis/GlvRouter.json +0 -764
  392. package/build/esm/src/abis/GmxMigrator.json +0 -657
  393. package/build/esm/src/abis/GovToken.json +0 -768
  394. package/build/esm/src/abis/LayerZeroProvider.json +0 -372
  395. package/build/esm/src/abis/MintableBaseToken.json +0 -696
  396. package/build/esm/src/abis/Multicall.json +0 -429
  397. package/build/esm/src/abis/MultichainClaimsRouter.json +0 -1266
  398. package/build/esm/src/abis/MultichainGlvRouter.json +0 -1150
  399. package/build/esm/src/abis/MultichainGmRouter.json +0 -1449
  400. package/build/esm/src/abis/MultichainOrderRouter.json +0 -1820
  401. package/build/esm/src/abis/MultichainSubaccountRouter.json +0 -2069
  402. package/build/esm/src/abis/MultichainTransferRouter.json +0 -915
  403. package/build/esm/src/abis/MultichainUtils.json +0 -133
  404. package/build/esm/src/abis/MultichainVault.json +0 -275
  405. package/build/esm/src/abis/OrderBook.json +0 -1997
  406. package/build/esm/src/abis/OrderBookReader.json +0 -111
  407. package/build/esm/src/abis/OrderExecutor.json +0 -122
  408. package/build/esm/src/abis/PositionManager.json +0 -1165
  409. package/build/esm/src/abis/PositionRouter.json +0 -2030
  410. package/build/esm/src/abis/Reader.json +0 -355
  411. package/build/esm/src/abis/ReaderV2.json +0 -630
  412. package/build/esm/src/abis/ReferralStorage.json +0 -557
  413. package/build/esm/src/abis/RelayParams.json +0 -147
  414. package/build/esm/src/abis/RewardReader.json +0 -86
  415. package/build/esm/src/abis/RewardRouter.json +0 -1024
  416. package/build/esm/src/abis/RewardTracker.json +0 -918
  417. package/build/esm/src/abis/Router-v2.json +0 -605
  418. package/build/esm/src/abis/Router.json +0 -605
  419. package/build/esm/src/abis/SmartAccount.json +0 -28
  420. package/build/esm/src/abis/StBTC.json +0 -1225
  421. package/build/esm/src/abis/SubaccountApproval.json +0 -17
  422. package/build/esm/src/abis/SubaccountGelatoRelayRouter.json +0 -2019
  423. package/build/esm/src/abis/SubaccountRouter.json +0 -602
  424. package/build/esm/src/abis/SyntheticsReader.json +0 -4905
  425. package/build/esm/src/abis/SyntheticsRouter.json +0 -72
  426. package/build/esm/src/abis/Timelock.json +0 -1737
  427. package/build/esm/src/abis/Token.json +0 -345
  428. package/build/esm/src/abis/Treasury.json +0 -411
  429. package/build/esm/src/abis/UniPool.json +0 -89
  430. package/build/esm/src/abis/UniswapV2.json +0 -1
  431. package/build/esm/src/abis/Vault.json +0 -3220
  432. package/build/esm/src/abis/VaultReader.json +0 -87
  433. package/build/esm/src/abis/VaultV2.json +0 -3019
  434. package/build/esm/src/abis/VaultV2b.json +0 -3220
  435. package/build/esm/src/abis/Vester.json +0 -1031
  436. package/build/esm/src/abis/WETH.json +0 -320
  437. package/build/esm/src/abis/YieldFarm.json +0 -599
  438. package/build/esm/src/abis/YieldToken.json +0 -560
  439. package/build/esm/src/abis/__tests__/abis.spec.js +0 -35
  440. package/build/esm/src/configs/__tests__/permits.spec.js +0 -107
  441. package/build/types/src/configs/__tests__/permits.spec.d.ts +0 -1
  442. package/build/types/src/utils/__tests__/subgraph.spec.d.ts +0 -1
  443. /package/build/types/src/{abis/__tests__/abis.spec.d.ts → utils/__tests__/indexers.spec.d.ts} +0 -0
@@ -56,6 +56,8 @@ export interface AccountPnlHistoryPointObject {
56
56
  cumulativeRealizedPnl: Scalars['BigInt']['output'];
57
57
  /** Field for debug */
58
58
  cumulativeRealizedPriceImpact: Scalars['BigInt']['output'];
59
+ /** Field for debug */
60
+ cumulativeRealizedSwapImpact: Scalars['BigInt']['output'];
59
61
  pnl: Scalars['BigInt']['output'];
60
62
  /** Field for debug */
61
63
  realizedFees: Scalars['BigInt']['output'];
@@ -64,6 +66,8 @@ export interface AccountPnlHistoryPointObject {
64
66
  /** Field for debug */
65
67
  realizedPriceImpact: Scalars['BigInt']['output'];
66
68
  /** Field for debug */
69
+ realizedSwapImpact: Scalars['BigInt']['output'];
70
+ /** Field for debug */
67
71
  startUnrealizedFees: Scalars['BigInt']['output'];
68
72
  /** Field for debug */
69
73
  startUnrealizedPnl: Scalars['BigInt']['output'];
@@ -87,6 +91,8 @@ export interface AccountPnlSummaryBucketObject {
87
91
  /** Field for debug */
88
92
  realizedPriceImpactUsd: Scalars['BigInt']['output'];
89
93
  /** Field for debug */
94
+ realizedSwapImpactUsd: Scalars['BigInt']['output'];
95
+ /** Field for debug */
90
96
  startUnrealizedBasePnlUsd: Scalars['BigInt']['output'];
91
97
  /** Field for debug */
92
98
  startUnrealizedFeesUsd: Scalars['BigInt']['output'];
@@ -107,6 +113,7 @@ export interface AccountStat {
107
113
  closedCount: Scalars['Int']['output'];
108
114
  cumsumCollateral: Scalars['BigInt']['output'];
109
115
  cumsumSize: Scalars['BigInt']['output'];
116
+ deposits: Scalars['BigInt']['output'];
110
117
  id: Scalars['String']['output'];
111
118
  losses: Scalars['Int']['output'];
112
119
  maxCapital: Scalars['BigInt']['output'];
@@ -115,6 +122,7 @@ export interface AccountStat {
115
122
  realizedFees: Scalars['BigInt']['output'];
116
123
  realizedPnl: Scalars['BigInt']['output'];
117
124
  realizedPriceImpact: Scalars['BigInt']['output'];
125
+ realizedSwapImpact: Scalars['BigInt']['output'];
118
126
  sumMaxSize: Scalars['BigInt']['output'];
119
127
  volume: Scalars['BigInt']['output'];
120
128
  wins: Scalars['Int']['output'];
@@ -149,6 +157,12 @@ export declare enum AccountStatOrderByInput {
149
157
  cumsumSize_DESC = "cumsumSize_DESC",
150
158
  cumsumSize_DESC_NULLS_FIRST = "cumsumSize_DESC_NULLS_FIRST",
151
159
  cumsumSize_DESC_NULLS_LAST = "cumsumSize_DESC_NULLS_LAST",
160
+ deposits_ASC = "deposits_ASC",
161
+ deposits_ASC_NULLS_FIRST = "deposits_ASC_NULLS_FIRST",
162
+ deposits_ASC_NULLS_LAST = "deposits_ASC_NULLS_LAST",
163
+ deposits_DESC = "deposits_DESC",
164
+ deposits_DESC_NULLS_FIRST = "deposits_DESC_NULLS_FIRST",
165
+ deposits_DESC_NULLS_LAST = "deposits_DESC_NULLS_LAST",
152
166
  id_ASC = "id_ASC",
153
167
  id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
154
168
  id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
@@ -191,6 +205,12 @@ export declare enum AccountStatOrderByInput {
191
205
  realizedPriceImpact_DESC = "realizedPriceImpact_DESC",
192
206
  realizedPriceImpact_DESC_NULLS_FIRST = "realizedPriceImpact_DESC_NULLS_FIRST",
193
207
  realizedPriceImpact_DESC_NULLS_LAST = "realizedPriceImpact_DESC_NULLS_LAST",
208
+ realizedSwapImpact_ASC = "realizedSwapImpact_ASC",
209
+ realizedSwapImpact_ASC_NULLS_FIRST = "realizedSwapImpact_ASC_NULLS_FIRST",
210
+ realizedSwapImpact_ASC_NULLS_LAST = "realizedSwapImpact_ASC_NULLS_LAST",
211
+ realizedSwapImpact_DESC = "realizedSwapImpact_DESC",
212
+ realizedSwapImpact_DESC_NULLS_FIRST = "realizedSwapImpact_DESC_NULLS_FIRST",
213
+ realizedSwapImpact_DESC_NULLS_LAST = "realizedSwapImpact_DESC_NULLS_LAST",
194
214
  sumMaxSize_ASC = "sumMaxSize_ASC",
195
215
  sumMaxSize_ASC_NULLS_FIRST = "sumMaxSize_ASC_NULLS_FIRST",
196
216
  sumMaxSize_ASC_NULLS_LAST = "sumMaxSize_ASC_NULLS_LAST",
@@ -240,6 +260,15 @@ export interface AccountStatWhereInput {
240
260
  cumsumSize_lte?: InputMaybe<Scalars['BigInt']['input']>;
241
261
  cumsumSize_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
242
262
  cumsumSize_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
263
+ deposits_eq?: InputMaybe<Scalars['BigInt']['input']>;
264
+ deposits_gt?: InputMaybe<Scalars['BigInt']['input']>;
265
+ deposits_gte?: InputMaybe<Scalars['BigInt']['input']>;
266
+ deposits_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
267
+ deposits_isNull?: InputMaybe<Scalars['Boolean']['input']>;
268
+ deposits_lt?: InputMaybe<Scalars['BigInt']['input']>;
269
+ deposits_lte?: InputMaybe<Scalars['BigInt']['input']>;
270
+ deposits_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
271
+ deposits_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
243
272
  id_contains?: InputMaybe<Scalars['String']['input']>;
244
273
  id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
245
274
  id_endsWith?: InputMaybe<Scalars['String']['input']>;
@@ -314,6 +343,15 @@ export interface AccountStatWhereInput {
314
343
  realizedPriceImpact_lte?: InputMaybe<Scalars['BigInt']['input']>;
315
344
  realizedPriceImpact_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
316
345
  realizedPriceImpact_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
346
+ realizedSwapImpact_eq?: InputMaybe<Scalars['BigInt']['input']>;
347
+ realizedSwapImpact_gt?: InputMaybe<Scalars['BigInt']['input']>;
348
+ realizedSwapImpact_gte?: InputMaybe<Scalars['BigInt']['input']>;
349
+ realizedSwapImpact_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
350
+ realizedSwapImpact_isNull?: InputMaybe<Scalars['Boolean']['input']>;
351
+ realizedSwapImpact_lt?: InputMaybe<Scalars['BigInt']['input']>;
352
+ realizedSwapImpact_lte?: InputMaybe<Scalars['BigInt']['input']>;
353
+ realizedSwapImpact_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
354
+ realizedSwapImpact_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
317
355
  sumMaxSize_eq?: InputMaybe<Scalars['BigInt']['input']>;
318
356
  sumMaxSize_gt?: InputMaybe<Scalars['BigInt']['input']>;
319
357
  sumMaxSize_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -677,12 +715,6 @@ export declare enum ClaimActionOrderByInput {
677
715
  transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
678
716
  transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
679
717
  transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
680
- transaction_chainId_ASC = "transaction_chainId_ASC",
681
- transaction_chainId_ASC_NULLS_FIRST = "transaction_chainId_ASC_NULLS_FIRST",
682
- transaction_chainId_ASC_NULLS_LAST = "transaction_chainId_ASC_NULLS_LAST",
683
- transaction_chainId_DESC = "transaction_chainId_DESC",
684
- transaction_chainId_DESC_NULLS_FIRST = "transaction_chainId_DESC_NULLS_FIRST",
685
- transaction_chainId_DESC_NULLS_LAST = "transaction_chainId_DESC_NULLS_LAST",
686
718
  transaction_from_ASC = "transaction_from_ASC",
687
719
  transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
688
720
  transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
@@ -851,6 +883,146 @@ export interface ClaimRefsConnection {
851
883
  pageInfo: PageInfo;
852
884
  totalCount: Scalars['Int']['output'];
853
885
  }
886
+ export interface ClaimableAmount {
887
+ __typename?: 'ClaimableAmount';
888
+ account: Scalars['String']['output'];
889
+ amount: Scalars['BigInt']['output'];
890
+ amountInUsd?: Maybe<Scalars['BigInt']['output']>;
891
+ distributionId: Scalars['BigInt']['output'];
892
+ id: Scalars['String']['output'];
893
+ token: Scalars['String']['output'];
894
+ }
895
+ export interface ClaimableAmountEdge {
896
+ __typename?: 'ClaimableAmountEdge';
897
+ cursor: Scalars['String']['output'];
898
+ node: ClaimableAmount;
899
+ }
900
+ export declare enum ClaimableAmountOrderByInput {
901
+ account_ASC = "account_ASC",
902
+ account_ASC_NULLS_FIRST = "account_ASC_NULLS_FIRST",
903
+ account_ASC_NULLS_LAST = "account_ASC_NULLS_LAST",
904
+ account_DESC = "account_DESC",
905
+ account_DESC_NULLS_FIRST = "account_DESC_NULLS_FIRST",
906
+ account_DESC_NULLS_LAST = "account_DESC_NULLS_LAST",
907
+ amountInUsd_ASC = "amountInUsd_ASC",
908
+ amountInUsd_ASC_NULLS_FIRST = "amountInUsd_ASC_NULLS_FIRST",
909
+ amountInUsd_ASC_NULLS_LAST = "amountInUsd_ASC_NULLS_LAST",
910
+ amountInUsd_DESC = "amountInUsd_DESC",
911
+ amountInUsd_DESC_NULLS_FIRST = "amountInUsd_DESC_NULLS_FIRST",
912
+ amountInUsd_DESC_NULLS_LAST = "amountInUsd_DESC_NULLS_LAST",
913
+ amount_ASC = "amount_ASC",
914
+ amount_ASC_NULLS_FIRST = "amount_ASC_NULLS_FIRST",
915
+ amount_ASC_NULLS_LAST = "amount_ASC_NULLS_LAST",
916
+ amount_DESC = "amount_DESC",
917
+ amount_DESC_NULLS_FIRST = "amount_DESC_NULLS_FIRST",
918
+ amount_DESC_NULLS_LAST = "amount_DESC_NULLS_LAST",
919
+ distributionId_ASC = "distributionId_ASC",
920
+ distributionId_ASC_NULLS_FIRST = "distributionId_ASC_NULLS_FIRST",
921
+ distributionId_ASC_NULLS_LAST = "distributionId_ASC_NULLS_LAST",
922
+ distributionId_DESC = "distributionId_DESC",
923
+ distributionId_DESC_NULLS_FIRST = "distributionId_DESC_NULLS_FIRST",
924
+ distributionId_DESC_NULLS_LAST = "distributionId_DESC_NULLS_LAST",
925
+ id_ASC = "id_ASC",
926
+ id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
927
+ id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
928
+ id_DESC = "id_DESC",
929
+ id_DESC_NULLS_FIRST = "id_DESC_NULLS_FIRST",
930
+ id_DESC_NULLS_LAST = "id_DESC_NULLS_LAST",
931
+ token_ASC = "token_ASC",
932
+ token_ASC_NULLS_FIRST = "token_ASC_NULLS_FIRST",
933
+ token_ASC_NULLS_LAST = "token_ASC_NULLS_LAST",
934
+ token_DESC = "token_DESC",
935
+ token_DESC_NULLS_FIRST = "token_DESC_NULLS_FIRST",
936
+ token_DESC_NULLS_LAST = "token_DESC_NULLS_LAST"
937
+ }
938
+ export interface ClaimableAmountWhereInput {
939
+ AND?: InputMaybe<Array<ClaimableAmountWhereInput>>;
940
+ OR?: InputMaybe<Array<ClaimableAmountWhereInput>>;
941
+ account_contains?: InputMaybe<Scalars['String']['input']>;
942
+ account_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
943
+ account_endsWith?: InputMaybe<Scalars['String']['input']>;
944
+ account_eq?: InputMaybe<Scalars['String']['input']>;
945
+ account_gt?: InputMaybe<Scalars['String']['input']>;
946
+ account_gte?: InputMaybe<Scalars['String']['input']>;
947
+ account_in?: InputMaybe<Array<Scalars['String']['input']>>;
948
+ account_isNull?: InputMaybe<Scalars['Boolean']['input']>;
949
+ account_lt?: InputMaybe<Scalars['String']['input']>;
950
+ account_lte?: InputMaybe<Scalars['String']['input']>;
951
+ account_not_contains?: InputMaybe<Scalars['String']['input']>;
952
+ account_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
953
+ account_not_endsWith?: InputMaybe<Scalars['String']['input']>;
954
+ account_not_eq?: InputMaybe<Scalars['String']['input']>;
955
+ account_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
956
+ account_not_startsWith?: InputMaybe<Scalars['String']['input']>;
957
+ account_startsWith?: InputMaybe<Scalars['String']['input']>;
958
+ amountInUsd_eq?: InputMaybe<Scalars['BigInt']['input']>;
959
+ amountInUsd_gt?: InputMaybe<Scalars['BigInt']['input']>;
960
+ amountInUsd_gte?: InputMaybe<Scalars['BigInt']['input']>;
961
+ amountInUsd_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
962
+ amountInUsd_isNull?: InputMaybe<Scalars['Boolean']['input']>;
963
+ amountInUsd_lt?: InputMaybe<Scalars['BigInt']['input']>;
964
+ amountInUsd_lte?: InputMaybe<Scalars['BigInt']['input']>;
965
+ amountInUsd_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
966
+ amountInUsd_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
967
+ amount_eq?: InputMaybe<Scalars['BigInt']['input']>;
968
+ amount_gt?: InputMaybe<Scalars['BigInt']['input']>;
969
+ amount_gte?: InputMaybe<Scalars['BigInt']['input']>;
970
+ amount_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
971
+ amount_isNull?: InputMaybe<Scalars['Boolean']['input']>;
972
+ amount_lt?: InputMaybe<Scalars['BigInt']['input']>;
973
+ amount_lte?: InputMaybe<Scalars['BigInt']['input']>;
974
+ amount_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
975
+ amount_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
976
+ distributionId_eq?: InputMaybe<Scalars['BigInt']['input']>;
977
+ distributionId_gt?: InputMaybe<Scalars['BigInt']['input']>;
978
+ distributionId_gte?: InputMaybe<Scalars['BigInt']['input']>;
979
+ distributionId_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
980
+ distributionId_isNull?: InputMaybe<Scalars['Boolean']['input']>;
981
+ distributionId_lt?: InputMaybe<Scalars['BigInt']['input']>;
982
+ distributionId_lte?: InputMaybe<Scalars['BigInt']['input']>;
983
+ distributionId_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
984
+ distributionId_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
985
+ id_contains?: InputMaybe<Scalars['String']['input']>;
986
+ id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
987
+ id_endsWith?: InputMaybe<Scalars['String']['input']>;
988
+ id_eq?: InputMaybe<Scalars['String']['input']>;
989
+ id_gt?: InputMaybe<Scalars['String']['input']>;
990
+ id_gte?: InputMaybe<Scalars['String']['input']>;
991
+ id_in?: InputMaybe<Array<Scalars['String']['input']>>;
992
+ id_isNull?: InputMaybe<Scalars['Boolean']['input']>;
993
+ id_lt?: InputMaybe<Scalars['String']['input']>;
994
+ id_lte?: InputMaybe<Scalars['String']['input']>;
995
+ id_not_contains?: InputMaybe<Scalars['String']['input']>;
996
+ id_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
997
+ id_not_endsWith?: InputMaybe<Scalars['String']['input']>;
998
+ id_not_eq?: InputMaybe<Scalars['String']['input']>;
999
+ id_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1000
+ id_not_startsWith?: InputMaybe<Scalars['String']['input']>;
1001
+ id_startsWith?: InputMaybe<Scalars['String']['input']>;
1002
+ token_contains?: InputMaybe<Scalars['String']['input']>;
1003
+ token_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
1004
+ token_endsWith?: InputMaybe<Scalars['String']['input']>;
1005
+ token_eq?: InputMaybe<Scalars['String']['input']>;
1006
+ token_gt?: InputMaybe<Scalars['String']['input']>;
1007
+ token_gte?: InputMaybe<Scalars['String']['input']>;
1008
+ token_in?: InputMaybe<Array<Scalars['String']['input']>>;
1009
+ token_isNull?: InputMaybe<Scalars['Boolean']['input']>;
1010
+ token_lt?: InputMaybe<Scalars['String']['input']>;
1011
+ token_lte?: InputMaybe<Scalars['String']['input']>;
1012
+ token_not_contains?: InputMaybe<Scalars['String']['input']>;
1013
+ token_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
1014
+ token_not_endsWith?: InputMaybe<Scalars['String']['input']>;
1015
+ token_not_eq?: InputMaybe<Scalars['String']['input']>;
1016
+ token_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1017
+ token_not_startsWith?: InputMaybe<Scalars['String']['input']>;
1018
+ token_startsWith?: InputMaybe<Scalars['String']['input']>;
1019
+ }
1020
+ export interface ClaimableAmountsConnection {
1021
+ __typename?: 'ClaimableAmountsConnection';
1022
+ edges: Array<ClaimableAmountEdge>;
1023
+ pageInfo: PageInfo;
1024
+ totalCount: Scalars['Int']['output'];
1025
+ }
854
1026
  export interface ClaimableCollateral {
855
1027
  __typename?: 'ClaimableCollateral';
856
1028
  account: Scalars['String']['output'];
@@ -861,7 +1033,7 @@ export interface ClaimableCollateral {
861
1033
  id: Scalars['String']['output'];
862
1034
  marketAddress: Scalars['String']['output'];
863
1035
  reductionFactor: Scalars['BigInt']['output'];
864
- timeKey: Scalars['String']['output'];
1036
+ timeKey: Scalars['Int']['output'];
865
1037
  tokenAddress: Scalars['String']['output'];
866
1038
  value: Scalars['BigInt']['output'];
867
1039
  }
@@ -876,7 +1048,7 @@ export interface ClaimableCollateralGroup {
876
1048
  factor: Scalars['BigInt']['output'];
877
1049
  id: Scalars['String']['output'];
878
1050
  marketAddress: Scalars['String']['output'];
879
- timeKey: Scalars['String']['output'];
1051
+ timeKey: Scalars['Int']['output'];
880
1052
  tokenAddress: Scalars['String']['output'];
881
1053
  }
882
1054
  export interface ClaimableCollateralGroupclaimablesArgs {
@@ -971,23 +1143,15 @@ export interface ClaimableCollateralGroupWhereInput {
971
1143
  marketAddress_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
972
1144
  marketAddress_not_startsWith?: InputMaybe<Scalars['String']['input']>;
973
1145
  marketAddress_startsWith?: InputMaybe<Scalars['String']['input']>;
974
- timeKey_contains?: InputMaybe<Scalars['String']['input']>;
975
- timeKey_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
976
- timeKey_endsWith?: InputMaybe<Scalars['String']['input']>;
977
- timeKey_eq?: InputMaybe<Scalars['String']['input']>;
978
- timeKey_gt?: InputMaybe<Scalars['String']['input']>;
979
- timeKey_gte?: InputMaybe<Scalars['String']['input']>;
980
- timeKey_in?: InputMaybe<Array<Scalars['String']['input']>>;
1146
+ timeKey_eq?: InputMaybe<Scalars['Int']['input']>;
1147
+ timeKey_gt?: InputMaybe<Scalars['Int']['input']>;
1148
+ timeKey_gte?: InputMaybe<Scalars['Int']['input']>;
1149
+ timeKey_in?: InputMaybe<Array<Scalars['Int']['input']>>;
981
1150
  timeKey_isNull?: InputMaybe<Scalars['Boolean']['input']>;
982
- timeKey_lt?: InputMaybe<Scalars['String']['input']>;
983
- timeKey_lte?: InputMaybe<Scalars['String']['input']>;
984
- timeKey_not_contains?: InputMaybe<Scalars['String']['input']>;
985
- timeKey_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
986
- timeKey_not_endsWith?: InputMaybe<Scalars['String']['input']>;
987
- timeKey_not_eq?: InputMaybe<Scalars['String']['input']>;
988
- timeKey_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
989
- timeKey_not_startsWith?: InputMaybe<Scalars['String']['input']>;
990
- timeKey_startsWith?: InputMaybe<Scalars['String']['input']>;
1151
+ timeKey_lt?: InputMaybe<Scalars['Int']['input']>;
1152
+ timeKey_lte?: InputMaybe<Scalars['Int']['input']>;
1153
+ timeKey_not_eq?: InputMaybe<Scalars['Int']['input']>;
1154
+ timeKey_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
991
1155
  tokenAddress_contains?: InputMaybe<Scalars['String']['input']>;
992
1156
  tokenAddress_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
993
1157
  tokenAddress_endsWith?: InputMaybe<Scalars['String']['input']>;
@@ -1190,23 +1354,15 @@ export interface ClaimableCollateralWhereInput {
1190
1354
  reductionFactor_lte?: InputMaybe<Scalars['BigInt']['input']>;
1191
1355
  reductionFactor_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
1192
1356
  reductionFactor_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
1193
- timeKey_contains?: InputMaybe<Scalars['String']['input']>;
1194
- timeKey_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
1195
- timeKey_endsWith?: InputMaybe<Scalars['String']['input']>;
1196
- timeKey_eq?: InputMaybe<Scalars['String']['input']>;
1197
- timeKey_gt?: InputMaybe<Scalars['String']['input']>;
1198
- timeKey_gte?: InputMaybe<Scalars['String']['input']>;
1199
- timeKey_in?: InputMaybe<Array<Scalars['String']['input']>>;
1357
+ timeKey_eq?: InputMaybe<Scalars['Int']['input']>;
1358
+ timeKey_gt?: InputMaybe<Scalars['Int']['input']>;
1359
+ timeKey_gte?: InputMaybe<Scalars['Int']['input']>;
1360
+ timeKey_in?: InputMaybe<Array<Scalars['Int']['input']>>;
1200
1361
  timeKey_isNull?: InputMaybe<Scalars['Boolean']['input']>;
1201
- timeKey_lt?: InputMaybe<Scalars['String']['input']>;
1202
- timeKey_lte?: InputMaybe<Scalars['String']['input']>;
1203
- timeKey_not_contains?: InputMaybe<Scalars['String']['input']>;
1204
- timeKey_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
1205
- timeKey_not_endsWith?: InputMaybe<Scalars['String']['input']>;
1206
- timeKey_not_eq?: InputMaybe<Scalars['String']['input']>;
1207
- timeKey_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
1208
- timeKey_not_startsWith?: InputMaybe<Scalars['String']['input']>;
1209
- timeKey_startsWith?: InputMaybe<Scalars['String']['input']>;
1362
+ timeKey_lt?: InputMaybe<Scalars['Int']['input']>;
1363
+ timeKey_lte?: InputMaybe<Scalars['Int']['input']>;
1364
+ timeKey_not_eq?: InputMaybe<Scalars['Int']['input']>;
1365
+ timeKey_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
1210
1366
  tokenAddress_contains?: InputMaybe<Scalars['String']['input']>;
1211
1367
  tokenAddress_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
1212
1368
  tokenAddress_endsWith?: InputMaybe<Scalars['String']['input']>;
@@ -1953,12 +2109,6 @@ export declare enum DistributionOrderByInput {
1953
2109
  transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
1954
2110
  transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
1955
2111
  transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
1956
- transaction_chainId_ASC = "transaction_chainId_ASC",
1957
- transaction_chainId_ASC_NULLS_FIRST = "transaction_chainId_ASC_NULLS_FIRST",
1958
- transaction_chainId_ASC_NULLS_LAST = "transaction_chainId_ASC_NULLS_LAST",
1959
- transaction_chainId_DESC = "transaction_chainId_DESC",
1960
- transaction_chainId_DESC_NULLS_FIRST = "transaction_chainId_DESC_NULLS_FIRST",
1961
- transaction_chainId_DESC_NULLS_LAST = "transaction_chainId_DESC_NULLS_LAST",
1962
2112
  transaction_from_ASC = "transaction_from_ASC",
1963
2113
  transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
1964
2114
  transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
@@ -2293,7 +2443,6 @@ export interface MarketInfo {
2293
2443
  longOpenInterestUsingLongToken: Scalars['BigInt']['output'];
2294
2444
  longOpenInterestUsingShortToken: Scalars['BigInt']['output'];
2295
2445
  longPoolAmount: Scalars['BigInt']['output'];
2296
- longPoolAmountAdjustment: Scalars['BigInt']['output'];
2297
2446
  longTokenAddress: Scalars['String']['output'];
2298
2447
  longsPayShorts: Scalars['Boolean']['output'];
2299
2448
  marketTokenAddress: Scalars['String']['output'];
@@ -2327,7 +2476,8 @@ export interface MarketInfo {
2327
2476
  poolValueMin: Scalars['BigInt']['output'];
2328
2477
  positionFeeFactorForNegativeImpact: Scalars['BigInt']['output'];
2329
2478
  positionFeeFactorForPositiveImpact: Scalars['BigInt']['output'];
2330
- positionImpactExponentFactor: Scalars['BigInt']['output'];
2479
+ positionImpactExponentFactorNegative: Scalars['BigInt']['output'];
2480
+ positionImpactExponentFactorPositive: Scalars['BigInt']['output'];
2331
2481
  positionImpactFactorNegative: Scalars['BigInt']['output'];
2332
2482
  positionImpactFactorPositive: Scalars['BigInt']['output'];
2333
2483
  positionImpactPoolAmount: Scalars['BigInt']['output'];
@@ -2341,7 +2491,6 @@ export interface MarketInfo {
2341
2491
  shortOpenInterestUsingLongToken: Scalars['BigInt']['output'];
2342
2492
  shortOpenInterestUsingShortToken: Scalars['BigInt']['output'];
2343
2493
  shortPoolAmount: Scalars['BigInt']['output'];
2344
- shortPoolAmountAdjustment: Scalars['BigInt']['output'];
2345
2494
  shortTokenAddress: Scalars['String']['output'];
2346
2495
  swapFeeFactorForNegativeImpact: Scalars['BigInt']['output'];
2347
2496
  swapFeeFactorForPositiveImpact: Scalars['BigInt']['output'];
@@ -2523,12 +2672,6 @@ export declare enum MarketInfoOrderByInput {
2523
2672
  longOpenInterestUsingShortToken_DESC = "longOpenInterestUsingShortToken_DESC",
2524
2673
  longOpenInterestUsingShortToken_DESC_NULLS_FIRST = "longOpenInterestUsingShortToken_DESC_NULLS_FIRST",
2525
2674
  longOpenInterestUsingShortToken_DESC_NULLS_LAST = "longOpenInterestUsingShortToken_DESC_NULLS_LAST",
2526
- longPoolAmountAdjustment_ASC = "longPoolAmountAdjustment_ASC",
2527
- longPoolAmountAdjustment_ASC_NULLS_FIRST = "longPoolAmountAdjustment_ASC_NULLS_FIRST",
2528
- longPoolAmountAdjustment_ASC_NULLS_LAST = "longPoolAmountAdjustment_ASC_NULLS_LAST",
2529
- longPoolAmountAdjustment_DESC = "longPoolAmountAdjustment_DESC",
2530
- longPoolAmountAdjustment_DESC_NULLS_FIRST = "longPoolAmountAdjustment_DESC_NULLS_FIRST",
2531
- longPoolAmountAdjustment_DESC_NULLS_LAST = "longPoolAmountAdjustment_DESC_NULLS_LAST",
2532
2675
  longPoolAmount_ASC = "longPoolAmount_ASC",
2533
2676
  longPoolAmount_ASC_NULLS_FIRST = "longPoolAmount_ASC_NULLS_FIRST",
2534
2677
  longPoolAmount_ASC_NULLS_LAST = "longPoolAmount_ASC_NULLS_LAST",
@@ -2733,12 +2876,18 @@ export declare enum MarketInfoOrderByInput {
2733
2876
  positionFeeFactorForPositiveImpact_DESC = "positionFeeFactorForPositiveImpact_DESC",
2734
2877
  positionFeeFactorForPositiveImpact_DESC_NULLS_FIRST = "positionFeeFactorForPositiveImpact_DESC_NULLS_FIRST",
2735
2878
  positionFeeFactorForPositiveImpact_DESC_NULLS_LAST = "positionFeeFactorForPositiveImpact_DESC_NULLS_LAST",
2736
- positionImpactExponentFactor_ASC = "positionImpactExponentFactor_ASC",
2737
- positionImpactExponentFactor_ASC_NULLS_FIRST = "positionImpactExponentFactor_ASC_NULLS_FIRST",
2738
- positionImpactExponentFactor_ASC_NULLS_LAST = "positionImpactExponentFactor_ASC_NULLS_LAST",
2739
- positionImpactExponentFactor_DESC = "positionImpactExponentFactor_DESC",
2740
- positionImpactExponentFactor_DESC_NULLS_FIRST = "positionImpactExponentFactor_DESC_NULLS_FIRST",
2741
- positionImpactExponentFactor_DESC_NULLS_LAST = "positionImpactExponentFactor_DESC_NULLS_LAST",
2879
+ positionImpactExponentFactorNegative_ASC = "positionImpactExponentFactorNegative_ASC",
2880
+ positionImpactExponentFactorNegative_ASC_NULLS_FIRST = "positionImpactExponentFactorNegative_ASC_NULLS_FIRST",
2881
+ positionImpactExponentFactorNegative_ASC_NULLS_LAST = "positionImpactExponentFactorNegative_ASC_NULLS_LAST",
2882
+ positionImpactExponentFactorNegative_DESC = "positionImpactExponentFactorNegative_DESC",
2883
+ positionImpactExponentFactorNegative_DESC_NULLS_FIRST = "positionImpactExponentFactorNegative_DESC_NULLS_FIRST",
2884
+ positionImpactExponentFactorNegative_DESC_NULLS_LAST = "positionImpactExponentFactorNegative_DESC_NULLS_LAST",
2885
+ positionImpactExponentFactorPositive_ASC = "positionImpactExponentFactorPositive_ASC",
2886
+ positionImpactExponentFactorPositive_ASC_NULLS_FIRST = "positionImpactExponentFactorPositive_ASC_NULLS_FIRST",
2887
+ positionImpactExponentFactorPositive_ASC_NULLS_LAST = "positionImpactExponentFactorPositive_ASC_NULLS_LAST",
2888
+ positionImpactExponentFactorPositive_DESC = "positionImpactExponentFactorPositive_DESC",
2889
+ positionImpactExponentFactorPositive_DESC_NULLS_FIRST = "positionImpactExponentFactorPositive_DESC_NULLS_FIRST",
2890
+ positionImpactExponentFactorPositive_DESC_NULLS_LAST = "positionImpactExponentFactorPositive_DESC_NULLS_LAST",
2742
2891
  positionImpactFactorNegative_ASC = "positionImpactFactorNegative_ASC",
2743
2892
  positionImpactFactorNegative_ASC_NULLS_FIRST = "positionImpactFactorNegative_ASC_NULLS_FIRST",
2744
2893
  positionImpactFactorNegative_ASC_NULLS_LAST = "positionImpactFactorNegative_ASC_NULLS_LAST",
@@ -2811,12 +2960,6 @@ export declare enum MarketInfoOrderByInput {
2811
2960
  shortOpenInterestUsingShortToken_DESC = "shortOpenInterestUsingShortToken_DESC",
2812
2961
  shortOpenInterestUsingShortToken_DESC_NULLS_FIRST = "shortOpenInterestUsingShortToken_DESC_NULLS_FIRST",
2813
2962
  shortOpenInterestUsingShortToken_DESC_NULLS_LAST = "shortOpenInterestUsingShortToken_DESC_NULLS_LAST",
2814
- shortPoolAmountAdjustment_ASC = "shortPoolAmountAdjustment_ASC",
2815
- shortPoolAmountAdjustment_ASC_NULLS_FIRST = "shortPoolAmountAdjustment_ASC_NULLS_FIRST",
2816
- shortPoolAmountAdjustment_ASC_NULLS_LAST = "shortPoolAmountAdjustment_ASC_NULLS_LAST",
2817
- shortPoolAmountAdjustment_DESC = "shortPoolAmountAdjustment_DESC",
2818
- shortPoolAmountAdjustment_DESC_NULLS_FIRST = "shortPoolAmountAdjustment_DESC_NULLS_FIRST",
2819
- shortPoolAmountAdjustment_DESC_NULLS_LAST = "shortPoolAmountAdjustment_DESC_NULLS_LAST",
2820
2963
  shortPoolAmount_ASC = "shortPoolAmount_ASC",
2821
2964
  shortPoolAmount_ASC_NULLS_FIRST = "shortPoolAmount_ASC_NULLS_FIRST",
2822
2965
  shortPoolAmount_ASC_NULLS_LAST = "shortPoolAmount_ASC_NULLS_LAST",
@@ -3179,15 +3322,6 @@ export interface MarketInfoWhereInput {
3179
3322
  longOpenInterestUsingShortToken_lte?: InputMaybe<Scalars['BigInt']['input']>;
3180
3323
  longOpenInterestUsingShortToken_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
3181
3324
  longOpenInterestUsingShortToken_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3182
- longPoolAmountAdjustment_eq?: InputMaybe<Scalars['BigInt']['input']>;
3183
- longPoolAmountAdjustment_gt?: InputMaybe<Scalars['BigInt']['input']>;
3184
- longPoolAmountAdjustment_gte?: InputMaybe<Scalars['BigInt']['input']>;
3185
- longPoolAmountAdjustment_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3186
- longPoolAmountAdjustment_isNull?: InputMaybe<Scalars['Boolean']['input']>;
3187
- longPoolAmountAdjustment_lt?: InputMaybe<Scalars['BigInt']['input']>;
3188
- longPoolAmountAdjustment_lte?: InputMaybe<Scalars['BigInt']['input']>;
3189
- longPoolAmountAdjustment_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
3190
- longPoolAmountAdjustment_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3191
3325
  longPoolAmount_eq?: InputMaybe<Scalars['BigInt']['input']>;
3192
3326
  longPoolAmount_gt?: InputMaybe<Scalars['BigInt']['input']>;
3193
3327
  longPoolAmount_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -3504,15 +3638,24 @@ export interface MarketInfoWhereInput {
3504
3638
  positionFeeFactorForPositiveImpact_lte?: InputMaybe<Scalars['BigInt']['input']>;
3505
3639
  positionFeeFactorForPositiveImpact_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
3506
3640
  positionFeeFactorForPositiveImpact_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3507
- positionImpactExponentFactor_eq?: InputMaybe<Scalars['BigInt']['input']>;
3508
- positionImpactExponentFactor_gt?: InputMaybe<Scalars['BigInt']['input']>;
3509
- positionImpactExponentFactor_gte?: InputMaybe<Scalars['BigInt']['input']>;
3510
- positionImpactExponentFactor_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3511
- positionImpactExponentFactor_isNull?: InputMaybe<Scalars['Boolean']['input']>;
3512
- positionImpactExponentFactor_lt?: InputMaybe<Scalars['BigInt']['input']>;
3513
- positionImpactExponentFactor_lte?: InputMaybe<Scalars['BigInt']['input']>;
3514
- positionImpactExponentFactor_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
3515
- positionImpactExponentFactor_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3641
+ positionImpactExponentFactorNegative_eq?: InputMaybe<Scalars['BigInt']['input']>;
3642
+ positionImpactExponentFactorNegative_gt?: InputMaybe<Scalars['BigInt']['input']>;
3643
+ positionImpactExponentFactorNegative_gte?: InputMaybe<Scalars['BigInt']['input']>;
3644
+ positionImpactExponentFactorNegative_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3645
+ positionImpactExponentFactorNegative_isNull?: InputMaybe<Scalars['Boolean']['input']>;
3646
+ positionImpactExponentFactorNegative_lt?: InputMaybe<Scalars['BigInt']['input']>;
3647
+ positionImpactExponentFactorNegative_lte?: InputMaybe<Scalars['BigInt']['input']>;
3648
+ positionImpactExponentFactorNegative_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
3649
+ positionImpactExponentFactorNegative_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3650
+ positionImpactExponentFactorPositive_eq?: InputMaybe<Scalars['BigInt']['input']>;
3651
+ positionImpactExponentFactorPositive_gt?: InputMaybe<Scalars['BigInt']['input']>;
3652
+ positionImpactExponentFactorPositive_gte?: InputMaybe<Scalars['BigInt']['input']>;
3653
+ positionImpactExponentFactorPositive_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3654
+ positionImpactExponentFactorPositive_isNull?: InputMaybe<Scalars['Boolean']['input']>;
3655
+ positionImpactExponentFactorPositive_lt?: InputMaybe<Scalars['BigInt']['input']>;
3656
+ positionImpactExponentFactorPositive_lte?: InputMaybe<Scalars['BigInt']['input']>;
3657
+ positionImpactExponentFactorPositive_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
3658
+ positionImpactExponentFactorPositive_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3516
3659
  positionImpactFactorNegative_eq?: InputMaybe<Scalars['BigInt']['input']>;
3517
3660
  positionImpactFactorNegative_gt?: InputMaybe<Scalars['BigInt']['input']>;
3518
3661
  positionImpactFactorNegative_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -3621,15 +3764,6 @@ export interface MarketInfoWhereInput {
3621
3764
  shortOpenInterestUsingShortToken_lte?: InputMaybe<Scalars['BigInt']['input']>;
3622
3765
  shortOpenInterestUsingShortToken_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
3623
3766
  shortOpenInterestUsingShortToken_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3624
- shortPoolAmountAdjustment_eq?: InputMaybe<Scalars['BigInt']['input']>;
3625
- shortPoolAmountAdjustment_gt?: InputMaybe<Scalars['BigInt']['input']>;
3626
- shortPoolAmountAdjustment_gte?: InputMaybe<Scalars['BigInt']['input']>;
3627
- shortPoolAmountAdjustment_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3628
- shortPoolAmountAdjustment_isNull?: InputMaybe<Scalars['Boolean']['input']>;
3629
- shortPoolAmountAdjustment_lt?: InputMaybe<Scalars['BigInt']['input']>;
3630
- shortPoolAmountAdjustment_lte?: InputMaybe<Scalars['BigInt']['input']>;
3631
- shortPoolAmountAdjustment_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
3632
- shortPoolAmountAdjustment_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
3633
3767
  shortPoolAmount_eq?: InputMaybe<Scalars['BigInt']['input']>;
3634
3768
  shortPoolAmount_gt?: InputMaybe<Scalars['BigInt']['input']>;
3635
3769
  shortPoolAmount_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -3993,13 +4127,15 @@ export declare enum MultichainFundingOperation {
3993
4127
  }
3994
4128
  export interface MultichainFundingReceiveEvent {
3995
4129
  __typename?: 'MultichainFundingReceiveEvent';
3996
- deliveredTxn?: Maybe<Transaction>;
4130
+ deliveredTimestamp?: Maybe<Scalars['Int']['output']>;
4131
+ deliveredTxn?: Maybe<Scalars['String']['output']>;
3997
4132
  id: Scalars['String']['output'];
3998
4133
  isDeliveryError?: Maybe<Scalars['Boolean']['output']>;
3999
4134
  isUncertain: Scalars['Boolean']['output'];
4000
4135
  operation: MultichainFundingOperation;
4001
4136
  receivedAmount: Scalars['BigInt']['output'];
4002
- receivedTxn: Transaction;
4137
+ receivedTimestamp: Scalars['Int']['output'];
4138
+ receivedTxn: Scalars['String']['output'];
4003
4139
  sourceChainId: Scalars['Int']['output'];
4004
4140
  }
4005
4141
  export interface MultichainFundingReceiveEventEdge {
@@ -4008,54 +4144,18 @@ export interface MultichainFundingReceiveEventEdge {
4008
4144
  node: MultichainFundingReceiveEvent;
4009
4145
  }
4010
4146
  export declare enum MultichainFundingReceiveEventOrderByInput {
4011
- deliveredTxn_blockNumber_ASC = "deliveredTxn_blockNumber_ASC",
4012
- deliveredTxn_blockNumber_ASC_NULLS_FIRST = "deliveredTxn_blockNumber_ASC_NULLS_FIRST",
4013
- deliveredTxn_blockNumber_ASC_NULLS_LAST = "deliveredTxn_blockNumber_ASC_NULLS_LAST",
4014
- deliveredTxn_blockNumber_DESC = "deliveredTxn_blockNumber_DESC",
4015
- deliveredTxn_blockNumber_DESC_NULLS_FIRST = "deliveredTxn_blockNumber_DESC_NULLS_FIRST",
4016
- deliveredTxn_blockNumber_DESC_NULLS_LAST = "deliveredTxn_blockNumber_DESC_NULLS_LAST",
4017
- deliveredTxn_chainId_ASC = "deliveredTxn_chainId_ASC",
4018
- deliveredTxn_chainId_ASC_NULLS_FIRST = "deliveredTxn_chainId_ASC_NULLS_FIRST",
4019
- deliveredTxn_chainId_ASC_NULLS_LAST = "deliveredTxn_chainId_ASC_NULLS_LAST",
4020
- deliveredTxn_chainId_DESC = "deliveredTxn_chainId_DESC",
4021
- deliveredTxn_chainId_DESC_NULLS_FIRST = "deliveredTxn_chainId_DESC_NULLS_FIRST",
4022
- deliveredTxn_chainId_DESC_NULLS_LAST = "deliveredTxn_chainId_DESC_NULLS_LAST",
4023
- deliveredTxn_from_ASC = "deliveredTxn_from_ASC",
4024
- deliveredTxn_from_ASC_NULLS_FIRST = "deliveredTxn_from_ASC_NULLS_FIRST",
4025
- deliveredTxn_from_ASC_NULLS_LAST = "deliveredTxn_from_ASC_NULLS_LAST",
4026
- deliveredTxn_from_DESC = "deliveredTxn_from_DESC",
4027
- deliveredTxn_from_DESC_NULLS_FIRST = "deliveredTxn_from_DESC_NULLS_FIRST",
4028
- deliveredTxn_from_DESC_NULLS_LAST = "deliveredTxn_from_DESC_NULLS_LAST",
4029
- deliveredTxn_hash_ASC = "deliveredTxn_hash_ASC",
4030
- deliveredTxn_hash_ASC_NULLS_FIRST = "deliveredTxn_hash_ASC_NULLS_FIRST",
4031
- deliveredTxn_hash_ASC_NULLS_LAST = "deliveredTxn_hash_ASC_NULLS_LAST",
4032
- deliveredTxn_hash_DESC = "deliveredTxn_hash_DESC",
4033
- deliveredTxn_hash_DESC_NULLS_FIRST = "deliveredTxn_hash_DESC_NULLS_FIRST",
4034
- deliveredTxn_hash_DESC_NULLS_LAST = "deliveredTxn_hash_DESC_NULLS_LAST",
4035
- deliveredTxn_id_ASC = "deliveredTxn_id_ASC",
4036
- deliveredTxn_id_ASC_NULLS_FIRST = "deliveredTxn_id_ASC_NULLS_FIRST",
4037
- deliveredTxn_id_ASC_NULLS_LAST = "deliveredTxn_id_ASC_NULLS_LAST",
4038
- deliveredTxn_id_DESC = "deliveredTxn_id_DESC",
4039
- deliveredTxn_id_DESC_NULLS_FIRST = "deliveredTxn_id_DESC_NULLS_FIRST",
4040
- deliveredTxn_id_DESC_NULLS_LAST = "deliveredTxn_id_DESC_NULLS_LAST",
4041
- deliveredTxn_timestamp_ASC = "deliveredTxn_timestamp_ASC",
4042
- deliveredTxn_timestamp_ASC_NULLS_FIRST = "deliveredTxn_timestamp_ASC_NULLS_FIRST",
4043
- deliveredTxn_timestamp_ASC_NULLS_LAST = "deliveredTxn_timestamp_ASC_NULLS_LAST",
4044
- deliveredTxn_timestamp_DESC = "deliveredTxn_timestamp_DESC",
4045
- deliveredTxn_timestamp_DESC_NULLS_FIRST = "deliveredTxn_timestamp_DESC_NULLS_FIRST",
4046
- deliveredTxn_timestamp_DESC_NULLS_LAST = "deliveredTxn_timestamp_DESC_NULLS_LAST",
4047
- deliveredTxn_to_ASC = "deliveredTxn_to_ASC",
4048
- deliveredTxn_to_ASC_NULLS_FIRST = "deliveredTxn_to_ASC_NULLS_FIRST",
4049
- deliveredTxn_to_ASC_NULLS_LAST = "deliveredTxn_to_ASC_NULLS_LAST",
4050
- deliveredTxn_to_DESC = "deliveredTxn_to_DESC",
4051
- deliveredTxn_to_DESC_NULLS_FIRST = "deliveredTxn_to_DESC_NULLS_FIRST",
4052
- deliveredTxn_to_DESC_NULLS_LAST = "deliveredTxn_to_DESC_NULLS_LAST",
4053
- deliveredTxn_transactionIndex_ASC = "deliveredTxn_transactionIndex_ASC",
4054
- deliveredTxn_transactionIndex_ASC_NULLS_FIRST = "deliveredTxn_transactionIndex_ASC_NULLS_FIRST",
4055
- deliveredTxn_transactionIndex_ASC_NULLS_LAST = "deliveredTxn_transactionIndex_ASC_NULLS_LAST",
4056
- deliveredTxn_transactionIndex_DESC = "deliveredTxn_transactionIndex_DESC",
4057
- deliveredTxn_transactionIndex_DESC_NULLS_FIRST = "deliveredTxn_transactionIndex_DESC_NULLS_FIRST",
4058
- deliveredTxn_transactionIndex_DESC_NULLS_LAST = "deliveredTxn_transactionIndex_DESC_NULLS_LAST",
4147
+ deliveredTimestamp_ASC = "deliveredTimestamp_ASC",
4148
+ deliveredTimestamp_ASC_NULLS_FIRST = "deliveredTimestamp_ASC_NULLS_FIRST",
4149
+ deliveredTimestamp_ASC_NULLS_LAST = "deliveredTimestamp_ASC_NULLS_LAST",
4150
+ deliveredTimestamp_DESC = "deliveredTimestamp_DESC",
4151
+ deliveredTimestamp_DESC_NULLS_FIRST = "deliveredTimestamp_DESC_NULLS_FIRST",
4152
+ deliveredTimestamp_DESC_NULLS_LAST = "deliveredTimestamp_DESC_NULLS_LAST",
4153
+ deliveredTxn_ASC = "deliveredTxn_ASC",
4154
+ deliveredTxn_ASC_NULLS_FIRST = "deliveredTxn_ASC_NULLS_FIRST",
4155
+ deliveredTxn_ASC_NULLS_LAST = "deliveredTxn_ASC_NULLS_LAST",
4156
+ deliveredTxn_DESC = "deliveredTxn_DESC",
4157
+ deliveredTxn_DESC_NULLS_FIRST = "deliveredTxn_DESC_NULLS_FIRST",
4158
+ deliveredTxn_DESC_NULLS_LAST = "deliveredTxn_DESC_NULLS_LAST",
4059
4159
  id_ASC = "id_ASC",
4060
4160
  id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
4061
4161
  id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
@@ -4086,54 +4186,18 @@ export declare enum MultichainFundingReceiveEventOrderByInput {
4086
4186
  receivedAmount_DESC = "receivedAmount_DESC",
4087
4187
  receivedAmount_DESC_NULLS_FIRST = "receivedAmount_DESC_NULLS_FIRST",
4088
4188
  receivedAmount_DESC_NULLS_LAST = "receivedAmount_DESC_NULLS_LAST",
4089
- receivedTxn_blockNumber_ASC = "receivedTxn_blockNumber_ASC",
4090
- receivedTxn_blockNumber_ASC_NULLS_FIRST = "receivedTxn_blockNumber_ASC_NULLS_FIRST",
4091
- receivedTxn_blockNumber_ASC_NULLS_LAST = "receivedTxn_blockNumber_ASC_NULLS_LAST",
4092
- receivedTxn_blockNumber_DESC = "receivedTxn_blockNumber_DESC",
4093
- receivedTxn_blockNumber_DESC_NULLS_FIRST = "receivedTxn_blockNumber_DESC_NULLS_FIRST",
4094
- receivedTxn_blockNumber_DESC_NULLS_LAST = "receivedTxn_blockNumber_DESC_NULLS_LAST",
4095
- receivedTxn_chainId_ASC = "receivedTxn_chainId_ASC",
4096
- receivedTxn_chainId_ASC_NULLS_FIRST = "receivedTxn_chainId_ASC_NULLS_FIRST",
4097
- receivedTxn_chainId_ASC_NULLS_LAST = "receivedTxn_chainId_ASC_NULLS_LAST",
4098
- receivedTxn_chainId_DESC = "receivedTxn_chainId_DESC",
4099
- receivedTxn_chainId_DESC_NULLS_FIRST = "receivedTxn_chainId_DESC_NULLS_FIRST",
4100
- receivedTxn_chainId_DESC_NULLS_LAST = "receivedTxn_chainId_DESC_NULLS_LAST",
4101
- receivedTxn_from_ASC = "receivedTxn_from_ASC",
4102
- receivedTxn_from_ASC_NULLS_FIRST = "receivedTxn_from_ASC_NULLS_FIRST",
4103
- receivedTxn_from_ASC_NULLS_LAST = "receivedTxn_from_ASC_NULLS_LAST",
4104
- receivedTxn_from_DESC = "receivedTxn_from_DESC",
4105
- receivedTxn_from_DESC_NULLS_FIRST = "receivedTxn_from_DESC_NULLS_FIRST",
4106
- receivedTxn_from_DESC_NULLS_LAST = "receivedTxn_from_DESC_NULLS_LAST",
4107
- receivedTxn_hash_ASC = "receivedTxn_hash_ASC",
4108
- receivedTxn_hash_ASC_NULLS_FIRST = "receivedTxn_hash_ASC_NULLS_FIRST",
4109
- receivedTxn_hash_ASC_NULLS_LAST = "receivedTxn_hash_ASC_NULLS_LAST",
4110
- receivedTxn_hash_DESC = "receivedTxn_hash_DESC",
4111
- receivedTxn_hash_DESC_NULLS_FIRST = "receivedTxn_hash_DESC_NULLS_FIRST",
4112
- receivedTxn_hash_DESC_NULLS_LAST = "receivedTxn_hash_DESC_NULLS_LAST",
4113
- receivedTxn_id_ASC = "receivedTxn_id_ASC",
4114
- receivedTxn_id_ASC_NULLS_FIRST = "receivedTxn_id_ASC_NULLS_FIRST",
4115
- receivedTxn_id_ASC_NULLS_LAST = "receivedTxn_id_ASC_NULLS_LAST",
4116
- receivedTxn_id_DESC = "receivedTxn_id_DESC",
4117
- receivedTxn_id_DESC_NULLS_FIRST = "receivedTxn_id_DESC_NULLS_FIRST",
4118
- receivedTxn_id_DESC_NULLS_LAST = "receivedTxn_id_DESC_NULLS_LAST",
4119
- receivedTxn_timestamp_ASC = "receivedTxn_timestamp_ASC",
4120
- receivedTxn_timestamp_ASC_NULLS_FIRST = "receivedTxn_timestamp_ASC_NULLS_FIRST",
4121
- receivedTxn_timestamp_ASC_NULLS_LAST = "receivedTxn_timestamp_ASC_NULLS_LAST",
4122
- receivedTxn_timestamp_DESC = "receivedTxn_timestamp_DESC",
4123
- receivedTxn_timestamp_DESC_NULLS_FIRST = "receivedTxn_timestamp_DESC_NULLS_FIRST",
4124
- receivedTxn_timestamp_DESC_NULLS_LAST = "receivedTxn_timestamp_DESC_NULLS_LAST",
4125
- receivedTxn_to_ASC = "receivedTxn_to_ASC",
4126
- receivedTxn_to_ASC_NULLS_FIRST = "receivedTxn_to_ASC_NULLS_FIRST",
4127
- receivedTxn_to_ASC_NULLS_LAST = "receivedTxn_to_ASC_NULLS_LAST",
4128
- receivedTxn_to_DESC = "receivedTxn_to_DESC",
4129
- receivedTxn_to_DESC_NULLS_FIRST = "receivedTxn_to_DESC_NULLS_FIRST",
4130
- receivedTxn_to_DESC_NULLS_LAST = "receivedTxn_to_DESC_NULLS_LAST",
4131
- receivedTxn_transactionIndex_ASC = "receivedTxn_transactionIndex_ASC",
4132
- receivedTxn_transactionIndex_ASC_NULLS_FIRST = "receivedTxn_transactionIndex_ASC_NULLS_FIRST",
4133
- receivedTxn_transactionIndex_ASC_NULLS_LAST = "receivedTxn_transactionIndex_ASC_NULLS_LAST",
4134
- receivedTxn_transactionIndex_DESC = "receivedTxn_transactionIndex_DESC",
4135
- receivedTxn_transactionIndex_DESC_NULLS_FIRST = "receivedTxn_transactionIndex_DESC_NULLS_FIRST",
4136
- receivedTxn_transactionIndex_DESC_NULLS_LAST = "receivedTxn_transactionIndex_DESC_NULLS_LAST",
4189
+ receivedTimestamp_ASC = "receivedTimestamp_ASC",
4190
+ receivedTimestamp_ASC_NULLS_FIRST = "receivedTimestamp_ASC_NULLS_FIRST",
4191
+ receivedTimestamp_ASC_NULLS_LAST = "receivedTimestamp_ASC_NULLS_LAST",
4192
+ receivedTimestamp_DESC = "receivedTimestamp_DESC",
4193
+ receivedTimestamp_DESC_NULLS_FIRST = "receivedTimestamp_DESC_NULLS_FIRST",
4194
+ receivedTimestamp_DESC_NULLS_LAST = "receivedTimestamp_DESC_NULLS_LAST",
4195
+ receivedTxn_ASC = "receivedTxn_ASC",
4196
+ receivedTxn_ASC_NULLS_FIRST = "receivedTxn_ASC_NULLS_FIRST",
4197
+ receivedTxn_ASC_NULLS_LAST = "receivedTxn_ASC_NULLS_LAST",
4198
+ receivedTxn_DESC = "receivedTxn_DESC",
4199
+ receivedTxn_DESC_NULLS_FIRST = "receivedTxn_DESC_NULLS_FIRST",
4200
+ receivedTxn_DESC_NULLS_LAST = "receivedTxn_DESC_NULLS_LAST",
4137
4201
  sourceChainId_ASC = "sourceChainId_ASC",
4138
4202
  sourceChainId_ASC_NULLS_FIRST = "sourceChainId_ASC_NULLS_FIRST",
4139
4203
  sourceChainId_ASC_NULLS_LAST = "sourceChainId_ASC_NULLS_LAST",
@@ -4144,8 +4208,32 @@ export declare enum MultichainFundingReceiveEventOrderByInput {
4144
4208
  export interface MultichainFundingReceiveEventWhereInput {
4145
4209
  AND?: InputMaybe<Array<MultichainFundingReceiveEventWhereInput>>;
4146
4210
  OR?: InputMaybe<Array<MultichainFundingReceiveEventWhereInput>>;
4147
- deliveredTxn?: InputMaybe<TransactionWhereInput>;
4211
+ deliveredTimestamp_eq?: InputMaybe<Scalars['Int']['input']>;
4212
+ deliveredTimestamp_gt?: InputMaybe<Scalars['Int']['input']>;
4213
+ deliveredTimestamp_gte?: InputMaybe<Scalars['Int']['input']>;
4214
+ deliveredTimestamp_in?: InputMaybe<Array<Scalars['Int']['input']>>;
4215
+ deliveredTimestamp_isNull?: InputMaybe<Scalars['Boolean']['input']>;
4216
+ deliveredTimestamp_lt?: InputMaybe<Scalars['Int']['input']>;
4217
+ deliveredTimestamp_lte?: InputMaybe<Scalars['Int']['input']>;
4218
+ deliveredTimestamp_not_eq?: InputMaybe<Scalars['Int']['input']>;
4219
+ deliveredTimestamp_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
4220
+ deliveredTxn_contains?: InputMaybe<Scalars['String']['input']>;
4221
+ deliveredTxn_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
4222
+ deliveredTxn_endsWith?: InputMaybe<Scalars['String']['input']>;
4223
+ deliveredTxn_eq?: InputMaybe<Scalars['String']['input']>;
4224
+ deliveredTxn_gt?: InputMaybe<Scalars['String']['input']>;
4225
+ deliveredTxn_gte?: InputMaybe<Scalars['String']['input']>;
4226
+ deliveredTxn_in?: InputMaybe<Array<Scalars['String']['input']>>;
4148
4227
  deliveredTxn_isNull?: InputMaybe<Scalars['Boolean']['input']>;
4228
+ deliveredTxn_lt?: InputMaybe<Scalars['String']['input']>;
4229
+ deliveredTxn_lte?: InputMaybe<Scalars['String']['input']>;
4230
+ deliveredTxn_not_contains?: InputMaybe<Scalars['String']['input']>;
4231
+ deliveredTxn_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
4232
+ deliveredTxn_not_endsWith?: InputMaybe<Scalars['String']['input']>;
4233
+ deliveredTxn_not_eq?: InputMaybe<Scalars['String']['input']>;
4234
+ deliveredTxn_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
4235
+ deliveredTxn_not_startsWith?: InputMaybe<Scalars['String']['input']>;
4236
+ deliveredTxn_startsWith?: InputMaybe<Scalars['String']['input']>;
4149
4237
  id_contains?: InputMaybe<Scalars['String']['input']>;
4150
4238
  id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
4151
4239
  id_endsWith?: InputMaybe<Scalars['String']['input']>;
@@ -4183,8 +4271,32 @@ export interface MultichainFundingReceiveEventWhereInput {
4183
4271
  receivedAmount_lte?: InputMaybe<Scalars['BigInt']['input']>;
4184
4272
  receivedAmount_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
4185
4273
  receivedAmount_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
4186
- receivedTxn?: InputMaybe<TransactionWhereInput>;
4274
+ receivedTimestamp_eq?: InputMaybe<Scalars['Int']['input']>;
4275
+ receivedTimestamp_gt?: InputMaybe<Scalars['Int']['input']>;
4276
+ receivedTimestamp_gte?: InputMaybe<Scalars['Int']['input']>;
4277
+ receivedTimestamp_in?: InputMaybe<Array<Scalars['Int']['input']>>;
4278
+ receivedTimestamp_isNull?: InputMaybe<Scalars['Boolean']['input']>;
4279
+ receivedTimestamp_lt?: InputMaybe<Scalars['Int']['input']>;
4280
+ receivedTimestamp_lte?: InputMaybe<Scalars['Int']['input']>;
4281
+ receivedTimestamp_not_eq?: InputMaybe<Scalars['Int']['input']>;
4282
+ receivedTimestamp_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
4283
+ receivedTxn_contains?: InputMaybe<Scalars['String']['input']>;
4284
+ receivedTxn_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
4285
+ receivedTxn_endsWith?: InputMaybe<Scalars['String']['input']>;
4286
+ receivedTxn_eq?: InputMaybe<Scalars['String']['input']>;
4287
+ receivedTxn_gt?: InputMaybe<Scalars['String']['input']>;
4288
+ receivedTxn_gte?: InputMaybe<Scalars['String']['input']>;
4289
+ receivedTxn_in?: InputMaybe<Array<Scalars['String']['input']>>;
4187
4290
  receivedTxn_isNull?: InputMaybe<Scalars['Boolean']['input']>;
4291
+ receivedTxn_lt?: InputMaybe<Scalars['String']['input']>;
4292
+ receivedTxn_lte?: InputMaybe<Scalars['String']['input']>;
4293
+ receivedTxn_not_contains?: InputMaybe<Scalars['String']['input']>;
4294
+ receivedTxn_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
4295
+ receivedTxn_not_endsWith?: InputMaybe<Scalars['String']['input']>;
4296
+ receivedTxn_not_eq?: InputMaybe<Scalars['String']['input']>;
4297
+ receivedTxn_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
4298
+ receivedTxn_not_startsWith?: InputMaybe<Scalars['String']['input']>;
4299
+ receivedTxn_startsWith?: InputMaybe<Scalars['String']['input']>;
4188
4300
  sourceChainId_eq?: InputMaybe<Scalars['Int']['input']>;
4189
4301
  sourceChainId_gt?: InputMaybe<Scalars['Int']['input']>;
4190
4302
  sourceChainId_gte?: InputMaybe<Scalars['Int']['input']>;
@@ -4210,8 +4322,9 @@ export interface MultichainFundingSendEvent {
4210
4322
  sentAmount: Scalars['BigInt']['output'];
4211
4323
  settlementChainId: Scalars['Int']['output'];
4212
4324
  sourceChainId: Scalars['Int']['output'];
4325
+ timestamp: Scalars['Int']['output'];
4213
4326
  token: Scalars['String']['output'];
4214
- txn: Transaction;
4327
+ txn: Scalars['String']['output'];
4215
4328
  }
4216
4329
  export interface MultichainFundingSendEventEdge {
4217
4330
  __typename?: 'MultichainFundingSendEventEdge';
@@ -4261,60 +4374,24 @@ export declare enum MultichainFundingSendEventOrderByInput {
4261
4374
  sourceChainId_DESC = "sourceChainId_DESC",
4262
4375
  sourceChainId_DESC_NULLS_FIRST = "sourceChainId_DESC_NULLS_FIRST",
4263
4376
  sourceChainId_DESC_NULLS_LAST = "sourceChainId_DESC_NULLS_LAST",
4377
+ timestamp_ASC = "timestamp_ASC",
4378
+ timestamp_ASC_NULLS_FIRST = "timestamp_ASC_NULLS_FIRST",
4379
+ timestamp_ASC_NULLS_LAST = "timestamp_ASC_NULLS_LAST",
4380
+ timestamp_DESC = "timestamp_DESC",
4381
+ timestamp_DESC_NULLS_FIRST = "timestamp_DESC_NULLS_FIRST",
4382
+ timestamp_DESC_NULLS_LAST = "timestamp_DESC_NULLS_LAST",
4264
4383
  token_ASC = "token_ASC",
4265
4384
  token_ASC_NULLS_FIRST = "token_ASC_NULLS_FIRST",
4266
4385
  token_ASC_NULLS_LAST = "token_ASC_NULLS_LAST",
4267
4386
  token_DESC = "token_DESC",
4268
4387
  token_DESC_NULLS_FIRST = "token_DESC_NULLS_FIRST",
4269
4388
  token_DESC_NULLS_LAST = "token_DESC_NULLS_LAST",
4270
- txn_blockNumber_ASC = "txn_blockNumber_ASC",
4271
- txn_blockNumber_ASC_NULLS_FIRST = "txn_blockNumber_ASC_NULLS_FIRST",
4272
- txn_blockNumber_ASC_NULLS_LAST = "txn_blockNumber_ASC_NULLS_LAST",
4273
- txn_blockNumber_DESC = "txn_blockNumber_DESC",
4274
- txn_blockNumber_DESC_NULLS_FIRST = "txn_blockNumber_DESC_NULLS_FIRST",
4275
- txn_blockNumber_DESC_NULLS_LAST = "txn_blockNumber_DESC_NULLS_LAST",
4276
- txn_chainId_ASC = "txn_chainId_ASC",
4277
- txn_chainId_ASC_NULLS_FIRST = "txn_chainId_ASC_NULLS_FIRST",
4278
- txn_chainId_ASC_NULLS_LAST = "txn_chainId_ASC_NULLS_LAST",
4279
- txn_chainId_DESC = "txn_chainId_DESC",
4280
- txn_chainId_DESC_NULLS_FIRST = "txn_chainId_DESC_NULLS_FIRST",
4281
- txn_chainId_DESC_NULLS_LAST = "txn_chainId_DESC_NULLS_LAST",
4282
- txn_from_ASC = "txn_from_ASC",
4283
- txn_from_ASC_NULLS_FIRST = "txn_from_ASC_NULLS_FIRST",
4284
- txn_from_ASC_NULLS_LAST = "txn_from_ASC_NULLS_LAST",
4285
- txn_from_DESC = "txn_from_DESC",
4286
- txn_from_DESC_NULLS_FIRST = "txn_from_DESC_NULLS_FIRST",
4287
- txn_from_DESC_NULLS_LAST = "txn_from_DESC_NULLS_LAST",
4288
- txn_hash_ASC = "txn_hash_ASC",
4289
- txn_hash_ASC_NULLS_FIRST = "txn_hash_ASC_NULLS_FIRST",
4290
- txn_hash_ASC_NULLS_LAST = "txn_hash_ASC_NULLS_LAST",
4291
- txn_hash_DESC = "txn_hash_DESC",
4292
- txn_hash_DESC_NULLS_FIRST = "txn_hash_DESC_NULLS_FIRST",
4293
- txn_hash_DESC_NULLS_LAST = "txn_hash_DESC_NULLS_LAST",
4294
- txn_id_ASC = "txn_id_ASC",
4295
- txn_id_ASC_NULLS_FIRST = "txn_id_ASC_NULLS_FIRST",
4296
- txn_id_ASC_NULLS_LAST = "txn_id_ASC_NULLS_LAST",
4297
- txn_id_DESC = "txn_id_DESC",
4298
- txn_id_DESC_NULLS_FIRST = "txn_id_DESC_NULLS_FIRST",
4299
- txn_id_DESC_NULLS_LAST = "txn_id_DESC_NULLS_LAST",
4300
- txn_timestamp_ASC = "txn_timestamp_ASC",
4301
- txn_timestamp_ASC_NULLS_FIRST = "txn_timestamp_ASC_NULLS_FIRST",
4302
- txn_timestamp_ASC_NULLS_LAST = "txn_timestamp_ASC_NULLS_LAST",
4303
- txn_timestamp_DESC = "txn_timestamp_DESC",
4304
- txn_timestamp_DESC_NULLS_FIRST = "txn_timestamp_DESC_NULLS_FIRST",
4305
- txn_timestamp_DESC_NULLS_LAST = "txn_timestamp_DESC_NULLS_LAST",
4306
- txn_to_ASC = "txn_to_ASC",
4307
- txn_to_ASC_NULLS_FIRST = "txn_to_ASC_NULLS_FIRST",
4308
- txn_to_ASC_NULLS_LAST = "txn_to_ASC_NULLS_LAST",
4309
- txn_to_DESC = "txn_to_DESC",
4310
- txn_to_DESC_NULLS_FIRST = "txn_to_DESC_NULLS_FIRST",
4311
- txn_to_DESC_NULLS_LAST = "txn_to_DESC_NULLS_LAST",
4312
- txn_transactionIndex_ASC = "txn_transactionIndex_ASC",
4313
- txn_transactionIndex_ASC_NULLS_FIRST = "txn_transactionIndex_ASC_NULLS_FIRST",
4314
- txn_transactionIndex_ASC_NULLS_LAST = "txn_transactionIndex_ASC_NULLS_LAST",
4315
- txn_transactionIndex_DESC = "txn_transactionIndex_DESC",
4316
- txn_transactionIndex_DESC_NULLS_FIRST = "txn_transactionIndex_DESC_NULLS_FIRST",
4317
- txn_transactionIndex_DESC_NULLS_LAST = "txn_transactionIndex_DESC_NULLS_LAST"
4389
+ txn_ASC = "txn_ASC",
4390
+ txn_ASC_NULLS_FIRST = "txn_ASC_NULLS_FIRST",
4391
+ txn_ASC_NULLS_LAST = "txn_ASC_NULLS_LAST",
4392
+ txn_DESC = "txn_DESC",
4393
+ txn_DESC_NULLS_FIRST = "txn_DESC_NULLS_FIRST",
4394
+ txn_DESC_NULLS_LAST = "txn_DESC_NULLS_LAST"
4318
4395
  }
4319
4396
  export interface MultichainFundingSendEventWhereInput {
4320
4397
  AND?: InputMaybe<Array<MultichainFundingSendEventWhereInput>>;
@@ -4394,6 +4471,15 @@ export interface MultichainFundingSendEventWhereInput {
4394
4471
  sourceChainId_lte?: InputMaybe<Scalars['Int']['input']>;
4395
4472
  sourceChainId_not_eq?: InputMaybe<Scalars['Int']['input']>;
4396
4473
  sourceChainId_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
4474
+ timestamp_eq?: InputMaybe<Scalars['Int']['input']>;
4475
+ timestamp_gt?: InputMaybe<Scalars['Int']['input']>;
4476
+ timestamp_gte?: InputMaybe<Scalars['Int']['input']>;
4477
+ timestamp_in?: InputMaybe<Array<Scalars['Int']['input']>>;
4478
+ timestamp_isNull?: InputMaybe<Scalars['Boolean']['input']>;
4479
+ timestamp_lt?: InputMaybe<Scalars['Int']['input']>;
4480
+ timestamp_lte?: InputMaybe<Scalars['Int']['input']>;
4481
+ timestamp_not_eq?: InputMaybe<Scalars['Int']['input']>;
4482
+ timestamp_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
4397
4483
  token_contains?: InputMaybe<Scalars['String']['input']>;
4398
4484
  token_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
4399
4485
  token_endsWith?: InputMaybe<Scalars['String']['input']>;
@@ -4411,8 +4497,23 @@ export interface MultichainFundingSendEventWhereInput {
4411
4497
  token_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
4412
4498
  token_not_startsWith?: InputMaybe<Scalars['String']['input']>;
4413
4499
  token_startsWith?: InputMaybe<Scalars['String']['input']>;
4414
- txn?: InputMaybe<TransactionWhereInput>;
4500
+ txn_contains?: InputMaybe<Scalars['String']['input']>;
4501
+ txn_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
4502
+ txn_endsWith?: InputMaybe<Scalars['String']['input']>;
4503
+ txn_eq?: InputMaybe<Scalars['String']['input']>;
4504
+ txn_gt?: InputMaybe<Scalars['String']['input']>;
4505
+ txn_gte?: InputMaybe<Scalars['String']['input']>;
4506
+ txn_in?: InputMaybe<Array<Scalars['String']['input']>>;
4415
4507
  txn_isNull?: InputMaybe<Scalars['Boolean']['input']>;
4508
+ txn_lt?: InputMaybe<Scalars['String']['input']>;
4509
+ txn_lte?: InputMaybe<Scalars['String']['input']>;
4510
+ txn_not_contains?: InputMaybe<Scalars['String']['input']>;
4511
+ txn_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
4512
+ txn_not_endsWith?: InputMaybe<Scalars['String']['input']>;
4513
+ txn_not_eq?: InputMaybe<Scalars['String']['input']>;
4514
+ txn_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
4515
+ txn_not_startsWith?: InputMaybe<Scalars['String']['input']>;
4516
+ txn_startsWith?: InputMaybe<Scalars['String']['input']>;
4416
4517
  }
4417
4518
  export interface MultichainFundingSendEventsConnection {
4418
4519
  __typename?: 'MultichainFundingSendEventsConnection';
@@ -4423,6 +4524,7 @@ export interface MultichainFundingSendEventsConnection {
4423
4524
  export interface MultichainFundingWhereInput {
4424
4525
  account?: InputMaybe<Scalars['String']['input']>;
4425
4526
  id?: InputMaybe<Scalars['String']['input']>;
4527
+ sourceChainId?: InputMaybe<Scalars['Float']['input']>;
4426
4528
  }
4427
4529
  export interface MultichainMetadata {
4428
4530
  __typename?: 'MultichainMetadata';
@@ -4620,6 +4722,7 @@ export interface Order {
4620
4722
  cancelledReasonBytes?: Maybe<Scalars['String']['output']>;
4621
4723
  cancelledTxn?: Maybe<Transaction>;
4622
4724
  createdTxn: Transaction;
4725
+ decreasePositionSwapType: Scalars['Int']['output'];
4623
4726
  executedTxn?: Maybe<Transaction>;
4624
4727
  executionFee: Scalars['BigInt']['output'];
4625
4728
  frozenReason?: Maybe<Scalars['String']['output']>;
@@ -4691,12 +4794,6 @@ export declare enum OrderOrderByInput {
4691
4794
  cancelledTxn_blockNumber_DESC = "cancelledTxn_blockNumber_DESC",
4692
4795
  cancelledTxn_blockNumber_DESC_NULLS_FIRST = "cancelledTxn_blockNumber_DESC_NULLS_FIRST",
4693
4796
  cancelledTxn_blockNumber_DESC_NULLS_LAST = "cancelledTxn_blockNumber_DESC_NULLS_LAST",
4694
- cancelledTxn_chainId_ASC = "cancelledTxn_chainId_ASC",
4695
- cancelledTxn_chainId_ASC_NULLS_FIRST = "cancelledTxn_chainId_ASC_NULLS_FIRST",
4696
- cancelledTxn_chainId_ASC_NULLS_LAST = "cancelledTxn_chainId_ASC_NULLS_LAST",
4697
- cancelledTxn_chainId_DESC = "cancelledTxn_chainId_DESC",
4698
- cancelledTxn_chainId_DESC_NULLS_FIRST = "cancelledTxn_chainId_DESC_NULLS_FIRST",
4699
- cancelledTxn_chainId_DESC_NULLS_LAST = "cancelledTxn_chainId_DESC_NULLS_LAST",
4700
4797
  cancelledTxn_from_ASC = "cancelledTxn_from_ASC",
4701
4798
  cancelledTxn_from_ASC_NULLS_FIRST = "cancelledTxn_from_ASC_NULLS_FIRST",
4702
4799
  cancelledTxn_from_ASC_NULLS_LAST = "cancelledTxn_from_ASC_NULLS_LAST",
@@ -4739,12 +4836,6 @@ export declare enum OrderOrderByInput {
4739
4836
  createdTxn_blockNumber_DESC = "createdTxn_blockNumber_DESC",
4740
4837
  createdTxn_blockNumber_DESC_NULLS_FIRST = "createdTxn_blockNumber_DESC_NULLS_FIRST",
4741
4838
  createdTxn_blockNumber_DESC_NULLS_LAST = "createdTxn_blockNumber_DESC_NULLS_LAST",
4742
- createdTxn_chainId_ASC = "createdTxn_chainId_ASC",
4743
- createdTxn_chainId_ASC_NULLS_FIRST = "createdTxn_chainId_ASC_NULLS_FIRST",
4744
- createdTxn_chainId_ASC_NULLS_LAST = "createdTxn_chainId_ASC_NULLS_LAST",
4745
- createdTxn_chainId_DESC = "createdTxn_chainId_DESC",
4746
- createdTxn_chainId_DESC_NULLS_FIRST = "createdTxn_chainId_DESC_NULLS_FIRST",
4747
- createdTxn_chainId_DESC_NULLS_LAST = "createdTxn_chainId_DESC_NULLS_LAST",
4748
4839
  createdTxn_from_ASC = "createdTxn_from_ASC",
4749
4840
  createdTxn_from_ASC_NULLS_FIRST = "createdTxn_from_ASC_NULLS_FIRST",
4750
4841
  createdTxn_from_ASC_NULLS_LAST = "createdTxn_from_ASC_NULLS_LAST",
@@ -4781,18 +4872,18 @@ export declare enum OrderOrderByInput {
4781
4872
  createdTxn_transactionIndex_DESC = "createdTxn_transactionIndex_DESC",
4782
4873
  createdTxn_transactionIndex_DESC_NULLS_FIRST = "createdTxn_transactionIndex_DESC_NULLS_FIRST",
4783
4874
  createdTxn_transactionIndex_DESC_NULLS_LAST = "createdTxn_transactionIndex_DESC_NULLS_LAST",
4875
+ decreasePositionSwapType_ASC = "decreasePositionSwapType_ASC",
4876
+ decreasePositionSwapType_ASC_NULLS_FIRST = "decreasePositionSwapType_ASC_NULLS_FIRST",
4877
+ decreasePositionSwapType_ASC_NULLS_LAST = "decreasePositionSwapType_ASC_NULLS_LAST",
4878
+ decreasePositionSwapType_DESC = "decreasePositionSwapType_DESC",
4879
+ decreasePositionSwapType_DESC_NULLS_FIRST = "decreasePositionSwapType_DESC_NULLS_FIRST",
4880
+ decreasePositionSwapType_DESC_NULLS_LAST = "decreasePositionSwapType_DESC_NULLS_LAST",
4784
4881
  executedTxn_blockNumber_ASC = "executedTxn_blockNumber_ASC",
4785
4882
  executedTxn_blockNumber_ASC_NULLS_FIRST = "executedTxn_blockNumber_ASC_NULLS_FIRST",
4786
4883
  executedTxn_blockNumber_ASC_NULLS_LAST = "executedTxn_blockNumber_ASC_NULLS_LAST",
4787
4884
  executedTxn_blockNumber_DESC = "executedTxn_blockNumber_DESC",
4788
4885
  executedTxn_blockNumber_DESC_NULLS_FIRST = "executedTxn_blockNumber_DESC_NULLS_FIRST",
4789
4886
  executedTxn_blockNumber_DESC_NULLS_LAST = "executedTxn_blockNumber_DESC_NULLS_LAST",
4790
- executedTxn_chainId_ASC = "executedTxn_chainId_ASC",
4791
- executedTxn_chainId_ASC_NULLS_FIRST = "executedTxn_chainId_ASC_NULLS_FIRST",
4792
- executedTxn_chainId_ASC_NULLS_LAST = "executedTxn_chainId_ASC_NULLS_LAST",
4793
- executedTxn_chainId_DESC = "executedTxn_chainId_DESC",
4794
- executedTxn_chainId_DESC_NULLS_FIRST = "executedTxn_chainId_DESC_NULLS_FIRST",
4795
- executedTxn_chainId_DESC_NULLS_LAST = "executedTxn_chainId_DESC_NULLS_LAST",
4796
4887
  executedTxn_from_ASC = "executedTxn_from_ASC",
4797
4888
  executedTxn_from_ASC_NULLS_FIRST = "executedTxn_from_ASC_NULLS_FIRST",
4798
4889
  executedTxn_from_ASC_NULLS_LAST = "executedTxn_from_ASC_NULLS_LAST",
@@ -5049,6 +5140,15 @@ export interface OrderWhereInput {
5049
5140
  cancelledTxn_isNull?: InputMaybe<Scalars['Boolean']['input']>;
5050
5141
  createdTxn?: InputMaybe<TransactionWhereInput>;
5051
5142
  createdTxn_isNull?: InputMaybe<Scalars['Boolean']['input']>;
5143
+ decreasePositionSwapType_eq?: InputMaybe<Scalars['Int']['input']>;
5144
+ decreasePositionSwapType_gt?: InputMaybe<Scalars['Int']['input']>;
5145
+ decreasePositionSwapType_gte?: InputMaybe<Scalars['Int']['input']>;
5146
+ decreasePositionSwapType_in?: InputMaybe<Array<Scalars['Int']['input']>>;
5147
+ decreasePositionSwapType_isNull?: InputMaybe<Scalars['Boolean']['input']>;
5148
+ decreasePositionSwapType_lt?: InputMaybe<Scalars['Int']['input']>;
5149
+ decreasePositionSwapType_lte?: InputMaybe<Scalars['Int']['input']>;
5150
+ decreasePositionSwapType_not_eq?: InputMaybe<Scalars['Int']['input']>;
5151
+ decreasePositionSwapType_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
5052
5152
  executedTxn?: InputMaybe<TransactionWhereInput>;
5053
5153
  executedTxn_isNull?: InputMaybe<Scalars['Boolean']['input']>;
5054
5154
  executionFee_eq?: InputMaybe<Scalars['BigInt']['input']>;
@@ -5324,6 +5424,7 @@ export interface PeriodAccountStatObject {
5324
5424
  realizedFees: Scalars['BigInt']['output'];
5325
5425
  realizedPnl: Scalars['BigInt']['output'];
5326
5426
  realizedPriceImpact: Scalars['BigInt']['output'];
5427
+ realizedSwapImpact: Scalars['BigInt']['output'];
5327
5428
  startUnrealizedFees: Scalars['BigInt']['output'];
5328
5429
  startUnrealizedPnl: Scalars['BigInt']['output'];
5329
5430
  startUnrealizedPriceImpact: Scalars['BigInt']['output'];
@@ -5331,6 +5432,98 @@ export interface PeriodAccountStatObject {
5331
5432
  volume: Scalars['BigInt']['output'];
5332
5433
  wins: Scalars['Float']['output'];
5333
5434
  }
5435
+ export interface PlatformStats {
5436
+ __typename?: 'PlatformStats';
5437
+ depositedUsers: Scalars['Int']['output'];
5438
+ id: Scalars['String']['output'];
5439
+ tradedUsers: Scalars['Int']['output'];
5440
+ volume: Scalars['BigInt']['output'];
5441
+ }
5442
+ export interface PlatformStatsConnection {
5443
+ __typename?: 'PlatformStatsConnection';
5444
+ edges: Array<PlatformStatsEdge>;
5445
+ pageInfo: PageInfo;
5446
+ totalCount: Scalars['Int']['output'];
5447
+ }
5448
+ export interface PlatformStatsEdge {
5449
+ __typename?: 'PlatformStatsEdge';
5450
+ cursor: Scalars['String']['output'];
5451
+ node: PlatformStats;
5452
+ }
5453
+ export declare enum PlatformStatsOrderByInput {
5454
+ depositedUsers_ASC = "depositedUsers_ASC",
5455
+ depositedUsers_ASC_NULLS_FIRST = "depositedUsers_ASC_NULLS_FIRST",
5456
+ depositedUsers_ASC_NULLS_LAST = "depositedUsers_ASC_NULLS_LAST",
5457
+ depositedUsers_DESC = "depositedUsers_DESC",
5458
+ depositedUsers_DESC_NULLS_FIRST = "depositedUsers_DESC_NULLS_FIRST",
5459
+ depositedUsers_DESC_NULLS_LAST = "depositedUsers_DESC_NULLS_LAST",
5460
+ id_ASC = "id_ASC",
5461
+ id_ASC_NULLS_FIRST = "id_ASC_NULLS_FIRST",
5462
+ id_ASC_NULLS_LAST = "id_ASC_NULLS_LAST",
5463
+ id_DESC = "id_DESC",
5464
+ id_DESC_NULLS_FIRST = "id_DESC_NULLS_FIRST",
5465
+ id_DESC_NULLS_LAST = "id_DESC_NULLS_LAST",
5466
+ tradedUsers_ASC = "tradedUsers_ASC",
5467
+ tradedUsers_ASC_NULLS_FIRST = "tradedUsers_ASC_NULLS_FIRST",
5468
+ tradedUsers_ASC_NULLS_LAST = "tradedUsers_ASC_NULLS_LAST",
5469
+ tradedUsers_DESC = "tradedUsers_DESC",
5470
+ tradedUsers_DESC_NULLS_FIRST = "tradedUsers_DESC_NULLS_FIRST",
5471
+ tradedUsers_DESC_NULLS_LAST = "tradedUsers_DESC_NULLS_LAST",
5472
+ volume_ASC = "volume_ASC",
5473
+ volume_ASC_NULLS_FIRST = "volume_ASC_NULLS_FIRST",
5474
+ volume_ASC_NULLS_LAST = "volume_ASC_NULLS_LAST",
5475
+ volume_DESC = "volume_DESC",
5476
+ volume_DESC_NULLS_FIRST = "volume_DESC_NULLS_FIRST",
5477
+ volume_DESC_NULLS_LAST = "volume_DESC_NULLS_LAST"
5478
+ }
5479
+ export interface PlatformStatsWhereInput {
5480
+ AND?: InputMaybe<Array<PlatformStatsWhereInput>>;
5481
+ OR?: InputMaybe<Array<PlatformStatsWhereInput>>;
5482
+ depositedUsers_eq?: InputMaybe<Scalars['Int']['input']>;
5483
+ depositedUsers_gt?: InputMaybe<Scalars['Int']['input']>;
5484
+ depositedUsers_gte?: InputMaybe<Scalars['Int']['input']>;
5485
+ depositedUsers_in?: InputMaybe<Array<Scalars['Int']['input']>>;
5486
+ depositedUsers_isNull?: InputMaybe<Scalars['Boolean']['input']>;
5487
+ depositedUsers_lt?: InputMaybe<Scalars['Int']['input']>;
5488
+ depositedUsers_lte?: InputMaybe<Scalars['Int']['input']>;
5489
+ depositedUsers_not_eq?: InputMaybe<Scalars['Int']['input']>;
5490
+ depositedUsers_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
5491
+ id_contains?: InputMaybe<Scalars['String']['input']>;
5492
+ id_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
5493
+ id_endsWith?: InputMaybe<Scalars['String']['input']>;
5494
+ id_eq?: InputMaybe<Scalars['String']['input']>;
5495
+ id_gt?: InputMaybe<Scalars['String']['input']>;
5496
+ id_gte?: InputMaybe<Scalars['String']['input']>;
5497
+ id_in?: InputMaybe<Array<Scalars['String']['input']>>;
5498
+ id_isNull?: InputMaybe<Scalars['Boolean']['input']>;
5499
+ id_lt?: InputMaybe<Scalars['String']['input']>;
5500
+ id_lte?: InputMaybe<Scalars['String']['input']>;
5501
+ id_not_contains?: InputMaybe<Scalars['String']['input']>;
5502
+ id_not_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
5503
+ id_not_endsWith?: InputMaybe<Scalars['String']['input']>;
5504
+ id_not_eq?: InputMaybe<Scalars['String']['input']>;
5505
+ id_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
5506
+ id_not_startsWith?: InputMaybe<Scalars['String']['input']>;
5507
+ id_startsWith?: InputMaybe<Scalars['String']['input']>;
5508
+ tradedUsers_eq?: InputMaybe<Scalars['Int']['input']>;
5509
+ tradedUsers_gt?: InputMaybe<Scalars['Int']['input']>;
5510
+ tradedUsers_gte?: InputMaybe<Scalars['Int']['input']>;
5511
+ tradedUsers_in?: InputMaybe<Array<Scalars['Int']['input']>>;
5512
+ tradedUsers_isNull?: InputMaybe<Scalars['Boolean']['input']>;
5513
+ tradedUsers_lt?: InputMaybe<Scalars['Int']['input']>;
5514
+ tradedUsers_lte?: InputMaybe<Scalars['Int']['input']>;
5515
+ tradedUsers_not_eq?: InputMaybe<Scalars['Int']['input']>;
5516
+ tradedUsers_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
5517
+ volume_eq?: InputMaybe<Scalars['BigInt']['input']>;
5518
+ volume_gt?: InputMaybe<Scalars['BigInt']['input']>;
5519
+ volume_gte?: InputMaybe<Scalars['BigInt']['input']>;
5520
+ volume_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
5521
+ volume_isNull?: InputMaybe<Scalars['Boolean']['input']>;
5522
+ volume_lt?: InputMaybe<Scalars['BigInt']['input']>;
5523
+ volume_lte?: InputMaybe<Scalars['BigInt']['input']>;
5524
+ volume_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
5525
+ volume_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
5526
+ }
5334
5527
  export interface PnlAprSnapshot {
5335
5528
  __typename?: 'PnlAprSnapshot';
5336
5529
  address: Scalars['String']['output'];
@@ -5453,10 +5646,12 @@ export interface Position {
5453
5646
  id: Scalars['String']['output'];
5454
5647
  isLong: Scalars['Boolean']['output'];
5455
5648
  isSnapshot: Scalars['Boolean']['output'];
5649
+ leverage: Scalars['BigInt']['output'];
5456
5650
  market: Scalars['String']['output'];
5457
5651
  maxSize: Scalars['BigInt']['output'];
5458
5652
  openedAt: Scalars['Int']['output'];
5459
5653
  positionKey: Scalars['String']['output'];
5654
+ qualifyingPnl: Scalars['BigInt']['output'];
5460
5655
  realizedFees: Scalars['BigInt']['output'];
5461
5656
  realizedPnl: Scalars['BigInt']['output'];
5462
5657
  realizedPriceImpact: Scalars['BigInt']['output'];
@@ -5487,8 +5682,10 @@ export interface PositionChange {
5487
5682
  priceImpactDiffUsd?: Maybe<Scalars['BigInt']['output']>;
5488
5683
  priceImpactUsd: Scalars['BigInt']['output'];
5489
5684
  proportionalPendingImpactUsd?: Maybe<Scalars['BigInt']['output']>;
5685
+ sizeDeltaInTokens: Scalars['BigInt']['output'];
5490
5686
  sizeDeltaUsd: Scalars['BigInt']['output'];
5491
5687
  sizeInUsd: Scalars['BigInt']['output'];
5688
+ swapImpactUsd?: Maybe<Scalars['BigInt']['output']>;
5492
5689
  timestamp: Scalars['Int']['output'];
5493
5690
  totalImpactUsd?: Maybe<Scalars['BigInt']['output']>;
5494
5691
  type: PositionChangeType;
@@ -5607,6 +5804,12 @@ export declare enum PositionChangeOrderByInput {
5607
5804
  proportionalPendingImpactUsd_DESC = "proportionalPendingImpactUsd_DESC",
5608
5805
  proportionalPendingImpactUsd_DESC_NULLS_FIRST = "proportionalPendingImpactUsd_DESC_NULLS_FIRST",
5609
5806
  proportionalPendingImpactUsd_DESC_NULLS_LAST = "proportionalPendingImpactUsd_DESC_NULLS_LAST",
5807
+ sizeDeltaInTokens_ASC = "sizeDeltaInTokens_ASC",
5808
+ sizeDeltaInTokens_ASC_NULLS_FIRST = "sizeDeltaInTokens_ASC_NULLS_FIRST",
5809
+ sizeDeltaInTokens_ASC_NULLS_LAST = "sizeDeltaInTokens_ASC_NULLS_LAST",
5810
+ sizeDeltaInTokens_DESC = "sizeDeltaInTokens_DESC",
5811
+ sizeDeltaInTokens_DESC_NULLS_FIRST = "sizeDeltaInTokens_DESC_NULLS_FIRST",
5812
+ sizeDeltaInTokens_DESC_NULLS_LAST = "sizeDeltaInTokens_DESC_NULLS_LAST",
5610
5813
  sizeDeltaUsd_ASC = "sizeDeltaUsd_ASC",
5611
5814
  sizeDeltaUsd_ASC_NULLS_FIRST = "sizeDeltaUsd_ASC_NULLS_FIRST",
5612
5815
  sizeDeltaUsd_ASC_NULLS_LAST = "sizeDeltaUsd_ASC_NULLS_LAST",
@@ -5619,6 +5822,12 @@ export declare enum PositionChangeOrderByInput {
5619
5822
  sizeInUsd_DESC = "sizeInUsd_DESC",
5620
5823
  sizeInUsd_DESC_NULLS_FIRST = "sizeInUsd_DESC_NULLS_FIRST",
5621
5824
  sizeInUsd_DESC_NULLS_LAST = "sizeInUsd_DESC_NULLS_LAST",
5825
+ swapImpactUsd_ASC = "swapImpactUsd_ASC",
5826
+ swapImpactUsd_ASC_NULLS_FIRST = "swapImpactUsd_ASC_NULLS_FIRST",
5827
+ swapImpactUsd_ASC_NULLS_LAST = "swapImpactUsd_ASC_NULLS_LAST",
5828
+ swapImpactUsd_DESC = "swapImpactUsd_DESC",
5829
+ swapImpactUsd_DESC_NULLS_FIRST = "swapImpactUsd_DESC_NULLS_FIRST",
5830
+ swapImpactUsd_DESC_NULLS_LAST = "swapImpactUsd_DESC_NULLS_LAST",
5622
5831
  timestamp_ASC = "timestamp_ASC",
5623
5832
  timestamp_ASC_NULLS_FIRST = "timestamp_ASC_NULLS_FIRST",
5624
5833
  timestamp_ASC_NULLS_LAST = "timestamp_ASC_NULLS_LAST",
@@ -5827,6 +6036,15 @@ export interface PositionChangeWhereInput {
5827
6036
  proportionalPendingImpactUsd_lte?: InputMaybe<Scalars['BigInt']['input']>;
5828
6037
  proportionalPendingImpactUsd_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
5829
6038
  proportionalPendingImpactUsd_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
6039
+ sizeDeltaInTokens_eq?: InputMaybe<Scalars['BigInt']['input']>;
6040
+ sizeDeltaInTokens_gt?: InputMaybe<Scalars['BigInt']['input']>;
6041
+ sizeDeltaInTokens_gte?: InputMaybe<Scalars['BigInt']['input']>;
6042
+ sizeDeltaInTokens_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
6043
+ sizeDeltaInTokens_isNull?: InputMaybe<Scalars['Boolean']['input']>;
6044
+ sizeDeltaInTokens_lt?: InputMaybe<Scalars['BigInt']['input']>;
6045
+ sizeDeltaInTokens_lte?: InputMaybe<Scalars['BigInt']['input']>;
6046
+ sizeDeltaInTokens_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
6047
+ sizeDeltaInTokens_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
5830
6048
  sizeDeltaUsd_eq?: InputMaybe<Scalars['BigInt']['input']>;
5831
6049
  sizeDeltaUsd_gt?: InputMaybe<Scalars['BigInt']['input']>;
5832
6050
  sizeDeltaUsd_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -5845,6 +6063,15 @@ export interface PositionChangeWhereInput {
5845
6063
  sizeInUsd_lte?: InputMaybe<Scalars['BigInt']['input']>;
5846
6064
  sizeInUsd_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
5847
6065
  sizeInUsd_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
6066
+ swapImpactUsd_eq?: InputMaybe<Scalars['BigInt']['input']>;
6067
+ swapImpactUsd_gt?: InputMaybe<Scalars['BigInt']['input']>;
6068
+ swapImpactUsd_gte?: InputMaybe<Scalars['BigInt']['input']>;
6069
+ swapImpactUsd_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
6070
+ swapImpactUsd_isNull?: InputMaybe<Scalars['Boolean']['input']>;
6071
+ swapImpactUsd_lt?: InputMaybe<Scalars['BigInt']['input']>;
6072
+ swapImpactUsd_lte?: InputMaybe<Scalars['BigInt']['input']>;
6073
+ swapImpactUsd_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
6074
+ swapImpactUsd_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
5848
6075
  timestamp_eq?: InputMaybe<Scalars['Int']['input']>;
5849
6076
  timestamp_gt?: InputMaybe<Scalars['Int']['input']>;
5850
6077
  timestamp_gte?: InputMaybe<Scalars['Int']['input']>;
@@ -6029,12 +6256,6 @@ export declare enum PositionFeesEntityOrderByInput {
6029
6256
  transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
6030
6257
  transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
6031
6258
  transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
6032
- transaction_chainId_ASC = "transaction_chainId_ASC",
6033
- transaction_chainId_ASC_NULLS_FIRST = "transaction_chainId_ASC_NULLS_FIRST",
6034
- transaction_chainId_ASC_NULLS_LAST = "transaction_chainId_ASC_NULLS_LAST",
6035
- transaction_chainId_DESC = "transaction_chainId_DESC",
6036
- transaction_chainId_DESC_NULLS_FIRST = "transaction_chainId_DESC_NULLS_FIRST",
6037
- transaction_chainId_DESC_NULLS_LAST = "transaction_chainId_DESC_NULLS_LAST",
6038
6259
  transaction_from_ASC = "transaction_from_ASC",
6039
6260
  transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
6040
6261
  transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
@@ -6335,6 +6556,12 @@ export declare enum PositionOrderByInput {
6335
6556
  accountStat_cumsumSize_DESC = "accountStat_cumsumSize_DESC",
6336
6557
  accountStat_cumsumSize_DESC_NULLS_FIRST = "accountStat_cumsumSize_DESC_NULLS_FIRST",
6337
6558
  accountStat_cumsumSize_DESC_NULLS_LAST = "accountStat_cumsumSize_DESC_NULLS_LAST",
6559
+ accountStat_deposits_ASC = "accountStat_deposits_ASC",
6560
+ accountStat_deposits_ASC_NULLS_FIRST = "accountStat_deposits_ASC_NULLS_FIRST",
6561
+ accountStat_deposits_ASC_NULLS_LAST = "accountStat_deposits_ASC_NULLS_LAST",
6562
+ accountStat_deposits_DESC = "accountStat_deposits_DESC",
6563
+ accountStat_deposits_DESC_NULLS_FIRST = "accountStat_deposits_DESC_NULLS_FIRST",
6564
+ accountStat_deposits_DESC_NULLS_LAST = "accountStat_deposits_DESC_NULLS_LAST",
6338
6565
  accountStat_id_ASC = "accountStat_id_ASC",
6339
6566
  accountStat_id_ASC_NULLS_FIRST = "accountStat_id_ASC_NULLS_FIRST",
6340
6567
  accountStat_id_ASC_NULLS_LAST = "accountStat_id_ASC_NULLS_LAST",
@@ -6377,6 +6604,12 @@ export declare enum PositionOrderByInput {
6377
6604
  accountStat_realizedPriceImpact_DESC = "accountStat_realizedPriceImpact_DESC",
6378
6605
  accountStat_realizedPriceImpact_DESC_NULLS_FIRST = "accountStat_realizedPriceImpact_DESC_NULLS_FIRST",
6379
6606
  accountStat_realizedPriceImpact_DESC_NULLS_LAST = "accountStat_realizedPriceImpact_DESC_NULLS_LAST",
6607
+ accountStat_realizedSwapImpact_ASC = "accountStat_realizedSwapImpact_ASC",
6608
+ accountStat_realizedSwapImpact_ASC_NULLS_FIRST = "accountStat_realizedSwapImpact_ASC_NULLS_FIRST",
6609
+ accountStat_realizedSwapImpact_ASC_NULLS_LAST = "accountStat_realizedSwapImpact_ASC_NULLS_LAST",
6610
+ accountStat_realizedSwapImpact_DESC = "accountStat_realizedSwapImpact_DESC",
6611
+ accountStat_realizedSwapImpact_DESC_NULLS_FIRST = "accountStat_realizedSwapImpact_DESC_NULLS_FIRST",
6612
+ accountStat_realizedSwapImpact_DESC_NULLS_LAST = "accountStat_realizedSwapImpact_DESC_NULLS_LAST",
6380
6613
  accountStat_sumMaxSize_ASC = "accountStat_sumMaxSize_ASC",
6381
6614
  accountStat_sumMaxSize_ASC_NULLS_FIRST = "accountStat_sumMaxSize_ASC_NULLS_FIRST",
6382
6615
  accountStat_sumMaxSize_ASC_NULLS_LAST = "accountStat_sumMaxSize_ASC_NULLS_LAST",
@@ -6437,6 +6670,12 @@ export declare enum PositionOrderByInput {
6437
6670
  isSnapshot_DESC = "isSnapshot_DESC",
6438
6671
  isSnapshot_DESC_NULLS_FIRST = "isSnapshot_DESC_NULLS_FIRST",
6439
6672
  isSnapshot_DESC_NULLS_LAST = "isSnapshot_DESC_NULLS_LAST",
6673
+ leverage_ASC = "leverage_ASC",
6674
+ leverage_ASC_NULLS_FIRST = "leverage_ASC_NULLS_FIRST",
6675
+ leverage_ASC_NULLS_LAST = "leverage_ASC_NULLS_LAST",
6676
+ leverage_DESC = "leverage_DESC",
6677
+ leverage_DESC_NULLS_FIRST = "leverage_DESC_NULLS_FIRST",
6678
+ leverage_DESC_NULLS_LAST = "leverage_DESC_NULLS_LAST",
6440
6679
  market_ASC = "market_ASC",
6441
6680
  market_ASC_NULLS_FIRST = "market_ASC_NULLS_FIRST",
6442
6681
  market_ASC_NULLS_LAST = "market_ASC_NULLS_LAST",
@@ -6461,6 +6700,12 @@ export declare enum PositionOrderByInput {
6461
6700
  positionKey_DESC = "positionKey_DESC",
6462
6701
  positionKey_DESC_NULLS_FIRST = "positionKey_DESC_NULLS_FIRST",
6463
6702
  positionKey_DESC_NULLS_LAST = "positionKey_DESC_NULLS_LAST",
6703
+ qualifyingPnl_ASC = "qualifyingPnl_ASC",
6704
+ qualifyingPnl_ASC_NULLS_FIRST = "qualifyingPnl_ASC_NULLS_FIRST",
6705
+ qualifyingPnl_ASC_NULLS_LAST = "qualifyingPnl_ASC_NULLS_LAST",
6706
+ qualifyingPnl_DESC = "qualifyingPnl_DESC",
6707
+ qualifyingPnl_DESC_NULLS_FIRST = "qualifyingPnl_DESC_NULLS_FIRST",
6708
+ qualifyingPnl_DESC_NULLS_LAST = "qualifyingPnl_DESC_NULLS_LAST",
6464
6709
  realizedFees_ASC = "realizedFees_ASC",
6465
6710
  realizedFees_ASC_NULLS_FIRST = "realizedFees_ASC_NULLS_FIRST",
6466
6711
  realizedFees_ASC_NULLS_LAST = "realizedFees_ASC_NULLS_LAST",
@@ -6525,11 +6770,8 @@ export interface PositionTotalCollateralAmountWhereInput {
6525
6770
  marketAddress?: InputMaybe<Scalars['String']['input']>;
6526
6771
  }
6527
6772
  export interface PositionVolumeByAllMarketsWhereInput {
6528
- timestamp: Scalars['Float']['input'];
6529
- }
6530
- export interface PositionVolumeWhereInput {
6531
- marketAddress?: InputMaybe<Scalars['String']['input']>;
6532
- timestamp: Scalars['Float']['input'];
6773
+ period?: InputMaybe<Scalars['String']['input']>;
6774
+ timestamp?: InputMaybe<Scalars['Float']['input']>;
6533
6775
  }
6534
6776
  export interface PositionWhereInput {
6535
6777
  AND?: InputMaybe<Array<PositionWhereInput>>;
@@ -6611,6 +6853,15 @@ export interface PositionWhereInput {
6611
6853
  isSnapshot_eq?: InputMaybe<Scalars['Boolean']['input']>;
6612
6854
  isSnapshot_isNull?: InputMaybe<Scalars['Boolean']['input']>;
6613
6855
  isSnapshot_not_eq?: InputMaybe<Scalars['Boolean']['input']>;
6856
+ leverage_eq?: InputMaybe<Scalars['BigInt']['input']>;
6857
+ leverage_gt?: InputMaybe<Scalars['BigInt']['input']>;
6858
+ leverage_gte?: InputMaybe<Scalars['BigInt']['input']>;
6859
+ leverage_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
6860
+ leverage_isNull?: InputMaybe<Scalars['Boolean']['input']>;
6861
+ leverage_lt?: InputMaybe<Scalars['BigInt']['input']>;
6862
+ leverage_lte?: InputMaybe<Scalars['BigInt']['input']>;
6863
+ leverage_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
6864
+ leverage_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
6614
6865
  market_contains?: InputMaybe<Scalars['String']['input']>;
6615
6866
  market_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
6616
6867
  market_endsWith?: InputMaybe<Scalars['String']['input']>;
@@ -6663,6 +6914,15 @@ export interface PositionWhereInput {
6663
6914
  positionKey_not_in?: InputMaybe<Array<Scalars['String']['input']>>;
6664
6915
  positionKey_not_startsWith?: InputMaybe<Scalars['String']['input']>;
6665
6916
  positionKey_startsWith?: InputMaybe<Scalars['String']['input']>;
6917
+ qualifyingPnl_eq?: InputMaybe<Scalars['BigInt']['input']>;
6918
+ qualifyingPnl_gt?: InputMaybe<Scalars['BigInt']['input']>;
6919
+ qualifyingPnl_gte?: InputMaybe<Scalars['BigInt']['input']>;
6920
+ qualifyingPnl_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
6921
+ qualifyingPnl_isNull?: InputMaybe<Scalars['Boolean']['input']>;
6922
+ qualifyingPnl_lt?: InputMaybe<Scalars['BigInt']['input']>;
6923
+ qualifyingPnl_lte?: InputMaybe<Scalars['BigInt']['input']>;
6924
+ qualifyingPnl_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
6925
+ qualifyingPnl_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
6666
6926
  realizedFees_eq?: InputMaybe<Scalars['BigInt']['input']>;
6667
6927
  realizedFees_gt?: InputMaybe<Scalars['BigInt']['input']>;
6668
6928
  realizedFees_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -7023,6 +7283,9 @@ export interface Query {
7023
7283
  claimRefById?: Maybe<ClaimRef>;
7024
7284
  claimRefs: Array<ClaimRef>;
7025
7285
  claimRefsConnection: ClaimRefsConnection;
7286
+ claimableAmountById?: Maybe<ClaimableAmount>;
7287
+ claimableAmounts: Array<ClaimableAmount>;
7288
+ claimableAmountsConnection: ClaimableAmountsConnection;
7026
7289
  claimableCollateralById?: Maybe<ClaimableCollateral>;
7027
7290
  claimableCollateralGroupById?: Maybe<ClaimableCollateralGroup>;
7028
7291
  claimableCollateralGroups: Array<ClaimableCollateralGroup>;
@@ -7075,6 +7338,9 @@ export interface Query {
7075
7338
  ordersConnection: OrdersConnection;
7076
7339
  performanceSnapshots: Array<PerformanceSnapshots>;
7077
7340
  periodAccountStats: Array<PeriodAccountStatObject>;
7341
+ platformStats: Array<PlatformStats>;
7342
+ platformStatsById?: Maybe<PlatformStats>;
7343
+ platformStatsConnection: PlatformStatsConnection;
7078
7344
  pnlAprSnapshotById?: Maybe<PnlAprSnapshot>;
7079
7345
  pnlAprSnapshots: Array<PnlAprSnapshot>;
7080
7346
  pnlAprSnapshotsConnection: PnlAprSnapshotsConnection;
@@ -7089,7 +7355,6 @@ export interface Query {
7089
7355
  positions: Array<Position>;
7090
7356
  positionsConnection: PositionsConnection;
7091
7357
  positionsVolume: Array<PositionMarketVolumeInfo>;
7092
- positionsVolume24hByMarket: Scalars['BigInt']['output'];
7093
7358
  priceById?: Maybe<Price>;
7094
7359
  prices: Array<Price>;
7095
7360
  pricesConnection: PricesConnection;
@@ -7193,6 +7458,21 @@ export interface QueryclaimRefsConnectionArgs {
7193
7458
  orderBy: Array<ClaimRefOrderByInput>;
7194
7459
  where?: InputMaybe<ClaimRefWhereInput>;
7195
7460
  }
7461
+ export interface QueryclaimableAmountByIdArgs {
7462
+ id: Scalars['String']['input'];
7463
+ }
7464
+ export interface QueryclaimableAmountsArgs {
7465
+ limit?: InputMaybe<Scalars['Int']['input']>;
7466
+ offset?: InputMaybe<Scalars['Int']['input']>;
7467
+ orderBy?: InputMaybe<Array<ClaimableAmountOrderByInput>>;
7468
+ where?: InputMaybe<ClaimableAmountWhereInput>;
7469
+ }
7470
+ export interface QueryclaimableAmountsConnectionArgs {
7471
+ after?: InputMaybe<Scalars['String']['input']>;
7472
+ first?: InputMaybe<Scalars['Int']['input']>;
7473
+ orderBy: Array<ClaimableAmountOrderByInput>;
7474
+ where?: InputMaybe<ClaimableAmountWhereInput>;
7475
+ }
7196
7476
  export interface QueryclaimableCollateralByIdArgs {
7197
7477
  id: Scalars['String']['input'];
7198
7478
  }
@@ -7441,6 +7721,21 @@ export interface QueryperiodAccountStatsArgs {
7441
7721
  offset?: InputMaybe<Scalars['Float']['input']>;
7442
7722
  where?: InputMaybe<WhereInput>;
7443
7723
  }
7724
+ export interface QueryplatformStatsArgs {
7725
+ limit?: InputMaybe<Scalars['Int']['input']>;
7726
+ offset?: InputMaybe<Scalars['Int']['input']>;
7727
+ orderBy?: InputMaybe<Array<PlatformStatsOrderByInput>>;
7728
+ where?: InputMaybe<PlatformStatsWhereInput>;
7729
+ }
7730
+ export interface QueryplatformStatsByIdArgs {
7731
+ id: Scalars['String']['input'];
7732
+ }
7733
+ export interface QueryplatformStatsConnectionArgs {
7734
+ after?: InputMaybe<Scalars['String']['input']>;
7735
+ first?: InputMaybe<Scalars['Int']['input']>;
7736
+ orderBy: Array<PlatformStatsOrderByInput>;
7737
+ where?: InputMaybe<PlatformStatsWhereInput>;
7738
+ }
7444
7739
  export interface QuerypnlAprSnapshotByIdArgs {
7445
7740
  id: Scalars['String']['input'];
7446
7741
  }
@@ -7507,9 +7802,6 @@ export interface QuerypositionsConnectionArgs {
7507
7802
  export interface QuerypositionsVolumeArgs {
7508
7803
  where?: InputMaybe<PositionVolumeByAllMarketsWhereInput>;
7509
7804
  }
7510
- export interface QuerypositionsVolume24hByMarketArgs {
7511
- where?: InputMaybe<PositionVolumeWhereInput>;
7512
- }
7513
7805
  export interface QuerypriceByIdArgs {
7514
7806
  id: Scalars['String']['input'];
7515
7807
  }
@@ -7690,12 +7982,6 @@ export declare enum SwapInfoOrderByInput {
7690
7982
  transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
7691
7983
  transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
7692
7984
  transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
7693
- transaction_chainId_ASC = "transaction_chainId_ASC",
7694
- transaction_chainId_ASC_NULLS_FIRST = "transaction_chainId_ASC_NULLS_FIRST",
7695
- transaction_chainId_ASC_NULLS_LAST = "transaction_chainId_ASC_NULLS_LAST",
7696
- transaction_chainId_DESC = "transaction_chainId_DESC",
7697
- transaction_chainId_DESC_NULLS_FIRST = "transaction_chainId_DESC_NULLS_FIRST",
7698
- transaction_chainId_DESC_NULLS_LAST = "transaction_chainId_DESC_NULLS_LAST",
7699
7985
  transaction_from_ASC = "transaction_from_ASC",
7700
7986
  transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
7701
7987
  transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
@@ -7909,7 +8195,9 @@ export interface TradeAction {
7909
8195
  borrowingFeeAmount?: Maybe<Scalars['BigInt']['output']>;
7910
8196
  collateralTokenPriceMax?: Maybe<Scalars['BigInt']['output']>;
7911
8197
  collateralTokenPriceMin?: Maybe<Scalars['BigInt']['output']>;
8198
+ collateralTotalCostAmount?: Maybe<Scalars['BigInt']['output']>;
7912
8199
  contractTriggerPrice?: Maybe<Scalars['BigInt']['output']>;
8200
+ decreasePositionSwapType?: Maybe<Scalars['Int']['output']>;
7913
8201
  eventName: Scalars['String']['output'];
7914
8202
  executionAmountOut?: Maybe<Scalars['BigInt']['output']>;
7915
8203
  executionPrice?: Maybe<Scalars['BigInt']['output']>;
@@ -7935,8 +8223,10 @@ export interface TradeAction {
7935
8223
  reason?: Maybe<Scalars['String']['output']>;
7936
8224
  reasonBytes?: Maybe<Scalars['String']['output']>;
7937
8225
  shouldUnwrapNativeToken?: Maybe<Scalars['Boolean']['output']>;
8226
+ sizeDeltaInTokens?: Maybe<Scalars['BigInt']['output']>;
7938
8227
  sizeDeltaUsd?: Maybe<Scalars['BigInt']['output']>;
7939
8228
  srcChainId?: Maybe<Scalars['BigInt']['output']>;
8229
+ swapImpactUsd?: Maybe<Scalars['BigInt']['output']>;
7940
8230
  swapPath: Array<Scalars['String']['output']>;
7941
8231
  timestamp: Scalars['Int']['output'];
7942
8232
  totalImpactUsd?: Maybe<Scalars['BigInt']['output']>;
@@ -7987,12 +8277,24 @@ export declare enum TradeActionOrderByInput {
7987
8277
  collateralTokenPriceMin_DESC = "collateralTokenPriceMin_DESC",
7988
8278
  collateralTokenPriceMin_DESC_NULLS_FIRST = "collateralTokenPriceMin_DESC_NULLS_FIRST",
7989
8279
  collateralTokenPriceMin_DESC_NULLS_LAST = "collateralTokenPriceMin_DESC_NULLS_LAST",
8280
+ collateralTotalCostAmount_ASC = "collateralTotalCostAmount_ASC",
8281
+ collateralTotalCostAmount_ASC_NULLS_FIRST = "collateralTotalCostAmount_ASC_NULLS_FIRST",
8282
+ collateralTotalCostAmount_ASC_NULLS_LAST = "collateralTotalCostAmount_ASC_NULLS_LAST",
8283
+ collateralTotalCostAmount_DESC = "collateralTotalCostAmount_DESC",
8284
+ collateralTotalCostAmount_DESC_NULLS_FIRST = "collateralTotalCostAmount_DESC_NULLS_FIRST",
8285
+ collateralTotalCostAmount_DESC_NULLS_LAST = "collateralTotalCostAmount_DESC_NULLS_LAST",
7990
8286
  contractTriggerPrice_ASC = "contractTriggerPrice_ASC",
7991
8287
  contractTriggerPrice_ASC_NULLS_FIRST = "contractTriggerPrice_ASC_NULLS_FIRST",
7992
8288
  contractTriggerPrice_ASC_NULLS_LAST = "contractTriggerPrice_ASC_NULLS_LAST",
7993
8289
  contractTriggerPrice_DESC = "contractTriggerPrice_DESC",
7994
8290
  contractTriggerPrice_DESC_NULLS_FIRST = "contractTriggerPrice_DESC_NULLS_FIRST",
7995
8291
  contractTriggerPrice_DESC_NULLS_LAST = "contractTriggerPrice_DESC_NULLS_LAST",
8292
+ decreasePositionSwapType_ASC = "decreasePositionSwapType_ASC",
8293
+ decreasePositionSwapType_ASC_NULLS_FIRST = "decreasePositionSwapType_ASC_NULLS_FIRST",
8294
+ decreasePositionSwapType_ASC_NULLS_LAST = "decreasePositionSwapType_ASC_NULLS_LAST",
8295
+ decreasePositionSwapType_DESC = "decreasePositionSwapType_DESC",
8296
+ decreasePositionSwapType_DESC_NULLS_FIRST = "decreasePositionSwapType_DESC_NULLS_FIRST",
8297
+ decreasePositionSwapType_DESC_NULLS_LAST = "decreasePositionSwapType_DESC_NULLS_LAST",
7996
8298
  eventName_ASC = "eventName_ASC",
7997
8299
  eventName_ASC_NULLS_FIRST = "eventName_ASC_NULLS_FIRST",
7998
8300
  eventName_ASC_NULLS_LAST = "eventName_ASC_NULLS_LAST",
@@ -8143,6 +8445,12 @@ export declare enum TradeActionOrderByInput {
8143
8445
  shouldUnwrapNativeToken_DESC = "shouldUnwrapNativeToken_DESC",
8144
8446
  shouldUnwrapNativeToken_DESC_NULLS_FIRST = "shouldUnwrapNativeToken_DESC_NULLS_FIRST",
8145
8447
  shouldUnwrapNativeToken_DESC_NULLS_LAST = "shouldUnwrapNativeToken_DESC_NULLS_LAST",
8448
+ sizeDeltaInTokens_ASC = "sizeDeltaInTokens_ASC",
8449
+ sizeDeltaInTokens_ASC_NULLS_FIRST = "sizeDeltaInTokens_ASC_NULLS_FIRST",
8450
+ sizeDeltaInTokens_ASC_NULLS_LAST = "sizeDeltaInTokens_ASC_NULLS_LAST",
8451
+ sizeDeltaInTokens_DESC = "sizeDeltaInTokens_DESC",
8452
+ sizeDeltaInTokens_DESC_NULLS_FIRST = "sizeDeltaInTokens_DESC_NULLS_FIRST",
8453
+ sizeDeltaInTokens_DESC_NULLS_LAST = "sizeDeltaInTokens_DESC_NULLS_LAST",
8146
8454
  sizeDeltaUsd_ASC = "sizeDeltaUsd_ASC",
8147
8455
  sizeDeltaUsd_ASC_NULLS_FIRST = "sizeDeltaUsd_ASC_NULLS_FIRST",
8148
8456
  sizeDeltaUsd_ASC_NULLS_LAST = "sizeDeltaUsd_ASC_NULLS_LAST",
@@ -8155,6 +8463,12 @@ export declare enum TradeActionOrderByInput {
8155
8463
  srcChainId_DESC = "srcChainId_DESC",
8156
8464
  srcChainId_DESC_NULLS_FIRST = "srcChainId_DESC_NULLS_FIRST",
8157
8465
  srcChainId_DESC_NULLS_LAST = "srcChainId_DESC_NULLS_LAST",
8466
+ swapImpactUsd_ASC = "swapImpactUsd_ASC",
8467
+ swapImpactUsd_ASC_NULLS_FIRST = "swapImpactUsd_ASC_NULLS_FIRST",
8468
+ swapImpactUsd_ASC_NULLS_LAST = "swapImpactUsd_ASC_NULLS_LAST",
8469
+ swapImpactUsd_DESC = "swapImpactUsd_DESC",
8470
+ swapImpactUsd_DESC_NULLS_FIRST = "swapImpactUsd_DESC_NULLS_FIRST",
8471
+ swapImpactUsd_DESC_NULLS_LAST = "swapImpactUsd_DESC_NULLS_LAST",
8158
8472
  timestamp_ASC = "timestamp_ASC",
8159
8473
  timestamp_ASC_NULLS_FIRST = "timestamp_ASC_NULLS_FIRST",
8160
8474
  timestamp_ASC_NULLS_LAST = "timestamp_ASC_NULLS_LAST",
@@ -8173,12 +8487,6 @@ export declare enum TradeActionOrderByInput {
8173
8487
  transaction_blockNumber_DESC = "transaction_blockNumber_DESC",
8174
8488
  transaction_blockNumber_DESC_NULLS_FIRST = "transaction_blockNumber_DESC_NULLS_FIRST",
8175
8489
  transaction_blockNumber_DESC_NULLS_LAST = "transaction_blockNumber_DESC_NULLS_LAST",
8176
- transaction_chainId_ASC = "transaction_chainId_ASC",
8177
- transaction_chainId_ASC_NULLS_FIRST = "transaction_chainId_ASC_NULLS_FIRST",
8178
- transaction_chainId_ASC_NULLS_LAST = "transaction_chainId_ASC_NULLS_LAST",
8179
- transaction_chainId_DESC = "transaction_chainId_DESC",
8180
- transaction_chainId_DESC_NULLS_FIRST = "transaction_chainId_DESC_NULLS_FIRST",
8181
- transaction_chainId_DESC_NULLS_LAST = "transaction_chainId_DESC_NULLS_LAST",
8182
8490
  transaction_from_ASC = "transaction_from_ASC",
8183
8491
  transaction_from_ASC_NULLS_FIRST = "transaction_from_ASC_NULLS_FIRST",
8184
8492
  transaction_from_ASC_NULLS_LAST = "transaction_from_ASC_NULLS_LAST",
@@ -8299,6 +8607,15 @@ export interface TradeActionWhereInput {
8299
8607
  collateralTokenPriceMin_lte?: InputMaybe<Scalars['BigInt']['input']>;
8300
8608
  collateralTokenPriceMin_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
8301
8609
  collateralTokenPriceMin_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
8610
+ collateralTotalCostAmount_eq?: InputMaybe<Scalars['BigInt']['input']>;
8611
+ collateralTotalCostAmount_gt?: InputMaybe<Scalars['BigInt']['input']>;
8612
+ collateralTotalCostAmount_gte?: InputMaybe<Scalars['BigInt']['input']>;
8613
+ collateralTotalCostAmount_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
8614
+ collateralTotalCostAmount_isNull?: InputMaybe<Scalars['Boolean']['input']>;
8615
+ collateralTotalCostAmount_lt?: InputMaybe<Scalars['BigInt']['input']>;
8616
+ collateralTotalCostAmount_lte?: InputMaybe<Scalars['BigInt']['input']>;
8617
+ collateralTotalCostAmount_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
8618
+ collateralTotalCostAmount_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
8302
8619
  contractTriggerPrice_eq?: InputMaybe<Scalars['BigInt']['input']>;
8303
8620
  contractTriggerPrice_gt?: InputMaybe<Scalars['BigInt']['input']>;
8304
8621
  contractTriggerPrice_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -8308,6 +8625,15 @@ export interface TradeActionWhereInput {
8308
8625
  contractTriggerPrice_lte?: InputMaybe<Scalars['BigInt']['input']>;
8309
8626
  contractTriggerPrice_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
8310
8627
  contractTriggerPrice_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
8628
+ decreasePositionSwapType_eq?: InputMaybe<Scalars['Int']['input']>;
8629
+ decreasePositionSwapType_gt?: InputMaybe<Scalars['Int']['input']>;
8630
+ decreasePositionSwapType_gte?: InputMaybe<Scalars['Int']['input']>;
8631
+ decreasePositionSwapType_in?: InputMaybe<Array<Scalars['Int']['input']>>;
8632
+ decreasePositionSwapType_isNull?: InputMaybe<Scalars['Boolean']['input']>;
8633
+ decreasePositionSwapType_lt?: InputMaybe<Scalars['Int']['input']>;
8634
+ decreasePositionSwapType_lte?: InputMaybe<Scalars['Int']['input']>;
8635
+ decreasePositionSwapType_not_eq?: InputMaybe<Scalars['Int']['input']>;
8636
+ decreasePositionSwapType_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
8311
8637
  eventName_contains?: InputMaybe<Scalars['String']['input']>;
8312
8638
  eventName_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
8313
8639
  eventName_endsWith?: InputMaybe<Scalars['String']['input']>;
@@ -8577,6 +8903,15 @@ export interface TradeActionWhereInput {
8577
8903
  shouldUnwrapNativeToken_eq?: InputMaybe<Scalars['Boolean']['input']>;
8578
8904
  shouldUnwrapNativeToken_isNull?: InputMaybe<Scalars['Boolean']['input']>;
8579
8905
  shouldUnwrapNativeToken_not_eq?: InputMaybe<Scalars['Boolean']['input']>;
8906
+ sizeDeltaInTokens_eq?: InputMaybe<Scalars['BigInt']['input']>;
8907
+ sizeDeltaInTokens_gt?: InputMaybe<Scalars['BigInt']['input']>;
8908
+ sizeDeltaInTokens_gte?: InputMaybe<Scalars['BigInt']['input']>;
8909
+ sizeDeltaInTokens_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
8910
+ sizeDeltaInTokens_isNull?: InputMaybe<Scalars['Boolean']['input']>;
8911
+ sizeDeltaInTokens_lt?: InputMaybe<Scalars['BigInt']['input']>;
8912
+ sizeDeltaInTokens_lte?: InputMaybe<Scalars['BigInt']['input']>;
8913
+ sizeDeltaInTokens_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
8914
+ sizeDeltaInTokens_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
8580
8915
  sizeDeltaUsd_eq?: InputMaybe<Scalars['BigInt']['input']>;
8581
8916
  sizeDeltaUsd_gt?: InputMaybe<Scalars['BigInt']['input']>;
8582
8917
  sizeDeltaUsd_gte?: InputMaybe<Scalars['BigInt']['input']>;
@@ -8595,6 +8930,15 @@ export interface TradeActionWhereInput {
8595
8930
  srcChainId_lte?: InputMaybe<Scalars['BigInt']['input']>;
8596
8931
  srcChainId_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
8597
8932
  srcChainId_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
8933
+ swapImpactUsd_eq?: InputMaybe<Scalars['BigInt']['input']>;
8934
+ swapImpactUsd_gt?: InputMaybe<Scalars['BigInt']['input']>;
8935
+ swapImpactUsd_gte?: InputMaybe<Scalars['BigInt']['input']>;
8936
+ swapImpactUsd_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
8937
+ swapImpactUsd_isNull?: InputMaybe<Scalars['Boolean']['input']>;
8938
+ swapImpactUsd_lt?: InputMaybe<Scalars['BigInt']['input']>;
8939
+ swapImpactUsd_lte?: InputMaybe<Scalars['BigInt']['input']>;
8940
+ swapImpactUsd_not_eq?: InputMaybe<Scalars['BigInt']['input']>;
8941
+ swapImpactUsd_not_in?: InputMaybe<Array<Scalars['BigInt']['input']>>;
8598
8942
  swapPath_containsAll?: InputMaybe<Array<Scalars['String']['input']>>;
8599
8943
  swapPath_containsAny?: InputMaybe<Array<Scalars['String']['input']>>;
8600
8944
  swapPath_containsNone?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -8672,7 +9016,6 @@ export interface TradeActionsConnection {
8672
9016
  export interface Transaction {
8673
9017
  __typename?: 'Transaction';
8674
9018
  blockNumber: Scalars['Int']['output'];
8675
- chainId: Scalars['Int']['output'];
8676
9019
  from: Scalars['String']['output'];
8677
9020
  hash: Scalars['String']['output'];
8678
9021
  id: Scalars['String']['output'];
@@ -8692,12 +9035,6 @@ export declare enum TransactionOrderByInput {
8692
9035
  blockNumber_DESC = "blockNumber_DESC",
8693
9036
  blockNumber_DESC_NULLS_FIRST = "blockNumber_DESC_NULLS_FIRST",
8694
9037
  blockNumber_DESC_NULLS_LAST = "blockNumber_DESC_NULLS_LAST",
8695
- chainId_ASC = "chainId_ASC",
8696
- chainId_ASC_NULLS_FIRST = "chainId_ASC_NULLS_FIRST",
8697
- chainId_ASC_NULLS_LAST = "chainId_ASC_NULLS_LAST",
8698
- chainId_DESC = "chainId_DESC",
8699
- chainId_DESC_NULLS_FIRST = "chainId_DESC_NULLS_FIRST",
8700
- chainId_DESC_NULLS_LAST = "chainId_DESC_NULLS_LAST",
8701
9038
  from_ASC = "from_ASC",
8702
9039
  from_ASC_NULLS_FIRST = "from_ASC_NULLS_FIRST",
8703
9040
  from_ASC_NULLS_LAST = "from_ASC_NULLS_LAST",
@@ -8747,15 +9084,6 @@ export interface TransactionWhereInput {
8747
9084
  blockNumber_lte?: InputMaybe<Scalars['Int']['input']>;
8748
9085
  blockNumber_not_eq?: InputMaybe<Scalars['Int']['input']>;
8749
9086
  blockNumber_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
8750
- chainId_eq?: InputMaybe<Scalars['Int']['input']>;
8751
- chainId_gt?: InputMaybe<Scalars['Int']['input']>;
8752
- chainId_gte?: InputMaybe<Scalars['Int']['input']>;
8753
- chainId_in?: InputMaybe<Array<Scalars['Int']['input']>>;
8754
- chainId_isNull?: InputMaybe<Scalars['Boolean']['input']>;
8755
- chainId_lt?: InputMaybe<Scalars['Int']['input']>;
8756
- chainId_lte?: InputMaybe<Scalars['Int']['input']>;
8757
- chainId_not_eq?: InputMaybe<Scalars['Int']['input']>;
8758
- chainId_not_in?: InputMaybe<Array<Scalars['Int']['input']>>;
8759
9087
  from_contains?: InputMaybe<Scalars['String']['input']>;
8760
9088
  from_containsInsensitive?: InputMaybe<Scalars['String']['input']>;
8761
9089
  from_endsWith?: InputMaybe<Scalars['String']['input']>;