[Internal] Update Polygon tokenlist (#14160)

This commit is contained in:
Adam R 2021-10-07 12:12:17 +02:00 committed by GitHub
parent 8f5a93df94
commit a5dd662c81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 26 deletions

View File

@ -1,7 +1,7 @@
{
"name": "Trust Wallet: Polygon",
"logoURI": "https://trustwallet.com/assets/images/favicon.png",
"timestamp": "2021-10-06T10:22:28.269Z",
"timestamp": "2021-10-07T08:50:36.056Z",
"tokens": [
{
"asset": "c966_t0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
@ -18,6 +18,9 @@
{
"base": "c966_t0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
},
{
"base": "c966_t0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39"
},
{
"base": "c966_t0x831753DD7087CaC61aB5644b308642cc1c33Dc13"
},
@ -36,7 +39,7 @@
"asset": "c966_t0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
"type": "POLYGON",
"address": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
"name": "Wrapped Matic",
"name": "Wrapped MATIC",
"symbol": "WMATIC",
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/polygon/assets/0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270/logo.png",
@ -50,9 +53,6 @@
{
"base": "c966_t0x831753DD7087CaC61aB5644b308642cc1c33Dc13"
},
{
"base": "c966_t0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063"
},
{
"base": "c966_t0xc2132D05D31c914a87C6611C10748AEb04B58e8F"
}
@ -73,12 +73,6 @@
{
"base": "c966_t0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"
},
{
"base": "c966_t0x831753DD7087CaC61aB5644b308642cc1c33Dc13"
},
{
"base": "c966_t0xa3Fa99A148fA48D14Ed51d610c367C61876997F1"
},
{
"base": "c966_t0xc2132D05D31c914a87C6611C10748AEb04B58e8F"
}
@ -113,9 +107,6 @@
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/polygon/assets/0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063/logo.png",
"pairs": [
{
"base": "c966_t0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"
},
{
"base": "c966_t0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619"
}
@ -141,16 +132,6 @@
"logoURI": "https://assets.trustwalletapp.com/blockchains/polygon/assets/0x831753DD7087CaC61aB5644b308642cc1c33Dc13/logo.png",
"pairs": []
},
{
"asset": "c966_t0xa3Fa99A148fA48D14Ed51d610c367C61876997F1",
"type": "POLYGON",
"address": "0xa3Fa99A148fA48D14Ed51d610c367C61876997F1",
"name": "miMATIC",
"symbol": "miMATIC",
"decimals": 18,
"logoURI": "https://assets.trustwalletapp.com/blockchains/polygon/assets/0xa3Fa99A148fA48D14Ed51d610c367C61876997F1/logo.png",
"pairs": []
},
{
"asset": "c966_t0xD6DF932A45C0f255f85145f286eA0b292B21C90B",
"type": "POLYGON",
@ -163,7 +144,7 @@
}
],
"version": {
"major": 4,
"major": 6,
"minor": 0,
"patch": 0
}

View File

@ -56,7 +56,6 @@ async function retrievePolygonSwapPairs(): Promise<PairInfo[]> {
const query = config.PolygonSwap_TradingPairsQuery;
const date = dateOfYesterday();
const queryReplaced = query.replace("$DATE$", date);
console.log(queryReplaced);
const pairs = await getTradingPairsBitquery(config.PolygonSwap_TradingPairsUrl, queryReplaced);
const filtered: PairInfo[] = [];