Skip to content

Commit

Permalink
include optimism (DefiLlama#11295)
Browse files Browse the repository at this point in the history
  • Loading branch information
swan-of-bodom authored and tlatkdgus1 committed Nov 25, 2024
1 parent b5f899b commit de40662
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions projects/impermax/impermaxHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
11 changes: 8 additions & 3 deletions projects/impermax/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const config = {
'0x9b4ae930255CB8695a9F525dA414F80C4C7a945B',
]
},
scroll: {
scroll: {
factories: [
'0x02Ff7B4d96EeBF8c9B34Fae0418E591e11da3099',
'0xFBD17F3AA7d6506601D2bF7e15a6C96081296a01', // scroll stablefactory
Expand All @@ -66,8 +66,12 @@ const config = {
factories: [
'0x3047523D5ed0df1545B1C440BdAaB095f1f3cf5C'
]
},
optimism: {
factories: [
'0xa058Ba91958cD30D44c7B0Cf58A369876Fb70B05'
]
}

}

const blacklistedPools = {
Expand Down Expand Up @@ -111,7 +115,8 @@ const blacklistedPools = {
],
scroll: [],
base: [],
mantle: []
mantle: [],
optimism: []
}

module.exports = {}
Expand Down

0 comments on commit de40662

Please sign in to comment.