aUSDT (Aave v3 USDT, mainnet) icon renders clipped — non-square SVG root
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 85/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 领域
- design
调研方向
从 STYLEGUIDE.md 和 icons/eip155:1/erc20:0x23878914EFE38d27c4d67ab83ed1b93a74d4086a.svg 开始;比较 aWETH 和 aWBTC 图标,以及 Aave 的 public/icons/tokens/usdt.svg artwork。完成的标准是:替换内容为一个正方形、格式正确的 SVG,包含指定的 Aave 环和 USDT artwork,且没有嵌套 SVG 或垃圾属性。
由索引模型根据 Issue 内容生成。
描述
Description
The Aave v3 USDT (aUSDT) token icon on Ethereum mainnet renders clipped at the top and bottom in MetaMask.
- Asset:
eip155:1/erc20:0x23878914EFE38d27C4D67Ab83ed1b93A74D4086a - Icon file:
icons/eip155:1/erc20:0x23878914EFE38d27C4D67Ab83ed1b93A74D4086a.svg - CDN raster served to the wallet: https://static.cx.metamask.io/api/v2/tokenIcons/assets/eip155/1/erc20/0x23878914efe38d27c4d67ab83ed1b93a74d4086a.png
Evidence
The CDN PNG is 250 × 227 (non-square), so the circular icon appears cut off at the top and bottom. Other aToken icons in the repo (e.g. aWETH, aWBTC) rasterize as proper squares (250 × 250).
The current SVG is malformed and predates the icon style guide:
- Root declares
width="250" height="250"together withviewBox="0 0 256 256"(inconsistent aspect) - Junk editor/export attributes (
id="Group_30952",style="position: absolute; ...") - Duplicated
<defs>with identical gradients - A nested
<svg>element (forbidden bySTYLEGUIDE.md) - Artwork touches the viewBox edges (outside the 80% safe area)
Proposed fix
Replace the icon with a clean, well-formed, square 250×250 SVG that keeps the current Aave aToken design (gradient ring + underlying token) using Aave's latest USDT artwork:
- Single root
<svg>(width="250" height="250" viewBox="0 0 250 250"), no nested SVG, no junk attributes, single<defs>-free gradient - White circular base + Aave gradient ring (
#b6509e→#2ebac6), matching every other aToken icon in the repo - Latest USDT coin art (
#26A17B, current Tether logo) sourced from Aave's own token icon set (aave/interface→public/icons/tokens/usdt.svg)
No metadata changes needed: name/symbol/decimals in the repo already match on-chain data (decimals 6; aUSDT is the long-standing display symbol override for on-chain aEthUSDT).
- 主要语言
- JavaScript
- 星标
- 584
- 派生
- 1.4k
- 平均合并
- 17 小时 36 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MetaMask/contract-metadata 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
MetaMask/contract-metadata#1911 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 68/100
MetaMask/contract-metadata#1791 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 58/100
MetaMask/contract-metadata#1940 ·
维护者通常 1 天内回复
-
Fake token USDT未关闭
难度 3/5 1-2 天 新手友好度 58/100
MetaMask/contract-metadata#1914 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 52/100
MetaMask/contract-metadata#1799 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
查看 MetaMask/contract-metadata 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
daisy/a11y-meta-viewer#18 ·
-
good first issue status: needs triaging type: bug version: 2.0
难度 2/5 1-3 小时 新手友好度 85/100
medusajs/medusa#17094 · 2 条评论 ·
维护者通常 1 天内回复
-
browser: chrome package: @carbon/react package: styles
难度 1/5 1 小时以内 新手友好度 92/100
carbon-design-system/carbon#23567 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
clerk/javascript#10033 ·
维护者通常 1 天内回复
-
bug client p1
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复