* create ensureOkResponse and check against RPC responses
* Merge with develop branch
* added single unit test
* main nodes added
* getBalance method
* remove console.log
* minor conflict fix - readd polyfill to integration test
* added two more method tests
* seperate rpcnode from extended classes
* fixes etherscan
* added all tests
* revert files with only formatting changes
* remove console.logs - still need to update snapshot before tests will pass
* updated snapshot due to RpcNode fixes for Infura and Etherscan nodes
* added RpcNodeTest config so we don't rely on constants in code
* undo formatting changes
* Multiple fixes to error handling tokens.
* Fixed TSC errors
* Minor styling edit - change async func to promise
* changed shape of tokenBalances
* change balance type back to stricter TokenValue type
* remove package.json change and include test for error state.
* minor change removing unneeded line of code
* added longer timeout for api
* update snapshot
* Layed out components for custom nodes.
* Outline of custom nodes. Still missing various features and error handling.
* Persist custom nodes to local storage.
* Make custom nodes removable.
* Add latest block functions, call it when switching nodes.
* Initialize correct node, move node utils into utils file.
* Fix names
* Send headers along with rpc requests.
* Remove custom network options for now.
* PR feedback.
* One last log.
* Fix tests.
* Headers in batch too.
* Switch to node when you add it.
* Reduce hackery.
* Clean up linter and tsc.
* Fix latest block hex conversion.
* Unit tests.
* Fix missing property.
* Fix Modal title typing.
* Fetch all token rates at once. Add option for displaying all token values.
* Ensure spinner always shows before equivalent values are ready.
* Fix up test.
* Add definition file for bn.js
* Remove types-bn
* make isBN a static property
* progress commit -- swap out bignumber.js for bn.js
* Swap out bignumber for bn in vendor
* Change modn to number return
* Start to strip out units lib for a string manipulation based lib
* Convert codebase to only base units
* Get rid of useless component
* Handle only wei in values
* Use unit conversion in sidebar
* Automatically strip hex prefix, and handle decimal edge case
* Handle base 16 wei in transactions
* Make a render callback component for dealing with unit conversion
* Switch contracts to use bn.js, and get transaction values from signedTx instead of state
* Get send transaction working with bn.js
* Remove redundant hex stripping, return base value of tokens
* Cleanup unit file
* Re-implement toFixed for strings
* Use formatNumber in codebase
* Cleanup code
* Undo package test changes
* Update snapshot and remove console logs
* Use TokenValue / Wei more consistently where applicable
* Add typing to deterministicWallets, fix confirmation modal, make UnitDisplay more flexible
* Clean up prop handling in UnitDisplay
* Change instanceof to typeof check, change boolean of displayBalance
* Fix tsc errors
* Fix token row displaying wrong decimals
* Fix deterministic modal token display
* Handle hex and non hex strings automatically in BN conversion
* Fix handling of strings and numbers for BN
* add web3 fixes & comments
* Display short balances on deterministic modals
* add more tests, fix rounding
* Add spacer to balance sidebar network name
* Fix tsc error
* Progress commit -- ethereumjs-wallet typings
* Add hdkey module + better wallet typing
* Add provider-engine typings
* Add jsdoc descriptions for hdkey constructor methods
* Fix missing return type
* Fix another missing return
* Make provider engine options optional
* Add priv/pubkey members to wallet instance
* Turn into SFC + Use ethereumjs-lib
* Use proper interface naming for V3Wallet
* Switch to ethereumjs-wallet
* Switch to ethereumjs-wallet and refactor using NewTabLink
* Use proper interface naming for V3Wallet
* Use proper interface naming for PublicKeyOnlyWallet
* Strip out wallet classes for ethereumjs-wallet, stuff wallet types in privkey for now
* Seperate wallets into deterministic and non-deterministic, change IWallet and deterministic wallets to adhere to getAddressString
* Fix broken test, remove scryptsy
* Fix broken test, re-add scryptsy to make this PR pass
* Remove uuid from deps and keystore test
* Add ethereumjs-wallet to DLL
* Wrap mnemonic wallet
* Fix definition module for thirdparty wallets
* Fix MewV1 wallet not loading due to wrong library
* Fix tsc error
* Decrease n-factor to 1024, checksum address of keystore
* Fix isKeystorePassRequired
* Fix tsc errors
* Merge package lock
* Update package lock
* regenerate lock file
* Lock typescript to 2.5.2
* Merge develop
* add route and nav tab for new module
* add new module to tabs index
* add signMessage to wallet interface
* add signed message verification, normalize pkey sign
* init Sign & Verify Message tab
* reorder imports
* mock out Trezor
* cast to bool instead of length check
* normalize ledger sign message
* fix broken this context
* add commented message signing to trezor wallet
* correct var to start on sign tab
* remove unused state var
* clean up SignMessage classes
* clean up VerifyMessage classes, remove unnecessary log
* correct event variable types
* remove unnecessary exports
* remove empty classname
* use implicit return
* shorten signMessage method
* remove unnecessary disable
* tweak variable name
* make better use of destructuring, remove console log
* use destructured var
* flatten if statement
* add signMessage method to wallet reducer test
* Refactor babel/types
* Refactor entry point
* Refactor actions
* Refactor api
* Full project refactor -- Broad type fixing sweep
* - completely fix merge conflicts
- handle various type errors
* Add tslint to package.json
* Dependency cleanup
* Fix module resolution
* Work on type definitions for untyped libs
* progress commit
* Add more definition typing
* various type additions
* Add unit types
* Fix sagaiterator + unit types
* various types added
* additional type additions
* Fix typing on Sagas
* remove flowfixmes; swap translate for translateRaw
* Get rid of contracts - awaiting Henry's contract PR
* Remove contracts from routing
* Fix most of actions/reducers
* refactor actions directory structure
* fix reducer action type imports
* Fix most of type errors pre-actions refactor
* fix action creator imports in containers
* Refactor more
* Refactor index of actions
* fix action imports; use module level index export
* package-lock.json updated
* Use action types in props
* Type up action creators
* Fix most of connect errors
* Typefixing progress
* More types
* Fix run-time errors
* Caching improvements for webpack
* Remove path resolve from webpack
* Update non-breaking packages to latest version
* Fix token typing
* Remove unused color code
* Fix wallet decrypt dispatch
* Set redux-form related props/functions to ANY, since we're stripping it out later on
* Revert BigNumber.js package changes
* Extend window to custom object for Perf
* Format Navigation
* Typecase keystore errors as any (since we shouldnt touch this)
* Push wallet context fix
* - find/replace value->payload in swap
- properly type swap state properties
- extract inline reducer into reducer function
* - type local storage retrieved items as generic
* - bind all RPCClient methods with fat arrow
* - reformat
* Change to enums for constants
* Change state into any
* Fix swap errors
* ensure that seconds are passed into state as integers
* Fix rest of errors
* use parseInt explicitly instead of type coercion
* Fix derivation-checker, remove flow command, add tslint command, add tslint-react, tell travis to use tslint instead of flow.
* Whoops, remove those tests.
* Remove unsupported (yet) config option.
* Fix precommit to target ts and tsx files.
* Fix some errors, ignore some silly rules.
* Revert jest to v19, use ts-jest and make all tests typescript. Fixes all but one.
* Get rid of saga tests
* Fix tslint errors
* Remove unused imports.
* Create and use .toPrecision forwarding method for `Unit`
* Error handling when unlocking trezor devices.
* Use translateRaw to fulfill string req;
* - Refactor rates actions and action creators to use standard network request state pattern (REQUESTED / SUCCE
- Only Request Rates once AccountInfo Component has mounted, instead of upon saga instantiation (uneeded overhead). This allows also us to issue subsequent fiat rates requests to update the "equivalent values" should the users session persist.
- Show '???' as account balance when balance is null
- Wallet initial state with balance as null instead of 0. We don't actually know what the balance is, and we shouldn't have 0 as a default as this may confuse users and doesn't accurately reflect their balance.
* - Display 'No rates were loaded.' in EquivalentValues when rates are null, instead of nothing.
- Remove unneeded imports.
* Remove unneeded imports and reformat.
* Fix error messaging (show error message instead of error Object)
* remove console.log
* inform flow how silly it is being
* fix wallet test to reflect balance being null by default
* figure out way to have flow understand that rates will not be undefined
* open external links in new tab
* handle case where balance is null in equivalanet values