@gearbox-protocol/sdk 11.2.1 → 11.3.1
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/dist/cjs/abi/compressors/subcompressors/kelpLRTWithdrawalSubcompressor.js +187 -0
- package/dist/cjs/abi/compressors/subcompressors/mellowFlexibleDepositSubcompressor.js +187 -0
- package/dist/cjs/abi/compressors/subcompressors/mellowFlexibleRedeemSubcompressor.js +187 -0
- package/dist/cjs/abi/compressors/withdrawalCompressor.js +42 -0
- package/dist/cjs/abi/router/infinifiWorker.js +541 -0
- package/dist/cjs/abi/router/uniswapV4Worker.js +574 -0
- package/dist/cjs/plugins/adapters/AdaptersPlugin.js +9 -0
- package/dist/cjs/plugins/adapters/abi/actionAbi.js +9 -0
- package/dist/cjs/plugins/adapters/abi/conctructorAbi.js +17 -8
- package/dist/cjs/plugins/adapters/abi/conctructorAbiPatterns.js +4 -4
- package/dist/cjs/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +2 -1
- package/dist/cjs/plugins/adapters/contracts/InfinifiGatewayAdapterContract.js +58 -0
- package/dist/cjs/plugins/adapters/contracts/InfinifiUnwindingGatewayAdapterContract.js +49 -0
- package/dist/cjs/plugins/adapters/contracts/MidasIssuanceVaultAdapterContract.js +2 -1
- package/dist/cjs/plugins/adapters/contracts/MidasRedemptionVaultAdapterContract.js +2 -1
- package/dist/cjs/plugins/adapters/contracts/UniswapV4AdapterContract.js +62 -0
- package/dist/cjs/plugins/adapters/types.js +3 -0
- package/dist/esm/abi/compressors/subcompressors/kelpLRTWithdrawalSubcompressor.js +163 -0
- package/dist/esm/abi/compressors/subcompressors/mellowFlexibleDepositSubcompressor.js +163 -0
- package/dist/esm/abi/compressors/subcompressors/mellowFlexibleRedeemSubcompressor.js +163 -0
- package/dist/esm/abi/compressors/withdrawalCompressor.js +42 -0
- package/dist/esm/abi/router/infinifiWorker.js +517 -0
- package/dist/esm/abi/router/uniswapV4Worker.js +550 -0
- package/dist/esm/plugins/adapters/AdaptersPlugin.js +9 -0
- package/dist/esm/plugins/adapters/abi/actionAbi.js +9 -0
- package/dist/esm/plugins/adapters/abi/conctructorAbi.js +18 -9
- package/dist/esm/plugins/adapters/abi/conctructorAbiPatterns.js +3 -3
- package/dist/esm/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +2 -1
- package/dist/esm/plugins/adapters/contracts/InfinifiGatewayAdapterContract.js +34 -0
- package/dist/esm/plugins/adapters/contracts/InfinifiUnwindingGatewayAdapterContract.js +25 -0
- package/dist/esm/plugins/adapters/contracts/MidasIssuanceVaultAdapterContract.js +2 -1
- package/dist/esm/plugins/adapters/contracts/MidasRedemptionVaultAdapterContract.js +2 -1
- package/dist/esm/plugins/adapters/contracts/UniswapV4AdapterContract.js +38 -0
- package/dist/esm/plugins/adapters/types.js +3 -0
- package/dist/types/abi/compressors/subcompressors/kelpLRTWithdrawalSubcompressor.d.ts +220 -0
- package/dist/types/abi/compressors/subcompressors/mellowFlexibleDepositSubcompressor.d.ts +220 -0
- package/dist/types/abi/compressors/subcompressors/mellowFlexibleRedeemSubcompressor.d.ts +220 -0
- package/dist/types/abi/compressors/withdrawalCompressor.d.ts +69 -0
- package/dist/types/abi/router/infinifiWorker.d.ts +726 -0
- package/dist/types/abi/router/uniswapV4Worker.d.ts +774 -0
- package/dist/types/permissionless/bindings/compressors/withdrawal-compressor.d.ts +69 -0
- package/dist/types/plugins/adapters/abi/conctructorAbiPatterns.d.ts +2 -2
- package/dist/types/plugins/adapters/contracts/BalancerV3RouterAdapterContract.d.ts +139 -13
- package/dist/types/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.d.ts +117 -1
- package/dist/types/plugins/adapters/contracts/InfinifiGatewayAdapterContract.d.ts +351 -0
- package/dist/types/plugins/adapters/contracts/InfinifiUnwindingGatewayAdapterContract.d.ts +208 -0
- package/dist/types/plugins/adapters/contracts/MidasIssuanceVaultAdapterContract.d.ts +180 -1
- package/dist/types/plugins/adapters/contracts/MidasRedemptionVaultAdapterContract.d.ts +276 -1
- package/dist/types/plugins/adapters/contracts/PendleRouterAdapterContract.d.ts +559 -0
- package/dist/types/plugins/adapters/contracts/UniswapV4AdapterContract.d.ts +320 -0
- package/dist/types/plugins/adapters/types.d.ts +4 -1
- package/package.json +2 -2
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { type Address } from "viem";
|
|
2
|
+
import type { GearboxSDK } from "../../../sdk/index.js";
|
|
3
|
+
import type { AbstractAdapterContractOptions } from "./AbstractAdapter.js";
|
|
4
|
+
import { AbstractAdapterContract } from "./AbstractAdapter.js";
|
|
5
|
+
declare const abi: readonly [{
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly inputs: readonly [];
|
|
8
|
+
readonly name: "contractType";
|
|
9
|
+
readonly outputs: readonly [{
|
|
10
|
+
readonly name: "";
|
|
11
|
+
readonly internalType: "bytes32";
|
|
12
|
+
readonly type: "bytes32";
|
|
13
|
+
}];
|
|
14
|
+
readonly stateMutability: "view";
|
|
15
|
+
}, {
|
|
16
|
+
readonly type: "function";
|
|
17
|
+
readonly inputs: readonly [];
|
|
18
|
+
readonly name: "creditManager";
|
|
19
|
+
readonly outputs: readonly [{
|
|
20
|
+
readonly name: "";
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "view";
|
|
25
|
+
}, {
|
|
26
|
+
readonly type: "function";
|
|
27
|
+
readonly inputs: readonly [{
|
|
28
|
+
readonly name: "poolKey";
|
|
29
|
+
readonly internalType: "struct PoolKey";
|
|
30
|
+
readonly type: "tuple";
|
|
31
|
+
readonly components: readonly [{
|
|
32
|
+
readonly name: "token0";
|
|
33
|
+
readonly internalType: "address";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "token1";
|
|
37
|
+
readonly internalType: "address";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "fee";
|
|
41
|
+
readonly internalType: "uint24";
|
|
42
|
+
readonly type: "uint24";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "tickSpacing";
|
|
45
|
+
readonly internalType: "int24";
|
|
46
|
+
readonly type: "int24";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "hooks";
|
|
49
|
+
readonly internalType: "address";
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
}];
|
|
52
|
+
}];
|
|
53
|
+
readonly name: "isPoolKeyAllowed";
|
|
54
|
+
readonly outputs: readonly [{
|
|
55
|
+
readonly name: "";
|
|
56
|
+
readonly internalType: "bool";
|
|
57
|
+
readonly type: "bool";
|
|
58
|
+
}];
|
|
59
|
+
readonly stateMutability: "view";
|
|
60
|
+
}, {
|
|
61
|
+
readonly type: "function";
|
|
62
|
+
readonly inputs: readonly [];
|
|
63
|
+
readonly name: "serialize";
|
|
64
|
+
readonly outputs: readonly [{
|
|
65
|
+
readonly name: "serializedData";
|
|
66
|
+
readonly internalType: "bytes";
|
|
67
|
+
readonly type: "bytes";
|
|
68
|
+
}];
|
|
69
|
+
readonly stateMutability: "view";
|
|
70
|
+
}, {
|
|
71
|
+
readonly type: "function";
|
|
72
|
+
readonly inputs: readonly [{
|
|
73
|
+
readonly name: "poolKeys";
|
|
74
|
+
readonly internalType: "struct UniswapV4PoolStatus[]";
|
|
75
|
+
readonly type: "tuple[]";
|
|
76
|
+
readonly components: readonly [{
|
|
77
|
+
readonly name: "poolKey";
|
|
78
|
+
readonly internalType: "struct PoolKey";
|
|
79
|
+
readonly type: "tuple";
|
|
80
|
+
readonly components: readonly [{
|
|
81
|
+
readonly name: "token0";
|
|
82
|
+
readonly internalType: "address";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "token1";
|
|
86
|
+
readonly internalType: "address";
|
|
87
|
+
readonly type: "address";
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "fee";
|
|
90
|
+
readonly internalType: "uint24";
|
|
91
|
+
readonly type: "uint24";
|
|
92
|
+
}, {
|
|
93
|
+
readonly name: "tickSpacing";
|
|
94
|
+
readonly internalType: "int24";
|
|
95
|
+
readonly type: "int24";
|
|
96
|
+
}, {
|
|
97
|
+
readonly name: "hooks";
|
|
98
|
+
readonly internalType: "address";
|
|
99
|
+
readonly type: "address";
|
|
100
|
+
}];
|
|
101
|
+
}, {
|
|
102
|
+
readonly name: "allowed";
|
|
103
|
+
readonly internalType: "bool";
|
|
104
|
+
readonly type: "bool";
|
|
105
|
+
}];
|
|
106
|
+
}];
|
|
107
|
+
readonly name: "setPoolKeyStatusBatch";
|
|
108
|
+
readonly outputs: readonly [];
|
|
109
|
+
readonly stateMutability: "nonpayable";
|
|
110
|
+
}, {
|
|
111
|
+
readonly type: "function";
|
|
112
|
+
readonly inputs: readonly [];
|
|
113
|
+
readonly name: "supportedPoolKeys";
|
|
114
|
+
readonly outputs: readonly [{
|
|
115
|
+
readonly name: "poolKeys";
|
|
116
|
+
readonly internalType: "struct PoolKey[]";
|
|
117
|
+
readonly type: "tuple[]";
|
|
118
|
+
readonly components: readonly [{
|
|
119
|
+
readonly name: "token0";
|
|
120
|
+
readonly internalType: "address";
|
|
121
|
+
readonly type: "address";
|
|
122
|
+
}, {
|
|
123
|
+
readonly name: "token1";
|
|
124
|
+
readonly internalType: "address";
|
|
125
|
+
readonly type: "address";
|
|
126
|
+
}, {
|
|
127
|
+
readonly name: "fee";
|
|
128
|
+
readonly internalType: "uint24";
|
|
129
|
+
readonly type: "uint24";
|
|
130
|
+
}, {
|
|
131
|
+
readonly name: "tickSpacing";
|
|
132
|
+
readonly internalType: "int24";
|
|
133
|
+
readonly type: "int24";
|
|
134
|
+
}, {
|
|
135
|
+
readonly name: "hooks";
|
|
136
|
+
readonly internalType: "address";
|
|
137
|
+
readonly type: "address";
|
|
138
|
+
}];
|
|
139
|
+
}];
|
|
140
|
+
readonly stateMutability: "view";
|
|
141
|
+
}, {
|
|
142
|
+
readonly type: "function";
|
|
143
|
+
readonly inputs: readonly [{
|
|
144
|
+
readonly name: "poolKey";
|
|
145
|
+
readonly internalType: "struct PoolKey";
|
|
146
|
+
readonly type: "tuple";
|
|
147
|
+
readonly components: readonly [{
|
|
148
|
+
readonly name: "token0";
|
|
149
|
+
readonly internalType: "address";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "token1";
|
|
153
|
+
readonly internalType: "address";
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
}, {
|
|
156
|
+
readonly name: "fee";
|
|
157
|
+
readonly internalType: "uint24";
|
|
158
|
+
readonly type: "uint24";
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "tickSpacing";
|
|
161
|
+
readonly internalType: "int24";
|
|
162
|
+
readonly type: "int24";
|
|
163
|
+
}, {
|
|
164
|
+
readonly name: "hooks";
|
|
165
|
+
readonly internalType: "address";
|
|
166
|
+
readonly type: "address";
|
|
167
|
+
}];
|
|
168
|
+
}, {
|
|
169
|
+
readonly name: "zeroForOne";
|
|
170
|
+
readonly internalType: "bool";
|
|
171
|
+
readonly type: "bool";
|
|
172
|
+
}, {
|
|
173
|
+
readonly name: "amountIn";
|
|
174
|
+
readonly internalType: "uint128";
|
|
175
|
+
readonly type: "uint128";
|
|
176
|
+
}, {
|
|
177
|
+
readonly name: "amountOutMinimum";
|
|
178
|
+
readonly internalType: "uint128";
|
|
179
|
+
readonly type: "uint128";
|
|
180
|
+
}, {
|
|
181
|
+
readonly name: "hooks";
|
|
182
|
+
readonly internalType: "bytes";
|
|
183
|
+
readonly type: "bytes";
|
|
184
|
+
}];
|
|
185
|
+
readonly name: "swapExactInputSingle";
|
|
186
|
+
readonly outputs: readonly [{
|
|
187
|
+
readonly name: "";
|
|
188
|
+
readonly internalType: "bool";
|
|
189
|
+
readonly type: "bool";
|
|
190
|
+
}];
|
|
191
|
+
readonly stateMutability: "nonpayable";
|
|
192
|
+
}, {
|
|
193
|
+
readonly type: "function";
|
|
194
|
+
readonly inputs: readonly [{
|
|
195
|
+
readonly name: "poolKey";
|
|
196
|
+
readonly internalType: "struct PoolKey";
|
|
197
|
+
readonly type: "tuple";
|
|
198
|
+
readonly components: readonly [{
|
|
199
|
+
readonly name: "token0";
|
|
200
|
+
readonly internalType: "address";
|
|
201
|
+
readonly type: "address";
|
|
202
|
+
}, {
|
|
203
|
+
readonly name: "token1";
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
readonly type: "address";
|
|
206
|
+
}, {
|
|
207
|
+
readonly name: "fee";
|
|
208
|
+
readonly internalType: "uint24";
|
|
209
|
+
readonly type: "uint24";
|
|
210
|
+
}, {
|
|
211
|
+
readonly name: "tickSpacing";
|
|
212
|
+
readonly internalType: "int24";
|
|
213
|
+
readonly type: "int24";
|
|
214
|
+
}, {
|
|
215
|
+
readonly name: "hooks";
|
|
216
|
+
readonly internalType: "address";
|
|
217
|
+
readonly type: "address";
|
|
218
|
+
}];
|
|
219
|
+
}, {
|
|
220
|
+
readonly name: "zeroForOne";
|
|
221
|
+
readonly internalType: "bool";
|
|
222
|
+
readonly type: "bool";
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "leftoverAmount";
|
|
225
|
+
readonly internalType: "uint128";
|
|
226
|
+
readonly type: "uint128";
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "rateMinRAY";
|
|
229
|
+
readonly internalType: "uint128";
|
|
230
|
+
readonly type: "uint128";
|
|
231
|
+
}];
|
|
232
|
+
readonly name: "swapExactInputSingleDiff";
|
|
233
|
+
readonly outputs: readonly [{
|
|
234
|
+
readonly name: "";
|
|
235
|
+
readonly internalType: "bool";
|
|
236
|
+
readonly type: "bool";
|
|
237
|
+
}];
|
|
238
|
+
readonly stateMutability: "nonpayable";
|
|
239
|
+
}, {
|
|
240
|
+
readonly type: "function";
|
|
241
|
+
readonly inputs: readonly [];
|
|
242
|
+
readonly name: "targetContract";
|
|
243
|
+
readonly outputs: readonly [{
|
|
244
|
+
readonly name: "";
|
|
245
|
+
readonly internalType: "address";
|
|
246
|
+
readonly type: "address";
|
|
247
|
+
}];
|
|
248
|
+
readonly stateMutability: "view";
|
|
249
|
+
}, {
|
|
250
|
+
readonly type: "function";
|
|
251
|
+
readonly inputs: readonly [];
|
|
252
|
+
readonly name: "version";
|
|
253
|
+
readonly outputs: readonly [{
|
|
254
|
+
readonly name: "";
|
|
255
|
+
readonly internalType: "uint256";
|
|
256
|
+
readonly type: "uint256";
|
|
257
|
+
}];
|
|
258
|
+
readonly stateMutability: "view";
|
|
259
|
+
}, {
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
readonly inputs: readonly [];
|
|
262
|
+
readonly name: "weth";
|
|
263
|
+
readonly outputs: readonly [{
|
|
264
|
+
readonly name: "";
|
|
265
|
+
readonly internalType: "address";
|
|
266
|
+
readonly type: "address";
|
|
267
|
+
}];
|
|
268
|
+
readonly stateMutability: "view";
|
|
269
|
+
}, {
|
|
270
|
+
readonly type: "event";
|
|
271
|
+
readonly anonymous: false;
|
|
272
|
+
readonly inputs: readonly [{
|
|
273
|
+
readonly name: "token0";
|
|
274
|
+
readonly internalType: "address";
|
|
275
|
+
readonly type: "address";
|
|
276
|
+
readonly indexed: true;
|
|
277
|
+
}, {
|
|
278
|
+
readonly name: "token1";
|
|
279
|
+
readonly internalType: "address";
|
|
280
|
+
readonly type: "address";
|
|
281
|
+
readonly indexed: true;
|
|
282
|
+
}, {
|
|
283
|
+
readonly name: "fee";
|
|
284
|
+
readonly internalType: "uint24";
|
|
285
|
+
readonly type: "uint24";
|
|
286
|
+
readonly indexed: false;
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "tickSpacing";
|
|
289
|
+
readonly internalType: "int24";
|
|
290
|
+
readonly type: "int24";
|
|
291
|
+
readonly indexed: false;
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "hooks";
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
readonly indexed: false;
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: "allowed";
|
|
299
|
+
readonly internalType: "bool";
|
|
300
|
+
readonly type: "bool";
|
|
301
|
+
readonly indexed: false;
|
|
302
|
+
}];
|
|
303
|
+
readonly name: "SetPoolKeyStatus";
|
|
304
|
+
}, {
|
|
305
|
+
readonly type: "error";
|
|
306
|
+
readonly inputs: readonly [];
|
|
307
|
+
readonly name: "InvalidPoolKeyException";
|
|
308
|
+
}];
|
|
309
|
+
type abi = typeof abi;
|
|
310
|
+
export declare class UniswapV4AdapterContract extends AbstractAdapterContract<abi> {
|
|
311
|
+
readonly supportedPoolKeys: {
|
|
312
|
+
token0: Address;
|
|
313
|
+
token1: Address;
|
|
314
|
+
fee: number;
|
|
315
|
+
tickSpacing: number;
|
|
316
|
+
hooks: Address;
|
|
317
|
+
}[];
|
|
318
|
+
constructor(sdk: GearboxSDK, args: Omit<AbstractAdapterContractOptions<abi>, "abi">);
|
|
319
|
+
}
|
|
320
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AbiParameter } from "viem";
|
|
2
2
|
export type VersionedAbi = Record<number, readonly AbiParameter[]>;
|
|
3
3
|
export type AdapterContractTypeLegacy = "AD_AAVE_V3_LENDING_POOL" | "AD_BALANCER_VAULT" | "AD_CAMELOT_V3_ROUTER" | "AD_CONVEX_L2_BOOSTER" | "AD_CONVEX_L2_REWARD_POOL" | "AD_CONVEX_V1_BASE_REWARD_POOL" | "AD_CONVEX_V1_BOOSTER" | "AD_CURVE_STABLE_NG" | "AD_CURVE_V1_2ASSETS" | "AD_CURVE_V1_3ASSETS" | "AD_CURVE_V1_4ASSETS" | "AD_CURVE_V1_EXCHANGE_ONLY" | "AD_CURVE_V1_STECRV_POOL" | "AD_CURVE_V1_WRAPPER" | "AD_DAI_USDS_EXCHANGE" | "AD_EQUALIZER_ROUTER" | "AD_ERC4626_VAULT" | "AD_LIDO_V1" | "AD_LIDO_WSTETH_V1" | "AD_MELLOW_ERC4626_VAULT" | "AD_MELLOW_LRT_VAULT" | "AD_PENDLE_ROUTER" | "AD_STAKING_REWARDS" | "AD_SYMBIOTIC_DEFAULT_COLLATERAL" | "AD_UNISWAP_V2_ROUTER" | "AD_UNISWAP_V3_ROUTER" | "AD_VELODROME_V2_ROUTER" | "AD_YEARN_V2" | "AD_ZIRCUIT_POOL";
|
|
4
|
-
export type AdapterContractType = "ADAPTER::ACCOUNT_MIGRATOR" | "ADAPTER::BALANCER_V3_ROUTER" | "ADAPTER::BALANCER_V3_WRAPPER" | "ADAPTER::BALANCER_VAULT" | "ADAPTER::CAMELOT_V3_ROUTER" | "ADAPTER::CURVE_STABLE_NG" | "ADAPTER::CURVE_V1_2ASSETS" | "ADAPTER::CURVE_V1_3ASSETS" | "ADAPTER::CURVE_V1_4ASSETS" | "ADAPTER::CURVE_V1_STECRV_POOL" | "ADAPTER::CURVE_V1_WRAPPER" | "ADAPTER::CVX_V1_BASE_REWARD_POOL" | "ADAPTER::CVX_V1_BOOSTER" | "ADAPTER::DAI_USDS_EXCHANGE" | "ADAPTER::EQUALIZER_ROUTER" | "ADAPTER::ERC4626_VAULT" | "ADAPTER::ERC4626_VAULT_REFERRAL" | "ADAPTER::FLUID_DEX" | "ADAPTER::INFRARED_VAULT" | "ADAPTER::KODIAK_ISLAND_GATEWAY" | "ADAPTER::LIDO_V1" | "ADAPTER::LIDO_WSTETH_V1" | "ADAPTER::MELLOW_CLAIMER" | "ADAPTER::MELLOW_DVV" | "ADAPTER::MELLOW_ERC4626_VAULT" | "ADAPTER::MELLOW_LRT_VAULT" | "ADAPTER::MELLOW_WRAPPER" | "ADAPTER::MIDAS_ISSUANCE_VAULT" | "ADAPTER::MIDAS_REDEMPTION_VAULT" | "ADAPTER::PENDLE_ROUTER" | "ADAPTER::STAKING_REWARDS" | "ADAPTER::TRADERJOE_ROUTER" | "ADAPTER::UNISWAP_V2_ROUTER" | "ADAPTER::UNISWAP_V3_ROUTER" | "ADAPTER::UPSHIFT_VAULT" | "ADAPTER::VELODROME_V2_ROUTER" | "ADAPTER::YEARN_V2";
|
|
4
|
+
export type AdapterContractType = "ADAPTER::ACCOUNT_MIGRATOR" | "ADAPTER::BALANCER_V3_ROUTER" | "ADAPTER::BALANCER_V3_WRAPPER" | "ADAPTER::BALANCER_VAULT" | "ADAPTER::CAMELOT_V3_ROUTER" | "ADAPTER::CURVE_STABLE_NG" | "ADAPTER::CURVE_V1_2ASSETS" | "ADAPTER::CURVE_V1_3ASSETS" | "ADAPTER::CURVE_V1_4ASSETS" | "ADAPTER::CURVE_V1_STECRV_POOL" | "ADAPTER::CURVE_V1_WRAPPER" | "ADAPTER::CVX_V1_BASE_REWARD_POOL" | "ADAPTER::CVX_V1_BOOSTER" | "ADAPTER::DAI_USDS_EXCHANGE" | "ADAPTER::EQUALIZER_ROUTER" | "ADAPTER::ERC4626_VAULT" | "ADAPTER::ERC4626_VAULT_REFERRAL" | "ADAPTER::FLUID_DEX" | "ADAPTER::INFINIFI_GATEWAY" | "ADAPTER::INFINIFI_UNWINDING" | "ADAPTER::INFRARED_VAULT" | "ADAPTER::KODIAK_ISLAND_GATEWAY" | "ADAPTER::LIDO_V1" | "ADAPTER::LIDO_WSTETH_V1" | "ADAPTER::MELLOW_CLAIMER" | "ADAPTER::MELLOW_DVV" | "ADAPTER::MELLOW_ERC4626_VAULT" | "ADAPTER::MELLOW_LRT_VAULT" | "ADAPTER::MELLOW_WRAPPER" | "ADAPTER::MIDAS_ISSUANCE_VAULT" | "ADAPTER::MIDAS_REDEMPTION_VAULT" | "ADAPTER::PENDLE_ROUTER" | "ADAPTER::STAKING_REWARDS" | "ADAPTER::TRADERJOE_ROUTER" | "ADAPTER::UNISWAP_V2_ROUTER" | "ADAPTER::UNISWAP_V3_ROUTER" | "ADAPTER::UNISWAP_V4_GATEWAY" | "ADAPTER::UPSHIFT_VAULT" | "ADAPTER::VELODROME_V2_ROUTER" | "ADAPTER::YEARN_V2";
|
|
5
5
|
export declare enum AdapterType {
|
|
6
6
|
ACCOUNT_MIGRATOR = "ACCOUNT_MIGRATOR",
|
|
7
7
|
BALANCER_V3_ROUTER = "BALANCER_V3_ROUTER",
|
|
@@ -21,6 +21,8 @@ export declare enum AdapterType {
|
|
|
21
21
|
ERC4626_VAULT = "ERC4626_VAULT",
|
|
22
22
|
ERC4626_VAULT_REFERRAL = "ERC4626_VAULT_REFERRAL",
|
|
23
23
|
FLUID_DEX = "FLUID_DEX",
|
|
24
|
+
INFINIFI_GATEWAY = "INFINIFI_GATEWAY",
|
|
25
|
+
INFINIFI_UNWINDING = "INFINIFI_UNWINDING",
|
|
24
26
|
INFRARED_VAULT = "INFRARED_VAULT",
|
|
25
27
|
KODIAK_ISLAND_GATEWAY = "KODIAK_ISLAND_GATEWAY",
|
|
26
28
|
LIDO_V1 = "LIDO_V1",
|
|
@@ -37,6 +39,7 @@ export declare enum AdapterType {
|
|
|
37
39
|
TRADERJOE_ROUTER = "TRADERJOE_ROUTER",
|
|
38
40
|
UNISWAP_V2_ROUTER = "UNISWAP_V2_ROUTER",
|
|
39
41
|
UNISWAP_V3_ROUTER = "UNISWAP_V3_ROUTER",
|
|
42
|
+
UNISWAP_V4_GATEWAY = "UNISWAP_V4_GATEWAY",
|
|
40
43
|
UPSHIFT_VAULT = "UPSHIFT_VAULT",
|
|
41
44
|
VELODROME_V2_ROUTER = "VELODROME_V2_ROUTER",
|
|
42
45
|
YEARN_V2 = "YEARN_V2"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/sdk",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.1",
|
|
4
4
|
"description": "Gearbox SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/cjs/sdk/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"typecheck:ci": "tsc --noEmit"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@gearbox-protocol/integrations-v3": "1.
|
|
54
|
+
"@gearbox-protocol/integrations-v3": "1.51.1",
|
|
55
55
|
"@redstone-finance/evm-connector": "^0.9.0",
|
|
56
56
|
"@redstone-finance/protocol": "^0.9.0",
|
|
57
57
|
"@redstone-finance/sdk": "^0.9.0",
|