@paraswap/dex-lib 2.36.1 → 2.36.2-dexalot.2
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.
- package/.idea/aws.xml +17 -0
- package/.idea/codeStyles/Project.xml +19 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/paraswap-dex-lib.iml +9 -0
- package/.idea/vcs.xml +6 -0
- package/build/abi/algebra/AlgebraPool.abi.json +727 -0
- package/build/abi/curve-v1/StableSwapFRXETH.json +889 -0
- package/build/abi/curve-v1/StableSwapWBETH.json +1223 -0
- package/build/abi/dexalot/DexalotMainnetRFQ.json +887 -0
- package/build/abi/sushiswap-v3/QuoterV2.json +267 -0
- package/build/abi/sushiswap-v3/RouterProcessor3.json +289 -0
- package/build/abi/wBETH.json +1527 -0
- package/build/config.js +2 -0
- package/build/config.js.map +1 -1
- package/build/dex/algebra/algebra-pool.d.ts +46 -0
- package/build/dex/algebra/algebra-pool.js +336 -0
- package/build/dex/algebra/algebra-pool.js.map +1 -0
- package/build/dex/curve-v1/pools/frxETHpool.d.ts +7 -0
- package/build/dex/curve-v1/pools/frxETHpool.js +27 -0
- package/build/dex/curve-v1/pools/frxETHpool.js.map +1 -0
- package/build/dex/curve-v1/pools/wbETHpool.d.ts +29 -0
- package/build/dex/curve-v1/pools/wbETHpool.js +408 -0
- package/build/dex/curve-v1/pools/wbETHpool.js.map +1 -0
- package/build/dex/{test-dex → dexalot}/config.d.ts +1 -1
- package/build/dex/dexalot/config.js +18 -0
- package/build/dex/dexalot/config.js.map +1 -0
- package/build/dex/dexalot/constants.d.ts +16 -0
- package/build/dex/dexalot/constants.js +23 -0
- package/build/dex/dexalot/constants.js.map +1 -0
- package/build/dex/dexalot/dexalot.d.ts +66 -0
- package/build/dex/dexalot/dexalot.js +603 -0
- package/build/dex/dexalot/dexalot.js.map +1 -0
- package/build/dex/dexalot/rate-fetcher.d.ts +27 -0
- package/build/dex/dexalot/rate-fetcher.js +101 -0
- package/build/dex/dexalot/rate-fetcher.js.map +1 -0
- package/build/dex/dexalot/types.d.ts +106 -0
- package/build/dex/dexalot/types.js +12 -0
- package/build/dex/dexalot/types.js.map +1 -0
- package/build/dex/dexalot/validators.d.ts +5 -0
- package/build/dex/dexalot/validators.js +45 -0
- package/build/dex/dexalot/validators.js.map +1 -0
- package/build/dex/index.js +2 -0
- package/build/dex/index.js.map +1 -1
- package/build/dex/pancakeswap-v3/types.d.ts +14 -0
- package/build/dex/{test-dex → pancakeswap-v3}/types.js.map +1 -1
- package/build/dex/ramses-v2/config.d.ts +4 -0
- package/build/dex/ramses-v2/config.js +28 -0
- package/build/dex/ramses-v2/config.js.map +1 -0
- package/build/dex/ramses-v2/constants.d.ts +28 -0
- package/build/dex/ramses-v2/constants.js +35 -0
- package/build/dex/ramses-v2/constants.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/BitMath.d.ts +4 -0
- package/build/dex/ramses-v2/contract-math/BitMath.js +93 -0
- package/build/dex/ramses-v2/contract-math/BitMath.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/FixedPoint128.d.ts +3 -0
- package/build/dex/ramses-v2/contract-math/FixedPoint128.js +8 -0
- package/build/dex/ramses-v2/contract-math/FixedPoint128.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/FixedPoint96.d.ts +4 -0
- package/build/dex/ramses-v2/contract-math/FixedPoint96.js +9 -0
- package/build/dex/ramses-v2/contract-math/FixedPoint96.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/FullMath.d.ts +4 -0
- package/build/dex/ramses-v2/contract-math/FullMath.js +19 -0
- package/build/dex/ramses-v2/contract-math/FullMath.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/LiquidityMath.d.ts +3 -0
- package/build/dex/ramses-v2/contract-math/LiquidityMath.js +22 -0
- package/build/dex/ramses-v2/contract-math/LiquidityMath.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/Oracle.d.ts +10 -0
- package/build/dex/ramses-v2/contract-math/Oracle.js +133 -0
- package/build/dex/ramses-v2/contract-math/Oracle.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/SqrtPriceMath.d.ts +10 -0
- package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js +91 -0
- package/build/dex/ramses-v2/contract-math/SqrtPriceMath.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/SwapMath.d.ts +8 -0
- package/build/dex/ramses-v2/contract-math/SwapMath.js +70 -0
- package/build/dex/ramses-v2/contract-math/SwapMath.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/Tick.d.ts +7 -0
- package/build/dex/ramses-v2/contract-math/Tick.js +45 -0
- package/build/dex/ramses-v2/contract-math/Tick.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/TickBitMap.d.ts +8 -0
- package/build/dex/ramses-v2/contract-math/TickBitMap.js +87 -0
- package/build/dex/ramses-v2/contract-math/TickBitMap.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/TickMath.d.ts +8 -0
- package/build/dex/ramses-v2/contract-math/TickMath.js +162 -0
- package/build/dex/ramses-v2/contract-math/TickMath.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/UnsafeMath.d.ts +3 -0
- package/build/dex/ramses-v2/contract-math/UnsafeMath.js +10 -0
- package/build/dex/ramses-v2/contract-math/UnsafeMath.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/uniswap-v3-math.d.ts +18 -0
- package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js +392 -0
- package/build/dex/ramses-v2/contract-math/uniswap-v3-math.js.map +1 -0
- package/build/dex/ramses-v2/contract-math/utils.d.ts +3 -0
- package/build/dex/ramses-v2/contract-math/utils.js +16 -0
- package/build/dex/ramses-v2/contract-math/utils.js.map +1 -0
- package/build/dex/ramses-v2/ramses-v2-pool.d.ts +42 -0
- package/build/dex/ramses-v2/ramses-v2-pool.js +307 -0
- package/build/dex/ramses-v2/ramses-v2-pool.js.map +1 -0
- package/build/dex/ramses-v2/ramses-v2.d.ts +61 -0
- package/build/dex/ramses-v2/ramses-v2.js +690 -0
- package/build/dex/ramses-v2/ramses-v2.js.map +1 -0
- package/build/dex/ramses-v2/types.d.ts +154 -0
- package/build/dex/ramses-v2/types.js +9 -0
- package/build/dex/ramses-v2/types.js.map +1 -0
- package/build/dex/ramses-v2/utils.d.ts +6 -0
- package/build/dex/ramses-v2/utils.js +71 -0
- package/build/dex/ramses-v2/utils.js.map +1 -0
- package/build/dex/sushiswap-v3/config.d.ts +4 -0
- package/build/dex/sushiswap-v3/config.js +132 -0
- package/build/dex/sushiswap-v3/config.js.map +1 -0
- package/build/dex/sushiswap-v3/constants.d.ts +4 -0
- package/build/dex/sushiswap-v3/constants.js +32 -0
- package/build/dex/sushiswap-v3/constants.js.map +1 -0
- package/build/dex/sushiswap-v3/sushiswap-v3-original.d.ts +56 -0
- package/build/dex/sushiswap-v3/sushiswap-v3-original.js +598 -0
- package/build/dex/sushiswap-v3/sushiswap-v3-original.js.map +1 -0
- package/build/dex/sushiswap-v3/sushiswap-v3-pool.d.ts +1 -0
- package/build/dex/sushiswap-v3/sushiswap-v3-pool.js +6 -0
- package/build/dex/sushiswap-v3/sushiswap-v3-pool.js.map +1 -0
- package/build/dex/sushiswap-v3/sushiswap-v3.d.ts +21 -0
- package/build/dex/sushiswap-v3/sushiswap-v3.js +58 -0
- package/build/dex/sushiswap-v3/sushiswap-v3.js.map +1 -0
- package/build/dex/sushiswap-v3/token.d.ts +6 -0
- package/build/dex/sushiswap-v3/token.js +23 -0
- package/build/dex/sushiswap-v3/token.js.map +1 -0
- package/build/dex/sushiswap-v3/types.d.ts +15 -0
- package/build/dex/sushiswap-v3/types.js +18 -0
- package/build/dex/sushiswap-v3/types.js.map +1 -0
- package/build/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/abi/dexalot/DexalotMainnetRFQ.json +887 -0
- package/src/config.ts +3 -0
- package/src/dex/dexalot/config.ts +18 -0
- package/src/dex/dexalot/constants.ts +31 -0
- package/src/dex/dexalot/dexalot-e2e.test.ts +192 -0
- package/src/dex/dexalot/dexalot-integration.test.ts +188 -0
- package/src/dex/dexalot/dexalot.ts +911 -0
- package/src/dex/dexalot/rate-fetcher.ts +187 -0
- package/src/dex/dexalot/types.ts +122 -0
- package/src/dex/dexalot/validators.ts +46 -0
- package/src/dex/index.ts +2 -0
- package/src/types.ts +1 -0
- package/build/abi/quickPerps/fast-price-events.json +0 -70
- package/build/abi/quickPerps/fast-price-feed.json +0 -748
- package/build/abi/quickPerps/reader.json +0 -313
- package/build/abi/quickPerps/vault-price-feed.json +0 -477
- package/build/abi/quickPerps/vault.json +0 -1953
- package/build/dex/test-dex/config.js +0 -15
- package/build/dex/test-dex/config.js.map +0 -1
- package/build/dex/test-dex/test-dex-pool.d.ts +0 -39
- package/build/dex/test-dex/test-dex-pool.js +0 -63
- package/build/dex/test-dex/test-dex-pool.js.map +0 -1
- package/build/dex/test-dex/test-dex.d.ts +0 -37
- package/build/dex/test-dex/test-dex.js +0 -126
- package/build/dex/test-dex/test-dex.js.map +0 -1
- package/build/dex/test-dex/types.d.ts +0 -6
- package/build/dex/woo-fi-v2/woo-fi-math.d.ts +0 -16
- package/build/dex/woo-fi-v2/woo-fi-math.js +0 -137
- package/build/dex/woo-fi-v2/woo-fi-math.js.map +0 -1
- package/build/workers.d.ts +0 -0
- package/build/workers.js +0 -2
- package/build/workers.js.map +0 -1
- /package/build/dex/{test-dex → pancakeswap-v3}/types.js +0 -0
|
@@ -1,313 +0,0 @@
|
|
|
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
|
-
]
|