import { routerReducer } from 'react-router-redux';
import { combineReducers } from 'redux';
import { config, State as ConfigState } from './config';
import { customTokens, State as CustomTokensState } from './customTokens';
import { deterministicWallets, State as DeterministicWalletsState } from './deterministicWallets';
import { ens, State as EnsState } from './ens';
import { notifications, State as NotificationsState } from './notifications';
import { rates, State as RatesState } from './rates';
import { State as SwapState, swap } from './swap';
import { State as WalletState, wallet } from './wallet';
import { State as TransactionState, transaction } from './transaction';
export interface AppState {
// Custom reducers
config: ConfigState;
notifications: NotificationsState;
ens: EnsState;
wallet: WalletState;
customTokens: CustomTokensState;
rates: RatesState;
deterministicWallets: DeterministicWalletsState;
// Third party reducers (TODO: Fill these out)
form: any;
routing: any;
swap: SwapState;
transaction: TransactionState;
}
export default combineReducers({
config,
swap,
notifications,
ens,
wallet,
customTokens,
rates,
deterministicWallets,
routing: routerReducer,
transaction
});