Skip to content

Commit cbb3f22

Browse files
committed
fix config for usd0++
1 parent 1f17714 commit cbb3f22

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

src/swapService/config/mainnet.ts

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const RLP_MAINNET = "0x4956b52aE2fF65D74CA2d61207523288e4528f96"
1313
const WUSDL_MAINNET = "0x7751E2F4b8ae93EF6B79d86419d42FE3295A4559"
1414
const PT_WSTUSR1740182579 = "0xd0097149aa4cc0d0e1fc99b8bd73fc17dc32c1e9"
1515
const PT_WSTUSR_27MAR2025_MAINNET = "0xA8c8861b5ccF8CCe0ade6811CD2A7A7d3222B0B8"
16+
const USD0PLUSPLUS_MAINNET = "0x35d8949372d46b7a3d5a56006ae77b215fc69bc0"
1617

1718
const mainnetRoutingConfig: ChainRoutingConfig = [
1819
// WRAPPERS
@@ -65,6 +66,26 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
6566
tokensInOrOut: [RLP_MAINNET],
6667
},
6768
},
69+
// USD0++ route without open-ocean and combined
70+
{
71+
strategy: StrategyBalmySDK.name(),
72+
config: {
73+
sourcesFilter: {
74+
includeSources: [
75+
"kyberswap",
76+
"paraswap",
77+
// "odos",
78+
"1inch",
79+
"li-fi",
80+
// "open-ocean",
81+
"uniswap",
82+
],
83+
},
84+
},
85+
match: {
86+
tokensInOrOut: [USD0PLUSPLUS_MAINNET],
87+
},
88+
},
6889

6990
// DEFAULTS
7091
{
@@ -90,7 +111,7 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
90111
strategy: StrategyCombinedUniswap.name(),
91112
match: {
92113
swapperModes: [SwapperMode.TARGET_DEBT],
93-
excludeTokensInOrOut: [RLP_MAINNET, SUSDS_MAINNET],
114+
excludeTokensInOrOut: [RLP_MAINNET, SUSDS_MAINNET, USD0PLUSPLUS_MAINNET],
94115
},
95116
},
96117
// FALLBACKS

0 commit comments

Comments
 (0)