From 943fff0e665456adcb1aa50849e59ad7ee49cca8 Mon Sep 17 00:00:00 2001 From: de-snake <122296842+de-snake@users.noreply.github.com> Date: Thu, 23 Jul 2026 16:47:59 +0300 Subject: [PATCH 1/4] feat: add new midas and securitize strategies --- src/strategies/index.ts | 51 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/src/strategies/index.ts b/src/strategies/index.ts index bdd7ddc..e0b0eb9 100644 --- a/src/strategies/index.ts +++ b/src/strategies/index.ts @@ -18,6 +18,57 @@ export const STRATEGIES_LIST: Array = [ "0x6b343f7b797f1488aa48c49d540690f2b2c89751": true, }, }, + { + name: "ACRED", + id: "ACRED", + tokenOutAddress: "0x17418038ecF73BA4026c4f428547BF099706F27B", + strategyType: ["stable"], + chainId: 1, + network: "Mainnet", + creditManagers: [ + "0x025512D771f778fad99aB30b7A7363E7C8DE078D", + "0x48E2De8258fFFdd200d629eE1543745669E51e7a", + "0x328BD41b79D23569071DcE7573EfFbb9d046D640", + ], + issuesOnClose: true, + zeroSlippage: { + "0xE0Ca34a68C58f6576966047B9A2d95D60701c36f": true, + "0x99f6bE465624F2cDF7Fe436697CeBd4bE7bAF56b": true, + "0x2Fc5541073a30d16F12bcEd1ce98b38aa0F75126": true, + }, + }, + { + name: "STAC", + id: "STAC", + tokenOutAddress: "0x51C2d74017390CbBd30550179A16A1c28F7210fc", + strategyType: ["stable"], + chainId: 1, + network: "Mainnet", + creditManagers: [ + "0x4bbF1aAa78858086d88164182fd87f5a774197D4", + "0x108E26961E59B7018e90E677Bb88e049D8a7e9Fb", + "0x38533Db7c1CFC46E8a70625c269dE286FC412589", + ], + issuesOnClose: true, + zeroSlippage: { + "0xE0Ca34a68C58f6576966047B9A2d95D60701c36f": true, + "0x99f6bE465624F2cDF7Fe436697CeBd4bE7bAF56b": true, + "0x2Fc5541073a30d16F12bcEd1ce98b38aa0F75126": true, + }, + }, + { + name: "mF-ONE", + id: "mF-ONE", + tokenOutAddress: "0x238a700eD6165261Cf8b2e544ba797BC11e466Ba", + strategyType: ["stable"], + chainId: 1, + network: "Mainnet", + creditManagers: ["0x7161c4a5099d6bDCaC05c8baB893d2215bB7BE42"], + issuesOnClose: true, + zeroSlippage: { + "0x34D0fD28083BcF4D1Cc71A5843F9298A4fbD2F13": true, + }, + }, { name: "Beefy WBTC/cbBTC/hemiBTC", id: "wmooStakeDaoWBTC-cbBTC-hemiBTC", From 77ad551e87153ffe772bf11b8a1e80df69effc47 Mon Sep 17 00:00:00 2001 From: de-snake <122296842+de-snake@users.noreply.github.com> Date: Thu, 23 Jul 2026 16:48:41 +0300 Subject: [PATCH 2/4] feat: add midas icons --- public/tokens/mf-one.svg | 24 ++++++++++++++++++++++++ public/tokens/mf-onerdusdc.svg | 23 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 public/tokens/mf-one.svg create mode 100644 public/tokens/mf-onerdusdc.svg diff --git a/public/tokens/mf-one.svg b/public/tokens/mf-one.svg new file mode 100644 index 0000000..346d220 --- /dev/null +++ b/public/tokens/mf-one.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/tokens/mf-onerdusdc.svg b/public/tokens/mf-onerdusdc.svg new file mode 100644 index 0000000..b7541a7 --- /dev/null +++ b/public/tokens/mf-onerdusdc.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + \ No newline at end of file From 91cdf65955bcf1b2394186d091322607f50d432b Mon Sep 17 00:00:00 2001 From: de-snake <122296842+de-snake@users.noreply.github.com> Date: Thu, 23 Jul 2026 16:52:27 +0300 Subject: [PATCH 3/4] fix: update strategy format --- src/strategies/index.ts | 60 ++++++++++++++++++++++++++++++++++------- 1 file changed, 50 insertions(+), 10 deletions(-) diff --git a/src/strategies/index.ts b/src/strategies/index.ts index e0b0eb9..0ba26a5 100644 --- a/src/strategies/index.ts +++ b/src/strategies/index.ts @@ -25,15 +25,35 @@ export const STRATEGIES_LIST: Array = [ strategyType: ["stable"], chainId: 1, network: "Mainnet", - creditManagers: [ - "0x025512D771f778fad99aB30b7A7363E7C8DE078D", - "0x48E2De8258fFFdd200d629eE1543745669E51e7a", - "0x328BD41b79D23569071DcE7573EfFbb9d046D640", - ], + creditManagers: ["0x025512D771f778fad99aB30b7A7363E7C8DE078D"], issuesOnClose: true, zeroSlippage: { "0xE0Ca34a68C58f6576966047B9A2d95D60701c36f": true, + }, + }, + { + name: "ACRED", + id: "ACRED", + tokenOutAddress: "0x17418038ecF73BA4026c4f428547BF099706F27B", + strategyType: ["stable"], + chainId: 1, + network: "Mainnet", + creditManagers: ["0x48E2De8258fFFdd200d629eE1543745669E51e7a"], + issuesOnClose: true, + zeroSlippage: { "0x99f6bE465624F2cDF7Fe436697CeBd4bE7bAF56b": true, + }, + }, + { + name: "ACRED", + id: "ACRED", + tokenOutAddress: "0x17418038ecF73BA4026c4f428547BF099706F27B", + strategyType: ["stable"], + chainId: 1, + network: "Mainnet", + creditManagers: ["0x328BD41b79D23569071DcE7573EfFbb9d046D640"], + issuesOnClose: true, + zeroSlippage: { "0x2Fc5541073a30d16F12bcEd1ce98b38aa0F75126": true, }, }, @@ -44,15 +64,35 @@ export const STRATEGIES_LIST: Array = [ strategyType: ["stable"], chainId: 1, network: "Mainnet", - creditManagers: [ - "0x4bbF1aAa78858086d88164182fd87f5a774197D4", - "0x108E26961E59B7018e90E677Bb88e049D8a7e9Fb", - "0x38533Db7c1CFC46E8a70625c269dE286FC412589", - ], + creditManagers: ["0x4bbF1aAa78858086d88164182fd87f5a774197D4"], issuesOnClose: true, zeroSlippage: { "0xE0Ca34a68C58f6576966047B9A2d95D60701c36f": true, + }, + }, + { + name: "STAC", + id: "STAC", + tokenOutAddress: "0x51C2d74017390CbBd30550179A16A1c28F7210fc", + strategyType: ["stable"], + chainId: 1, + network: "Mainnet", + creditManagers: ["0x108E26961E59B7018e90E677Bb88e049D8a7e9Fb"], + issuesOnClose: true, + zeroSlippage: { "0x99f6bE465624F2cDF7Fe436697CeBd4bE7bAF56b": true, + }, + }, + { + name: "STAC", + id: "STAC", + tokenOutAddress: "0x51C2d74017390CbBd30550179A16A1c28F7210fc", + strategyType: ["stable"], + chainId: 1, + network: "Mainnet", + creditManagers: ["0x38533Db7c1CFC46E8a70625c269dE286FC412589"], + issuesOnClose: true, + zeroSlippage: { "0x2Fc5541073a30d16F12bcEd1ce98b38aa0F75126": true, }, }, From a9aa542245f0b115ad2de5c3d47efa37847d2854 Mon Sep 17 00:00:00 2001 From: de-snake <122296842+de-snake@users.noreply.github.com> Date: Thu, 23 Jul 2026 16:57:53 +0300 Subject: [PATCH 4/4] fix: make ids unique --- src/strategies/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/strategies/index.ts b/src/strategies/index.ts index 0ba26a5..df0a8f2 100644 --- a/src/strategies/index.ts +++ b/src/strategies/index.ts @@ -20,7 +20,7 @@ export const STRATEGIES_LIST: Array = [ }, { name: "ACRED", - id: "ACRED", + id: "acred_dcusdc", tokenOutAddress: "0x17418038ecF73BA4026c4f428547BF099706F27B", strategyType: ["stable"], chainId: 1, @@ -33,7 +33,7 @@ export const STRATEGIES_LIST: Array = [ }, { name: "ACRED", - id: "ACRED", + id: "acred_ocusdc", tokenOutAddress: "0x17418038ecF73BA4026c4f428547BF099706F27B", strategyType: ["stable"], chainId: 1, @@ -46,7 +46,7 @@ export const STRATEGIES_LIST: Array = [ }, { name: "ACRED", - id: "ACRED", + id: "acred_dcrlusd", tokenOutAddress: "0x17418038ecF73BA4026c4f428547BF099706F27B", strategyType: ["stable"], chainId: 1, @@ -59,7 +59,7 @@ export const STRATEGIES_LIST: Array = [ }, { name: "STAC", - id: "STAC", + id: "stac_dcusdc", tokenOutAddress: "0x51C2d74017390CbBd30550179A16A1c28F7210fc", strategyType: ["stable"], chainId: 1, @@ -72,7 +72,7 @@ export const STRATEGIES_LIST: Array = [ }, { name: "STAC", - id: "STAC", + id: "stac_ocusdc", tokenOutAddress: "0x51C2d74017390CbBd30550179A16A1c28F7210fc", strategyType: ["stable"], chainId: 1, @@ -85,7 +85,7 @@ export const STRATEGIES_LIST: Array = [ }, { name: "STAC", - id: "STAC", + id: "stac_dcrlusd", tokenOutAddress: "0x51C2d74017390CbBd30550179A16A1c28F7210fc", strategyType: ["stable"], chainId: 1, @@ -98,7 +98,7 @@ export const STRATEGIES_LIST: Array = [ }, { name: "mF-ONE", - id: "mF-ONE", + id: "mf-one", tokenOutAddress: "0x238a700eD6165261Cf8b2e544ba797BC11e466Ba", strategyType: ["stable"], chainId: 1,