Skip to content

Commit

Permalink
order constants
Browse files Browse the repository at this point in the history
  • Loading branch information
aburkut committed Sep 29, 2023
1 parent 1bec33b commit db71a36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dex/dexalot/constants.ts
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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');

0 comments on commit db71a36

Please sign in to comment.