Skip to content

Add FUSDT token metadata#1739

Open
jlainbr-prog wants to merge 1 commit intoMetaMask:masterfrom
jlainbr-prog:add-fusdt-1772205060339
Open

Add FUSDT token metadata#1739
jlainbr-prog wants to merge 1 commit intoMetaMask:masterfrom
jlainbr-prog:add-fusdt-1772205060339

Conversation

@jlainbr-prog
Copy link

@jlainbr-prog jlainbr-prog commented Feb 27, 2026

Adding metadata for FUSDT (Flash USDT ERC20).


Note

High Risk
This removes essentially all token/contract metadata (name/symbol/decimals/logo/erc flags) from contract-map.json, leaving only address keys with empty objects, which is likely to break any consumers relying on that metadata. It also adds the FUSDT address but does not include its metadata, suggesting an unintended destructive change.

Overview
contract-map.json is rewritten from a large address→metadata registry to an address-only map where each entry’s value is an empty object.

The new FUSDT contract address (0x419ecA43dB68E868E68d1aB460c8AC32523c7540) is included, but its metadata (and all other contracts’ metadata) is removed in this change.

Written by Cursor Bugbot for commit 5cb8362. This will update automatically on new commits. Configure here.

@jlainbr-prog jlainbr-prog requested review from a team and MRabenda as code owners February 27, 2026 15:11
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

"0xfa05A73FfE78ef8f1a739473e462c54bae6567D9": {},
"0xfeF4185594457050cC9c23980d301908FE057Bb1": {},
"0xfec0cF7fE078a500abf15F1284958F22049c2C7e": {},
"0xff56Cc6b1E6dEd347aA0B7676C85AB0B3D08B0FA": {}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All existing token metadata wiped to empty objects

High Severity

Every existing token entry in contract-map.json has been replaced with an empty object {}, destroying all metadata (name, logo, erc20, symbol, decimals) for hundreds of tokens. This package is @metamask/contract-metadata, consumed via index.js which does module.exports = require("./contract-map.json"). Any application relying on this data (e.g. MetaMask wallets looking up token names, symbols, decimals, or logos) will get empty objects instead of token information, effectively breaking token display for all listed assets.

Fix in Cursor Fix in Web

"0x40FD72257597aA14C7231A7B1aaa29Fce868F677": {},
"0x4116f14b6d462B32a1C10F98049E4B1765e34FA9": {},
"0x419D0d8BdD9aF5e606Ae2232ed285Aff190E711b": {},
"0x419eca43db68e868e68d1ab460c8ac32523c7540": {},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New FUSDT entry has no metadata at all

High Severity

The new FUSDT entry at 0x419eca43db68e868e68d1ab460c8ac32523c7540 is an empty object {} — it doesn't include name, symbol, decimals, logo, or erc20 fields described in the PR. Additionally, the address is all-lowercase rather than EIP-55 checksummed, violating the repository's documented requirement that "All address keys follow the EIP 55 address checksum format."

Fix in Cursor Fix in Web

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.

1 participant