Skip to content

Commit

Permalink
update base config
Browse files Browse the repository at this point in the history
  • Loading branch information
dglowinski committed Jan 20, 2025
1 parent 2bbf73d commit 400253f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/swapService/config/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { type ChainRoutingConfig, SwapperMode } from "../interface"
import { StrategyBalmySDK, StrategyRepayWrapper } from "../strategies"

const CBBTC_BASE = "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"
const USDC_BASE = "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"

const baseRoutingConfig: ChainRoutingConfig = [
// WRAPPERS
Expand All @@ -26,6 +27,18 @@ const baseRoutingConfig: ChainRoutingConfig = [
tokensInOrOut: [CBBTC_BASE],
},
},
// avoid USDC on kyberswap
{
strategy: StrategyBalmySDK.name(),
config: {
sourcesFilter: {
includeSources: ["odos", "1inch", "open-ocean", "uniswap"],
},
},
match: {
tokensInOrOut: [USDC_BASE],
},
},
// DEFAULTS
{
strategy: StrategyBalmySDK.name(),
Expand Down

0 comments on commit 400253f

Please sign in to comment.