@ -9,6 +9,7 @@ const DropdownMenuItem = require('./dropdown').DropdownMenuItem
const Identicon = require('./identicon')
const ethUtil = require('ethereumjs-util')
const copyToClipboard = require('copy-to-clipboard')
const t = require('../../i18n')
class AccountDropdowns extends Component {
constructor (props) {
@ -6,6 +6,7 @@ const copyToClipboard = require('copy-to-clipboard')
const actions = require('../actions')
const connect = require('react-redux').connect
module.exports = connect(mapStateToProps)(ExportAccountView)
@ -9,6 +9,7 @@ const Loading = require('./loading')
const AccountPanel = require('./account-panel')
const RadioList = require('./custom-radio-list')
const networkNames = require('../../../app/scripts/config.js').networkNames
module.exports = connect(mapStateToProps)(BuyButtonSubview)
@ -3,6 +3,7 @@ const h = require('react-hyperscript')
const inherits = require('util').inherits
module.exports = connect(mapStateToProps)(CoinbaseForm)
@ -2,6 +2,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const Tooltip = require('./tooltip')
@ -4,6 +4,7 @@ const inherits = require('util').inherits
module.exports = Copyable
@ -8,6 +8,7 @@ const ENS = require('ethjs-ens')
const networkMap = require('ethjs-ens/lib/network-map.json')
const ensRE = /.+\..+$/
const ZERO_ADDRESS = '0x0000000000000000000000000000000000000000'
module.exports = EnsInput
const BN = ethUtil.BN
const extend = require('xtend')
module.exports = HexAsDecimalInput
const classnames = require('classnames')
const NetworkDropdownIcon = require('./dropdowns/components/network-dropdown-icon')
module.exports = Network
@ -4,6 +4,7 @@ const h = require('react-hyperscript')
const ReactMarkdown = require('react-markdown')
const linker = require('extension-link-enabler')
const findDOMNode = require('react-dom').findDOMNode
module.exports = Notice
@ -1,6 +1,7 @@
const Component = require('react').Component
const PendingTxDetails = require('./pending-msg-details')
module.exports = PendingMsg
const BinaryRenderer = require('./binary-renderer')
const TypedMessageRenderer = require('./typed-message-renderer')
module.exports = PendingMsgDetails
const PendingTxDetails = require('./pending-typed-msg-details')
@ -7,6 +7,7 @@ const inherits = require('util').inherits
const actions = require('../../actions')
const selectors = require('../../selectors')
const { isValidAddress, allNull } = require('../../util')
const t = require('../../../i18n')
// const BalanceComponent = require('./balance-component')
const Identicon = require('../identicon')
const CurrencyDisplay = require('./currency-display')
module.exports = GasFeeDisplay
const InputNumber = require('../input-number.js')
module.exports = GasTooltip
const AccountListItem = require('./account-list-item')
module.exports = ToAutoComplete
@ -7,6 +7,7 @@ const { qrcode } = require('qrcode-npm')
const { shapeShiftSubview, pairUpdate, buyWithShapeShift } = require('../actions')
const { isValidAddress } = require('../util')
const SimpleDropdown = require('./dropdowns/simple-dropdown')
function mapStateToProps (state) {
const {
@ -6,6 +6,7 @@ const vreme = new (require('vreme'))()
const explorerLink = require('etherscan-link').createExplorerLink
const addressSummary = require('../util').addressSummary
const CopyButton = require('./copyButton')
const EthBalance = require('./eth-balance')
@ -9,6 +9,7 @@ const classnames = require('classnames')
const AccountDropdownMini = require('./dropdowns/account-dropdown-mini')
const { conversionUtil } = require('../conversion-util')
@ -5,6 +5,7 @@ const TokenTracker = require('eth-token-tracker')
const TokenCell = require('./token-cell.js')
const selectors = require('../selectors')
return {
@ -11,6 +11,7 @@ const vreme = new (require('vreme'))()
const numberToBN = require('number-to-bn')
const TransactionIcon = require('./transaction-list-item-icon')
const ShiftListItem = require('./shift-list-item')
const TransactionListItem = require('./transaction-list-item')
module.exports = TransactionList
@ -13,6 +13,7 @@ const { conversionUtil, multiplyCurrencies } = require('../conversion-util')
const { calcTokenAmount } = require('../token-util')
const { getCurrentCurrency } = require('../selectors')
module.exports = connect(mapStateToProps)(TxListItem)
@ -10,6 +10,7 @@ const { formatDate } = require('../util')
const { showConfTxPage } = require('../actions')
const { tokenInfoGetter } = require('../token-util')
module.exports = connect(mapStateToProps, mapDispatchToProps)(TxList)
@ -5,6 +5,7 @@ const ethUtil = require('ethereumjs-util')
const BalanceComponent = require('./balance-component')
const TxList = require('./tx-list')
@ -9,6 +9,7 @@ const actions = require('../actions')
const TokenList = require('./token-list')
module.exports = connect(mapStateToProps, mapDispatchToProps)(WalletView)
@ -12,7 +12,7 @@ if ((chrome && chrome.i18n && chrome.i18n.getMessage) ||
let msg = require('../app/_locales/en/messages.json');
getMessage = function(key) {
return msg[key].message;
});
};
}
module.exports = getMessage;