aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/constants.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-10-30 01:26:27 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-10-30 01:37:56 +0800
commitaab9bedd7fe1ab328e416024b6397f242d39d84f (patch)
tree5ffa6dc9d737d5dddd1b16c4ecb6fb65e6e85ee4 /packages/instant/src/constants.ts
parent8d1689073b702d973075d30b2bb36369487fad1c (diff)
parent4e4291eccdd6c837bbec70603aa6eb64d3aa8d85 (diff)
downloaddexon-sol-tools-aab9bedd7fe1ab328e416024b6397f242d39d84f.tar.gz
dexon-sol-tools-aab9bedd7fe1ab328e416024b6397f242d39d84f.tar.zst
dexon-sol-tools-aab9bedd7fe1ab328e416024b6397f242d39d84f.zip
Merge branch 'development' into feature/instant/fixed-orders-in-render-method
* development: Has Sufficient Funds/Balance -> Has Sufficient ETH When transaction too low, treat as validation error. also modify callback: errorMessage could be AssetBuyError as well onPendingValidation -> onValidationPending linting Simpler way of validaitng has enough eth questionmark syntax instead of '| undefined' Validate enough ETH when user clicks buy acccount for no address move funct into util move imports yarn.lock changes feat(instant): Show message if user doesn't have enough ETH ethDecimals -> ETH_DECIMALS
Diffstat (limited to 'packages/instant/src/constants.ts')
-rw-r--r--packages/instant/src/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/constants.ts b/packages/instant/src/constants.ts
index 48d0d4aa2..e4281d54a 100644
--- a/packages/instant/src/constants.ts
+++ b/packages/instant/src/constants.ts
@@ -1,5 +1,5 @@
import { BigNumber } from '@0x/utils';
export const BIG_NUMBER_ZERO = new BigNumber(0);
-export const ethDecimals = 18;
+export const ETH_DECIMALS = 18;
export const DEFAULT_ZERO_EX_CONTAINER_SELECTOR = '#zeroExInstantContainer';
export const WEB_3_WRAPPER_TRANSACTION_FAILED_ERROR_MSG_PREFIX = 'Transaction failed';