Skip to content

Commit 41b6209

Browse files
committed
update config
1 parent 5170406 commit 41b6209

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

src/swapService/config/berachain.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import { type ChainRoutingConfig, SwapperMode } from "../interface"
2-
import { StrategyBalmySDK, StrategyRepayWrapper } from "../strategies"
2+
import {
3+
StrategyBalmySDK,
4+
StrategyERC4626Wrapper,
5+
StrategyRepayWrapper,
6+
} from "../strategies"
7+
8+
const SNECT_BERACHAIN = "0x597877Ccf65be938BD214C4c46907669e3E62128"
39

410
const berachainRoutingConfig: ChainRoutingConfig = [
511
// WRAPPERS
@@ -10,6 +16,13 @@ const berachainRoutingConfig: ChainRoutingConfig = [
1016
swapperModes: [SwapperMode.EXACT_IN],
1117
},
1218
},
19+
// SPECIAL CASE TOKENS
20+
{
21+
strategy: StrategyERC4626Wrapper.name(),
22+
match: {
23+
tokensInOrOut: [SNECT_BERACHAIN],
24+
},
25+
},
1326
// DEFAULTS
1427
{
1528
strategy: StrategyBalmySDK.name(),

src/swapService/strategies/strategyERC4626Wrapper.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ const defaultConfig: {
9898
asset: "0x24dE8771bC5DdB3362Db529Fc3358F2df3A0E346",
9999
assetDustEVault: "0xa9C92715dfED67a1Eb841c02059D9D0f1d508648",
100100
},
101+
{
102+
chainId: 80094,
103+
protocol: "sNECT",
104+
vault: "0x597877Ccf65be938BD214C4c46907669e3E62128",
105+
asset: "0x1cE0a25D13CE4d52071aE7e02Cf1F6606F4C79d3",
106+
assetDustEVault: "0xb20536709f1002F901ed7fE2271f1804fEe18F09",
107+
},
101108
],
102109
}
103110

0 commit comments

Comments
 (0)