feat: map aPlaUSDT0 Merkl reward to USDT0 parent icon#3081
Conversation
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>
Mjolnir Security Review
4 PRs reviewed |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
📦 Next.js Bundle Analysis for aave-uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 🎉 Global Bundle Size Decreased
DetailsThe 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 If you want further insight into what is behind the changes, give @next/bundle-analyzer a try! Six Pages Changed SizeThe following pages changed size from the code in this PR compared to its base branch:
DetailsOnly 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 Any third party scripts you have added directly to your app using the 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. |
Summary
The Plasma USDT0 aToken (
aPlaUSDT0) shows up as a Merkl borrow-incentive reward, but it had no entry inIncentivesSymbolMap.getSymbolMaptherefore fell back to the raw on-chain symbol with a generic icon — so the rewards tooltip renderedaPlaUSDT0with no parent-token icon.This adds the mapping so it resolves to its parent USDT0:
Same shape as the sibling
aPlaUSDe/aPlaGHOentries. This map is the single source used bygetSymbolMap, so both the incentives tooltip and the claim-rewards modal pick it up.Notes
(-)next to the token in the screenshot is just the borrow-sign indicator ((-)borrow /(+)supply), not a bug.rewardToken.symbol), which matches the map keyaPlaUSDT0.Test plan
aUSDT0 (-).🤖 Generated with Claude Code