File tree Expand file tree Collapse file tree 4 files changed +48
-7
lines changed Expand file tree Collapse file tree 4 files changed +48
-7
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
52
52
sourcesFilter : {
53
53
includeSources : [
54
54
"kyberswap" ,
55
- "paraswap" ,
55
+ // "paraswap",
56
56
"odos" ,
57
57
"1inch" ,
58
58
"li-fi" ,
@@ -65,8 +65,7 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
65
65
tokensInOrOut : [ USD0PLUSPLUS_MAINNET ] ,
66
66
} ,
67
67
} ,
68
-
69
- // DEFAULTS
68
+ // WUSDL with paraswap
70
69
{
71
70
strategy : StrategyBalmySDK . name ( ) ,
72
71
config : {
@@ -77,6 +76,26 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
77
76
"odos" ,
78
77
"1inch" ,
79
78
"li-fi" ,
79
+ // "open-ocean",
80
+ "uniswap" ,
81
+ ] ,
82
+ } ,
83
+ } ,
84
+ match : {
85
+ tokensInOrOut : [ WUSDL_MAINNET ] ,
86
+ } ,
87
+ } ,
88
+ // DEFAULTS
89
+ {
90
+ strategy : StrategyBalmySDK . name ( ) ,
91
+ config : {
92
+ sourcesFilter : {
93
+ includeSources : [
94
+ "kyberswap" ,
95
+ // "paraswap",
96
+ "odos" ,
97
+ "1inch" ,
98
+ "li-fi" ,
80
99
"open-ocean" ,
81
100
"uniswap" ,
82
101
] ,
@@ -107,7 +126,7 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
107
126
sourcesFilter : {
108
127
includeSources : [
109
128
"kyberswap" ,
110
- "paraswap" ,
129
+ // "paraswap",
111
130
"odos" ,
112
131
"1inch" ,
113
132
"li-fi" ,
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ export class StrategyERC4626Wrapper {
235
235
const intermediateDustDepositMulticallItem = encodeDepositMulticallItem (
236
236
vaultData . asset ,
237
237
vaultData . assetDustEVault ,
238
- 1n ,
238
+ 5n , // avoid zero shares
239
239
swapParams . accountOut ,
240
240
)
241
241
Original file line number Diff line number Diff line change @@ -242,13 +242,13 @@ export function addInOutDeposits(
242
242
encodeDepositMulticallItem (
243
243
swapParams . tokenIn . addressInfo ,
244
244
swapParams . vaultIn ,
245
- 1n ,
245
+ 5n , // avoid zero shares error
246
246
swapParams . accountIn ,
247
247
) ,
248
248
encodeDepositMulticallItem (
249
249
swapParams . tokenOut . addressInfo ,
250
250
swapParams . receiver ,
251
- 1n ,
251
+ 5n , // avoid zero shares error
252
252
swapParams . accountOut ,
253
253
) ,
254
254
]
Original file line number Diff line number Diff line change @@ -1515,4 +1515,26 @@ export default [
1515
1515
poolId : "180d6922-83b2-4b0f-bb5b-6c1938cbc24c" ,
1516
1516
} ,
1517
1517
} ,
1518
+ {
1519
+ addressInfo : "0x0655977feb2f289a4ab78af67bab0d17aab84367" ,
1520
+ chainId : 1 ,
1521
+ name : "Savings crvUSD" ,
1522
+ symbol : "SCRVUSD" ,
1523
+ decimals : 18 ,
1524
+ logoURI :
1525
+ "https://coin-images.coingecko.com/coins/images/51712/large/scrvUSD200x200.png?1731899723" ,
1526
+ meta : {
1527
+ poolId : "5fd328af-4203-471b-bd16-1705c726d926" ,
1528
+ } ,
1529
+ } ,
1530
+ {
1531
+ addressInfo : "0x657d9aba1dbb59e53f9f3ecaa878447dcfc96dcb" ,
1532
+ chainId : 1 ,
1533
+ name : "ynETH MAX" ,
1534
+ symbol : "YNETHX" ,
1535
+ decimals : 18 ,
1536
+ logoURI :
1537
+ "https://coin-images.coingecko.com/coins/images/51623/large/ynETHx.png?1731659494" ,
1538
+ meta : { } ,
1539
+ } ,
1518
1540
]
You can’t perform that action at this time.
0 commit comments