From db71a36e3983c2f32405c8047dba5854775c6518 Mon Sep 17 00:00:00 2001 From: Alexander Burkut Date: Sat, 30 Sep 2023 01:15:11 +0300 Subject: [PATCH] order constants --- src/dex/dexalot/constants.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dex/dexalot/constants.ts b/src/dex/dexalot/constants.ts index 8161eface..b9841a015 100644 --- a/src/dex/dexalot/constants.ts +++ b/src/dex/dexalot/constants.ts @@ -1,7 +1,5 @@ import BigNumber from 'bignumber.js'; -export const DEXALOT_RATE_LIMITED_TTL_S = 60 * 60; // 1 hour - export const DEXALOT_PRICES_CACHES_TTL_S = 3; export const DEXALOT_PAIRS_CACHES_TTL_S = 21 * 60; // 21 mins @@ -20,10 +18,12 @@ export const DEXALOT_API_URL = 'https://api.dexalot.com'; export const DEXALOT_GAS_COST = 120_000; -export const DEXALOT_RESTRICT_TTL_S = 60 * 30; // 30 minutes +export const DEXALOT_RATE_LIMITED_TTL_S = 60 * 60; // 1 hour export const DEXALOT_RATELIMIT_CACHE_VALUE = 'limited'; +export const DEXALOT_RESTRICT_TTL_S = 60 * 30; // 30 minutes + export const DEXALOT_RESTRICTED_CACHE_KEY = 'restricted'; export const DEXALOT_MIN_SLIPPAGE_FACTOR_THRESHOLD_FOR_RESTRICTION = new BigNumber('0.001');