Skip to content

Commit

Permalink
arbitrum fix bridged usdc symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed Nov 13, 2023
1 parent 6d5f104 commit fcc5ca8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/adaptors/uniswap-v3/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,21 @@ const topLvl = async (
const feeTier = Number(poolMeta.replace('%', '')) * 10000;
const url = `https://app.uniswap.org/#/add/${token0}/${token1}/${feeTier}?chain=${chain}`;

let symbol = p.symbol;
if (
chainString === 'arbitrum' &&
underlyingTokens
.map((t) => t.toLowerCase())
.includes('0xff970a61a04b1ca14834a43f5de4533ebddb5cc8')
) {
symbol = p.symbol.replace('USDC', 'USDC.e');
}
return {
pool: p.id,
chain: utils.formatChain(chainString),
project: 'uniswap-v3',
poolMeta: `${poolMeta}, stablePool=${p.stablecoin}`,
symbol: p.symbol,
symbol,
tvlUsd: p.totalValueLockedUSD,
apyBase: p.apy1d,
apyBase7d: p.apy7d,
Expand Down

0 comments on commit fcc5ca8

Please sign in to comment.