Skip to content

Commit

Permalink
stkd lps
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Oct 11, 2024
1 parent 87b8654 commit 7a7bd55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion projects/impermax/impermaxHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function impermaxHelper(exportsObj, config, blacklistedPools) {

async function getUVTokens(rawPools, underlyings, uSymbols, api) {
var impermaxSymbol;
var stableImpermaxSymbol;
switch (api.chain) {
case 'ethereum':
impermaxSymbol = 'UNI-V2'
Expand All @@ -110,7 +111,8 @@ function impermaxHelper(exportsObj, config, blacklistedPools) {
case 'optimism':
default:
impermaxSymbol = 'STKD-UNI-V2'
return underlyings.filter((_, i) => uSymbols[i] === impermaxSymbol)
stableImpermaxSymbol = 'STKD-STBL'
return underlyings.filter((_, i) => uSymbols[i] === impermaxSymbol || uSymbols[i] === stableImpermaxSymbol)
}
}

Expand Down

0 comments on commit 7a7bd55

Please sign in to comment.