Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở Phù hợp với người mới
#1,982 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
85/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
design

Hướng nghiên cứu

Bắt đầu với STYLEGUIDE.md và icons/eip155:1/erc20:0x23878914EFE38d27c4d67ab83ed1b93a74d4086a.svg; so sánh các icon aWETH và aWBTC với artwork Aave trong public/icons/tokens/usdt.svg. Công việc được xem là hoàn tất khi bản thay thế là một SVG hình vuông, đúng định dạng, có vòng Aave được chỉ định và artwork USDT, không có SVG lồng nhau hoặc thuộc tính rác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
JavaScript
Star
585
Fork
1.4k
Merge trung bình
17 giờ 36 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MetaMask/contract-metadata

Tất cả issue của MetaMask/contract-metadata

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.