* 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
* chore(package): update dependencies
* docs(readme): add Greenkeeper badge
* Remove package lock and add it to ignore
* Pin typescript to 2.5.2
* Pin package versions to the versions previously in package-lock.json
* 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
* Fix broken test, re-add scryptsy to make this PR pass
* Fix definition module for thirdparty wallets
* Decrease n-factor to 1024, checksum address of keystore
* Update typedef for react-dom from 15 to 16
* Lock react-dom, set typescript to 2.5.2
* add static vendor js libraries
* add ledger config
* add ledger components
* add ledger wallet
* bugfix: trezor, set dPath on change
* add rlp type package, update types
* change address to public
* update tslint script to exclude all files in directory
* revert to private address and use getAddress()
* remove unnecessary eslint line out of library files
* remove IWallet import
* Fix ts errors
* Remove version controlled vendor files from DLL
* Convert all dropdowns to use a single dropdown shell component. Restyle header ones to look like v3.
* Right align some.
* Color dropdown component, which node selector uses.
* Prettier fixes.
* add redux-promise-middleware to package.json and update package-lock.json
* intergrate redux-promise-middleware and simplify rates by replacing saga with promise
* fix unrelated breaking test
* -improve user messaging when network request fails. \n Clean up rates actions and reducers
* Address tslint errors
* 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
* Improve build speed by using cheap source maps and dropping eslint loader.
* use old 'source-map' on dev when SLOW_BUILD_SPEED env variable exists
* Increase build speed further via caching and DLL
* Cleanup code
* Add step to readme
* Move DLL loader to dev instead of base
* Add post install script
* Revert readme change
* ignore dll dir
* refactor notificationMessage
* MVP Bitcoin QR
* refactor currentrates and add loading state
* fix text space
* translate hardcoded text
* only show QR code when attempting to swap Bitcoin as the origin kind
* remove commented import
* add flow typings
* Don't show a notification of a stringified element
* Updated all translations, moved into their own folders.
* Switch translations to use Markdown component.
* Remove markup tests, since were using a module now.
* Fix flow errors, render react elements instead of dangerouslysetinnerhtml.
* Make translate a connected component, so it updates with Redux.
* Fix flow errors
* First pass at returning raw when needed for placeholder.
* Added aria test.
* Fixed flow errors and linter warnings.
* Move settimeout to saga.
* Change reload to 250 ms from 1500 ms
* Added alpha banner to top of site.
* Grey out non functioning nav items. Redirect help to groovehq.
* Disable view wallet while it's just a stub.
* Disable non-implemented wallets.
* Add a little arrow icon.
* Replaced toEther function with toUnit to reduce the number of conversion functions wed need. Add tests for conversion functions.
* First pass at a styled confirm transaction modal.
* More data about data
* Hook up generated transaction with modal
* Fix modal position
* Add from address. Restyle a bit.
* Only show textareas and button if transaction has been generated.
* Remove need for param.
* Copy.
* Use non-relative path.
* Initial crack at transaction token support.
* Fix flow type
* Unit tests for contracts and erc20
* Convert contract class to ethereumjs-abi, caught a bug
* Add decodeArgs for contracts, decodeTransfer for erc20
* Show token value in modal
* Show value from transaction data in confirmation.
* Show address of receiver, not token contract
* Flow type
* Only accept bigs
* Unlog
* Use ethereumjs-abis method ID function
* Get transaction stuff out of state. Leave todo notes.
* Intuit token from transaction to address.
* Move generate transaction out of node and into libs/transaction.
* timeout -> interval
* Promise.reject -> throw
* Get default currency from network.
* Add more unit tests for decoding. Adopt the $ prefix for decoding calls.
* Use signed transaction in confirmation modal.
* relayout rpc code, start contract helper
* Dont ask for estimate if theres no value
* Split out conversion of ether to wei hex into lib function.
* big.js -> bignumber.js
### Re-implements:
* min/max validators on initial currency swap selection
* polling of order status
* timer that persists across refreshes via localStorage (computed based on `createdTime` and `validFor` amount)
* swap persists across refreshes once order is created.
* various type refactors
### New additions:
* *SimpleButton* (can be PRd separately on request)
* clear loading state after order create (via SimpleButton and font-awesome)
* buffers for non-BTC swaps (bity does not actually accept 0.01 BTC worth of ETH as they claim they do in their JSON response, so a magic number of 10% is added to the minimum).