@dexknot/constants
v1.1.0
Published
The submodule is a part of monorepo [Dexknot](https://github.com/yozh-io/dexknot).
Downloads
1
Readme
constants
The submodule is a part of monorepo Dexknot.
Contains constants used in different applications.
Install
- yarn
yarn add --dev @dexknot/constants
or
- npm
npm install --dev @dexknot/constants
Importing
Individual components can be imported:
import {
//Constants
ALL_SUPPORTED_CHAIN_IDS,
DOLLAR_TIED_TOKENS,
FAVORITE_TOKENS,
GasPriceErrorTypes,
INPUT_REGEX,
JOE_ROUTER_ADDRESS,
JSON_RPC_ENDPOINTS,
LocalStorageKeys,
MAIN_TOKENS,
NATIVE_TOKEN_ADDRESS,
networkConfigs,
REFRESH_QUOTE_DELAY,
REFRESH_QUOTE_DELAY_MS,
SLIPPAGE_INPUT_REGEX,
SupportedDestRecipient,
SupportedReferrer,
USDC,
USDT,
V3_SWAP_ROUTER_ADDRESS,
VALUE_LENGTH_REGEX,
VISIBLE_PROTOCOLS_ON_MAIN_MODAL,
WAVAX_TOKEN_ADDRESS,
ZERO_ADDRESS,
ZERO_EX_ADDRESS,
// Enums
CustomGasPriceFieldId,
ErrorCode,
//Functions
getNetworkConfig,
} from '@dexknot/constants';