* 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
* remove 'transate' property and ng-scopes
* use bigs (surprised flow did not catch this)
* fix dropdown not expanding -- switch to simpledropdown
* Don't use generics for no real reason
* Create Ether, Wei, and GWei types, and annotate.
Also contains refactors and UX improvements
1. clear previously generated rawTX/signedTx when changes to transaction inputs are made.
2. reset generated rawTx/signedTx while new generateTx is loading
* add toString helper method and use in place of .amount.toString()
* support optional base in toString helper method and use
* incorporate PR suggestions (destructure, resolve via callback)
* First pass at handling API failure.
* Bity saga logic upgrade.
* Reusable response.ok logic. Small optimization to array join.
* Flow fixes.
* Streamlined some error handling, moved types.
* 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
* hide buttons during send loading state
* fix transaction succeeded not clickable; provide error in action
* move BroadcastStatusTransaction into 'libs/transaction'
* use more succint Array.prototype.find
* rename resetState -> resetTransaction
* refactor and component componentDidUpdate logic
* rename disabled -> generateDisabled; comment componentDidUpdate
* add size to Spinner, use in ConfirmationModal; disable instead of hide buttons in Modal
* fix flow not understanding that an object wouldn't be null in this case anyway. silly flow
* various refactors; send entire balance working
* 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
* 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).
* Empty component, routes setup.
* Shared components for all Contracts inputs. Dont do anything yet.
* Check in reducer work so far. Still WIP.
* Header styling
* Check in input work so far, splitting to new branch.
* Strip down contracts inputs. Split out into form and explorer
* Contract selector
* Constantized config actions to use in contract saga.
* Interact explorer UI, no functionality
* Convert to constants, hook up errors
* Deploy and style cleanup.
* Remove unnecessary class.
* Fix flow errors with css modules
* Attempt at fixing all newly introduced flow errors in the contracts branch.
* Removed unused validator.
* Remove action constants, fix flow specificity in reducers
* Fix unit tests
* Move network contracts out of redux / sagas, and read directly from state with a selector in mapStateToProps.
* Fix initialState -> INITIAL_STATE rename
* foreach push -> concat
* Convert Swap to consistent style
* Generate wallet reducer cleanup.
* Confirm empty action in swap reducer
* Union types. Fix gen wallet collision
* Fix not using all actions in reducer. Added reducer state for is fetching from bity. Added todo to make that a loader.
* Readme instructions.
* Remove common action constants.
* Bring all actions and reducers inline with readme instructions.
* Readme fixes
* address comments