Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
Binary file added 0x05D2310F57e13F8f51198197508BD3ed71A2597b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions contract-map.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
{
"0x05D2310F57e13F8f51198197508BD3ed71A2597b": {
"name": "Yourcoin",
"symbol": "YRC",
"decimals": 3,
"chainId": 137,
"logo": "0x05D2310F57e13F8f51198197508BD3ed71A2597b.png"
}
{
"0x49d716DFe60b37379010A75329ae09428f17118d": {
Copy link

Choose a reason for hiding this comment

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

Bug: Invalid JSON structure breaks token registry parsing

The new YRC token entry creates invalid JSON syntax. After the closing }, on line 8, there's a standalone { on line 9 that has no key in the parent object. In valid JSON, every value in an object must have an associated key. This causes the entire contract-map.json file to fail parsing, which will break MetaMask's token detection functionality for all tokens.

Fix in Cursor Fix in Web

"name": "PoolTogether Dai",
Expand Down