diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-10-30 03:51:38 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-30 04:18:53 +0800 |
commit | 25ca3d4c29ad98b75e256424246a38a72e5a26da (patch) | |
tree | 8e4fc6fc0ef0b1292934ebdcbf5977e8f34e99cf /packages/instant/src/constants.ts | |
parent | 02a975dde45ba879627975ac836956b679a1a0ac (diff) | |
download | dexon-sol-tools-25ca3d4c29ad98b75e256424246a38a72e5a26da.tar dexon-sol-tools-25ca3d4c29ad98b75e256424246a38a72e5a26da.tar.gz dexon-sol-tools-25ca3d4c29ad98b75e256424246a38a72e5a26da.tar.bz2 dexon-sol-tools-25ca3d4c29ad98b75e256424246a38a72e5a26da.tar.lz dexon-sol-tools-25ca3d4c29ad98b75e256424246a38a72e5a26da.tar.xz dexon-sol-tools-25ca3d4c29ad98b75e256424246a38a72e5a26da.tar.zst dexon-sol-tools-25ca3d4c29ad98b75e256424246a38a72e5a26da.zip |
feat(instant): add default gasPrice of 6 gwei to transactions
Diffstat (limited to 'packages/instant/src/constants.ts')
-rw-r--r-- | packages/instant/src/constants.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/constants.ts b/packages/instant/src/constants.ts index e4281d54a..47cb2eaeb 100644 --- a/packages/instant/src/constants.ts +++ b/packages/instant/src/constants.ts @@ -3,3 +3,5 @@ export const BIG_NUMBER_ZERO = new BigNumber(0); 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'; +export const GWEI_IN_WEI = new BigNumber(1000000000); +export const DEFAULT_GAS_PRICE = GWEI_IN_WEI.mul(6); |