mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
Add simple price mapping from cmc - testflight
This commit is contained in:
parent
a4ee810dd8
commit
186c92b899
72
pricing/coinmarketcap/mapping.js
Normal file
72
pricing/coinmarketcap/mapping.js
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"coin": 0,
|
||||||
|
"type": "coin",
|
||||||
|
"id": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coin": 888,
|
||||||
|
"type": "coin",
|
||||||
|
"id": 1376
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coin": 60,
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359",
|
||||||
|
"id": 2308
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coin": 60,
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
|
||||||
|
"id": 825
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coin": 195,
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
|
||||||
|
"id": 825
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coin": 195,
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "TUL5yxRKeSWvceLZ3BSU5iNJcQmNxkWayh",
|
||||||
|
"id": 3718
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coin": 195,
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "1002000",
|
||||||
|
"id": 4495
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coim": 714,
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "CBM-4B2",
|
||||||
|
"id": 4253
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coim": 714,
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "CBM-4B2",
|
||||||
|
"id": 4253
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coin": "818",
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "0x0000000000000000000000000000456E65726779",
|
||||||
|
"id": 3012
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coin": "500",
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "theta",
|
||||||
|
"id": 3822
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"coin": "1024",
|
||||||
|
"type": "token",
|
||||||
|
"token_id": "ong",
|
||||||
|
"id": 3217
|
||||||
|
}
|
||||||
|
]
|
|
@ -35,6 +35,7 @@ describe("Check repository root dir", () => {
|
||||||
"package.json",
|
"package.json",
|
||||||
"README.md",
|
"README.md",
|
||||||
".git",
|
".git",
|
||||||
|
"pricing"
|
||||||
]
|
]
|
||||||
|
|
||||||
const dirActualFiles = readDirSync(".")
|
const dirActualFiles = readDirSync(".")
|
||||||
|
@ -68,7 +69,6 @@ describe(`Test "blockchains" folder`, () => {
|
||||||
|
|
||||||
describe("Check Ethereum side-chain folders", () => {
|
describe("Check Ethereum side-chain folders", () => {
|
||||||
const ethSidechains = [Ethereum, Classic, POA, TomoChain, GoChain, Wanchain, ThunderCore]
|
const ethSidechains = [Ethereum, Classic, POA, TomoChain, GoChain, Wanchain, ThunderCore]
|
||||||
const ethSidechainSupportedBlacklist = [Ethereum]
|
|
||||||
|
|
||||||
ethSidechains.forEach(chain => {
|
ethSidechains.forEach(chain => {
|
||||||
test(`Test chain ${chain} folder`, () => {
|
test(`Test chain ${chain} folder`, () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user