Skip to content

feat: map aPlaUSDT0 Merkl reward to USDT0 parent icon#3081

Merged
grothem merged 1 commit into
mainfrom
feat/add-usdt0-token
Jul 23, 2026
Merged

feat: map aPlaUSDT0 Merkl reward to USDT0 parent icon#3081
grothem merged 1 commit into
mainfrom
feat/add-usdt0-token

Conversation

@sammdec

@sammdec sammdec commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

The Plasma USDT0 aToken (aPlaUSDT0) shows up as a Merkl borrow-incentive reward, but it had no entry in IncentivesSymbolMap. getSymbolMap therefore fell back to the raw on-chain symbol with a generic icon — so the rewards tooltip rendered aPlaUSDT0 with no parent-token icon.

This adds the mapping so it resolves to its parent USDT0:

aPlaUSDT0: {
  tokenIconSymbol: 'usdt0', // public/icons/tokens/usdt0.svg
  symbol: 'aUSDT0',
  aToken: true,             // renders the aToken ring
},

Same shape as the sibling aPlaUSDe / aPlaGHO entries. This map is the single source used by getSymbolMap, so both the incentives tooltip and the claim-rewards modal pick it up.

Notes

  • The (-) next to the token in the screenshot is just the borrow-sign indicator ((-) borrow / (+) supply), not a bug.
  • The reward symbol comes verbatim from the Merkl API (rewardToken.symbol), which matches the map key aPlaUSDT0.

Test plan

  • On a Plasma market with the USDT0 Merkl borrow incentive, open the APY breakdown tooltip and confirm the reward row shows the USDT0 icon (with aToken ring) and label aUSDT0 (-).

🤖 Generated with Claude Code

The Plasma USDT0 aToken (aPlaUSDT0) appearing as a Merkl reward had no
entry in IncentivesSymbolMap, so getSymbolMap fell back to the raw
symbol with a generic icon. Add a mapping to render the USDT0 icon with
the aToken ring and display it as aUSDT0, matching the sibling aPlaUSDe
/ aPlaGHO entries.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@odin-by-borg

odin-by-borg Bot commented Jul 23, 2026

Copy link
Copy Markdown

Mjolnir Security Review

VerdictCLEAN · 0 findings
Commit0cdbe4b · 6s

No security vulnerabilities identified. The change adds a single static entry (aPlaUSDT0) to a UI symbol mapping object (IncentivesSymbolMap) in a React component. This is a purely declarative configuration change with no user-controlled input, no dynamic code execution, and no security-sensitive operations.

View in Odin


4 PRs reviewed

@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
interface Ready Ready Preview, Comment Jul 23, 2026 10:11am

Request Review

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

📦 Next.js Bundle Analysis for aave-ui

This analysis was generated by the Next.js Bundle Analysis action. 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 1.32 MB (-1 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Six Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/ 95.94 KB (🟡 +11 B) 1.42 MB
/dashboard 85.52 KB (🟡 +11 B) 1.41 MB
/markets 54.82 KB (🟡 +11 B) 1.38 MB
/safety-module 56.38 KB (🟡 +11 B) 1.38 MB
/sgho 92.92 KB (🟡 +11 B) 1.41 MB
/v3-migration 52.58 KB (🟡 +11 B) 1.37 MB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

@grothem
grothem merged commit 42c15bb into main Jul 23, 2026
28 checks passed
@grothem
grothem deleted the feat/add-usdt0-token branch July 23, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants