File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 11import { type ChainRoutingConfig , SwapperMode } from "../interface"
22import {
33 StrategyBalmySDK ,
4+ StrategyElixir ,
45 StrategyMidas ,
56 StrategyPendleLP ,
7+ StrategyRedirectDepositWrapper ,
68 StrategyRepayWrapper ,
79} from "../strategies"
810
11+ const ELIXIR_USDT_VAULT = "0x3799251bD81925cfcCF2992F10Af27A4e62Bf3F7"
12+ const SDEUSD_PLASMA = "0x7884A8457f0E63e82C89A87fE48E8Ba8223DB069"
13+
914const plasmaRoutingConfig : ChainRoutingConfig = [
1015 // WRAPPERS
1116 {
@@ -15,6 +20,18 @@ const plasmaRoutingConfig: ChainRoutingConfig = [
1520 swapperModes : [ SwapperMode . EXACT_IN ] ,
1621 } ,
1722 } ,
23+ {
24+ strategy : StrategyRedirectDepositWrapper . name ( ) ,
25+ match : {
26+ repayVaults : [ ELIXIR_USDT_VAULT ] ,
27+ } ,
28+ } ,
29+ {
30+ strategy : StrategyElixir . name ( ) ,
31+ match : {
32+ tokensInOrOut : [ SDEUSD_PLASMA ] ,
33+ } ,
34+ } ,
1835 {
1936 strategy : StrategyMidas . name ( ) ,
2037 match : { } , // supports function will match mTokens
Original file line number Diff line number Diff line change @@ -43,6 +43,13 @@ const defaultConfig: {
4343 asset : "0xB57B25851fE2311CC3fE511c8F10E868932e0680" ,
4444 assetDustEVault : "0x1FF92f8C033a365de2d82d390a1799AbFCaD7394" ,
4545 } ,
46+ {
47+ chainId : 9745 ,
48+ protocol : "sdeUSD" ,
49+ vault : "0x7884A8457f0E63e82C89A87fE48E8Ba8223DB069" ,
50+ asset : "0x4ac60586C3e245fF5593cf99241395bf42509274" ,
51+ assetDustEVault : "0x645378bEc91c150BF671B3236f4EaE93017166Aa" ,
52+ } ,
4653 ] ,
4754}
4855
Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ const defaultConfig: {
4141 asset : "0xdAC17F958D2ee523a2206206994597C13D831ec7" ,
4242 assetDustEVault : "0x2343b4bCB96EC35D8653Fb154461fc673CB20a7e" ,
4343 } ,
44+ {
45+ chainId : 9745 ,
46+ vault : "0x3799251bD81925cfcCF2992F10Af27A4e62Bf3F7" ,
47+ asset : "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb" ,
48+ assetDustEVault : "0x9F562699511351bA3d0cf3d0DF1502e776517ef3" ,
49+ } ,
4450 ] ,
4551}
4652
You can’t perform that action at this time.
0 commit comments