Skip to content

Conversation

@lynnshaoyu
Copy link
Contributor

Add tokenMap to schema so we can add a map in default-token-list, and the other token list repos. Useful to avoid re-declaring token constants in downstream repos (like smart order router, interface).

@JFrankfurt
Copy link
Contributor

have you considered using ExtensionMap?

          "x-bridged-addresses-by-chain": {
            "1": {
              "bridgeAddress": "0x4200000000000000000000000000000000000010",
              "tokenAddress": "0x4200000000000000000000000000000000000010"
            }
          }

(see example on line 92)

@lynnshaoyu
Copy link
Contributor Author

have you considered using ExtensionMap?

          "x-bridged-addresses-by-chain": {
            "1": {
              "bridgeAddress": "0x4200000000000000000000000000000000000010",
              "tokenAddress": "0x4200000000000000000000000000000000000010"
            }
          }

(see example on line 92)

I updated the schema with types for propertyNames and additionalProperties that I think makes more sense than using ExtensionMap?

@lynnshaoyu lynnshaoyu closed this Jul 5, 2023
@lynnshaoyu lynnshaoyu reopened this Jul 5, 2023
Copy link

@cgkol cgkol left a comment

Choose a reason for hiding this comment

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

Looks good!

@lynnshaoyu lynnshaoyu merged commit 395b5d6 into main Jul 5, 2023
@lynnshaoyu lynnshaoyu deleted the update_schema_for_token_map branch July 5, 2023 21:18
Copy link

@Imebeez Imebeez left a comment

Choose a reason for hiding this comment

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

👍

Copy link

@Imebeez Imebeez left a comment

Choose a reason for hiding this comment

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

👌

Copy link

@Alexyft07 Alexyft07 left a comment

Choose a reason for hiding this comment

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

Please someone should help me out on this👆

@Imebeez
Copy link

Imebeez commented Jul 13, 2023

G

@lynnshaoyu
Copy link
Contributor Author

@Alexyft07 what do you need help with?

Copy link

@Imebeez Imebeez left a comment

Choose a reason for hiding this comment

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

H

},
"examples": [
{
"4_0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984": {
Copy link

Choose a reason for hiding this comment

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

1F

Choose a reason for hiding this comment

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

👍

Choose a reason for hiding this comment

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

Good

Copy link

@Imebeez Imebeez left a comment

Choose a reason for hiding this comment

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

Copy link

@Deacon77 Deacon77 left a comment

Choose a reason for hiding this comment

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

I'm learning hope I didn't do a bad job

},
"description": "📚 The Token Lists specification",
"version": "1.0.0-beta.31",
"version": "1.0.0-beta.32",
Copy link

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

"email": "[email protected]",
"url": "https://uniswap.org"
},
"description": "📚 The Token Lists specification",

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

Comment on lines +342 to +343
"name": "Uniswap",
"address": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984",

Choose a reason for hiding this comment

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

"email": "[email protected]",
"url": "https://uniswap.org"
},
"description": "📚 The Token Lists specification",

Choose a reason for hiding this comment

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

"url": "https://uniswap.org"
},
"description": "📚 The Token Lists specification",
"version": "1.0.0-beta.31",

Choose a reason for hiding this comment

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

"symbol": "UNI",
"decimals": 18,
"chainId": 4,
"logoURI": "ipfs://QmXttGpZrECX5qCyXbBQiqgQNytVGeZW5Anewvh2jc4psg"

Choose a reason for hiding this comment

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

}
}
]
},

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

"author": {
"name": "Uniswap Labs",
"email": "[email protected]",
"url": "https://uniswap.org"

Choose a reason for hiding this comment

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

Copy link

Choose a reason for hiding this comment

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

This comment was marked as resolved.

Copy link

Choose a reason for hiding this comment

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

"url": "https://uniswap.org"
},
"description": "📚 The Token Lists specification",
"version": "1.0.0-beta.31",

Choose a reason for hiding this comment

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

"url": "https://uniswap.org"
},
"description": "📚 The Token Lists specification",
"version": "1.0.0-beta.31",

Choose a reason for hiding this comment

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

@Rebelhdxx
Copy link

So I need to add like bumps and rat stuff like that, so I just request another coin with more words to it, so and make sure it's not already been done in the net work learning by myself I just learned how to use these comments mate now feel free to give me any constructive criticism as much obliged thank you

@cyny39
Copy link

cyny39 commented Sep 12, 2023

#420

Copy link

@Bbjj88h Bbjj88h left a comment

Choose a reason for hiding this comment

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

Approve merging please

Copy link

@Imebeez Imebeez left a comment

Choose a reason for hiding this comment

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

@drewgitgit
Copy link

Thanks

Copy link

@drewgitgit drewgitgit left a comment

Choose a reason for hiding this comment

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

Thanks

Copy link

@suss56 suss56 left a comment

Choose a reason for hiding this comment

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

Copy link

@drewgitgit drewgitgit left a comment

Choose a reason for hiding this comment

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

Ready

Copy link

@drewgitgit drewgitgit left a comment

Choose a reason for hiding this comment

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

Cash money

Copy link

@suss56 suss56 left a comment

Choose a reason for hiding this comment

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

J

Copy link

@KingRobZombie-CEO KingRobZombie-CEO left a comment

Choose a reason for hiding this comment

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

Nice

@drewgitgit
Copy link

great

Copy link

@Armanidashh Armanidashh left a comment

Choose a reason for hiding this comment

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

1

Copy link

@KingRobZombie-CEO KingRobZombie-CEO left a comment

Choose a reason for hiding this comment

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

👍🏽

Copy link

@drewgitgit drewgitgit left a comment

Choose a reason for hiding this comment

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

Nice

Copy link

@Imebeez Imebeez left a comment

Choose a reason for hiding this comment

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

Copy link

@noelportillo noelportillo left a comment

Choose a reason for hiding this comment

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

I have to get my coins

Copy link

@noelportillo noelportillo left a comment

Choose a reason for hiding this comment

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

So what are we supposed do with this

Copy link

@noelportillo noelportillo left a comment

Choose a reason for hiding this comment

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

Did they have any of that stuff at all before

@drewgitgit
Copy link

drewgitgit commented Jul 22, 2025 via email

Copy link

@noelportillo noelportillo left a comment

Choose a reason for hiding this comment

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

Very nice work

"author": {
"name": "Uniswap Labs",
"email": "[email protected]",
"url": "https://uniswap.org"

Choose a reason for hiding this comment

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

R

"author": {
"name": "Uniswap Labs",
"email": "[email protected]",
"url": "https://uniswap.org"

Choose a reason for hiding this comment

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

R

"author": {
"name": "Uniswap Labs",
"email": "[email protected]",
"url": "https://uniswap.org"

Choose a reason for hiding this comment

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

R

Copy link

@noelportillo noelportillo left a comment

Choose a reason for hiding this comment

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

Perfect

"description": "📚 The Token Lists specification",
"version": "1.0.0-beta.31",
"version": "1.0.0-beta.32",
"license": "MIT",
Copy link

Choose a reason for hiding this comment

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

Copy link

@kikiki1378 kikiki1378 left a comment

Choose a reason for hiding this comment

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

I'll

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.