Skip to content

Commit 400253f

Browse files
committed
update base config
1 parent 2bbf73d commit 400253f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/swapService/config/base.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { type ChainRoutingConfig, SwapperMode } from "../interface"
22
import { StrategyBalmySDK, StrategyRepayWrapper } from "../strategies"
33

44
const CBBTC_BASE = "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"
5+
const USDC_BASE = "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
56

67
const baseRoutingConfig: ChainRoutingConfig = [
78
// WRAPPERS
@@ -26,6 +27,18 @@ const baseRoutingConfig: ChainRoutingConfig = [
2627
tokensInOrOut: [CBBTC_BASE],
2728
},
2829
},
30+
// avoid USDC on kyberswap
31+
{
32+
strategy: StrategyBalmySDK.name(),
33+
config: {
34+
sourcesFilter: {
35+
includeSources: ["odos", "1inch", "open-ocean", "uniswap"],
36+
},
37+
},
38+
match: {
39+
tokensInOrOut: [USDC_BASE],
40+
},
41+
},
2942
// DEFAULTS
3043
{
3144
strategy: StrategyBalmySDK.name(),

0 commit comments

Comments
 (0)