From 8c43cfd8d98a139724d195679c7416616026c0b5 Mon Sep 17 00:00:00 2001 From: Yudi Levi Date: Thu, 21 Sep 2023 14:49:36 +0100 Subject: [PATCH] enableTrading - removed debug code --- scripts/enableTrading.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/enableTrading.ts b/scripts/enableTrading.ts index 6d1d7a2d..38d23317 100644 --- a/scripts/enableTrading.ts +++ b/scripts/enableTrading.ts @@ -21,7 +21,7 @@ interface TokenData { } const MAX_PRECISION = 16; -const TOKEN_ADDRESSES: string[] = ['0x6B175474E89094C44Da98b954EedeAC495271d0F']; +const TOKEN_ADDRESSES: string[] = []; interface TokenOverride { address: string; @@ -91,10 +91,10 @@ const main = async () => { Logger.log(); Logger.log(`Checking ${symbol} status [${token}]...`); - //if (await carbonPOL.tradingEnabled(token)) { - // Logger.error(' Skipping already enabled token...'); - // continue; - //} + if (await carbonPOL.tradingEnabled(token)) { + Logger.error(' Skipping already enabled token...'); + continue; + } const tokenPriceData = tokenPrices[token.toLowerCase()]; if (!tokenPriceData) {