diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-09 06:57:39 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-09 06:57:39 +0800 |
commit | 7acaae37a969339d1b4971f80d7fd842266bb60b (patch) | |
tree | 08925eec8cc75c525d4a384383383cc07d75f77c /packages/instant/src/constants.ts | |
parent | c84e163edb329b478749cad09f222cc12e3698fe (diff) | |
download | dexon-sol-tools-7acaae37a969339d1b4971f80d7fd842266bb60b.tar dexon-sol-tools-7acaae37a969339d1b4971f80d7fd842266bb60b.tar.gz dexon-sol-tools-7acaae37a969339d1b4971f80d7fd842266bb60b.tar.bz2 dexon-sol-tools-7acaae37a969339d1b4971f80d7fd842266bb60b.tar.lz dexon-sol-tools-7acaae37a969339d1b4971f80d7fd842266bb60b.tar.xz dexon-sol-tools-7acaae37a969339d1b4971f80d7fd842266bb60b.tar.zst dexon-sol-tools-7acaae37a969339d1b4971f80d7fd842266bb60b.zip |
feat(instant): Heartbeat for updating account info
Diffstat (limited to 'packages/instant/src/constants.ts')
-rw-r--r-- | packages/instant/src/constants.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/instant/src/constants.ts b/packages/instant/src/constants.ts index 705313ce7..d0a86c780 100644 --- a/packages/instant/src/constants.ts +++ b/packages/instant/src/constants.ts @@ -10,6 +10,7 @@ export const WEB_3_WRAPPER_TRANSACTION_FAILED_ERROR_MSG_PREFIX = 'Transaction fa export const GWEI_IN_WEI = new BigNumber(1000000000); export const ONE_SECOND_MS = 1000; export const ONE_MINUTE_MS = ONE_SECOND_MS * 60; +export const ACCOUNT_UPDATE_INTERVAL_TIME_MS = ONE_SECOND_MS * 15; export const DEFAULT_GAS_PRICE = GWEI_IN_WEI.mul(6); export const DEFAULT_ESTIMATED_TRANSACTION_TIME_MS = ONE_MINUTE_MS * 2; export const ETH_GAS_STATION_API_BASE_URL = 'https://ethgasstation.info'; |