* create MVP of broadcast TX component
* add broadcastTx to routes and tab options
* Update BroadcastTx path to /pushTx
* - add sanitizeHex and padLeftEven functions from V3
* - Move decodeTransaction logic out of ConfirmationModal.
- Add from key to getTransactionFields
* Simplify ConfirmationModal:
1. Move business logic out of component (decodeTransaction).
2. Don't pass node props when Component is already smart. Map from state instead.
3. Pass walletAddress instead of the entire wallet object to component as prop.
4. Handle
* - Don't map node state (child component grabs from state)
- implement and call setWalletAddressOnUpdate
* correct tab to path.
* 1. Integrate Confirmation Modal
2. Validate signedTx input and disable Send Transaction button when invalid
* disable tslint error. EthTx expect a Data type object, but a string is passed. However, tx object is created as expected. Need to investigate
* adjust type definition to match allowed string input. Remove tslint disable
* fix tslint errors
* add textarea valid/invalid stlying based on disabled status
* remove unused imports
* cleanup / address PR comments
* Address PR comments
* Refactor BaseNode to be an interface INode
* Initial contract commit
* Remove redundant fallback ABI function
* First working iteration of Contract generator to be used in ENS branch
* Hide abi to clean up logging output
* Strip 0x prefix from output decode
* Handle unnamed output params
* Implement ability to supply output mappings to ABI functions
* Fix null case in outputMapping
* Add flow typing
* Add .call method to functions
* Partial commit for type refactor
* Temp contract type fix -- waiting for NPM modularization
* Misc. Optimizations to tsconfig + webpack
* Convert Contracts to TS
* Remove nested prop passing from contracts, get rid of contract reducers / sagas / redux state
* Add disclaimer modal to footer
* Remove duplicate code & unnecessary styles
* Add contracts to nav
* Wrap Contracts in App
* Add ether/hex validation override for contract creation calls
* First iteration of working deploy contract
* Delete routing file that shouldnt exist
* Revert "Misc. Optimizations to tsconfig + webpack"
This reverts commit 70cba3a07f4255153a9e277b3c41032a4b661c94.
* Cleanup HOC code
* Fix formatting noise
* remove un-used css style
* Remove deterministic contract address computation
* Remove empty files
* Cleanup contract
* Add call request to node interface
* Fix output mapping types
* Revert destructuring overboard
* Add sendCallRequest to rpcNode class and add typing
* Use enum for selecting ABI methods
* Fix tslint error & add media query for modals
* Nest Media Query
* Fix contracts to include new router fixes
* Add transaction capability to contracts
* Get ABI parsing + contract calls almost fully integrated using dynamic contract parser lib
* Refactor contract deploy to have a reusable HOC for contract interact
* Move modal and tx comparasion up file tree
* Include ABI outputs in display
* Cleanup privaite/public members
* Remove broadcasting step from a contract transaction
* Update TX contract components to inter-op with interact and deploy
* Finish contracts-interact functionality
* Add transaction capability to contracts
* Cleanup privaite/public members
* Remove broadcasting step from a contract transaction
* Apply James's CSS fix
* Cleanup uneeded types
* Remove unecessary class
* Add UI side validation and helper utils, addresess PR comments
* Fix spacing + remove unused imports / types
* Fix spacing + remove unused imports / types
* Address PR comments
* Actually address PR comments
* Actually address PR comments
* Refactor BaseNode to be an interface INode
* Initial contract commit
* Remove redundant fallback ABI function
* First working iteration of Contract generator to be used in ENS branch
* Hide abi to clean up logging output
* Strip 0x prefix from output decode
* Handle unnamed output params
* Implement ability to supply output mappings to ABI functions
* Fix null case in outputMapping
* Add flow typing
* Add .call method to functions
* Partial commit for type refactor
* Temp contract type fix -- waiting for NPM modularization
* Remove empty files
* Cleanup contract
* Add call request to node interface
* Fix output mapping types
* Revert destructuring overboard
* Add sendCallRequest to rpcNode class and add typing
* Use enum for selecting ABI methods
* Add transaction capability to contracts
* Cleanup privaite/public members
* Remove broadcasting step from a contract transaction
* Cleanup uneeded types
* Fix spacing + remove unused imports / types
* Actually address PR comments
* update readme with typescript action/reducer philosophies
* convert directory strucuture to code block for styling
* Update readme with hoc typings (#296)
* offline-send mvp
* cleanup unneeded imports
* - create pollOfflineStatus action, action creator, interface
* expand UnlockHeader when collapse-button is clicked, instead of div
* kick-off pollOfflineStatus upon SendTransaction mount.
* Create sagas for polling offline status
* remove comment
* - create CONFIG_FORCE_OFFLINE action, action creator, interface
* Adjust OfflineToggle terms to "Force Online/Offline", and understand when forced offline and when really offline.
* - Assume offline in SendTransaction when either offline or forcedOffline
* - handle forceOffline action in reducer
- adjust state type / provide default state for forceOffline in config reducer
* adjust test to pass with different key name
* fix incorrect import
* - allow size to be specified in offline toggle
* - Decode and display nonce in confirmation modal
* - set default nonces when forced offline and have online connectivity based on transaction count
- pass nonce to generateCompleteTransaction
- refactor componentDidUpdate
* Allow optional nonce to be passed to generateCompleteTransaction
* - create stripHexPrefix function
* - cleanup sagas
* move getParam into helper util
* update address on component update
* - show spinner while transaction is being signed
- reset state when wallet instance changes (new wallet instantiated via UnlockHeader)
* center-align offline message
* Adjust force offline/online button text
* - validate nonces when offline
- only estimate gas when online
- don't show send tx button when offline
* - break generateCompleteTransactionFromRawTransaction into multiple functions.
- support offline generation in generateCompleteTransaction (and generateCompleteTransactionFromRawTransaction). Balance checking is now only done when not offline to support offline generation.
* Create Help component (to be used as a tooltip)
* Disable hardware wallets when offline.
* Hide Send Entire Balance when balance is falsy
* Show help icon in nonce field.
* - show helper instructions on how to broadcast when user is offline after generating a tx
- hardcoded gas limits when offline
- refactors
* create isPositiveInteger helper function
* fix nonce validation
* really fix nonce validation (specifically the input highlighting)
* remove stray // @flow's
* remove offline tab nav
* remove unused action arg
* address PR comments
* Add messages for no js and bad browser. Share styles with alpha agreement.
* Bad browser checks and shower.
* No flash of bad browser
* Typsecriptify
* Use babel minifier instead of uglify
* Move all checks directly to HTML to avoid issues.
* remove duplicate badBrowser declaration
* 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
* configure gitignore
* create CONFIG_NODE_CHANGE_INTENT action, action creator, and type
* pass changeNodeIntent intstead of changeNode to Header
* create saga for handling node changes that will refresh only when network changes
* 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
* Add all v3s nodes, create node libs for etherscan and infura.
* Add all network configs for alternatives.
* Color and animate nav border on network selection.
* Address PR comments.
* Persist network selection to local storage.
* Modifiy TransactionSucceeded to link to network-specific explorer.
* - Reload on Node Change to reset state. Should be refactored in the future so that we are not forcing clients to reload.
* 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
* 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 unused imports.
* Create and use .toPrecision forwarding method for `Unit`
* Error handling when unlocking trezor devices.
* Use translateRaw to fulfill string req;