mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-12 03:54:13 +00:00
1d235cf67a
* 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.
12 lines
352 B
JavaScript
12 lines
352 B
JavaScript
// @flow
|
|
import type { State } from 'reducers';
|
|
import type { DeterministicWalletData } from 'actions/deterministicWallets';
|
|
|
|
export function getWallets(state: State): DeterministicWalletData[] {
|
|
return state.deterministicWallets.wallets;
|
|
}
|
|
|
|
export function getDesiredToken(state: State): string {
|
|
return state.deterministicWallets.desiredToken;
|
|
}
|