Skip to content
Merged
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"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.

Choose a reason for hiding this comment

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

R

Choose a reason for hiding this comment

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

R

Choose a reason for hiding this comment

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

R

},
"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.

Choose a reason for hiding this comment

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

"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.

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.

"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.

"license": "MIT",
Copy link

Choose a reason for hiding this comment

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

"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
24 changes: 24 additions & 0 deletions src/tokenlist.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,30 @@
"minItems": 1,

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.

High

Choose a reason for hiding this comment

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

High

Choose a reason for hiding this comment

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

If

"maxItems": 10000
},
"tokenMap": {
"type": "object",
"description": "A mapping of key 'chainId_tokenAddress' to its corresponding token object",
"minProperties": 1,
"maxProperties": 10000,
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/definitions/TokenInfo"
},
"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

Choose a reason for hiding this comment

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

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

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.

"keywords": {
"type": "array",
"description": "Keywords associated with the contents of the list; may be used in list discoverability",
Expand Down