@gearbox-protocol/sdk 9.15.1 → 9.15.3
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/router/pendleRouterWorker.js +0 -16
- package/dist/cjs/plugins/adapters/AdaptersPlugin.js +3 -0
- package/dist/cjs/plugins/adapters/abi/actionAbi.js +4 -2
- package/dist/cjs/plugins/adapters/abi/conctructorAbi.js +6 -1
- package/dist/cjs/plugins/adapters/contracts/BalancerV3RouterAdapterContract.js +29 -9
- package/dist/cjs/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +45 -0
- package/dist/cjs/plugins/adapters/contracts/PendleRouterAdapterContract.js +52 -23
- package/dist/cjs/plugins/adapters/contracts/types.js +17 -0
- package/dist/cjs/plugins/adapters/types.js +1 -0
- package/dist/cjs/plugins/zappers/extraZappers.js +21 -84
- package/dist/cjs/sdk/sdk-legacy/core/transactions.js +30 -30
- package/dist/esm/abi/router/pendleRouterWorker.js +0 -16
- package/dist/esm/plugins/adapters/AdaptersPlugin.js +3 -0
- package/dist/esm/plugins/adapters/abi/actionAbi.js +4 -2
- package/dist/esm/plugins/adapters/abi/conctructorAbi.js +6 -1
- package/dist/esm/plugins/adapters/contracts/BalancerV3RouterAdapterContract.js +29 -9
- package/dist/esm/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.js +21 -0
- package/dist/esm/plugins/adapters/contracts/PendleRouterAdapterContract.js +52 -23
- package/dist/esm/plugins/adapters/contracts/types.js +15 -0
- package/dist/esm/plugins/adapters/types.js +1 -0
- package/dist/esm/plugins/zappers/extraZappers.js +21 -84
- package/dist/esm/sdk/sdk-legacy/core/transactions.js +31 -31
- package/dist/types/abi/router/pendleRouterWorker.d.ts +0 -20
- package/dist/types/permissionless/utils/governance/types.d.ts +3 -0
- package/dist/types/permissionless/utils/price-update/get-price-feeds.d.ts +9 -0
- package/dist/types/plugins/adapters/contracts/BalancerV3RouterAdapterContract.d.ts +5 -1
- package/dist/types/plugins/adapters/contracts/BalancerV3WrapperAdapterContract.d.ts +11 -0
- package/dist/types/plugins/adapters/contracts/PendleRouterAdapterContract.d.ts +7 -1
- package/dist/types/plugins/adapters/contracts/types.d.ts +11 -0
- package/dist/types/plugins/adapters/types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { formatBN } from "../../utils/index.js";
|
|
1
|
+
import { formatBN, json_parse, json_stringify } from "../../utils/index.js";
|
|
2
2
|
import { BigIntMath } from "../utils/math.js";
|
|
3
3
|
import { EVMTx } from "./eventOrTx.js";
|
|
4
4
|
const GEAR_DECIMALS = 18;
|
|
5
5
|
class TxSerializer {
|
|
6
6
|
static serialize(items) {
|
|
7
|
-
return
|
|
7
|
+
return json_stringify(items.map((i) => i.serialize()));
|
|
8
8
|
}
|
|
9
9
|
static deserialize(data) {
|
|
10
|
-
return
|
|
11
|
-
const params =
|
|
10
|
+
return json_parse(data).map((e) => {
|
|
11
|
+
const params = json_parse(e.content);
|
|
12
12
|
switch (e.type) {
|
|
13
13
|
case "TxAddLiquidity":
|
|
14
14
|
return new TxAddLiquidity(params);
|
|
@@ -90,7 +90,7 @@ class TxAddLiquidity extends EVMTx {
|
|
|
90
90
|
serialize() {
|
|
91
91
|
return {
|
|
92
92
|
type: "TxAddLiquidity",
|
|
93
|
-
content:
|
|
93
|
+
content: json_stringify(this)
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -114,7 +114,7 @@ class TxRemoveLiquidity extends EVMTx {
|
|
|
114
114
|
serialize() {
|
|
115
115
|
return {
|
|
116
116
|
type: "TxRemoveLiquidity",
|
|
117
|
-
content:
|
|
117
|
+
content: json_stringify(this)
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -141,7 +141,7 @@ class TxStakeDiesel extends EVMTx {
|
|
|
141
141
|
serialize() {
|
|
142
142
|
return {
|
|
143
143
|
type: "TxStakeDiesel",
|
|
144
|
-
content:
|
|
144
|
+
content: json_stringify(this)
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
147
|
}
|
|
@@ -168,7 +168,7 @@ class TxUnstakeDiesel extends EVMTx {
|
|
|
168
168
|
serialize() {
|
|
169
169
|
return {
|
|
170
170
|
type: "TxUnstakeDiesel",
|
|
171
|
-
content:
|
|
171
|
+
content: json_stringify(this)
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -200,7 +200,7 @@ class TXSwap extends EVMTx {
|
|
|
200
200
|
serialize() {
|
|
201
201
|
return {
|
|
202
202
|
type: "TxSwap",
|
|
203
|
-
content:
|
|
203
|
+
content: json_stringify(this)
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
206
|
}
|
|
@@ -224,7 +224,7 @@ class TxAddCollateral extends EVMTx {
|
|
|
224
224
|
serialize() {
|
|
225
225
|
return {
|
|
226
226
|
type: "TxAddCollateral",
|
|
227
|
-
content:
|
|
227
|
+
content: json_stringify(this)
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
}
|
|
@@ -248,7 +248,7 @@ class TxIncreaseBorrowAmount extends EVMTx {
|
|
|
248
248
|
serialize() {
|
|
249
249
|
return {
|
|
250
250
|
type: "TxIncreaseBorrowAmount",
|
|
251
|
-
content:
|
|
251
|
+
content: json_stringify(this)
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
}
|
|
@@ -272,7 +272,7 @@ class TxDecreaseBorrowAmount extends EVMTx {
|
|
|
272
272
|
serialize() {
|
|
273
273
|
return {
|
|
274
274
|
type: "TxIncreaseBorrowAmount",
|
|
275
|
-
content:
|
|
275
|
+
content: json_stringify(this)
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -313,7 +313,7 @@ class TxOpenMultitokenAccount extends EVMTx {
|
|
|
313
313
|
serialize() {
|
|
314
314
|
return {
|
|
315
315
|
type: "TxOpenMultitokenAccount",
|
|
316
|
-
content:
|
|
316
|
+
content: json_stringify(this)
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
319
|
}
|
|
@@ -324,7 +324,7 @@ class TxClaimNFT extends EVMTx {
|
|
|
324
324
|
serialize() {
|
|
325
325
|
return {
|
|
326
326
|
type: "TxClaimNFT",
|
|
327
|
-
content:
|
|
327
|
+
content: json_stringify(this)
|
|
328
328
|
};
|
|
329
329
|
}
|
|
330
330
|
}
|
|
@@ -350,7 +350,7 @@ class TxClaimRewards extends EVMTx {
|
|
|
350
350
|
serialize() {
|
|
351
351
|
return {
|
|
352
352
|
type: "TxClaimRewards",
|
|
353
|
-
content:
|
|
353
|
+
content: json_stringify(this)
|
|
354
354
|
};
|
|
355
355
|
}
|
|
356
356
|
}
|
|
@@ -395,7 +395,7 @@ class TxStartDelayedWithdrawal extends EVMTx {
|
|
|
395
395
|
serialize() {
|
|
396
396
|
return {
|
|
397
397
|
type: "TxStartDelayedWithdrawal",
|
|
398
|
-
content:
|
|
398
|
+
content: json_stringify(this)
|
|
399
399
|
};
|
|
400
400
|
}
|
|
401
401
|
}
|
|
@@ -411,7 +411,7 @@ class TxMigrateCreditAccount extends EVMTx {
|
|
|
411
411
|
serialize() {
|
|
412
412
|
return {
|
|
413
413
|
type: "TxMigrateCreditAccount",
|
|
414
|
-
content:
|
|
414
|
+
content: json_stringify(this)
|
|
415
415
|
};
|
|
416
416
|
}
|
|
417
417
|
}
|
|
@@ -427,7 +427,7 @@ class TxRepayAccount extends EVMTx {
|
|
|
427
427
|
serialize() {
|
|
428
428
|
return {
|
|
429
429
|
type: "TxRepayAccount",
|
|
430
|
-
content:
|
|
430
|
+
content: json_stringify(this)
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
433
|
}
|
|
@@ -443,7 +443,7 @@ class TxLiquidateAccount extends EVMTx {
|
|
|
443
443
|
serialize() {
|
|
444
444
|
return {
|
|
445
445
|
type: "TxLiquidateAccount",
|
|
446
|
-
content:
|
|
446
|
+
content: json_stringify(this)
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
449
|
}
|
|
@@ -459,7 +459,7 @@ class TxCloseAccount extends EVMTx {
|
|
|
459
459
|
serialize() {
|
|
460
460
|
return {
|
|
461
461
|
type: "TxCloseAccount",
|
|
462
|
-
content:
|
|
462
|
+
content: json_stringify(this)
|
|
463
463
|
};
|
|
464
464
|
}
|
|
465
465
|
}
|
|
@@ -476,7 +476,7 @@ class TxApprove extends EVMTx {
|
|
|
476
476
|
serialize() {
|
|
477
477
|
return {
|
|
478
478
|
type: "TxApprove",
|
|
479
|
-
content:
|
|
479
|
+
content: json_stringify(this)
|
|
480
480
|
};
|
|
481
481
|
}
|
|
482
482
|
}
|
|
@@ -509,7 +509,7 @@ class TxUpdateQuota extends EVMTx {
|
|
|
509
509
|
serialize() {
|
|
510
510
|
return {
|
|
511
511
|
type: "TxUpdateQuota",
|
|
512
|
-
content:
|
|
512
|
+
content: json_stringify(this)
|
|
513
513
|
};
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -526,7 +526,7 @@ class TxGaugeStake extends EVMTx {
|
|
|
526
526
|
serialize() {
|
|
527
527
|
return {
|
|
528
528
|
type: "TxGaugeStake",
|
|
529
|
-
content:
|
|
529
|
+
content: json_stringify(this)
|
|
530
530
|
};
|
|
531
531
|
}
|
|
532
532
|
}
|
|
@@ -543,7 +543,7 @@ class TxGaugeUnstake extends EVMTx {
|
|
|
543
543
|
serialize() {
|
|
544
544
|
return {
|
|
545
545
|
type: "TxGaugeUnstake",
|
|
546
|
-
content:
|
|
546
|
+
content: json_stringify(this)
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
549
|
}
|
|
@@ -554,7 +554,7 @@ class TxGaugeClaim extends EVMTx {
|
|
|
554
554
|
serialize() {
|
|
555
555
|
return {
|
|
556
556
|
type: "TxGaugeClaim",
|
|
557
|
-
content:
|
|
557
|
+
content: json_stringify(this)
|
|
558
558
|
};
|
|
559
559
|
}
|
|
560
560
|
}
|
|
@@ -573,7 +573,7 @@ class TxGaugeVote extends EVMTx {
|
|
|
573
573
|
serialize() {
|
|
574
574
|
return {
|
|
575
575
|
type: "TxGaugeVote",
|
|
576
|
-
content:
|
|
576
|
+
content: json_stringify(this)
|
|
577
577
|
};
|
|
578
578
|
}
|
|
579
579
|
}
|
|
@@ -599,7 +599,7 @@ class TxWithdrawCollateral extends EVMTx {
|
|
|
599
599
|
serialize() {
|
|
600
600
|
return {
|
|
601
601
|
type: "TxWithdrawCollateral",
|
|
602
|
-
content:
|
|
602
|
+
content: json_stringify(this)
|
|
603
603
|
};
|
|
604
604
|
}
|
|
605
605
|
}
|
|
@@ -615,7 +615,7 @@ class TxAddBot extends EVMTx {
|
|
|
615
615
|
serialize() {
|
|
616
616
|
return {
|
|
617
617
|
type: "TxAddBot",
|
|
618
|
-
content:
|
|
618
|
+
content: json_stringify(this)
|
|
619
619
|
};
|
|
620
620
|
}
|
|
621
621
|
}
|
|
@@ -631,7 +631,7 @@ class TxRemoveBot extends EVMTx {
|
|
|
631
631
|
serialize() {
|
|
632
632
|
return {
|
|
633
633
|
type: "TxAddBot",
|
|
634
|
-
content:
|
|
634
|
+
content: json_stringify(this)
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
637
|
}
|
|
@@ -659,7 +659,7 @@ class TxEnableTokens extends EVMTx {
|
|
|
659
659
|
serialize() {
|
|
660
660
|
return {
|
|
661
661
|
type: "TxEnableTokens",
|
|
662
|
-
content:
|
|
662
|
+
content: json_stringify(this)
|
|
663
663
|
};
|
|
664
664
|
}
|
|
665
665
|
}
|
|
@@ -683,7 +683,7 @@ class TxFillOrder extends EVMTx {
|
|
|
683
683
|
serialize() {
|
|
684
684
|
return {
|
|
685
685
|
type: "TxFillOrder",
|
|
686
|
-
content:
|
|
686
|
+
content: json_stringify(this)
|
|
687
687
|
};
|
|
688
688
|
}
|
|
689
689
|
}
|
|
@@ -10,16 +10,6 @@ export declare const pendleRouterWorkerAbi: readonly [{
|
|
|
10
10
|
readonly internalType: "address";
|
|
11
11
|
}];
|
|
12
12
|
readonly stateMutability: "nonpayable";
|
|
13
|
-
}, {
|
|
14
|
-
readonly type: "function";
|
|
15
|
-
readonly name: "approxSlippage";
|
|
16
|
-
readonly inputs: readonly [];
|
|
17
|
-
readonly outputs: readonly [{
|
|
18
|
-
readonly name: "";
|
|
19
|
-
readonly type: "uint256";
|
|
20
|
-
readonly internalType: "uint256";
|
|
21
|
-
}];
|
|
22
|
-
readonly stateMutability: "view";
|
|
23
13
|
}, {
|
|
24
14
|
readonly type: "function";
|
|
25
15
|
readonly name: "buildEdges";
|
|
@@ -567,16 +557,6 @@ export declare const pendleRouterWorkerAbi: readonly [{
|
|
|
567
557
|
readonly internalType: "address";
|
|
568
558
|
}];
|
|
569
559
|
readonly stateMutability: "view";
|
|
570
|
-
}, {
|
|
571
|
-
readonly type: "function";
|
|
572
|
-
readonly name: "setApproxSlippage";
|
|
573
|
-
readonly inputs: readonly [{
|
|
574
|
-
readonly name: "_approxSlippage";
|
|
575
|
-
readonly type: "uint256";
|
|
576
|
-
readonly internalType: "uint256";
|
|
577
|
-
}];
|
|
578
|
-
readonly outputs: readonly [];
|
|
579
|
-
readonly stateMutability: "nonpayable";
|
|
580
560
|
}, {
|
|
581
561
|
readonly type: "function";
|
|
582
562
|
readonly name: "trimSpecialVertex";
|
|
@@ -7,10 +7,13 @@ export interface TimelockTxs {
|
|
|
7
7
|
marketConfigurator: Address;
|
|
8
8
|
createdAtBlock: number;
|
|
9
9
|
queueBatches: SafeTx[][];
|
|
10
|
+
updatableFeeds?: Address[][];
|
|
10
11
|
}
|
|
11
12
|
export interface InstanceTxs {
|
|
12
13
|
chainId: number;
|
|
13
14
|
author: Address;
|
|
14
15
|
instanceManager: Address;
|
|
15
16
|
batches: SafeTx[][];
|
|
17
|
+
createdAtBlock?: number;
|
|
18
|
+
updatableFeeds?: Address[][];
|
|
16
19
|
}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import type { Address, PublicClient } from "viem";
|
|
2
2
|
import type { ParsedCall } from "../../core/index.js";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated This helper will be removed in the next releases.
|
|
5
|
+
*/
|
|
3
6
|
export declare function getCallTouchedPriceFeeds(parsedCall: ParsedCall): Address[];
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated This helper will be removed in the next releases.
|
|
9
|
+
*/
|
|
4
10
|
export declare function getCallsTouchedPriceFeeds(parsedCalls: ParsedCall[]): Address[];
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated This helper will be removed in the next releases.
|
|
13
|
+
*/
|
|
5
14
|
export declare function getCallsTouchedUpdatablePriceFeeds({ parsedCalls, client, }: {
|
|
6
15
|
client: PublicClient;
|
|
7
16
|
parsedCalls: ParsedCall[];
|
|
@@ -2,6 +2,7 @@ import { type Address } from "viem";
|
|
|
2
2
|
import type { GearboxSDK } from "../../../sdk/index.js";
|
|
3
3
|
import type { AbstractAdapterContractOptions } from "./AbstractAdapter.js";
|
|
4
4
|
import { AbstractAdapterContract } from "./AbstractAdapter.js";
|
|
5
|
+
import type { BalancerV3PoolStatus } from "./types.js";
|
|
5
6
|
declare const abi: readonly [{
|
|
6
7
|
readonly type: "function";
|
|
7
8
|
readonly inputs: readonly [];
|
|
@@ -192,7 +193,10 @@ declare const abi: readonly [{
|
|
|
192
193
|
}];
|
|
193
194
|
type abi = typeof abi;
|
|
194
195
|
export declare class BalancerV3RouterAdapterContract extends AbstractAdapterContract<abi> {
|
|
195
|
-
readonly allowedPools: Address[]
|
|
196
|
+
readonly allowedPools: Address[] | {
|
|
197
|
+
pool: Address;
|
|
198
|
+
status: BalancerV3PoolStatus;
|
|
199
|
+
}[];
|
|
196
200
|
constructor(sdk: GearboxSDK, args: Omit<AbstractAdapterContractOptions<abi>, "abi">);
|
|
197
201
|
}
|
|
198
202
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
type abi = typeof abi;
|
|
7
|
+
export declare class BalancerV3WrapperAdapterContract extends AbstractAdapterContract<abi> {
|
|
8
|
+
readonly balancerPoolToken: Address;
|
|
9
|
+
constructor(sdk: GearboxSDK, args: Omit<AbstractAdapterContractOptions<abi>, "abi">);
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { type Address } from "viem";
|
|
|
2
2
|
import type { GearboxSDK } from "../../../sdk/index.js";
|
|
3
3
|
import type { AbstractAdapterContractOptions } from "./AbstractAdapter.js";
|
|
4
4
|
import { AbstractAdapterContract } from "./AbstractAdapter.js";
|
|
5
|
-
import type { PendlePairStatus } from "./types.js";
|
|
5
|
+
import type { PendlePairStatus, PendleTokenType } from "./types.js";
|
|
6
6
|
declare const abi: readonly [{
|
|
7
7
|
readonly type: "function";
|
|
8
8
|
readonly inputs: readonly [];
|
|
@@ -817,6 +817,12 @@ export declare class PendleRouterAdapterContract extends AbstractAdapterContract
|
|
|
817
817
|
inputToken: Address;
|
|
818
818
|
pendleToken: Address;
|
|
819
819
|
status: PendlePairStatus;
|
|
820
|
+
}[] | {
|
|
821
|
+
market: Address;
|
|
822
|
+
inputToken: Address;
|
|
823
|
+
pendleToken: Address;
|
|
824
|
+
pendleTokenType: PendleTokenType;
|
|
825
|
+
status: PendlePairStatus;
|
|
820
826
|
}[];
|
|
821
827
|
constructor(sdk: GearboxSDK, args: Omit<AbstractAdapterContractOptions<abi>, "abi">);
|
|
822
828
|
}
|
|
@@ -10,6 +10,10 @@ export declare enum KodiakIslandStatus {
|
|
|
10
10
|
SWAP_AND_EXIT_ONLY = 2,
|
|
11
11
|
EXIT_ONLY = 3
|
|
12
12
|
}
|
|
13
|
+
export declare enum PendleTokenType {
|
|
14
|
+
PT = 0,
|
|
15
|
+
LP = 1
|
|
16
|
+
}
|
|
13
17
|
export declare enum PendlePairStatus {
|
|
14
18
|
NOT_ALLOWED = 0,
|
|
15
19
|
ALLOWED = 1,
|
|
@@ -21,3 +25,10 @@ export declare enum TraderJoePoolVersion {
|
|
|
21
25
|
V2_1 = 2,
|
|
22
26
|
V2_2 = 3
|
|
23
27
|
}
|
|
28
|
+
export declare enum BalancerV3PoolStatus {
|
|
29
|
+
NOT_ALLOWED = 0,
|
|
30
|
+
ALLOWED = 1,
|
|
31
|
+
EXIT_AND_SWAP = 2,
|
|
32
|
+
SWAP_ONLY = 3,
|
|
33
|
+
EXIT_ONLY = 4
|
|
34
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
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::BALANCER_V3_ROUTER" | "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::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::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::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";
|
|
5
5
|
export declare enum AdapterType {
|
|
6
6
|
BALANCER_V3_ROUTER = "BALANCER_V3_ROUTER",
|
|
7
|
+
BALANCER_V3_WRAPPER = "BALANCER_V3_WRAPPER",
|
|
7
8
|
BALANCER_VAULT = "BALANCER_VAULT",
|
|
8
9
|
CAMELOT_V3_ROUTER = "CAMELOT_V3_ROUTER",
|
|
9
10
|
CURVE_STABLE_NG = "CURVE_STABLE_NG",
|