diff options
author | Dan <danjm.com@gmail.com> | 2018-06-29 07:33:09 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-06-29 07:33:09 +0800 |
commit | 696d6261338e96a3a7786e08940ab51cad98cb22 (patch) | |
tree | 839dbce5ab038b898232e065597e091bc3296ea6 /ui/app/components/send_/send.constants.js | |
parent | 9f5ee94b6937c741684de5e70ac0f9fea5f50226 (diff) | |
download | tangerine-wallet-browser-696d6261338e96a3a7786e08940ab51cad98cb22.tar.gz tangerine-wallet-browser-696d6261338e96a3a7786e08940ab51cad98cb22.tar.zst tangerine-wallet-browser-696d6261338e96a3a7786e08940ab51cad98cb22.zip |
Set based estimate for token sends to be updated once recipient address specified.
Diffstat (limited to 'ui/app/components/send_/send.constants.js')
-rw-r--r-- | ui/app/components/send_/send.constants.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/send_/send.constants.js b/ui/app/components/send_/send.constants.js index df5dee371..8acdf0641 100644 --- a/ui/app/components/send_/send.constants.js +++ b/ui/app/components/send_/send.constants.js @@ -36,6 +36,7 @@ const ONE_GWEI_IN_WEI_HEX = ethUtil.addHexPrefix(conversionUtil('0x1', { })) const SIMPLE_GAS_COST = '0x5208' // Hex for 21000, cost of a simple send. +const BASE_TOKEN_GAS_COST = '0x186a0' // Hex for 100000, a base estimate for token transfers. module.exports = { INSUFFICIENT_FUNDS_ERROR, @@ -52,4 +53,5 @@ module.exports = { REQUIRED_ERROR, SIMPLE_GAS_COST, TOKEN_TRANSFER_FUNCTION_SIGNATURE, + BASE_TOKEN_GAS_COST, } |