File tree Expand file tree Collapse file tree 2 files changed +9
-40
lines changed Expand file tree Collapse file tree 2 files changed +9
-40
lines changed Original file line number Diff line number Diff line change 1
1
import { type ChainRoutingConfig , SwapperMode } from "../interface"
2
2
import { StrategyBalmySDK , StrategyRepayWrapper } from "../strategies"
3
3
4
- const LBTC_BASE = "0xecAc9C5F704e954931349Da37F60E39f515c11c1"
5
-
6
4
const baseRoutingConfig : ChainRoutingConfig = [
7
5
// WRAPPERS
8
6
{
@@ -12,36 +10,7 @@ const baseRoutingConfig: ChainRoutingConfig = [
12
10
swapperModes : [ SwapperMode . EXACT_IN ] ,
13
11
} ,
14
12
} ,
15
- // SPECIAL CASE TOKENS
16
- {
17
- strategy : StrategyBalmySDK . name ( ) ,
18
- config : {
19
- sourcesFilter : {
20
- includeSources : [
21
- "kyberswap" ,
22
- "paraswap" ,
23
- "odos" ,
24
- "1inch" ,
25
- "li-fi" ,
26
- "open-ocean" ,
27
- ] ,
28
- } ,
29
- } ,
30
- match : {
31
- tokensInOrOut : [ LBTC_BASE ] ,
32
- } ,
33
- } ,
34
13
// DEFAULTS
35
- {
36
- strategy : StrategyBalmySDK . name ( ) ,
37
- config : {
38
- sourcesFilter : {
39
- includeSources : [ "1inch" ] ,
40
- } ,
41
- } ,
42
- match : { } ,
43
- } ,
44
- // FALLBACKS
45
14
{
46
15
strategy : StrategyBalmySDK . name ( ) ,
47
16
config : {
Original file line number Diff line number Diff line change @@ -24,15 +24,6 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
24
24
} ,
25
25
} ,
26
26
// SPECIAL CASE TOKENS
27
- {
28
- strategy : StrategyBalmySDK . name ( ) ,
29
- config : {
30
- sourcesFilter : {
31
- includeSources : [ "pendle" , "li-fi" , "open-ocean" ] ,
32
- } ,
33
- } ,
34
- match : { isPendlePT : true } ,
35
- } ,
36
27
{
37
28
strategy : StrategyMidas . name ( ) ,
38
29
match : { } , // supports function will match mTokens
@@ -43,6 +34,15 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
43
34
tokensInOrOut : [ WSTUSR_MAINNET , WUSDL_MAINNET , PT_WSTUSR1740182579 ] ,
44
35
} ,
45
36
} ,
37
+ {
38
+ strategy : StrategyBalmySDK . name ( ) ,
39
+ config : {
40
+ sourcesFilter : {
41
+ includeSources : [ "pendle" , "li-fi" , "open-ocean" ] ,
42
+ } ,
43
+ } ,
44
+ match : { isPendlePT : true } ,
45
+ } ,
46
46
{
47
47
strategy : StrategyBalmySDK . name ( ) ,
48
48
config : {
You can’t perform that action at this time.
0 commit comments