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
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.
14 changes: 11 additions & 3 deletions contract-map.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"0x14778860E937f509e651192a90589dE711Fb88a9": {
"name": "Cyber",
"logo": "cyber.svg",
"0x05D2310F57e13F8f51198197508BD3ed71A2597b": {
"name": "Yourcoin",
"symbol": "YRC",
"decimals": 3,
"erc20": true,
"logo": "0x05D2310F57e13F8f51198197508BD3ed71A2597b.png"
},
Copy link

Choose a reason for hiding this comment

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

Bug: Cyber token unintentionally removed from registry

The Cyber token entry at address 0x14778860E937f509e651192a90589dE711Fb88a9 with symbol CYBER has been completely removed from the registry. The PR description only mentions adding the YRC token, not removing Cyber. This appears to be an unintentional deletion resulting from the malformed edit, causing MetaMask to no longer auto-detect the Cyber token for users.

Fix in Cursor Fix in Web

{
"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",
"logo": "pldai.svg",
Copy link

Choose a reason for hiding this comment

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

Bug: Token symbol mismatch after incorrect merge

The token entry for address 0x49d716DFe60b37379010A75329ae09428f17118d now has inconsistent metadata - it's named "PoolTogether Dai" but has symbol: "CYBER". This appears to be residual data from the deleted "Cyber" token entry. The symbol should likely be plDAI or similar to match the token name and logo (pldai.svg).

Fix in Cursor Fix in Web

"erc20": true,
"symbol": "CYBER",
"decimals": 18
Expand Down