aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/constants.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-03 07:00:34 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-03 07:08:02 +0800
commitbc7e8ff471d7abe8e65b30d1945f6a989d521f10 (patch)
treec644cd1c61783b0394534c7cd47fd28637ec46f8 /packages/website/ts/utils/constants.ts
parent300c9f09b9ee129791a1f62881da0ee3c34ee0b5 (diff)
downloaddexon-sol-tools-bc7e8ff471d7abe8e65b30d1945f6a989d521f10.tar
dexon-sol-tools-bc7e8ff471d7abe8e65b30d1945f6a989d521f10.tar.gz
dexon-sol-tools-bc7e8ff471d7abe8e65b30d1945f6a989d521f10.tar.bz2
dexon-sol-tools-bc7e8ff471d7abe8e65b30d1945f6a989d521f10.tar.lz
dexon-sol-tools-bc7e8ff471d7abe8e65b30d1945f6a989d521f10.tar.xz
dexon-sol-tools-bc7e8ff471d7abe8e65b30d1945f6a989d521f10.tar.zst
dexon-sol-tools-bc7e8ff471d7abe8e65b30d1945f6a989d521f10.zip
Add better balance formatting rules for balances and usd values
Diffstat (limited to 'packages/website/ts/utils/constants.ts')
-rw-r--r--packages/website/ts/utils/constants.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/utils/constants.ts b/packages/website/ts/utils/constants.ts
index d3a2aa107..71c0092d2 100644
--- a/packages/website/ts/utils/constants.ts
+++ b/packages/website/ts/utils/constants.ts
@@ -6,7 +6,7 @@ export const constants = {
ETHER_TOKEN_SYMBOL: 'WETH',
ZRX_TOKEN_SYMBOL: 'ZRX',
ETHER_SYMBOL: 'ETH',
- TOKEN_AMOUNT_DISPLAY_PRECISION: 5,
+ TOKEN_AMOUNT_DISPLAY_PRECISION: 4,
GENESIS_ORDER_BLOCK_BY_NETWORK_ID: {
1: 4145578,
42: 3117574,
@@ -38,6 +38,7 @@ export const constants = {
UNAVAILABLE_STATUS: 503,
TAKER_FEE: new BigNumber(0),
TESTNET_NAME: 'Kovan',
+ NUMERAL_USD_FORMAT: '$0,0.00',
PROJECT_URL_ETHFINEX: 'https://www.ethfinex.com/',
PROJECT_URL_AMADEUS: 'http://amadeusrelay.org',
PROJECT_URL_DDEX: 'https://ddex.io',