aUSDT (Aave v3 USDT, mainnet) icon renders clipped — non-square SVG root
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.
- 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).
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MetaMask/contract-metadata
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
MetaMask/contract-metadata#1911 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
MetaMask/contract-metadata#1791 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
MetaMask/contract-metadata#1940 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fake token USDTĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
MetaMask/contract-metadata#1914 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add Asteroid Logo on MetamaskĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 52/100
MetaMask/contract-metadata#1799 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của MetaMask/contract-metadata
Issue tương tự
-
refactor
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 5 ngày
-
translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ciderapp/translations#87 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
component: split-view platform: windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
zen-browser/desktop#15616 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày