Skip to content

Commit ed3cac5

Browse files
committed
route RLP through odos
1 parent 8ea3219 commit ed3cac5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/swapService/config/mainnet.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,28 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
4242
},
4343
match: { isPendlePT: true },
4444
},
45+
46+
// RLP - only include odos for RLP, otherwise rate limits are hit
47+
{
48+
strategy: StrategyBalmySDK.name(),
49+
config: {
50+
sourcesFilter: {
51+
includeSources: [
52+
"kyberswap",
53+
"paraswap",
54+
"odos",
55+
"1inch",
56+
"li-fi",
57+
"open-ocean",
58+
"uniswap",
59+
],
60+
},
61+
},
62+
match: {
63+
tokensInOrOut: [RLP_MAINNET],
64+
},
65+
},
66+
4567
// DEFAULTS
4668
{
4769
strategy: StrategyBalmySDK.name(),

0 commit comments

Comments
 (0)