From 512b701964f730be6c14044507e513f3128fc47b Mon Sep 17 00:00:00 2001 From: totop716 Date: Thu, 14 Jul 2022 09:35:37 -0400 Subject: [PATCH 1/2] Add missing tokens --- src/constants/tokens.json | 12 ++++++++++++ src/utils/index.ts | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/constants/tokens.json b/src/constants/tokens.json index 4e7aed7d8..7187d5df4 100644 --- a/src/constants/tokens.json +++ b/src/constants/tokens.json @@ -1793,5 +1793,17 @@ "decimals": 18, "symbol": "GLTR", "name": "GAX Liquidity Token Reward" + }, + "RVLT": { + "name": "Revolt 2 Earn", + "address": "0xf0f9D895aCa5c8678f706FB8216fa22957685A13", + "symbol": "RVLT", + "decimals": 18 + }, + "PAXG": { + "name": "Paxos Gold", + "address": "0x553d3D295e0f695B9228246232eDF400ed3560B5", + "symbol": "PAXG", + "decimals": 18 } } diff --git a/src/utils/index.ts b/src/utils/index.ts index 0b091c203..b13126b0b 100755 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1742,7 +1742,7 @@ export function getTokenFromKey( (t) => (t.symbol ?? '').toUpperCase() == tokenKey.toUpperCase(), ); if (tokensMatchingSymbol.length === 0) { - console.log('no token exists in the map'); + console.log('no token exists in the map', tokenKey); } return tokensMatchingSymbol[0]; From 117ddbd125ed94b8bef9ac5b52eabedc19be050d Mon Sep 17 00:00:00 2001 From: totop716 Date: Thu, 14 Jul 2022 09:39:52 -0400 Subject: [PATCH 2/2] revert console log --- src/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index b13126b0b..0b091c203 100755 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1742,7 +1742,7 @@ export function getTokenFromKey( (t) => (t.symbol ?? '').toUpperCase() == tokenKey.toUpperCase(), ); if (tokensMatchingSymbol.length === 0) { - console.log('no token exists in the map', tokenKey); + console.log('no token exists in the map'); } return tokensMatchingSymbol[0];