Skip to content

Conversation

@specialo194-dotcom
Copy link

@specialo194-dotcom specialo194-dotcom commented Nov 22, 2025

Added YRC token metadata and logo for automatic detection in MetaMask wallets.


Note

Adds Yourcoin (YRC) to contract-map.json and updates entries near the top, including replacing the Cyber mapping with PoolTogether Dai.

  • Token map (contract-map.json):
    • Add Yourcoin (YRC) at 0x05D2310F57e13F8f51198197508BD3ed71A2597b with decimals: 3, erc20: true, and logo 0x05D2310F57e13F8f51198197508BD3ed71A2597b.png.
    • Update top entries: remove Cyber at 0x14778860E937f509e651192a90589dE711Fb88a9; add PoolTogether Dai at 0x49d716DFe60b37379010A75329ae09428f17118d with erc20: true.

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

@specialo194-dotcom specialo194-dotcom requested review from a team and MRabenda as code owners November 22, 2025 12:23
@specialo194-dotcom specialo194-dotcom marked this pull request as draft November 26, 2025 07:45
@specialo194-dotcom specialo194-dotcom marked this pull request as ready for review November 26, 2025 07:46
"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

{
"0x49d716DFe60b37379010A75329ae09428f17118d": {
"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

"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

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