Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

aUSDT (Aave v3 USDT, mainnet) icon renders clipped — non-square SVG root

已关闭 适合新手
#1,982 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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.

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 with viewBox="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 by STYLEGUIDE.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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

MetaMask/contract-metadata 的其他 Issue

查看 MetaMask/contract-metadata 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。