feat: add stock badge to ondo RWA Tokens cp-7.63.0#24740
Merged
Conversation
…ion before further integration.
…tonally show the clock icon
…rary which make 95.0.0 version not workable with current mobile version, we use patch instead to not breaking current mobile version.
- Bump `@metamask/assets-controllers` to `95.2.0` - Update `@metamask/bridge-controller` to `64.5.0` - Upgrade `@metamask/accounts-controller` to `35.0.1` - Adjust `@metamask/network-controller` to `28.0.0` - Increment `@metamask/polling-controller` to `16.0.1` - Update `@metamask/gas-fee-controller` to `26.0.1` - Bump `@metamask/transaction-controller` to `62.9.1` - Update `@metamask/multichain-network-controller` to `3.0.1`
Updated the version of `@metamask/assets-controllers` in `yarn.lock` to include `95.2.0` alongside `95.3.0`, ensuring compatibility with the latest dependencies.
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
GeorgeGkas
previously approved these changes
Jan 26, 2026
1ce7f9e
app/components/UI/Bridge/components/BridgeTokenSelector/BridgeTokenSelector.tsx
Outdated
Show resolved
Hide resolved
app/component-library/components/Icons/Icon/assets/clock-half-dotted.svg
Outdated
Show resolved
Hide resolved
60c0caf to
9896024
Compare
Contributor
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThis PR introduces RWA (Real World Assets) / Stock Token support across the MetaMask Mobile app. The changes are primarily UI additions that display a "Stock" badge for RWA tokens in various places: Key Changes:
Tag Selection Rationale:
Risk Assessment:
Not Selected:
|
|
Brunonascdev
approved these changes
Jan 27, 2026
bfullam
approved these changes
Jan 27, 2026
bfullam
approved these changes
Jan 27, 2026
Prithpal-Sooriya
approved these changes
Jan 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
This PR will add
Stockbadge to ondo RWA tokens in swap token screens, user asset screens, trending tokens screen.Changelog
CHANGELOG entry: Adding stock label for RWA token and market closure indication as a clock icon on Tokens list and tokens details views
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
For each screenshot, you can see the badge on Ondo tokenized asset. Please not the clock icon is only displayed and market is closed to paused (that was the case when screenshot has been taken).
After
Homepage tokens list
Token details page
Tokens list from asset picker
Trending token search from explore page
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Introduces stock identification and UI badge for RWA (stock) tokens, gated by
rwaTokensEnabledfeature flag, and shows a clock icon when trading is closed.useRWATokenhook (feature-flag aware) andStockBadgecomponent; renders inBalance,Priceheader, token list items, Bridge token selector, and Trending rowsrwaDataandaggregatorswhere needed (BridgeToken,TokenI, selectors, Top/Popular/TokensWithBalance hooks, EVM selectors)selectRWAEnabledFlag) with tests; added i18n stringtoken.stockuseOpenSwapsdest token construction hardenedWritten by Cursor Bugbot for commit 9896024. This will update automatically on new commits. Configure here.