Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions contract-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,20 @@
"symbol": "MATH",
"decimals": 18
},
"0x07fF8bCe905CB285220e4D96d8443cfCF141af8b": {
"name": "defimarketplus SAFE-USD",
"logo": "smUSD.svg",
"erc20": true,
"symbol": "smUSD",
"decimals": 12
},
"0x09fd7e0d021D29106c534Edfb4Ea817AC0ea7F84": {
"name": "defimarketplus",
"logo": "DMTp.svg",
"erc20": true,
"symbol": "DMTp",
"decimals": 18
},
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Arbitrum tokens incorrectly added to Ethereum mainnet registry

High Severity

These tokens are explicitly described as Arbitrum (chain ID 42161) assets, but they're being added to contract-map.json, which is the Ethereum mainnet token registry (consumed via index.js). Existing Arbitrum tokens in this repo live in metadata/eip155:42161/ with icons in icons/eip155:42161/. Adding them here causes MetaMask to treat these addresses as Ethereum mainnet tokens, potentially mislabeling unrelated contracts or showing phantom tokens on the wrong network. The logos also belong in icons/eip155:42161/ rather than images/.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 03c2c84. Configure here.

"0x509A38b7a1cC0dcd83Aa9d06214663D9eC7c7F4a": {
"name": "Blocksquare Token",
"logo": "BST.svg",
Expand Down
4 changes: 4 additions & 0 deletions images/DMTp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions images/smUSD.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.