Skip to content

Commit

Permalink
fix: native vs. bridged USDC naming (#1866)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Boakrev <[email protected]>
  • Loading branch information
grothem and MareskoY authored Nov 28, 2023
1 parent ad77060 commit c2cb91b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cypress/fixtures/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,8 @@
"wrapped": false
},
"USDC": {
"fullName": "USD Coin",
"shortName": "USDC",
"fullName": "Bridged USDC",
"shortName": "USDC.E",
"collateral": true,
"wrapped": false
},
Expand Down
13 changes: 12 additions & 1 deletion src/ui-config/reservePatches.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { AaveV3Arbitrum, AaveV3Optimism, AaveV3Polygon } from '@bgd-labs/aave-address-book';
import { unPrefixSymbol } from 'src/hooks/app-data-provider/useAppDataProvider';

/**
Expand Down Expand Up @@ -103,7 +104,17 @@ export function fetchIconSymbolAndName({ underlyingAsset, symbol, name }: IconSy
symbol: 'KNCL',
iconSymbol: 'KNCL',
},
'0xff970a61a04b1ca14834a43f5de4533ebddb5cc8': {
[AaveV3Arbitrum.ASSETS.USDC.UNDERLYING.toLowerCase()]: {
name: 'Bridged USDC',
symbol: 'USDC.e',
iconSymbol: 'USDC',
},
[AaveV3Optimism.ASSETS.USDC.UNDERLYING.toLowerCase()]: {
name: 'Bridged USDC',
symbol: 'USDC.e',
iconSymbol: 'USDC',
},
[AaveV3Polygon.ASSETS.USDC.UNDERLYING.toLowerCase()]: {
name: 'Bridged USDC',
symbol: 'USDC.e',
iconSymbol: 'USDC',
Expand Down

2 comments on commit c2cb91b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit was deployed on ipfs

Please sign in to comment.