import { HANDLE_MODAL_RESET , HANDLE_MODAL_DATA , HANDLE_MODAL_PAPERWALLET , HANDLE_MODAL_QRCODE , HANDLE_MODAL_NETWORK , HANDLE_MODAL_LOGIN , HANDLE_MODAL_SETTINGS , HANDLE_MODAL_NEWWALLET , HANDLE_MODAL_CONFIRMWALLET , HANDLE_MODAL_RECOVERMNEMONIC , HANDLE_MODAL_IMPORTPRIVATEKEY , HANDLE_MODAL_EXPORTPRIVATEKEY , HANDLE_MODAL_EXPORTMNEMONIC , HANDLE_MODAL_CHANGEPASSWORD , HANDLE_MODAL_CONNECTLEDGER , HANDLE_MODAL_DELEGATE , HANDLE_MODAL_REDELEGATE , HANDLE_MODAL_UNDELEGATE , HANDLE_MODAL_DEPOSIT , HANDLE_MODAL_VOTING , HANDLE_MODAL_NEWPROPOSAL , HANDLE_MODAL_SEND , HANDLE_MODAL_CONFIRMTX , HANDLE_MODAL_QUEUETX , HANDLE_MODAL_RESULTTX , HANDLE_MODAL_GASESTIMATION , } from "../types" ; export const handleModalReset = ( ) => ( { type : HANDLE_MODAL_RESET } ) ; export const handleModalData = ( data ) => ( { type : HANDLE_MODAL_DATA , data } ) ; export const handleModalPaperwallet = ( isVisible ) => ( { type : HANDLE_MODAL_PAPERWALLET , isVisible } ) ; export const handleModalQRCode = ( isVisible ) => ( { type : HANDLE_MODAL_QRCODE , isVisible } ) ; export const handleModalNetwork = ( isVisible ) => ( { type : HANDLE_MODAL_NETWORK , isVisible } ) ; export const handleModalLogin = ( isVisible ) => ( { type : HANDLE_MODAL_LOGIN , isVisible } ) ; export const handleModalSettings = ( isVisible ) => ( { type : HANDLE_MODAL_SETTINGS , isVisible } ) ; export const handleModalNewWallet = ( isVisible ) => ( { type : HANDLE_MODAL_NEWWALLET , isVisible } ) ; export const handleModalConfirmWallet = ( isVisible ) => ( { type : HANDLE_MODAL_CONFIRMWALLET , isVisible } ) ; export const handleModalRecoverMnemonic = ( isVisible ) => ( { type : HANDLE_MODAL_RECOVERMNEMONIC , isVisible } ) ; export const handleModalImportPrivatekey = ( isVisible ) => ( { type : HANDLE_MODAL_IMPORTPRIVATEKEY , isVisible } ) ; export const handleModalExportPrivatekey = ( isVisible ) => ( { type : HANDLE_MODAL_EXPORTPRIVATEKEY , isVisible } ) ; export const handleModalExportMnemonic = ( isVisible ) => ( { type : HANDLE_MODAL_EXPORTMNEMONIC , isVisible } ) ; export const handleModalChangePassword = ( isVisible ) => ( { type : HANDLE_MODAL_CHANGEPASSWORD , isVisible } ) ; export const handleModalConnectLedger = ( isVisible ) => ( { type : HANDLE_MODAL_CONNECTLEDGER , isVisible } ) ; export const handleModalDelegate = ( isVisible ) => ( { type : HANDLE_MODAL_DELEGATE , isVisible } ) ; export const handleModalRedelegate = ( isVisible ) => ( { type : HANDLE_MODAL_REDELEGATE , isVisible } ) ; export const handleModalUndelegate = ( isVisible ) => ( { type : HANDLE_MODAL_UNDELEGATE , isVisible } ) ; export const handleModalDeposit = ( isVisible ) => ( { type : HANDLE_MODAL_DEPOSIT , isVisible } ) ; export const handleModalVoting = ( isVisible ) => ( { type : HANDLE_MODAL_VOTING , isVisible } ) ; export const handleModalNewProposal = ( isVisible ) => ( { type : HANDLE_MODAL_NEWPROPOSAL , isVisible } ) ; export const handleModalSend = ( isVisible ) => ( { type : HANDLE_MODAL_SEND , isVisible } ) ; export const handleModalConfirmTx = ( isVisible ) => ( { type : HANDLE_MODAL_CONFIRMTX , isVisible } ) ; export const handleModalQueueTx = ( isVisible ) => ( { type : HANDLE_MODAL_QUEUETX , isVisible } ) ; export const handleModalResultTx = ( isVisible ) => ( { type : HANDLE_MODAL_RESULTTX , isVisible } ) ; export const handleModalGasEstimation = ( isVisible ) => ( { type : HANDLE_MODAL_GASESTIMATION , isVisible } ) ;