File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ async function getSymbols(tokenAddresses, chain) {
1111 permitFailure : true ,
1212 } ) ;
1313 return result . output . reduce ( ( acc , { output } , idx ) => {
14- acc [ idx ] = output ;
14+ acc [ idx ] = output ?. replace ( / - B P T $ / , '' ) || null ;
1515 return acc ;
1616 } , { } ) ;
1717}
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ async function poolsFunction() {
2727 if ( activePools . length === 0 ) continue ;
2828
2929 const lpTokens = activePools . map ( ( pool ) => pool . lptoken ) ;
30+
3031 const [ symbolsData , tvlsData , balancerData ] = await Promise . all ( [
3132 getSymbols ( lpTokens , sdkChainName ) ,
3233 getPoolTvls ( activePools , sdkChainName ) ,
@@ -64,7 +65,7 @@ async function poolsFunction() {
6465 ) ;
6566
6667 return {
67- pool : `${ pool . lptoken } - ${ chainName } ` ,
68+ pool : `${ pool . lptoken . toLowerCase ( ) } -aura ` ,
6869 chain : chainConfig . llamaChainName ,
6970 project : 'aura' ,
7071 symbol : utils . formatSymbol ( symbolsData [ idx ] ?? 'Unknown' ) ,
You can’t perform that action at this time.
0 commit comments