Skip to content

Commit 64f5da0

Browse files
committed
update config
1 parent 1f92764 commit 64f5da0

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

src/swapService/config/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const baseRoutingConfig: ChainRoutingConfig = [
5656
"open-ocean",
5757
// "conveyor",
5858
"uniswap",
59-
// "magpie",
59+
"magpie",
6060
],
6161
},
6262
},

src/swapService/config/default.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const defaultRoutingConfig: ChainRoutingConfig = [
2525
"uniswap",
2626
"0x",
2727
"oku",
28+
"magpie",
2829
],
2930
},
3031
},

src/swapService/config/mainnet.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
8181
"li-fi",
8282
"open-ocean",
8383
"uniswap",
84-
// "magpie",
84+
"magpie",
8585
"0x",
8686
],
8787
},
@@ -115,7 +115,7 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
115115
"li-fi",
116116
"open-ocean",
117117
"uniswap",
118-
// "magpie",
118+
"magpie",
119119
"0x",
120120
],
121121
},
@@ -152,7 +152,7 @@ const mainnetRoutingConfig: ChainRoutingConfig = [
152152
"li-fi",
153153
"open-ocean",
154154
"uniswap",
155-
// "magpie",
155+
"magpie",
156156
"0x",
157157
],
158158
},

src/swapService/config/sonic.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
} from "../strategies"
77
const WSTKSCUSD_SONIC = "0x9fb76f7ce5FCeAA2C42887ff441D46095E494206"
88
const WSTKSCETH_SONIC = "0xE8a41c62BB4d5863C6eadC96792cFE90A1f37C47"
9+
const WOS_SONIC = "0x9F0dF7799f6FDAd409300080cfF680f5A23df4b1"
910

1011
const sonicConfig: ChainRoutingConfig = [
1112
// WRAPPERS
@@ -24,10 +25,10 @@ const sonicConfig: ChainRoutingConfig = [
2425
includeSources: [
2526
"kyberswap",
2627
"paraswap",
27-
// "odos",
28+
"odos",
2829
"1inch",
2930
"li-fi",
30-
// "open-ocean",
31+
"open-ocean",
3132
"uniswap",
3233
"0x",
3334
"magpie",
@@ -40,7 +41,7 @@ const sonicConfig: ChainRoutingConfig = [
4041
{
4142
strategy: StrategyERC4626Wrapper.name(),
4243
match: {
43-
tokensInOrOut: [WSTKSCUSD_SONIC, WSTKSCETH_SONIC],
44+
tokensInOrOut: [WSTKSCUSD_SONIC, WSTKSCETH_SONIC, WOS_SONIC],
4445
},
4546
},
4647
]

src/swapService/strategies/strategyERC4626Wrapper.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ const defaultConfig: {
7676
asset: "0x4D85bA8c3918359c78Ed09581E5bc7578ba932ba",
7777
assetDustEVault: "0x911Af5Bf5b7dd0F83869Ba857eDfDC3dea8254C2",
7878
},
79+
{
80+
chainId: 146,
81+
protocol: "wOS",
82+
vault: "0x9F0dF7799f6FDAd409300080cfF680f5A23df4b1",
83+
asset: "0xb1e25689D55734FD3ffFc939c4C3Eb52DFf8A794",
84+
assetDustEVault: "0x1E1482E7Bc32cD085d7aF61F29019Ba372B63277",
85+
},
7986
// {
8087
// chainId: 1,
8188
// protocol: "sUSDS",

0 commit comments

Comments
 (0)