@gmx-io/sdk 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (435) hide show
  1. package/README.md +37 -37
  2. package/build/cjs/src/abis/ArbitrumNodeInterface.js +105 -0
  3. package/build/cjs/src/abis/ClaimHandler.js +424 -0
  4. package/build/cjs/src/abis/CustomErrors.js +1884 -0
  5. package/build/cjs/src/abis/DataStore.js +639 -0
  6. package/build/cjs/src/abis/ERC20PermitInterface.js +54 -0
  7. package/build/cjs/src/abis/ERC721.js +196 -0
  8. package/build/cjs/src/abis/EventEmitter.js +1228 -0
  9. package/build/cjs/src/abis/ExchangeRouter.js +1590 -0
  10. package/build/cjs/src/abis/GelatoRelayRouter.js +1579 -0
  11. package/build/cjs/src/abis/GlpManager.js +246 -0
  12. package/build/cjs/src/abis/GlvReader.js +1471 -0
  13. package/build/cjs/src/abis/GlvRouter.js +764 -0
  14. package/build/cjs/src/abis/GmxMigrator.js +269 -0
  15. package/build/cjs/src/abis/GovToken.js +325 -0
  16. package/build/cjs/src/abis/LayerZeroProvider.js +161 -0
  17. package/build/cjs/src/abis/MintableBaseToken.js +323 -0
  18. package/build/cjs/src/abis/Multicall.js +231 -0
  19. package/build/cjs/src/abis/MultichainClaimsRouter.js +1266 -0
  20. package/build/cjs/src/abis/MultichainGlvRouter.js +1150 -0
  21. package/build/cjs/src/abis/MultichainGmRouter.js +1449 -0
  22. package/build/cjs/src/abis/MultichainOrderRouter.js +2009 -0
  23. package/build/cjs/src/abis/MultichainSubaccountRouter.js +2069 -0
  24. package/build/cjs/src/abis/MultichainTransferRouter.js +915 -0
  25. package/build/cjs/src/abis/MultichainUtils.js +133 -0
  26. package/build/cjs/src/abis/MultichainVault.js +275 -0
  27. package/build/cjs/src/abis/Reader.js +140 -0
  28. package/build/cjs/src/abis/ReaderV2.js +259 -0
  29. package/build/cjs/src/abis/ReferralStorage.js +261 -0
  30. package/build/cjs/src/abis/RelayParams.js +55 -0
  31. package/build/cjs/src/abis/RewardReader.js +35 -0
  32. package/build/cjs/src/abis/RewardRouter.js +460 -0
  33. package/build/cjs/src/abis/RewardTracker.js +415 -0
  34. package/build/cjs/src/abis/SmartAccount.js +14 -0
  35. package/build/cjs/src/abis/StBTC.js +513 -0
  36. package/build/cjs/src/abis/SubaccountApproval.js +17 -0
  37. package/build/cjs/src/abis/SubaccountGelatoRelayRouter.js +2019 -0
  38. package/build/cjs/src/abis/SubaccountRouter.js +602 -0
  39. package/build/cjs/src/abis/SyntheticsReader.js +4905 -0
  40. package/build/cjs/src/abis/SyntheticsRouter.js +72 -0
  41. package/build/cjs/src/abis/Timelock.js +778 -0
  42. package/build/cjs/src/abis/Token.js +150 -0
  43. package/build/cjs/src/abis/Treasury.js +206 -0
  44. package/build/cjs/src/abis/UniPool.js +36 -0
  45. package/build/cjs/src/abis/UniswapV2.js +287 -0
  46. package/build/cjs/src/abis/UniswapV3Factory.js +200 -0
  47. package/build/cjs/src/abis/UniswapV3Pool.js +985 -0
  48. package/build/cjs/src/abis/UniswapV3PositionManager.js +991 -0
  49. package/build/cjs/src/abis/Vault.js +1308 -0
  50. package/build/cjs/src/abis/VaultReader.js +30 -0
  51. package/build/cjs/src/abis/VaultV2.js +1222 -0
  52. package/build/cjs/src/abis/VaultV2b.js +1308 -0
  53. package/build/cjs/src/abis/VenusVToken.js +49 -0
  54. package/build/cjs/src/abis/Vester.js +456 -0
  55. package/build/cjs/src/abis/WETH.js +137 -0
  56. package/build/cjs/src/abis/index.js +106 -118
  57. package/build/cjs/src/configs/batch.js +14 -1
  58. package/build/cjs/src/configs/chainIds.js +17 -0
  59. package/build/cjs/src/configs/chains.js +77 -66
  60. package/build/cjs/src/configs/contracts.js +59 -80
  61. package/build/cjs/src/configs/dataStore.js +6 -10
  62. package/build/cjs/src/configs/express.js +16 -3
  63. package/build/cjs/src/configs/factors.js +2 -3
  64. package/build/cjs/src/configs/markets.js +127 -1
  65. package/build/cjs/src/configs/multichain.js +26 -0
  66. package/build/cjs/src/configs/oracleKeeper.js +19 -4
  67. package/build/cjs/src/configs/tokens.js +110 -5
  68. package/build/cjs/src/configs/uniswapV3.js +18 -0
  69. package/build/cjs/src/configs/venus.js +58 -0
  70. package/build/cjs/src/modules/markets/index.js +36 -14
  71. package/build/cjs/src/modules/markets/query-builders.js +6 -10
  72. package/build/cjs/src/modules/orders/helpers.js +1 -0
  73. package/build/cjs/src/modules/positions/positions.js +10 -2
  74. package/build/cjs/src/modules/trades/trades.js +2 -2
  75. package/build/cjs/src/prebuilt/hashedKinkModelMarketRatesKeys.json +88 -0
  76. package/build/cjs/src/prebuilt/hashedMarketConfigKeys.json +907 -453
  77. package/build/cjs/src/prebuilt/hashedMarketValuesKeys.json +165 -0
  78. package/build/cjs/src/test/mock.js +3 -3
  79. package/build/cjs/src/types/subsquid.js +193 -217
  80. package/build/cjs/src/types/tradeHistory.js +9 -1
  81. package/build/cjs/src/utils/LruCache.js +21 -17
  82. package/build/cjs/src/utils/__tests__/LruCache.spec.js +11 -0
  83. package/build/cjs/src/utils/__tests__/fees.spec.js +4 -4
  84. package/build/cjs/src/utils/__tests__/{subgraph.spec.js → indexers.spec.js} +18 -18
  85. package/build/cjs/src/utils/__tests__/numbers.spec.js +1 -1
  86. package/build/cjs/src/utils/bigmath.js +3 -0
  87. package/build/cjs/src/utils/buildUrl.js +1 -0
  88. package/build/cjs/src/utils/errors/transactionsErrors.js +1 -0
  89. package/build/cjs/src/utils/fees/index.js +5 -6
  90. package/build/cjs/src/utils/fees/priceImpact.js +29 -19
  91. package/build/cjs/src/utils/{subgraph.js → indexers.js} +17 -1
  92. package/build/cjs/src/utils/marketKeysAndConfigs.js +7 -11
  93. package/build/cjs/src/utils/markets.js +10 -1
  94. package/build/cjs/src/utils/numbers.js +11 -6
  95. package/build/cjs/src/utils/orderTransactions.js +5 -5
  96. package/build/cjs/src/utils/orders.js +9 -1
  97. package/build/cjs/src/utils/prices.js +0 -2
  98. package/build/cjs/src/utils/swap/botanixStaking.js +3 -3
  99. package/build/cjs/src/utils/swap/swapPath.js +1 -10
  100. package/build/cjs/src/utils/swap/swapValues.js +15 -15
  101. package/build/cjs/src/utils/trade/decrease.js +6 -9
  102. package/build/cjs/src/utils/trade/increase.js +9 -8
  103. package/build/cjs/src/utils/tradeHistory.js +3 -0
  104. package/build/esm/src/abis/ArbitrumNodeInterface.js +103 -0
  105. package/build/esm/src/abis/ClaimHandler.js +422 -0
  106. package/build/esm/src/abis/CustomErrors.js +1882 -0
  107. package/build/esm/src/abis/DataStore.js +637 -0
  108. package/build/esm/src/abis/ERC20PermitInterface.js +52 -0
  109. package/build/esm/src/abis/ERC721.js +194 -0
  110. package/build/esm/src/abis/EventEmitter.js +1226 -0
  111. package/build/esm/src/abis/ExchangeRouter.js +1588 -0
  112. package/build/esm/src/abis/GelatoRelayRouter.js +1577 -0
  113. package/build/esm/src/abis/GlpManager.js +244 -0
  114. package/build/esm/src/abis/GlvReader.js +1469 -0
  115. package/build/esm/src/abis/GlvRouter.js +762 -0
  116. package/build/esm/src/abis/GmxMigrator.js +267 -0
  117. package/build/esm/src/abis/GovToken.js +323 -0
  118. package/build/esm/src/abis/LayerZeroProvider.js +159 -0
  119. package/build/esm/src/abis/MintableBaseToken.js +321 -0
  120. package/build/esm/src/abis/Multicall.js +229 -0
  121. package/build/esm/src/abis/MultichainClaimsRouter.js +1264 -0
  122. package/build/esm/src/abis/MultichainGlvRouter.js +1148 -0
  123. package/build/esm/src/abis/MultichainGmRouter.js +1447 -0
  124. package/build/esm/src/abis/MultichainOrderRouter.js +2007 -0
  125. package/build/esm/src/abis/MultichainSubaccountRouter.js +2067 -0
  126. package/build/esm/src/abis/MultichainTransferRouter.js +913 -0
  127. package/build/esm/src/abis/MultichainUtils.js +131 -0
  128. package/build/esm/src/abis/MultichainVault.js +273 -0
  129. package/build/esm/src/abis/Reader.js +138 -0
  130. package/build/esm/src/abis/ReaderV2.js +257 -0
  131. package/build/esm/src/abis/ReferralStorage.js +259 -0
  132. package/build/esm/src/abis/RelayParams.js +53 -0
  133. package/build/esm/src/abis/RewardReader.js +33 -0
  134. package/build/esm/src/abis/RewardRouter.js +458 -0
  135. package/build/esm/src/abis/RewardTracker.js +413 -0
  136. package/build/esm/src/abis/SmartAccount.js +12 -0
  137. package/build/esm/src/abis/StBTC.js +511 -0
  138. package/build/esm/src/abis/SubaccountApproval.js +15 -0
  139. package/build/esm/src/abis/SubaccountGelatoRelayRouter.js +2017 -0
  140. package/build/esm/src/abis/SubaccountRouter.js +600 -0
  141. package/build/esm/src/abis/SyntheticsReader.js +4903 -0
  142. package/build/esm/src/abis/SyntheticsRouter.js +70 -0
  143. package/build/esm/src/abis/Timelock.js +776 -0
  144. package/build/esm/src/abis/Token.js +148 -0
  145. package/build/esm/src/abis/Treasury.js +204 -0
  146. package/build/esm/src/abis/UniPool.js +34 -0
  147. package/build/esm/src/abis/UniswapV2.js +285 -0
  148. package/build/esm/src/abis/UniswapV3Factory.js +198 -0
  149. package/build/esm/src/abis/UniswapV3Pool.js +983 -0
  150. package/build/esm/src/abis/UniswapV3PositionManager.js +989 -0
  151. package/build/esm/src/abis/Vault.js +1306 -0
  152. package/build/esm/src/abis/VaultReader.js +28 -0
  153. package/build/esm/src/abis/VaultV2.js +1220 -0
  154. package/build/esm/src/abis/VaultV2b.js +1306 -0
  155. package/build/esm/src/abis/VenusVToken.js +47 -0
  156. package/build/esm/src/abis/Vester.js +454 -0
  157. package/build/esm/src/abis/WETH.js +135 -0
  158. package/build/esm/src/abis/index.js +106 -118
  159. package/build/esm/src/configs/batch.js +14 -1
  160. package/build/esm/src/configs/chainIds.js +14 -0
  161. package/build/esm/src/configs/chains.js +15 -14
  162. package/build/esm/src/configs/contracts.js +59 -80
  163. package/build/esm/src/configs/dataStore.js +3 -6
  164. package/build/esm/src/configs/express.js +15 -2
  165. package/build/esm/src/configs/factors.js +1 -2
  166. package/build/esm/src/configs/markets.js +124 -0
  167. package/build/esm/src/configs/multichain.js +21 -0
  168. package/build/esm/src/configs/oracleKeeper.js +19 -4
  169. package/build/esm/src/configs/tokens.js +108 -4
  170. package/build/esm/src/configs/uniswapV3.js +13 -0
  171. package/build/esm/src/configs/venus.js +53 -0
  172. package/build/esm/src/modules/markets/index.js +36 -14
  173. package/build/esm/src/modules/markets/query-builders.js +6 -10
  174. package/build/esm/src/modules/orders/helpers.js +1 -0
  175. package/build/esm/src/modules/positions/positions.js +10 -2
  176. package/build/esm/src/modules/trades/trades.js +1 -1
  177. package/build/esm/src/prebuilt/hashedKinkModelMarketRatesKeys.json +88 -0
  178. package/build/esm/src/prebuilt/hashedMarketConfigKeys.json +907 -453
  179. package/build/esm/src/prebuilt/hashedMarketValuesKeys.json +165 -0
  180. package/build/esm/src/test/mock.js +3 -3
  181. package/build/esm/src/types/subsquid.js +192 -216
  182. package/build/esm/src/types/tradeHistory.js +6 -0
  183. package/build/esm/src/utils/LruCache.js +21 -17
  184. package/build/esm/src/utils/__tests__/LruCache.spec.js +11 -0
  185. package/build/esm/src/utils/__tests__/fees.spec.js +4 -4
  186. package/build/esm/src/utils/__tests__/{subgraph.spec.js → indexers.spec.js} +1 -1
  187. package/build/esm/src/utils/__tests__/numbers.spec.js +1 -1
  188. package/build/esm/src/utils/bigmath.js +3 -0
  189. package/build/esm/src/utils/buildUrl.js +1 -0
  190. package/build/esm/src/utils/errors/transactionsErrors.js +1 -0
  191. package/build/esm/src/utils/fees/index.js +5 -6
  192. package/build/esm/src/utils/fees/priceImpact.js +28 -19
  193. package/build/esm/src/utils/{subgraph.js → indexers.js} +15 -0
  194. package/build/esm/src/utils/marketKeysAndConfigs.js +8 -12
  195. package/build/esm/src/utils/markets.js +8 -0
  196. package/build/esm/src/utils/numbers.js +8 -4
  197. package/build/esm/src/utils/orderTransactions.js +5 -5
  198. package/build/esm/src/utils/orders.js +8 -1
  199. package/build/esm/src/utils/prices.js +0 -2
  200. package/build/esm/src/utils/swap/botanixStaking.js +3 -3
  201. package/build/esm/src/utils/swap/swapPath.js +1 -10
  202. package/build/esm/src/utils/swap/swapValues.js +15 -15
  203. package/build/esm/src/utils/trade/decrease.js +6 -9
  204. package/build/esm/src/utils/trade/increase.js +9 -8
  205. package/build/esm/src/utils/tradeHistory.js +3 -0
  206. package/build/types/src/abis/ArbitrumNodeInterface.d.ts +214 -0
  207. package/build/types/src/abis/ClaimHandler.d.ts +322 -0
  208. package/build/types/src/abis/CustomErrors.d.ts +3330 -0
  209. package/build/types/src/abis/DataStore.d.ts +1098 -0
  210. package/build/types/src/abis/ERC20PermitInterface.d.ts +90 -0
  211. package/build/types/src/abis/ERC721.d.ts +334 -0
  212. package/build/types/src/abis/EventEmitter.d.ts +1564 -0
  213. package/build/types/src/abis/ExchangeRouter.d.ts +1224 -0
  214. package/build/types/src/abis/GelatoRelayRouter.d.ts +1222 -0
  215. package/build/types/src/abis/GlpManager.d.ts +452 -0
  216. package/build/types/src/abis/GlvReader.d.ts +1131 -0
  217. package/build/types/src/abis/GlvRouter.d.ts +588 -0
  218. package/build/types/src/abis/GmxMigrator.d.ts +497 -0
  219. package/build/types/src/abis/GovToken.d.ts +588 -0
  220. package/build/types/src/abis/LayerZeroProvider.d.ts +285 -0
  221. package/build/types/src/abis/MintableBaseToken.d.ts +526 -0
  222. package/build/types/src/abis/Multicall.d.ts +323 -0
  223. package/build/types/src/abis/MultichainClaimsRouter.d.ts +973 -0
  224. package/build/types/src/abis/MultichainGlvRouter.d.ts +886 -0
  225. package/build/types/src/abis/MultichainGmRouter.d.ts +1118 -0
  226. package/build/types/src/abis/MultichainOrderRouter.d.ts +1557 -0
  227. package/build/types/src/abis/MultichainSubaccountRouter.d.ts +1606 -0
  228. package/build/types/src/abis/MultichainTransferRouter.d.ts +702 -0
  229. package/build/types/src/abis/MultichainUtils.d.ts +100 -0
  230. package/build/types/src/abis/MultichainVault.d.ts +208 -0
  231. package/build/types/src/abis/Reader.d.ts +264 -0
  232. package/build/types/src/abis/ReaderV2.d.ts +474 -0
  233. package/build/types/src/abis/ReferralStorage.d.ts +429 -0
  234. package/build/types/src/abis/RelayParams.d.ts +114 -0
  235. package/build/types/src/abis/RewardReader.d.ts +60 -0
  236. package/build/types/src/abis/RewardRouter.d.ts +790 -0
  237. package/build/types/src/abis/RewardTracker.d.ts +695 -0
  238. package/build/types/src/abis/SmartAccount.d.ts +20 -0
  239. package/build/types/src/abis/StBTC.d.ts +932 -0
  240. package/build/types/src/abis/SubaccountApproval.d.ts +29 -0
  241. package/build/types/src/abis/SubaccountGelatoRelayRouter.d.ts +1567 -0
  242. package/build/types/src/abis/SubaccountRouter.d.ts +465 -0
  243. package/build/types/src/abis/SyntheticsReader.d.ts +3780 -0
  244. package/build/types/src/abis/SyntheticsRouter.d.ts +54 -0
  245. package/build/types/src/abis/Timelock.d.ts +1356 -0
  246. package/build/types/src/abis/Token.d.ts +260 -0
  247. package/build/types/src/abis/Treasury.d.ts +312 -0
  248. package/build/types/src/abis/UniPool.d.ts +64 -0
  249. package/build/types/src/abis/UniswapV2.d.ts +511 -0
  250. package/build/types/src/abis/UniswapV3Factory.d.ts +154 -0
  251. package/build/types/src/abis/UniswapV3Pool.d.ts +771 -0
  252. package/build/types/src/abis/UniswapV3PositionManager.d.ts +767 -0
  253. package/build/types/src/abis/Vault.d.ts +2482 -0
  254. package/build/types/src/abis/VaultReader.d.ts +62 -0
  255. package/build/types/src/abis/VaultV2.d.ts +2327 -0
  256. package/build/types/src/abis/VaultV2b.d.ts +2482 -0
  257. package/build/types/src/abis/VenusVToken.d.ts +36 -0
  258. package/build/types/src/abis/Vester.d.ts +782 -0
  259. package/build/types/src/abis/WETH.d.ts +240 -0
  260. package/build/types/src/abis/index.d.ts +43288 -23
  261. package/build/types/src/configs/batch.d.ts +1 -0
  262. package/build/types/src/configs/chainIds.d.ts +10 -0
  263. package/build/types/src/configs/chains.d.ts +7 -12
  264. package/build/types/src/configs/contracts.d.ts +0 -21
  265. package/build/types/src/configs/dataStore.d.ts +2 -3
  266. package/build/types/src/configs/express.d.ts +4 -0
  267. package/build/types/src/configs/factors.d.ts +1 -2
  268. package/build/types/src/configs/markets.d.ts +3 -0
  269. package/build/types/src/configs/multichain.d.ts +5 -0
  270. package/build/types/src/configs/tokens.d.ts +1 -0
  271. package/build/types/src/configs/uniswapV3.d.ts +7 -0
  272. package/build/types/src/configs/venus.d.ts +16 -0
  273. package/build/types/src/index.d.ts +2 -2
  274. package/build/types/src/modules/base.d.ts +1 -1
  275. package/build/types/src/modules/markets/index.d.ts +1 -0
  276. package/build/types/src/modules/markets/query-builders.d.ts +2 -2
  277. package/build/types/src/modules/markets/types.d.ts +2 -2
  278. package/build/types/src/modules/orders/orders.d.ts +2 -2
  279. package/build/types/src/modules/orders/transactions/cancelOrdersTxn.d.ts +2 -2
  280. package/build/types/src/modules/orders/transactions/createDecreaseOrderTxn.d.ts +1 -1
  281. package/build/types/src/modules/orders/transactions/createWrapOrUnwrapTxn.d.ts +1 -1
  282. package/build/types/src/modules/orders/transactions/updateOrderTxn.d.ts +1 -1
  283. package/build/types/src/modules/orders/utils.d.ts +2 -2
  284. package/build/types/src/modules/positions/positions.d.ts +1 -1
  285. package/build/types/src/types/markets.d.ts +3 -3
  286. package/build/types/src/types/orders.d.ts +1 -0
  287. package/build/types/src/types/positions.d.ts +1 -0
  288. package/build/types/src/types/subsquid.d.ts +633 -305
  289. package/build/types/src/types/tokens.d.ts +15 -4
  290. package/build/types/src/types/trade.d.ts +1 -0
  291. package/build/types/src/types/tradeHistory.d.ts +5 -0
  292. package/build/types/src/utils/LruCache.d.ts +2 -2
  293. package/build/types/src/utils/bigmath.d.ts +1 -0
  294. package/build/types/src/utils/callContract.d.ts +1 -1
  295. package/build/types/src/utils/fees/priceImpact.d.ts +9 -3
  296. package/build/types/src/utils/hash.d.ts +1 -1
  297. package/build/types/src/utils/{subgraph.d.ts → indexers.d.ts} +1 -0
  298. package/build/types/src/utils/marketKeysAndConfigs.d.ts +2 -3
  299. package/build/types/src/utils/markets.d.ts +1 -0
  300. package/build/types/src/utils/numbers.d.ts +4 -0
  301. package/build/types/src/utils/orderTransactions.d.ts +7 -7
  302. package/build/types/src/utils/orders.d.ts +1 -0
  303. package/build/types/src/utils/prices.d.ts +0 -2
  304. package/build/types/src/utils/swap/swapPath.d.ts +0 -1
  305. package/build/types/src/utils/trade/decrease.d.ts +1 -0
  306. package/build/types/src/utils/trade/increase.d.ts +1 -0
  307. package/build/types/src/utils/tradeHistory.d.ts +1 -2
  308. package/package.json +6 -2
  309. package/build/cjs/src/abis/ArbitrumNodeInterface.json +0 -105
  310. package/build/cjs/src/abis/ClaimHandler.json +0 -424
  311. package/build/cjs/src/abis/CustomErrors.json +0 -4432
  312. package/build/cjs/src/abis/DataStore.json +0 -1459
  313. package/build/cjs/src/abis/ERC20PermitInterface.json +0 -118
  314. package/build/cjs/src/abis/ERC721.json +0 -442
  315. package/build/cjs/src/abis/EventEmitter.json +0 -2060
  316. package/build/cjs/src/abis/ExchangeRouter.json +0 -1706
  317. package/build/cjs/src/abis/GMT.json +0 -522
  318. package/build/cjs/src/abis/GelatoRelayRouter.json +0 -1579
  319. package/build/cjs/src/abis/GlpManager.json +0 -591
  320. package/build/cjs/src/abis/GlvReader.json +0 -1471
  321. package/build/cjs/src/abis/GlvRouter.json +0 -764
  322. package/build/cjs/src/abis/GmxMigrator.json +0 -657
  323. package/build/cjs/src/abis/GovToken.json +0 -768
  324. package/build/cjs/src/abis/LayerZeroProvider.json +0 -372
  325. package/build/cjs/src/abis/MintableBaseToken.json +0 -696
  326. package/build/cjs/src/abis/Multicall.json +0 -429
  327. package/build/cjs/src/abis/MultichainClaimsRouter.json +0 -1266
  328. package/build/cjs/src/abis/MultichainGlvRouter.json +0 -1150
  329. package/build/cjs/src/abis/MultichainGmRouter.json +0 -1449
  330. package/build/cjs/src/abis/MultichainOrderRouter.json +0 -1820
  331. package/build/cjs/src/abis/MultichainSubaccountRouter.json +0 -2069
  332. package/build/cjs/src/abis/MultichainTransferRouter.json +0 -915
  333. package/build/cjs/src/abis/MultichainUtils.json +0 -133
  334. package/build/cjs/src/abis/MultichainVault.json +0 -275
  335. package/build/cjs/src/abis/OrderBook.json +0 -1997
  336. package/build/cjs/src/abis/OrderBookReader.json +0 -111
  337. package/build/cjs/src/abis/OrderExecutor.json +0 -122
  338. package/build/cjs/src/abis/PositionManager.json +0 -1165
  339. package/build/cjs/src/abis/PositionRouter.json +0 -2030
  340. package/build/cjs/src/abis/Reader.json +0 -355
  341. package/build/cjs/src/abis/ReaderV2.json +0 -630
  342. package/build/cjs/src/abis/ReferralStorage.json +0 -557
  343. package/build/cjs/src/abis/RelayParams.json +0 -147
  344. package/build/cjs/src/abis/RewardReader.json +0 -86
  345. package/build/cjs/src/abis/RewardRouter.json +0 -1024
  346. package/build/cjs/src/abis/RewardTracker.json +0 -918
  347. package/build/cjs/src/abis/Router-v2.json +0 -605
  348. package/build/cjs/src/abis/Router.json +0 -605
  349. package/build/cjs/src/abis/SmartAccount.json +0 -28
  350. package/build/cjs/src/abis/StBTC.json +0 -1225
  351. package/build/cjs/src/abis/SubaccountApproval.json +0 -17
  352. package/build/cjs/src/abis/SubaccountGelatoRelayRouter.json +0 -2019
  353. package/build/cjs/src/abis/SubaccountRouter.json +0 -602
  354. package/build/cjs/src/abis/SyntheticsReader.json +0 -4905
  355. package/build/cjs/src/abis/SyntheticsRouter.json +0 -72
  356. package/build/cjs/src/abis/Timelock.json +0 -1737
  357. package/build/cjs/src/abis/Token.json +0 -345
  358. package/build/cjs/src/abis/Treasury.json +0 -411
  359. package/build/cjs/src/abis/UniPool.json +0 -89
  360. package/build/cjs/src/abis/UniswapV2.json +0 -1
  361. package/build/cjs/src/abis/Vault.json +0 -3220
  362. package/build/cjs/src/abis/VaultReader.json +0 -87
  363. package/build/cjs/src/abis/VaultV2.json +0 -3019
  364. package/build/cjs/src/abis/VaultV2b.json +0 -3220
  365. package/build/cjs/src/abis/Vester.json +0 -1031
  366. package/build/cjs/src/abis/WETH.json +0 -320
  367. package/build/cjs/src/abis/YieldFarm.json +0 -599
  368. package/build/cjs/src/abis/YieldToken.json +0 -560
  369. package/build/cjs/src/abis/__tests__/abis.spec.js +0 -40
  370. package/build/cjs/src/configs/__tests__/permits.spec.js +0 -109
  371. package/build/esm/src/abis/ArbitrumNodeInterface.json +0 -105
  372. package/build/esm/src/abis/ClaimHandler.json +0 -424
  373. package/build/esm/src/abis/CustomErrors.json +0 -4432
  374. package/build/esm/src/abis/DataStore.json +0 -1459
  375. package/build/esm/src/abis/ERC20PermitInterface.json +0 -118
  376. package/build/esm/src/abis/ERC721.json +0 -442
  377. package/build/esm/src/abis/EventEmitter.json +0 -2060
  378. package/build/esm/src/abis/ExchangeRouter.json +0 -1706
  379. package/build/esm/src/abis/GMT.json +0 -522
  380. package/build/esm/src/abis/GelatoRelayRouter.json +0 -1579
  381. package/build/esm/src/abis/GlpManager.json +0 -591
  382. package/build/esm/src/abis/GlvReader.json +0 -1471
  383. package/build/esm/src/abis/GlvRouter.json +0 -764
  384. package/build/esm/src/abis/GmxMigrator.json +0 -657
  385. package/build/esm/src/abis/GovToken.json +0 -768
  386. package/build/esm/src/abis/LayerZeroProvider.json +0 -372
  387. package/build/esm/src/abis/MintableBaseToken.json +0 -696
  388. package/build/esm/src/abis/Multicall.json +0 -429
  389. package/build/esm/src/abis/MultichainClaimsRouter.json +0 -1266
  390. package/build/esm/src/abis/MultichainGlvRouter.json +0 -1150
  391. package/build/esm/src/abis/MultichainGmRouter.json +0 -1449
  392. package/build/esm/src/abis/MultichainOrderRouter.json +0 -1820
  393. package/build/esm/src/abis/MultichainSubaccountRouter.json +0 -2069
  394. package/build/esm/src/abis/MultichainTransferRouter.json +0 -915
  395. package/build/esm/src/abis/MultichainUtils.json +0 -133
  396. package/build/esm/src/abis/MultichainVault.json +0 -275
  397. package/build/esm/src/abis/OrderBook.json +0 -1997
  398. package/build/esm/src/abis/OrderBookReader.json +0 -111
  399. package/build/esm/src/abis/OrderExecutor.json +0 -122
  400. package/build/esm/src/abis/PositionManager.json +0 -1165
  401. package/build/esm/src/abis/PositionRouter.json +0 -2030
  402. package/build/esm/src/abis/Reader.json +0 -355
  403. package/build/esm/src/abis/ReaderV2.json +0 -630
  404. package/build/esm/src/abis/ReferralStorage.json +0 -557
  405. package/build/esm/src/abis/RelayParams.json +0 -147
  406. package/build/esm/src/abis/RewardReader.json +0 -86
  407. package/build/esm/src/abis/RewardRouter.json +0 -1024
  408. package/build/esm/src/abis/RewardTracker.json +0 -918
  409. package/build/esm/src/abis/Router-v2.json +0 -605
  410. package/build/esm/src/abis/Router.json +0 -605
  411. package/build/esm/src/abis/SmartAccount.json +0 -28
  412. package/build/esm/src/abis/StBTC.json +0 -1225
  413. package/build/esm/src/abis/SubaccountApproval.json +0 -17
  414. package/build/esm/src/abis/SubaccountGelatoRelayRouter.json +0 -2019
  415. package/build/esm/src/abis/SubaccountRouter.json +0 -602
  416. package/build/esm/src/abis/SyntheticsReader.json +0 -4905
  417. package/build/esm/src/abis/SyntheticsRouter.json +0 -72
  418. package/build/esm/src/abis/Timelock.json +0 -1737
  419. package/build/esm/src/abis/Token.json +0 -345
  420. package/build/esm/src/abis/Treasury.json +0 -411
  421. package/build/esm/src/abis/UniPool.json +0 -89
  422. package/build/esm/src/abis/UniswapV2.json +0 -1
  423. package/build/esm/src/abis/Vault.json +0 -3220
  424. package/build/esm/src/abis/VaultReader.json +0 -87
  425. package/build/esm/src/abis/VaultV2.json +0 -3019
  426. package/build/esm/src/abis/VaultV2b.json +0 -3220
  427. package/build/esm/src/abis/Vester.json +0 -1031
  428. package/build/esm/src/abis/WETH.json +0 -320
  429. package/build/esm/src/abis/YieldFarm.json +0 -599
  430. package/build/esm/src/abis/YieldToken.json +0 -560
  431. package/build/esm/src/abis/__tests__/abis.spec.js +0 -35
  432. package/build/esm/src/configs/__tests__/permits.spec.js +0 -107
  433. package/build/types/src/configs/__tests__/permits.spec.d.ts +0 -1
  434. package/build/types/src/utils/__tests__/subgraph.spec.d.ts +0 -1
  435. /package/build/types/src/{abis/__tests__/abis.spec.d.ts → utils/__tests__/indexers.spec.d.ts} +0 -0
@@ -1,4432 +0,0 @@
1
- {
2
- "abi": [
3
- {
4
- "inputs": [],
5
- "name": "ActionAlreadySignalled",
6
- "type": "error"
7
- },
8
- {
9
- "inputs": [],
10
- "name": "ActionNotSignalled",
11
- "type": "error"
12
- },
13
- {
14
- "inputs": [],
15
- "name": "AdlNotEnabled",
16
- "type": "error"
17
- },
18
- {
19
- "inputs": [
20
- {
21
- "internalType": "int256",
22
- "name": "pnlToPoolFactor",
23
- "type": "int256"
24
- },
25
- {
26
- "internalType": "uint256",
27
- "name": "maxPnlFactorForAdl",
28
- "type": "uint256"
29
- }
30
- ],
31
- "name": "AdlNotRequired",
32
- "type": "error"
33
- },
34
- {
35
- "inputs": [
36
- {
37
- "internalType": "bytes[]",
38
- "name": "values",
39
- "type": "bytes[]"
40
- },
41
- {
42
- "internalType": "uint256",
43
- "name": "index",
44
- "type": "uint256"
45
- },
46
- {
47
- "internalType": "string",
48
- "name": "label",
49
- "type": "string"
50
- }
51
- ],
52
- "name": "ArrayOutOfBoundsBytes",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [
57
- {
58
- "internalType": "uint256[]",
59
- "name": "values",
60
- "type": "uint256[]"
61
- },
62
- {
63
- "internalType": "uint256",
64
- "name": "index",
65
- "type": "uint256"
66
- },
67
- {
68
- "internalType": "string",
69
- "name": "label",
70
- "type": "string"
71
- }
72
- ],
73
- "name": "ArrayOutOfBoundsUint256",
74
- "type": "error"
75
- },
76
- {
77
- "inputs": [
78
- {
79
- "internalType": "address",
80
- "name": "feeToken",
81
- "type": "address"
82
- },
83
- {
84
- "internalType": "address",
85
- "name": "buybackToken",
86
- "type": "address"
87
- },
88
- {
89
- "internalType": "uint256",
90
- "name": "availableFeeAmount",
91
- "type": "uint256"
92
- }
93
- ],
94
- "name": "AvailableFeeAmountIsZero",
95
- "type": "error"
96
- },
97
- {
98
- "inputs": [
99
- {
100
- "internalType": "uint256",
101
- "name": "minOracleBlockNumber",
102
- "type": "uint256"
103
- },
104
- {
105
- "internalType": "uint256",
106
- "name": "prevMinOracleBlockNumber",
107
- "type": "uint256"
108
- }
109
- ],
110
- "name": "BlockNumbersNotSorted",
111
- "type": "error"
112
- },
113
- {
114
- "inputs": [],
115
- "name": "BridgeOutNotSupportedDuringShift",
116
- "type": "error"
117
- },
118
- {
119
- "inputs": [
120
- {
121
- "internalType": "address",
122
- "name": "feeToken",
123
- "type": "address"
124
- },
125
- {
126
- "internalType": "address",
127
- "name": "buybackToken",
128
- "type": "address"
129
- }
130
- ],
131
- "name": "BuybackAndFeeTokenAreEqual",
132
- "type": "error"
133
- },
134
- {
135
- "inputs": [
136
- {
137
- "internalType": "address",
138
- "name": "token",
139
- "type": "address"
140
- },
141
- {
142
- "internalType": "uint256",
143
- "name": "timestamp",
144
- "type": "uint256"
145
- },
146
- {
147
- "internalType": "uint256",
148
- "name": "heartbeatDuration",
149
- "type": "uint256"
150
- }
151
- ],
152
- "name": "ChainlinkPriceFeedNotUpdated",
153
- "type": "error"
154
- },
155
- {
156
- "inputs": [
157
- {
158
- "internalType": "uint256",
159
- "name": "adjustedClaimableAmount",
160
- "type": "uint256"
161
- },
162
- {
163
- "internalType": "uint256",
164
- "name": "claimedAmount",
165
- "type": "uint256"
166
- }
167
- ],
168
- "name": "CollateralAlreadyClaimed",
169
- "type": "error"
170
- },
171
- {
172
- "inputs": [
173
- {
174
- "internalType": "uint256[]",
175
- "name": "compactedValues",
176
- "type": "uint256[]"
177
- },
178
- {
179
- "internalType": "uint256",
180
- "name": "index",
181
- "type": "uint256"
182
- },
183
- {
184
- "internalType": "uint256",
185
- "name": "slotIndex",
186
- "type": "uint256"
187
- },
188
- {
189
- "internalType": "string",
190
- "name": "label",
191
- "type": "string"
192
- }
193
- ],
194
- "name": "CompactedArrayOutOfBounds",
195
- "type": "error"
196
- },
197
- {
198
- "inputs": [
199
- {
200
- "internalType": "bytes32",
201
- "name": "baseKey",
202
- "type": "bytes32"
203
- },
204
- {
205
- "internalType": "uint256",
206
- "name": "value",
207
- "type": "uint256"
208
- }
209
- ],
210
- "name": "ConfigValueExceedsAllowedRange",
211
- "type": "error"
212
- },
213
- {
214
- "inputs": [],
215
- "name": "DataListLengthExceeded",
216
- "type": "error"
217
- },
218
- {
219
- "inputs": [
220
- {
221
- "internalType": "address",
222
- "name": "token",
223
- "type": "address"
224
- }
225
- ],
226
- "name": "DataStreamIdAlreadyExistsForToken",
227
- "type": "error"
228
- },
229
- {
230
- "inputs": [
231
- {
232
- "internalType": "uint256",
233
- "name": "currentTimestamp",
234
- "type": "uint256"
235
- },
236
- {
237
- "internalType": "uint256",
238
- "name": "deadline",
239
- "type": "uint256"
240
- }
241
- ],
242
- "name": "DeadlinePassed",
243
- "type": "error"
244
- },
245
- {
246
- "inputs": [
247
- {
248
- "internalType": "bytes32",
249
- "name": "key",
250
- "type": "bytes32"
251
- }
252
- ],
253
- "name": "DepositNotFound",
254
- "type": "error"
255
- },
256
- {
257
- "inputs": [
258
- {
259
- "internalType": "bytes32",
260
- "name": "key",
261
- "type": "bytes32"
262
- }
263
- ],
264
- "name": "DisabledFeature",
265
- "type": "error"
266
- },
267
- {
268
- "inputs": [
269
- {
270
- "internalType": "address",
271
- "name": "market",
272
- "type": "address"
273
- }
274
- ],
275
- "name": "DisabledMarket",
276
- "type": "error"
277
- },
278
- {
279
- "inputs": [
280
- {
281
- "internalType": "uint256",
282
- "name": "existingDistributionId",
283
- "type": "uint256"
284
- }
285
- ],
286
- "name": "DuplicateClaimTerms",
287
- "type": "error"
288
- },
289
- {
290
- "inputs": [
291
- {
292
- "internalType": "uint256",
293
- "name": "index",
294
- "type": "uint256"
295
- },
296
- {
297
- "internalType": "string",
298
- "name": "label",
299
- "type": "string"
300
- }
301
- ],
302
- "name": "DuplicatedIndex",
303
- "type": "error"
304
- },
305
- {
306
- "inputs": [
307
- {
308
- "internalType": "address",
309
- "name": "market",
310
- "type": "address"
311
- }
312
- ],
313
- "name": "DuplicatedMarketInSwapPath",
314
- "type": "error"
315
- },
316
- {
317
- "inputs": [
318
- {
319
- "internalType": "address",
320
- "name": "token",
321
- "type": "address"
322
- }
323
- ],
324
- "name": "EdgeDataStreamIdAlreadyExistsForToken",
325
- "type": "error"
326
- },
327
- {
328
- "inputs": [],
329
- "name": "EmptyAccount",
330
- "type": "error"
331
- },
332
- {
333
- "inputs": [
334
- {
335
- "internalType": "address",
336
- "name": "market",
337
- "type": "address"
338
- },
339
- {
340
- "internalType": "address",
341
- "name": "token",
342
- "type": "address"
343
- }
344
- ],
345
- "name": "EmptyAddressInMarketTokenBalanceValidation",
346
- "type": "error"
347
- },
348
- {
349
- "inputs": [],
350
- "name": "EmptyAmount",
351
- "type": "error"
352
- },
353
- {
354
- "inputs": [
355
- {
356
- "internalType": "address",
357
- "name": "token",
358
- "type": "address"
359
- }
360
- ],
361
- "name": "EmptyChainlinkPriceFeed",
362
- "type": "error"
363
- },
364
- {
365
- "inputs": [
366
- {
367
- "internalType": "address",
368
- "name": "token",
369
- "type": "address"
370
- }
371
- ],
372
- "name": "EmptyChainlinkPriceFeedMultiplier",
373
- "type": "error"
374
- },
375
- {
376
- "inputs": [],
377
- "name": "EmptyClaimFeesMarket",
378
- "type": "error"
379
- },
380
- {
381
- "inputs": [
382
- {
383
- "internalType": "address",
384
- "name": "token",
385
- "type": "address"
386
- }
387
- ],
388
- "name": "EmptyClaimableAmount",
389
- "type": "error"
390
- },
391
- {
392
- "inputs": [
393
- {
394
- "internalType": "address",
395
- "name": "token",
396
- "type": "address"
397
- }
398
- ],
399
- "name": "EmptyDataStreamFeedId",
400
- "type": "error"
401
- },
402
- {
403
- "inputs": [
404
- {
405
- "internalType": "address",
406
- "name": "token",
407
- "type": "address"
408
- }
409
- ],
410
- "name": "EmptyDataStreamMultiplier",
411
- "type": "error"
412
- },
413
- {
414
- "inputs": [],
415
- "name": "EmptyDeposit",
416
- "type": "error"
417
- },
418
- {
419
- "inputs": [],
420
- "name": "EmptyDepositAmounts",
421
- "type": "error"
422
- },
423
- {
424
- "inputs": [],
425
- "name": "EmptyDepositAmountsAfterSwap",
426
- "type": "error"
427
- },
428
- {
429
- "inputs": [],
430
- "name": "EmptyFundingAccount",
431
- "type": "error"
432
- },
433
- {
434
- "inputs": [
435
- {
436
- "internalType": "address",
437
- "name": "glv",
438
- "type": "address"
439
- }
440
- ],
441
- "name": "EmptyGlv",
442
- "type": "error"
443
- },
444
- {
445
- "inputs": [],
446
- "name": "EmptyGlvDeposit",
447
- "type": "error"
448
- },
449
- {
450
- "inputs": [],
451
- "name": "EmptyGlvDepositAmounts",
452
- "type": "error"
453
- },
454
- {
455
- "inputs": [],
456
- "name": "EmptyGlvMarketAmount",
457
- "type": "error"
458
- },
459
- {
460
- "inputs": [],
461
- "name": "EmptyGlvTokenSupply",
462
- "type": "error"
463
- },
464
- {
465
- "inputs": [],
466
- "name": "EmptyGlvWithdrawal",
467
- "type": "error"
468
- },
469
- {
470
- "inputs": [],
471
- "name": "EmptyGlvWithdrawalAmount",
472
- "type": "error"
473
- },
474
- {
475
- "inputs": [],
476
- "name": "EmptyHoldingAddress",
477
- "type": "error"
478
- },
479
- {
480
- "inputs": [],
481
- "name": "EmptyMarket",
482
- "type": "error"
483
- },
484
- {
485
- "inputs": [
486
- {
487
- "internalType": "address",
488
- "name": "market",
489
- "type": "address"
490
- }
491
- ],
492
- "name": "EmptyMarketPrice",
493
- "type": "error"
494
- },
495
- {
496
- "inputs": [],
497
- "name": "EmptyMarketTokenSupply",
498
- "type": "error"
499
- },
500
- {
501
- "inputs": [
502
- {
503
- "internalType": "address",
504
- "name": "account",
505
- "type": "address"
506
- },
507
- {
508
- "internalType": "address",
509
- "name": "token",
510
- "type": "address"
511
- }
512
- ],
513
- "name": "EmptyMultichainTransferInAmount",
514
- "type": "error"
515
- },
516
- {
517
- "inputs": [
518
- {
519
- "internalType": "address",
520
- "name": "account",
521
- "type": "address"
522
- },
523
- {
524
- "internalType": "address",
525
- "name": "token",
526
- "type": "address"
527
- }
528
- ],
529
- "name": "EmptyMultichainTransferOutAmount",
530
- "type": "error"
531
- },
532
- {
533
- "inputs": [],
534
- "name": "EmptyOrder",
535
- "type": "error"
536
- },
537
- {
538
- "inputs": [],
539
- "name": "EmptyPosition",
540
- "type": "error"
541
- },
542
- {
543
- "inputs": [],
544
- "name": "EmptyPositionImpactWithdrawalAmount",
545
- "type": "error"
546
- },
547
- {
548
- "inputs": [
549
- {
550
- "internalType": "address",
551
- "name": "token",
552
- "type": "address"
553
- }
554
- ],
555
- "name": "EmptyPrimaryPrice",
556
- "type": "error"
557
- },
558
- {
559
- "inputs": [],
560
- "name": "EmptyReceiver",
561
- "type": "error"
562
- },
563
- {
564
- "inputs": [],
565
- "name": "EmptyReduceLentAmount",
566
- "type": "error"
567
- },
568
- {
569
- "inputs": [],
570
- "name": "EmptyRelayFeeAddress",
571
- "type": "error"
572
- },
573
- {
574
- "inputs": [],
575
- "name": "EmptyShift",
576
- "type": "error"
577
- },
578
- {
579
- "inputs": [],
580
- "name": "EmptyShiftAmount",
581
- "type": "error"
582
- },
583
- {
584
- "inputs": [],
585
- "name": "EmptySizeDeltaInTokens",
586
- "type": "error"
587
- },
588
- {
589
- "inputs": [],
590
- "name": "EmptyTarget",
591
- "type": "error"
592
- },
593
- {
594
- "inputs": [],
595
- "name": "EmptyToken",
596
- "type": "error"
597
- },
598
- {
599
- "inputs": [
600
- {
601
- "internalType": "address",
602
- "name": "token",
603
- "type": "address"
604
- }
605
- ],
606
- "name": "EmptyTokenTranferGasLimit",
607
- "type": "error"
608
- },
609
- {
610
- "inputs": [],
611
- "name": "EmptyValidatedPrices",
612
- "type": "error"
613
- },
614
- {
615
- "inputs": [],
616
- "name": "EmptyWithdrawal",
617
- "type": "error"
618
- },
619
- {
620
- "inputs": [],
621
- "name": "EmptyWithdrawalAmount",
622
- "type": "error"
623
- },
624
- {
625
- "inputs": [],
626
- "name": "EndOfOracleSimulation",
627
- "type": "error"
628
- },
629
- {
630
- "inputs": [
631
- {
632
- "internalType": "string",
633
- "name": "key",
634
- "type": "string"
635
- }
636
- ],
637
- "name": "EventItemNotFound",
638
- "type": "error"
639
- },
640
- {
641
- "inputs": [
642
- {
643
- "internalType": "bytes",
644
- "name": "data",
645
- "type": "bytes"
646
- }
647
- ],
648
- "name": "ExternalCallFailed",
649
- "type": "error"
650
- },
651
- {
652
- "inputs": [
653
- {
654
- "internalType": "bytes32",
655
- "name": "key",
656
- "type": "bytes32"
657
- }
658
- ],
659
- "name": "FeeBatchNotFound",
660
- "type": "error"
661
- },
662
- {
663
- "inputs": [
664
- {
665
- "internalType": "bytes32",
666
- "name": "salt",
667
- "type": "bytes32"
668
- },
669
- {
670
- "internalType": "address",
671
- "name": "glv",
672
- "type": "address"
673
- }
674
- ],
675
- "name": "GlvAlreadyExists",
676
- "type": "error"
677
- },
678
- {
679
- "inputs": [
680
- {
681
- "internalType": "bytes32",
682
- "name": "key",
683
- "type": "bytes32"
684
- }
685
- ],
686
- "name": "GlvDepositNotFound",
687
- "type": "error"
688
- },
689
- {
690
- "inputs": [
691
- {
692
- "internalType": "address",
693
- "name": "glv",
694
- "type": "address"
695
- },
696
- {
697
- "internalType": "address",
698
- "name": "market",
699
- "type": "address"
700
- }
701
- ],
702
- "name": "GlvDisabledMarket",
703
- "type": "error"
704
- },
705
- {
706
- "inputs": [
707
- {
708
- "internalType": "address",
709
- "name": "glv",
710
- "type": "address"
711
- },
712
- {
713
- "internalType": "address",
714
- "name": "market",
715
- "type": "address"
716
- }
717
- ],
718
- "name": "GlvEnabledMarket",
719
- "type": "error"
720
- },
721
- {
722
- "inputs": [
723
- {
724
- "internalType": "address",
725
- "name": "glv",
726
- "type": "address"
727
- },
728
- {
729
- "internalType": "address",
730
- "name": "market",
731
- "type": "address"
732
- },
733
- {
734
- "internalType": "uint256",
735
- "name": "marketTokenBalance",
736
- "type": "uint256"
737
- },
738
- {
739
- "internalType": "uint256",
740
- "name": "marketTokenAmount",
741
- "type": "uint256"
742
- }
743
- ],
744
- "name": "GlvInsufficientMarketTokenBalance",
745
- "type": "error"
746
- },
747
- {
748
- "inputs": [
749
- {
750
- "internalType": "address",
751
- "name": "glv",
752
- "type": "address"
753
- },
754
- {
755
- "internalType": "address",
756
- "name": "provided",
757
- "type": "address"
758
- },
759
- {
760
- "internalType": "address",
761
- "name": "expected",
762
- "type": "address"
763
- }
764
- ],
765
- "name": "GlvInvalidLongToken",
766
- "type": "error"
767
- },
768
- {
769
- "inputs": [
770
- {
771
- "internalType": "address",
772
- "name": "glv",
773
- "type": "address"
774
- },
775
- {
776
- "internalType": "address",
777
- "name": "provided",
778
- "type": "address"
779
- },
780
- {
781
- "internalType": "address",
782
- "name": "expected",
783
- "type": "address"
784
- }
785
- ],
786
- "name": "GlvInvalidShortToken",
787
- "type": "error"
788
- },
789
- {
790
- "inputs": [
791
- {
792
- "internalType": "address",
793
- "name": "glv",
794
- "type": "address"
795
- },
796
- {
797
- "internalType": "address",
798
- "name": "market",
799
- "type": "address"
800
- }
801
- ],
802
- "name": "GlvMarketAlreadyExists",
803
- "type": "error"
804
- },
805
- {
806
- "inputs": [
807
- {
808
- "internalType": "address",
809
- "name": "glv",
810
- "type": "address"
811
- },
812
- {
813
- "internalType": "uint256",
814
- "name": "glvMaxMarketCount",
815
- "type": "uint256"
816
- }
817
- ],
818
- "name": "GlvMaxMarketCountExceeded",
819
- "type": "error"
820
- },
821
- {
822
- "inputs": [
823
- {
824
- "internalType": "address",
825
- "name": "glv",
826
- "type": "address"
827
- },
828
- {
829
- "internalType": "address",
830
- "name": "market",
831
- "type": "address"
832
- },
833
- {
834
- "internalType": "uint256",
835
- "name": "maxMarketTokenBalanceAmount",
836
- "type": "uint256"
837
- },
838
- {
839
- "internalType": "uint256",
840
- "name": "marketTokenBalanceAmount",
841
- "type": "uint256"
842
- }
843
- ],
844
- "name": "GlvMaxMarketTokenBalanceAmountExceeded",
845
- "type": "error"
846
- },
847
- {
848
- "inputs": [
849
- {
850
- "internalType": "address",
851
- "name": "glv",
852
- "type": "address"
853
- },
854
- {
855
- "internalType": "address",
856
- "name": "market",
857
- "type": "address"
858
- },
859
- {
860
- "internalType": "uint256",
861
- "name": "maxMarketTokenBalanceUsd",
862
- "type": "uint256"
863
- },
864
- {
865
- "internalType": "uint256",
866
- "name": "marketTokenBalanceUsd",
867
- "type": "uint256"
868
- }
869
- ],
870
- "name": "GlvMaxMarketTokenBalanceUsdExceeded",
871
- "type": "error"
872
- },
873
- {
874
- "inputs": [],
875
- "name": "GlvNameTooLong",
876
- "type": "error"
877
- },
878
- {
879
- "inputs": [
880
- {
881
- "internalType": "address",
882
- "name": "glv",
883
- "type": "address"
884
- },
885
- {
886
- "internalType": "address",
887
- "name": "market",
888
- "type": "address"
889
- }
890
- ],
891
- "name": "GlvNegativeMarketPoolValue",
892
- "type": "error"
893
- },
894
- {
895
- "inputs": [
896
- {
897
- "internalType": "address",
898
- "name": "glv",
899
- "type": "address"
900
- },
901
- {
902
- "internalType": "address",
903
- "name": "market",
904
- "type": "address"
905
- }
906
- ],
907
- "name": "GlvNonZeroMarketBalance",
908
- "type": "error"
909
- },
910
- {
911
- "inputs": [
912
- {
913
- "internalType": "address",
914
- "name": "key",
915
- "type": "address"
916
- }
917
- ],
918
- "name": "GlvNotFound",
919
- "type": "error"
920
- },
921
- {
922
- "inputs": [
923
- {
924
- "internalType": "uint256",
925
- "name": "currentTimestamp",
926
- "type": "uint256"
927
- },
928
- {
929
- "internalType": "uint256",
930
- "name": "lastGlvShiftExecutedAt",
931
- "type": "uint256"
932
- },
933
- {
934
- "internalType": "uint256",
935
- "name": "glvShiftMinInterval",
936
- "type": "uint256"
937
- }
938
- ],
939
- "name": "GlvShiftIntervalNotYetPassed",
940
- "type": "error"
941
- },
942
- {
943
- "inputs": [
944
- {
945
- "internalType": "uint256",
946
- "name": "effectivePriceImpactFactor",
947
- "type": "uint256"
948
- },
949
- {
950
- "internalType": "uint256",
951
- "name": "glvMaxShiftPriceImpactFactor",
952
- "type": "uint256"
953
- }
954
- ],
955
- "name": "GlvShiftMaxPriceImpactExceeded",
956
- "type": "error"
957
- },
958
- {
959
- "inputs": [
960
- {
961
- "internalType": "bytes32",
962
- "name": "key",
963
- "type": "bytes32"
964
- }
965
- ],
966
- "name": "GlvShiftNotFound",
967
- "type": "error"
968
- },
969
- {
970
- "inputs": [],
971
- "name": "GlvSymbolTooLong",
972
- "type": "error"
973
- },
974
- {
975
- "inputs": [
976
- {
977
- "internalType": "address",
978
- "name": "glv",
979
- "type": "address"
980
- },
981
- {
982
- "internalType": "address",
983
- "name": "market",
984
- "type": "address"
985
- }
986
- ],
987
- "name": "GlvUnsupportedMarket",
988
- "type": "error"
989
- },
990
- {
991
- "inputs": [
992
- {
993
- "internalType": "bytes32",
994
- "name": "key",
995
- "type": "bytes32"
996
- }
997
- ],
998
- "name": "GlvWithdrawalNotFound",
999
- "type": "error"
1000
- },
1001
- {
1002
- "inputs": [
1003
- {
1004
- "internalType": "uint256",
1005
- "name": "signerIndex",
1006
- "type": "uint256"
1007
- }
1008
- ],
1009
- "name": "GmEmptySigner",
1010
- "type": "error"
1011
- },
1012
- {
1013
- "inputs": [
1014
- {
1015
- "internalType": "uint256",
1016
- "name": "minOracleBlockNumber",
1017
- "type": "uint256"
1018
- },
1019
- {
1020
- "internalType": "uint256",
1021
- "name": "currentBlockNumber",
1022
- "type": "uint256"
1023
- }
1024
- ],
1025
- "name": "GmInvalidBlockNumber",
1026
- "type": "error"
1027
- },
1028
- {
1029
- "inputs": [
1030
- {
1031
- "internalType": "uint256",
1032
- "name": "minOracleBlockNumber",
1033
- "type": "uint256"
1034
- },
1035
- {
1036
- "internalType": "uint256",
1037
- "name": "maxOracleBlockNumber",
1038
- "type": "uint256"
1039
- }
1040
- ],
1041
- "name": "GmInvalidMinMaxBlockNumber",
1042
- "type": "error"
1043
- },
1044
- {
1045
- "inputs": [
1046
- {
1047
- "internalType": "uint256",
1048
- "name": "oracleSigners",
1049
- "type": "uint256"
1050
- },
1051
- {
1052
- "internalType": "uint256",
1053
- "name": "maxOracleSigners",
1054
- "type": "uint256"
1055
- }
1056
- ],
1057
- "name": "GmMaxOracleSigners",
1058
- "type": "error"
1059
- },
1060
- {
1061
- "inputs": [
1062
- {
1063
- "internalType": "address",
1064
- "name": "token",
1065
- "type": "address"
1066
- },
1067
- {
1068
- "internalType": "uint256",
1069
- "name": "price",
1070
- "type": "uint256"
1071
- },
1072
- {
1073
- "internalType": "uint256",
1074
- "name": "prevPrice",
1075
- "type": "uint256"
1076
- }
1077
- ],
1078
- "name": "GmMaxPricesNotSorted",
1079
- "type": "error"
1080
- },
1081
- {
1082
- "inputs": [
1083
- {
1084
- "internalType": "uint256",
1085
- "name": "signerIndex",
1086
- "type": "uint256"
1087
- },
1088
- {
1089
- "internalType": "uint256",
1090
- "name": "maxSignerIndex",
1091
- "type": "uint256"
1092
- }
1093
- ],
1094
- "name": "GmMaxSignerIndex",
1095
- "type": "error"
1096
- },
1097
- {
1098
- "inputs": [
1099
- {
1100
- "internalType": "uint256",
1101
- "name": "oracleSigners",
1102
- "type": "uint256"
1103
- },
1104
- {
1105
- "internalType": "uint256",
1106
- "name": "minOracleSigners",
1107
- "type": "uint256"
1108
- }
1109
- ],
1110
- "name": "GmMinOracleSigners",
1111
- "type": "error"
1112
- },
1113
- {
1114
- "inputs": [
1115
- {
1116
- "internalType": "address",
1117
- "name": "token",
1118
- "type": "address"
1119
- },
1120
- {
1121
- "internalType": "uint256",
1122
- "name": "price",
1123
- "type": "uint256"
1124
- },
1125
- {
1126
- "internalType": "uint256",
1127
- "name": "prevPrice",
1128
- "type": "uint256"
1129
- }
1130
- ],
1131
- "name": "GmMinPricesNotSorted",
1132
- "type": "error"
1133
- },
1134
- {
1135
- "inputs": [
1136
- {
1137
- "internalType": "address",
1138
- "name": "feeToken",
1139
- "type": "address"
1140
- },
1141
- {
1142
- "internalType": "address",
1143
- "name": "buybackToken",
1144
- "type": "address"
1145
- },
1146
- {
1147
- "internalType": "uint256",
1148
- "name": "outputAmount",
1149
- "type": "uint256"
1150
- },
1151
- {
1152
- "internalType": "uint256",
1153
- "name": "minOutputAmount",
1154
- "type": "uint256"
1155
- }
1156
- ],
1157
- "name": "InsufficientBuybackOutputAmount",
1158
- "type": "error"
1159
- },
1160
- {
1161
- "inputs": [
1162
- {
1163
- "internalType": "uint256",
1164
- "name": "collateralAmount",
1165
- "type": "uint256"
1166
- },
1167
- {
1168
- "internalType": "int256",
1169
- "name": "collateralDeltaAmount",
1170
- "type": "int256"
1171
- }
1172
- ],
1173
- "name": "InsufficientCollateralAmount",
1174
- "type": "error"
1175
- },
1176
- {
1177
- "inputs": [
1178
- {
1179
- "internalType": "int256",
1180
- "name": "remainingCollateralUsd",
1181
- "type": "int256"
1182
- }
1183
- ],
1184
- "name": "InsufficientCollateralUsd",
1185
- "type": "error"
1186
- },
1187
- {
1188
- "inputs": [
1189
- {
1190
- "internalType": "uint256",
1191
- "name": "minExecutionFee",
1192
- "type": "uint256"
1193
- },
1194
- {
1195
- "internalType": "uint256",
1196
- "name": "executionFee",
1197
- "type": "uint256"
1198
- }
1199
- ],
1200
- "name": "InsufficientExecutionFee",
1201
- "type": "error"
1202
- },
1203
- {
1204
- "inputs": [
1205
- {
1206
- "internalType": "uint256",
1207
- "name": "startingGas",
1208
- "type": "uint256"
1209
- },
1210
- {
1211
- "internalType": "uint256",
1212
- "name": "estimatedGasLimit",
1213
- "type": "uint256"
1214
- },
1215
- {
1216
- "internalType": "uint256",
1217
- "name": "minAdditionalGasForExecution",
1218
- "type": "uint256"
1219
- }
1220
- ],
1221
- "name": "InsufficientExecutionGas",
1222
- "type": "error"
1223
- },
1224
- {
1225
- "inputs": [
1226
- {
1227
- "internalType": "uint256",
1228
- "name": "startingGas",
1229
- "type": "uint256"
1230
- },
1231
- {
1232
- "internalType": "uint256",
1233
- "name": "minHandleErrorGas",
1234
- "type": "uint256"
1235
- }
1236
- ],
1237
- "name": "InsufficientExecutionGasForErrorHandling",
1238
- "type": "error"
1239
- },
1240
- {
1241
- "inputs": [
1242
- {
1243
- "internalType": "uint256",
1244
- "name": "feeProvided",
1245
- "type": "uint256"
1246
- },
1247
- {
1248
- "internalType": "uint256",
1249
- "name": "feeRequired",
1250
- "type": "uint256"
1251
- }
1252
- ],
1253
- "name": "InsufficientFee",
1254
- "type": "error"
1255
- },
1256
- {
1257
- "inputs": [
1258
- {
1259
- "internalType": "address",
1260
- "name": "token",
1261
- "type": "address"
1262
- }
1263
- ],
1264
- "name": "InsufficientFunds",
1265
- "type": "error"
1266
- },
1267
- {
1268
- "inputs": [
1269
- {
1270
- "internalType": "uint256",
1271
- "name": "remainingCostUsd",
1272
- "type": "uint256"
1273
- },
1274
- {
1275
- "internalType": "string",
1276
- "name": "step",
1277
- "type": "string"
1278
- }
1279
- ],
1280
- "name": "InsufficientFundsToPayForCosts",
1281
- "type": "error"
1282
- },
1283
- {
1284
- "inputs": [
1285
- {
1286
- "internalType": "uint256",
1287
- "name": "gas",
1288
- "type": "uint256"
1289
- },
1290
- {
1291
- "internalType": "uint256",
1292
- "name": "minHandleExecutionErrorGas",
1293
- "type": "uint256"
1294
- }
1295
- ],
1296
- "name": "InsufficientGasForAutoCancellation",
1297
- "type": "error"
1298
- },
1299
- {
1300
- "inputs": [
1301
- {
1302
- "internalType": "uint256",
1303
- "name": "gas",
1304
- "type": "uint256"
1305
- },
1306
- {
1307
- "internalType": "uint256",
1308
- "name": "minHandleExecutionErrorGas",
1309
- "type": "uint256"
1310
- }
1311
- ],
1312
- "name": "InsufficientGasForCancellation",
1313
- "type": "error"
1314
- },
1315
- {
1316
- "inputs": [
1317
- {
1318
- "internalType": "uint256",
1319
- "name": "gas",
1320
- "type": "uint256"
1321
- },
1322
- {
1323
- "internalType": "uint256",
1324
- "name": "estimatedGasLimit",
1325
- "type": "uint256"
1326
- }
1327
- ],
1328
- "name": "InsufficientGasLeft",
1329
- "type": "error"
1330
- },
1331
- {
1332
- "inputs": [
1333
- {
1334
- "internalType": "uint256",
1335
- "name": "gasToBeForwarded",
1336
- "type": "uint256"
1337
- },
1338
- {
1339
- "internalType": "uint256",
1340
- "name": "callbackGasLimit",
1341
- "type": "uint256"
1342
- }
1343
- ],
1344
- "name": "InsufficientGasLeftForCallback",
1345
- "type": "error"
1346
- },
1347
- {
1348
- "inputs": [
1349
- {
1350
- "internalType": "uint256",
1351
- "name": "gas",
1352
- "type": "uint256"
1353
- },
1354
- {
1355
- "internalType": "uint256",
1356
- "name": "minHandleExecutionErrorGas",
1357
- "type": "uint256"
1358
- }
1359
- ],
1360
- "name": "InsufficientHandleExecutionErrorGas",
1361
- "type": "error"
1362
- },
1363
- {
1364
- "inputs": [
1365
- {
1366
- "internalType": "uint256",
1367
- "name": "withdrawalAmount",
1368
- "type": "uint256"
1369
- },
1370
- {
1371
- "internalType": "uint256",
1372
- "name": "poolValue",
1373
- "type": "uint256"
1374
- },
1375
- {
1376
- "internalType": "int256",
1377
- "name": "totalPendingImpactAmount",
1378
- "type": "int256"
1379
- }
1380
- ],
1381
- "name": "InsufficientImpactPoolValueForWithdrawal",
1382
- "type": "error"
1383
- },
1384
- {
1385
- "inputs": [
1386
- {
1387
- "internalType": "uint256",
1388
- "name": "balance",
1389
- "type": "uint256"
1390
- },
1391
- {
1392
- "internalType": "uint256",
1393
- "name": "expected",
1394
- "type": "uint256"
1395
- }
1396
- ],
1397
- "name": "InsufficientMarketTokens",
1398
- "type": "error"
1399
- },
1400
- {
1401
- "inputs": [
1402
- {
1403
- "internalType": "address",
1404
- "name": "account",
1405
- "type": "address"
1406
- },
1407
- {
1408
- "internalType": "address",
1409
- "name": "token",
1410
- "type": "address"
1411
- },
1412
- {
1413
- "internalType": "uint256",
1414
- "name": "balance",
1415
- "type": "uint256"
1416
- },
1417
- {
1418
- "internalType": "uint256",
1419
- "name": "amount",
1420
- "type": "uint256"
1421
- }
1422
- ],
1423
- "name": "InsufficientMultichainBalance",
1424
- "type": "error"
1425
- },
1426
- {
1427
- "inputs": [
1428
- {
1429
- "internalType": "uint256",
1430
- "name": "outputAmount",
1431
- "type": "uint256"
1432
- },
1433
- {
1434
- "internalType": "uint256",
1435
- "name": "minOutputAmount",
1436
- "type": "uint256"
1437
- }
1438
- ],
1439
- "name": "InsufficientOutputAmount",
1440
- "type": "error"
1441
- },
1442
- {
1443
- "inputs": [
1444
- {
1445
- "internalType": "uint256",
1446
- "name": "poolAmount",
1447
- "type": "uint256"
1448
- },
1449
- {
1450
- "internalType": "uint256",
1451
- "name": "amount",
1452
- "type": "uint256"
1453
- }
1454
- ],
1455
- "name": "InsufficientPoolAmount",
1456
- "type": "error"
1457
- },
1458
- {
1459
- "inputs": [
1460
- {
1461
- "internalType": "uint256",
1462
- "name": "requiredRelayFee",
1463
- "type": "uint256"
1464
- },
1465
- {
1466
- "internalType": "uint256",
1467
- "name": "availableFeeAmount",
1468
- "type": "uint256"
1469
- }
1470
- ],
1471
- "name": "InsufficientRelayFee",
1472
- "type": "error"
1473
- },
1474
- {
1475
- "inputs": [
1476
- {
1477
- "internalType": "uint256",
1478
- "name": "reservedUsd",
1479
- "type": "uint256"
1480
- },
1481
- {
1482
- "internalType": "uint256",
1483
- "name": "maxReservedUsd",
1484
- "type": "uint256"
1485
- }
1486
- ],
1487
- "name": "InsufficientReserve",
1488
- "type": "error"
1489
- },
1490
- {
1491
- "inputs": [
1492
- {
1493
- "internalType": "uint256",
1494
- "name": "reservedUsd",
1495
- "type": "uint256"
1496
- },
1497
- {
1498
- "internalType": "uint256",
1499
- "name": "maxReservedUsd",
1500
- "type": "uint256"
1501
- }
1502
- ],
1503
- "name": "InsufficientReserveForOpenInterest",
1504
- "type": "error"
1505
- },
1506
- {
1507
- "inputs": [
1508
- {
1509
- "internalType": "uint256",
1510
- "name": "outputAmount",
1511
- "type": "uint256"
1512
- },
1513
- {
1514
- "internalType": "uint256",
1515
- "name": "minOutputAmount",
1516
- "type": "uint256"
1517
- }
1518
- ],
1519
- "name": "InsufficientSwapOutputAmount",
1520
- "type": "error"
1521
- },
1522
- {
1523
- "inputs": [
1524
- {
1525
- "internalType": "uint256",
1526
- "name": "wntAmount",
1527
- "type": "uint256"
1528
- },
1529
- {
1530
- "internalType": "uint256",
1531
- "name": "executionFee",
1532
- "type": "uint256"
1533
- }
1534
- ],
1535
- "name": "InsufficientWntAmountForExecutionFee",
1536
- "type": "error"
1537
- },
1538
- {
1539
- "inputs": [
1540
- {
1541
- "internalType": "int256",
1542
- "name": "nextPnlToPoolFactor",
1543
- "type": "int256"
1544
- },
1545
- {
1546
- "internalType": "int256",
1547
- "name": "pnlToPoolFactor",
1548
- "type": "int256"
1549
- }
1550
- ],
1551
- "name": "InvalidAdl",
1552
- "type": "error"
1553
- },
1554
- {
1555
- "inputs": [
1556
- {
1557
- "internalType": "uint256",
1558
- "name": "amountIn",
1559
- "type": "uint256"
1560
- },
1561
- {
1562
- "internalType": "uint256",
1563
- "name": "remainingAmount",
1564
- "type": "uint256"
1565
- }
1566
- ],
1567
- "name": "InvalidAmountInForFeeBatch",
1568
- "type": "error"
1569
- },
1570
- {
1571
- "inputs": [
1572
- {
1573
- "internalType": "bytes32",
1574
- "name": "baseKey",
1575
- "type": "bytes32"
1576
- }
1577
- ],
1578
- "name": "InvalidBaseKey",
1579
- "type": "error"
1580
- },
1581
- {
1582
- "inputs": [
1583
- {
1584
- "internalType": "uint256",
1585
- "name": "largestMinBlockNumber",
1586
- "type": "uint256"
1587
- },
1588
- {
1589
- "internalType": "uint256",
1590
- "name": "smallestMaxBlockNumber",
1591
- "type": "uint256"
1592
- }
1593
- ],
1594
- "name": "InvalidBlockRangeSet",
1595
- "type": "error"
1596
- },
1597
- {
1598
- "inputs": [
1599
- {
1600
- "internalType": "address",
1601
- "name": "token",
1602
- "type": "address"
1603
- }
1604
- ],
1605
- "name": "InvalidBridgeOutToken",
1606
- "type": "error"
1607
- },
1608
- {
1609
- "inputs": [
1610
- {
1611
- "internalType": "address",
1612
- "name": "buybackToken",
1613
- "type": "address"
1614
- }
1615
- ],
1616
- "name": "InvalidBuybackToken",
1617
- "type": "error"
1618
- },
1619
- {
1620
- "inputs": [
1621
- {
1622
- "internalType": "address",
1623
- "name": "cancellationReceiver",
1624
- "type": "address"
1625
- },
1626
- {
1627
- "internalType": "address",
1628
- "name": "expectedCancellationReceiver",
1629
- "type": "address"
1630
- }
1631
- ],
1632
- "name": "InvalidCancellationReceiverForSubaccountOrder",
1633
- "type": "error"
1634
- },
1635
- {
1636
- "inputs": [
1637
- {
1638
- "internalType": "uint256",
1639
- "name": "marketsLength",
1640
- "type": "uint256"
1641
- },
1642
- {
1643
- "internalType": "uint256",
1644
- "name": "tokensLength",
1645
- "type": "uint256"
1646
- }
1647
- ],
1648
- "name": "InvalidClaimAffiliateRewardsInput",
1649
- "type": "error"
1650
- },
1651
- {
1652
- "inputs": [
1653
- {
1654
- "internalType": "uint256",
1655
- "name": "marketsLength",
1656
- "type": "uint256"
1657
- },
1658
- {
1659
- "internalType": "uint256",
1660
- "name": "tokensLength",
1661
- "type": "uint256"
1662
- },
1663
- {
1664
- "internalType": "uint256",
1665
- "name": "timeKeysLength",
1666
- "type": "uint256"
1667
- }
1668
- ],
1669
- "name": "InvalidClaimCollateralInput",
1670
- "type": "error"
1671
- },
1672
- {
1673
- "inputs": [
1674
- {
1675
- "internalType": "uint256",
1676
- "name": "marketsLength",
1677
- "type": "uint256"
1678
- },
1679
- {
1680
- "internalType": "uint256",
1681
- "name": "tokensLength",
1682
- "type": "uint256"
1683
- }
1684
- ],
1685
- "name": "InvalidClaimFundingFeesInput",
1686
- "type": "error"
1687
- },
1688
- {
1689
- "inputs": [
1690
- {
1691
- "internalType": "address",
1692
- "name": "recoveredSigner",
1693
- "type": "address"
1694
- },
1695
- {
1696
- "internalType": "address",
1697
- "name": "expectedSigner",
1698
- "type": "address"
1699
- }
1700
- ],
1701
- "name": "InvalidClaimTermsSignature",
1702
- "type": "error"
1703
- },
1704
- {
1705
- "inputs": [
1706
- {
1707
- "internalType": "address",
1708
- "name": "expectedSigner",
1709
- "type": "address"
1710
- }
1711
- ],
1712
- "name": "InvalidClaimTermsSignatureForContract",
1713
- "type": "error"
1714
- },
1715
- {
1716
- "inputs": [
1717
- {
1718
- "internalType": "uint256",
1719
- "name": "marketsLength",
1720
- "type": "uint256"
1721
- },
1722
- {
1723
- "internalType": "uint256",
1724
- "name": "tokensLength",
1725
- "type": "uint256"
1726
- }
1727
- ],
1728
- "name": "InvalidClaimUiFeesInput",
1729
- "type": "error"
1730
- },
1731
- {
1732
- "inputs": [
1733
- {
1734
- "internalType": "uint256",
1735
- "name": "value",
1736
- "type": "uint256"
1737
- }
1738
- ],
1739
- "name": "InvalidClaimableFactor",
1740
- "type": "error"
1741
- },
1742
- {
1743
- "inputs": [
1744
- {
1745
- "internalType": "uint256",
1746
- "name": "value",
1747
- "type": "uint256"
1748
- }
1749
- ],
1750
- "name": "InvalidClaimableReductionFactor",
1751
- "type": "error"
1752
- },
1753
- {
1754
- "inputs": [
1755
- {
1756
- "internalType": "address",
1757
- "name": "market",
1758
- "type": "address"
1759
- },
1760
- {
1761
- "internalType": "address",
1762
- "name": "token",
1763
- "type": "address"
1764
- }
1765
- ],
1766
- "name": "InvalidCollateralTokenForMarket",
1767
- "type": "error"
1768
- },
1769
- {
1770
- "inputs": [
1771
- {
1772
- "internalType": "address",
1773
- "name": "token",
1774
- "type": "address"
1775
- }
1776
- ],
1777
- "name": "InvalidContributorToken",
1778
- "type": "error"
1779
- },
1780
- {
1781
- "inputs": [
1782
- {
1783
- "internalType": "address",
1784
- "name": "token",
1785
- "type": "address"
1786
- },
1787
- {
1788
- "internalType": "int192",
1789
- "name": "bid",
1790
- "type": "int192"
1791
- },
1792
- {
1793
- "internalType": "int192",
1794
- "name": "ask",
1795
- "type": "int192"
1796
- }
1797
- ],
1798
- "name": "InvalidDataStreamBidAsk",
1799
- "type": "error"
1800
- },
1801
- {
1802
- "inputs": [
1803
- {
1804
- "internalType": "address",
1805
- "name": "token",
1806
- "type": "address"
1807
- },
1808
- {
1809
- "internalType": "bytes32",
1810
- "name": "feedId",
1811
- "type": "bytes32"
1812
- },
1813
- {
1814
- "internalType": "bytes32",
1815
- "name": "expectedFeedId",
1816
- "type": "bytes32"
1817
- }
1818
- ],
1819
- "name": "InvalidDataStreamFeedId",
1820
- "type": "error"
1821
- },
1822
- {
1823
- "inputs": [
1824
- {
1825
- "internalType": "address",
1826
- "name": "token",
1827
- "type": "address"
1828
- },
1829
- {
1830
- "internalType": "int192",
1831
- "name": "bid",
1832
- "type": "int192"
1833
- },
1834
- {
1835
- "internalType": "int192",
1836
- "name": "ask",
1837
- "type": "int192"
1838
- }
1839
- ],
1840
- "name": "InvalidDataStreamPrices",
1841
- "type": "error"
1842
- },
1843
- {
1844
- "inputs": [
1845
- {
1846
- "internalType": "address",
1847
- "name": "token",
1848
- "type": "address"
1849
- },
1850
- {
1851
- "internalType": "uint256",
1852
- "name": "spreadReductionFactor",
1853
- "type": "uint256"
1854
- }
1855
- ],
1856
- "name": "InvalidDataStreamSpreadReductionFactor",
1857
- "type": "error"
1858
- },
1859
- {
1860
- "inputs": [
1861
- {
1862
- "internalType": "uint256",
1863
- "name": "sizeDeltaUsd",
1864
- "type": "uint256"
1865
- },
1866
- {
1867
- "internalType": "uint256",
1868
- "name": "positionSizeInUsd",
1869
- "type": "uint256"
1870
- }
1871
- ],
1872
- "name": "InvalidDecreaseOrderSize",
1873
- "type": "error"
1874
- },
1875
- {
1876
- "inputs": [
1877
- {
1878
- "internalType": "uint256",
1879
- "name": "decreasePositionSwapType",
1880
- "type": "uint256"
1881
- }
1882
- ],
1883
- "name": "InvalidDecreasePositionSwapType",
1884
- "type": "error"
1885
- },
1886
- {
1887
- "inputs": [
1888
- {
1889
- "internalType": "uint256",
1890
- "name": "desChainId",
1891
- "type": "uint256"
1892
- }
1893
- ],
1894
- "name": "InvalidDestinationChainId",
1895
- "type": "error"
1896
- },
1897
- {
1898
- "inputs": [
1899
- {
1900
- "internalType": "address",
1901
- "name": "token",
1902
- "type": "address"
1903
- },
1904
- {
1905
- "internalType": "uint256",
1906
- "name": "bid",
1907
- "type": "uint256"
1908
- },
1909
- {
1910
- "internalType": "uint256",
1911
- "name": "ask",
1912
- "type": "uint256"
1913
- }
1914
- ],
1915
- "name": "InvalidEdgeDataStreamBidAsk",
1916
- "type": "error"
1917
- },
1918
- {
1919
- "inputs": [
1920
- {
1921
- "internalType": "int256",
1922
- "name": "expo",
1923
- "type": "int256"
1924
- }
1925
- ],
1926
- "name": "InvalidEdgeDataStreamExpo",
1927
- "type": "error"
1928
- },
1929
- {
1930
- "inputs": [
1931
- {
1932
- "internalType": "address",
1933
- "name": "token",
1934
- "type": "address"
1935
- },
1936
- {
1937
- "internalType": "uint256",
1938
- "name": "bid",
1939
- "type": "uint256"
1940
- },
1941
- {
1942
- "internalType": "uint256",
1943
- "name": "ask",
1944
- "type": "uint256"
1945
- }
1946
- ],
1947
- "name": "InvalidEdgeDataStreamPrices",
1948
- "type": "error"
1949
- },
1950
- {
1951
- "inputs": [
1952
- {
1953
- "internalType": "uint256",
1954
- "name": "recoverError",
1955
- "type": "uint256"
1956
- }
1957
- ],
1958
- "name": "InvalidEdgeSignature",
1959
- "type": "error"
1960
- },
1961
- {
1962
- "inputs": [],
1963
- "name": "InvalidEdgeSigner",
1964
- "type": "error"
1965
- },
1966
- {
1967
- "inputs": [
1968
- {
1969
- "internalType": "uint256",
1970
- "name": "eid",
1971
- "type": "uint256"
1972
- }
1973
- ],
1974
- "name": "InvalidEid",
1975
- "type": "error"
1976
- },
1977
- {
1978
- "inputs": [
1979
- {
1980
- "internalType": "uint256",
1981
- "name": "executionFee",
1982
- "type": "uint256"
1983
- },
1984
- {
1985
- "internalType": "uint256",
1986
- "name": "minExecutionFee",
1987
- "type": "uint256"
1988
- },
1989
- {
1990
- "internalType": "uint256",
1991
- "name": "maxExecutionFee",
1992
- "type": "uint256"
1993
- }
1994
- ],
1995
- "name": "InvalidExecutionFee",
1996
- "type": "error"
1997
- },
1998
- {
1999
- "inputs": [
2000
- {
2001
- "internalType": "uint256",
2002
- "name": "totalExecutionFee",
2003
- "type": "uint256"
2004
- },
2005
- {
2006
- "internalType": "uint256",
2007
- "name": "msgValue",
2008
- "type": "uint256"
2009
- }
2010
- ],
2011
- "name": "InvalidExecutionFeeForMigration",
2012
- "type": "error"
2013
- },
2014
- {
2015
- "inputs": [
2016
- {
2017
- "internalType": "uint256",
2018
- "name": "targetsLength",
2019
- "type": "uint256"
2020
- },
2021
- {
2022
- "internalType": "uint256",
2023
- "name": "dataListLength",
2024
- "type": "uint256"
2025
- }
2026
- ],
2027
- "name": "InvalidExternalCallInput",
2028
- "type": "error"
2029
- },
2030
- {
2031
- "inputs": [
2032
- {
2033
- "internalType": "address",
2034
- "name": "target",
2035
- "type": "address"
2036
- }
2037
- ],
2038
- "name": "InvalidExternalCallTarget",
2039
- "type": "error"
2040
- },
2041
- {
2042
- "inputs": [
2043
- {
2044
- "internalType": "uint256",
2045
- "name": "sendTokensLength",
2046
- "type": "uint256"
2047
- },
2048
- {
2049
- "internalType": "uint256",
2050
- "name": "sendAmountsLength",
2051
- "type": "uint256"
2052
- }
2053
- ],
2054
- "name": "InvalidExternalCalls",
2055
- "type": "error"
2056
- },
2057
- {
2058
- "inputs": [
2059
- {
2060
- "internalType": "uint256",
2061
- "name": "refundTokensLength",
2062
- "type": "uint256"
2063
- },
2064
- {
2065
- "internalType": "uint256",
2066
- "name": "refundReceiversLength",
2067
- "type": "uint256"
2068
- }
2069
- ],
2070
- "name": "InvalidExternalReceiversInput",
2071
- "type": "error"
2072
- },
2073
- {
2074
- "inputs": [
2075
- {
2076
- "internalType": "uint256",
2077
- "name": "tokenIndex",
2078
- "type": "uint256"
2079
- },
2080
- {
2081
- "internalType": "uint256",
2082
- "name": "feeBatchTokensLength",
2083
- "type": "uint256"
2084
- }
2085
- ],
2086
- "name": "InvalidFeeBatchTokenIndex",
2087
- "type": "error"
2088
- },
2089
- {
2090
- "inputs": [
2091
- {
2092
- "internalType": "address",
2093
- "name": "receiver",
2094
- "type": "address"
2095
- }
2096
- ],
2097
- "name": "InvalidFeeReceiver",
2098
- "type": "error"
2099
- },
2100
- {
2101
- "inputs": [
2102
- {
2103
- "internalType": "address",
2104
- "name": "token",
2105
- "type": "address"
2106
- },
2107
- {
2108
- "internalType": "int256",
2109
- "name": "price",
2110
- "type": "int256"
2111
- }
2112
- ],
2113
- "name": "InvalidFeedPrice",
2114
- "type": "error"
2115
- },
2116
- {
2117
- "inputs": [
2118
- {
2119
- "internalType": "uint256",
2120
- "name": "totalGlpAmountToRedeem",
2121
- "type": "uint256"
2122
- },
2123
- {
2124
- "internalType": "uint256",
2125
- "name": "totalGlpAmount",
2126
- "type": "uint256"
2127
- }
2128
- ],
2129
- "name": "InvalidGlpAmount",
2130
- "type": "error"
2131
- },
2132
- {
2133
- "inputs": [
2134
- {
2135
- "internalType": "address",
2136
- "name": "initialLongToken",
2137
- "type": "address"
2138
- }
2139
- ],
2140
- "name": "InvalidGlvDepositInitialLongToken",
2141
- "type": "error"
2142
- },
2143
- {
2144
- "inputs": [
2145
- {
2146
- "internalType": "address",
2147
- "name": "initialShortToken",
2148
- "type": "address"
2149
- }
2150
- ],
2151
- "name": "InvalidGlvDepositInitialShortToken",
2152
- "type": "error"
2153
- },
2154
- {
2155
- "inputs": [
2156
- {
2157
- "internalType": "uint256",
2158
- "name": "longTokenSwapPathLength",
2159
- "type": "uint256"
2160
- },
2161
- {
2162
- "internalType": "uint256",
2163
- "name": "shortTokenSwapPathLength",
2164
- "type": "uint256"
2165
- }
2166
- ],
2167
- "name": "InvalidGlvDepositSwapPath",
2168
- "type": "error"
2169
- },
2170
- {
2171
- "inputs": [
2172
- {
2173
- "internalType": "uint256",
2174
- "name": "minPrice",
2175
- "type": "uint256"
2176
- },
2177
- {
2178
- "internalType": "uint256",
2179
- "name": "maxPrice",
2180
- "type": "uint256"
2181
- }
2182
- ],
2183
- "name": "InvalidGmMedianMinMaxPrice",
2184
- "type": "error"
2185
- },
2186
- {
2187
- "inputs": [
2188
- {
2189
- "internalType": "address",
2190
- "name": "token",
2191
- "type": "address"
2192
- }
2193
- ],
2194
- "name": "InvalidGmOraclePrice",
2195
- "type": "error"
2196
- },
2197
- {
2198
- "inputs": [
2199
- {
2200
- "internalType": "address",
2201
- "name": "recoveredSigner",
2202
- "type": "address"
2203
- },
2204
- {
2205
- "internalType": "address",
2206
- "name": "expectedSigner",
2207
- "type": "address"
2208
- }
2209
- ],
2210
- "name": "InvalidGmSignature",
2211
- "type": "error"
2212
- },
2213
- {
2214
- "inputs": [
2215
- {
2216
- "internalType": "uint256",
2217
- "name": "minPrice",
2218
- "type": "uint256"
2219
- },
2220
- {
2221
- "internalType": "uint256",
2222
- "name": "maxPrice",
2223
- "type": "uint256"
2224
- }
2225
- ],
2226
- "name": "InvalidGmSignerMinMaxPrice",
2227
- "type": "error"
2228
- },
2229
- {
2230
- "inputs": [
2231
- {
2232
- "internalType": "address",
2233
- "name": "account",
2234
- "type": "address"
2235
- }
2236
- ],
2237
- "name": "InvalidHoldingAddress",
2238
- "type": "error"
2239
- },
2240
- {
2241
- "inputs": [],
2242
- "name": "InvalidInitializer",
2243
- "type": "error"
2244
- },
2245
- {
2246
- "inputs": [
2247
- {
2248
- "internalType": "address",
2249
- "name": "keeper",
2250
- "type": "address"
2251
- }
2252
- ],
2253
- "name": "InvalidKeeperForFrozenOrder",
2254
- "type": "error"
2255
- },
2256
- {
2257
- "inputs": [
2258
- {
2259
- "internalType": "address",
2260
- "name": "market",
2261
- "type": "address"
2262
- },
2263
- {
2264
- "internalType": "address",
2265
- "name": "token",
2266
- "type": "address"
2267
- },
2268
- {
2269
- "internalType": "uint256",
2270
- "name": "balance",
2271
- "type": "uint256"
2272
- },
2273
- {
2274
- "internalType": "uint256",
2275
- "name": "expectedMinBalance",
2276
- "type": "uint256"
2277
- }
2278
- ],
2279
- "name": "InvalidMarketTokenBalance",
2280
- "type": "error"
2281
- },
2282
- {
2283
- "inputs": [
2284
- {
2285
- "internalType": "address",
2286
- "name": "market",
2287
- "type": "address"
2288
- },
2289
- {
2290
- "internalType": "address",
2291
- "name": "token",
2292
- "type": "address"
2293
- },
2294
- {
2295
- "internalType": "uint256",
2296
- "name": "balance",
2297
- "type": "uint256"
2298
- },
2299
- {
2300
- "internalType": "uint256",
2301
- "name": "claimableFundingFeeAmount",
2302
- "type": "uint256"
2303
- }
2304
- ],
2305
- "name": "InvalidMarketTokenBalanceForClaimableFunding",
2306
- "type": "error"
2307
- },
2308
- {
2309
- "inputs": [
2310
- {
2311
- "internalType": "address",
2312
- "name": "market",
2313
- "type": "address"
2314
- },
2315
- {
2316
- "internalType": "address",
2317
- "name": "token",
2318
- "type": "address"
2319
- },
2320
- {
2321
- "internalType": "uint256",
2322
- "name": "balance",
2323
- "type": "uint256"
2324
- },
2325
- {
2326
- "internalType": "uint256",
2327
- "name": "collateralAmount",
2328
- "type": "uint256"
2329
- }
2330
- ],
2331
- "name": "InvalidMarketTokenBalanceForCollateralAmount",
2332
- "type": "error"
2333
- },
2334
- {
2335
- "inputs": [
2336
- {
2337
- "internalType": "uint256",
2338
- "name": "minGlvTokens",
2339
- "type": "uint256"
2340
- },
2341
- {
2342
- "internalType": "uint256",
2343
- "name": "expectedMinGlvTokens",
2344
- "type": "uint256"
2345
- }
2346
- ],
2347
- "name": "InvalidMinGlvTokensForFirstGlvDeposit",
2348
- "type": "error"
2349
- },
2350
- {
2351
- "inputs": [
2352
- {
2353
- "internalType": "uint256",
2354
- "name": "minMarketTokens",
2355
- "type": "uint256"
2356
- },
2357
- {
2358
- "internalType": "uint256",
2359
- "name": "expectedMinMarketTokens",
2360
- "type": "uint256"
2361
- }
2362
- ],
2363
- "name": "InvalidMinMarketTokensForFirstDeposit",
2364
- "type": "error"
2365
- },
2366
- {
2367
- "inputs": [
2368
- {
2369
- "internalType": "address",
2370
- "name": "token",
2371
- "type": "address"
2372
- },
2373
- {
2374
- "internalType": "uint256",
2375
- "name": "min",
2376
- "type": "uint256"
2377
- },
2378
- {
2379
- "internalType": "uint256",
2380
- "name": "max",
2381
- "type": "uint256"
2382
- }
2383
- ],
2384
- "name": "InvalidMinMaxForPrice",
2385
- "type": "error"
2386
- },
2387
- {
2388
- "inputs": [
2389
- {
2390
- "internalType": "address",
2391
- "name": "endpoint",
2392
- "type": "address"
2393
- }
2394
- ],
2395
- "name": "InvalidMultichainEndpoint",
2396
- "type": "error"
2397
- },
2398
- {
2399
- "inputs": [
2400
- {
2401
- "internalType": "address",
2402
- "name": "provider",
2403
- "type": "address"
2404
- }
2405
- ],
2406
- "name": "InvalidMultichainProvider",
2407
- "type": "error"
2408
- },
2409
- {
2410
- "inputs": [
2411
- {
2412
- "internalType": "address",
2413
- "name": "msgSender",
2414
- "type": "address"
2415
- }
2416
- ],
2417
- "name": "InvalidNativeTokenSender",
2418
- "type": "error"
2419
- },
2420
- {
2421
- "inputs": [
2422
- {
2423
- "internalType": "address",
2424
- "name": "provider",
2425
- "type": "address"
2426
- }
2427
- ],
2428
- "name": "InvalidOracleProvider",
2429
- "type": "error"
2430
- },
2431
- {
2432
- "inputs": [
2433
- {
2434
- "internalType": "address",
2435
- "name": "provider",
2436
- "type": "address"
2437
- },
2438
- {
2439
- "internalType": "address",
2440
- "name": "expectedProvider",
2441
- "type": "address"
2442
- }
2443
- ],
2444
- "name": "InvalidOracleProviderForToken",
2445
- "type": "error"
2446
- },
2447
- {
2448
- "inputs": [
2449
- {
2450
- "internalType": "uint256",
2451
- "name": "tokensLength",
2452
- "type": "uint256"
2453
- },
2454
- {
2455
- "internalType": "uint256",
2456
- "name": "dataLength",
2457
- "type": "uint256"
2458
- }
2459
- ],
2460
- "name": "InvalidOracleSetPricesDataParam",
2461
- "type": "error"
2462
- },
2463
- {
2464
- "inputs": [
2465
- {
2466
- "internalType": "uint256",
2467
- "name": "tokensLength",
2468
- "type": "uint256"
2469
- },
2470
- {
2471
- "internalType": "uint256",
2472
- "name": "providersLength",
2473
- "type": "uint256"
2474
- }
2475
- ],
2476
- "name": "InvalidOracleSetPricesProvidersParam",
2477
- "type": "error"
2478
- },
2479
- {
2480
- "inputs": [
2481
- {
2482
- "internalType": "address",
2483
- "name": "signer",
2484
- "type": "address"
2485
- }
2486
- ],
2487
- "name": "InvalidOracleSigner",
2488
- "type": "error"
2489
- },
2490
- {
2491
- "inputs": [
2492
- {
2493
- "internalType": "uint256",
2494
- "name": "primaryPriceMin",
2495
- "type": "uint256"
2496
- },
2497
- {
2498
- "internalType": "uint256",
2499
- "name": "primaryPriceMax",
2500
- "type": "uint256"
2501
- },
2502
- {
2503
- "internalType": "uint256",
2504
- "name": "triggerPrice",
2505
- "type": "uint256"
2506
- },
2507
- {
2508
- "internalType": "uint256",
2509
- "name": "orderType",
2510
- "type": "uint256"
2511
- }
2512
- ],
2513
- "name": "InvalidOrderPrices",
2514
- "type": "error"
2515
- },
2516
- {
2517
- "inputs": [
2518
- {
2519
- "internalType": "address",
2520
- "name": "tokenOut",
2521
- "type": "address"
2522
- },
2523
- {
2524
- "internalType": "address",
2525
- "name": "expectedTokenOut",
2526
- "type": "address"
2527
- }
2528
- ],
2529
- "name": "InvalidOutputToken",
2530
- "type": "error"
2531
- },
2532
- {
2533
- "inputs": [
2534
- {
2535
- "internalType": "string",
2536
- "name": "reason",
2537
- "type": "string"
2538
- }
2539
- ],
2540
- "name": "InvalidParams",
2541
- "type": "error"
2542
- },
2543
- {
2544
- "inputs": [
2545
- {
2546
- "internalType": "address",
2547
- "name": "spender",
2548
- "type": "address"
2549
- },
2550
- {
2551
- "internalType": "address",
2552
- "name": "expectedSpender",
2553
- "type": "address"
2554
- }
2555
- ],
2556
- "name": "InvalidPermitSpender",
2557
- "type": "error"
2558
- },
2559
- {
2560
- "inputs": [
2561
- {
2562
- "internalType": "int256",
2563
- "name": "poolValue",
2564
- "type": "int256"
2565
- }
2566
- ],
2567
- "name": "InvalidPoolValueForDeposit",
2568
- "type": "error"
2569
- },
2570
- {
2571
- "inputs": [
2572
- {
2573
- "internalType": "int256",
2574
- "name": "poolValue",
2575
- "type": "int256"
2576
- }
2577
- ],
2578
- "name": "InvalidPoolValueForWithdrawal",
2579
- "type": "error"
2580
- },
2581
- {
2582
- "inputs": [
2583
- {
2584
- "internalType": "uint256",
2585
- "name": "distributionAmount",
2586
- "type": "uint256"
2587
- },
2588
- {
2589
- "internalType": "uint256",
2590
- "name": "positionImpactPoolAmount",
2591
- "type": "uint256"
2592
- }
2593
- ],
2594
- "name": "InvalidPositionImpactPoolDistributionRate",
2595
- "type": "error"
2596
- },
2597
- {
2598
- "inputs": [
2599
- {
2600
- "internalType": "address",
2601
- "name": "market",
2602
- "type": "address"
2603
- }
2604
- ],
2605
- "name": "InvalidPositionMarket",
2606
- "type": "error"
2607
- },
2608
- {
2609
- "inputs": [
2610
- {
2611
- "internalType": "uint256",
2612
- "name": "sizeInUsd",
2613
- "type": "uint256"
2614
- },
2615
- {
2616
- "internalType": "uint256",
2617
- "name": "sizeInTokens",
2618
- "type": "uint256"
2619
- }
2620
- ],
2621
- "name": "InvalidPositionSizeValues",
2622
- "type": "error"
2623
- },
2624
- {
2625
- "inputs": [
2626
- {
2627
- "internalType": "uint256",
2628
- "name": "primaryTokensLength",
2629
- "type": "uint256"
2630
- },
2631
- {
2632
- "internalType": "uint256",
2633
- "name": "primaryPricesLength",
2634
- "type": "uint256"
2635
- }
2636
- ],
2637
- "name": "InvalidPrimaryPricesForSimulation",
2638
- "type": "error"
2639
- },
2640
- {
2641
- "inputs": [
2642
- {
2643
- "internalType": "address",
2644
- "name": "receiver",
2645
- "type": "address"
2646
- }
2647
- ],
2648
- "name": "InvalidReceiver",
2649
- "type": "error"
2650
- },
2651
- {
2652
- "inputs": [
2653
- {
2654
- "internalType": "address",
2655
- "name": "receiver",
2656
- "type": "address"
2657
- },
2658
- {
2659
- "internalType": "address",
2660
- "name": "expectedReceiver",
2661
- "type": "address"
2662
- }
2663
- ],
2664
- "name": "InvalidReceiverForFirstDeposit",
2665
- "type": "error"
2666
- },
2667
- {
2668
- "inputs": [
2669
- {
2670
- "internalType": "address",
2671
- "name": "receiver",
2672
- "type": "address"
2673
- },
2674
- {
2675
- "internalType": "address",
2676
- "name": "expectedReceiver",
2677
- "type": "address"
2678
- }
2679
- ],
2680
- "name": "InvalidReceiverForFirstGlvDeposit",
2681
- "type": "error"
2682
- },
2683
- {
2684
- "inputs": [
2685
- {
2686
- "internalType": "address",
2687
- "name": "receiver",
2688
- "type": "address"
2689
- },
2690
- {
2691
- "internalType": "address",
2692
- "name": "expectedReceiver",
2693
- "type": "address"
2694
- }
2695
- ],
2696
- "name": "InvalidReceiverForSubaccountOrder",
2697
- "type": "error"
2698
- },
2699
- {
2700
- "inputs": [
2701
- {
2702
- "internalType": "string",
2703
- "name": "signatureType",
2704
- "type": "string"
2705
- },
2706
- {
2707
- "internalType": "address",
2708
- "name": "recovered",
2709
- "type": "address"
2710
- },
2711
- {
2712
- "internalType": "address",
2713
- "name": "recoveredFromMinified",
2714
- "type": "address"
2715
- },
2716
- {
2717
- "internalType": "address",
2718
- "name": "expectedSigner",
2719
- "type": "address"
2720
- }
2721
- ],
2722
- "name": "InvalidRecoveredSigner",
2723
- "type": "error"
2724
- },
2725
- {
2726
- "inputs": [
2727
- {
2728
- "internalType": "uint256",
2729
- "name": "tokensLength",
2730
- "type": "uint256"
2731
- },
2732
- {
2733
- "internalType": "uint256",
2734
- "name": "amountsLength",
2735
- "type": "uint256"
2736
- }
2737
- ],
2738
- "name": "InvalidSetContributorPaymentInput",
2739
- "type": "error"
2740
- },
2741
- {
2742
- "inputs": [
2743
- {
2744
- "internalType": "uint256",
2745
- "name": "tokensLength",
2746
- "type": "uint256"
2747
- },
2748
- {
2749
- "internalType": "uint256",
2750
- "name": "amountsLength",
2751
- "type": "uint256"
2752
- }
2753
- ],
2754
- "name": "InvalidSetMaxTotalContributorTokenAmountInput",
2755
- "type": "error"
2756
- },
2757
- {
2758
- "inputs": [
2759
- {
2760
- "internalType": "string",
2761
- "name": "signatureType",
2762
- "type": "string"
2763
- }
2764
- ],
2765
- "name": "InvalidSignature",
2766
- "type": "error"
2767
- },
2768
- {
2769
- "inputs": [
2770
- {
2771
- "internalType": "uint256",
2772
- "name": "sizeDeltaUsd",
2773
- "type": "uint256"
2774
- },
2775
- {
2776
- "internalType": "uint256",
2777
- "name": "positionSizeInUsd",
2778
- "type": "uint256"
2779
- }
2780
- ],
2781
- "name": "InvalidSizeDeltaForAdl",
2782
- "type": "error"
2783
- },
2784
- {
2785
- "inputs": [
2786
- {
2787
- "internalType": "uint256",
2788
- "name": "srcChainId",
2789
- "type": "uint256"
2790
- }
2791
- ],
2792
- "name": "InvalidSrcChainId",
2793
- "type": "error"
2794
- },
2795
- {
2796
- "inputs": [
2797
- {
2798
- "internalType": "uint256",
2799
- "name": "desChainId",
2800
- "type": "uint256"
2801
- }
2802
- ],
2803
- "name": "InvalidSubaccountApprovalDesChainId",
2804
- "type": "error"
2805
- },
2806
- {
2807
- "inputs": [
2808
- {
2809
- "internalType": "uint256",
2810
- "name": "storedNonce",
2811
- "type": "uint256"
2812
- },
2813
- {
2814
- "internalType": "uint256",
2815
- "name": "nonce",
2816
- "type": "uint256"
2817
- }
2818
- ],
2819
- "name": "InvalidSubaccountApprovalNonce",
2820
- "type": "error"
2821
- },
2822
- {
2823
- "inputs": [],
2824
- "name": "InvalidSubaccountApprovalSubaccount",
2825
- "type": "error"
2826
- },
2827
- {
2828
- "inputs": [
2829
- {
2830
- "internalType": "address",
2831
- "name": "market",
2832
- "type": "address"
2833
- }
2834
- ],
2835
- "name": "InvalidSwapMarket",
2836
- "type": "error"
2837
- },
2838
- {
2839
- "inputs": [
2840
- {
2841
- "internalType": "address",
2842
- "name": "outputToken",
2843
- "type": "address"
2844
- },
2845
- {
2846
- "internalType": "address",
2847
- "name": "expectedOutputToken",
2848
- "type": "address"
2849
- }
2850
- ],
2851
- "name": "InvalidSwapOutputToken",
2852
- "type": "error"
2853
- },
2854
- {
2855
- "inputs": [
2856
- {
2857
- "internalType": "address[]",
2858
- "name": "path",
2859
- "type": "address[]"
2860
- },
2861
- {
2862
- "internalType": "address",
2863
- "name": "bridgingToken",
2864
- "type": "address"
2865
- }
2866
- ],
2867
- "name": "InvalidSwapPathForV1",
2868
- "type": "error"
2869
- },
2870
- {
2871
- "inputs": [
2872
- {
2873
- "internalType": "uint256",
2874
- "name": "timelockDelay",
2875
- "type": "uint256"
2876
- }
2877
- ],
2878
- "name": "InvalidTimelockDelay",
2879
- "type": "error"
2880
- },
2881
- {
2882
- "inputs": [
2883
- {
2884
- "internalType": "address",
2885
- "name": "token",
2886
- "type": "address"
2887
- }
2888
- ],
2889
- "name": "InvalidToken",
2890
- "type": "error"
2891
- },
2892
- {
2893
- "inputs": [
2894
- {
2895
- "internalType": "address",
2896
- "name": "tokenIn",
2897
- "type": "address"
2898
- },
2899
- {
2900
- "internalType": "address",
2901
- "name": "market",
2902
- "type": "address"
2903
- }
2904
- ],
2905
- "name": "InvalidTokenIn",
2906
- "type": "error"
2907
- },
2908
- {
2909
- "inputs": [],
2910
- "name": "InvalidTransferRequestsLength",
2911
- "type": "error"
2912
- },
2913
- {
2914
- "inputs": [],
2915
- "name": "InvalidTrustedSignerAddress",
2916
- "type": "error"
2917
- },
2918
- {
2919
- "inputs": [
2920
- {
2921
- "internalType": "uint256",
2922
- "name": "uiFeeFactor",
2923
- "type": "uint256"
2924
- },
2925
- {
2926
- "internalType": "uint256",
2927
- "name": "maxUiFeeFactor",
2928
- "type": "uint256"
2929
- }
2930
- ],
2931
- "name": "InvalidUiFeeFactor",
2932
- "type": "error"
2933
- },
2934
- {
2935
- "inputs": [
2936
- {
2937
- "internalType": "bytes32",
2938
- "name": "digest",
2939
- "type": "bytes32"
2940
- }
2941
- ],
2942
- "name": "InvalidUserDigest",
2943
- "type": "error"
2944
- },
2945
- {
2946
- "inputs": [
2947
- {
2948
- "internalType": "uint256",
2949
- "name": "version",
2950
- "type": "uint256"
2951
- }
2952
- ],
2953
- "name": "InvalidVersion",
2954
- "type": "error"
2955
- },
2956
- {
2957
- "inputs": [
2958
- {
2959
- "internalType": "string",
2960
- "name": "reason",
2961
- "type": "string"
2962
- },
2963
- {
2964
- "internalType": "int256",
2965
- "name": "remainingCollateralUsd",
2966
- "type": "int256"
2967
- },
2968
- {
2969
- "internalType": "int256",
2970
- "name": "minCollateralUsd",
2971
- "type": "int256"
2972
- },
2973
- {
2974
- "internalType": "int256",
2975
- "name": "minCollateralUsdForLeverage",
2976
- "type": "int256"
2977
- }
2978
- ],
2979
- "name": "LiquidatablePosition",
2980
- "type": "error"
2981
- },
2982
- {
2983
- "inputs": [
2984
- {
2985
- "internalType": "address",
2986
- "name": "fromMarketLongToken",
2987
- "type": "address"
2988
- },
2989
- {
2990
- "internalType": "address",
2991
- "name": "toMarketLongToken",
2992
- "type": "address"
2993
- }
2994
- ],
2995
- "name": "LongTokensAreNotEqual",
2996
- "type": "error"
2997
- },
2998
- {
2999
- "inputs": [
3000
- {
3001
- "internalType": "bytes32",
3002
- "name": "salt",
3003
- "type": "bytes32"
3004
- },
3005
- {
3006
- "internalType": "address",
3007
- "name": "existingMarketAddress",
3008
- "type": "address"
3009
- }
3010
- ],
3011
- "name": "MarketAlreadyExists",
3012
- "type": "error"
3013
- },
3014
- {
3015
- "inputs": [
3016
- {
3017
- "internalType": "address",
3018
- "name": "key",
3019
- "type": "address"
3020
- }
3021
- ],
3022
- "name": "MarketNotFound",
3023
- "type": "error"
3024
- },
3025
- {
3026
- "inputs": [
3027
- {
3028
- "internalType": "uint256",
3029
- "name": "index",
3030
- "type": "uint256"
3031
- },
3032
- {
3033
- "internalType": "string",
3034
- "name": "label",
3035
- "type": "string"
3036
- }
3037
- ],
3038
- "name": "MaskIndexOutOfBounds",
3039
- "type": "error"
3040
- },
3041
- {
3042
- "inputs": [
3043
- {
3044
- "internalType": "uint256",
3045
- "name": "count",
3046
- "type": "uint256"
3047
- },
3048
- {
3049
- "internalType": "uint256",
3050
- "name": "maxAutoCancelOrders",
3051
- "type": "uint256"
3052
- }
3053
- ],
3054
- "name": "MaxAutoCancelOrdersExceeded",
3055
- "type": "error"
3056
- },
3057
- {
3058
- "inputs": [
3059
- {
3060
- "internalType": "uint256",
3061
- "name": "priceTimestamp",
3062
- "type": "uint256"
3063
- },
3064
- {
3065
- "internalType": "uint256",
3066
- "name": "buybackMaxPriceAge",
3067
- "type": "uint256"
3068
- },
3069
- {
3070
- "internalType": "uint256",
3071
- "name": "currentTimestamp",
3072
- "type": "uint256"
3073
- }
3074
- ],
3075
- "name": "MaxBuybackPriceAgeExceeded",
3076
- "type": "error"
3077
- },
3078
- {
3079
- "inputs": [
3080
- {
3081
- "internalType": "uint256",
3082
- "name": "callbackGasLimit",
3083
- "type": "uint256"
3084
- },
3085
- {
3086
- "internalType": "uint256",
3087
- "name": "maxCallbackGasLimit",
3088
- "type": "uint256"
3089
- }
3090
- ],
3091
- "name": "MaxCallbackGasLimitExceeded",
3092
- "type": "error"
3093
- },
3094
- {
3095
- "inputs": [
3096
- {
3097
- "internalType": "uint256",
3098
- "name": "dataLength",
3099
- "type": "uint256"
3100
- },
3101
- {
3102
- "internalType": "uint256",
3103
- "name": "maxDataLength",
3104
- "type": "uint256"
3105
- }
3106
- ],
3107
- "name": "MaxDataListLengthExceeded",
3108
- "type": "error"
3109
- },
3110
- {
3111
- "inputs": [
3112
- {
3113
- "internalType": "uint256",
3114
- "name": "maxFundingFactorPerSecond",
3115
- "type": "uint256"
3116
- },
3117
- {
3118
- "internalType": "uint256",
3119
- "name": "limit",
3120
- "type": "uint256"
3121
- }
3122
- ],
3123
- "name": "MaxFundingFactorPerSecondLimitExceeded",
3124
- "type": "error"
3125
- },
3126
- {
3127
- "inputs": [
3128
- {
3129
- "internalType": "uint256",
3130
- "name": "poolUsd",
3131
- "type": "uint256"
3132
- },
3133
- {
3134
- "internalType": "uint256",
3135
- "name": "maxLendableUsd",
3136
- "type": "uint256"
3137
- },
3138
- {
3139
- "internalType": "uint256",
3140
- "name": "lentUsd",
3141
- "type": "uint256"
3142
- }
3143
- ],
3144
- "name": "MaxLendableFactorForWithdrawalsExceeded",
3145
- "type": "error"
3146
- },
3147
- {
3148
- "inputs": [
3149
- {
3150
- "internalType": "uint256",
3151
- "name": "openInterest",
3152
- "type": "uint256"
3153
- },
3154
- {
3155
- "internalType": "uint256",
3156
- "name": "maxOpenInterest",
3157
- "type": "uint256"
3158
- }
3159
- ],
3160
- "name": "MaxOpenInterestExceeded",
3161
- "type": "error"
3162
- },
3163
- {
3164
- "inputs": [
3165
- {
3166
- "internalType": "uint256",
3167
- "name": "range",
3168
- "type": "uint256"
3169
- },
3170
- {
3171
- "internalType": "uint256",
3172
- "name": "maxRange",
3173
- "type": "uint256"
3174
- }
3175
- ],
3176
- "name": "MaxOracleTimestampRangeExceeded",
3177
- "type": "error"
3178
- },
3179
- {
3180
- "inputs": [
3181
- {
3182
- "internalType": "uint256",
3183
- "name": "poolAmount",
3184
- "type": "uint256"
3185
- },
3186
- {
3187
- "internalType": "uint256",
3188
- "name": "maxPoolAmount",
3189
- "type": "uint256"
3190
- }
3191
- ],
3192
- "name": "MaxPoolAmountExceeded",
3193
- "type": "error"
3194
- },
3195
- {
3196
- "inputs": [
3197
- {
3198
- "internalType": "uint256",
3199
- "name": "poolUsd",
3200
- "type": "uint256"
3201
- },
3202
- {
3203
- "internalType": "uint256",
3204
- "name": "maxPoolUsdForDeposit",
3205
- "type": "uint256"
3206
- }
3207
- ],
3208
- "name": "MaxPoolUsdForDepositExceeded",
3209
- "type": "error"
3210
- },
3211
- {
3212
- "inputs": [
3213
- {
3214
- "internalType": "uint256",
3215
- "name": "oracleTimestamp",
3216
- "type": "uint256"
3217
- },
3218
- {
3219
- "internalType": "uint256",
3220
- "name": "currentTimestamp",
3221
- "type": "uint256"
3222
- }
3223
- ],
3224
- "name": "MaxPriceAgeExceeded",
3225
- "type": "error"
3226
- },
3227
- {
3228
- "inputs": [
3229
- {
3230
- "internalType": "address",
3231
- "name": "token",
3232
- "type": "address"
3233
- },
3234
- {
3235
- "internalType": "uint256",
3236
- "name": "price",
3237
- "type": "uint256"
3238
- },
3239
- {
3240
- "internalType": "uint256",
3241
- "name": "refPrice",
3242
- "type": "uint256"
3243
- },
3244
- {
3245
- "internalType": "uint256",
3246
- "name": "maxRefPriceDeviationFactor",
3247
- "type": "uint256"
3248
- }
3249
- ],
3250
- "name": "MaxRefPriceDeviationExceeded",
3251
- "type": "error"
3252
- },
3253
- {
3254
- "inputs": [
3255
- {
3256
- "internalType": "uint256",
3257
- "name": "feeUsd",
3258
- "type": "uint256"
3259
- },
3260
- {
3261
- "internalType": "uint256",
3262
- "name": "maxFeeUsd",
3263
- "type": "uint256"
3264
- }
3265
- ],
3266
- "name": "MaxRelayFeeSwapForSubaccountExceeded",
3267
- "type": "error"
3268
- },
3269
- {
3270
- "inputs": [
3271
- {
3272
- "internalType": "address",
3273
- "name": "account",
3274
- "type": "address"
3275
- },
3276
- {
3277
- "internalType": "address",
3278
- "name": "subaccount",
3279
- "type": "address"
3280
- },
3281
- {
3282
- "internalType": "uint256",
3283
- "name": "count",
3284
- "type": "uint256"
3285
- },
3286
- {
3287
- "internalType": "uint256",
3288
- "name": "maxCount",
3289
- "type": "uint256"
3290
- }
3291
- ],
3292
- "name": "MaxSubaccountActionCountExceeded",
3293
- "type": "error"
3294
- },
3295
- {
3296
- "inputs": [
3297
- {
3298
- "internalType": "uint256",
3299
- "name": "swapPathLengh",
3300
- "type": "uint256"
3301
- },
3302
- {
3303
- "internalType": "uint256",
3304
- "name": "maxSwapPathLength",
3305
- "type": "uint256"
3306
- }
3307
- ],
3308
- "name": "MaxSwapPathLengthExceeded",
3309
- "type": "error"
3310
- },
3311
- {
3312
- "inputs": [
3313
- {
3314
- "internalType": "uint256",
3315
- "name": "timelockDelay",
3316
- "type": "uint256"
3317
- }
3318
- ],
3319
- "name": "MaxTimelockDelayExceeded",
3320
- "type": "error"
3321
- },
3322
- {
3323
- "inputs": [
3324
- {
3325
- "internalType": "uint256",
3326
- "name": "totalCallbackGasLimit",
3327
- "type": "uint256"
3328
- },
3329
- {
3330
- "internalType": "uint256",
3331
- "name": "maxTotalCallbackGasLimit",
3332
- "type": "uint256"
3333
- }
3334
- ],
3335
- "name": "MaxTotalCallbackGasLimitForAutoCancelOrdersExceeded",
3336
- "type": "error"
3337
- },
3338
- {
3339
- "inputs": [
3340
- {
3341
- "internalType": "address",
3342
- "name": "token",
3343
- "type": "address"
3344
- },
3345
- {
3346
- "internalType": "uint256",
3347
- "name": "totalAmount",
3348
- "type": "uint256"
3349
- },
3350
- {
3351
- "internalType": "uint256",
3352
- "name": "maxTotalAmount",
3353
- "type": "uint256"
3354
- }
3355
- ],
3356
- "name": "MaxTotalContributorTokenAmountExceeded",
3357
- "type": "error"
3358
- },
3359
- {
3360
- "inputs": [
3361
- {
3362
- "internalType": "uint256",
3363
- "name": "interval",
3364
- "type": "uint256"
3365
- }
3366
- ],
3367
- "name": "MinContributorPaymentIntervalBelowAllowedRange",
3368
- "type": "error"
3369
- },
3370
- {
3371
- "inputs": [
3372
- {
3373
- "internalType": "uint256",
3374
- "name": "minPaymentInterval",
3375
- "type": "uint256"
3376
- }
3377
- ],
3378
- "name": "MinContributorPaymentIntervalNotYetPassed",
3379
- "type": "error"
3380
- },
3381
- {
3382
- "inputs": [
3383
- {
3384
- "internalType": "uint256",
3385
- "name": "received",
3386
- "type": "uint256"
3387
- },
3388
- {
3389
- "internalType": "uint256",
3390
- "name": "expected",
3391
- "type": "uint256"
3392
- }
3393
- ],
3394
- "name": "MinGlvTokens",
3395
- "type": "error"
3396
- },
3397
- {
3398
- "inputs": [
3399
- {
3400
- "internalType": "uint256",
3401
- "name": "received",
3402
- "type": "uint256"
3403
- },
3404
- {
3405
- "internalType": "uint256",
3406
- "name": "expected",
3407
- "type": "uint256"
3408
- }
3409
- ],
3410
- "name": "MinLongTokens",
3411
- "type": "error"
3412
- },
3413
- {
3414
- "inputs": [
3415
- {
3416
- "internalType": "uint256",
3417
- "name": "received",
3418
- "type": "uint256"
3419
- },
3420
- {
3421
- "internalType": "uint256",
3422
- "name": "expected",
3423
- "type": "uint256"
3424
- }
3425
- ],
3426
- "name": "MinMarketTokens",
3427
- "type": "error"
3428
- },
3429
- {
3430
- "inputs": [
3431
- {
3432
- "internalType": "uint256",
3433
- "name": "positionSizeInUsd",
3434
- "type": "uint256"
3435
- },
3436
- {
3437
- "internalType": "uint256",
3438
- "name": "minPositionSizeUsd",
3439
- "type": "uint256"
3440
- }
3441
- ],
3442
- "name": "MinPositionSize",
3443
- "type": "error"
3444
- },
3445
- {
3446
- "inputs": [
3447
- {
3448
- "internalType": "uint256",
3449
- "name": "received",
3450
- "type": "uint256"
3451
- },
3452
- {
3453
- "internalType": "uint256",
3454
- "name": "expected",
3455
- "type": "uint256"
3456
- }
3457
- ],
3458
- "name": "MinShortTokens",
3459
- "type": "error"
3460
- },
3461
- {
3462
- "inputs": [
3463
- {
3464
- "internalType": "int256",
3465
- "name": "executionPrice",
3466
- "type": "int256"
3467
- },
3468
- {
3469
- "internalType": "uint256",
3470
- "name": "price",
3471
- "type": "uint256"
3472
- },
3473
- {
3474
- "internalType": "uint256",
3475
- "name": "positionSizeInUsd",
3476
- "type": "uint256"
3477
- },
3478
- {
3479
- "internalType": "int256",
3480
- "name": "priceImpactUsd",
3481
- "type": "int256"
3482
- },
3483
- {
3484
- "internalType": "uint256",
3485
- "name": "sizeDeltaUsd",
3486
- "type": "uint256"
3487
- }
3488
- ],
3489
- "name": "NegativeExecutionPrice",
3490
- "type": "error"
3491
- },
3492
- {
3493
- "inputs": [
3494
- {
3495
- "internalType": "address",
3496
- "name": "provider",
3497
- "type": "address"
3498
- }
3499
- ],
3500
- "name": "NonAtomicOracleProvider",
3501
- "type": "error"
3502
- },
3503
- {
3504
- "inputs": [],
3505
- "name": "NonEmptyExternalCallsForSubaccountOrder",
3506
- "type": "error"
3507
- },
3508
- {
3509
- "inputs": [
3510
- {
3511
- "internalType": "uint256",
3512
- "name": "tokensWithPricesLength",
3513
- "type": "uint256"
3514
- }
3515
- ],
3516
- "name": "NonEmptyTokensWithPrices",
3517
- "type": "error"
3518
- },
3519
- {
3520
- "inputs": [
3521
- {
3522
- "internalType": "address",
3523
- "name": "market",
3524
- "type": "address"
3525
- }
3526
- ],
3527
- "name": "OpenInterestCannotBeUpdatedForSwapOnlyMarket",
3528
- "type": "error"
3529
- },
3530
- {
3531
- "inputs": [],
3532
- "name": "OraclePriceOutdated",
3533
- "type": "error"
3534
- },
3535
- {
3536
- "inputs": [
3537
- {
3538
- "internalType": "address",
3539
- "name": "oracle",
3540
- "type": "address"
3541
- },
3542
- {
3543
- "internalType": "address",
3544
- "name": "token",
3545
- "type": "address"
3546
- }
3547
- ],
3548
- "name": "OracleProviderAlreadyExistsForToken",
3549
- "type": "error"
3550
- },
3551
- {
3552
- "inputs": [
3553
- {
3554
- "internalType": "address",
3555
- "name": "token",
3556
- "type": "address"
3557
- },
3558
- {
3559
- "internalType": "address",
3560
- "name": "provider",
3561
- "type": "address"
3562
- }
3563
- ],
3564
- "name": "OracleProviderMinChangeDelayNotYetPassed",
3565
- "type": "error"
3566
- },
3567
- {
3568
- "inputs": [
3569
- {
3570
- "internalType": "uint256",
3571
- "name": "maxOracleTimestamp",
3572
- "type": "uint256"
3573
- },
3574
- {
3575
- "internalType": "uint256",
3576
- "name": "requestTimestamp",
3577
- "type": "uint256"
3578
- },
3579
- {
3580
- "internalType": "uint256",
3581
- "name": "requestExpirationTime",
3582
- "type": "uint256"
3583
- }
3584
- ],
3585
- "name": "OracleTimestampsAreLargerThanRequestExpirationTime",
3586
- "type": "error"
3587
- },
3588
- {
3589
- "inputs": [
3590
- {
3591
- "internalType": "uint256",
3592
- "name": "minOracleTimestamp",
3593
- "type": "uint256"
3594
- },
3595
- {
3596
- "internalType": "uint256",
3597
- "name": "expectedTimestamp",
3598
- "type": "uint256"
3599
- }
3600
- ],
3601
- "name": "OracleTimestampsAreSmallerThanRequired",
3602
- "type": "error"
3603
- },
3604
- {
3605
- "inputs": [],
3606
- "name": "OrderAlreadyFrozen",
3607
- "type": "error"
3608
- },
3609
- {
3610
- "inputs": [
3611
- {
3612
- "internalType": "bytes32",
3613
- "name": "key",
3614
- "type": "bytes32"
3615
- }
3616
- ],
3617
- "name": "OrderNotFound",
3618
- "type": "error"
3619
- },
3620
- {
3621
- "inputs": [
3622
- {
3623
- "internalType": "uint256",
3624
- "name": "price",
3625
- "type": "uint256"
3626
- },
3627
- {
3628
- "internalType": "uint256",
3629
- "name": "acceptablePrice",
3630
- "type": "uint256"
3631
- }
3632
- ],
3633
- "name": "OrderNotFulfillableAtAcceptablePrice",
3634
- "type": "error"
3635
- },
3636
- {
3637
- "inputs": [
3638
- {
3639
- "internalType": "uint256",
3640
- "name": "orderType",
3641
- "type": "uint256"
3642
- }
3643
- ],
3644
- "name": "OrderNotUpdatable",
3645
- "type": "error"
3646
- },
3647
- {
3648
- "inputs": [
3649
- {
3650
- "internalType": "uint256",
3651
- "name": "orderType",
3652
- "type": "uint256"
3653
- }
3654
- ],
3655
- "name": "OrderTypeCannotBeCreated",
3656
- "type": "error"
3657
- },
3658
- {
3659
- "inputs": [
3660
- {
3661
- "internalType": "uint256",
3662
- "name": "validFromTime",
3663
- "type": "uint256"
3664
- },
3665
- {
3666
- "internalType": "uint256",
3667
- "name": "currentTimestamp",
3668
- "type": "uint256"
3669
- }
3670
- ],
3671
- "name": "OrderValidFromTimeNotReached",
3672
- "type": "error"
3673
- },
3674
- {
3675
- "inputs": [
3676
- {
3677
- "internalType": "int256",
3678
- "name": "pnlToPoolFactor",
3679
- "type": "int256"
3680
- },
3681
- {
3682
- "internalType": "uint256",
3683
- "name": "maxPnlFactor",
3684
- "type": "uint256"
3685
- }
3686
- ],
3687
- "name": "PnlFactorExceededForLongs",
3688
- "type": "error"
3689
- },
3690
- {
3691
- "inputs": [
3692
- {
3693
- "internalType": "int256",
3694
- "name": "pnlToPoolFactor",
3695
- "type": "int256"
3696
- },
3697
- {
3698
- "internalType": "uint256",
3699
- "name": "maxPnlFactor",
3700
- "type": "uint256"
3701
- }
3702
- ],
3703
- "name": "PnlFactorExceededForShorts",
3704
- "type": "error"
3705
- },
3706
- {
3707
- "inputs": [
3708
- {
3709
- "internalType": "int256",
3710
- "name": "nextPnlToPoolFactor",
3711
- "type": "int256"
3712
- },
3713
- {
3714
- "internalType": "uint256",
3715
- "name": "minPnlFactorForAdl",
3716
- "type": "uint256"
3717
- }
3718
- ],
3719
- "name": "PnlOvercorrected",
3720
- "type": "error"
3721
- },
3722
- {
3723
- "inputs": [
3724
- {
3725
- "internalType": "bytes32",
3726
- "name": "key",
3727
- "type": "bytes32"
3728
- }
3729
- ],
3730
- "name": "PositionNotFound",
3731
- "type": "error"
3732
- },
3733
- {
3734
- "inputs": [
3735
- {
3736
- "internalType": "string",
3737
- "name": "reason",
3738
- "type": "string"
3739
- },
3740
- {
3741
- "internalType": "int256",
3742
- "name": "remainingCollateralUsd",
3743
- "type": "int256"
3744
- },
3745
- {
3746
- "internalType": "int256",
3747
- "name": "minCollateralUsd",
3748
- "type": "int256"
3749
- },
3750
- {
3751
- "internalType": "int256",
3752
- "name": "minCollateralUsdForLeverage",
3753
- "type": "int256"
3754
- }
3755
- ],
3756
- "name": "PositionShouldNotBeLiquidated",
3757
- "type": "error"
3758
- },
3759
- {
3760
- "inputs": [
3761
- {
3762
- "internalType": "address",
3763
- "name": "token",
3764
- "type": "address"
3765
- },
3766
- {
3767
- "internalType": "uint256",
3768
- "name": "minPrice",
3769
- "type": "uint256"
3770
- },
3771
- {
3772
- "internalType": "uint256",
3773
- "name": "maxPrice",
3774
- "type": "uint256"
3775
- }
3776
- ],
3777
- "name": "PriceAlreadySet",
3778
- "type": "error"
3779
- },
3780
- {
3781
- "inputs": [
3782
- {
3783
- "internalType": "address",
3784
- "name": "token",
3785
- "type": "address"
3786
- }
3787
- ],
3788
- "name": "PriceFeedAlreadyExistsForToken",
3789
- "type": "error"
3790
- },
3791
- {
3792
- "inputs": [
3793
- {
3794
- "internalType": "int256",
3795
- "name": "priceImpactUsd",
3796
- "type": "int256"
3797
- },
3798
- {
3799
- "internalType": "uint256",
3800
- "name": "sizeDeltaUsd",
3801
- "type": "uint256"
3802
- }
3803
- ],
3804
- "name": "PriceImpactLargerThanOrderSize",
3805
- "type": "error"
3806
- },
3807
- {
3808
- "inputs": [
3809
- {
3810
- "internalType": "uint256",
3811
- "name": "lentAmount",
3812
- "type": "uint256"
3813
- },
3814
- {
3815
- "internalType": "uint256",
3816
- "name": "totalReductionAmount",
3817
- "type": "uint256"
3818
- }
3819
- ],
3820
- "name": "ReductionExceedsLentAmount",
3821
- "type": "error"
3822
- },
3823
- {
3824
- "inputs": [
3825
- {
3826
- "internalType": "uint256",
3827
- "name": "calldataLength",
3828
- "type": "uint256"
3829
- }
3830
- ],
3831
- "name": "RelayCalldataTooLong",
3832
- "type": "error"
3833
- },
3834
- {
3835
- "inputs": [],
3836
- "name": "RelayEmptyBatch",
3837
- "type": "error"
3838
- },
3839
- {
3840
- "inputs": [
3841
- {
3842
- "internalType": "uint256",
3843
- "name": "requestAge",
3844
- "type": "uint256"
3845
- },
3846
- {
3847
- "internalType": "uint256",
3848
- "name": "requestExpirationAge",
3849
- "type": "uint256"
3850
- },
3851
- {
3852
- "internalType": "string",
3853
- "name": "requestType",
3854
- "type": "string"
3855
- }
3856
- ],
3857
- "name": "RequestNotYetCancellable",
3858
- "type": "error"
3859
- },
3860
- {
3861
- "inputs": [
3862
- {
3863
- "internalType": "address",
3864
- "name": "receiver",
3865
- "type": "address"
3866
- }
3867
- ],
3868
- "name": "SelfTransferNotSupported",
3869
- "type": "error"
3870
- },
3871
- {
3872
- "inputs": [],
3873
- "name": "SequencerDown",
3874
- "type": "error"
3875
- },
3876
- {
3877
- "inputs": [
3878
- {
3879
- "internalType": "uint256",
3880
- "name": "timeSinceUp",
3881
- "type": "uint256"
3882
- },
3883
- {
3884
- "internalType": "uint256",
3885
- "name": "sequencerGraceDuration",
3886
- "type": "uint256"
3887
- }
3888
- ],
3889
- "name": "SequencerGraceDurationNotYetPassed",
3890
- "type": "error"
3891
- },
3892
- {
3893
- "inputs": [
3894
- {
3895
- "internalType": "address",
3896
- "name": "market",
3897
- "type": "address"
3898
- }
3899
- ],
3900
- "name": "ShiftFromAndToMarketAreEqual",
3901
- "type": "error"
3902
- },
3903
- {
3904
- "inputs": [
3905
- {
3906
- "internalType": "bytes32",
3907
- "name": "key",
3908
- "type": "bytes32"
3909
- }
3910
- ],
3911
- "name": "ShiftNotFound",
3912
- "type": "error"
3913
- },
3914
- {
3915
- "inputs": [
3916
- {
3917
- "internalType": "address",
3918
- "name": "fromMarketLongToken",
3919
- "type": "address"
3920
- },
3921
- {
3922
- "internalType": "address",
3923
- "name": "toMarketLongToken",
3924
- "type": "address"
3925
- }
3926
- ],
3927
- "name": "ShortTokensAreNotEqual",
3928
- "type": "error"
3929
- },
3930
- {
3931
- "inputs": [
3932
- {
3933
- "internalType": "uint256",
3934
- "name": "signalTime",
3935
- "type": "uint256"
3936
- }
3937
- ],
3938
- "name": "SignalTimeNotYetPassed",
3939
- "type": "error"
3940
- },
3941
- {
3942
- "inputs": [
3943
- {
3944
- "internalType": "uint256",
3945
- "name": "currentTimestamp",
3946
- "type": "uint256"
3947
- },
3948
- {
3949
- "internalType": "uint256",
3950
- "name": "deadline",
3951
- "type": "uint256"
3952
- }
3953
- ],
3954
- "name": "SubaccountApprovalDeadlinePassed",
3955
- "type": "error"
3956
- },
3957
- {
3958
- "inputs": [
3959
- {
3960
- "internalType": "address",
3961
- "name": "account",
3962
- "type": "address"
3963
- },
3964
- {
3965
- "internalType": "address",
3966
- "name": "subaccount",
3967
- "type": "address"
3968
- },
3969
- {
3970
- "internalType": "uint256",
3971
- "name": "deadline",
3972
- "type": "uint256"
3973
- },
3974
- {
3975
- "internalType": "uint256",
3976
- "name": "currentTimestamp",
3977
- "type": "uint256"
3978
- }
3979
- ],
3980
- "name": "SubaccountApprovalExpired",
3981
- "type": "error"
3982
- },
3983
- {
3984
- "inputs": [
3985
- {
3986
- "internalType": "bytes32",
3987
- "name": "integrationId",
3988
- "type": "bytes32"
3989
- }
3990
- ],
3991
- "name": "SubaccountIntegrationIdDisabled",
3992
- "type": "error"
3993
- },
3994
- {
3995
- "inputs": [
3996
- {
3997
- "internalType": "address",
3998
- "name": "account",
3999
- "type": "address"
4000
- },
4001
- {
4002
- "internalType": "address",
4003
- "name": "subaccount",
4004
- "type": "address"
4005
- }
4006
- ],
4007
- "name": "SubaccountNotAuthorized",
4008
- "type": "error"
4009
- },
4010
- {
4011
- "inputs": [
4012
- {
4013
- "internalType": "uint256",
4014
- "name": "amountAfterFees",
4015
- "type": "uint256"
4016
- },
4017
- {
4018
- "internalType": "int256",
4019
- "name": "negativeImpactAmount",
4020
- "type": "int256"
4021
- }
4022
- ],
4023
- "name": "SwapPriceImpactExceedsAmountIn",
4024
- "type": "error"
4025
- },
4026
- {
4027
- "inputs": [
4028
- {
4029
- "internalType": "uint256",
4030
- "name": "longTokenSwapPathLength",
4031
- "type": "uint256"
4032
- },
4033
- {
4034
- "internalType": "uint256",
4035
- "name": "shortTokenSwapPathLength",
4036
- "type": "uint256"
4037
- }
4038
- ],
4039
- "name": "SwapsNotAllowedForAtomicWithdrawal",
4040
- "type": "error"
4041
- },
4042
- {
4043
- "inputs": [
4044
- {
4045
- "internalType": "uint256",
4046
- "name": "marketsLength",
4047
- "type": "uint256"
4048
- },
4049
- {
4050
- "internalType": "uint256",
4051
- "name": "parametersLength",
4052
- "type": "uint256"
4053
- }
4054
- ],
4055
- "name": "SyncConfigInvalidInputLengths",
4056
- "type": "error"
4057
- },
4058
- {
4059
- "inputs": [
4060
- {
4061
- "internalType": "address",
4062
- "name": "market",
4063
- "type": "address"
4064
- },
4065
- {
4066
- "internalType": "address",
4067
- "name": "marketFromData",
4068
- "type": "address"
4069
- }
4070
- ],
4071
- "name": "SyncConfigInvalidMarketFromData",
4072
- "type": "error"
4073
- },
4074
- {
4075
- "inputs": [
4076
- {
4077
- "internalType": "address",
4078
- "name": "market",
4079
- "type": "address"
4080
- }
4081
- ],
4082
- "name": "SyncConfigUpdatesDisabledForMarket",
4083
- "type": "error"
4084
- },
4085
- {
4086
- "inputs": [
4087
- {
4088
- "internalType": "address",
4089
- "name": "market",
4090
- "type": "address"
4091
- },
4092
- {
4093
- "internalType": "string",
4094
- "name": "parameter",
4095
- "type": "string"
4096
- }
4097
- ],
4098
- "name": "SyncConfigUpdatesDisabledForMarketParameter",
4099
- "type": "error"
4100
- },
4101
- {
4102
- "inputs": [
4103
- {
4104
- "internalType": "string",
4105
- "name": "parameter",
4106
- "type": "string"
4107
- }
4108
- ],
4109
- "name": "SyncConfigUpdatesDisabledForParameter",
4110
- "type": "error"
4111
- },
4112
- {
4113
- "inputs": [],
4114
- "name": "ThereMustBeAtLeastOneRoleAdmin",
4115
- "type": "error"
4116
- },
4117
- {
4118
- "inputs": [],
4119
- "name": "ThereMustBeAtLeastOneTimelockMultiSig",
4120
- "type": "error"
4121
- },
4122
- {
4123
- "inputs": [],
4124
- "name": "TokenPermitsNotAllowedForMultichain",
4125
- "type": "error"
4126
- },
4127
- {
4128
- "inputs": [
4129
- {
4130
- "internalType": "address",
4131
- "name": "token",
4132
- "type": "address"
4133
- },
4134
- {
4135
- "internalType": "address",
4136
- "name": "receiver",
4137
- "type": "address"
4138
- },
4139
- {
4140
- "internalType": "uint256",
4141
- "name": "amount",
4142
- "type": "uint256"
4143
- }
4144
- ],
4145
- "name": "TokenTransferError",
4146
- "type": "error"
4147
- },
4148
- {
4149
- "inputs": [
4150
- {
4151
- "internalType": "uint256",
4152
- "name": "length",
4153
- "type": "uint256"
4154
- }
4155
- ],
4156
- "name": "Uint256AsBytesLengthExceeds32Bytes",
4157
- "type": "error"
4158
- },
4159
- {
4160
- "inputs": [],
4161
- "name": "UnableToGetBorrowingFactorEmptyPoolUsd",
4162
- "type": "error"
4163
- },
4164
- {
4165
- "inputs": [
4166
- {
4167
- "internalType": "address",
4168
- "name": "token",
4169
- "type": "address"
4170
- },
4171
- {
4172
- "internalType": "address",
4173
- "name": "market",
4174
- "type": "address"
4175
- }
4176
- ],
4177
- "name": "UnableToGetCachedTokenPrice",
4178
- "type": "error"
4179
- },
4180
- {
4181
- "inputs": [],
4182
- "name": "UnableToGetFundingFactorEmptyOpenInterest",
4183
- "type": "error"
4184
- },
4185
- {
4186
- "inputs": [
4187
- {
4188
- "internalType": "address",
4189
- "name": "inputToken",
4190
- "type": "address"
4191
- },
4192
- {
4193
- "internalType": "address",
4194
- "name": "market",
4195
- "type": "address"
4196
- }
4197
- ],
4198
- "name": "UnableToGetOppositeToken",
4199
- "type": "error"
4200
- },
4201
- {
4202
- "inputs": [],
4203
- "name": "UnableToPayOrderFee",
4204
- "type": "error"
4205
- },
4206
- {
4207
- "inputs": [],
4208
- "name": "UnableToPayOrderFeeFromCollateral",
4209
- "type": "error"
4210
- },
4211
- {
4212
- "inputs": [
4213
- {
4214
- "internalType": "int256",
4215
- "name": "estimatedRemainingCollateralUsd",
4216
- "type": "int256"
4217
- }
4218
- ],
4219
- "name": "UnableToWithdrawCollateral",
4220
- "type": "error"
4221
- },
4222
- {
4223
- "inputs": [
4224
- {
4225
- "internalType": "address",
4226
- "name": "msgSender",
4227
- "type": "address"
4228
- },
4229
- {
4230
- "internalType": "string",
4231
- "name": "role",
4232
- "type": "string"
4233
- }
4234
- ],
4235
- "name": "Unauthorized",
4236
- "type": "error"
4237
- },
4238
- {
4239
- "inputs": [
4240
- {
4241
- "internalType": "uint256",
4242
- "name": "positionBorrowingFactor",
4243
- "type": "uint256"
4244
- },
4245
- {
4246
- "internalType": "uint256",
4247
- "name": "cumulativeBorrowingFactor",
4248
- "type": "uint256"
4249
- }
4250
- ],
4251
- "name": "UnexpectedBorrowingFactor",
4252
- "type": "error"
4253
- },
4254
- {
4255
- "inputs": [],
4256
- "name": "UnexpectedMarket",
4257
- "type": "error"
4258
- },
4259
- {
4260
- "inputs": [
4261
- {
4262
- "internalType": "int256",
4263
- "name": "poolValue",
4264
- "type": "int256"
4265
- }
4266
- ],
4267
- "name": "UnexpectedPoolValue",
4268
- "type": "error"
4269
- },
4270
- {
4271
- "inputs": [],
4272
- "name": "UnexpectedPositionState",
4273
- "type": "error"
4274
- },
4275
- {
4276
- "inputs": [
4277
- {
4278
- "internalType": "address",
4279
- "name": "feeToken",
4280
- "type": "address"
4281
- },
4282
- {
4283
- "internalType": "address",
4284
- "name": "expectedFeeToken",
4285
- "type": "address"
4286
- }
4287
- ],
4288
- "name": "UnexpectedRelayFeeToken",
4289
- "type": "error"
4290
- },
4291
- {
4292
- "inputs": [
4293
- {
4294
- "internalType": "address",
4295
- "name": "feeToken",
4296
- "type": "address"
4297
- },
4298
- {
4299
- "internalType": "address",
4300
- "name": "expectedFeeToken",
4301
- "type": "address"
4302
- }
4303
- ],
4304
- "name": "UnexpectedRelayFeeTokenAfterSwap",
4305
- "type": "error"
4306
- },
4307
- {
4308
- "inputs": [
4309
- {
4310
- "internalType": "address",
4311
- "name": "token",
4312
- "type": "address"
4313
- },
4314
- {
4315
- "internalType": "address",
4316
- "name": "market",
4317
- "type": "address"
4318
- }
4319
- ],
4320
- "name": "UnexpectedTokenForVirtualInventory",
4321
- "type": "error"
4322
- },
4323
- {
4324
- "inputs": [
4325
- {
4326
- "internalType": "uint256",
4327
- "name": "orderType",
4328
- "type": "uint256"
4329
- }
4330
- ],
4331
- "name": "UnexpectedValidFromTime",
4332
- "type": "error"
4333
- },
4334
- {
4335
- "inputs": [
4336
- {
4337
- "internalType": "uint256",
4338
- "name": "orderType",
4339
- "type": "uint256"
4340
- }
4341
- ],
4342
- "name": "UnsupportedOrderType",
4343
- "type": "error"
4344
- },
4345
- {
4346
- "inputs": [
4347
- {
4348
- "internalType": "uint256",
4349
- "name": "orderType",
4350
- "type": "uint256"
4351
- }
4352
- ],
4353
- "name": "UnsupportedOrderTypeForAutoCancellation",
4354
- "type": "error"
4355
- },
4356
- {
4357
- "inputs": [
4358
- {
4359
- "internalType": "address",
4360
- "name": "feeToken",
4361
- "type": "address"
4362
- },
4363
- {
4364
- "internalType": "address",
4365
- "name": "expectedFeeToken",
4366
- "type": "address"
4367
- }
4368
- ],
4369
- "name": "UnsupportedRelayFeeToken",
4370
- "type": "error"
4371
- },
4372
- {
4373
- "inputs": [
4374
- {
4375
- "internalType": "int256",
4376
- "name": "usdDelta",
4377
- "type": "int256"
4378
- },
4379
- {
4380
- "internalType": "uint256",
4381
- "name": "longOpenInterest",
4382
- "type": "uint256"
4383
- }
4384
- ],
4385
- "name": "UsdDeltaExceedsLongOpenInterest",
4386
- "type": "error"
4387
- },
4388
- {
4389
- "inputs": [
4390
- {
4391
- "internalType": "int256",
4392
- "name": "usdDelta",
4393
- "type": "int256"
4394
- },
4395
- {
4396
- "internalType": "uint256",
4397
- "name": "poolUsd",
4398
- "type": "uint256"
4399
- }
4400
- ],
4401
- "name": "UsdDeltaExceedsPoolValue",
4402
- "type": "error"
4403
- },
4404
- {
4405
- "inputs": [
4406
- {
4407
- "internalType": "int256",
4408
- "name": "usdDelta",
4409
- "type": "int256"
4410
- },
4411
- {
4412
- "internalType": "uint256",
4413
- "name": "shortOpenInterest",
4414
- "type": "uint256"
4415
- }
4416
- ],
4417
- "name": "UsdDeltaExceedsShortOpenInterest",
4418
- "type": "error"
4419
- },
4420
- {
4421
- "inputs": [
4422
- {
4423
- "internalType": "bytes32",
4424
- "name": "key",
4425
- "type": "bytes32"
4426
- }
4427
- ],
4428
- "name": "WithdrawalNotFound",
4429
- "type": "error"
4430
- }
4431
- ]
4432
- }