feat: add Aave v3 WETH (aWETH) metadata and icons on Ethereum, Linea and Base - #1874
Merged
Merged
Conversation
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>
Prithpal-Sooriya
marked this pull request as ready for review
July 20, 2026 16:52
Prithpal-Sooriya
left a comment
Contributor
Author
There was a problem hiding this comment.
Reviewed and matched aWETH tokens
hurricanenara
approved these changes
Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)
eip155:1)0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8aEthWETHaWETHeip155:59144)0x787897dF92703BB3Fc4d9Ee98e15C0b8130Bf163aLinWETHaWETHeip155:8453)0xD4a0e0b9149BCee3C920d2E00b5dE09138fd8bb7aBasWETHaWETHSymbols are normalized to the
aWETH/AWETHfamily, consistent with the existing Aave v3 entries in this repo (aUSDC,aDAI,aUSDT) and with CoinGecko.Validation links
AaveV3Ethereum.ts→ASSETS.WETH.A_TOKENAaveV3Linea.ts→ASSETS.WETH.A_TOKENAaveV3Base.ts→ASSETS.WETH.A_TOKENNotes for reviewers:
aave-v3-wethpage 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.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: aviewBoxadded for scalable rendering, and the gradient ID made unique (a→aave-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
eth_callagainst Ethereum, Linea and Base RPCs, and cross-checked with the official Aave address book (bgd-labs/aave-address-book) and CoinGecko.npm run asset:verifypasses for all three assets.npm testpasses (702/702).To show artifacts inline, enable in settings.