William O'Beirne 1d235cf67a Trezor Unlock + Deterministic Wallet Groundwork (#137)
* Basic reducer / action / saga setup, rendering wallets.

* Better address rows, with values.

* Styling + back and next buttons.

* Formatting, dpath changing.

* Derived -> Deterministic

* Set wallet on confirm.

* Flesh out Trezor wallet, add transaction signing.

* Custom dpath, better handling of canceled switches and over-rendering / prop calling.

* Token empty string value.

* Move DPaths to config file.

* Clarifying comments.
2017-08-28 12:43:57 -05:00

65 lines
1.8 KiB
JavaScript

// @flow
import * as generateWallet from './generateWallet';
import type { State as GenerateWalletState } from './generateWallet';
import * as config from './config';
import type { State as ConfigState } from './config';
import * as swap from './swap';
import * as notifications from './notifications';
import type { State as NotificationsState } from './notifications';
import * as ens from './ens';
import type { State as EnsState } from './ens';
import * as wallet from './wallet';
import type { State as WalletState } from './wallet';
import * as customTokens from './customTokens';
import type { State as CustomTokensState } from './customTokens';
import * as rates from './rates';
import type { State as RatesState } from './rates';
import * as contracts from './contracts';
import type { State as ContractsState } from './contracts';
import * as deterministicWallets from './deterministicWallets';
import type { State as DeterministicWalletsState } from './deterministicWallets';
import { reducer as formReducer } from 'redux-form';
import { combineReducers } from 'redux';
import { routerReducer } from 'react-router-redux';
export type State = {
// Custom reducers
generateWallet: GenerateWalletState,
config: ConfigState,
notifications: NotificationsState,
ens: EnsState,
wallet: WalletState,
customTokens: CustomTokensState,
rates: RatesState,
contracts: ContractsState,
deterministicWallets: DeterministicWalletsState,
// Third party reducers (TODO: Fill these out)
form: Object,
routing: Object
};
export default combineReducers({
...generateWallet,
...config,
...swap,
...notifications,
...ens,
...wallet,
...customTokens,
...rates,
...contracts,
...deterministicWallets,
form: formReducer,
routing: routerReducer
});