MyCrypto/common/actions/generateWallet.js

23 lines
614 B
JavaScript
Raw Normal View History

import {
GENERATE_WALLET_CONFIRM_CONTINUE_TO_PAPER,
GENERATE_WALLET_FILE,
GENERATE_WALLET_DOWNLOAD_FILE,
GENERATE_WALLET_SHOW_PASSWORD
} from 'actions/generateWalletConstants';
2017-04-18 23:34:42 +00:00
export const showPasswordGenerateWallet = () => {
return { type: GENERATE_WALLET_SHOW_PASSWORD };
};
2017-04-18 23:34:42 +00:00
export const generateFileGenerateWallet = () => {
return { type: GENERATE_WALLET_FILE };
};
2017-04-18 23:34:42 +00:00
export const downloadFileGenerateWallet = () => {
return { type: GENERATE_WALLET_DOWNLOAD_FILE };
};
2017-04-18 23:34:42 +00:00
export const confirmContinueToPaperGenerateWallet = () => {
return { type: GENERATE_WALLET_CONFIRM_CONTINUE_TO_PAPER };
};