@enzymefinance/testutils 4.0.0-next.0 → 4.0.0-next.5
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/CHANGELOG.md +33 -0
- package/dist/declarations/src/assertions.d.ts +4 -4
- package/dist/declarations/src/deployment.d.ts +181 -82
- package/dist/declarations/src/gasRelayer.d.ts +56 -54
- package/dist/declarations/src/helpers.d.ts +16 -15
- package/dist/declarations/src/index.d.ts +6 -6
- package/dist/declarations/src/scaffolding/assets.d.ts +10 -10
- package/dist/declarations/src/scaffolding/chainlink.d.ts +3 -3
- package/dist/declarations/src/scaffolding/common.d.ts +7 -7
- package/dist/declarations/src/scaffolding/core.d.ts +17 -16
- package/dist/declarations/src/scaffolding/extensions/common.d.ts +11 -11
- package/dist/declarations/src/scaffolding/extensions/external-positions/actions.d.ts +35 -0
- package/dist/declarations/src/scaffolding/extensions/external-positions/compound.d.ts +56 -59
- package/dist/declarations/src/scaffolding/extensions/external-positions/index.d.ts +4 -2
- package/dist/declarations/src/scaffolding/extensions/external-positions/mocks.d.ts +53 -20
- package/dist/declarations/src/scaffolding/extensions/external-positions/uniswap-v3-liquidity.d.ts +99 -0
- package/dist/declarations/src/scaffolding/extensions/fees.d.ts +12 -12
- package/dist/declarations/src/scaffolding/extensions/index.d.ts +5 -5
- package/dist/declarations/src/scaffolding/extensions/integrations/aave.d.ts +20 -19
- package/dist/declarations/src/scaffolding/extensions/integrations/compound.d.ts +28 -28
- package/dist/declarations/src/scaffolding/extensions/integrations/curve.d.ts +272 -271
- package/dist/declarations/src/scaffolding/extensions/integrations/idle.d.ts +28 -28
- package/dist/declarations/src/scaffolding/extensions/integrations/index.d.ts +14 -12
- package/dist/declarations/src/scaffolding/extensions/integrations/mock.d.ts +32 -32
- package/dist/declarations/src/scaffolding/extensions/integrations/paraSwapV4.d.ts +23 -22
- package/dist/declarations/src/scaffolding/extensions/integrations/paraSwapV5.d.ts +23 -0
- package/dist/declarations/src/scaffolding/extensions/integrations/poolTogetherV4.d.ts +29 -0
- package/dist/declarations/src/scaffolding/extensions/integrations/synthetix.d.ts +33 -25
- package/dist/declarations/src/scaffolding/extensions/integrations/trackedAssets.d.ts +15 -15
- package/dist/declarations/src/scaffolding/extensions/integrations/uniswapV2.d.ts +46 -46
- package/dist/declarations/src/scaffolding/extensions/integrations/uniswapV3.d.ts +15 -15
- package/dist/declarations/src/scaffolding/extensions/integrations/yearn.d.ts +22 -22
- package/dist/declarations/src/scaffolding/extensions/integrations/zeroExV2.d.ts +12 -12
- package/dist/declarations/src/scaffolding/extensions/policies.d.ts +17 -17
- package/dist/declarations/src/scaffolding/index.d.ts +8 -8
- package/dist/declarations/src/scaffolding/setup.d.ts +77 -75
- package/dist/declarations/src/scaffolding/shares.d.ts +35 -35
- package/dist/declarations/src/scaffolding/vaultCalls.d.ts +32 -17
- package/dist/declarations/src/whales.d.ts +42 -44
- package/dist/enzymefinance-testutils.browser.cjs.js +1470 -697
- package/dist/enzymefinance-testutils.browser.esm.js +1257 -508
- package/dist/enzymefinance-testutils.cjs.dev.js +1470 -697
- package/dist/enzymefinance-testutils.cjs.prod.js +1470 -697
- package/dist/enzymefinance-testutils.esm.js +1257 -508
- package/package.json +6 -6
- package/src/assertions.ts +5 -2
- package/src/deployment.ts +202 -99
- package/src/gasRelayer.ts +17 -18
- package/src/helpers.ts +6 -4
- package/src/scaffolding/assets.ts +6 -5
- package/src/scaffolding/chainlink.ts +2 -2
- package/src/scaffolding/common.ts +1 -1
- package/src/scaffolding/core.ts +28 -12
- package/src/scaffolding/extensions/common.ts +4 -4
- package/src/scaffolding/extensions/external-positions/actions.ts +103 -0
- package/src/scaffolding/extensions/external-positions/compound.ts +69 -114
- package/src/scaffolding/extensions/external-positions/index.ts +2 -0
- package/src/scaffolding/extensions/external-positions/mocks.ts +132 -10
- package/src/scaffolding/extensions/external-positions/uniswap-v3-liquidity.ts +290 -0
- package/src/scaffolding/extensions/fees.ts +1 -1
- package/src/scaffolding/extensions/integrations/aave.ts +6 -8
- package/src/scaffolding/extensions/integrations/compound.ts +10 -11
- package/src/scaffolding/extensions/integrations/curve.ts +72 -68
- package/src/scaffolding/extensions/integrations/idle.ts +9 -11
- package/src/scaffolding/extensions/integrations/index.ts +2 -0
- package/src/scaffolding/extensions/integrations/mock.ts +11 -13
- package/src/scaffolding/extensions/integrations/paraSwapV4.ts +16 -11
- package/src/scaffolding/extensions/integrations/paraSwapV5.ts +73 -0
- package/src/scaffolding/extensions/integrations/poolTogetherV4.ts +117 -0
- package/src/scaffolding/extensions/integrations/synthetix.ts +45 -12
- package/src/scaffolding/extensions/integrations/trackedAssets.ts +3 -4
- package/src/scaffolding/extensions/integrations/uniswapV2.ts +31 -27
- package/src/scaffolding/extensions/integrations/uniswapV3.ts +9 -10
- package/src/scaffolding/extensions/integrations/yearn.ts +9 -11
- package/src/scaffolding/extensions/integrations/zeroExV2.ts +9 -7
- package/src/scaffolding/extensions/policies.ts +2 -1
- package/src/scaffolding/setup.ts +27 -19
- package/src/scaffolding/shares.ts +5 -4
- package/src/scaffolding/vaultCalls.ts +50 -3
- package/src/whales.ts +26 -17
- package/tsconfig.json +2 -1
|
@@ -1,271 +1,272 @@
|
|
|
1
|
-
import { AddressLike, Call, Contract, Send } from '@enzymefinance/ethers';
|
|
2
|
-
import { SignerWithAddress } from '@enzymefinance/hardhat';
|
|
3
|
-
import { ComptrollerLib, CurveExchangeAdapter, CurveLiquidityAaveAdapter, CurveLiquidityEursAdapter, CurveLiquiditySethAdapter, CurveLiquidityStethAdapter, IntegrationManager, StandardToken } from '@enzymefinance/protocol';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export declare
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
1
|
+
import type { AddressLike, Call, Contract, Send } from '@enzymefinance/ethers';
|
|
2
|
+
import type { SignerWithAddress } from '@enzymefinance/hardhat';
|
|
3
|
+
import type { ComptrollerLib, CurveExchangeAdapter, CurveLiquidityAaveAdapter, CurveLiquidityEursAdapter, CurveLiquiditySethAdapter, CurveLiquidityStethAdapter, IntegrationManager, StandardToken } from '@enzymefinance/protocol';
|
|
4
|
+
import type { BigNumberish } from 'ethers';
|
|
5
|
+
import { BigNumber, utils } from 'ethers';
|
|
6
|
+
export interface CurveLiquidityGaugeV2 extends Contract<CurveLiquidityGaugeV2> {
|
|
7
|
+
claim_rewards: Send<(_addr: AddressLike) => void>;
|
|
8
|
+
integrate_fraction: Call<(_for: AddressLike) => BigNumber, Contract<any>>;
|
|
9
|
+
}
|
|
10
|
+
export declare const CurveLiquidityGaugeV2: import("@enzymefinance/ethers").ContractFactory<CurveLiquidityGaugeV2, never>;
|
|
11
|
+
export interface CurveSwaps extends Contract<CurveSwaps> {
|
|
12
|
+
get_best_rate: Call<(_from: AddressLike, to: AddressLike, amount: BigNumberish) => {
|
|
13
|
+
bestPool: AddressLike;
|
|
14
|
+
amountReceived: BigNumber;
|
|
15
|
+
}, CurveSwaps>;
|
|
16
|
+
}
|
|
17
|
+
export declare const CurveSwaps: import("@enzymefinance/ethers").ContractFactory<CurveSwaps, never>;
|
|
18
|
+
export interface CurveMinter extends Contract<CurveMinter> {
|
|
19
|
+
mint_for: Send<(_gauge_address: AddressLike, _for: AddressLike) => void>;
|
|
20
|
+
}
|
|
21
|
+
export declare const CurveMinter: import("@enzymefinance/ethers").ContractFactory<CurveMinter, never>;
|
|
22
|
+
export declare function curveTakeOrder({ comptrollerProxy, integrationManager, fundOwner, curveExchangeAdapter, pool, outgoingAsset, outgoingAssetAmount, incomingAsset, minIncomingAssetAmount, }: {
|
|
23
|
+
comptrollerProxy: ComptrollerLib;
|
|
24
|
+
integrationManager: IntegrationManager;
|
|
25
|
+
fundOwner: SignerWithAddress;
|
|
26
|
+
curveExchangeAdapter: CurveExchangeAdapter;
|
|
27
|
+
pool: AddressLike;
|
|
28
|
+
outgoingAsset: StandardToken;
|
|
29
|
+
outgoingAssetAmount?: BigNumberish;
|
|
30
|
+
incomingAsset: StandardToken;
|
|
31
|
+
minIncomingAssetAmount?: BigNumberish;
|
|
32
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
33
|
+
export declare function curveAaveClaimRewards({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityAaveAdapter, }: {
|
|
34
|
+
comptrollerProxy: ComptrollerLib;
|
|
35
|
+
integrationManager: IntegrationManager;
|
|
36
|
+
fundOwner: SignerWithAddress;
|
|
37
|
+
curveLiquidityAaveAdapter: CurveLiquidityAaveAdapter;
|
|
38
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
39
|
+
export declare function curveAaveLend({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityAaveAdapter, outgoingAaveDaiAmount, outgoingAaveUsdcAmount, outgoingAaveUsdtAmount, minIncomingLPTokenAmount, useUnderlyings, }: {
|
|
40
|
+
comptrollerProxy: ComptrollerLib;
|
|
41
|
+
integrationManager: IntegrationManager;
|
|
42
|
+
fundOwner: SignerWithAddress;
|
|
43
|
+
curveLiquidityAaveAdapter: CurveLiquidityAaveAdapter;
|
|
44
|
+
outgoingAaveDaiAmount?: BigNumberish;
|
|
45
|
+
outgoingAaveUsdcAmount?: BigNumberish;
|
|
46
|
+
outgoingAaveUsdtAmount?: BigNumberish;
|
|
47
|
+
minIncomingLPTokenAmount?: BigNumberish;
|
|
48
|
+
useUnderlyings?: boolean;
|
|
49
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
50
|
+
export declare function curveAaveLendAndStake({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityAaveAdapter, outgoingAaveDaiAmount, outgoingAaveUsdcAmount, outgoingAaveUsdtAmount, minIncomingLiquidityGaugeTokenAmount, useUnderlyings, }: {
|
|
51
|
+
comptrollerProxy: ComptrollerLib;
|
|
52
|
+
integrationManager: IntegrationManager;
|
|
53
|
+
fundOwner: SignerWithAddress;
|
|
54
|
+
curveLiquidityAaveAdapter: CurveLiquidityAaveAdapter;
|
|
55
|
+
outgoingAaveDaiAmount?: BigNumberish;
|
|
56
|
+
outgoingAaveUsdcAmount?: BigNumberish;
|
|
57
|
+
outgoingAaveUsdtAmount?: BigNumberish;
|
|
58
|
+
minIncomingLiquidityGaugeTokenAmount?: BigNumberish;
|
|
59
|
+
useUnderlyings?: boolean;
|
|
60
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
61
|
+
export declare function curveAaveRedeem({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityAaveAdapter, outgoingLPTokenAmount, minIncomingAaveDaiAmount, minIncomingAaveUsdcAmount, minIncomingAaveUsdtAmount, receiveSingleAsset, useUnderlyings, }: {
|
|
62
|
+
comptrollerProxy: ComptrollerLib;
|
|
63
|
+
integrationManager: IntegrationManager;
|
|
64
|
+
fundOwner: SignerWithAddress;
|
|
65
|
+
curveLiquidityAaveAdapter: CurveLiquidityAaveAdapter;
|
|
66
|
+
outgoingLPTokenAmount: BigNumberish;
|
|
67
|
+
minIncomingAaveDaiAmount?: BigNumberish;
|
|
68
|
+
minIncomingAaveUsdcAmount?: BigNumberish;
|
|
69
|
+
minIncomingAaveUsdtAmount?: BigNumberish;
|
|
70
|
+
receiveSingleAsset?: boolean;
|
|
71
|
+
useUnderlyings?: boolean;
|
|
72
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
73
|
+
export declare function curveAaveStake({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityAaveAdapter, outgoingLPTokenAmount, }: {
|
|
74
|
+
comptrollerProxy: ComptrollerLib;
|
|
75
|
+
integrationManager: IntegrationManager;
|
|
76
|
+
fundOwner: SignerWithAddress;
|
|
77
|
+
curveLiquidityAaveAdapter: CurveLiquidityAaveAdapter;
|
|
78
|
+
outgoingLPTokenAmount: BigNumberish;
|
|
79
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
80
|
+
export declare function curveAaveUnstakeAndRedeem({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityAaveAdapter, outgoingLiquidityGaugeTokenAmount, minIncomingAaveDaiAmount, minIncomingAaveUsdcAmount, minIncomingAaveUsdtAmount, receiveSingleAsset, useUnderlyings, }: {
|
|
81
|
+
comptrollerProxy: ComptrollerLib;
|
|
82
|
+
integrationManager: IntegrationManager;
|
|
83
|
+
fundOwner: SignerWithAddress;
|
|
84
|
+
curveLiquidityAaveAdapter: CurveLiquidityAaveAdapter;
|
|
85
|
+
outgoingLiquidityGaugeTokenAmount: BigNumberish;
|
|
86
|
+
minIncomingAaveDaiAmount?: BigNumberish;
|
|
87
|
+
minIncomingAaveUsdcAmount?: BigNumberish;
|
|
88
|
+
minIncomingAaveUsdtAmount?: BigNumberish;
|
|
89
|
+
receiveSingleAsset?: boolean;
|
|
90
|
+
useUnderlyings?: boolean;
|
|
91
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
92
|
+
export declare function curveAaveUnstake({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityAaveAdapter, outgoingLiquidityGaugeTokenAmount, }: {
|
|
93
|
+
comptrollerProxy: ComptrollerLib;
|
|
94
|
+
integrationManager: IntegrationManager;
|
|
95
|
+
fundOwner: SignerWithAddress;
|
|
96
|
+
curveLiquidityAaveAdapter: CurveLiquidityAaveAdapter;
|
|
97
|
+
outgoingLiquidityGaugeTokenAmount: BigNumberish;
|
|
98
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
99
|
+
export declare function curveEursClaimRewards({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityEursAdapter, }: {
|
|
100
|
+
comptrollerProxy: ComptrollerLib;
|
|
101
|
+
integrationManager: IntegrationManager;
|
|
102
|
+
fundOwner: SignerWithAddress;
|
|
103
|
+
curveLiquidityEursAdapter: CurveLiquidityEursAdapter;
|
|
104
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
105
|
+
export declare function curveEursLend({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityEursAdapter, outgoingEursAmount, outgoingSeurAmount, minIncomingLPTokenAmount, }: {
|
|
106
|
+
comptrollerProxy: ComptrollerLib;
|
|
107
|
+
integrationManager: IntegrationManager;
|
|
108
|
+
fundOwner: SignerWithAddress;
|
|
109
|
+
curveLiquidityEursAdapter: CurveLiquidityEursAdapter;
|
|
110
|
+
outgoingEursAmount: BigNumberish;
|
|
111
|
+
outgoingSeurAmount: BigNumberish;
|
|
112
|
+
minIncomingLPTokenAmount: BigNumberish;
|
|
113
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
114
|
+
export declare function curveEursLendAndStake({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityEursAdapter, outgoingEursAmount, outgoingSeurAmount, minIncomingLiquidityGaugeTokenAmount, }: {
|
|
115
|
+
comptrollerProxy: ComptrollerLib;
|
|
116
|
+
integrationManager: IntegrationManager;
|
|
117
|
+
fundOwner: SignerWithAddress;
|
|
118
|
+
curveLiquidityEursAdapter: CurveLiquidityEursAdapter;
|
|
119
|
+
outgoingEursAmount: BigNumberish;
|
|
120
|
+
outgoingSeurAmount: BigNumberish;
|
|
121
|
+
minIncomingLiquidityGaugeTokenAmount: BigNumberish;
|
|
122
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
123
|
+
export declare function curveEursRedeem({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityEursAdapter, outgoingLPTokenAmount, minIncomingEursAmount, minIncomingSeurAmount, receiveSingleAsset, }: {
|
|
124
|
+
comptrollerProxy: ComptrollerLib;
|
|
125
|
+
integrationManager: IntegrationManager;
|
|
126
|
+
fundOwner: SignerWithAddress;
|
|
127
|
+
curveLiquidityEursAdapter: CurveLiquidityEursAdapter;
|
|
128
|
+
outgoingLPTokenAmount: BigNumberish;
|
|
129
|
+
minIncomingEursAmount: BigNumberish;
|
|
130
|
+
minIncomingSeurAmount: BigNumberish;
|
|
131
|
+
receiveSingleAsset: boolean;
|
|
132
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
133
|
+
export declare function curveEursStake({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityEursAdapter, outgoingLPTokenAmount, }: {
|
|
134
|
+
comptrollerProxy: ComptrollerLib;
|
|
135
|
+
integrationManager: IntegrationManager;
|
|
136
|
+
fundOwner: SignerWithAddress;
|
|
137
|
+
curveLiquidityEursAdapter: CurveLiquidityEursAdapter;
|
|
138
|
+
outgoingLPTokenAmount: BigNumberish;
|
|
139
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
140
|
+
export declare function curveEursUnstakeAndRedeem({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityEursAdapter, outgoingLiquidityGaugeTokenAmount, minIncomingEursAmount, minIncomingSeurAmount, receiveSingleAsset, }: {
|
|
141
|
+
comptrollerProxy: ComptrollerLib;
|
|
142
|
+
integrationManager: IntegrationManager;
|
|
143
|
+
fundOwner: SignerWithAddress;
|
|
144
|
+
curveLiquidityEursAdapter: CurveLiquidityEursAdapter;
|
|
145
|
+
outgoingLiquidityGaugeTokenAmount: BigNumberish;
|
|
146
|
+
minIncomingEursAmount: BigNumberish;
|
|
147
|
+
minIncomingSeurAmount: BigNumberish;
|
|
148
|
+
receiveSingleAsset: boolean;
|
|
149
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
150
|
+
export declare function curveEursUnstake({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityEursAdapter, outgoingLiquidityGaugeTokenAmount, }: {
|
|
151
|
+
comptrollerProxy: ComptrollerLib;
|
|
152
|
+
integrationManager: IntegrationManager;
|
|
153
|
+
fundOwner: SignerWithAddress;
|
|
154
|
+
curveLiquidityEursAdapter: CurveLiquidityEursAdapter;
|
|
155
|
+
outgoingLiquidityGaugeTokenAmount: BigNumberish;
|
|
156
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
157
|
+
export declare function curveSethClaimRewards({ comptrollerProxy, integrationManager, fundOwner, curveLiquiditySethAdapter, }: {
|
|
158
|
+
comptrollerProxy: ComptrollerLib;
|
|
159
|
+
integrationManager: IntegrationManager;
|
|
160
|
+
fundOwner: SignerWithAddress;
|
|
161
|
+
curveLiquiditySethAdapter: CurveLiquiditySethAdapter;
|
|
162
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
163
|
+
export declare function curveSethLend({ comptrollerProxy, integrationManager, fundOwner, curveLiquiditySethAdapter, outgoingWethAmount, outgoingSethAmount, minIncomingLPTokenAmount, }: {
|
|
164
|
+
comptrollerProxy: ComptrollerLib;
|
|
165
|
+
integrationManager: IntegrationManager;
|
|
166
|
+
fundOwner: SignerWithAddress;
|
|
167
|
+
curveLiquiditySethAdapter: CurveLiquiditySethAdapter;
|
|
168
|
+
outgoingWethAmount: BigNumberish;
|
|
169
|
+
outgoingSethAmount: BigNumberish;
|
|
170
|
+
minIncomingLPTokenAmount: BigNumberish;
|
|
171
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
172
|
+
export declare function curveSethLendAndStake({ comptrollerProxy, integrationManager, fundOwner, curveLiquiditySethAdapter, outgoingWethAmount, outgoingSethAmount, minIncomingLiquidityGaugeTokenAmount, }: {
|
|
173
|
+
comptrollerProxy: ComptrollerLib;
|
|
174
|
+
integrationManager: IntegrationManager;
|
|
175
|
+
fundOwner: SignerWithAddress;
|
|
176
|
+
curveLiquiditySethAdapter: CurveLiquiditySethAdapter;
|
|
177
|
+
outgoingWethAmount: BigNumberish;
|
|
178
|
+
outgoingSethAmount: BigNumberish;
|
|
179
|
+
minIncomingLiquidityGaugeTokenAmount: BigNumberish;
|
|
180
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
181
|
+
export declare function curveSethRedeem({ comptrollerProxy, integrationManager, fundOwner, curveLiquiditySethAdapter, outgoingLPTokenAmount, minIncomingWethAmount, minIncomingSethAmount, receiveSingleAsset, }: {
|
|
182
|
+
comptrollerProxy: ComptrollerLib;
|
|
183
|
+
integrationManager: IntegrationManager;
|
|
184
|
+
fundOwner: SignerWithAddress;
|
|
185
|
+
curveLiquiditySethAdapter: CurveLiquiditySethAdapter;
|
|
186
|
+
outgoingLPTokenAmount: BigNumberish;
|
|
187
|
+
minIncomingWethAmount: BigNumberish;
|
|
188
|
+
minIncomingSethAmount: BigNumberish;
|
|
189
|
+
receiveSingleAsset: boolean;
|
|
190
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
191
|
+
export declare function curveSethStake({ comptrollerProxy, integrationManager, fundOwner, curveLiquiditySethAdapter, outgoingLPTokenAmount, }: {
|
|
192
|
+
comptrollerProxy: ComptrollerLib;
|
|
193
|
+
integrationManager: IntegrationManager;
|
|
194
|
+
fundOwner: SignerWithAddress;
|
|
195
|
+
curveLiquiditySethAdapter: CurveLiquiditySethAdapter;
|
|
196
|
+
outgoingLPTokenAmount: BigNumberish;
|
|
197
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
198
|
+
export declare function curveSethUnstakeAndRedeem({ comptrollerProxy, integrationManager, fundOwner, curveLiquiditySethAdapter, outgoingLiquidityGaugeTokenAmount, minIncomingWethAmount, minIncomingSethAmount, receiveSingleAsset, }: {
|
|
199
|
+
comptrollerProxy: ComptrollerLib;
|
|
200
|
+
integrationManager: IntegrationManager;
|
|
201
|
+
fundOwner: SignerWithAddress;
|
|
202
|
+
curveLiquiditySethAdapter: CurveLiquiditySethAdapter;
|
|
203
|
+
outgoingLiquidityGaugeTokenAmount: BigNumberish;
|
|
204
|
+
minIncomingWethAmount: BigNumberish;
|
|
205
|
+
minIncomingSethAmount: BigNumberish;
|
|
206
|
+
receiveSingleAsset: boolean;
|
|
207
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
208
|
+
export declare function curveSethUnstake({ comptrollerProxy, integrationManager, fundOwner, curveLiquiditySethAdapter, outgoingLiquidityGaugeTokenAmount, }: {
|
|
209
|
+
comptrollerProxy: ComptrollerLib;
|
|
210
|
+
integrationManager: IntegrationManager;
|
|
211
|
+
fundOwner: SignerWithAddress;
|
|
212
|
+
curveLiquiditySethAdapter: CurveLiquiditySethAdapter;
|
|
213
|
+
outgoingLiquidityGaugeTokenAmount: BigNumberish;
|
|
214
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
215
|
+
export declare function curveStethClaimRewards({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityStethAdapter, }: {
|
|
216
|
+
comptrollerProxy: ComptrollerLib;
|
|
217
|
+
integrationManager: IntegrationManager;
|
|
218
|
+
fundOwner: SignerWithAddress;
|
|
219
|
+
curveLiquidityStethAdapter: CurveLiquidityStethAdapter;
|
|
220
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
221
|
+
export declare function curveStethLend({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityStethAdapter, outgoingWethAmount, outgoingStethAmount, minIncomingLPTokenAmount, }: {
|
|
222
|
+
comptrollerProxy: ComptrollerLib;
|
|
223
|
+
integrationManager: IntegrationManager;
|
|
224
|
+
fundOwner: SignerWithAddress;
|
|
225
|
+
curveLiquidityStethAdapter: CurveLiquidityStethAdapter;
|
|
226
|
+
outgoingWethAmount: BigNumberish;
|
|
227
|
+
outgoingStethAmount: BigNumberish;
|
|
228
|
+
minIncomingLPTokenAmount: BigNumberish;
|
|
229
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
230
|
+
export declare function curveStethLendAndStake({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityStethAdapter, outgoingWethAmount, outgoingStethAmount, minIncomingLiquidityGaugeTokenAmount, }: {
|
|
231
|
+
comptrollerProxy: ComptrollerLib;
|
|
232
|
+
integrationManager: IntegrationManager;
|
|
233
|
+
fundOwner: SignerWithAddress;
|
|
234
|
+
curveLiquidityStethAdapter: CurveLiquidityStethAdapter;
|
|
235
|
+
outgoingWethAmount: BigNumberish;
|
|
236
|
+
outgoingStethAmount: BigNumberish;
|
|
237
|
+
minIncomingLiquidityGaugeTokenAmount: BigNumberish;
|
|
238
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
239
|
+
export declare function curveStethRedeem({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityStethAdapter, outgoingLPTokenAmount, minIncomingWethAmount, minIncomingStethAmount, receiveSingleAsset, }: {
|
|
240
|
+
comptrollerProxy: ComptrollerLib;
|
|
241
|
+
integrationManager: IntegrationManager;
|
|
242
|
+
fundOwner: SignerWithAddress;
|
|
243
|
+
curveLiquidityStethAdapter: CurveLiquidityStethAdapter;
|
|
244
|
+
outgoingLPTokenAmount: BigNumberish;
|
|
245
|
+
minIncomingWethAmount: BigNumberish;
|
|
246
|
+
minIncomingStethAmount: BigNumberish;
|
|
247
|
+
receiveSingleAsset: boolean;
|
|
248
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
249
|
+
export declare function curveStethStake({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityStethAdapter, outgoingLPTokenAmount, }: {
|
|
250
|
+
comptrollerProxy: ComptrollerLib;
|
|
251
|
+
integrationManager: IntegrationManager;
|
|
252
|
+
fundOwner: SignerWithAddress;
|
|
253
|
+
curveLiquidityStethAdapter: CurveLiquidityStethAdapter;
|
|
254
|
+
outgoingLPTokenAmount: BigNumberish;
|
|
255
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
256
|
+
export declare function curveStethUnstakeAndRedeem({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityStethAdapter, outgoingLiquidityGaugeTokenAmount, minIncomingWethAmount, minIncomingStethAmount, receiveSingleAsset, }: {
|
|
257
|
+
comptrollerProxy: ComptrollerLib;
|
|
258
|
+
integrationManager: IntegrationManager;
|
|
259
|
+
fundOwner: SignerWithAddress;
|
|
260
|
+
curveLiquidityStethAdapter: CurveLiquidityStethAdapter;
|
|
261
|
+
outgoingLiquidityGaugeTokenAmount: BigNumberish;
|
|
262
|
+
minIncomingWethAmount: BigNumberish;
|
|
263
|
+
minIncomingStethAmount: BigNumberish;
|
|
264
|
+
receiveSingleAsset: boolean;
|
|
265
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|
|
266
|
+
export declare function curveStethUnstake({ comptrollerProxy, integrationManager, fundOwner, curveLiquidityStethAdapter, outgoingLiquidityGaugeTokenAmount, }: {
|
|
267
|
+
comptrollerProxy: ComptrollerLib;
|
|
268
|
+
integrationManager: IntegrationManager;
|
|
269
|
+
fundOwner: SignerWithAddress;
|
|
270
|
+
curveLiquidityStethAdapter: CurveLiquidityStethAdapter;
|
|
271
|
+
outgoingLiquidityGaugeTokenAmount: BigNumberish;
|
|
272
|
+
}): Promise<import("@enzymefinance/ethers").ContractReceipt<import("@enzymefinance/ethers").SendFunction<[_extension: AddressLike, _actionId: BigNumberish, _callArgs: utils.BytesLike], void, ComptrollerLib>>>;
|