Skip to content

feat: add Aave v3 WETH (aWETH) metadata and icons on Ethereum, Linea and Base - #1874

Merged
Prithpal-Sooriya merged 4 commits into
masterfrom
cursor/aave-atoken-symbols-icons-015f
Jul 20, 2026
Merged

feat: add Aave v3 WETH (aWETH) metadata and icons on Ethereum, Linea and Base#1874
Prithpal-Sooriya merged 4 commits into
masterfrom
cursor/aave-atoken-symbols-icons-015f

Conversation

@Prithpal-Sooriya

@Prithpal-Sooriya Prithpal-Sooriya commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the missing Aave v3 WETH aTokens (surfaced in user balances as aEthWETH / aLinWETH / aBasWETH), so they get a proper symbol and icon instead of falling back to raw on-chain data. The existing Aave v3 USDC entries (Ethereum, Linea, Base) are left unchanged.

Added (new assets)

Chain Address On-chain symbol Symbol Name Decimals
Ethereum (eip155:1) 0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8 aEthWETH aWETH Aave v3 WETH 18
Linea (eip155:59144) 0x787897dF92703BB3Fc4d9Ee98e15C0b8130Bf163 aLinWETH aWETH Aave v3 WETH 18
Base (eip155:8453) 0xD4a0e0b9149BCee3C920d2E00b5dE09138fd8bb7 aBasWETH aWETH Aave v3 WETH 18

Symbols are normalized to the aWETH / AWETH family, consistent with the existing Aave v3 entries in this repo (aUSDC, aDAI, aUSDT) and with CoinGecko.

Validation links

Chain Block explorer CoinGecko Official Aave address book
Ethereum Etherscan: aEthWETH Aave v3 WETH (ethereum contract) AaveV3Ethereum.tsASSETS.WETH.A_TOKEN
Linea Lineascan: aLinWETH not listed on CoinGecko AaveV3Linea.tsASSETS.WETH.A_TOKEN
Base Basescan: aBasWETH Aave v3 WETH (base contract) AaveV3Base.tsASSETS.WETH.A_TOKEN

Notes for reviewers:

  • The CoinGecko aave-v3-weth page lists the Ethereum (0x4d5f…14e8) and Base (0xd4a0…8bb7) contracts under "Contracts". CoinGecko has no Linea listing for this asset, so the Linea address is validated via Lineascan and the Aave address book.
  • The same addresses appear in Aave's official token list (aEthWETH, aLinWETH, aBasWETH).

Icon provenance

The aWETH icon reuses the pure-vector artwork already in this repo for the v2 aWETH entry (eip155:1/erc20:0x030bA81f1c18d280636F32af80b9AAd02Cf0854e) — the classic Aave aToken design (WETH mark inside the pink-to-teal gradient ring), the same design the canonical aave_weth image on CoinGecko is a raster of. Two changes were made to the copied SVG: a viewBox added for scalable rendering, and the gradient ID made unique (aaave-ring-weth) to avoid collisions when SVGs are inlined.

Pixel-level check against the CoinGecko reference (both rasterized at 250×250): the inner artwork's bounding box measures 139×140 px in this SVG vs 141×142 px in the CoinGecko PNG, and the coin outline edges land on the same coordinates (±1 px). The remaining difference is the PNG's anti-aliasing bleed; mean luminance difference is 1.5/255 with 0.14% of pixels differing materially.

Repo SVG (left) vs CoinGecko reference (middle) vs difference heatmap (right — near-blank means aligned):

aWETH repo icon vs CoinGecko reference vs difference heatmap

Dark mode render:

aWETH on dark background

Verification

  • Contract name/symbol/decimals verified on-chain via eth_call against Ethereum, Linea and Base RPCs, and cross-checked with the official Aave address book (bgd-labs/aave-address-book) and CoinGecko.
  • All three addresses pass EIP-55 checksum validation.
  • npm run asset:verify passes for all three assets.
  • npm test passes (702/702).

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 4 commits July 20, 2026 12:50
Adds CAIP-19 metadata and icons for the Aave v3 WETH aTokens (on-chain symbols aEthWETH, aLinWETH, aBasWETH), normalized to the aWETH symbol and Aave v3 WETH name used by existing Aave v3 entries and CoinGecko. Addresses verified on-chain and against the official bgd-labs/aave-address-book. Icon recreated from the official aave-dao/web3-icons aweth.svg as a pure-vector SVG (no nested svg, CSS transforms, or clip paths).

Co-authored-by: Prithpal Sooriya <prithpal.sooriya@gmail.com>
The previous aUSDC icons on Ethereum, Linea and Base embedded a nested <svg> element and inline CSS positioning, which the icon style guide forbids and which breaks some renderers. Replaced with the official aave-dao/web3-icons ausdc.svg artwork (Aave aToken ring + USDC mark) rewritten as a single pure-vector SVG.

Co-authored-by: Prithpal Sooriya <prithpal.sooriya@gmail.com>
Replaces the lavender aToken ring with the classic Aave pink-to-teal gradient ring used by CoinGecko (aave-usdc / aave-weth images), Etherscan and this repo's existing Aave aToken icons. Artwork taken from the repo's own v2 aUSDC/aWETH icons (pure vector, single SVG), with a viewBox added and gradient IDs made unique to avoid collisions when SVGs are inlined.

Co-authored-by: Prithpal Sooriya <prithpal.sooriya@gmail.com>
Keeps the existing aUSDC icons on Ethereum, Linea and Base unchanged; this PR now only adds the missing Aave v3 WETH assets.

Co-authored-by: Prithpal Sooriya <prithpal.sooriya@gmail.com>
@cursor cursor Bot changed the title feat: improve Aave v3 aToken (aUSDC/aWETH) symbols and icons on Ethereum, Linea and Base feat: add Aave v3 WETH (aWETH) metadata and icons on Ethereum, Linea and Base Jul 20, 2026
@Prithpal-Sooriya
Prithpal-Sooriya marked this pull request as ready for review July 20, 2026 16:52
@Prithpal-Sooriya
Prithpal-Sooriya requested review from a team and MRabenda as code owners July 20, 2026 16:52

@Prithpal-Sooriya Prithpal-Sooriya left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed and matched aWETH tokens

@Prithpal-Sooriya
Prithpal-Sooriya merged commit fd574cf into master Jul 20, 2026
9 checks passed
@Prithpal-Sooriya
Prithpal-Sooriya deleted the cursor/aave-atoken-symbols-icons-015f branch July 20, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants