File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,12 @@ const getV3Pools = async (backendChain, chainString) => {
5555 . map ( ( token ) => token . address )
5656 . filter ( Boolean ) ;
5757
58- const chainUrl = chainString === 'xdai' ? 'gnosis' : chainString ;
58+ const chainUrl =
59+ chainString === 'xdai'
60+ ? 'gnosis'
61+ : chainString === 'avax'
62+ ? 'avalanche'
63+ : chainString ;
5964
6065 return {
6166 pool : pool . address ,
Original file line number Diff line number Diff line change @@ -638,7 +638,7 @@ const main = async () => {
638638 symbol : utils . formatSymbol ( vaultInfo . assetSymbol ) ,
639639 tvlUsd : Number ( Number ( vaultInfo . totalSupplyValueUSD ) . toFixed ( 2 ) ) ,
640640 apyBase : new BigNumber ( vaultInfo . apyBase ) . toNumber ( ) ,
641- url : `https://app.silo.finance/vaults/${ chain } /${ vaultAddress } ?action=deposit` ,
641+ url : `https://app.silo.finance/vaults/${ chain === 'avax' ? 'avalanche' : chain } /${ vaultAddress } ?action=deposit` ,
642642 underlyingTokens : [ vaultInfo . assetAddress ] ,
643643 totalSupplyUsd : Number ( Number ( vaultInfo . totalSupplyValueUSD ) . toFixed ( 2 ) ) ,
644644 poolMeta : `${ vaultInfo . vaultId } ` ,
You can’t perform that action at this time.
0 commit comments