From 880e94b985ba00813fa46340f303c138fff5b2cf Mon Sep 17 00:00:00 2001 From: swan-of-bodom <0xHyoga@cygnusdao.finance> Date: Wed, 14 Aug 2024 15:10:50 +0200 Subject: [PATCH] include optimism --- projects/impermax/impermaxHelper.js | 1 + projects/impermax/index.js | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/projects/impermax/impermaxHelper.js b/projects/impermax/impermaxHelper.js index 0817f51d849b..b52e85578953 100644 --- a/projects/impermax/impermaxHelper.js +++ b/projects/impermax/impermaxHelper.js @@ -107,6 +107,7 @@ function impermaxHelper(exportsObj, config, blacklistedPools) { case 'scroll': case 'base': case 'mantle': + case 'optimism': default: impermaxSymbol = 'STKD-UNI-V2' return underlyings.filter((_, i) => uSymbols[i] === impermaxSymbol) diff --git a/projects/impermax/index.js b/projects/impermax/index.js index 27efed1a61a1..9a991c4522f1 100644 --- a/projects/impermax/index.js +++ b/projects/impermax/index.js @@ -49,7 +49,7 @@ const config = { '0x9b4ae930255CB8695a9F525dA414F80C4C7a945B', ] }, - scroll: { + scroll: { factories: [ '0x02Ff7B4d96EeBF8c9B34Fae0418E591e11da3099', '0xFBD17F3AA7d6506601D2bF7e15a6C96081296a01', // scroll stablefactory @@ -66,8 +66,12 @@ const config = { factories: [ '0x3047523D5ed0df1545B1C440BdAaB095f1f3cf5C' ] + }, + optimism: { + factories: [ + '0xa058Ba91958cD30D44c7B0Cf58A369876Fb70B05' + ] } - } const blacklistedPools = { @@ -111,7 +115,8 @@ const blacklistedPools = { ], scroll: [], base: [], - mantle: [] + mantle: [], + optimism: [] } module.exports = {}