@paraswap/dex-lib 2.35.7-multiple-dex-base-chain.2 → 2.35.7-worker-pool.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 (190) hide show
  1. package/build/abi/quickPerps/fast-price-events.json +70 -0
  2. package/build/abi/quickPerps/fast-price-feed.json +748 -0
  3. package/build/abi/quickPerps/reader.json +313 -0
  4. package/build/abi/quickPerps/vault-price-feed.json +477 -0
  5. package/build/abi/quickPerps/vault.json +1953 -0
  6. package/build/config.js +2 -2
  7. package/build/dex/algebra/algebra.d.ts +4 -2
  8. package/build/dex/algebra/algebra.js +16 -3
  9. package/build/dex/algebra/algebra.js.map +1 -1
  10. package/build/dex/balancer-v2/config.js +1 -9
  11. package/build/dex/balancer-v2/config.js.map +1 -1
  12. package/build/dex/index.js +0 -2
  13. package/build/dex/index.js.map +1 -1
  14. package/build/dex/maverick-v1/config.js +0 -9
  15. package/build/dex/maverick-v1/config.js.map +1 -1
  16. package/build/dex/maverick-v1/maverick-v1.js +2 -11
  17. package/build/dex/maverick-v1/maverick-v1.js.map +1 -1
  18. package/build/dex/pancakeswap-v3/config.js +0 -17
  19. package/build/dex/pancakeswap-v3/config.js.map +1 -1
  20. package/build/dex/pancakeswap-v3/pancakeswap-v3.d.ts +3 -2
  21. package/build/dex/pancakeswap-v3/pancakeswap-v3.js +15 -3
  22. package/build/dex/pancakeswap-v3/pancakeswap-v3.js.map +1 -1
  23. package/build/dex/solidly/config.js +1 -22
  24. package/build/dex/solidly/config.js.map +1 -1
  25. package/build/dex/solidly/solidly.js +0 -1
  26. package/build/dex/solidly/solidly.js.map +1 -1
  27. package/build/dex/{ramses-v2 → test-dex}/config.d.ts +1 -1
  28. package/build/dex/test-dex/config.js +15 -0
  29. package/build/dex/test-dex/config.js.map +1 -0
  30. package/build/dex/test-dex/test-dex-pool.d.ts +39 -0
  31. package/build/dex/test-dex/test-dex-pool.js +63 -0
  32. package/build/dex/test-dex/test-dex-pool.js.map +1 -0
  33. package/build/dex/test-dex/test-dex.d.ts +37 -0
  34. package/build/dex/test-dex/test-dex.js +126 -0
  35. package/build/dex/test-dex/test-dex.js.map +1 -0
  36. package/build/dex/test-dex/types.d.ts +6 -0
  37. package/build/dex/{pancakeswap-v3 → test-dex}/types.js.map +1 -1
  38. package/build/dex/uniswap-v3/config.js +0 -12
  39. package/build/dex/uniswap-v3/config.js.map +1 -1
  40. package/build/dex/uniswap-v3/uniswap-v3.d.ts +3 -2
  41. package/build/dex/uniswap-v3/uniswap-v3.js +15 -3
  42. package/build/dex/uniswap-v3/uniswap-v3.js.map +1 -1
  43. package/build/dex/woo-fi-v2/config.js +0 -13
  44. package/build/dex/woo-fi-v2/config.js.map +1 -1
  45. package/build/dex/woo-fi-v2/woo-fi-math.d.ts +16 -0
  46. package/build/dex/woo-fi-v2/woo-fi-math.js +137 -0
  47. package/build/dex/woo-fi-v2/woo-fi-math.js.map +1 -0
  48. package/build/dex-helper/dummy-dex-helper.d.ts +1 -0
  49. package/build/dex-helper/dummy-dex-helper.js +3 -0
  50. package/build/dex-helper/dummy-dex-helper.js.map +1 -1
  51. package/build/dex-helper/idex-helper.d.ts +1 -0
  52. package/build/workers.d.ts +0 -0
  53. package/build/workers.js +2 -0
  54. package/build/workers.js.map +1 -0
  55. package/package.json +1 -1
  56. package/src/config.ts +2 -2
  57. package/src/dex/algebra/algebra.ts +11 -5
  58. package/src/dex/balancer-v2/balancer-v2-e2e.test.ts +1 -122
  59. package/src/dex/balancer-v2/config.ts +1 -10
  60. package/src/dex/index.ts +0 -2
  61. package/src/dex/maverick-v1/config.ts +0 -10
  62. package/src/dex/maverick-v1/maverick-v1-e2e.test.ts +1 -121
  63. package/src/dex/maverick-v1/maverick-v1.ts +2 -12
  64. package/src/dex/pancakeswap-v3/config.ts +0 -19
  65. package/src/dex/pancakeswap-v3/pancakeswap-v3-e2e.test.ts +0 -120
  66. package/src/dex/pancakeswap-v3/pancakeswap-v3.ts +10 -5
  67. package/src/dex/solidly/config.ts +1 -24
  68. package/src/dex/solidly/solidly-e2e.test.ts +0 -88
  69. package/src/dex/solidly/solidly-integration.test.ts +0 -66
  70. package/src/dex/solidly/solidly.ts +0 -1
  71. package/src/dex/uniswap-v3/config.ts +0 -13
  72. package/src/dex/uniswap-v3/uniswap-v3-e2e.test.ts +4 -25
  73. package/src/dex/uniswap-v3/uniswap-v3-integration.test.ts +0 -142
  74. package/src/dex/uniswap-v3/uniswap-v3.ts +10 -5
  75. package/src/dex/woo-fi-v2/config.ts +0 -13
  76. package/src/dex/woo-fi-v2/woo-fi-v2-e2e.test.ts +0 -64
  77. package/src/dex-helper/dummy-dex-helper.ts +13 -0
  78. package/src/dex-helper/idex-helper.ts +7 -0
  79. package/tests/constants-e2e.ts +0 -30
  80. package/tests/utils-e2e.ts +0 -1
  81. package/.idea/aws.xml +0 -17
  82. package/.idea/codeStyles/Project.xml +0 -19
  83. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  84. package/.idea/misc.xml +0 -6
  85. package/.idea/modules.xml +0 -8
  86. package/.idea/paraswap-dex-lib.iml +0 -9
  87. package/.idea/vcs.xml +0 -6
  88. package/build/abi/aerodrome/aerodrome-pool-factory.json +0 -586
  89. package/build/abi/algebra/AlgebraPool.abi.json +0 -727
  90. package/build/abi/curve-v1/StableSwapFRXETH.json +0 -889
  91. package/build/abi/curve-v1/StableSwapWBETH.json +0 -1223
  92. package/build/abi/sushiswap-v3/QuoterV2.json +0 -267
  93. package/build/abi/sushiswap-v3/RouterProcessor3.json +0 -289
  94. package/build/abi/wBETH.json +0 -1527
  95. package/build/dex/algebra/algebra-pool.d.ts +0 -46
  96. package/build/dex/algebra/algebra-pool.js +0 -336
  97. package/build/dex/algebra/algebra-pool.js.map +0 -1
  98. package/build/dex/curve-v1/pools/frxETHpool.d.ts +0 -7
  99. package/build/dex/curve-v1/pools/frxETHpool.js +0 -27
  100. package/build/dex/curve-v1/pools/frxETHpool.js.map +0 -1
  101. package/build/dex/curve-v1/pools/wbETHpool.d.ts +0 -29
  102. package/build/dex/curve-v1/pools/wbETHpool.js +0 -408
  103. package/build/dex/curve-v1/pools/wbETHpool.js.map +0 -1
  104. package/build/dex/pancakeswap-v3/types.d.ts +0 -14
  105. package/build/dex/ramses-v2/config.js +0 -28
  106. package/build/dex/ramses-v2/config.js.map +0 -1
  107. package/build/dex/ramses-v2/constants.d.ts +0 -28
  108. package/build/dex/ramses-v2/constants.js +0 -35
  109. package/build/dex/ramses-v2/constants.js.map +0 -1
  110. package/build/dex/ramses-v2/contract-math/BitMath.d.ts +0 -4
  111. package/build/dex/ramses-v2/contract-math/BitMath.js +0 -93
  112. package/build/dex/ramses-v2/contract-math/BitMath.js.map +0 -1
  113. package/build/dex/ramses-v2/contract-math/FixedPoint128.d.ts +0 -3
  114. package/build/dex/ramses-v2/contract-math/FixedPoint128.js +0 -8
  115. package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +0 -1
  116. package/build/dex/ramses-v2/contract-math/FixedPoint96.d.ts +0 -4
  117. package/build/dex/ramses-v2/contract-math/FixedPoint96.js +0 -9
  118. package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +0 -1
  119. package/build/dex/ramses-v2/contract-math/FullMath.d.ts +0 -4
  120. package/build/dex/ramses-v2/contract-math/FullMath.js +0 -19
  121. package/build/dex/ramses-v2/contract-math/FullMath.js.map +0 -1
  122. package/build/dex/ramses-v2/contract-math/LiquidityMath.d.ts +0 -3
  123. package/build/dex/ramses-v2/contract-math/LiquidityMath.js +0 -22
  124. package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +0 -1
  125. package/build/dex/ramses-v2/contract-math/Oracle.d.ts +0 -10
  126. package/build/dex/ramses-v2/contract-math/Oracle.js +0 -133
  127. package/build/dex/ramses-v2/contract-math/Oracle.js.map +0 -1
  128. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.d.ts +0 -10
  129. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js +0 -91
  130. package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +0 -1
  131. package/build/dex/ramses-v2/contract-math/SwapMath.d.ts +0 -8
  132. package/build/dex/ramses-v2/contract-math/SwapMath.js +0 -70
  133. package/build/dex/ramses-v2/contract-math/SwapMath.js.map +0 -1
  134. package/build/dex/ramses-v2/contract-math/Tick.d.ts +0 -7
  135. package/build/dex/ramses-v2/contract-math/Tick.js +0 -45
  136. package/build/dex/ramses-v2/contract-math/Tick.js.map +0 -1
  137. package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +0 -8
  138. package/build/dex/ramses-v2/contract-math/TickBitMap.js +0 -87
  139. package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +0 -1
  140. package/build/dex/ramses-v2/contract-math/TickMath.d.ts +0 -8
  141. package/build/dex/ramses-v2/contract-math/TickMath.js +0 -162
  142. package/build/dex/ramses-v2/contract-math/TickMath.js.map +0 -1
  143. package/build/dex/ramses-v2/contract-math/UnsafeMath.d.ts +0 -3
  144. package/build/dex/ramses-v2/contract-math/UnsafeMath.js +0 -10
  145. package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +0 -1
  146. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.d.ts +0 -18
  147. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js +0 -392
  148. package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +0 -1
  149. package/build/dex/ramses-v2/contract-math/utils.d.ts +0 -3
  150. package/build/dex/ramses-v2/contract-math/utils.js +0 -16
  151. package/build/dex/ramses-v2/contract-math/utils.js.map +0 -1
  152. package/build/dex/ramses-v2/ramses-v2-pool.d.ts +0 -42
  153. package/build/dex/ramses-v2/ramses-v2-pool.js +0 -307
  154. package/build/dex/ramses-v2/ramses-v2-pool.js.map +0 -1
  155. package/build/dex/ramses-v2/ramses-v2.d.ts +0 -61
  156. package/build/dex/ramses-v2/ramses-v2.js +0 -690
  157. package/build/dex/ramses-v2/ramses-v2.js.map +0 -1
  158. package/build/dex/ramses-v2/types.d.ts +0 -154
  159. package/build/dex/ramses-v2/types.js +0 -9
  160. package/build/dex/ramses-v2/types.js.map +0 -1
  161. package/build/dex/ramses-v2/utils.d.ts +0 -6
  162. package/build/dex/ramses-v2/utils.js +0 -71
  163. package/build/dex/ramses-v2/utils.js.map +0 -1
  164. package/build/dex/solidly/forks-override/aerodrome.d.ts +0 -14
  165. package/build/dex/solidly/forks-override/aerodrome.js +0 -48
  166. package/build/dex/solidly/forks-override/aerodrome.js.map +0 -1
  167. package/build/dex/sushiswap-v3/config.d.ts +0 -4
  168. package/build/dex/sushiswap-v3/config.js +0 -132
  169. package/build/dex/sushiswap-v3/config.js.map +0 -1
  170. package/build/dex/sushiswap-v3/constants.d.ts +0 -4
  171. package/build/dex/sushiswap-v3/constants.js +0 -32
  172. package/build/dex/sushiswap-v3/constants.js.map +0 -1
  173. package/build/dex/sushiswap-v3/sushiswap-v3-original.d.ts +0 -56
  174. package/build/dex/sushiswap-v3/sushiswap-v3-original.js +0 -598
  175. package/build/dex/sushiswap-v3/sushiswap-v3-original.js.map +0 -1
  176. package/build/dex/sushiswap-v3/sushiswap-v3-pool.d.ts +0 -1
  177. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js +0 -6
  178. package/build/dex/sushiswap-v3/sushiswap-v3-pool.js.map +0 -1
  179. package/build/dex/sushiswap-v3/sushiswap-v3.d.ts +0 -21
  180. package/build/dex/sushiswap-v3/sushiswap-v3.js +0 -58
  181. package/build/dex/sushiswap-v3/sushiswap-v3.js.map +0 -1
  182. package/build/dex/sushiswap-v3/token.d.ts +0 -6
  183. package/build/dex/sushiswap-v3/token.js +0 -23
  184. package/build/dex/sushiswap-v3/token.js.map +0 -1
  185. package/build/dex/sushiswap-v3/types.d.ts +0 -15
  186. package/build/dex/sushiswap-v3/types.js +0 -18
  187. package/build/dex/sushiswap-v3/types.js.map +0 -1
  188. package/src/abi/aerodrome/aerodrome-pool-factory.json +0 -586
  189. package/src/dex/solidly/forks-override/aerodrome.ts +0 -57
  190. /package/build/dex/{pancakeswap-v3 → test-dex}/types.js +0 -0
@@ -0,0 +1,313 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "BASIS_POINTS_DIVISOR",
5
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
6
+ "stateMutability": "view",
7
+ "type": "function"
8
+ },
9
+ {
10
+ "inputs": [],
11
+ "name": "POSITION_PROPS_LENGTH",
12
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
13
+ "stateMutability": "view",
14
+ "type": "function"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "PRICE_PRECISION",
19
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
20
+ "stateMutability": "view",
21
+ "type": "function"
22
+ },
23
+ {
24
+ "inputs": [],
25
+ "name": "USDQ_DECIMALS",
26
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [
32
+ {
33
+ "internalType": "contract IVault",
34
+ "name": "_vault",
35
+ "type": "address"
36
+ },
37
+ { "internalType": "address", "name": "_tokenIn", "type": "address" },
38
+ { "internalType": "address", "name": "_tokenOut", "type": "address" },
39
+ { "internalType": "uint256", "name": "_amountIn", "type": "uint256" }
40
+ ],
41
+ "name": "getAmountOut",
42
+ "outputs": [
43
+ { "internalType": "uint256", "name": "", "type": "uint256" },
44
+ { "internalType": "uint256", "name": "", "type": "uint256" }
45
+ ],
46
+ "stateMutability": "view",
47
+ "type": "function"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "contract IVault",
53
+ "name": "_vault",
54
+ "type": "address"
55
+ },
56
+ { "internalType": "address", "name": "_tokenIn", "type": "address" },
57
+ { "internalType": "address", "name": "_tokenOut", "type": "address" },
58
+ { "internalType": "uint256", "name": "_amountIn", "type": "uint256" }
59
+ ],
60
+ "name": "getFeeBasisPoints",
61
+ "outputs": [
62
+ { "internalType": "uint256", "name": "", "type": "uint256" },
63
+ { "internalType": "uint256", "name": "", "type": "uint256" },
64
+ { "internalType": "uint256", "name": "", "type": "uint256" }
65
+ ],
66
+ "stateMutability": "view",
67
+ "type": "function"
68
+ },
69
+ {
70
+ "inputs": [
71
+ { "internalType": "address", "name": "_vault", "type": "address" },
72
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
73
+ ],
74
+ "name": "getFees",
75
+ "outputs": [
76
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
77
+ ],
78
+ "stateMutability": "view",
79
+ "type": "function"
80
+ },
81
+ {
82
+ "inputs": [
83
+ { "internalType": "address", "name": "_vault", "type": "address" },
84
+ { "internalType": "address", "name": "_weth", "type": "address" },
85
+ { "internalType": "uint256", "name": "_usdqAmount", "type": "uint256" },
86
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
87
+ ],
88
+ "name": "getFullVaultTokenInfo",
89
+ "outputs": [
90
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
91
+ ],
92
+ "stateMutability": "view",
93
+ "type": "function"
94
+ },
95
+ {
96
+ "inputs": [
97
+ { "internalType": "address", "name": "_vault", "type": "address" },
98
+ { "internalType": "address", "name": "_weth", "type": "address" },
99
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
100
+ ],
101
+ "name": "getFundingRates",
102
+ "outputs": [
103
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
104
+ ],
105
+ "stateMutability": "view",
106
+ "type": "function"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "contract IVault",
112
+ "name": "_vault",
113
+ "type": "address"
114
+ },
115
+ { "internalType": "address", "name": "_tokenIn", "type": "address" },
116
+ { "internalType": "address", "name": "_tokenOut", "type": "address" }
117
+ ],
118
+ "name": "getMaxAmountIn",
119
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
120
+ "stateMutability": "view",
121
+ "type": "function"
122
+ },
123
+ {
124
+ "inputs": [
125
+ { "internalType": "address", "name": "_vault", "type": "address" },
126
+ { "internalType": "address", "name": "_account", "type": "address" },
127
+ {
128
+ "internalType": "address[]",
129
+ "name": "_collateralTokens",
130
+ "type": "address[]"
131
+ },
132
+ {
133
+ "internalType": "address[]",
134
+ "name": "_indexTokens",
135
+ "type": "address[]"
136
+ },
137
+ { "internalType": "bool[]", "name": "_isLong", "type": "bool[]" }
138
+ ],
139
+ "name": "getPositions",
140
+ "outputs": [
141
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
142
+ ],
143
+ "stateMutability": "view",
144
+ "type": "function"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "contract IVaultPriceFeed",
150
+ "name": "_priceFeed",
151
+ "type": "address"
152
+ },
153
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
154
+ ],
155
+ "name": "getPrices",
156
+ "outputs": [
157
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
158
+ ],
159
+ "stateMutability": "view",
160
+ "type": "function"
161
+ },
162
+ {
163
+ "inputs": [
164
+ { "internalType": "address", "name": "_account", "type": "address" },
165
+ {
166
+ "internalType": "address[]",
167
+ "name": "_yieldTrackers",
168
+ "type": "address[]"
169
+ }
170
+ ],
171
+ "name": "getStakingInfo",
172
+ "outputs": [
173
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
174
+ ],
175
+ "stateMutability": "view",
176
+ "type": "function"
177
+ },
178
+ {
179
+ "inputs": [
180
+ { "internalType": "address", "name": "_account", "type": "address" },
181
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
182
+ ],
183
+ "name": "getTokenBalances",
184
+ "outputs": [
185
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
186
+ ],
187
+ "stateMutability": "view",
188
+ "type": "function"
189
+ },
190
+ {
191
+ "inputs": [
192
+ { "internalType": "address", "name": "_account", "type": "address" },
193
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
194
+ ],
195
+ "name": "getTokenBalancesWithSupplies",
196
+ "outputs": [
197
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
198
+ ],
199
+ "stateMutability": "view",
200
+ "type": "function"
201
+ },
202
+ {
203
+ "inputs": [
204
+ {
205
+ "internalType": "contract IERC20",
206
+ "name": "_token",
207
+ "type": "address"
208
+ },
209
+ {
210
+ "internalType": "address[]",
211
+ "name": "_excludedAccounts",
212
+ "type": "address[]"
213
+ }
214
+ ],
215
+ "name": "getTokenSupply",
216
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
217
+ "stateMutability": "view",
218
+ "type": "function"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "contract IERC20",
224
+ "name": "_token",
225
+ "type": "address"
226
+ },
227
+ { "internalType": "address[]", "name": "_accounts", "type": "address[]" }
228
+ ],
229
+ "name": "getTotalBalance",
230
+ "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
231
+ "stateMutability": "view",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "address[]",
238
+ "name": "_yieldTokens",
239
+ "type": "address[]"
240
+ }
241
+ ],
242
+ "name": "getTotalStaked",
243
+ "outputs": [
244
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
245
+ ],
246
+ "stateMutability": "view",
247
+ "type": "function"
248
+ },
249
+ {
250
+ "inputs": [
251
+ { "internalType": "address", "name": "_vault", "type": "address" },
252
+ { "internalType": "address", "name": "_weth", "type": "address" },
253
+ { "internalType": "uint256", "name": "_usdqAmount", "type": "uint256" },
254
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
255
+ ],
256
+ "name": "getVaultTokenInfo",
257
+ "outputs": [
258
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
259
+ ],
260
+ "stateMutability": "view",
261
+ "type": "function"
262
+ },
263
+ {
264
+ "inputs": [
265
+ { "internalType": "address", "name": "_vault", "type": "address" },
266
+ { "internalType": "address", "name": "_weth", "type": "address" },
267
+ { "internalType": "uint256", "name": "_usdqAmount", "type": "uint256" },
268
+ { "internalType": "address[]", "name": "_tokens", "type": "address[]" }
269
+ ],
270
+ "name": "getVaultTokenInfoV2",
271
+ "outputs": [
272
+ { "internalType": "uint256[]", "name": "", "type": "uint256[]" }
273
+ ],
274
+ "stateMutability": "view",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [],
279
+ "name": "gov",
280
+ "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
281
+ "stateMutability": "view",
282
+ "type": "function"
283
+ },
284
+ {
285
+ "inputs": [],
286
+ "name": "hasMaxGlobalShortSizes",
287
+ "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
288
+ "stateMutability": "view",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [
293
+ {
294
+ "internalType": "bool",
295
+ "name": "_hasMaxGlobalShortSizes",
296
+ "type": "bool"
297
+ }
298
+ ],
299
+ "name": "setConfig",
300
+ "outputs": [],
301
+ "stateMutability": "nonpayable",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [
306
+ { "internalType": "address", "name": "_gov", "type": "address" }
307
+ ],
308
+ "name": "setGov",
309
+ "outputs": [],
310
+ "stateMutability": "nonpayable",
311
+ "type": "function"
312
+ }
313
+ ]