forked from 1Hive/token-lists
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new "extensions" property to TokenInfo definition The new "extensions" field is meant to contain any vendor-specific token metadata or any other extraneous data which a Token List creator might want to ship with their Token List. example usecases: - adding a "color" for each token - adding a "description" for each token - adding a "verified" flag on tokens 😘️🦄️🗒️ * bump package.json version * extension values Co-authored-by: Michael Demarais <m.demarais@gmail.com>
- Loading branch information
1 parent
7ddb6b3
commit 0a9f46c
Showing
7 changed files
with
308 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "My Token List", | ||
"timestamp": "2020-06-12T00:00:00+00:00", | ||
"tokens": [ | ||
{ | ||
"chainId": 1, | ||
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", | ||
"decimals": 18, | ||
"name": "required name", | ||
"symbol": "symbol", | ||
"extensions": { | ||
"abc": ["1234"], | ||
"def": [1235], | ||
"isBoolean": {"abc": 534}, | ||
"isNull": {"thing": null} | ||
} | ||
}, | ||
{ | ||
"chainId": 1, | ||
"address": "0x39AA39c021dfbaE8faC545936693aC917d5E7563", | ||
"decimals": 18, | ||
"name": "required name", | ||
"symbol": "symbol" | ||
} | ||
], | ||
"version": { | ||
"major": 1, | ||
"minor": 0, | ||
"patch": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "My Token List", | ||
"timestamp": "2020-06-12T00:00:00+00:00", | ||
"tokens": [ | ||
{ | ||
"chainId": 1, | ||
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", | ||
"decimals": 18, | ||
"name": "required name", | ||
"symbol": "symbol", | ||
"extensions": { | ||
"abc": "1234", | ||
"def": 1234, | ||
"isBoolean": false, | ||
"isNull": null | ||
} | ||
}, | ||
{ | ||
"chainId": 1, | ||
"address": "0x39AA39c021dfbaE8faC545936693aC917d5E7563", | ||
"decimals": 18, | ||
"name": "required name", | ||
"symbol": "symbol" | ||
} | ||
], | ||
"version": { | ||
"major": 1, | ||
"minor": 0, | ||
"patch": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters